@lightsparkdev/ui 1.1.0 → 1.1.2

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 (815) hide show
  1. package/CHANGELOG.md +49 -0
  2. package/dist/{chunk-BWOYXWUT.cjs → chunk-24JSFAVR.cjs} +7 -7
  3. package/dist/{chunk-37ZNE6RR.cjs → chunk-26C7EHMN.cjs} +5 -5
  4. package/dist/{chunk-2BUWDSLS.js → chunk-27SNMODC.js} +3 -3
  5. package/dist/{chunk-GWGAYSYH.cjs → chunk-2A6IUQFD.cjs} +5 -5
  6. package/dist/{chunk-OLNRE3IL.js → chunk-2BAYI25M.js} +2 -2
  7. package/dist/{chunk-63FTHNXH.js → chunk-2FY7MSPJ.js} +10 -6
  8. package/dist/chunk-2GW2BIB4.cjs +36 -0
  9. package/dist/{chunk-3GWGT73J.cjs → chunk-2ICSBUTV.cjs} +18 -17
  10. package/dist/{chunk-A7A4CG6B.cjs → chunk-2RBXFWZM.cjs} +2 -2
  11. package/dist/{chunk-PMKBHZ4E.cjs → chunk-2W2RDGG3.cjs} +5 -1
  12. package/dist/{chunk-LGS3OH6G.js → chunk-2X3SN2NQ.js} +3 -3
  13. package/dist/{chunk-CC3VPMH3.cjs → chunk-2XUU3FQ4.cjs} +4 -3
  14. package/dist/{chunk-K33DLKPB.cjs → chunk-2YBZV2K6.cjs} +13 -2
  15. package/dist/{chunk-HBDF6JWW.cjs → chunk-3EIRVYIC.cjs} +11 -11
  16. package/dist/{chunk-RAIZMT6F.js → chunk-3JLU2SA3.js} +11 -11
  17. package/dist/chunk-3KRQU3PT.js +25 -0
  18. package/dist/{chunk-6X6QKELE.cjs → chunk-3MYJB3JQ.cjs} +2 -2
  19. package/dist/{chunk-6TE5F544.cjs → chunk-3MZK3ZMD.cjs} +6 -6
  20. package/dist/{chunk-3LCR3KCY.js → chunk-3PQDAHFL.js} +2 -2
  21. package/dist/{chunk-H6BLLRT3.cjs → chunk-3RR3ZYXG.cjs} +12 -12
  22. package/dist/{chunk-5D52PRRT.cjs → chunk-3TWK5ORK.cjs} +2 -2
  23. package/dist/chunk-3VHSE7WI.js +27 -0
  24. package/dist/{chunk-AFNV5FHC.cjs → chunk-42S7PZMX.cjs} +11 -11
  25. package/dist/{chunk-B2IBAKQN.js → chunk-46K5FH42.js} +7 -7
  26. package/dist/{chunk-QTV4Q3UB.cjs → chunk-46WVDWMJ.cjs} +5 -5
  27. package/dist/{chunk-XMTRQXAR.js → chunk-4CGAORBB.js} +1 -1
  28. package/dist/{chunk-MYRSWJPJ.js → chunk-4D4LDRA5.js} +1 -1
  29. package/dist/{chunk-I4L4UO26.cjs → chunk-4DJ33XMZ.cjs} +6 -5
  30. package/dist/chunk-4IFDR4TO.cjs +32 -0
  31. package/dist/{chunk-6Z6ZBZEJ.cjs → chunk-4JJ5GJLE.cjs} +12 -12
  32. package/dist/{chunk-WU3OOKRP.js → chunk-5EG6UD4E.js} +2 -2
  33. package/dist/{chunk-VE63R7LY.cjs → chunk-5KCSS7WC.cjs} +12 -12
  34. package/dist/{chunk-E5INXIWL.js → chunk-5LVXXKFG.js} +39 -9
  35. package/dist/{chunk-I7JHRFWF.js → chunk-5Q75SIBB.js} +1 -1
  36. package/dist/{chunk-GNXFNQIM.cjs → chunk-5QO2F6GB.cjs} +5 -5
  37. package/dist/chunk-5WM766JJ.js +36 -0
  38. package/dist/{chunk-QRRADIPN.cjs → chunk-5YGMTJV7.cjs} +24 -24
  39. package/dist/{chunk-FHRJPK5E.js → chunk-6AFMAHRI.js} +5 -5
  40. package/dist/{chunk-VFOOK2Q5.js → chunk-6DOIY4CB.js} +42 -31
  41. package/dist/{chunk-SJ22UUXF.js → chunk-6LJXJQW5.js} +2 -2
  42. package/dist/{chunk-7X7JJTSW.cjs → chunk-6LPPYQXI.cjs} +76 -40
  43. package/dist/{chunk-GUAZJFWU.js → chunk-6WBQSTDG.js} +2 -2
  44. package/dist/{chunk-PLBOVPIA.cjs → chunk-6WQKK4PN.cjs} +18 -18
  45. package/dist/{chunk-SNSZGFFQ.js → chunk-73YPCCU5.js} +4 -4
  46. package/dist/chunk-7GLJ7C2G.cjs +130 -0
  47. package/dist/chunk-7GOOS3YI.js +48 -0
  48. package/dist/{chunk-IABK5H7C.js → chunk-7JLSUP5O.js} +20 -11
  49. package/dist/{chunk-LQN63NFC.cjs → chunk-7LDNLA44.cjs} +4 -4
  50. package/dist/{chunk-B4E7KGUR.cjs → chunk-7PO62A2O.cjs} +10 -7
  51. package/dist/{chunk-NMMCTZPQ.js → chunk-7VW7WAQ6.js} +1 -1
  52. package/dist/{chunk-FITJM2GD.js → chunk-7XHWXQLE.js} +4 -4
  53. package/dist/{chunk-ZQ7MTVT6.cjs → chunk-7Y4IJ2LN.cjs} +14 -14
  54. package/dist/{chunk-XYF5QVMZ.js → chunk-A6C2UMJZ.js} +2 -2
  55. package/dist/{chunk-7JNVMZP7.js → chunk-A6PMMOW5.js} +8 -8
  56. package/dist/{chunk-U6EBWLCK.js → chunk-ADV4UT4X.js} +18 -13
  57. package/dist/{chunk-7JIOBZFS.cjs → chunk-AO75KOAA.cjs} +6 -6
  58. package/dist/{chunk-T7ZB3XF7.cjs → chunk-B6Y7HCBM.cjs} +1 -1
  59. package/dist/{chunk-I7TLWWPN.js → chunk-B7Z7ECLO.js} +2 -2
  60. package/dist/{chunk-N7FVSAJ3.cjs → chunk-BJJLSMLZ.cjs} +4 -4
  61. package/dist/{chunk-Z6I64NIF.js → chunk-BJP4OTMN.js} +1 -1
  62. package/dist/{chunk-6VHPN6NV.cjs → chunk-BKDCUWHC.cjs} +2 -2
  63. package/dist/chunk-BWYFC4CK.cjs +48 -0
  64. package/dist/chunk-BX4NPADU.js +32 -0
  65. package/dist/chunk-BZYKNN6E.js +45 -0
  66. package/dist/{chunk-G2UHA5JS.js → chunk-C22CRGKP.js} +4 -4
  67. package/dist/{chunk-JCNDMVRB.cjs → chunk-C4AZYRYH.cjs} +5 -0
  68. package/dist/chunk-CAO2V4EQ.cjs +45 -0
  69. package/dist/{chunk-5FMXKCC3.js → chunk-CDATSR53.js} +10 -10
  70. package/dist/{chunk-EDKM2DNV.js → chunk-CEVFUNQL.js} +2 -2
  71. package/dist/{chunk-XGPKLCE5.cjs → chunk-CFPR6LLG.cjs} +10 -7
  72. package/dist/{chunk-W7AU3V2X.js → chunk-CR26XP4P.js} +5 -5
  73. package/dist/{chunk-C3ZJV5MQ.js → chunk-CSQII7YP.js} +1 -1
  74. package/dist/{chunk-UGRRR64W.js → chunk-CVS5BL7R.js} +28 -18
  75. package/dist/chunk-D4RAYQ6O.cjs +33 -0
  76. package/dist/chunk-D4UK7XQF.js +48 -0
  77. package/dist/{chunk-JU2FTCTN.js → chunk-DFYU5VPB.js} +50 -25
  78. package/dist/chunk-DG46HTPM.cjs +28 -0
  79. package/dist/chunk-DH3F4ATS.cjs +6 -0
  80. package/dist/{chunk-GRQWHUKD.js → chunk-DJEBFC67.js} +3 -3
  81. package/dist/chunk-DORBQICL.cjs +44 -0
  82. package/dist/{chunk-K2JYBOWY.js → chunk-DP3CK7ZD.js} +5 -5
  83. package/dist/{chunk-4LG6VAAC.js → chunk-E5PZI3R6.js} +4 -4
  84. package/dist/{chunk-EZRJ2DD2.cjs → chunk-E73KOBFO.cjs} +2 -2
  85. package/dist/{chunk-AHC2USPG.js → chunk-E7KQDR6U.js} +8 -8
  86. package/dist/{chunk-EO4RGSN6.cjs → chunk-EBN2WCW3.cjs} +10 -6
  87. package/dist/{chunk-4UFYMBJK.cjs → chunk-ECFNSLYP.cjs} +26 -21
  88. package/dist/chunk-ED4BFEWE.js +48 -0
  89. package/dist/{chunk-42SXP7BM.js → chunk-EEZDWGJP.js} +1 -1
  90. package/dist/{chunk-RRYCIVLA.js → chunk-EJFILEWN.js} +1 -1
  91. package/dist/{chunk-KPNJ6H7M.js → chunk-EOKBV2EI.js} +1 -1
  92. package/dist/chunk-EPDKLI6N.js +33 -0
  93. package/dist/{chunk-GUQRCSCH.cjs → chunk-F3XKQJC5.cjs} +4 -4
  94. package/dist/chunk-F6UJF3IX.cjs +33 -0
  95. package/dist/{chunk-AAFLXMRZ.cjs → chunk-FD2K6ENK.cjs} +2 -2
  96. package/dist/{chunk-WK3QJMNV.js → chunk-FEICMA3U.js} +2 -2
  97. package/dist/chunk-FHYBFAVA.js +27 -0
  98. package/dist/{chunk-CVIWSCRB.cjs → chunk-FK42QU3U.cjs} +6 -6
  99. package/dist/chunk-FMBWVJNX.cjs +27 -0
  100. package/dist/{chunk-3RGO6Q6G.cjs → chunk-FRX5ZBIV.cjs} +26 -17
  101. package/dist/{chunk-YDN2RZ25.cjs → chunk-FUVI6AKG.cjs} +11 -5
  102. package/dist/chunk-FVPDEEWZ.js +48 -0
  103. package/dist/{chunk-6TBJ3WAQ.js → chunk-FXLZVWXV.js} +5 -1
  104. package/dist/{chunk-F65DFJX5.cjs → chunk-FXOJZHWY.cjs} +5 -5
  105. package/dist/{chunk-QFWFZDKI.cjs → chunk-FZ6NEB4W.cjs} +2 -2
  106. package/dist/{chunk-3HWVUFNG.js → chunk-G3D6AOSP.js} +2 -2
  107. package/dist/{chunk-WAQVU2I2.cjs → chunk-GEJSSLYL.cjs} +2 -2
  108. package/dist/{chunk-LMHG2Z6R.cjs → chunk-GFX7756Y.cjs} +32 -32
  109. package/dist/{chunk-ASS6BJWH.cjs → chunk-GGG6UAEI.cjs} +16 -5
  110. package/dist/{chunk-5CHJEAGP.cjs → chunk-GGMWV3MT.cjs} +15 -15
  111. package/dist/{chunk-QYVQII3I.cjs → chunk-GICIJWP3.cjs} +15 -1
  112. package/dist/chunk-GRE7PVY2.cjs +27 -0
  113. package/dist/{chunk-I4A5IFJY.cjs → chunk-H5V7U2JV.cjs} +2 -2
  114. package/dist/{chunk-VOSQS33M.js → chunk-HAUZNHOH.js} +2 -2
  115. package/dist/{chunk-DS3M2OKG.cjs → chunk-HE4WT5SV.cjs} +65 -65
  116. package/dist/{chunk-VTCBLFGU.js → chunk-HIT2FCXS.js} +1 -1
  117. package/dist/{chunk-E46IHC27.js → chunk-HQN2LS2G.js} +4 -4
  118. package/dist/{chunk-ITYZTIJS.js → chunk-HTCBI467.js} +5 -5
  119. package/dist/{chunk-2PI3XHGD.cjs → chunk-HW7ECH4N.cjs} +57 -25
  120. package/dist/{chunk-UNDTHMBS.cjs → chunk-I5VWQRS4.cjs} +12 -12
  121. package/dist/{chunk-H2R5LMTF.js → chunk-I6WJCP2T.js} +2 -2
  122. package/dist/chunk-I7ENJICA.cjs +33 -0
  123. package/dist/chunk-IEEFV2X3.cjs +48 -0
  124. package/dist/{chunk-3KSX3FCA.cjs → chunk-IGHWH5N3.cjs} +2 -2
  125. package/dist/{chunk-PXT6C4F7.cjs → chunk-IM7BOMES.cjs} +28 -28
  126. package/dist/{chunk-6ENQZUFQ.cjs → chunk-IMSAVJ2D.cjs} +4 -4
  127. package/dist/{chunk-LUZE4HE4.cjs → chunk-IQY5S5EK.cjs} +7 -7
  128. package/dist/{chunk-6Q373SSH.js → chunk-ITAEGTRO.js} +1 -1
  129. package/dist/{chunk-FIGALTBG.js → chunk-IWGKLRFS.js} +197 -71
  130. package/dist/chunk-IWQDUW5F.js +32 -0
  131. package/dist/{chunk-FGZFMWJU.js → chunk-J3TUZRIL.js} +2 -2
  132. package/dist/{chunk-4WLQDWEJ.js → chunk-J7WU3WLQ.js} +2 -2
  133. package/dist/chunk-JDED27A4.cjs +267 -0
  134. package/dist/chunk-JOT3EVGV.js +6 -0
  135. package/dist/{chunk-K5JJ5ZJP.cjs → chunk-JRCDVJMM.cjs} +2 -2
  136. package/dist/chunk-JVA433WN.js +33 -0
  137. package/dist/{chunk-DJOYSVI3.js → chunk-JWFDHULW.js} +3 -3
  138. package/dist/{chunk-LTFCYY4X.js → chunk-JY2GP4ST.js} +86 -50
  139. package/dist/{chunk-SRMVVFER.cjs → chunk-KDJRRFZC.cjs} +5 -5
  140. package/dist/{chunk-C2LNBFQJ.js → chunk-KMV6MVFT.js} +9 -3
  141. package/dist/{chunk-PMF5K72F.cjs → chunk-KOGW3LJC.cjs} +12 -12
  142. package/dist/{chunk-JFQRCDVB.js → chunk-KV4J4POE.js} +2 -2
  143. package/dist/{chunk-5EP2Q5VZ.cjs → chunk-L4K6LGDW.cjs} +7 -7
  144. package/dist/{chunk-DO3L552Y.cjs → chunk-LC4C2GUC.cjs} +5 -5
  145. package/dist/{chunk-DO3PWX7Q.cjs → chunk-LDNG63AK.cjs} +4 -4
  146. package/dist/{chunk-66TMF6JR.cjs → chunk-LEDA4EMP.cjs} +2 -2
  147. package/dist/chunk-LITP7RYO.cjs +32 -0
  148. package/dist/{chunk-764PTQNO.js → chunk-LMLZWAB6.js} +2 -2
  149. package/dist/{chunk-SILL7PHK.js → chunk-LSLBJH2Q.js} +1 -2
  150. package/dist/chunk-LUCFZGLG.cjs +48 -0
  151. package/dist/{chunk-5X4RSRIK.cjs → chunk-MB5LWFQK.cjs} +2 -2
  152. package/dist/{chunk-6L3YFTSL.js → chunk-MC2ZBKES.js} +2 -2
  153. package/dist/{chunk-43EQF4CG.cjs → chunk-MCKKNBET.cjs} +2 -2
  154. package/dist/chunk-MEOGL5NX.js +33 -0
  155. package/dist/{chunk-SFL5D7JR.js → chunk-MHI74LTB.js} +15 -4
  156. package/dist/{chunk-NXZY7WP4.js → chunk-MKERXZUC.js} +7 -7
  157. package/dist/{chunk-GUNROE4M.cjs → chunk-MN5Q5ZWW.cjs} +32 -32
  158. package/dist/{chunk-6H54ZONZ.js → chunk-MSMN63ZY.js} +16 -16
  159. package/dist/{chunk-RDWZJCFB.js → chunk-MTQAQB4G.js} +1 -1
  160. package/dist/{chunk-27U6BUVR.js → chunk-MWHUXSVK.js} +1 -1
  161. package/dist/{chunk-LTV6DUFE.cjs → chunk-MYIV5ZLH.cjs} +42 -12
  162. package/dist/{chunk-MM7L5VFI.js → chunk-MYZ66GTU.js} +2 -2
  163. package/dist/{chunk-AM7EMJXN.js → chunk-NF6LGARO.js} +60 -23
  164. package/dist/{chunk-EGDZHNGD.js → chunk-NGSGEGM7.js} +3 -3
  165. package/dist/chunk-NI6YZUVY.cjs +17 -0
  166. package/dist/{chunk-6HENA5PI.js → chunk-NMELWOSZ.js} +10 -7
  167. package/dist/{chunk-FOUSEEFH.cjs → chunk-NN6GDACA.cjs} +5 -4
  168. package/dist/{chunk-RMOWWR6C.js → chunk-NPKEAEDV.js} +13 -2
  169. package/dist/{chunk-RRSCTSPM.cjs → chunk-NQKSO4IX.cjs} +4 -4
  170. package/dist/{chunk-AQHIMMV5.js → chunk-NU63VICO.js} +5 -5
  171. package/dist/chunk-O3AC5VB6.cjs +25 -0
  172. package/dist/{chunk-FPQ2OUYX.cjs → chunk-O6BZRC56.cjs} +8 -8
  173. package/dist/chunk-OBUN65IK.cjs +56 -0
  174. package/dist/{chunk-W3ZPMDKP.cjs → chunk-OCQLKC7A.cjs} +7 -7
  175. package/dist/{chunk-IDXB6JJF.js → chunk-OEX3MY36.js} +1 -2
  176. package/dist/{chunk-6A6IMQ3O.cjs → chunk-OJ2AC6G4.cjs} +3 -3
  177. package/dist/{chunk-T3Z7NMDH.js → chunk-OJRM5YGG.js} +1 -1
  178. package/dist/{chunk-EYKKYK5B.cjs → chunk-ONDWVTIA.cjs} +31 -31
  179. package/dist/{chunk-UTDID6QP.cjs → chunk-OPCYCGCF.cjs} +44 -33
  180. package/dist/chunk-ORF432JY.cjs +32 -0
  181. package/dist/{chunk-JX2ZFW7M.cjs → chunk-OVXPXY4L.cjs} +8 -8
  182. package/dist/chunk-OYHZECIC.cjs +48 -0
  183. package/dist/{chunk-HWWCQX5E.js → chunk-OYN2GQHU.js} +5 -5
  184. package/dist/{chunk-OI4UESYK.cjs → chunk-PA5PHWOP.cjs} +10 -10
  185. package/dist/{chunk-HWWDYLZ7.cjs → chunk-PAKIEW35.cjs} +7 -7
  186. package/dist/{chunk-BJNNM7GS.js → chunk-PDEB5XJS.js} +1 -1
  187. package/dist/{chunk-YIJZVE4P.js → chunk-PHQ6NFOZ.js} +11 -3
  188. package/dist/{chunk-USA27D3E.js → chunk-PMZ54PEM.js} +5 -5
  189. package/dist/{chunk-MMDHIPKS.cjs → chunk-PP2Z74OK.cjs} +221 -95
  190. package/dist/{chunk-FPIKWB3F.js → chunk-PPMNMNW5.js} +10 -9
  191. package/dist/{chunk-UVJK2G3B.js → chunk-PSB345GM.js} +2 -2
  192. package/dist/{chunk-VK4EJLJ6.cjs → chunk-PYHSJNMI.cjs} +2 -2
  193. package/dist/{chunk-G5AXUILN.cjs → chunk-Q6NB3OIA.cjs} +1 -2
  194. package/dist/{chunk-6IAPO7QF.cjs → chunk-QGTABNMJ.cjs} +3 -2
  195. package/dist/{chunk-AUDNFE2M.cjs → chunk-QHNM7Q2K.cjs} +7 -7
  196. package/dist/{chunk-HGCI5IAM.cjs → chunk-QI7YHMJZ.cjs} +220 -183
  197. package/dist/chunk-QLLGA3JU.js +20 -0
  198. package/dist/{chunk-YJIIP7IY.js → chunk-QPO3F72O.js} +15 -1
  199. package/dist/{chunk-DFVX2CXQ.js → chunk-QWSLX5OB.js} +3 -3
  200. package/dist/{chunk-22SE37H7.js → chunk-QZ2TJYBO.js} +3 -2
  201. package/dist/{chunk-FXDEUNPF.js → chunk-R2AGQ3JJ.js} +3 -3
  202. package/dist/{chunk-2WPDZCWM.js → chunk-R62M65Z7.js} +4 -3
  203. package/dist/chunk-R6NEZ575.js +28 -0
  204. package/dist/{chunk-QA7NKYGQ.js → chunk-RCVVSZT3.js} +3 -2
  205. package/dist/{chunk-2XRXCDTL.js → chunk-RI5Q7OOG.js} +1 -1
  206. package/dist/{chunk-TCPAMMYH.js → chunk-RZFZCMDY.js} +1 -1
  207. package/dist/{chunk-2AXASJO5.cjs → chunk-S56RD2PP.cjs} +4 -4
  208. package/dist/chunk-SEBEPKJC.js +32 -0
  209. package/dist/{chunk-VQVEZVAG.js → chunk-SLEBHXIK.js} +1 -1
  210. package/dist/{chunk-CKP3DZME.cjs → chunk-SLRPTASQ.cjs} +23 -23
  211. package/dist/{chunk-7GO3GN57.js → chunk-STCHSKF7.js} +3 -3
  212. package/dist/{chunk-XOJGASAT.js → chunk-SUUX24ML.js} +2 -2
  213. package/dist/{chunk-NXLHWPSH.cjs → chunk-SWTP5CDT.cjs} +2 -2
  214. package/dist/{chunk-Y6XSTDTM.js → chunk-SXUB5BV5.js} +22 -22
  215. package/dist/{chunk-WSQWII3I.js → chunk-THLN4TVD.js} +3 -3
  216. package/dist/chunk-THPYU4LG.js +130 -0
  217. package/dist/{chunk-KU4X4VPI.js → chunk-TKOYRZ7J.js} +49 -17
  218. package/dist/chunk-TMHOHUIP.js +267 -0
  219. package/dist/{chunk-2FG7PGPI.js → chunk-TQ2UZZHD.js} +12 -12
  220. package/dist/{chunk-DSRVIFSU.cjs → chunk-TXKJAPBD.cjs} +9 -9
  221. package/dist/{chunk-Y477LK2G.js → chunk-U5XHY2DK.js} +1 -1
  222. package/dist/chunk-U6NRNGKX.js +33 -0
  223. package/dist/{chunk-WHRVJHU5.js → chunk-U6UJRL2I.js} +2 -2
  224. package/dist/{chunk-NXV24BSH.js → chunk-UAJXDIT4.js} +1 -1
  225. package/dist/{chunk-B2B6IYJH.cjs → chunk-UCBR2BN2.cjs} +5 -5
  226. package/dist/{chunk-HNK7JPKS.js → chunk-UDEHDJUQ.js} +2 -2
  227. package/dist/{chunk-VGMBQUOT.cjs → chunk-UGDFDCYD.cjs} +6 -6
  228. package/dist/{chunk-UPWOS23Y.cjs → chunk-USM7WYUY.cjs} +5 -5
  229. package/dist/{chunk-2RMXFIOS.cjs → chunk-USPBIYUD.cjs} +6 -6
  230. package/dist/{chunk-IJVDTNJ4.js → chunk-UTU2KDZR.js} +114 -94
  231. package/dist/{chunk-OIPTQLCG.js → chunk-V26CURVY.js} +2 -2
  232. package/dist/{chunk-LNVTXCTF.cjs → chunk-V4XRBWF2.cjs} +12 -12
  233. package/dist/{chunk-YUEYUDQC.js → chunk-VJIRCBU6.js} +1 -1
  234. package/dist/{chunk-32TB2XVD.js → chunk-VLMFSAAH.js} +3 -3
  235. package/dist/{chunk-LFNGQTS6.js → chunk-VSB4DCBY.js} +10 -10
  236. package/dist/{chunk-XQWHIGTV.cjs → chunk-VSYUOLR4.cjs} +6 -6
  237. package/dist/{chunk-SSPKQJOW.cjs → chunk-VUI7MCNE.cjs} +11 -3
  238. package/dist/{chunk-PUBEIMRN.cjs → chunk-VXDAV2SR.cjs} +4 -4
  239. package/dist/{chunk-74SBZBYA.cjs → chunk-VXRMYWVT.cjs} +8 -8
  240. package/dist/{chunk-3CS5KWB3.js → chunk-VXSXU3I3.js} +12 -12
  241. package/dist/{chunk-OYQ4V4V6.cjs → chunk-VZJKQDGW.cjs} +2 -2
  242. package/dist/{chunk-TBJKNYG4.cjs → chunk-W4A62SQR.cjs} +2 -2
  243. package/dist/{chunk-JTEEQSLU.cjs → chunk-WBSD6PW4.cjs} +1 -2
  244. package/dist/chunk-WDN77DVO.cjs +20 -0
  245. package/dist/{chunk-TBZZXLAM.cjs → chunk-WKRK7DGR.cjs} +2 -2
  246. package/dist/chunk-WL4ZTZHK.js +44 -0
  247. package/dist/{chunk-G5OXWQR6.cjs → chunk-WOAB6E7H.cjs} +2 -2
  248. package/dist/{chunk-LJP2V4PT.cjs → chunk-WTTNK5KR.cjs} +4 -4
  249. package/dist/{chunk-3RYP2UEV.js → chunk-WWT32XZO.js} +3 -3
  250. package/dist/{chunk-C5QC3LKJ.js → chunk-X255H2MC.js} +1 -1
  251. package/dist/{chunk-FCPL3OSG.cjs → chunk-X3JGXIPS.cjs} +52 -42
  252. package/dist/chunk-X5KSA6QC.js +17 -0
  253. package/dist/{chunk-VMUJWJRR.cjs → chunk-X5LLRZ5D.cjs} +7 -7
  254. package/dist/{chunk-FBYK5UPJ.js → chunk-XDL3GORR.js} +5 -0
  255. package/dist/{chunk-7H2OXTEN.cjs → chunk-XIFHBLNQ.cjs} +3 -3
  256. package/dist/{chunk-BBGQAE5U.cjs → chunk-XLOZT6IC.cjs} +94 -74
  257. package/dist/{chunk-BL5NDVAZ.cjs → chunk-XMSQNWZK.cjs} +2 -2
  258. package/dist/{chunk-6VHFEC3Y.cjs → chunk-XPB2MR7Z.cjs} +5 -5
  259. package/dist/{chunk-RLHTMCRJ.cjs → chunk-XUE2IL5J.cjs} +5 -5
  260. package/dist/chunk-XWM3GJ4I.cjs +33 -0
  261. package/dist/{chunk-E2672QPS.cjs → chunk-XWOTPLY4.cjs} +2 -2
  262. package/dist/{chunk-3GKIKZL2.cjs → chunk-XYPLDDUH.cjs} +66 -41
  263. package/dist/{chunk-5HDXWO2E.js → chunk-YIEDSI2X.js} +4 -3
  264. package/dist/{chunk-CFILIWVR.js → chunk-YJWS43OQ.js} +1 -1
  265. package/dist/{chunk-JE5HNGTT.js → chunk-YLRNYSQY.js} +10 -7
  266. package/dist/{chunk-HNMOCE5D.cjs → chunk-YQIEEVUE.cjs} +5 -5
  267. package/dist/{chunk-7U5SIH6F.js → chunk-YTE3K2FZ.js} +1 -1
  268. package/dist/{chunk-RKAVKJX6.js → chunk-YWNKHN46.js} +1 -1
  269. package/dist/{chunk-2L6PVYRN.cjs → chunk-YYIYLDKB.cjs} +2 -2
  270. package/dist/{chunk-Y4T7OW76.js → chunk-ZHKLSHFU.js} +3 -3
  271. package/dist/{chunk-EBJ4PCTK.js → chunk-ZIARRNP6.js} +14 -14
  272. package/dist/{chunk-6XON2Q7W.cjs → chunk-ZNA5ILKB.cjs} +9 -9
  273. package/dist/{chunk-QSHSTJDS.js → chunk-ZUSKTNKQ.js} +1 -1
  274. package/dist/{chunk-GNQBORV6.js → chunk-ZYI2BYYK.js} +2 -2
  275. package/dist/{chunk-IX53L44F.cjs → chunk-ZZCE6TWB.cjs} +16 -16
  276. package/dist/components/Badge.cjs +111 -97
  277. package/dist/components/Badge.d.cts +15 -1
  278. package/dist/components/Badge.d.ts +15 -1
  279. package/dist/components/Badge.js +110 -96
  280. package/dist/components/Banner/Banner.cjs +110 -96
  281. package/dist/components/Banner/Banner.d.cts +19 -2
  282. package/dist/components/Banner/Banner.d.ts +19 -2
  283. package/dist/components/Banner/Banner.js +109 -95
  284. package/dist/components/BirthdayInput.cjs +241 -204
  285. package/dist/components/BirthdayInput.d.cts +2 -1
  286. package/dist/components/BirthdayInput.d.ts +2 -1
  287. package/dist/components/BirthdayInput.js +241 -204
  288. package/dist/components/BlockAlert.cjs +112 -98
  289. package/dist/components/BlockAlert.js +110 -96
  290. package/dist/components/Button.cjs +107 -93
  291. package/dist/components/Button.d.cts +17 -2
  292. package/dist/components/Button.d.ts +17 -2
  293. package/dist/components/Button.js +106 -92
  294. package/dist/components/ButtonRow.cjs +109 -95
  295. package/dist/components/ButtonRow.d.cts +15 -1
  296. package/dist/components/ButtonRow.d.ts +15 -1
  297. package/dist/components/ButtonRow.js +108 -94
  298. package/dist/components/CardForm/CardForm.cjs +126 -111
  299. package/dist/components/CardForm/CardForm.d.cts +36 -4
  300. package/dist/components/CardForm/CardForm.d.ts +36 -4
  301. package/dist/components/CardForm/CardForm.js +125 -110
  302. package/dist/components/CardForm/CardFormCodeInput.cjs +278 -12
  303. package/dist/components/CardForm/CardFormCodeInput.js +277 -11
  304. package/dist/components/CardForm/CardFormHeadline.cjs +24 -0
  305. package/dist/components/CardForm/CardFormHeadline.d.cts +11 -0
  306. package/dist/components/CardForm/CardFormHeadline.d.ts +11 -0
  307. package/dist/components/CardForm/CardFormHeadline.js +24 -0
  308. package/dist/components/CardPage.cjs +111 -97
  309. package/dist/components/CardPage.js +110 -96
  310. package/dist/components/Checkbox.cjs +111 -97
  311. package/dist/components/Checkbox.d.cts +22 -2
  312. package/dist/components/Checkbox.d.ts +22 -2
  313. package/dist/components/Checkbox.js +110 -96
  314. package/dist/components/ClipboardTextField.cjs +94 -80
  315. package/dist/components/ClipboardTextField.d.cts +15 -1
  316. package/dist/components/ClipboardTextField.d.ts +15 -1
  317. package/dist/components/ClipboardTextField.js +93 -79
  318. package/dist/components/CodeBlock.cjs +95 -81
  319. package/dist/components/CodeBlock.js +94 -80
  320. package/dist/components/CodeInput/CodeInput.cjs +277 -11
  321. package/dist/components/CodeInput/CodeInput.js +276 -10
  322. package/dist/components/CodeInput/SingleCodeInput.cjs +276 -10
  323. package/dist/components/CodeInput/SingleCodeInput.js +275 -9
  324. package/dist/components/Collapsible.cjs +92 -78
  325. package/dist/components/Collapsible.d.cts +14 -0
  326. package/dist/components/Collapsible.d.ts +14 -0
  327. package/dist/components/Collapsible.js +91 -77
  328. package/dist/components/ContentTable.cjs +91 -77
  329. package/dist/components/ContentTable.js +90 -76
  330. package/dist/components/CopyToClipboardButton.cjs +93 -79
  331. package/dist/components/CopyToClipboardButton.d.cts +14 -0
  332. package/dist/components/CopyToClipboardButton.d.ts +14 -0
  333. package/dist/components/CopyToClipboardButton.js +92 -78
  334. package/dist/components/CurrencyAmount.cjs +103 -89
  335. package/dist/components/CurrencyAmount.d.cts +15 -1
  336. package/dist/components/CurrencyAmount.d.ts +15 -1
  337. package/dist/components/CurrencyAmount.js +102 -88
  338. package/dist/components/DataManagerTable/BooleanFilter.cjs +115 -101
  339. package/dist/components/DataManagerTable/BooleanFilter.js +114 -100
  340. package/dist/components/DataManagerTable/CurrencyFilter.cjs +128 -114
  341. package/dist/components/DataManagerTable/CurrencyFilter.js +127 -113
  342. package/dist/components/DataManagerTable/DataManagerTable.cjs +153 -139
  343. package/dist/components/DataManagerTable/DataManagerTable.d.cts +15 -1
  344. package/dist/components/DataManagerTable/DataManagerTable.d.ts +15 -1
  345. package/dist/components/DataManagerTable/DataManagerTable.js +152 -138
  346. package/dist/components/DataManagerTable/DateFilter.cjs +125 -111
  347. package/dist/components/DataManagerTable/DateFilter.js +124 -110
  348. package/dist/components/DataManagerTable/DateWidget.cjs +113 -99
  349. package/dist/components/DataManagerTable/DateWidget.js +112 -98
  350. package/dist/components/DataManagerTable/EnumFilter.cjs +119 -105
  351. package/dist/components/DataManagerTable/EnumFilter.js +118 -104
  352. package/dist/components/DataManagerTable/Filter.cjs +112 -98
  353. package/dist/components/DataManagerTable/Filter.js +111 -97
  354. package/dist/components/DataManagerTable/IdFilter.cjs +122 -108
  355. package/dist/components/DataManagerTable/IdFilter.js +121 -107
  356. package/dist/components/DataManagerTable/StringFilter.cjs +122 -108
  357. package/dist/components/DataManagerTable/StringFilter.js +121 -107
  358. package/dist/components/Drawer.cjs +108 -94
  359. package/dist/components/Drawer.d.cts +5 -2
  360. package/dist/components/Drawer.d.ts +5 -2
  361. package/dist/components/Drawer.js +107 -93
  362. package/dist/components/Dropdown.cjs +112 -98
  363. package/dist/components/Dropdown.d.cts +15 -1
  364. package/dist/components/Dropdown.d.ts +15 -1
  365. package/dist/components/Dropdown.js +111 -97
  366. package/dist/components/FileInput.cjs +119 -83
  367. package/dist/components/FileInput.js +118 -82
  368. package/dist/components/Flex.cjs +2 -2
  369. package/dist/components/Flex.d.cts +7 -1
  370. package/dist/components/Flex.d.ts +7 -1
  371. package/dist/components/Flex.js +1 -1
  372. package/dist/components/GradientCardHeader.cjs +10 -10
  373. package/dist/components/GradientCardHeader.js +9 -9
  374. package/dist/components/Icon/Icon.cjs +90 -76
  375. package/dist/components/Icon/Icon.d.cts +15 -1
  376. package/dist/components/Icon/Icon.d.ts +15 -1
  377. package/dist/components/Icon/Icon.js +89 -75
  378. package/dist/components/Icon/types.cjs +83 -69
  379. package/dist/components/Icon/types.d.cts +28 -0
  380. package/dist/components/Icon/types.d.ts +28 -0
  381. package/dist/components/Icon/types.js +82 -68
  382. package/dist/components/IconWithCircleBackground.cjs +105 -91
  383. package/dist/components/IconWithCircleBackground.d.cts +28 -3
  384. package/dist/components/IconWithCircleBackground.d.ts +28 -3
  385. package/dist/components/IconWithCircleBackground.js +104 -90
  386. package/dist/components/InfoIconTooltip.cjs +111 -97
  387. package/dist/components/InfoIconTooltip.d.cts +15 -1
  388. package/dist/components/InfoIconTooltip.d.ts +15 -1
  389. package/dist/components/InfoIconTooltip.js +110 -96
  390. package/dist/components/LightsparkProvider.cjs +10 -10
  391. package/dist/components/LightsparkProvider.js +9 -9
  392. package/dist/components/Loading.cjs +91 -77
  393. package/dist/components/Loading.js +90 -76
  394. package/dist/components/Modal.cjs +121 -107
  395. package/dist/components/Modal.d.cts +22 -2
  396. package/dist/components/Modal.d.ts +22 -2
  397. package/dist/components/Modal.js +120 -106
  398. package/dist/components/MultiToggle.cjs +91 -77
  399. package/dist/components/MultiToggle.d.cts +15 -1
  400. package/dist/components/MultiToggle.d.ts +15 -1
  401. package/dist/components/MultiToggle.js +90 -76
  402. package/dist/components/NumberInput.cjs +122 -108
  403. package/dist/components/NumberInput.d.cts +37 -1
  404. package/dist/components/NumberInput.d.ts +37 -1
  405. package/dist/components/NumberInput.js +121 -107
  406. package/dist/components/PageSection/PageSection.cjs +125 -111
  407. package/dist/components/PageSection/PageSection.d.cts +15 -1
  408. package/dist/components/PageSection/PageSection.d.ts +15 -1
  409. package/dist/components/PageSection/PageSection.js +124 -110
  410. package/dist/components/PageSection/PageSectionNav.cjs +114 -100
  411. package/dist/components/PageSection/PageSectionNav.d.cts +14 -0
  412. package/dist/components/PageSection/PageSectionNav.d.ts +14 -0
  413. package/dist/components/PageSection/PageSectionNav.js +113 -99
  414. package/dist/components/PendingValue.cjs +111 -97
  415. package/dist/components/PendingValue.d.cts +15 -1
  416. package/dist/components/PendingValue.d.ts +15 -1
  417. package/dist/components/PendingValue.js +110 -96
  418. package/dist/components/PhoneInput.cjs +118 -104
  419. package/dist/components/PhoneInput.d.cts +43 -3
  420. package/dist/components/PhoneInput.d.ts +43 -3
  421. package/dist/components/PhoneInput.js +117 -103
  422. package/dist/components/Pill.cjs +94 -80
  423. package/dist/components/Pill.d.cts +14 -0
  424. package/dist/components/Pill.d.ts +14 -0
  425. package/dist/components/Pill.js +93 -79
  426. package/dist/components/ProgressBar.cjs +8 -8
  427. package/dist/components/ProgressBar.js +7 -7
  428. package/dist/components/QRCode.cjs +92 -78
  429. package/dist/components/QRCode.js +91 -77
  430. package/dist/components/QRReader/QRReader.cjs +3 -3
  431. package/dist/components/QRReader/QRReader.js +2 -2
  432. package/dist/components/QRReaderButton.cjs +118 -98
  433. package/dist/components/QRReaderButton.js +117 -97
  434. package/dist/components/Radio.cjs +112 -98
  435. package/dist/components/Radio.js +111 -97
  436. package/dist/components/ReadClipboardButton.cjs +119 -105
  437. package/dist/components/ReadClipboardButton.js +118 -104
  438. package/dist/components/SatoshiInput.cjs +125 -111
  439. package/dist/components/SatoshiInput.d.cts +37 -1
  440. package/dist/components/SatoshiInput.d.ts +37 -1
  441. package/dist/components/SatoshiInput.js +124 -110
  442. package/dist/components/SatoshiInputLabel.cjs +113 -99
  443. package/dist/components/SatoshiInputLabel.js +112 -98
  444. package/dist/components/SecretContainer.cjs +94 -80
  445. package/dist/components/SecretContainer.js +93 -79
  446. package/dist/components/SecretInput.cjs +118 -104
  447. package/dist/components/SecretInput.d.cts +37 -1
  448. package/dist/components/SecretInput.d.ts +37 -1
  449. package/dist/components/SecretInput.js +117 -103
  450. package/dist/components/Select.cjs +116 -79
  451. package/dist/components/Select.js +115 -78
  452. package/dist/components/SidePanel.cjs +91 -77
  453. package/dist/components/SidePanel.js +90 -76
  454. package/dist/components/StatusIndicator.cjs +9 -9
  455. package/dist/components/StatusIndicator.js +8 -8
  456. package/dist/components/Table/Table.cjs +113 -99
  457. package/dist/components/Table/Table.d.cts +15 -1
  458. package/dist/components/Table/Table.d.ts +15 -1
  459. package/dist/components/Table/Table.js +112 -98
  460. package/dist/components/Table/TableEmptyState.cjs +8 -8
  461. package/dist/components/Table/TableEmptyState.js +7 -7
  462. package/dist/components/TextArea.cjs +276 -10
  463. package/dist/components/TextArea.js +275 -9
  464. package/dist/components/TextButton.cjs +113 -99
  465. package/dist/components/TextButton.d.cts +15 -1
  466. package/dist/components/TextButton.d.ts +15 -1
  467. package/dist/components/TextButton.js +112 -98
  468. package/dist/components/TextIconAligner.cjs +111 -97
  469. package/dist/components/TextIconAligner.d.cts +15 -1
  470. package/dist/components/TextIconAligner.d.ts +15 -1
  471. package/dist/components/TextIconAligner.js +110 -96
  472. package/dist/components/TextInput.cjs +119 -103
  473. package/dist/components/TextInput.d.cts +53 -7
  474. package/dist/components/TextInput.d.ts +53 -7
  475. package/dist/components/TextInput.js +118 -102
  476. package/dist/components/Toasts.cjs +112 -98
  477. package/dist/components/Toasts.d.cts +16 -1
  478. package/dist/components/Toasts.d.ts +16 -1
  479. package/dist/components/Toasts.js +111 -97
  480. package/dist/components/Toggle.cjs +9 -9
  481. package/dist/components/Toggle.d.cts +15 -1
  482. package/dist/components/Toggle.d.ts +15 -1
  483. package/dist/components/Toggle.js +8 -8
  484. package/dist/components/Tooltip.cjs +8 -8
  485. package/dist/components/Tooltip.js +7 -7
  486. package/dist/components/UnstyledButton.cjs +8 -8
  487. package/dist/components/UnstyledButton.js +7 -7
  488. package/dist/components/documentation/AnchorLinkHeader.cjs +94 -80
  489. package/dist/components/documentation/AnchorLinkHeader.d.cts +15 -1
  490. package/dist/components/documentation/AnchorLinkHeader.d.ts +15 -1
  491. package/dist/components/documentation/AnchorLinkHeader.js +93 -79
  492. package/dist/components/documentation/DocsBodyParagraph.cjs +8 -8
  493. package/dist/components/documentation/DocsBodyParagraph.d.cts +15 -1
  494. package/dist/components/documentation/DocsBodyParagraph.d.ts +15 -1
  495. package/dist/components/documentation/DocsBodyParagraph.js +7 -7
  496. package/dist/components/documentation/DocsBodyStrongParagraph.cjs +8 -8
  497. package/dist/components/documentation/DocsBodyStrongParagraph.d.cts +15 -1
  498. package/dist/components/documentation/DocsBodyStrongParagraph.d.ts +15 -1
  499. package/dist/components/documentation/DocsBodyStrongParagraph.js +7 -7
  500. package/dist/components/documentation/DocsHeadline.cjs +9 -9
  501. package/dist/components/documentation/DocsHeadline.d.cts +15 -1
  502. package/dist/components/documentation/DocsHeadline.d.ts +15 -1
  503. package/dist/components/documentation/DocsHeadline.js +8 -8
  504. package/dist/components/documentation/Video.cjs +8 -8
  505. package/dist/components/documentation/Video.js +6 -6
  506. package/dist/components/documentation/index.cjs +94 -80
  507. package/dist/components/documentation/index.d.cts +15 -1
  508. package/dist/components/documentation/index.d.ts +15 -1
  509. package/dist/components/documentation/index.js +93 -79
  510. package/dist/components/index.cjs +197 -183
  511. package/dist/components/index.d.cts +16 -2
  512. package/dist/components/index.d.ts +16 -2
  513. package/dist/components/index.js +211 -197
  514. package/dist/components/typography/Article.cjs +99 -85
  515. package/dist/components/typography/Article.js +98 -84
  516. package/dist/components/typography/Body.cjs +110 -96
  517. package/dist/components/typography/Body.d.cts +15 -1
  518. package/dist/components/typography/Body.d.ts +15 -1
  519. package/dist/components/typography/Body.js +109 -95
  520. package/dist/components/typography/BodyStrong.cjs +110 -96
  521. package/dist/components/typography/BodyStrong.d.cts +15 -1
  522. package/dist/components/typography/BodyStrong.d.ts +15 -1
  523. package/dist/components/typography/BodyStrong.js +109 -95
  524. package/dist/components/typography/Code.cjs +110 -96
  525. package/dist/components/typography/Code.d.cts +15 -1
  526. package/dist/components/typography/Code.d.ts +15 -1
  527. package/dist/components/typography/Code.js +109 -95
  528. package/dist/components/typography/Display.cjs +110 -96
  529. package/dist/components/typography/Display.d.cts +15 -1
  530. package/dist/components/typography/Display.d.ts +15 -1
  531. package/dist/components/typography/Display.js +109 -95
  532. package/dist/components/typography/Headline.cjs +110 -96
  533. package/dist/components/typography/Headline.d.cts +15 -1
  534. package/dist/components/typography/Headline.d.ts +15 -1
  535. package/dist/components/typography/Headline.js +109 -95
  536. package/dist/components/typography/Label.cjs +110 -96
  537. package/dist/components/typography/Label.d.cts +15 -1
  538. package/dist/components/typography/Label.d.ts +15 -1
  539. package/dist/components/typography/Label.js +109 -95
  540. package/dist/components/typography/LabelModerate.cjs +110 -96
  541. package/dist/components/typography/LabelModerate.d.cts +15 -1
  542. package/dist/components/typography/LabelModerate.d.ts +15 -1
  543. package/dist/components/typography/LabelModerate.js +109 -95
  544. package/dist/components/typography/LabelStrong.cjs +110 -96
  545. package/dist/components/typography/LabelStrong.d.cts +15 -1
  546. package/dist/components/typography/LabelStrong.d.ts +15 -1
  547. package/dist/components/typography/LabelStrong.js +109 -95
  548. package/dist/components/typography/Overline.cjs +110 -96
  549. package/dist/components/typography/Overline.d.cts +15 -1
  550. package/dist/components/typography/Overline.d.ts +15 -1
  551. package/dist/components/typography/Overline.js +109 -95
  552. package/dist/components/typography/Title.cjs +110 -96
  553. package/dist/components/typography/Title.d.cts +15 -1
  554. package/dist/components/typography/Title.d.ts +15 -1
  555. package/dist/components/typography/Title.js +109 -95
  556. package/dist/components/typography/base/Body.cjs +8 -8
  557. package/dist/components/typography/base/Body.d.cts +15 -1
  558. package/dist/components/typography/base/Body.d.ts +15 -1
  559. package/dist/components/typography/base/Body.js +7 -7
  560. package/dist/components/typography/base/BodyStrong.cjs +8 -8
  561. package/dist/components/typography/base/BodyStrong.d.cts +15 -1
  562. package/dist/components/typography/base/BodyStrong.d.ts +15 -1
  563. package/dist/components/typography/base/BodyStrong.js +7 -7
  564. package/dist/components/typography/base/Code.cjs +8 -8
  565. package/dist/components/typography/base/Code.d.cts +15 -1
  566. package/dist/components/typography/base/Code.d.ts +15 -1
  567. package/dist/components/typography/base/Code.js +7 -7
  568. package/dist/components/typography/base/Display.cjs +8 -8
  569. package/dist/components/typography/base/Display.d.cts +15 -1
  570. package/dist/components/typography/base/Display.d.ts +15 -1
  571. package/dist/components/typography/base/Display.js +7 -7
  572. package/dist/components/typography/base/Headline.cjs +8 -8
  573. package/dist/components/typography/base/Headline.d.cts +15 -1
  574. package/dist/components/typography/base/Headline.d.ts +15 -1
  575. package/dist/components/typography/base/Headline.js +7 -7
  576. package/dist/components/typography/base/Label.cjs +8 -8
  577. package/dist/components/typography/base/Label.d.cts +15 -1
  578. package/dist/components/typography/base/Label.d.ts +15 -1
  579. package/dist/components/typography/base/Label.js +7 -7
  580. package/dist/components/typography/base/LabelModerate.cjs +8 -8
  581. package/dist/components/typography/base/LabelModerate.d.cts +15 -1
  582. package/dist/components/typography/base/LabelModerate.d.ts +15 -1
  583. package/dist/components/typography/base/LabelModerate.js +7 -7
  584. package/dist/components/typography/base/LabelStrong.cjs +8 -8
  585. package/dist/components/typography/base/LabelStrong.d.cts +15 -1
  586. package/dist/components/typography/base/LabelStrong.d.ts +15 -1
  587. package/dist/components/typography/base/LabelStrong.js +7 -7
  588. package/dist/components/typography/base/Overline.cjs +8 -8
  589. package/dist/components/typography/base/Overline.d.cts +15 -1
  590. package/dist/components/typography/base/Overline.d.ts +15 -1
  591. package/dist/components/typography/base/Overline.js +7 -7
  592. package/dist/components/typography/base/Title.cjs +8 -8
  593. package/dist/components/typography/base/Title.d.cts +15 -1
  594. package/dist/components/typography/base/Title.d.ts +15 -1
  595. package/dist/components/typography/base/Title.js +7 -7
  596. package/dist/components/typography/base/getPropDefaults.d.cts +15 -1
  597. package/dist/components/typography/base/getPropDefaults.d.ts +15 -1
  598. package/dist/components/typography/index.cjs +122 -108
  599. package/dist/components/typography/index.d.cts +15 -1
  600. package/dist/components/typography/index.d.ts +15 -1
  601. package/dist/components/typography/index.js +129 -115
  602. package/dist/components/typography/renderTypography.cjs +18 -18
  603. package/dist/components/typography/renderTypography.d.cts +15 -1
  604. package/dist/components/typography/renderTypography.d.ts +15 -1
  605. package/dist/components/typography/renderTypography.js +17 -17
  606. package/dist/components/typography/types.d.cts +15 -1
  607. package/dist/components/typography/types.d.ts +15 -1
  608. package/dist/components/typography/typographyStyles.d.cts +15 -1
  609. package/dist/components/typography/typographyStyles.d.ts +15 -1
  610. package/dist/hooks/index.cjs +60 -0
  611. package/dist/hooks/index.d.cts +14 -0
  612. package/dist/hooks/index.d.ts +14 -0
  613. package/dist/hooks/index.js +60 -0
  614. package/dist/hooks/useDebounce.cjs +4 -23
  615. package/dist/hooks/useDebounce.js +3 -22
  616. package/dist/hooks/useDocumentTitle.cjs +3 -15
  617. package/dist/hooks/useDocumentTitle.js +3 -15
  618. package/dist/hooks/useFields.cjs +3 -244
  619. package/dist/hooks/useFields.d.cts +1 -2
  620. package/dist/hooks/useFields.d.ts +1 -2
  621. package/dist/hooks/useFields.js +4 -245
  622. package/dist/hooks/useMaxScaleIOS.cjs +4 -25
  623. package/dist/hooks/useMaxScaleIOS.js +3 -24
  624. package/dist/hooks/useNumberInput/useNumberInput.cjs +5 -5
  625. package/dist/hooks/useNumberInput/useNumberInput.js +4 -4
  626. package/dist/hooks/useNumberInput/utils/index.cjs +9 -9
  627. package/dist/hooks/useNumberInput/utils/index.js +9 -9
  628. package/dist/hooks/useQueryParams.cjs +7 -13
  629. package/dist/hooks/useQueryParams.d.cts +2 -1
  630. package/dist/hooks/useQueryParams.d.ts +2 -1
  631. package/dist/hooks/useQueryParams.js +6 -12
  632. package/dist/hooks/useWhatChanged.cjs +4 -4
  633. package/dist/hooks/useWhatChanged.js +3 -3
  634. package/dist/icons/Bank.cjs +2 -2
  635. package/dist/icons/Bank.d.cts +1 -1
  636. package/dist/icons/Bank.d.ts +1 -1
  637. package/dist/icons/Bank.js +1 -1
  638. package/dist/icons/CheckmarkGreen.cjs +7 -0
  639. package/dist/icons/CheckmarkGreen.d.cts +6 -0
  640. package/dist/icons/CheckmarkGreen.d.ts +6 -0
  641. package/dist/icons/CheckmarkGreen.js +7 -0
  642. package/dist/icons/Globe.cjs +2 -2
  643. package/dist/icons/Globe.js +1 -1
  644. package/dist/icons/LightningBoltOutline.cjs +7 -0
  645. package/dist/icons/LightningBoltOutline.d.cts +5 -0
  646. package/dist/icons/LightningBoltOutline.d.ts +5 -0
  647. package/dist/icons/LightningBoltOutline.js +7 -0
  648. package/dist/icons/Lock2.cjs +7 -0
  649. package/dist/icons/Lock2.d.cts +6 -0
  650. package/dist/icons/Lock2.d.ts +6 -0
  651. package/dist/icons/Lock2.js +7 -0
  652. package/dist/icons/Logo.cjs +2 -2
  653. package/dist/icons/Logo.js +1 -1
  654. package/dist/icons/LogoMark.cjs +7 -0
  655. package/dist/icons/LogoMark.d.cts +5 -0
  656. package/dist/icons/LogoMark.d.ts +5 -0
  657. package/dist/icons/LogoMark.js +7 -0
  658. package/dist/icons/NonagonCheckmark.cjs +2 -2
  659. package/dist/icons/NonagonCheckmark.js +1 -1
  660. package/dist/icons/NubankLogo.cjs +7 -0
  661. package/dist/icons/NubankLogo.d.cts +5 -0
  662. package/dist/icons/NubankLogo.d.ts +5 -0
  663. package/dist/icons/NubankLogo.js +7 -0
  664. package/dist/icons/ReceiptCheck.cjs +2 -2
  665. package/dist/icons/ReceiptCheck.d.cts +2 -1
  666. package/dist/icons/ReceiptCheck.d.ts +2 -1
  667. package/dist/icons/ReceiptCheck.js +1 -1
  668. package/dist/icons/ShieldCheckLite.cjs +2 -2
  669. package/dist/icons/ShieldCheckLite.d.cts +2 -1
  670. package/dist/icons/ShieldCheckLite.d.ts +2 -1
  671. package/dist/icons/ShieldCheckLite.js +1 -1
  672. package/dist/icons/Uma.cjs +2 -2
  673. package/dist/icons/Uma.d.cts +2 -1
  674. package/dist/icons/Uma.d.ts +2 -1
  675. package/dist/icons/Uma.js +1 -1
  676. package/dist/icons/ZapLite.cjs +2 -2
  677. package/dist/icons/ZapLite.d.cts +2 -1
  678. package/dist/icons/ZapLite.d.ts +2 -1
  679. package/dist/icons/ZapLite.js +1 -1
  680. package/dist/icons/central/ArrowInboxUp.cjs +7 -0
  681. package/dist/icons/central/ArrowInboxUp.d.cts +6 -0
  682. package/dist/icons/central/ArrowInboxUp.d.ts +6 -0
  683. package/dist/icons/central/ArrowInboxUp.js +7 -0
  684. package/dist/icons/central/ArrowUpDown.cjs +7 -0
  685. package/dist/icons/central/ArrowUpDown.d.cts +6 -0
  686. package/dist/icons/central/ArrowUpDown.d.ts +6 -0
  687. package/dist/icons/central/ArrowUpDown.js +7 -0
  688. package/dist/icons/central/Bubble5.cjs +7 -0
  689. package/dist/icons/central/Bubble5.d.cts +6 -0
  690. package/dist/icons/central/Bubble5.d.ts +6 -0
  691. package/dist/icons/central/Bubble5.js +7 -0
  692. package/dist/icons/central/EmailNotification.cjs +2 -2
  693. package/dist/icons/central/EmailNotification.js +1 -1
  694. package/dist/icons/central/EmptyStrength.cjs +7 -0
  695. package/dist/icons/central/EmptyStrength.d.cts +6 -0
  696. package/dist/icons/central/EmptyStrength.d.ts +6 -0
  697. package/dist/icons/central/EmptyStrength.js +7 -0
  698. package/dist/icons/central/Gift.cjs +7 -0
  699. package/dist/icons/central/Gift.d.cts +6 -0
  700. package/dist/icons/central/Gift.d.ts +6 -0
  701. package/dist/icons/central/Gift.js +7 -0
  702. package/dist/icons/central/Leading.cjs +7 -0
  703. package/dist/icons/central/Leading.d.cts +6 -0
  704. package/dist/icons/central/Leading.d.ts +6 -0
  705. package/dist/icons/central/Leading.js +7 -0
  706. package/dist/icons/central/MediumStrength.cjs +7 -0
  707. package/dist/icons/central/MediumStrength.d.cts +6 -0
  708. package/dist/icons/central/MediumStrength.d.ts +6 -0
  709. package/dist/icons/central/MediumStrength.js +7 -0
  710. package/dist/icons/central/Phone.cjs +2 -2
  711. package/dist/icons/central/Phone.js +1 -1
  712. package/dist/icons/central/StrongStrength.cjs +7 -0
  713. package/dist/icons/central/StrongStrength.d.cts +6 -0
  714. package/dist/icons/central/StrongStrength.d.ts +6 -0
  715. package/dist/icons/central/StrongStrength.js +7 -0
  716. package/dist/icons/central/WeakStrength.cjs +7 -0
  717. package/dist/icons/central/WeakStrength.d.cts +6 -0
  718. package/dist/icons/central/WeakStrength.d.ts +6 -0
  719. package/dist/icons/central/WeakStrength.js +7 -0
  720. package/dist/icons/central/index.cjs +75 -39
  721. package/dist/icons/central/index.d.cts +9 -0
  722. package/dist/icons/central/index.d.ts +9 -0
  723. package/dist/icons/central/index.js +87 -51
  724. package/dist/icons/index.cjs +87 -67
  725. package/dist/icons/index.d.cts +5 -0
  726. package/dist/icons/index.d.ts +5 -0
  727. package/dist/icons/index.js +115 -95
  728. package/dist/icons/types.d.cts +1 -0
  729. package/dist/icons/types.d.ts +1 -0
  730. package/dist/index.d.cts +1 -1
  731. package/dist/index.d.ts +1 -1
  732. package/dist/router.cjs +19 -19
  733. package/dist/router.d.cts +15 -1
  734. package/dist/router.d.ts +15 -1
  735. package/dist/router.js +18 -18
  736. package/dist/static/images/Logo.svg +14 -55
  737. package/dist/static/images/LogoMark.svg +10 -0
  738. package/dist/styles/colors.cjs +2 -2
  739. package/dist/styles/colors.d.cts +14 -0
  740. package/dist/styles/colors.d.ts +14 -0
  741. package/dist/styles/colors.js +1 -1
  742. package/dist/styles/common.cjs +7 -7
  743. package/dist/styles/common.d.cts +15 -1
  744. package/dist/styles/common.d.ts +15 -1
  745. package/dist/styles/common.js +6 -6
  746. package/dist/styles/constants.cjs +2 -2
  747. package/dist/styles/constants.d.cts +1 -1
  748. package/dist/styles/constants.d.ts +1 -1
  749. package/dist/styles/constants.js +1 -1
  750. package/dist/styles/fields.cjs +275 -11
  751. package/dist/styles/fields.d.cts +50 -7
  752. package/dist/styles/fields.d.ts +50 -7
  753. package/dist/styles/fields.js +274 -10
  754. package/dist/styles/global.cjs +9 -9
  755. package/dist/styles/global.d.cts +15 -1
  756. package/dist/styles/global.d.ts +15 -1
  757. package/dist/styles/global.js +8 -8
  758. package/dist/styles/themeDefaults/buttons.cjs +2 -2
  759. package/dist/styles/themeDefaults/buttons.d.cts +15 -1
  760. package/dist/styles/themeDefaults/buttons.d.ts +15 -1
  761. package/dist/styles/themeDefaults/buttons.js +1 -1
  762. package/dist/styles/themeDefaults/cardForm.cjs +2 -2
  763. package/dist/styles/themeDefaults/cardForm.d.cts +15 -1
  764. package/dist/styles/themeDefaults/cardForm.d.ts +15 -1
  765. package/dist/styles/themeDefaults/cardForm.js +1 -1
  766. package/dist/styles/themeDefaults/loading.d.cts +14 -0
  767. package/dist/styles/themeDefaults/loading.d.ts +14 -0
  768. package/dist/styles/themes.cjs +8 -6
  769. package/dist/styles/themes.d.cts +15 -1
  770. package/dist/styles/themes.d.ts +15 -1
  771. package/dist/styles/themes.js +7 -5
  772. package/dist/styles/tokens/typography.cjs +2 -2
  773. package/dist/styles/tokens/typography.js +1 -1
  774. package/dist/styles/type.cjs +9 -9
  775. package/dist/styles/type.d.cts +15 -1
  776. package/dist/styles/type.d.ts +15 -1
  777. package/dist/styles/type.js +8 -8
  778. package/dist/styles/typography.cjs +7 -7
  779. package/dist/styles/typography.d.cts +15 -1
  780. package/dist/styles/typography.d.ts +15 -1
  781. package/dist/styles/typography.js +6 -6
  782. package/dist/styles/utils.cjs +8 -8
  783. package/dist/styles/utils.js +7 -7
  784. package/dist/{themes-C-sJDaWN.d.cts → themes-BJZVUNlU.d.cts} +40 -14
  785. package/dist/{themes-8QWmAhYQ.d.ts → themes-OO_TXExz.d.ts} +40 -14
  786. package/dist/utils/NextLink.cjs +19 -19
  787. package/dist/utils/NextLink.d.cts +15 -1
  788. package/dist/utils/NextLink.d.ts +15 -1
  789. package/dist/utils/NextLink.js +18 -18
  790. package/dist/utils/index.cjs +116 -102
  791. package/dist/utils/index.d.cts +15 -1
  792. package/dist/utils/index.d.ts +15 -1
  793. package/dist/utils/index.js +115 -101
  794. package/dist/utils/toReactNodes/nodes.d.cts +15 -1
  795. package/dist/utils/toReactNodes/nodes.d.ts +15 -1
  796. package/dist/utils/toReactNodes/setReactNodesTypography.cjs +110 -96
  797. package/dist/utils/toReactNodes/setReactNodesTypography.d.cts +16 -2
  798. package/dist/utils/toReactNodes/setReactNodesTypography.d.ts +16 -2
  799. package/dist/utils/toReactNodes/setReactNodesTypography.js +109 -95
  800. package/dist/utils/toReactNodes/toReactNodes.cjs +109 -95
  801. package/dist/utils/toReactNodes/toReactNodes.d.cts +15 -1
  802. package/dist/utils/toReactNodes/toReactNodes.d.ts +15 -1
  803. package/dist/utils/toReactNodes/toReactNodes.js +108 -94
  804. package/package.json +15 -8
  805. package/dist/chunk-5IO7EL3S.cjs +0 -38
  806. package/dist/chunk-5SPEBEER.cjs +0 -56
  807. package/dist/chunk-5VNXSEYJ.cjs +0 -33
  808. package/dist/chunk-ELP54FQS.cjs +0 -113
  809. package/dist/chunk-KQJ7ZSLA.js +0 -33
  810. package/dist/chunk-QDNTIZC2.js +0 -38
  811. package/dist/chunk-U33WFLLR.js +0 -113
  812. package/dist/{chunk-Z63XV44V.cjs → chunk-2JKTPKU6.cjs} +2 -2
  813. package/dist/{chunk-PPY3QJ2X.js → chunk-AVQWEFC4.js} +9 -9
  814. package/dist/{chunk-3JLBYFZX.cjs → chunk-QEJGEYXR.cjs} +7 -7
  815. package/dist/{chunk-N5DXBEET.js → chunk-TJKJYY5O.js} +3 -3
