@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
@@ -1,18 +1 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __copyProps = (to, from, except, desc) => {
7
- if (from && typeof from === "object" || typeof from === "function") {
8
- for (let key of __getOwnPropNames(from))
9
- if (!__hasOwnProp.call(to, key) && key !== except)
10
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
- }
12
- return to;
13
- };
14
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
-
16
- // src/types/index.ts
17
- var types_exports = {};
18
- module.exports = __toCommonJS(types_exports);
1
+ "use strict";
@@ -1,80 +1,7 @@
1
- "use strict";
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __export = (target, all) => {
9
- for (var name in all)
10
- __defProp(target, name, { get: all[name], enumerable: true });
11
- };
12
- var __copyProps = (to, from, except, desc) => {
13
- if (from && typeof from === "object" || typeof from === "function") {
14
- for (let key of __getOwnPropNames(from))
15
- if (!__hasOwnProp.call(to, key) && key !== except)
16
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
- }
18
- return to;
19
- };
20
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
- // If the importer is in node compatibility mode or this is not an ESM
22
- // file that has been converted to a CommonJS file using a Babel-
23
- // compatible transform (i.e. "__esModule" has not been set), then set
24
- // "default" to the CommonJS "module.exports" for node compatibility.
25
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
- mod
27
- ));
28
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var __async = (__this, __arguments, generator) => {
30
- return new Promise((resolve, reject) => {
31
- var fulfilled = (value) => {
32
- try {
33
- step(generator.next(value));
34
- } catch (e) {
35
- reject(e);
36
- }
37
- };
38
- var rejected = (value) => {
39
- try {
40
- step(generator.throw(value));
41
- } catch (e) {
42
- reject(e);
43
- }
44
- };
45
- var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
46
- step((generator = generator.apply(__this, __arguments)).next());
47
- });
48
- };
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
49
2
 
50
- // src/utils/NextLink.tsx
51
- var NextLink_exports = {};
52
- __export(NextLink_exports, {
53
- NextLink: () => NextLink
54
- });
55
- module.exports = __toCommonJS(NextLink_exports);
56
- var import_react = require("react");
57
- var import_jsx_runtime = require("@emotion/react/jsx-runtime");
58
- function NextLink({ href, text, target }) {
59
- const NextLinkRef = (0, import_react.useRef)(null);
60
- const [ready, setReady] = (0, import_react.useState)(false);
61
- (0, import_react.useEffect)(() => {
62
- void (() => __async(this, null, function* () {
63
- try {
64
- const nextLinkModule = yield import("next/link.js");
65
- NextLinkRef.current = nextLinkModule.default;
66
- } catch (e) {
67
- }
68
- setReady(true);
69
- }))();
70
- });
71
- const InternalNextLink = NextLinkRef.current;
72
- if (!ready || !InternalNextLink) {
73
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("a", { href, children: text });
74
- }
75
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(InternalNextLink, { href, target, children: text });
76
- }
77
- // Annotate the CommonJS export names for ESM import in node:
78
- 0 && (module.exports = {
79
- NextLink
80
- });
3
+ var _chunkCYWLRXPQcjs = require('../chunk-CYWLRXPQ.cjs');
4
+ require('../chunk-LKKJVJCG.cjs');
5
+
6
+
7
+ exports.NextLink = _chunkCYWLRXPQcjs.NextLink;
@@ -1,290 +1,11 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
19
2
 
