@lightsparkdev/ui 1.0.6 → 1.0.8

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 (697) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/{chunk-4EV5IUUJ.js → chunk-22TGTMSK.js} +25 -8
  3. package/dist/chunk-24G7XKW5.cjs +87 -0
  4. package/dist/{chunk-ENBUKLVT.js → chunk-24PXYMSU.js} +829 -0
  5. package/dist/chunk-24SOCRDH.cjs +94 -0
  6. package/dist/chunk-2C4Z2X45.cjs +81 -0
  7. package/dist/chunk-2ON6YBGL.cjs +40 -0
  8. package/dist/chunk-2R4K7WK4.cjs +27 -0
  9. package/dist/chunk-2WREDS5B.cjs +73 -0
  10. package/dist/{chunk-SCIQSZSW.js → chunk-34MTU3ER.js} +3 -1
  11. package/dist/chunk-3JDF42CW.cjs +24 -0
  12. package/dist/chunk-3JTH7BHI.cjs +53 -0
  13. package/dist/chunk-3MCK6I7V.js +40 -0
  14. package/dist/chunk-3NYFUIYG.cjs +27 -0
  15. package/dist/chunk-3RJBB7Q6.cjs +38 -0
  16. package/dist/chunk-3TXLQOT4.cjs +94 -0
  17. package/dist/chunk-3UXAUDOL.cjs +168 -0
  18. package/dist/{chunk-FO7I4E45.js → chunk-3Z7RPOMO.js} +2 -2
  19. package/dist/chunk-43KEZLY6.cjs +27 -0
  20. package/dist/chunk-43LGFT5G.cjs +28 -0
  21. package/dist/chunk-46AVXTFO.cjs +6 -0
  22. package/dist/chunk-4BXMY75P.cjs +50 -0
  23. package/dist/chunk-4CW4UJ5X.cjs +50 -0
  24. package/dist/chunk-4HGJNBTO.cjs +41 -0
  25. package/dist/{chunk-RQLRNKOP.js → chunk-4IC7HDY4.js} +10 -10
  26. package/dist/chunk-4P7RPU32.cjs +94 -0
  27. package/dist/{chunk-PZTZ4436.js → chunk-4VKPCWNP.js} +2 -2
  28. package/dist/chunk-4VVPSX5O.cjs +8 -0
  29. package/dist/chunk-4XPAKKBS.cjs +264 -0
  30. package/dist/chunk-4ZF4NPF7.cjs +131 -0
  31. package/dist/chunk-52DSX7BK.cjs +26 -0
  32. package/dist/chunk-544LOSOG.cjs +27 -0
  33. package/dist/chunk-5IO7EL3S.cjs +38 -0
  34. package/dist/chunk-5O6LWFY4.cjs +49 -0
  35. package/dist/{chunk-QBRCVOJ4.js → chunk-5OIQOVHS.js} +6 -6
  36. package/dist/chunk-5P25HFMG.cjs +26 -0
  37. package/dist/{chunk-H3UUVMZ3.js → chunk-5W523NQP.js} +1 -1
  38. package/dist/chunk-6J3HJ3T2.cjs +27 -0
  39. package/dist/chunk-6LHW62FG.cjs +239 -0
  40. package/dist/chunk-6LYX73L5.cjs +67 -0
  41. package/dist/chunk-6O6PX2UG.cjs +33 -0
  42. package/dist/chunk-6VA4SAHQ.cjs +8 -0
  43. package/dist/{chunk-BRJKMY6Z.js → chunk-6YSADIN7.js} +3 -3
  44. package/dist/{chunk-EKU5IWJW.js → chunk-7ICNTAPO.js} +2 -2
  45. package/dist/chunk-7PRNB5U5.cjs +77 -0
  46. package/dist/chunk-A5QRVHWP.cjs +315 -0
  47. package/dist/chunk-A5SF55P6.cjs +27 -0
  48. package/dist/{chunk-TMIBU4ME.js → chunk-A6NNNY72.js} +1 -1
  49. package/dist/chunk-AGIM6BKC.cjs +11 -0
  50. package/dist/chunk-AJ7WPQU4.cjs +57 -0
  51. package/dist/chunk-AMAXYW5C.cjs +28 -0
  52. package/dist/{chunk-YG5BANJH.js → chunk-APUV4UN4.js} +2 -2
  53. package/dist/{chunk-QON4D7N2.js → chunk-AVEKG63Q.js} +24 -7
  54. package/dist/chunk-AXV4CDSK.cjs +89 -0
  55. package/dist/chunk-AZRC3MXC.cjs +119 -0
  56. package/dist/{chunk-I3WMJNCP.js → chunk-BBPNYL4K.js} +3 -1
  57. package/dist/chunk-BD3WXMLE.cjs +68 -0
  58. package/dist/chunk-BOBYW7PP.cjs +23 -0
  59. package/dist/chunk-BQEXNVAD.cjs +36 -0
  60. package/dist/chunk-BQG6DASD.cjs +49 -0
  61. package/dist/chunk-BS5XF33X.cjs +27 -0
  62. package/dist/chunk-BXLJEGX5.cjs +27 -0
  63. package/dist/chunk-BY47I7ZP.cjs +94 -0
  64. package/dist/chunk-C54KLX7Q.cjs +27 -0
  65. package/dist/{chunk-JZKGVGBU.js → chunk-C5KQZIKL.js} +1 -1
  66. package/dist/chunk-CB7GBZCJ.cjs +27 -0
  67. package/dist/chunk-CE5LGEAR.cjs +26 -0
  68. package/dist/chunk-CGLTHYGY.cjs +25 -0
  69. package/dist/{chunk-IIRG6R42.js → chunk-CHXBDWS3.js} +3 -3
  70. package/dist/{chunk-NBIK5O3N.js → chunk-CJBS52GU.js} +10 -10
  71. package/dist/chunk-CS3NUOE2.cjs +37 -0
  72. package/dist/chunk-CV4CDJUL.cjs +27 -0
  73. package/dist/chunk-CYWLRXPQ.cjs +34 -0
  74. package/dist/chunk-DBB5TKTS.cjs +291 -0
  75. package/dist/{chunk-YXAKRSFW.js → chunk-DBMGV4DX.js} +3 -3
  76. package/dist/{chunk-LKJ7QTWL.js → chunk-DGS7USD6.js} +4 -4
  77. package/dist/chunk-DM6GUQAV.cjs +42 -0
  78. package/dist/{chunk-D4DFISYR.js → chunk-DNRHVCOE.js} +1 -1
  79. package/dist/{chunk-M7E2PMFK.js → chunk-DPSSQNBK.js} +11 -10
  80. package/dist/{chunk-42D2SXB2.js → chunk-E4YBYEWH.js} +1 -1
  81. package/dist/chunk-E6YOHZKE.cjs +39 -0
  82. package/dist/{chunk-TN5UPDZG.js → chunk-E7RKIBJY.js} +1 -1
  83. package/dist/chunk-EDAMG44V.js +26 -0
  84. package/dist/{chunk-AVV74PTP.js → chunk-EEB6DWY3.js} +2 -2
  85. package/dist/chunk-EGOOSBGG.js +21 -0
  86. package/dist/{chunk-NK7WH3TK.js → chunk-EJZ3BXS3.js} +19 -18
  87. package/dist/chunk-ELZC2I4Y.cjs +27 -0
  88. package/dist/chunk-EM7O6Y3M.cjs +145 -0
  89. package/dist/chunk-ENRGP6TU.cjs +34 -0
  90. package/dist/chunk-EQ4V4QBD.cjs +35 -0
  91. package/dist/chunk-EXGU7HIU.cjs +49 -0
  92. package/dist/{chunk-NWPPTOKK.js → chunk-EXTVW2LU.js} +5 -5
  93. package/dist/{chunk-5JJUXAVA.js → chunk-F4RWDLPI.js} +3 -3
  94. package/dist/chunk-FBF72OKQ.cjs +33 -0
  95. package/dist/{chunk-XLKL3DNK.js → chunk-FBU6BGRP.js} +26 -9
  96. package/dist/chunk-FE2E2TKC.cjs +46 -0
  97. package/dist/{chunk-ZR2TARGX.js → chunk-FH3E64BU.js} +26 -7
  98. package/dist/chunk-FJZXLAEH.cjs +125 -0
  99. package/dist/chunk-FPOQM3WG.cjs +25 -0
  100. package/dist/chunk-FRASE266.cjs +150 -0
  101. package/dist/chunk-FZUELDMT.cjs +37 -0
  102. package/dist/chunk-G2ZTK5RI.cjs +27 -0
  103. package/dist/chunk-G5HBO2FI.cjs +21 -0
  104. package/dist/{chunk-IH5SIRJL.js → chunk-GB2UBWT4.js} +26 -8
  105. package/dist/chunk-GCE3EVF6.cjs +105 -0
  106. package/dist/chunk-GDXNYWJH.cjs +40 -0
  107. package/dist/{chunk-OPUCWQMK.js → chunk-GHXNMLAB.js} +2 -2
  108. package/dist/chunk-GSYM5JMB.cjs +17 -0
  109. package/dist/chunk-GVKKUMAK.cjs +27 -0
  110. package/dist/chunk-GWCVYEJG.cjs +118 -0
  111. package/dist/chunk-GZNDFGOK.cjs +26 -0
  112. package/dist/{chunk-45BHB7K7.js → chunk-H2OQXO5Z.js} +3 -3
  113. package/dist/chunk-H3Z7VJF4.cjs +27 -0
  114. package/dist/chunk-HA2ITLKV.cjs +26 -0
  115. package/dist/chunk-HJCROZDQ.cjs +55 -0
  116. package/dist/{chunk-QZMD3YHI.js → chunk-HN6NGIKM.js} +1 -13
  117. package/dist/{chunk-XQIQOMNE.js → chunk-HOKT6NQP.js} +1 -1
  118. package/dist/{chunk-QFVQ6QPA.js → chunk-HOR467ZW.js} +2 -2
  119. package/dist/{chunk-E6ZY35LN.js → chunk-HSBQGWYB.js} +5 -5
  120. package/dist/chunk-HTFKWW4S.cjs +381 -0
  121. package/dist/chunk-HVGR22WZ.cjs +24 -0
  122. package/dist/chunk-ICGEMWYQ.cjs +64 -0
  123. package/dist/chunk-IFT6NJX4.cjs +140 -0
  124. package/dist/chunk-IJ4XF2NA.cjs +129 -0
  125. package/dist/chunk-INAP7GDJ.cjs +27 -0
  126. package/dist/chunk-IOSJLM4O.cjs +28 -0
  127. package/dist/{chunk-4IHNUHE3.js → chunk-ISVMIEHD.js} +5 -5
  128. package/dist/chunk-J25ZXQOV.cjs +65 -0
  129. package/dist/chunk-J3G627ED.cjs +35 -0
  130. package/dist/chunk-J4YI5GMY.cjs +27 -0
  131. package/dist/chunk-JE624NDF.cjs +27 -0
  132. package/dist/chunk-JEEFB6LD.cjs +37 -0
  133. package/dist/chunk-JFMGOEGC.cjs +26 -0
  134. package/dist/chunk-JGHR6XRE.cjs +33 -0
  135. package/dist/{chunk-N67Y7GWR.js → chunk-JSOZMOEJ.js} +1 -1
  136. package/dist/{chunk-VF5KSAZG.js → chunk-JWGDZRNN.js} +3 -3
  137. package/dist/chunk-JWWKSKXB.cjs +425 -0
  138. package/dist/{chunk-AKGW3FMJ.js → chunk-JZJQOZEN.js} +2 -2
  139. package/dist/chunk-KACMKEQC.cjs +57 -0
  140. package/dist/{chunk-QEZ7L6YF.js → chunk-KKK2ML75.js} +1 -1
  141. package/dist/chunk-KLC2OBTG.cjs +243 -0
  142. package/dist/chunk-KMFK2MOB.cjs +163 -0
  143. package/dist/chunk-KPGYI4CN.cjs +37 -0
  144. package/dist/chunk-KPMZD7KJ.cjs +25 -0
  145. package/dist/chunk-KS6GHRZI.cjs +8 -0
  146. package/dist/chunk-KSKKC6C2.cjs +126 -0
  147. package/dist/chunk-KW3JYLRI.cjs +233 -0
  148. package/dist/chunk-LIVPDWXD.cjs +27 -0
  149. package/dist/chunk-LKKJVJCG.cjs +63 -0
  150. package/dist/chunk-LLJZ3BRG.cjs +50 -0
  151. package/dist/chunk-LLVW7HU4.cjs +62 -0
  152. package/dist/chunk-LU2G6KCN.cjs +41 -0
  153. package/dist/chunk-LZ24FX6C.cjs +67 -0
  154. package/dist/{chunk-EHH4M2LZ.js → chunk-MBZSVLKB.js} +5 -5
  155. package/dist/{chunk-ILCC45G7.js → chunk-MDAPZY4A.js} +22 -18
  156. package/dist/chunk-MFDGE4AE.cjs +29 -0
  157. package/dist/chunk-MHOXWPRA.cjs +80 -0
  158. package/dist/chunk-MJN5WJMC.cjs +39 -0
  159. package/dist/{chunk-7EAO66LB.js → chunk-MK445W3F.js} +5 -5
  160. package/dist/chunk-MKW2IFOO.cjs +27 -0
  161. package/dist/chunk-MMK4RQ64.cjs +468 -0
  162. package/dist/chunk-MNZQCCZJ.cjs +26 -0
  163. package/dist/chunk-MSBDBEM7.cjs +59 -0
  164. package/dist/chunk-MT2C62ED.cjs +17 -0
  165. package/dist/{chunk-GMOJB7PP.js → chunk-N5A5ZNNB.js} +13 -11
  166. package/dist/chunk-N7NM6ELD.cjs +28 -0
  167. package/dist/chunk-N7QYPDKF.cjs +27 -0
  168. package/dist/chunk-NMRDZ23R.cjs +26 -0
  169. package/dist/chunk-NN23LWC7.cjs +366 -0
  170. package/dist/chunk-NNTGGG2C.cjs +95 -0
  171. package/dist/chunk-NPTHZ6KR.cjs +377 -0
  172. package/dist/chunk-NWMYGKBQ.cjs +27 -0
  173. package/dist/chunk-O2OR4KOM.cjs +27 -0
  174. package/dist/chunk-O3WGQ5ZR.cjs +39 -0
  175. package/dist/chunk-O4MKC7U2.js +22 -0
  176. package/dist/chunk-O7UTME4V.cjs +24 -0
  177. package/dist/{chunk-AXNQ7BDD.js → chunk-ONE4Q37F.js} +4 -4
  178. package/dist/chunk-P73HWTOR.cjs +55 -0
  179. package/dist/chunk-P76JZF4N.cjs +39 -0
  180. package/dist/chunk-PBD4TY4L.cjs +104 -0
  181. package/dist/chunk-PD5XWF2Q.cjs +26 -0
  182. package/dist/chunk-PDDHDR54.cjs +351 -0
  183. package/dist/{chunk-GMEJR5XX.js → chunk-PFYBJXL5.js} +26 -11
  184. package/dist/chunk-PUSW24ER.cjs +28 -0
  185. package/dist/chunk-PYL3O7AF.cjs +164 -0
  186. package/dist/chunk-Q2OOHXBK.cjs +36 -0
  187. package/dist/chunk-Q6IGIW42.cjs +27 -0
  188. package/dist/chunk-QCJWZRIP.cjs +150 -0
  189. package/dist/chunk-QDNTIZC2.js +38 -0
  190. package/dist/chunk-QFOCB4NF.cjs +20 -0
  191. package/dist/chunk-QFXPWIS3.cjs +60 -0
  192. package/dist/chunk-QQKHEU6E.cjs +26 -0
  193. package/dist/{chunk-FT62PIPN.js → chunk-QQLUKKYZ.js} +97 -85
  194. package/dist/{chunk-LAGOF7IU.js → chunk-QQTZ6DZL.js} +3 -3
  195. package/dist/{chunk-BNHCCR3C.js → chunk-QU7VRXE6.js} +16 -13
  196. package/dist/chunk-QYJOJVJD.cjs +27 -0
  197. package/dist/chunk-R6JXXAU3.cjs +25 -0
  198. package/dist/chunk-RCWDQM37.cjs +26 -0
  199. package/dist/{chunk-KPAVY3UH.js → chunk-REL56P3K.js} +1 -0
  200. package/dist/chunk-RFJWSKGK.cjs +27 -0
  201. package/dist/chunk-RKBBY43D.cjs +59 -0
  202. package/dist/chunk-RSUJHDQA.cjs +56 -0
  203. package/dist/{chunk-SIYZ5PZT.js → chunk-RT4SDUU6.js} +19 -11
  204. package/dist/chunk-RU6KW5CM.cjs +27 -0
  205. package/dist/{chunk-Q76C6FJ5.js → chunk-RZMG2TID.js} +6 -5
  206. package/dist/chunk-S3BY6XUW.cjs +27 -0
  207. package/dist/chunk-SEJXEWOJ.cjs +51 -0
  208. package/dist/{chunk-ERNTWEIJ.js → chunk-SI63PJGM.js} +19 -12
  209. package/dist/{chunk-LH5VFS3E.js → chunk-SXY5KR2T.js} +1 -1
  210. package/dist/chunk-T6IAT66E.cjs +106 -0
  211. package/dist/chunk-T7PTO2D2.cjs +327 -0
  212. package/dist/chunk-T7ZB3XF7.cjs +16 -0
  213. package/dist/chunk-TB376AUW.cjs +25 -0
  214. package/dist/chunk-TMTEVKSD.cjs +4056 -0
  215. package/dist/{chunk-RRXB5FQC.js → chunk-TPL3YXOG.js} +7 -7
  216. package/dist/chunk-TPVPCMRQ.cjs +7 -0
  217. package/dist/chunk-TRIJJTMX.cjs +49 -0
  218. package/dist/{chunk-3DXU76SI.js → chunk-TSO4WRU4.js} +2 -2
  219. package/dist/chunk-TZ4KOSZV.cjs +33 -0
  220. package/dist/chunk-TZGHXXX4.cjs +29 -0
  221. package/dist/{chunk-QTPYP3IK.js → chunk-TZN3OW2Q.js} +2 -2
  222. package/dist/chunk-U2CKBWYJ.cjs +46 -0
  223. package/dist/chunk-U5D736PB.cjs +25 -0
  224. package/dist/{chunk-HNK2KIC7.js → chunk-UC6SP4KJ.js} +20 -5
  225. package/dist/chunk-UDKRYLGK.cjs +27 -0
  226. package/dist/chunk-UQ7P6HTC.cjs +27 -0
  227. package/dist/{chunk-IXAXRBFS.js → chunk-UUQZW2LJ.js} +25 -5
  228. package/dist/chunk-UWGIIJDN.cjs +38 -0
  229. package/dist/chunk-UZK5AYDL.cjs +124 -0
  230. package/dist/chunk-V2VDB34C.cjs +27 -0
  231. package/dist/chunk-V3IFCHJZ.cjs +37 -0
  232. package/dist/chunk-V5DGRLV7.cjs +71 -0
  233. package/dist/chunk-VB47G2O4.cjs +35 -0
  234. package/dist/chunk-VBU37CQG.cjs +48 -0
  235. package/dist/{chunk-PYAKYQWS.js → chunk-VCHMPHHC.js} +1 -1
  236. package/dist/{chunk-HLZNFEDV.js → chunk-VD3UNL3N.js} +25 -7
  237. package/dist/chunk-VDKIZEUQ.cjs +28 -0
  238. package/dist/chunk-VDL5FG27.cjs +27 -0
  239. package/dist/chunk-VMYRYEML.cjs +200 -0
  240. package/dist/chunk-VNFSKZW2.cjs +77 -0
  241. package/dist/chunk-VSFFGTTT.cjs +38 -0
  242. package/dist/{chunk-NONMMIMQ.js → chunk-VW2IB7XD.js} +1 -1
  243. package/dist/chunk-VYKXX3SH.cjs +49 -0
  244. package/dist/{chunk-UAUAYQ3C.js → chunk-W5I53DTZ.js} +154 -10
  245. package/dist/{chunk-7UBU5MKY.js → chunk-W7XPZYSY.js} +0 -1
  246. package/dist/chunk-WHCKM6E5.cjs +37 -0
  247. package/dist/chunk-WRN66OMM.cjs +27 -0
  248. package/dist/chunk-WRQEO3XT.cjs +26 -0
  249. package/dist/chunk-WTFNCHBK.cjs +30 -0
  250. package/dist/chunk-WTHHP7G2.cjs +531 -0
  251. package/dist/chunk-WW5RAKEC.cjs +27 -0
  252. package/dist/{chunk-FE477HOE.js → chunk-X5RKTU6O.js} +2 -2
  253. package/dist/chunk-XB2OTOVK.cjs +27 -0
  254. package/dist/chunk-XIFM5AMT.cjs +49 -0
  255. package/dist/chunk-XJPYWPVG.cjs +179 -0
  256. package/dist/chunk-XKQ2XWU5.cjs +28 -0
  257. package/dist/chunk-XTE2IISE.cjs +103 -0
  258. package/dist/chunk-XTLPMH2Q.cjs +27 -0
  259. package/dist/chunk-XYXNI3AO.cjs +76 -0
  260. package/dist/chunk-XZKD27Y2.cjs +49 -0
  261. package/dist/chunk-Y2U2KEP4.cjs +38 -0
  262. package/dist/chunk-Y6M4SBN7.cjs +102 -0
  263. package/dist/chunk-YHDN5LEA.cjs +22 -0
  264. package/dist/chunk-YJJBABLW.cjs +75 -0
  265. package/dist/chunk-YPCTBP2X.cjs +37 -0
  266. package/dist/chunk-YZVHWN44.cjs +101 -0
  267. package/dist/chunk-Z5IAIRIS.cjs +28 -0
  268. package/dist/chunk-ZBBVZQKJ.cjs +21 -0
  269. package/dist/{chunk-GGWFUEDW.js → chunk-ZHCJTMTX.js} +26 -8
  270. package/dist/chunk-ZPIJMKJZ.cjs +218 -0
  271. package/dist/chunk-ZR3J7SMI.cjs +17 -0
  272. package/dist/chunk-ZRHJQUKS.cjs +49 -0
  273. package/dist/chunk-ZSGQEOY3.cjs +37 -0
  274. package/dist/{chunk-PBLWYVQF.js → chunk-ZTIL63SE.js} +25 -7
  275. package/dist/chunk-ZU72XWNE.cjs +29 -0
  276. package/dist/chunk-ZUAO4DW3.cjs +65 -0
  277. package/dist/components/Badge.cjs +152 -8397
  278. package/dist/components/Badge.d.cts +6 -8
  279. package/dist/components/Badge.d.ts +6 -8
  280. package/dist/components/Badge.js +68 -63
  281. package/dist/components/Banner/Banner.cjs +153 -8552
  282. package/dist/components/Banner/Banner.d.cts +6 -8
  283. package/dist/components/Banner/Banner.d.ts +6 -8
  284. package/dist/components/Banner/Banner.js +68 -63
  285. package/dist/components/Banner/constants.cjs +8 -32
  286. package/dist/components/Button.cjs +159 -8821
  287. package/dist/components/Button.d.cts +11 -6
  288. package/dist/components/Button.d.ts +11 -6
  289. package/dist/components/Button.js +70 -65
  290. package/dist/components/ButtonRow.cjs +159 -8937
  291. package/dist/components/ButtonRow.d.cts +6 -2
  292. package/dist/components/ButtonRow.d.ts +6 -2
  293. package/dist/components/ButtonRow.js +72 -67
  294. package/dist/components/CardPage.cjs +167 -4383
  295. package/dist/components/CardPage.js +74 -69
  296. package/dist/components/Checkbox.cjs +11 -351
  297. package/dist/components/Checkbox.js +7 -6
  298. package/dist/components/CodeBlock.cjs +143 -8188
  299. package/dist/components/CodeBlock.js +56 -52
  300. package/dist/components/CodeInput/CodeInput.cjs +15 -4440
  301. package/dist/components/CodeInput/CodeInput.js +10 -9
  302. package/dist/components/CodeInput/SingleCodeInput.cjs +17 -4131
  303. package/dist/components/CodeInput/SingleCodeInput.js +9 -8
  304. package/dist/components/Collapsible.cjs +140 -7976
  305. package/dist/components/Collapsible.d.cts +4 -1
  306. package/dist/components/Collapsible.d.ts +4 -1
  307. package/dist/components/Collapsible.js +53 -49
  308. package/dist/components/CommaNumberInput.cjs +142 -8583
  309. package/dist/components/CommaNumberInput.d.cts +8 -4
  310. package/dist/components/CommaNumberInput.d.ts +8 -4
  311. package/dist/components/CommaNumberInput.js +59 -55
  312. package/dist/components/CommandKey.cjs +7 -71
  313. package/dist/components/ContentTable.cjs +134 -7771
  314. package/dist/components/ContentTable.js +52 -48
  315. package/dist/components/CopyToClipboardButton.cjs +135 -7939
  316. package/dist/components/CopyToClipboardButton.d.cts +4 -1
  317. package/dist/components/CopyToClipboardButton.d.ts +4 -1
  318. package/dist/components/CopyToClipboardButton.js +54 -50
  319. package/dist/components/CurrencyAmount.cjs +134 -7808
  320. package/dist/components/CurrencyAmount.d.cts +0 -6
  321. package/dist/components/CurrencyAmount.d.ts +0 -6
  322. package/dist/components/CurrencyAmount.js +52 -48
  323. package/dist/components/Drawer.cjs +156 -9079
  324. package/dist/components/Drawer.js +71 -66
  325. package/dist/components/Dropdown.cjs +136 -8229
  326. package/dist/components/Dropdown.d.cts +5 -2
  327. package/dist/components/Dropdown.d.ts +5 -2
  328. package/dist/components/Dropdown.js +54 -50
  329. package/dist/components/FileInput.cjs +141 -8257
  330. package/dist/components/FileInput.js +58 -54
  331. package/dist/components/Flex.cjs +6 -50
  332. package/dist/components/GradientCardHeader.cjs +17 -506
  333. package/dist/components/GradientCardHeader.js +9 -8
  334. package/dist/components/Icon/Icon.cjs +134 -7721
  335. package/dist/components/Icon/Icon.d.cts +5 -2
  336. package/dist/components/Icon/Icon.d.ts +5 -2
  337. package/dist/components/Icon/Icon.js +51 -47
  338. package/dist/components/Icon/types.cjs +1 -18
  339. package/dist/components/Icon/types.d.cts +4 -1
  340. package/dist/components/Icon/types.d.ts +4 -1
  341. package/dist/components/IconWithCircleBackground.cjs +133 -7746
  342. package/dist/components/IconWithCircleBackground.js +52 -48
  343. package/dist/components/InfoIconTooltip.cjs +152 -8416
  344. package/dist/components/InfoIconTooltip.d.cts +6 -8
  345. package/dist/components/InfoIconTooltip.d.ts +6 -8
  346. package/dist/components/InfoIconTooltip.js +69 -64
  347. package/dist/components/LightboxImage.cjs +5 -182
  348. package/dist/components/LightsparkProvider.cjs +16 -3969
  349. package/dist/components/LightsparkProvider.js +8 -7
  350. package/dist/components/Loading.cjs +136 -7774
  351. package/dist/components/Loading.d.cts +9 -11
  352. package/dist/components/Loading.d.ts +9 -11
  353. package/dist/components/Loading.js +56 -50
  354. package/dist/components/Modal.cjs +163 -9662
  355. package/dist/components/Modal.d.cts +13 -10
  356. package/dist/components/Modal.d.ts +13 -10
  357. package/dist/components/Modal.js +76 -71
  358. package/dist/components/PageSection/PageSection.cjs +184 -9622
  359. package/dist/components/PageSection/PageSection.d.cts +10 -4
  360. package/dist/components/PageSection/PageSection.d.ts +10 -4
  361. package/dist/components/PageSection/PageSection.js +77 -72
  362. package/dist/components/PageSection/PageSectionNav.cjs +154 -8541
  363. package/dist/components/PageSection/PageSectionNav.d.cts +4 -1
  364. package/dist/components/PageSection/PageSectionNav.d.ts +4 -1
  365. package/dist/components/PageSection/PageSectionNav.js +71 -65
  366. package/dist/components/PageSection/constants.cjs +6 -29
  367. package/dist/components/PhoneInput.cjs +141 -8789
  368. package/dist/components/PhoneInput.d.cts +1 -1
  369. package/dist/components/PhoneInput.d.ts +1 -1
  370. package/dist/components/PhoneInput.js +59 -55
  371. package/dist/components/Pill.cjs +135 -8010
  372. package/dist/components/Pill.d.cts +4 -1
  373. package/dist/components/Pill.d.ts +4 -1
  374. package/dist/components/Pill.js +55 -51
  375. package/dist/components/ProgressBar.cjs +11 -3862
  376. package/dist/components/ProgressBar.js +7 -6
  377. package/dist/components/Radio.cjs +140 -8110
  378. package/dist/components/Radio.js +57 -52
  379. package/dist/components/SecretContainer.cjs +136 -7978
  380. package/dist/components/SecretContainer.js +55 -51
  381. package/dist/components/StatusIndicator.cjs +12 -363
  382. package/dist/components/StatusIndicator.js +8 -7
  383. package/dist/components/TextButton.cjs +152 -8463
  384. package/dist/components/TextButton.d.cts +9 -2
  385. package/dist/components/TextButton.d.ts +9 -2
  386. package/dist/components/TextButton.js +70 -64
  387. package/dist/components/TextIconAligner.cjs +150 -8309
  388. package/dist/components/TextIconAligner.d.cts +15 -7
  389. package/dist/components/TextIconAligner.d.ts +15 -7
  390. package/dist/components/TextIconAligner.js +68 -62
  391. package/dist/components/TextInput.cjs +141 -8445
  392. package/dist/components/TextInput.d.cts +8 -3
  393. package/dist/components/TextInput.d.ts +8 -3
  394. package/dist/components/TextInput.js +58 -54
  395. package/dist/components/Toasts.cjs +153 -8745
  396. package/dist/components/Toasts.d.cts +6 -8
  397. package/dist/components/Toasts.d.ts +6 -8
  398. package/dist/components/Toasts.js +70 -65
  399. package/dist/components/Toggle.cjs +12 -3902
  400. package/dist/components/Toggle.js +8 -7
  401. package/dist/components/Tooltip.cjs +12 -3886
  402. package/dist/components/Tooltip.js +7 -6
  403. package/dist/components/UnstyledButton.cjs +11 -314
  404. package/dist/components/UnstyledButton.js +7 -6
  405. package/dist/components/documentation/AnchorLinkHeader.cjs +142 -7900
  406. package/dist/components/documentation/AnchorLinkHeader.d.cts +6 -2
  407. package/dist/components/documentation/AnchorLinkHeader.d.ts +6 -2
  408. package/dist/components/documentation/AnchorLinkHeader.js +58 -53
  409. package/dist/components/documentation/DocsBodyParagraph.cjs +155 -3813
  410. package/dist/components/documentation/DocsBodyParagraph.d.cts +8 -4
  411. package/dist/components/documentation/DocsBodyParagraph.d.ts +8 -4
  412. package/dist/components/documentation/DocsBodyParagraph.js +73 -52
  413. package/dist/components/documentation/DocsBodyStrongParagraph.cjs +160 -3819
  414. package/dist/components/documentation/DocsBodyStrongParagraph.d.cts +8 -4
  415. package/dist/components/documentation/DocsBodyStrongParagraph.d.ts +8 -4
  416. package/dist/components/documentation/DocsBodyStrongParagraph.js +76 -56
  417. package/dist/components/documentation/DocsHeadline.cjs +137 -3880
  418. package/dist/components/documentation/DocsHeadline.d.cts +6 -2
  419. package/dist/components/documentation/DocsHeadline.d.ts +6 -2
  420. package/dist/components/documentation/DocsHeadline.js +57 -52
  421. package/dist/components/documentation/Video.cjs +20 -297
  422. package/dist/components/documentation/Video.js +6 -5
  423. package/dist/components/documentation/index.cjs +141 -7901
  424. package/dist/components/documentation/index.d.cts +6 -2
  425. package/dist/components/documentation/index.d.ts +6 -2
  426. package/dist/components/documentation/index.js +58 -53
  427. package/dist/components/index.cjs +380 -14544
  428. package/dist/components/index.d.cts +8 -9
  429. package/dist/components/index.d.ts +8 -9
  430. package/dist/components/index.js +108 -103
  431. package/dist/components/typography/Article.cjs +149 -4216
  432. package/dist/components/typography/Article.js +63 -58
  433. package/dist/components/typography/Body.cjs +140 -8011
  434. package/dist/components/typography/Body.d.cts +11 -19
  435. package/dist/components/typography/Body.d.ts +11 -19
  436. package/dist/components/typography/Body.js +56 -51
  437. package/dist/components/typography/BodyStrong.cjs +140 -8010
  438. package/dist/components/typography/BodyStrong.d.cts +11 -20
  439. package/dist/components/typography/BodyStrong.d.ts +11 -20
  440. package/dist/components/typography/BodyStrong.js +56 -51
  441. package/dist/components/typography/Code.cjs +140 -8008
  442. package/dist/components/typography/Code.d.cts +11 -18
  443. package/dist/components/typography/Code.d.ts +11 -18
  444. package/dist/components/typography/Code.js +56 -51
  445. package/dist/components/typography/Display.cjs +143 -8020
  446. package/dist/components/typography/Display.d.cts +12 -11
  447. package/dist/components/typography/Display.d.ts +12 -11
  448. package/dist/components/typography/Display.js +56 -51
  449. package/dist/components/typography/Headline.cjs +147 -8042
  450. package/dist/components/typography/Headline.d.cts +12 -22
  451. package/dist/components/typography/Headline.d.ts +12 -22
  452. package/dist/components/typography/Headline.js +56 -51
  453. package/dist/components/typography/Label.cjs +140 -8009
  454. package/dist/components/typography/Label.d.cts +11 -17
  455. package/dist/components/typography/Label.d.ts +11 -17
  456. package/dist/components/typography/Label.js +56 -51
  457. package/dist/components/typography/LabelModerate.cjs +140 -8009
  458. package/dist/components/typography/LabelModerate.d.cts +11 -17
  459. package/dist/components/typography/LabelModerate.d.ts +11 -17
  460. package/dist/components/typography/LabelModerate.js +56 -51
  461. package/dist/components/typography/LabelStrong.cjs +140 -8011
  462. package/dist/components/typography/LabelStrong.d.cts +11 -19
  463. package/dist/components/typography/LabelStrong.d.ts +11 -19
  464. package/dist/components/typography/LabelStrong.js +56 -51
  465. package/dist/components/typography/Overline.cjs +140 -8009
  466. package/dist/components/typography/Overline.d.cts +11 -17
  467. package/dist/components/typography/Overline.d.ts +11 -17
  468. package/dist/components/typography/Overline.js +56 -51
  469. package/dist/components/typography/Title.cjs +140 -8010
  470. package/dist/components/typography/Title.d.cts +11 -20
  471. package/dist/components/typography/Title.d.ts +11 -20
  472. package/dist/components/typography/Title.js +56 -51
  473. package/dist/components/typography/index.cjs +180 -8535
  474. package/dist/components/typography/index.d.cts +6 -2
  475. package/dist/components/typography/index.d.ts +6 -2
  476. package/dist/components/typography/index.js +68 -63
  477. package/dist/components/typography/renderTypography.cjs +150 -8257
  478. package/dist/components/typography/renderTypography.d.cts +35 -81
  479. package/dist/components/typography/renderTypography.d.ts +35 -81
  480. package/dist/components/typography/renderTypography.js +66 -61
  481. package/dist/components/typography/types.cjs +1 -0
  482. package/dist/components/typography/types.d.cts +147 -0
  483. package/dist/components/typography/types.d.ts +147 -0
  484. package/dist/components/typography/types.js +0 -0
  485. package/dist/components/typography/typographyStyles.cjs +7 -0
  486. package/dist/components/typography/typographyStyles.d.cts +133 -0
  487. package/dist/components/typography/typographyStyles.d.ts +133 -0
  488. package/dist/components/typography/typographyStyles.js +7 -0
  489. package/dist/hooks/useDebounce.cjs +9 -32
  490. package/dist/hooks/useDocumentTitle.cjs +9 -45
  491. package/dist/hooks/useIsomorphicLayoutEffect.cjs +6 -40
  492. package/dist/hooks/useLiveRef.cjs +6 -40
  493. package/dist/hooks/useResizeObserver.cjs +6 -76
  494. package/dist/hooks/useWhatChanged.cjs +5 -28
  495. package/dist/icons/AI.cjs +6 -51
  496. package/dist/icons/AnchorLink.cjs +6 -50
  497. package/dist/icons/ApiConnection.cjs +6 -48
  498. package/dist/icons/AppIcon.cjs +6 -90
  499. package/dist/icons/ArrowCircle.cjs +5 -56
  500. package/dist/icons/ArrowCircleTier1.cjs +6 -50
  501. package/dist/icons/ArrowCircleTier2.cjs +6 -50
  502. package/dist/icons/ArrowCircleTier3.cjs +6 -50
  503. package/dist/icons/ArrowCornerDownRight.cjs +6 -50
  504. package/dist/icons/ArrowDown.cjs +6 -50
  505. package/dist/icons/ArrowUp.cjs +6 -50
  506. package/dist/icons/ArrowUpRightCircleFill.cjs +6 -50
  507. package/dist/icons/Bank.cjs +6 -50
  508. package/dist/icons/BitcoinB.cjs +6 -50
  509. package/dist/icons/BitcoinBOnRoundedSquare.cjs +6 -52
  510. package/dist/icons/CameraCapture.cjs +6 -99
  511. package/dist/icons/CaretRight.cjs +6 -50
  512. package/dist/icons/CentralArrowShareRight.cjs +6 -50
  513. package/dist/icons/Checkmark.cjs +6 -49
  514. package/dist/icons/CheckmarkCircleGreen.cjs +6 -51
  515. package/dist/icons/CheckmarkCircleTier1.cjs +6 -51
  516. package/dist/icons/CheckmarkCircleTier2.cjs +6 -51
  517. package/dist/icons/CheckmarkCircleTier3.cjs +6 -51
  518. package/dist/icons/Chevron.cjs +6 -50
  519. package/dist/icons/ChevronLeft.cjs +6 -49
  520. package/dist/icons/CircleCheck.cjs +6 -51
  521. package/dist/icons/CircleCheckOutline.cjs +6 -48
  522. package/dist/icons/CirclePlus.cjs +6 -40
  523. package/dist/icons/Clock.cjs +6 -50
  524. package/dist/icons/Close.cjs +6 -49
  525. package/dist/icons/Code.cjs +6 -50
  526. package/dist/icons/Copy.cjs +6 -48
  527. package/dist/icons/CreditCard.cjs +6 -56
  528. package/dist/icons/DeleteIcon.cjs +6 -65
  529. package/dist/icons/Dollar.cjs +6 -50
  530. package/dist/icons/DollarManrope.cjs +6 -50
  531. package/dist/icons/DollarManropeSmall.cjs +6 -50
  532. package/dist/icons/DotGrid1x3Horizontal.cjs +6 -64
  533. package/dist/icons/Download.cjs +6 -60
  534. package/dist/icons/Envelope.cjs +6 -50
  535. package/dist/icons/ExclamationPoint.cjs +6 -71
  536. package/dist/icons/Explorer.cjs +6 -47
  537. package/dist/icons/Eye.cjs +6 -58
  538. package/dist/icons/EyeDropper.cjs +6 -50
  539. package/dist/icons/Figma.cjs +6 -50
  540. package/dist/icons/FlutterTwoTone.cjs +6 -70
  541. package/dist/icons/FlutterTwoTone.js +1 -1
  542. package/dist/icons/FramedLetterI.cjs +6 -59
  543. package/dist/icons/Gear.cjs +6 -56
  544. package/dist/icons/Github.cjs +6 -47
  545. package/dist/icons/GoTwoTone.cjs +6 -88
  546. package/dist/icons/GraphQLTwoTone.cjs +6 -147
  547. package/dist/icons/HeartOutline.cjs +6 -50
  548. package/dist/icons/Home.cjs +6 -49
  549. package/dist/icons/HorizontalArrows.cjs +6 -62
  550. package/dist/icons/Info.cjs +6 -72
  551. package/dist/icons/JavaScriptTwoTone.cjs +6 -83
  552. package/dist/icons/JavaTwoTone.cjs +6 -50
  553. package/dist/icons/KotlinTwoTone.cjs +6 -62
  554. package/dist/icons/LeftArrow.cjs +6 -50
  555. package/dist/icons/LightningOnRoundedSquare.cjs +6 -50
  556. package/dist/icons/LinkIcon.cjs +6 -62
  557. package/dist/icons/LoadingCircleLines.cjs +7 -0
  558. package/dist/icons/LoadingCircleLines.d.cts +5 -0
  559. package/dist/icons/LoadingCircleLines.d.ts +5 -0
  560. package/dist/icons/LoadingCircleLines.js +7 -0
  561. package/dist/icons/LoadingSpinner.cjs +6 -202
  562. package/dist/icons/Lock.cjs +6 -58
  563. package/dist/icons/Logo.cjs +4 -78
  564. package/dist/icons/LogoBolt.cjs +6 -129
  565. package/dist/icons/LogoOnCircle.cjs +6 -60
  566. package/dist/icons/MagicWand.cjs +6 -79
  567. package/dist/icons/Minus.cjs +6 -49
  568. package/dist/icons/Monitor.cjs +6 -73
  569. package/dist/icons/NodeAdd.cjs +6 -48
  570. package/dist/icons/NonagonCheckmark.cjs +7 -0
  571. package/dist/icons/NonagonCheckmark.d.cts +5 -0
  572. package/dist/icons/NonagonCheckmark.d.ts +5 -0
  573. package/dist/icons/NonagonCheckmark.js +7 -0
  574. package/dist/icons/NotEye.cjs +6 -60
  575. package/dist/icons/PaperPlane.cjs +6 -49
  576. package/dist/icons/Pencil.cjs +6 -49
  577. package/dist/icons/Person.cjs +6 -60
  578. package/dist/icons/PersonCircle.cjs +6 -60
  579. package/dist/icons/PiggyBank.cjs +6 -69
  580. package/dist/icons/Plus.cjs +6 -78
  581. package/dist/icons/PythonTwoTone.cjs +6 -56
  582. package/dist/icons/QRCodeIcon.cjs +6 -125
  583. package/dist/icons/QuestionCircle.cjs +6 -50
  584. package/dist/icons/QuestionCircleStrong.cjs +6 -50
  585. package/dist/icons/ReactTwoTone.cjs +6 -80
  586. package/dist/icons/Recycling.cjs +6 -50
  587. package/dist/icons/Remove.cjs +6 -49
  588. package/dist/icons/Restart.cjs +6 -49
  589. package/dist/icons/RightArrow.cjs +6 -50
  590. package/dist/icons/Roadmap.cjs +6 -50
  591. package/dist/icons/RustTwoTone.cjs +6 -62
  592. package/dist/icons/Satoshi.cjs +6 -61
  593. package/dist/icons/SatoshiRounded.cjs +6 -87
  594. package/dist/icons/Search.cjs +6 -51
  595. package/dist/icons/SecurityKey.cjs +6 -73
  596. package/dist/icons/Selector.cjs +6 -63
  597. package/dist/icons/SemiCircleOverlap.cjs +6 -60
  598. package/dist/icons/Share.cjs +6 -48
  599. package/dist/icons/ShieldCheck.cjs +6 -49
  600. package/dist/icons/Sidebar.cjs +6 -50
  601. package/dist/icons/Sort.cjs +6 -50
  602. package/dist/icons/StackedLines.cjs +6 -49
  603. package/dist/icons/SwiftTwoTone.cjs +6 -61
  604. package/dist/icons/TapSingle.cjs +6 -48
  605. package/dist/icons/Team.cjs +6 -50
  606. package/dist/icons/Terminal.cjs +6 -51
  607. package/dist/icons/Trash.cjs +6 -53
  608. package/dist/icons/TwoArrowsDown.cjs +6 -50
  609. package/dist/icons/TwoArrowsUp.cjs +6 -50
  610. package/dist/icons/Uma.cjs +6 -59
  611. package/dist/icons/UmaBridgeLoading.cjs +6 -52
  612. package/dist/icons/UmaBridgeLoadingTransparent.cjs +7 -0
  613. package/dist/icons/UmaBridgeLoadingTransparent.d.cts +5 -0
  614. package/dist/icons/UmaBridgeLoadingTransparent.d.ts +5 -0
  615. package/dist/icons/UmaBridgeLoadingTransparent.js +7 -0
  616. package/dist/icons/Upload.cjs +6 -60
  617. package/dist/icons/WalletSDKIcon.cjs +6 -61
  618. package/dist/icons/WarningSign.cjs +6 -61
  619. package/dist/icons/constants.cjs +8 -32
  620. package/dist/icons/index.cjs +461 -3994
  621. package/dist/icons/index.d.cts +3 -0
  622. package/dist/icons/index.d.ts +3 -0
  623. package/dist/icons/index.js +98 -86
  624. package/dist/{index-71766330.d.ts → index-1c620377.d.ts} +9 -0
  625. package/dist/{index-dcf19aa7.d.ts → index-76d74633.d.ts} +9 -0
  626. package/dist/index.cjs +1 -1
  627. package/dist/router.cjs +25 -251
  628. package/dist/router.d.cts +2 -1
  629. package/dist/router.d.ts +2 -1
  630. package/dist/router.js +2 -2
  631. package/dist/styles/breakpoints.cjs +18 -262
  632. package/dist/styles/colors.cjs +25 -170
  633. package/dist/styles/colors.d.cts +1 -0
  634. package/dist/styles/colors.d.ts +1 -0
  635. package/dist/styles/colors.js +1 -1
  636. package/dist/styles/common.cjs +47 -3879
  637. package/dist/styles/common.d.cts +1 -1
  638. package/dist/styles/common.d.ts +1 -1
  639. package/dist/styles/common.js +6 -5
  640. package/dist/styles/constants.cjs +15 -44
  641. package/dist/styles/fields.cjs +42 -4138
  642. package/dist/styles/fields.d.cts +5 -3
  643. package/dist/styles/fields.d.ts +5 -3
  644. package/dist/styles/fields.js +8 -7
  645. package/dist/styles/global.cjs +12 -3944
  646. package/dist/styles/global.d.cts +1 -1
  647. package/dist/styles/global.d.ts +1 -1
  648. package/dist/styles/global.js +7 -6
  649. package/dist/styles/themeDefaults/buttons.cjs +13 -0
  650. package/dist/styles/{buttons.d.cts → themeDefaults/buttons.d.cts} +3 -3
  651. package/dist/styles/{buttons.d.ts → themeDefaults/buttons.d.ts} +3 -3
  652. package/dist/styles/{buttons.js → themeDefaults/buttons.js} +2 -2
  653. package/dist/styles/themeDefaults/loading.cjs +9 -0
  654. package/dist/styles/themeDefaults/loading.d.cts +13 -0
  655. package/dist/styles/themeDefaults/loading.d.ts +13 -0
  656. package/dist/styles/themeDefaults/loading.js +9 -0
  657. package/dist/styles/themes.cjs +38 -3872
  658. package/dist/styles/themes.d.cts +1 -1
  659. package/dist/styles/themes.d.ts +1 -1
  660. package/dist/styles/themes.js +5 -4
  661. package/dist/styles/tokens/spacing.cjs +6 -88
  662. package/dist/styles/tokens/typography.cjs +13 -3346
  663. package/dist/styles/tokens/typography.d.cts +40 -12
  664. package/dist/styles/tokens/typography.d.ts +40 -12
  665. package/dist/styles/tokens/typography.js +1 -1
  666. package/dist/styles/type.cjs +12 -482
  667. package/dist/styles/type.d.cts +1 -1
  668. package/dist/styles/type.d.ts +1 -1
  669. package/dist/styles/type.js +8 -7
  670. package/dist/styles/typography.cjs +10 -3790
  671. package/dist/styles/typography.d.cts +1 -1
  672. package/dist/styles/typography.d.ts +1 -1
  673. package/dist/styles/typography.js +6 -5
  674. package/dist/styles/utils.cjs +32 -378
  675. package/dist/styles/utils.js +7 -6
  676. package/dist/styles/z-index.cjs +6 -52
  677. package/dist/{themes-37e92940.d.ts → themes-13a0ed7c.d.ts} +364 -143
  678. package/dist/{themes-832e46b2.d.ts → themes-67ece8cd.d.ts} +364 -143
  679. package/dist/types/index.cjs +1 -18
  680. package/dist/utils/NextLink.cjs +6 -79
  681. package/dist/utils/countryCodesToNames.cjs +10 -289
  682. package/dist/utils/emotion.cjs +6 -31
  683. package/dist/utils/isReactNodeWithChildren.cjs +6 -34
  684. package/dist/utils/parseURLFragments.cjs +4 -27
  685. package/dist/utils/strings.cjs +21 -108
  686. package/dist/utils/toNonTypographicReactNodes.cjs +144 -7933
  687. package/dist/utils/toNonTypographicReactNodes.d.cts +6 -2
  688. package/dist/utils/toNonTypographicReactNodes.d.ts +6 -2
  689. package/dist/utils/toNonTypographicReactNodes.js +53 -49
  690. package/dist/utils/toReactNodes.cjs +155 -8346
  691. package/dist/utils/toReactNodes.d.cts +9 -11
  692. package/dist/utils/toReactNodes.d.ts +9 -11
  693. package/dist/utils/toReactNodes.js +67 -62
  694. package/dist/utils/transformGQLName.cjs +4 -27
  695. package/dist/utils/unicode.cjs +4 -27
  696. package/package.json +1 -3
  697. package/dist/styles/buttons.cjs +0 -133