@@ -0,0 +1,130 @@
1
+ // src/icons/Globe.tsx
2
+ import { jsx, jsxs } from "@emotion/react/jsx-runtime";
3
+ function Globe({
4
+ strokeWidth = "0.33",
5
+ strokeLinecap = "round"
6
+ }) {
7
+ return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 213 296", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
8
+ /* @__PURE__ */ jsx(
9
+ "path",
10
+ {
11
+ d: "M131.942 1C131.942 1 1.00484 40.3138 1.00098 148.876C1.00484 256.839 132.045 294.357 132.045 294.357",
12
+ stroke: "currentColor",
13
+ strokeWidth,
14
+ strokeLinecap
15
+ }
16
+ ),
17
+ /* @__PURE__ */ jsx(
18
+ "path",
19
+ {
20
+ d: "M160.942 1C160.942 1 51.2802 40.3138 51.2764 148.876C51.2802 256.839 160.942 294.357 160.942 294.357",
21
+ stroke: "currentColor",
22
+ strokeWidth,
23
+ strokeLinecap
24
+ }
25
+ ),
26
+ /* @__PURE__ */ jsx(
27
+ "path",
28
+ {
29
+ d: "M187.271 1C187.271 1 98.1953 40.3138 98.1914 148.876C98.1953 256.839 187.271 294.357 187.271 294.357",
30
+ stroke: "currentColor",
31
+ strokeWidth,
32
+ strokeLinecap
33
+ }
34
+ ),
35
+ /* @__PURE__ */ jsx(
36
+ "path",
37
+ {
38
+ d: "M213.2 1C213.2 1 144.711 40.3138 144.707 148.876C144.711 256.839 213.2 294.357 213.2 294.357",
39
+ stroke: "currentColor",
40
+ strokeWidth,
41
+ strokeLinecap
42
+ }
43
+ ),
44
+ /* @__PURE__ */ jsx(
45
+ "path",
46
+ {
47
+ d: "M239.136 1C239.136 1 192.024 40.3138 192.021 148.876C192.024 256.839 239.136 294.357 239.136 294.357",
48
+ stroke: "currentColor",
49
+ strokeWidth,
50
+ strokeLinecap
51
+ }
52
+ ),
53
+ /* @__PURE__ */ jsx(
54
+ "path",
55
+ {
56
+ d: "M448.365 1H131.948",
57
+ stroke: "currentColor",
58
+ strokeWidth,
59
+ strokeLinecap
60
+ }
61
+ ),
62
+ /* @__PURE__ */ jsx(
63
+ "path",
64
+ {
65
+ d: "M521.607 39.998H58.8089",
66
+ stroke: "currentColor",
67
+ strokeWidth,
68
+ strokeLinecap
69
+ }
70
+ ),
71
+ /* @__PURE__ */ jsx(
72
+ "path",
73
+ {
74
+ d: "M566.344 93.0469H14.0322",
75
+ stroke: "currentColor",
76
+ strokeWidth,
77
+ strokeLinecap
78
+ }
79
+ ),
80
+ /* @__PURE__ */ jsx(
81
+ "path",
82
+ {
83
+ d: "M579.404 147.68H1.00518",
84
+ stroke: "currentColor",
85
+ strokeWidth,
86
+ strokeLinecap
87
+ }
88
+ ),
89
+ /* @__PURE__ */ jsx(
90
+ "path",
91
+ {
92
+ d: "M579.404 147.676H1.00518",
93
+ stroke: "currentColor",
94
+ strokeWidth,
95
+ strokeLinecap
96
+ }
97
+ ),
98
+ /* @__PURE__ */ jsx(
99
+ "path",
100
+ {
101
+ d: "M588.464 202.3131H13.0322",
102
+ stroke: "currentColor",
103
+ strokeWidth,
104
+ strokeLinecap
105
+ }
106
+ ),
107
+ /* @__PURE__ */ jsx(
108
+ "path",
109
+ {
110
+ d: "M597.524 256.9502H59.8089",
111
+ stroke: "currentColor",
112
+ strokeWidth,
113
+ strokeLinecap
114
+ }
115
+ ),
116
+ /* @__PURE__ */ jsx(
117
+ "path",
118
+ {
119
+ d: "M606.584 294.3873H132.20",
120
+ stroke: "currentColor",
121
+ strokeWidth,
122
+ strokeLinecap
123
+ }
124
+ )
125
+ ] });
126
+ }
127
+
128
+ export {
129
+ Globe
130
+ };
@@ -1,23 +1,30 @@
1
+ import {
2
+ toReactNodes
3
+ } from "./chunk-E7KQDR6U.js";
1
4
  import {
2
5
  z
3
6
  } from "./chunk-55OQPFLF.js";