20
- // src/utils/countryCodesToNames.tsx
21
- var countryCodesToNames_exports = {};
22
- __export(countryCodesToNames_exports, {
23
- allCountryNames: () => allCountryNames,
24
- countryCodesToNames: () => countryCodesToNames,
25
- countryNamesToCodes: () => countryNamesToCodes
26
- });
27
- module.exports = __toCommonJS(countryCodesToNames_exports);
28
- var import_lodash_es = require("lodash-es");
29
- var countryCodesToNames = {
30
- BD: "Bangladesh",
31
- BE: "Belgium",
32
- BF: "Burkina Faso",
33
- BG: "Bulgaria",
34
- BA: "Bosnia and Herzegovina",
35
- BB: "Barbados",
36
- WF: "Wallis and Futuna",
37
- BL: "Saint Barthelemy",
38
- BM: "Bermuda",
39
- BN: "Brunei",
40
- BO: "Bolivia",
41
- BH: "Bahrain",
42
- BI: "Burundi",
43
- BJ: "Benin",
44
- BT: "Bhutan",
45
- JM: "Jamaica",
46
- BV: "Bouvet Island",
47
- BW: "Botswana",
48
- WS: "Samoa",
49
- BQ: "Bonaire, Saint Eustatius and Saba ",
50
- BR: "Brazil",
51
- BS: "Bahamas",
52
- JE: "Jersey",
53
- BY: "Belarus",
54
- BZ: "Belize",
55
- RU: "Russia",
56
- RW: "Rwanda",
57
- RS: "Serbia",
58
- TL: "East Timor",
59
- RE: "Reunion",
60
- TM: "Turkmenistan",
61
- TJ: "Tajikistan",
62
- RO: "Romania",
63
- TK: "Tokelau",
64
- GW: "Guinea-Bissau",
65
- GU: "Guam",
66
- GT: "Guatemala",
67
- GS: "South Georgia and the South Sandwich Islands",
68
- GR: "Greece",
69
- GQ: "Equatorial Guinea",
70
- GP: "Guadeloupe",
71
- JP: "Japan",
72
- GY: "Guyana",
73
- GG: "Guernsey",
74
- GF: "French Guiana",
75
- GE: "Georgia",
76
- GD: "Grenada",
77
- GB: "United Kingdom",
78
- GA: "Gabon",
79
- SV: "El Salvador",
80
- GN: "Guinea",
81
- GM: "Gambia",
82
- GL: "Greenland",
83
- GI: "Gibraltar",
84
- GH: "Ghana",
85
- OM: "Oman",
86
- TN: "Tunisia",
87
- JO: "Jordan",
88
- HR: "Croatia",
89
- HT: "Haiti",
90
- HU: "Hungary",
91
- HK: "Hong Kong",
92
- HN: "Honduras",
93
- HM: "Heard Island and McDonald Islands",
94
- VE: "Venezuela",
95
- PR: "Puerto Rico",
96
- PS: "Palestinian Territory",
97
- PW: "Palau",
98
- PT: "Portugal",
99
- SJ: "Svalbard and Jan Mayen",
100
- PY: "Paraguay",
101
- IQ: "Iraq",
102
- PA: "Panama",
103
- PF: "French Polynesia",
104
- PG: "Papua New Guinea",
105
- PE: "Peru",
106
- PK: "Pakistan",
107
- PH: "Philippines",
108
- PN: "Pitcairn",
109
- PL: "Poland",
110
- PM: "Saint Pierre and Miquelon",
111
- ZM: "Zambia",
112
- EH: "Western Sahara",
113
- EE: "Estonia",
114
- EG: "Egypt",
115
- ZA: "South Africa",
116
- EC: "Ecuador",
117
- IT: "Italy",
118
- VN: "Vietnam",
119
- SB: "Solomon Islands",
120
- ET: "Ethiopia",
121
- SO: "Somalia",
122
- ZW: "Zimbabwe",
123
- SA: "Saudi Arabia",
124
- ES: "Spain",
125
- ER: "Eritrea",
126
- ME: "Montenegro",
127
- MD: "Moldova",
128
- MG: "Madagascar",
129
- MF: "Saint Martin",
130
- MA: "Morocco",
131
- MC: "Monaco",
132
- UZ: "Uzbekistan",
133
- MM: "Myanmar",
134
- ML: "Mali",
135
- MO: "Macao",
136
- MN: "Mongolia",
137
- MH: "Marshall Islands",
138
- MK: "Macedonia",
139
- MU: "Mauritius",
140
- MT: "Malta",
141
- MW: "Malawi",
142
- MV: "Maldives",
143
- MQ: "Martinique",
144
- MP: "Northern Mariana Islands",
145
- MS: "Montserrat",
146
- MR: "Mauritania",
147
- IM: "Isle of Man",
148
- UG: "Uganda",
149
- TZ: "Tanzania",
150
- MY: "Malaysia",
151
- MX: "Mexico",
152
- IL: "Israel",
153
- FR: "France",
154
- IO: "British Indian Ocean Territory",
155
- SH: "Saint Helena",
156
- AC: "Ascension Island",
157
- TA: "Tristan da Cunha",
158
- FI: "Finland",
159
- FJ: "Fiji",
160
- FK: "Falkland Islands",
161
- FM: "Micronesia",
162
- FO: "Faroe Islands",
163
- NI: "Nicaragua",
164
- NL: "Netherlands",
165
- NO: "Norway",
166
- NA: "Namibia",
167
- VU: "Vanuatu",
168
- NC: "New Caledonia",
169
- NE: "Niger",
170
- NF: "Norfolk Island",
171
- NG: "Nigeria",
172
- NZ: "New Zealand",
173
- NP: "Nepal",
174
- NR: "Nauru",
175
- NU: "Niue",
176
- CK: "Cook Islands",
177
- XK: "Kosovo",
178
- CI: "Ivory Coast",
179
- CH: "Switzerland",
180
- CO: "Colombia",
181
- CN: "China",
182
- CM: "Cameroon",
183
- CL: "Chile",
184
- CC: "Cocos Islands",
185
- CA: "Canada",
186
- CG: "Republic of the Congo",
187
- CF: "Central African Republic",
188
- CD: "Democratic Republic of the Congo",
189
- CZ: "Czech Republic",
190
- CY: "Cyprus",
191
- CX: "Christmas Island",
192
- CR: "Costa Rica",
193
- CW: "Curacao",
194
- CV: "Cape Verde",
195
- CU: "Cuba",
196
- SZ: "Swaziland",
197
- SY: "Syria",
198
- SX: "Sint Maarten",
199
- KG: "Kyrgyzstan",
200
- KE: "Kenya",
201
- SS: "South Sudan",
202
- SR: "Suriname",
203
- KI: "Kiribati",
204
- KH: "Cambodia",
205
- KN: "Saint Kitts and Nevis",
206
- KM: "Comoros",
207
- ST: "Sao Tome and Principe",
208
- SK: "Slovakia",
209
- KR: "South Korea",
210
- SI: "Slovenia",
211
- KP: "North Korea",
212
- KW: "Kuwait",
213
- SN: "Senegal",
214
- SM: "San Marino",
215
- SL: "Sierra Leone",
216
- SC: "Seychelles",
217
- KZ: "Kazakhstan",
218
- KY: "Cayman Islands",
219
- SG: "Singapore",
220
- SE: "Sweden",
221
- SD: "Sudan",
222
- DO: "Dominican Republic",
223
- DM: "Dominica",
224
- DJ: "Djibouti",
225
- DK: "Denmark",
226
- VG: "British Virgin Islands",
227
- DE: "Germany",
228
- YE: "Yemen",
229
- DZ: "Algeria",
230
- US: "United States",
231
- UY: "Uruguay",
232
- YT: "Mayotte",
233
- UM: "United States Minor Outlying Islands",
234
- LB: "Lebanon",
235
- LC: "Saint Lucia",
236
- LA: "Laos",
237
- TV: "Tuvalu",
238
- TW: "Taiwan",
239
- TT: "Trinidad and Tobago",
240
- TR: "Turkey",
241
- LK: "Sri Lanka",
242
- LI: "Liechtenstein",
243
- LV: "Latvia",
244
- TO: "Tonga",
245
- LT: "Lithuania",
246
- LU: "Luxembourg",
247
- LR: "Liberia",
248
- LS: "Lesotho",
249
- TH: "Thailand",
250
- TF: "French Southern Territories",
251
- TG: "Togo",
252
- TD: "Chad",
253
- TC: "Turks and Caicos Islands",
254
- LY: "Libya",
255
- VA: "Vatican",
256
- VC: "Saint Vincent and the Grenadines",
257
- AE: "United Arab Emirates",
258
- AD: "Andorra",
259
- AG: "Antigua and Barbuda",
260
- AF: "Afghanistan",
261
- AI: "Anguilla",
262
- VI: "U.S. Virgin Islands",
263
- IS: "Iceland",
264
- IR: "Iran",
265
- AM: "Armenia",
266
- AL: "Albania",
267
- AO: "Angola",
268
- AQ: "Antarctica",
269
- AS: "American Samoa",
270
- AR: "Argentina",
271
- AU: "Australia",
272
- AT: "Austria",
273
- AW: "Aruba",
274
- IN: "India",
275
- AX: "Aland Islands",
276
- AZ: "Azerbaijan",
277
- IE: "Ireland",
278
- ID: "Indonesia",
279
- UA: "Ukraine",
280
- QA: "Qatar",
281
- MZ: "Mozambique"
282
- };
283
- var allCountryNames = Object.values(countryCodesToNames);
284
- var countryNamesToCodes = (0, import_lodash_es.invert)(countryCodesToNames);
285
- // Annotate the CommonJS export names for ESM import in node:
286
- 0 && (module.exports = {
287
- allCountryNames,
288
- countryCodesToNames,
289
- countryNamesToCodes
290
- });
3
+
4
+
5
+ var _chunk4XPAKKBScjs = require('../chunk-4XPAKKBS.cjs');
6
+ require('../chunk-LKKJVJCG.cjs');
7
+
8
+
9
+
10
+
11
+ exports.allCountryNames = _chunk4XPAKKBScjs.allCountryNames; exports.countryCodesToNames = _chunk4XPAKKBScjs.countryCodesToNames; exports.countryNamesToCodes = _chunk4XPAKKBScjs.countryNamesToCodes;
@@ -1,32 +1,7 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
19
2
 