@@ -0,0 +1,59 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
2
+
3
+ var _chunkXIFM5AMTcjs = require('./chunk-XIFM5AMT.cjs');
4
+
5
+
6
+ var _chunk4BXMY75Pcjs = require('./chunk-4BXMY75P.cjs');
7
+
8
+
9
+ var _chunkBQG6DASDcjs = require('./chunk-BQG6DASD.cjs');
10
+
11
+
12
+ var _chunkTRIJJTMXcjs = require('./chunk-TRIJJTMX.cjs');
13
+
14
+
15
+ var _chunkRKBBY43Dcjs = require('./chunk-RKBBY43D.cjs');
16
+
17
+
18
+ var _chunkVYKXX3SHcjs = require('./chunk-VYKXX3SH.cjs');
19
+
20
+
21
+ var _chunkSEJXEWOJcjs = require('./chunk-SEJXEWOJ.cjs');
22
+
23
+
24
+ var _chunk5O6LWFY4cjs = require('./chunk-5O6LWFY4.cjs');
25
+
26
+
27
+ var _chunkLLVW7HU4cjs = require('./chunk-LLVW7HU4.cjs');
28
+
29
+
30
+ var _chunkXZKD27Y2cjs = require('./chunk-XZKD27Y2.cjs');
31
+
32
+
33
+ var _chunkLKKJVJCGcjs = require('./chunk-LKKJVJCG.cjs');
34
+
35
+ // src/components/typography/renderTypography.tsx
36
+ var _react = require('react'); var _react2 = _interopRequireDefault(_react);
37
+ var typographyMap = {
38
+ Display: _chunkRKBBY43Dcjs.Display,
39
+ Headline: _chunkLLVW7HU4cjs.Headline,
40
+ Title: _chunkVYKXX3SHcjs.Title,
41
+ Body: _chunkSEJXEWOJcjs.Body,
42
+ "Body Strong": _chunk5O6LWFY4cjs.BodyStrong,
43
+ Label: _chunkXZKD27Y2cjs.Label,
44
+ "Label Moderate": _chunkXIFM5AMTcjs.LabelModerate,
45
+ "Label Strong": _chunk4BXMY75Pcjs.LabelStrong,
46
+ Overline: _chunkBQG6DASDcjs.Overline,
47
+ Code: _chunkTRIJJTMXcjs.Code,
48
+ "Code Strong": _chunkTRIJJTMXcjs.Code
49
+ };
50
+ var renderTypography = (type, props) => {
51
+ const TypographyComponent = typographyMap[type];
52
+ const _a = props, { children } = _a, rest = _chunkLKKJVJCGcjs.__objRest.call(void 0, _a, ["children"]);
53
+ return _react2.default.createElement(TypographyComponent, rest, children);
54
+ };
55
+
56
+
57
+
58
+
59
+ exports.typographyMap = typographyMap; exports.renderTypography = renderTypography;
@@ -0,0 +1,17 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }// src/components/Flex.tsx
2
+ var _styled = require('@emotion/styled'); var _styled2 = _interopRequireDefault(_styled);
3
+ var _jsxruntime = require('@emotion/react/jsx-runtime');
4
+ function Flex({ center = false, children, as = "div" }) {
5
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, StyledFlex, { center, as, children });
6
+ }
7
+ var StyledFlex = _styled2.default.div`
8
+ display: flex;
9
+ ${({ center }) => center && `
10
+ justify-content: center;
11
+ align-items: center;
12
+ `}
13
+ `;
14
+
15
+
16
+
17
+ exports.Flex = Flex;
@@ -3,46 +3,46 @@ import {
3
3
  } from "./chunk-JJC2AUQ3.js";