4
7
  import {
5
8
  standardBorderRadius,
6
9
  subtext
7
- } from "./chunk-E46IHC27.js";
10
+ } from "./chunk-HQN2LS2G.js";
8
11
  import {
9
12
  applyTypography
10
- } from "./chunk-H2R5LMTF.js";
13
+ } from "./chunk-I6WJCP2T.js";
11
14
  import {
12
15
  getColor,
16
+ isBridge,
13
17
  themeOr
14
- } from "./chunk-AM7EMJXN.js";
18
+ } from "./chunk-NF6LGARO.js";
19
+ import {
20
+ colors
21
+ } from "./chunk-QPO3F72O.js";
15
22
 
16
23
  // src/styles/fields.tsx
17
24
  import { css } from "@emotion/react";
18
25
  import styled from "@emotion/styled";
19
26
  import { useLayoutEffect, useRef, useState } from "react";
20
- import { jsx } from "@emotion/react/jsx-runtime";
27
+ import { Fragment, jsx } from "@emotion/react/jsx-runtime";
21
28
  var maxFieldWidth = "100%";
22
29
  var fieldWidth = "100%";
23
30
  var inputSpacingPx = 24;
@@ -49,15 +56,16 @@ var inputBlockStyle = ({
49
56
  `;
50
57
  var textInputPlaceholderColor = ({ theme }) => theme.c4Neutral;
51
58
  var textInputFontWeight = 600;
52
- var textInputBorderRadiusPx = 8;
53
59
  var textInputPaddingPx = 12;
54
60
  var textInputPadding = `${textInputPaddingPx}px`;
55
- var textInputBorderColor = ({ theme }) => themeOr(theme.c1Neutral, theme.c3Neutral)({ theme });
61
+ var textInputBorderColor = ({ theme }) => isBridge(theme) ? colors.gray4 : themeOr(theme.c1Neutral, theme.c3Neutral)({ theme });
56
62
  var textInputBorderColorFocused = ({ theme }) => themeOr(theme.hcNeutral, theme.hcNeutral)({ theme });
57
63
  var textInputActiveStyles = ({
58
64
  theme,
59
65
  paddingLeftPx,
60
66
  paddingRightPx,
67
+ paddingTopPx,
68
+ paddingBottomPx,
61
69
  activeOutline,
62
70
  activeOutlineColor
63
71
  }) => {
@@ -75,6 +83,8 @@ var textInputActiveStyles = ({
75
83
  padding: ${textInputPaddingPx - 1}px;
76
84
  ${paddingLeftPx ? `padding-left: ${paddingLeftPx - 1}px;` : ""}
77
85
  ${paddingRightPx ? `padding-right: ${paddingRightPx - 1}px;` : ""}
86
+ ${paddingTopPx ? `padding-top: ${paddingTopPx - 1}px;` : ""}
87
+ ${paddingBottomPx ? `padding-bottom: ${paddingBottomPx - 1}px;` : ""}
78
88
  `;
79
89
  };
80
90
  var defaultTextInputTypography = {
@@ -94,11 +104,12 @@ var textInputStyle = ({
94
104
  activeOutline,
95
105
  activeOutlineColor,
96
106
  typography,
97
- borderRadius
107
+ borderRadius,
108
+ borderWidth
98
109
  }) => {
99
110
  var _a;
100
111
  return css`
101
- border-radius: ${borderRadius === "round" ? "999" : textInputBorderRadiusPx}px;
112
+ border-radius: ${borderRadius != null ? borderRadius : 8}px;
102
113
  background-color: ${disabled ? theme.vlcNeutral : theme.inputBackground};
103
114
  cursor: ${disabled ? "not-allowed" : "auto"};
104
115
  box-sizing: border-box;
@@ -113,7 +124,7 @@ var textInputStyle = ({
113
124
  ${paddingTopPx ? `padding-top: ${paddingTopPx - (hasError ? 1 : 0)}px;` : ""}
114
125
  ${paddingBottomPx ? `padding-bottom: ${paddingBottomPx - (hasError ? 1 : 0)}px;` : ""}
115
126
  border-style: solid;
116
- border-width: ${hasError ? "2" : "1"}px;
127
+ border-width: ${hasError ? "2" : borderWidth !== void 0 ? borderWidth : "1"}px;
117
128
  border-color: ${hasError ? theme.danger : textInputBorderColor({ theme })};
118
129
  line-height: 22px;
119
130
  outline: none;
@@ -135,6 +146,8 @@ var textInputStyle = ({
135
146
  theme,
136
147
  paddingLeftPx,
137
148
  paddingRightPx,
149
+ paddingTopPx,
150
+ paddingBottomPx,
138
151
  activeOutline,
139
152
  activeOutlineColor
140
153
  })}
@@ -144,6 +157,8 @@ var textInputStyle = ({
144
157
  theme,
145
158
  paddingLeftPx,
146
159
  paddingRightPx,
160
+ paddingTopPx,
161
+ paddingBottomPx,
147
162
  activeOutline,
148
163
  activeOutlineColor
149
164
  })}
@@ -178,14 +193,18 @@ var aboveFieldError = ({
178
193
  var inputSubtextSeconds = 0.25;
179
194
  function InputSubtext({
180
195
  text,
196
+ content,
181
197
  hasError = false,
182
- tooltipId
198
+ hasSuccess = false,
199
+ tooltipId,
200
+ hideNonErrorsIfBlurred = false,
201
+ focused = false
183
202
  }) {
184
203
  const timeoutRef = useRef(null);
185
204
  const [subtext2, setSubtext] = useState(text);
186
205
  const [visible, setVisible] = useState(Boolean(text));
187
206
  useLayoutEffect(() => {
188
- if (text) {
207
+ if (text || content) {
189
208
  setSubtext(text);
190
209
  setVisible(true);
191
210
  if (timeoutRef.current) {
@@ -197,20 +216,34 @@ function InputSubtext({
197
216
  setSubtext(void 0);
198
217
  }, inputSubtextSeconds * 1e3);
199
218
  }
200
- }, [text]);
219
+ }, [text, content]);
201
220
  return /* @__PURE__ */ jsx(
202
221
  StyledInputSubtext,
203
222
  {
204
- visible,
223
+ visible: visible && (hasError || focused || !hideNonErrorsIfBlurred),
205
224
  hasError,
225
+ hasSuccess,
206
226
  cursorPointer: Boolean(tooltipId),
207
- children: tooltipId ? /* @__PURE__ */ jsx("span", { "data-tooltip-id": tooltipId, children: subtext2 }) : subtext2
227
+ usingContent: content !== void 0,
228
+ children: tooltipId ? /* @__PURE__ */ jsx("span", { "data-tooltip-id": tooltipId, children: /* @__PURE__ */ jsx(InputSubtextContent, { text: subtext2, content }) }) : /* @__PURE__ */ jsx(InputSubtextContent, { text: subtext2, content })
208
229
  }
209
230
  );
210
231
  }
232
+ function InputSubtextContent({
233
+ text,
234
+ content
235
+ }) {
236
+ if (content) {
237
+ return content;
238
+ }
239
+ if (typeof text === "string") {
240
+ return /* @__PURE__ */ jsx(Fragment, { children: text });
241
+ }
242
+ return toReactNodes(text);
243
+ }
211
244
  var StyledInputSubtext = styled.div`
212
245
  margin-top: ${({ visible }) => visible ? "8px" : "0px"};
213
- margin-left: ${({ visible }) => visible ? "8px" : "0px"};
246
+ margin-left: ${({ visible, usingContent }) => visible && !usingContent ? "8px" : "0px"};
214
247
  font-size: 12px;
215
248
  font-size: ${({ visible }) => visible ? "12px" : "0px"};
216
249
  opacity: ${({ visible }) => visible ? "1" : "0"};
@@ -219,7 +252,7 @@ var StyledInputSubtext = styled.div`
219
252
  font-size ${inputSubtextSeconds}s cubic-bezier(0.25, 0.87, 0.56, 1.23),
220
253
  opacity ${inputSubtextSeconds * 0.8}s cubic-bezier(0.25, 0.87, 0.56, 1.23),
221
254
  margin ${inputSubtextSeconds}s cubic-bezier(0.25, 0.87, 0.56, 1.23);
222
- color: ${({ hasError, theme }) => hasError ? theme.danger : theme.text};
255
+ color: ${({ hasError, hasSuccess, theme }) => hasError ? theme.danger : hasSuccess ? theme.success : theme.text};
223
256
  cursor: ${({ cursorPointer }) => cursorPointer ? "pointer" : "auto"};
224
257
  `;
225
258
  var labelStyle = ({
@@ -257,7 +290,6 @@ export {
257
290
  inputBlockStyle,
258
291
  textInputPlaceholderColor,
259
292
  textInputFontWeight,
260
- textInputBorderRadiusPx,
261
293
  textInputPaddingPx,
262
294
  textInputPadding,
263
295
  textInputBorderColor,
@@ -0,0 +1,267 @@
1
+ import {
2
+ __spreadProps,
3
+ __spreadValues
4
+ } from "./chunk-W7FAWX6T.js";
5
+
6
+ // src/hooks/useFields.tsx
7
+ import { isValidUmaAddress } from "@uma-sdk/core";
8
+ import { diff } from "deep-object-diff";
9
+ import { isObject } from "lodash-es";
10
+ import { useCallback, useEffect, useMemo, useRef, useState } from "react";
11
+ var defaultMsgs = {
12
+ email: "Please enter a valid email address.",
13
+ phone: "Please enter a valid phone number.",
14
+ postalCode: "Please enter a valid zip code.",
15
+ state: "Please enter a valid two-letter state abbreviation.",
16
+ name: "Name must be at least three characters.",
17
+ code: "Code must be eight characters long.",
18
+ password: "Password must be at least 12 characters, must contain at least two types of characters: lowercase, uppercase, numbers, special",
19
+ required: "This field is required.",
20
+ umaAddress: "Please enter a valid UMA address.",
21
+ matchesField: "Target field does not match.",
22
+ clabe: "Please enter a valid CLABE."
23
+ };
24
+ var regexp = {
25
+ phone: /^[2-9]{1}[0-9]{9}$/,
26
+ postalCode: /(^\d{5}$)|(^\d{5}-\d{4}$)/,
27
+ email: /^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}$/,
28
+ state: /^(A[LKSZRAEP]|C[AOT]|D[EC]|F[LM]|G[AU]|HI|I[ADLN]|K[SY]|LA|M[ADEHINOPST]|N[CDEHJMVY]|O[HKR]|P[ARW]|RI|S[CD]|T[NX]|UT|V[AIT]|W[AIVY])$/,
29
+ clabe: /^[0-9]{18}$/
30
+ };
31
+ var v = {
32
+ email: (msg = defaultMsgs.email) => (value) => !regexp.email.test(value) ? msg : false,
33
+ phone: (msg = defaultMsgs.phone) => (value) => !regexp.phone.test(value) ? msg : false,
34
+ postalCode: (msg = defaultMsgs.postalCode) => (value) => !regexp.postalCode.test(value) ? msg : false,
35
+ state: (msg = defaultMsgs.state) => (value) => !regexp.state.test(value) ? msg : false,
36
+ name: (msg = defaultMsgs.name) => (value) => value.trim().length < 3 ? msg : false,
37
+ code: (msg = defaultMsgs.code) => (value) => value.trim().length !== 8 ? msg : false,
38
+ umaAddress: (msg = defaultMsgs.umaAddress) => (value) => !isValidUmaAddress(value) ? msg : false,
39
+ clabe: (msg = defaultMsgs.clabe) => (value) => !regexp.clabe.test(value) ? msg : false,
40
+ required: (msg = defaultMsgs.required) => (value) => value.trim() === "" ? msg : false,
41
+ min: (msg, minLength = 3) => (value) => {
42
+ const len = typeof minLength === "number" ? minLength : 3;
43
+ return value.trim().length < len ? msg || `Must be at least ${len} characters long.` : false;
44
+ },
45
+ matchesField: (msg = defaultMsgs.matchesField, targetField = "") => (value, fields) => {
46
+ if (typeof targetField !== "string") {
47
+ return msg;
48
+ }
49
+ return value !== (fields == null ? void 0 : fields[targetField]) ? msg : false;
50
+ }
51
+ };
52
+ var defaultValidators = {
53
+ password: [
54
+ v.required("Password is required."),
55
+ // This needs to stay as 8 otherwise users with old shorter passwords
56
+ // can't login.
57
+ v.min("Password must be at least eight characters.", 8)
58
+ ],
59
+ city: [v.required("City is required.")],
60
+ name: [v.required("Name is required."), v.name()],
61
+ code: [v.required("Please enter a code."), v.code()],
62
+ email: [v.required("Email is required."), v.email()],
63
+ phoneNumber: [v.required("Phone number is required."), v.phone()],
64
+ multiInput: [v.required("This field is required.")],
65
+ birthdayDay: [v.min("Day is required.", 1)],
66
+ birthdayMonth: [v.min("Day is required.", 1)],
67
+ birthdayYear: [v.min("Day is required.", 4)],
68
+ postalCode: [v.required("Zip code is required."), v.postalCode()],
69
+ addressCountryCode: [v.required("Country code is required.")],
70
+ addressLine1: [v.required("Address is required.")],
71
+ addressLine2: [],
72
+ addressCity: [v.required("City is required.")],
73
+ addressState: [v.required("State is required.")],
74
+ addressZipCode: [v.required("Zip code is required.")]
75
+ };
76
+ var f = {
77
+ numeric: (value) => value.replace(/[^0-9]/g, "")
78
+ };
79
+ var defaultFormatters = {
80
+ birthdayDay: f.numeric,
81
+ birthdayMonth: f.numeric,
82
+ birthdayYear: f.numeric
83
+ };
84
+ function getFirstFieldError(fieldName, fieldValue, fields, validatorsArg) {
85
+ if (typeof validatorsArg === "undefined" || validatorsArg === true) {
86
+ const validators = defaultValidators[fieldName];
87
+ if (validators) {
88
+ for (const validator of validators) {
89
+ const errorMsg = validator(fieldValue, fields);
90
+ if (errorMsg) {
91
+ return errorMsg;
92
+ }
93
+ }
94
+ }
95
+ } else if (typeof validatorsArg !== "undefined") {
96
+ if (validatorsArg === false) {
97
+ return null;
98
+ }
99
+ for (const validator of validatorsArg) {
100
+ const errorMsg = validator(fieldValue, fields);
101
+ if (errorMsg) {
102
+ return errorMsg;
103
+ }
104
+ }
105
+ }
106
+ return null;
107
+ }
108
+ function reduceToUndef(fields) {
109
+ return Object.keys(fields).reduce(
110
+ (acc, key) => __spreadProps(__spreadValues({}, acc), { [key]: void 0 }),
111
+ {}
112
+ );
113
+ }
114
+ function reduceToFalse(fields) {
115
+ return Object.keys(fields).reduce(
116
+ (acc, key) => __spreadProps(__spreadValues({}, acc), { [key]: false }),
117
+ {}
118
+ );
119
+ }
120
+ function reduceToFields(fields) {
121
+ return Object.entries(fields).reduce((acc, [key, fieldValueArg]) => {
122
+ if (typeof fieldValueArg === "string") {
123
+ return __spreadProps(__spreadValues({}, acc), { [key]: fieldValueArg });
124
+ }
125
+ return __spreadProps(__spreadValues({}, acc), { [key]: fieldValueArg[0] });
126
+ }, {});
127
+ }
128
+ function useFields(defaultFieldsFn, deps = []) {
129
+ const defaultFields = useMemo(defaultFieldsFn, deps);
130
+ const prevDefaultFields = useRef(defaultFields);
131
+ const [fields, setFields] = useState(reduceToFields(defaultFields));
132
+ const [fieldErrors, setFieldErrors] = useState(reduceToUndef(defaultFields));
133
+ const [blurredFields, setBlurredFields] = useState(
134
+ reduceToFalse(defaultFields)
135
+ );
136
+ const checkFieldForError = useCallback(
137
+ (fieldName, fieldValue) => {
138
+ const defaultField = defaultFields[fieldName];
139
+ const customValidators = typeof defaultField === "string" ? void 0 : defaultField[1];
140
+ const fieldError = getFirstFieldError(
141
+ fieldName,
142
+ fieldValue,
143
+ fields,
144
+ customValidators
145
+ );
146
+ if (blurredFields[fieldName]) {
147
+ setFieldErrors((currentFieldErrors) => __spreadProps(__spreadValues({}, currentFieldErrors), {
148
+ [fieldName]: fieldError
149
+ }));
150
+ }
151
+ return fieldError;
152
+ },
153
+ [defaultFields, blurredFields, fields]
154
+ );
155
+ const checkFieldsForError = useCallback(
156
+ (fieldsToCheck) => {
157
+ Object.entries(fieldsToCheck).forEach(([key, value]) => {
158
+ checkFieldForError(key, value);
159
+ });
160
+ },
161
+ [checkFieldForError]
162
+ );
163
+ const setFieldBlurred = useCallback(
164
+ (fieldName) => {
165
+ const newBlurredFields = __spreadProps(__spreadValues({}, blurredFields), {
166
+ [fieldName]: true
167
+ });
168
+ setBlurredFields(newBlurredFields);
169
+ },
170
+ [blurredFields]
171
+ );
172
+ const getSetFieldBlurred = useCallback(
173
+ (fieldName) => {
174
+ return () => {
175
+ setFieldBlurred(fieldName);
176
+ };
177
+ },
178
+ [setFieldBlurred]
179
+ );
180
+ const formatValue = useCallback((fieldName, value) => {
181
+ const formatter = defaultFormatters[fieldName];
182
+ return formatter ? formatter(value) : value;
183
+ }, []);
184
+ const mergeWithFields = useCallback(
185
+ (updatedFields) => {
186
+ setFields((latestFields) => {
187
+ const formatted = Object.entries(updatedFields).reduce(
188
+ (acc, [key, value]) => {
189
+ const val = typeof value === "string" ? value : Array.isArray(value) && typeof value[0] === "string" ? value[0] : "";
190
+ return __spreadProps(__spreadValues({}, acc), {
191
+ [key]: formatValue(key, val)
192
+ });
193
+ },
194
+ {}
195
+ );
196
+ const updated = __spreadValues(__spreadValues({}, latestFields), formatted);
197
+ const fieldsChanged = JSON.stringify(updated) !== JSON.stringify(latestFields);
198
+ return fieldsChanged ? updated : latestFields;
199
+ });
200
+ checkFieldsForError(updatedFields);
201
+ },
202
+ [checkFieldsForError, formatValue]
203
+ );
204
+ const allFieldsValid = useMemo(() => {
205
+ const valid = !Object.entries(fields).some(([fieldName, fieldValue]) => {
206
+ const defaultField = defaultFields[fieldName];
207
+ const customValidators = typeof defaultField === "string" ? void 0 : defaultField[1];
208
+ const firstFieldError = getFirstFieldError(
209
+ fieldName,
210
+ fieldValue,
211
+ fields,
212
+ customValidators
213
+ );
214
+ return firstFieldError;
215
+ });
216
+ return valid;
217
+ }, [fields, defaultFields]);
218
+ const getUpdateField = useCallback(
219
+ (fieldName) => {
220
+ return (newValue) => {
221
+ mergeWithFields({
222
+ [fieldName]: formatValue(fieldName, newValue)
223
+ });
224
+ };
225
+ },
226
+ [mergeWithFields, formatValue]
227
+ );
228
+ useEffect(() => {
229
+ const newFields = {};
230
+ const diffProps = diff(prevDefaultFields.current, defaultFields);
231
+ Object.entries(diffProps).forEach(([key, value]) => {
232
+ if (typeof value === "string") {
233
+ newFields[key] = value;
234
+ } else if (isObject(value)) {
235
+ Object.entries(value).forEach(([arrayKey, arrayValue]) => {
236
+ if (arrayKey === "0" && typeof arrayValue === "string") {
237
+ newFields[key] = arrayValue;
238
+ }
239
+ });
240
+ }
241
+ });
242
+ if (Object.keys(newFields).length > 0) {
243
+ mergeWithFields(newFields);
244
+ }
245
+ prevDefaultFields.current = defaultFields;
246
+ }, [defaultFields, mergeWithFields]);
247
+ useEffect(() => {
248
+ checkFieldsForError(fields);
249
+ }, [blurredFields, fields, checkFieldsForError]);
250
+ return {
251
+ blurredFields,
252
+ getUpdateField,
253
+ allFieldsValid,
254
+ fieldErrors,
255
+ /* needs to be a new object to ensure downstream effects are notified on updates: */
256
+ fields: __spreadValues({}, fields),
257
+ mergeWithFields,
258
+ setFieldBlurred,
259
+ getSetFieldBlurred,
260
+ setFieldErrors
261
+ };
262
+ }
263
+
264
+ export {
265
+ v,
266
+ useFields
267
+ };
@@ -1,41 +1,41 @@
1
1
  import {
2
2
  smHeaderLogoMarginLeft
3
- } from "./chunk-VQVEZVAG.js";
3
+ } from "./chunk-SLEBHXIK.js";
4
+ import {
5
+ useLiveRef
6
+ } from "./chunk-UDFJ6IWI.js";
4
7
  import {
5
8
  MultiToggle
6
- } from "./chunk-UVJK2G3B.js";
9
+ } from "./chunk-PSB345GM.js";
7
10
  import {
8
11
  Toggle
9
- } from "./chunk-FXDEUNPF.js";
12
+ } from "./chunk-R2AGQ3JJ.js";
10
13
  import {
11
14
  Button
12
- } from "./chunk-U6EBWLCK.js";
15
+ } from "./chunk-ADV4UT4X.js";
13
16
  import {
14
17
  UnstyledButton
15
- } from "./chunk-Z6I64NIF.js";
18
+ } from "./chunk-BJP4OTMN.js";
16
19
  import {
17
20
  z
18
21
  } from "./chunk-55OQPFLF.js";