20
- // src/utils/emotion.tsx
21
- var emotion_exports = {};
22
- __export(emotion_exports, {
23
- select: () => select
24
- });
25
- module.exports = __toCommonJS(emotion_exports);
26
- function select(component) {
27
- return component.toString();
28
- }
29
- // Annotate the CommonJS export names for ESM import in node:
30
- 0 && (module.exports = {
31
- select
32
- });
3
+ var _chunk6VA4SAHQcjs = require('../chunk-6VA4SAHQ.cjs');
4
+ require('../chunk-LKKJVJCG.cjs');
5
+
6
+
7
+ exports.select = _chunk6VA4SAHQcjs.select;
@@ -1,35 +1,7 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
19
2
 
20
- // src/utils/isReactNodeWithChildren.tsx
21
- var isReactNodeWithChildren_exports = {};
22
- __export(isReactNodeWithChildren_exports, {
23
- isReactNodeWithChildren: () => isReactNodeWithChildren
24
- });
25
- module.exports = __toCommonJS(isReactNodeWithChildren_exports);
26
- var import_react = require("react");
27
- function isReactNodeWithChildren(node) {
28
- return Boolean(
29
- node && (0, import_react.isValidElement)(node) && typeof node.props === "object" && node.props !== null && "children" in node.props && node.props.children !== void 0
30
- );
31
- }
32
- // Annotate the CommonJS export names for ESM import in node:
33
- 0 && (module.exports = {
34
- isReactNodeWithChildren
35
- });
3
+ var _chunkAGIM6BKCcjs = require('../chunk-AGIM6BKC.cjs');
4
+ require('../chunk-LKKJVJCG.cjs');
5
+
6
+
7
+ exports.isReactNodeWithChildren = _chunkAGIM6BKCcjs.isReactNodeWithChildren;
@@ -1,28 +1,6 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-LKKJVJCG.cjs');
19
2
 