4
4
  import {
5
5
  TextButton
6
- } from "./chunk-LKJ7QTWL.js";
6
+ } from "./chunk-DGS7USD6.js";
7
7
  import {
8
8
  Dropdown
9
- } from "./chunk-4IHNUHE3.js";
9
+ } from "./chunk-ISVMIEHD.js";
10
10
  import {
11
11
  standardBorderColor
12
- } from "./chunk-Q76C6FJ5.js";
12
+ } from "./chunk-RZMG2TID.js";
13
13
  import {
14
14
  Badge,
15
15
  badgeSmVPadding
16
- } from "./chunk-ERNTWEIJ.js";
16
+ } from "./chunk-SI63PJGM.js";
17
17
  import {
18
18
  toReactNodes
19
- } from "./chunk-AKGW3FMJ.js";
19
+ } from "./chunk-JZJQOZEN.js";
20
20
  import {
21
21
  Heading,
22
22
  headingWithDefaults
23
- } from "./chunk-N67Y7GWR.js";
23
+ } from "./chunk-JSOZMOEJ.js";
24
24
  import {
25
25
  Loading
26
- } from "./chunk-SIYZ5PZT.js";
26
+ } from "./chunk-RT4SDUU6.js";
27
27
  import {
28
28
  select
29
29
  } from "./chunk-YMNSXZ5D.js";