19
22
  import {
20
23
  Icon
21
- } from "./chunk-DJOYSVI3.js";
24
+ } from "./chunk-JWFDHULW.js";
22
25
  import {
23
26
  overlaySurface,
24
27
  standardBorderRadius,
25
28
  standardFocusOutline
26
- } from "./chunk-E46IHC27.js";
29
+ } from "./chunk-HQN2LS2G.js";
27
30
  import {
28
31
  Link
29
- } from "./chunk-5HDXWO2E.js";
32
+ } from "./chunk-YIEDSI2X.js";
30
33
  import {
31
34
  themeOr
32
- } from "./chunk-AM7EMJXN.js";
35
+ } from "./chunk-NF6LGARO.js";
33
36
  import {
34
37
  bp
35
38
  } from "./chunk-JSGRNWSB.js";
36
- import {
37
- useLiveRef
38
- } from "./chunk-UDFJ6IWI.js";
39
39
  import {
40
40
  __spreadProps,
41
41
  __spreadValues
@@ -3,13 +3,13 @@
3
3
  var _chunkZUAO4DW3cjs = require('./chunk-ZUAO4DW3.cjs');
4
4
 
5
5
 
6
- var _chunk7H2OXTENcjs = require('./chunk-7H2OXTEN.cjs');
6
+ var _chunkXIFHBLNQcjs = require('./chunk-XIFHBLNQ.cjs');
7
7
 
8
8
 
9
- var _chunk4UFYMBJKcjs = require('./chunk-4UFYMBJK.cjs');
9
+ var _chunkECFNSLYPcjs = require('./chunk-ECFNSLYP.cjs');
10
10
 
11
11
 
12
- var _chunkFPQ2OUYXcjs = require('./chunk-FPQ2OUYX.cjs');
12
+ var _chunkO6BZRC56cjs = require('./chunk-O6BZRC56.cjs');
13
13
 
14
14
 
15
15
  var _chunkKW3JYLRIcjs = require('./chunk-KW3JYLRI.cjs');
@@ -36,7 +36,7 @@ function ButtonRow({
36
36
  bottomBorder,
37
37
  ml,
38
38
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, StyledButtonRowButton, { className, children: buttons.map(
39
- (button, idx) => button === "divider" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ButtonRowDivider, {}, idx) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4UFYMBJKcjs.Button, _chunkZ6EUSUADcjs.__spreadValues.call(void 0, {}, button), idx)
39
+ (button, idx) => button === "divider" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ButtonRowDivider, {}, idx) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkECFNSLYPcjs.Button, _chunkZ6EUSUADcjs.__spreadValues.call(void 0, {}, button), idx)
40
40
  ) })