20
3
  // src/utils/parseURLFragments.ts
21
- var parseURLFragments_exports = {};
22
- __export(parseURLFragments_exports, {
23
- parseURLFragments: () => parseURLFragments
24
- });
25
- module.exports = __toCommonJS(parseURLFragments_exports);
26
4
  function parseURLFragments(url) {
27
5
  const hash = url.slice(1);
28
6
  const pairs = hash.split("&");
@@ -36,7 +14,6 @@ function parseURLFragments(url) {
36
14
  });
37
15
  return params;
38
16
  }
39
- // Annotate the CommonJS export names for ESM import in node:
40
- 0 && (module.exports = {
41
- parseURLFragments
42
- });
17
+
18
+
19
+ exports.parseURLFragments = parseURLFragments;
@@ -1,108 +1,21 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // src/utils/strings.tsx
21
- var strings_exports = {};
22
- __export(strings_exports, {
23
- addCommasToDigits: () => addCommasToDigits,
24
- capitalize: () => capitalize,
25
- elide: () => elide,
26
- isString: () => isString,
27
- makeEnumPretty: () => makeEnumPretty,
28
- removeChars: () => removeChars,
29
- removeCommas: () => removeCommas,
30
- removeLeadingZeros: () => removeLeadingZeros
31
- });
32
- module.exports = __toCommonJS(strings_exports);
33
- var capitalize = (str) => {
34
- if (str.length === 0) {
35
- return str;
36
- }
37
- return str.charAt(0).toUpperCase() + str.slice(1);
38
- };
39
- var makeEnumPretty = (enumValue, capitalizeAllWords = true) => {
40
- let formatted = enumValue.toLowerCase().split("_");
41
- if (capitalizeAllWords) {
42
- formatted = formatted.map((word) => capitalize(word));
43
- } else if (formatted.length > 0) {
44
- formatted[0] = capitalize(formatted[0]);
45
- }
46
- return formatted.join(" ");
47
- };
48
- function removeChars(value, beginIndex, endIndex) {
49
- return value.slice(0, beginIndex) + value.slice(endIndex || beginIndex + 1);
50
- }
51
- function isString(str) {
52
- return typeof str === "string";
53
- }
54
- function removeCommas(value) {
55
- return value.replace(/,/g, "");
56
- }
57
- function addCommasToDigits(value) {
58
- if (typeof value === "number") {
59
- value = value.toString();
60
- }
61
- const existingCommasRemoved = removeCommas(value);
62
- const [int, decimal] = existingCommasRemoved.split(".");
63
- const intWithCommas = int.replace(/\B(?=(\d{3})+(?!\d))/g, ",");
64
- return decimal ? `${intWithCommas}.${decimal}` : intWithCommas;
65
- }
66
- function removeLeadingZeros(value) {
67
- if (value.length > 1) {
68
- return value.replace(/^0+(?=\d)/, "");
69
- }
70
- return value;
71
- }
72
- function elide(value, elideArgs = 5) {
73
- const args = typeof elideArgs === "number" ? { maxChars: elideArgs, ellipsisPosition: "middle" } : elideArgs;
74
- let displayValue = value;
75
- if (value.length > args.maxChars) {
76
- if (typeof args.ellipsisPosition === "number") {
77
- displayValue = `${value.substr(
78
- 0,
79
- args.ellipsisPosition
80
- )}...${value.substr(value.length - args.ellipsisPosition, value.length)}`;
81
- } else if (args.ellipsisPosition === "start") {
82
- displayValue = `...${value.substr(
83
- value.length - args.maxChars,
84
- value.length
85
- )}`;
86
- } else if (args.ellipsisPosition === "middle") {
87
- const half = Math.floor(args.maxChars / 2);
88
- displayValue = `${value.substr(0, half)}...${value.substr(
89
- value.length - half,
90
- value.length
91
- )}`;
92
- } else {
93
- displayValue = `${value.substr(0, args.maxChars)}...`;
94
- }
95
- }
96
- return displayValue;
97
- }
98
- // Annotate the CommonJS export names for ESM import in node:
99
- 0 && (module.exports = {
100
- addCommasToDigits,
101
- capitalize,
102
- elide,
103
- isString,
104
- makeEnumPretty,
105
- removeChars,
106
- removeCommas,
107
- removeLeadingZeros
108
- });
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+
10
+ var _chunk7PRNB5U5cjs = require('../chunk-7PRNB5U5.cjs');
11
+ require('../chunk-LKKJVJCG.cjs');
12
+
13
+
14
+
15
+
16
+
17
+
18
+
19
+
20
+
21
+ exports.addCommasToDigits = _chunk7PRNB5U5cjs.addCommasToDigits; exports.capitalize = _chunk7PRNB5U5cjs.capitalize; exports.elide = _chunk7PRNB5U5cjs.elide; exports.isString = _chunk7PRNB5U5cjs.isString; exports.makeEnumPretty = _chunk7PRNB5U5cjs.makeEnumPretty; exports.removeChars = _chunk7PRNB5U5cjs.removeChars; exports.removeCommas = _chunk7PRNB5U5cjs.removeCommas; exports.removeLeadingZeros = _chunk7PRNB5U5cjs.removeLeadingZeros;