30
30
  import {
31
31
  UnstyledButton
32
- } from "./chunk-TN5UPDZG.js";
32
+ } from "./chunk-E7RKIBJY.js";
33
33
  import {
34
34
  Icon
35
- } from "./chunk-LAGOF7IU.js";
35
+ } from "./chunk-QQTZ6DZL.js";
36
36
  import {
37
37
  standardBorderRadius,
38
38
  standardLineHeightEms
39
- } from "./chunk-YG5BANJH.js";
39
+ } from "./chunk-APUV4UN4.js";
40
40
  import {
41
41
  bp
42
42
  } from "./chunk-JSGRNWSB.js";
43
43
  import {
44
44
  colors
45
- } from "./chunk-KPAVY3UH.js";
45
+ } from "./chunk-REL56P3K.js";
46
46
  import {
47
47
  __spreadValues
48
48
  } from "./chunk-LOPKRCGI.js";
@@ -331,6 +331,8 @@ var PageSectionRowSubSection = styled.div`
331
331
  margin-top: 0;
332
332
  }
333
333
  `)}
334
+
335
+ ${({ fullWidth }) => fullWidth ? "width: 100% !important;" : ""}
334
336
  `;
335
337
 
336
338
  export {
@@ -0,0 +1,28 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/icons/AI.tsx
2
+ var _jsxruntime = require('@emotion/react/jsx-runtime');
3
+ function AI() {
4
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
5
+ "svg",
6
+ {
7
+ xmlns: "http://www.w3.org/2000/svg",
8
+ width: "28",
9
+ height: "28",
10
+ viewBox: "0 0 28 28",
11
+ fill: "none",
12
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
13
+ "path",
14
+ {
15
+ d: "M11.4485 18.5547L10.5 21.875L9.5515 18.5547C9.30635 17.697 8.84672 16.9159 8.21597 16.2852C7.58522 15.6544 6.80416 15.1948 5.9465 14.9497L2.625 14L5.94533 13.0515C6.803 12.8064 7.58405 12.3467 8.2148 11.716C8.84555 11.0852 9.30518 10.3042 9.55033 9.4465L10.5 6.125L11.4485 9.44533C11.6936 10.303 12.1533 11.0841 12.784 11.7148C13.4148 12.3455 14.1958 12.8052 15.0535 13.0503L18.375 14L15.0547 14.9485C14.197 15.1936 13.4159 15.6533 12.7852 16.284C12.1544 16.9148 11.6948 17.6958 11.4497 18.5535L11.4485 18.5547ZM21.3022 10.1675L21 11.375L20.6978 10.1675C20.5249 9.47519 20.167 8.84289 19.6625 8.3382C19.1581 7.83351 18.5259 7.47541 17.8337 7.30217L16.625 7L17.8337 6.69783C18.5259 6.52459 19.1581 6.16649 19.6625 5.6618C20.167 5.15711 20.5249 4.52481 20.6978 3.8325L21 2.625L21.3022 3.8325C21.4752 4.52496 21.8332 5.15735 22.3379 5.66205C22.8426 6.16675 23.475 6.52478 24.1675 6.69783L25.375 7L24.1675 7.30217C23.475 7.47522 22.8426 7.83325 22.3379 8.33795C21.8332 8.84265 21.4752 9.47504 21.3022 10.1675ZM19.7097 23.9948L19.25 25.375L18.7903 23.9948C18.6615 23.6082 18.4444 23.2569 18.1562 22.9688C17.868 22.6806 17.5168 22.4635 17.1302 22.3347L15.75 21.875L17.1302 21.4153C17.5168 21.2865 17.868 21.0694 18.1562 20.7812C18.4444 20.493 18.6615 20.1418 18.7903 19.7552L19.25 18.375L19.7097 19.7552C19.8385 20.1418 20.0556 20.493 20.3438 20.7812C20.6319 21.0694 20.9832 21.2865 21.3698 21.4153L22.75 21.875L21.3698 22.3347C20.9832 22.4635 20.6319 22.6806 20.3438 22.9688C20.0556 23.2569 19.8385 23.6082 19.7097 23.9948Z",
16
+ stroke: "currentColor",
17
+ strokeWidth: "2",
18
+ strokeLinecap: "round",
19
+ strokeLinejoin: "round"
20
+ }
21
+ )
22
+ }
23
+ );
24
+ }
25
+
26
+
27
+
28
+ exports.AI = AI;
@@ -0,0 +1,27 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/icons/Team.tsx
2
+ var _jsxruntime = require('@emotion/react/jsx-runtime');
3
+ function Team() {
4
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
5
+ "svg",
6
+ {
7
+ width: "100%",
8
+ viewBox: "0 0 24 24",
9
+ fill: "none",
10
+ xmlns: "http://www.w3.org/2000/svg",
11
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12
+ "path",
13
+ {
14
+ d: "M17.7498 19.25H21.4228C22.0042 19.25 22.468 18.754 22.3704 18.1808C21.8389 15.0624 20.0189 12.75 16.9998 12.75C16.5537 12.75 16.1338 12.8005 15.7404 12.8966M11.2497 7C11.2497 8.79493 9.79461 10.25 7.99969 10.25C6.20476 10.25 4.74969 8.79493 4.74969 7C4.74969 5.20507 6.20476 3.75 7.99969 3.75C9.79461 3.75 11.2497 5.20507 11.2497 7ZM19.7497 7.5C19.7497 9.01878 18.5185 10.25 16.9997 10.25C15.4809 10.25 14.2497 9.01878 14.2497 7.5C14.2497 5.98122 15.4809 4.75 16.9997 4.75C18.5185 4.75 19.7497 5.98122 19.7497 7.5ZM1.87029 19.1808C2.4382 15.4997 4.51686 12.75 7.99969 12.75C11.4825 12.75 13.5612 15.4997 14.1291 19.1808C14.2177 19.755 13.7549 20.25 13.1739 20.25H2.82547C2.24447 20.25 1.7817 19.755 1.87029 19.1808Z",
15
+ stroke: "currentColor",
16
+ strokeWidth: "1.5",
17
+ strokeLinecap: "round",
18
+ strokeLinejoin: "round"
19
+ }
20
+ )
21
+ }
22
+ );
23
+ }
24
+
25
+
26
+
27
+ exports.Team = Team;
@@ -0,0 +1,26 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/icons/LoadingCircleLines.tsx
2
+ var _jsxruntime = require('@emotion/react/jsx-runtime');
3
+ function LoadingCircleLines() {
4
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
5
+ "svg",
6
+ {
7
+ width: "100%",
8
+ viewBox: "0 0 20 20",
9
+ fill: "none",
10
+ xmlns: "http://www.w3.org/2000/svg",
11
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12
+ "path",
13
+ {
14
+ fillRule: "evenodd",
15
+ clipRule: "evenodd",
16
+ d: "M10.0004 3.57361e-09C10.4146 4.00036e-05 10.7503 0.33585 10.7503 0.75007L10.75 4.25007C10.75 4.66428 10.4141 5.00004 9.9999 5C9.5857 4.99996 9.25 4.66415 9.25 4.24993L9.2503 0.74993C9.2503 0.33572 9.5862 -3.99964e-05 10.0004 3.57361e-09ZM2.92919 2.92867C3.22211 2.6358 3.69699 2.63584 3.98985 2.92876L6.46451 5.40385C6.75738 5.69677 6.75734 6.17164 6.46442 6.46451C6.1715 6.75738 5.69663 6.75734 5.40376 6.46442L2.9291 3.98933C2.63623 3.69641 2.63628 3.22154 2.92919 2.92867ZM17.0716 2.92943C17.3645 3.22232 17.3645 3.69719 17.0716 3.99009L14.5967 6.46496C14.3038 6.75785 13.8289 6.75785 13.536 6.46496C13.2431 6.17207 13.2431 5.69719 13.536 5.4043L16.0109 2.92943C16.3038 2.63653 16.7787 2.63653 17.0716 2.92943ZM0 10.0007C0 9.5865 0.33579 9.2507 0.75 9.2507H4.25C4.66421 9.2507 5 9.5865 5 10.0007C5 10.4149 4.66421 10.7507 4.25 10.7507H0.75C0.33579 10.7507 0 10.4149 0 10.0007ZM15 10.0007C15 9.5865 15.3358 9.2507 15.75 9.2507H19.25C19.6642 9.2507 20 9.5865 20 10.0007C20 10.4149 19.6642 10.7507 19.25 10.7507H15.75C15.3358 10.7507 15 10.4149 15 10.0007ZM13.5357 13.5353C13.8286 13.2424 14.3035 13.2424 14.5964 13.5353L17.0713 16.0102C17.3642 16.3031 17.3642 16.778 17.0713 17.0709C16.7784 17.3637 16.3035 17.3637 16.0106 17.0709L13.5357 14.596C13.2429 14.3031 13.2429 13.8282 13.5357 13.5353ZM6.46496 13.536C6.75785 13.8289 6.75785 14.3038 6.46496 14.5967L3.99009 17.0716C3.69719 17.3645 3.22232 17.3645 2.92943 17.0716C2.63653 16.7787 2.63653 16.3038 2.92943 16.0109L5.4043 13.536C5.69719 13.2431 6.17207 13.2431 6.46496 13.536ZM10.0003 15C10.4145 15 10.7503 15.3358 10.7503 15.75V19.25C10.7503 19.6642 10.4145 20 10.0003 20C9.5861 20 9.2503 19.6642 9.2503 19.25V15.75C9.2503 15.3358 9.5861 15 10.0003 15Z",
17
+ fill: "currentColor"
18
+ }
19
+ )
20
+ }
21
+ );
22
+ }
23
+
24
+
25
+
26
+ exports.LoadingCircleLines = LoadingCircleLines;
@@ -0,0 +1,366 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
2
+
3
+ var _chunkGCE3EVF6cjs = require('./chunk-GCE3EVF6.cjs');
4
+
5
+
6
+ var _chunkBOBYW7PPcjs = require('./chunk-BOBYW7PP.cjs');
7
+
8
+
9
+ var _chunkZU72XWNEcjs = require('./chunk-ZU72XWNE.cjs');
10
+
11
+
12
+
13
+
14
+ var _chunk4P7RPU32cjs = require('./chunk-4P7RPU32.cjs');
15
+
16
+
17
+ var _chunkBY47I7ZPcjs = require('./chunk-BY47I7ZP.cjs');
18
+
19
+
20
+ var _chunkPYL3O7AFcjs = require('./chunk-PYL3O7AF.cjs');
21
+
22
+
23
+ var _chunkWTHHP7G2cjs = require('./chunk-WTHHP7G2.cjs');
24
+
25
+
26
+ var _chunkKSKKC6C2cjs = require('./chunk-KSKKC6C2.cjs');
27
+
28
+
29
+
30
+ var _chunkLKKJVJCGcjs = require('./chunk-LKKJVJCG.cjs');
31
+
32
+ // src/components/Toasts.tsx
33
+ var _styled = require('@emotion/styled'); var _styled2 = _interopRequireDefault(_styled);
34
+ var _lodashes = require('lodash-es');
35
+ var _react = require('react');
36
+ var _reactdom = require('react-dom'); var _reactdom2 = _interopRequireDefault(_reactdom);
37
+ var _jsxruntime = require('@emotion/react/jsx-runtime');
38
+ var firstDur = 0.3;
39
+ function Toasts({
40
+ queue,
41
+ onHide,
42
+ fromTop = 29,
43
+ stackDir = "above",
44
+ maxVisible = 3,
45
+ removeExpiredAndNotVisible = true,
46
+ dedupeConsecutive = true
47
+ }) {
48
+ const queuedToastIds = _react.useRef.call(void 0, /* @__PURE__ */ new Set());
49
+ const prevToastQueue = _react.useRef.call(void 0, []);
50
+ const [toastQueue, setToastQueue] = _react.useState.call(void 0, []);
51
+ const autoHideTimeoutRef = _react.useRef.call(void 0, null);
52
+ const hidingTimeoutRefs = _react.useRef.call(void 0, {});
53
+ const nodeRef = _react.useRef.call(void 0, null);
54
+ const [nodeReady, setNodeReady] = _react.useState.call(void 0, false);
55
+ const hideToast = _react.useCallback.call(void 0,
56
+ (id) => {
57
+ setToastQueue((currentToastQueue) => {
58
+ const hideToastIndex = currentToastQueue.findIndex((t) => t.id === id);
59
+ const newToastQueue = currentToastQueue.map((toast, i) => {
60
+ if (i === hideToastIndex) {
61
+ return _chunkLKKJVJCGcjs.__spreadProps.call(void 0, _chunkLKKJVJCGcjs.__spreadValues.call(void 0, {}, toast), {
62
+ isActive: false,
63
+ isHiding: true
64
+ });
65
+ }
66
+ return toast;
67
+ });
68
+ return newToastQueue;
69
+ });
70
+ const hidingTimeoutRef = hidingTimeoutRefs.current[id];
71
+ if (hidingTimeoutRef) {
72
+ clearTimeout(hidingTimeoutRef);
73
+ }
74
+ hidingTimeoutRefs.current[id] = setTimeout(() => {
75
+ setToastQueue((currentToastQueue) => {
76
+ const newToastQueue = currentToastQueue.filter((t) => t.id !== id);
77
+ setTimeout(() => onHide(id), 0);
78
+ hidingTimeoutRefs.current[id] = null;
79
+ return newToastQueue;
80
+ });
81
+ }, firstDur * 1e3);
82
+ if (autoHideTimeoutRef.current) {
83
+ clearTimeout(autoHideTimeoutRef.current);
84
+ autoHideTimeoutRef.current = null;
85
+ }
86
+ },
87
+ [onHide, setToastQueue]
88
+ );
89
+ _react.useEffect.call(void 0, () => {
90
+ const newToastQueueArgs = queue.reduce((acc, toast) => {
91
+ if (toast.expires < Date.now()) {
92
+ onHide(toast.id);
93
+ return acc;
94
+ }
95
+ if (!queuedToastIds.current.has(toast.id)) {
96
+ return [...acc, toast];
97
+ }
98
+ return acc;
99
+ }, []);
100
+ if (newToastQueueArgs.length) {
101
+ const newToasts = newToastQueueArgs.reduce((acc, toast) => {
102
+ if (dedupeConsecutive && acc.length) {
103
+ const lastToast = acc[acc.length - 1];
104
+ if (_lodashes.isEqual.call(void 0, toast.text, lastToast.text)) {
105
+ return acc;
106
+ }
107
+ }
108
+ queuedToastIds.current.add(toast.id);
109
+ return [
110
+ ...acc,
111
+ _chunkLKKJVJCGcjs.__spreadProps.call(void 0, _chunkLKKJVJCGcjs.__spreadValues.call(void 0, {}, toast), {
112
+ isActive: true,
113
+ isHiding: false
114
+ })
115
+ ];
116
+ }, []);
117
+ setToastQueue((currentToastQueue) => {
118
+ const currentToast2 = currentToastQueue[currentToastQueue.length - 1];
119
+ if (dedupeConsecutive && currentToast2 && _lodashes.isEqual.call(void 0, newToasts[0].text, currentToast2.text)) {
120
+ return currentToastQueue;
121
+ }
122
+ return [...currentToastQueue, ...newToasts];
123
+ });
124
+ }
125
+ }, [queue, hideToast, onHide, dedupeConsecutive]);
126
+ _react.useEffect.call(void 0, () => {
127
+ if (prevToastQueue.current.length !== toastQueue.length) {
128
+ const currentToast2 = toastQueue[toastQueue.length - 1];
129
+ if (currentToast2 && !currentToast2.isHiding) {
130
+ if (autoHideTimeoutRef.current) {
131
+ clearTimeout(autoHideTimeoutRef.current);
132
+ autoHideTimeoutRef.current = null;
133
+ }
134
+ if (currentToast2.duration) {
135
+ autoHideTimeoutRef.current = setTimeout(() => {
136
+ hideToast(currentToast2.id);
137
+ }, currentToast2.duration);
138
+ }
139
+ }
140
+ prevToastQueue.current = toastQueue;
141
+ }
142
+ }, [toastQueue, hideToast, onHide]);
143
+ _react.useEffect.call(void 0, () => {
144
+ if (!nodeRef.current) {
145
+ nodeRef.current = document.createElement("div");
146
+ document.body.appendChild(nodeRef.current);
147
+ }
148
+ setNodeReady(true);
149
+ return () => {
150
+ if (nodeRef.current) {
151
+ document.body.removeChild(nodeRef.current);
152
+ nodeRef.current = null;
153
+ }
154
+ };
155
+ }, []);
156
+ const currentToastIndex = toastQueue.length - 1;
157
+ _react.useEffect.call(void 0, () => {
158
+ if (removeExpiredAndNotVisible) {
159
+ setToastQueue((currentToastQueue) => {
160
+ const newToastQueue = currentToastQueue.filter((toast, i) => {
161
+ const fromCurrent = i === currentToastIndex ? 0 : currentToastIndex - i;
162
+ return toast.expires > Date.now() || fromCurrent < maxVisible;
163
+ });
164
+ return newToastQueue;
165
+ });
166
+ }
167
+ }, [currentToastIndex, maxVisible, removeExpiredAndNotVisible]);
168
+ const currentToast = toastQueue[currentToastIndex];
169
+ return nodeReady ? toastQueue.map((toast, i) => {
170
+ if (!nodeRef.current) {
171
+ return null;
172
+ }
173
+ const fromCurrent = i === currentToastIndex ? 0 : currentToastIndex - i;
174
+ const movingToCurrent = currentToast.isHiding && i === currentToastIndex - 1;
175
+ const hidingFromCurrent = currentToast.isHiding ? fromCurrent - 1 : fromCurrent;
176
+ const textNode = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: toast.text ? _chunkGCE3EVF6cjs.toReactNodes.call(void 0, toast.text) : null });
177
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Fragment, { children: _reactdom2.default.createPortal(
178
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
179
+ StyledToast,
180
+ {
181
+ isActive: toast.isActive,
182
+ isHiding: toast.isHiding,
183
+ isVisible: fromCurrent < maxVisible,
184
+ duration: toast.duration,
185
+ fromTop: Math.floor(fromTop),
186
+ isCurrent: i === currentToastIndex,
187
+ fromCurrent: hidingFromCurrent,
188
+ currentToastHiding: currentToast.isHiding,
189
+ maxVisible,
190
+ activeCount: Math.min(
191
+ toastQueue.length - (currentToast.isHiding ? 1 : 0),
192
+ maxVisible
193
+ ),
194
+ stackDir: stackDir === "above" ? -1 : 1,
195
+ movingToCurrent,
196
+ children: [
197
+ textNode,
198
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
199
+ _chunkBOBYW7PPcjs.UnstyledButton,
200
+ {
201
+ css: _chunk4P7RPU32cjs.extend.call(void 0, _chunk4P7RPU32cjs.flexCenter, {
202
+ position: "absolute",
203
+ right: "5px",
204
+ top: "-1px",
205
+ height: "50px",
206
+ width: "50px",
207
+ outlineColor: `${_chunkKSKKC6C2cjs.colors.white} !important`
208
+ }),
209
+ onClick: () => hideToast(toast.id),
210
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBY47I7ZPcjs.Icon, { name: "Close", width: 9 })
211
+ }
212
+ )
213
+ ]
214
+ }
215
+ ),
216
+ nodeRef.current
217
+ ) }, toast.id);
218
+ }) : null;
219
+ }
220
+ var width = 400;
221
+ var beginTopPx = -100;
222
+ var beginHeightPx = 50;
223
+ var minScale = 0.95;
224
+ var StyledToast = _styled2.default.div`
225
+ position: fixed;
226
+ z-index: ${_chunkZU72XWNEcjs.z.toast};
227
+ line-height: ${_chunk4P7RPU32cjs.pxToRems.call(void 0, 16)};
228
+ display: flex;
229
+ align-items: flex-start;
230
+ justify-content: space-between;
231
+ font-weight: 500;
232
+ background-color: ${({ isCurrent, movingToCurrent }) => isCurrent || movingToCurrent ? _chunkKSKKC6C2cjs.colors.blue43 : _chunkWTHHP7G2cjs.themeOr.call(void 0, "#2A50B2", _chunkKSKKC6C2cjs.colors.blue43)};
233
+ color: rgba(255, 255, 255, 0);
234
+ padding: 16px 24px;
235
+ ${({ duration }) => !duration && "padding-right: 50px;"}
236
+ ${({ isVisible, isCurrent, movingToCurrent, stackDir }) => {
237
+ if (!isVisible) {
238
+ return "";
239
+ }
240
+ const sharpOverlayShadow = `0 ${1 * stackDir}px 0px 0px rgba(0, 0, 0, 0.5)`;
241
+ return isCurrent || movingToCurrent ? `box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1), 0 4px 8px 0 rgba(0, 0, 0, 0.08), ${sharpOverlayShadow};` : `box-shadow: ${sharpOverlayShadow};`;
242
+ }}
243
+ left: 50%;
244
+ transform: translateX(-50%);
245
+ text-overflow: ellipsis;
246
+ overflow: hidden;
247
+ max-width: calc(100% - ${_chunkPYL3O7AFcjs.standardContentInset.smPx * 2}px);
248
+
249
+ max-height: ${beginHeightPx}px;
250
+ width: 0px;
251
+ border-radius: 3rem;
252
+ transition:
253
+ width 0.25s ${firstDur}s cubic-bezier(0.41, 0.52, 0.38, 1.33),
254
+ border-radius 0.1s ${firstDur}s linear,
255
+ color 0.1s ${firstDur * 2.1}s linear,
256
+ opacity 0.1s linear,
257
+ transform 0.25s cubic-bezier(0.41, 0.52, 0.38, 1.33),
258
+ background-color 0.3s linear,
259
+ max-height 0.2s 0.5s linear;
260
+ top: ${beginTopPx}px;
261
+
262
+ a {
263
+ text-decoration: underline;
264
+ }
265
+
266
+ button {
267
+ opacity: ${({ duration }) => duration ? "0" : "1"};
268
+ transition: opacity 0.1s linear;
269
+ }
270
+ &:hover {
271
+ ${({ duration }) => duration ? "button { opacity: 1; }" : ""}
272
+ }
273
+
274
+ ${({
275
+ isVisible,
276
+ fromCurrent,
277
+ movingToCurrent,
278
+ activeCount,
279
+ stackDir,
280
+ maxVisible,
281
+ currentToastHiding
282
+ }) => {
283
+ if (fromCurrent && !movingToCurrent) {
284
+ if (!isVisible) {
285
+ fromCurrent = maxVisible - 1;
286
+ }
287
+ const secondToastTranslateY = 7;
288
+ const translateY = stackDir * secondToastTranslateY * Math.pow(fromCurrent, 0.75);
289
+ const scale = Math.max(
290
+ 1 - (1 - minScale) / activeCount * fromCurrent,
291
+ 0
292
+ );
293
+ return `transform: translateX(-50%) translateY(${translateY}px) scale(${scale});`;
294
+ }
295
+ return "";
296
+ }}
297
+
298
+ ${({ fromTop }) => `
299
+ /* Animations with different values still interfere with each other if they have the same name.
300
+ Append the variable value to get a unique name for each animation: */
301
+ @keyframes slideOut-${fromTop} {
302
+ 0% {
303
+ top: ${fromTop}px;
304
+ }
305
+ 100% {
306
+ top: ${beginTopPx}px;
307
+ }
308
+ }
309
+
310
+ @keyframes slideIn-${fromTop} {
311
+ 0% {
312
+ top: ${beginTopPx}px;
313
+ }
314
+ 100% {
315
+ top: ${fromTop}px;
316
+ }
317
+ }
318
+ `}
319
+
320
+ &:before {
321
+ ${({ duration }) => duration ? 'content: "";' : ""}
322
+ position: absolute;
323
+ top: 0;
324
+ left: 0;
325
+ height: 100%;
326
+ width: 0%;
327
+ background-color: rgba(0, 0, 0, 0.1);
328
+ z-index: -1;
329
+ // switch back to minimal state instantly so it's ready for the next notification:
330
+ }
331
+
332
+ ${({ duration }) => duration ? `
333
+ @keyframes progressBar-${duration} {
334
+ 0% {
335
+ width: 0%;
336
+ }
337
+ 100% {
338
+ width: 100%;
339
+ }
340
+ }
341
+ ` : ""}
342
+
343
+ ${({ isActive, duration, isHiding, fromTop, isCurrent }) => isActive ? `
344
+ width: ${width}px;
345
+ top: ${fromTop}px;
346
+ border-radius: 1.3rem;
347
+ animation: ${firstDur}s cubic-bezier(.25,.15,.59,1.28) 0s slideIn-${fromTop};
348
+ color: rgba(255, 255, 255, 1);
349
+ max-height: 100px;
350
+ &:before {
351
+ ${isCurrent && duration ? `animation: progressBar-${duration} ${duration / 1e3}s linear;` : ""};
352
+ }
353
+ ` : `
354
+ ${isHiding ? `
355
+ animation: ${firstDur}s cubic-bezier(.57,-0.43,.78,.81) 0s slideOut-${fromTop};
356
+ &:before {
357
+ width: 100%;
358
+ }
359
+ ` : ""}
360
+ top: ${beginTopPx}px;
361
+ `}
362
+ `;
363
+
364
+
365
+
366
+ exports.Toasts = Toasts;
@@ -0,0 +1,95 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkKLC2OBTGcjs = require('./chunk-KLC2OBTG.cjs');
4
+
5
+ // src/components/CodeInput/SingleCodeInput.tsx
6
+ var _react = require('@emotion/react');
7
+ var _jsxruntime = require('@emotion/react/jsx-runtime');
8
+ var defaultWidth = "42px";
9
+ var vPadding = 15;
10
+ function SingleCodeInput({
11
+ id,
12
+ maxLength,
13
+ onChange = () => {
14
+ },
15
+ value,
16
+ inputRef = null,
17
+ onKeyUp = () => {
18
+ },
19
+ onKeyDown = () => {
20
+ },
21
+ onPaste = () => {
22
+ },
23
+ type,
24
+ max,
25
+ cssProp,
26
+ ariaLabel,
27
+ disabled,
28
+ onBlur,
29
+ width = defaultWidth
30
+ }) {
31
+ const theme = _react.useTheme.call(void 0, );
32
+ const defaultCSS = _react.css.call(void 0,
33
+ `
34
+ ${_chunkKLC2OBTGcjs.textInputStyle.call(void 0, {
35
+ theme,
36
+ disabled: Boolean(disabled),
37
+ hasError: false
38
+ }).styles}
39
+ width: ${width};
40
+ max-width: ${defaultWidth};
41
+ padding: ${vPadding}px 0px;
42
+ text-align: center;
43
+ &:not(:last-of-type):not(:focus-visible) {
44
+ border-right: none;
45
+ }
46
+ &:not(:first-of-type):not(:last-of-type) {
47
+ border-radius: 0;
48
+ }
49
+ &:first-of-type {
50
+ border-top-right-radius: 0;
51
+ border-bottom-right-radius: 0;
52
+ }
53
+ &:last-of-type {
54
+ border-top-left-radius: 0;
55
+ border-bottom-left-radius: 0;
56
+ }
57
+ &:focus,
58
+ &:active {
59
+ padding: ${vPadding - 1}px 0px !important;
60
+ }
61
+
62
+ &::-webkit-outer-spin-button,
63
+ &::-webkit-inner-spin-button {
64
+ display: none;
65
+ margin: 0;
66
+ }
67
+ -moz-appearance:textfield; /* Firefox */
68
+ `,
69
+ cssProp
70
+ );
71
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
72
+ "input",
73
+ {
74
+ id,
75
+ maxLength,
76
+ onChange: (event) => onChange(event, id),
77
+ value,
78
+ ref: inputRef,
79
+ type,
80
+ "aria-label": ariaLabel,
81
+ onKeyUp: (event) => onKeyUp(event, id),
82
+ onKeyDown: (event) => onKeyDown(event, id),
83
+ onPaste: (event) => onPaste(event),
84
+ max,
85
+ css: defaultCSS,
86
+ onBlur,
87
+ inputMode: "numeric",
88
+ pattern: "[0-9]*"
89
+ }
90
+ );
91
+ }
92
+
93
+
94
+
95
+ exports.SingleCodeInput = SingleCodeInput;