41
41
  }
42
42
  );
@@ -52,9 +52,9 @@ var StyledButtonRow = _styled2.default.div`
52
52
  position: sticky;
53
53
  top: ${headerHeight}px;
54
54
  margin-top: 24px;
55
- margin-left: -${_chunkFPQ2OUYXcjs.standardContentInset.smPx}px;
56
- width: calc(100% + ${_chunkFPQ2OUYXcjs.standardContentInset.smPx * 2}px);
57
- max-width: calc(100% + ${_chunkFPQ2OUYXcjs.standardContentInset.smPx * 2}px);
55
+ margin-left: -${_chunkO6BZRC56cjs.standardContentInset.smPx}px;
56
+ width: calc(100% + ${_chunkO6BZRC56cjs.standardContentInset.smPx * 2}px);
57
+ max-width: calc(100% + ${_chunkO6BZRC56cjs.standardContentInset.smPx * 2}px);
58
58
  z-index: 2;` : `position: relative;`}
59
59
  ${bottomBorder ? `
60
60
  &:before {
@@ -78,7 +78,7 @@ var ButtonRowDivider = _styled2.default.div`
78
78
  padding-left: 16px;
79
79
  `;
80
80
  var StyledButtonRowButton = _styled2.default.div`
81
- ${_chunk7H2OXTENcjs.overflowAutoWithoutScrollbars}
81
+ ${_chunkXIFHBLNQcjs.overflowAutoWithoutScrollbars}
82
82
  background: ${({ theme }) => theme.bg};
83
83
  display: flex;
84
84
  position: relative;
@@ -91,7 +91,7 @@ var StyledButtonRowButton = _styled2.default.div`
91
91
  }
92
92
 
93
93
  ${_chunkKW3JYLRIcjs.bp.sm(`
94
- padding: ${_chunkFPQ2OUYXcjs.standardContentInset.smPx}px;
94
+ padding: ${_chunkO6BZRC56cjs.standardContentInset.smPx}px;
95
95
  `)}
96
96
  `;
97
97
 
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  renderTypography
3
- } from "./chunk-6H54ZONZ.js";
3
+ } from "./chunk-MSMN63ZY.js";
4
4
  import {
5
5
  __async
6
6
  } from "./chunk-W7FAWX6T.js";