@xiping/react-components 0.0.70 → 0.0.71

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 (176) hide show
  1. package/dist/cjs/components/hyper-text/index.js +1 -1
  2. package/dist/cjs/components/image-compare/ImageCompare.js +1 -0
  3. package/dist/cjs/components/image-compare/ImageCompare.stories.js +1 -0
  4. package/dist/cjs/components/image-compare/index.d.ts +3 -0
  5. package/dist/cjs/components/image-viewer/ImageViewer.js +1 -1
  6. package/dist/cjs/components/pinch-content/PinchContent.js +1 -1
  7. package/dist/cjs/components/shimmer-button/ShimmerButton.js +1 -0
  8. package/dist/cjs/components/shimmer-button/index.d.ts +3 -0
  9. package/dist/cjs/components/text-animate/TextAnimate.js +2 -0
  10. package/dist/cjs/components/txt-reader/TxtReader.js +1 -1
  11. package/dist/cjs/components/typing-animation/index.js +1 -1
  12. package/dist/cjs/index.d.ts +3 -0
  13. package/dist/cjs/index.js +1 -1
  14. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-24BRZQJF.js +1 -0
  15. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-2ZJD7MKZ.js +1 -0
  16. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-3F27QTJW.js +1 -0
  17. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-3GPQ2LUY.js +1 -0
  18. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-3Z37Y6B2.js +1 -0
  19. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-43N2UFQU.js +1 -0
  20. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-4M7CXV44.js +1 -0
  21. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-5D35SWPH.js +1 -0
  22. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-5FBIXRBD.js +1 -0
  23. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-6AAYEFVP.js +1 -0
  24. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-6FO5QCQQ.js +1 -0
  25. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-6FP7AFFM.js +1 -0
  26. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-6O4D66VA.js +1 -0
  27. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-6X25BMGN.js +1 -0
  28. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-A422CE5A.js +1 -0
  29. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-A4Y2TLYC.js +1 -0
  30. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-BXMXMVXO.js +1 -0
  31. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-CNIWQETC.js +1 -0
  32. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-CNJZSIML.js +1 -0
  33. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-CUX6X6GY.js +1 -0
  34. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-DCJ3HHNV.js +1 -0
  35. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-DLPY5TR4.js +1 -0
  36. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-DQULUOQ4.js +1 -0
  37. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-DUXITTME.js +1 -0
  38. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-DXHLWLGK.js +1 -0
  39. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-EHAMMO3P.js +1 -0
  40. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-EHM5NMIX.js +1 -0
  41. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-EL7E726V.js +1 -0
  42. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-ENFQEI2P.js +1 -0
  43. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-ETQLBG6X.js +1 -0
  44. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-EVTSQNBU.js +1 -0
  45. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-EZ5YFNAZ.js +1 -0
  46. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-F4DBCRTM.js +1 -0
  47. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-FCO72CCF.js +1 -0
  48. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-FM2GNVRP.js +1 -0
  49. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-FY53I2VT.js +1 -0
  50. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-GBVWLY6G.js +1 -0
  51. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-GD4MHNDP.js +1 -0
  52. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-GRWTKNXR.js +1 -0
  53. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-HPBAFMBJ.js +1 -0
  54. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-HUFA3TKM.js +1 -0
  55. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-IXET6VTM.js +1 -0
  56. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-J2KVC2WG.js +1 -0
  57. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-J6GQDZ26.js +1 -0
  58. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-J6YN5Q6Y.js +1 -0
  59. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-JAKXOQM3.js +1 -0
  60. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-JDP4O6HJ.js +1 -0
  61. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-KAEAQCFF.js +1 -0
  62. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-KHNAWBJV.js +1 -0
  63. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-KRMY7ATX.js +1 -0
  64. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-KVLHDMYV.js +1 -0
  65. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-KXKIL4EI.js +11 -0
  66. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-LDPZT6U3.js +1 -0
  67. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-LH3JPWVA.js +1 -0
  68. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-LVIYI3TP.js +1 -0
  69. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-LVNZ4CWJ.js +1 -0
  70. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-MLTTHHPT.js +1 -0
  71. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-NCUDWWYB.js +1 -0
  72. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-O3FRUTFM.js +1 -0
  73. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-O7YISX2Z.js +1 -0
  74. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-OV3KSZE2.js +1 -0
  75. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-PIBRD2HF.js +1 -0
  76. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-SKTRHTW6.js +1 -0
  77. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-T5LUYR7I.js +1 -0
  78. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-THY6XJI2.js +1 -0
  79. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-TJU6EFG7.js +1 -0
  80. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-U5ML4RDM.js +1 -0
  81. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-VDP43VBQ.js +1 -0
  82. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-WF535NTE.js +1 -0
  83. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-WGCBKSUO.js +1 -0
  84. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-WGFXVCCE.js +1 -0
  85. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-WLVMHISZ.js +1 -0
  86. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-X5AIMSKG.js +1 -0
  87. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-XV6ZCPLC.js +1 -0
  88. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-ZRCSBYIY.js +1 -0
  89. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-ZY5TEA7T.js +1 -0
  90. package/dist/cjs/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-ZYSYPWD7.js +1 -0
  91. package/dist/es/components/image-compare/ImageCompare.js +101 -0
  92. package/dist/es/components/image-compare/ImageCompare.stories.js +36 -0
  93. package/dist/es/components/image-compare/index.d.ts +3 -0
  94. package/dist/es/components/shimmer-button/ShimmerButton.js +75 -0
  95. package/dist/es/components/shimmer-button/index.d.ts +3 -0
  96. package/dist/es/components/text-animate/TextAnimate.js +309 -0
  97. package/dist/es/index.d.ts +3 -0
  98. package/dist/es/index.js +10 -4
  99. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-24BRZQJF.js +4 -0
  100. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-2ZJD7MKZ.js +7 -0
  101. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-3F27QTJW.js +4 -0
  102. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-3GPQ2LUY.js +4 -0
  103. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-3Z37Y6B2.js +7 -0
  104. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-43N2UFQU.js +7 -0
  105. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-4M7CXV44.js +7 -0
  106. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-5D35SWPH.js +7 -0
  107. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-5FBIXRBD.js +7 -0
  108. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-6AAYEFVP.js +4 -0
  109. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-6FO5QCQQ.js +7 -0
  110. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-6FP7AFFM.js +7 -0
  111. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-6O4D66VA.js +7 -0
  112. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-6X25BMGN.js +7 -0
  113. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-A422CE5A.js +7 -0
  114. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-A4Y2TLYC.js +8 -0
  115. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-BXMXMVXO.js +7 -0
  116. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-CNIWQETC.js +8 -0
  117. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-CNJZSIML.js +7 -0
  118. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-CUX6X6GY.js +7 -0
  119. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-DCJ3HHNV.js +7 -0
  120. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-DLPY5TR4.js +7 -0
  121. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-DQULUOQ4.js +4 -0
  122. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-DUXITTME.js +8 -0
  123. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-DXHLWLGK.js +7 -0
  124. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-EHAMMO3P.js +4 -0
  125. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-EHM5NMIX.js +7 -0
  126. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-EL7E726V.js +4 -0
  127. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-ENFQEI2P.js +7 -0
  128. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-ETQLBG6X.js +2 -0
  129. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-EVTSQNBU.js +4 -0
  130. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-EZ5YFNAZ.js +7 -0
  131. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-F4DBCRTM.js +7 -0
  132. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-FCO72CCF.js +4 -0
  133. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-FM2GNVRP.js +7 -0
  134. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-FY53I2VT.js +7 -0
  135. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-GBVWLY6G.js +7 -0
  136. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-GD4MHNDP.js +7 -0
  137. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-GRWTKNXR.js +7 -0
  138. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-HPBAFMBJ.js +7 -0
  139. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-HUFA3TKM.js +8 -0
  140. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-IXET6VTM.js +8 -0
  141. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-J2KVC2WG.js +7 -0
  142. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-J6GQDZ26.js +7 -0
  143. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-J6YN5Q6Y.js +7 -0
  144. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-JAKXOQM3.js +7 -0
  145. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-JDP4O6HJ.js +7 -0
  146. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-KAEAQCFF.js +7 -0
  147. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-KHNAWBJV.js +4 -0
  148. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-KRMY7ATX.js +6 -0
  149. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-KVLHDMYV.js +7 -0
  150. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-KXKIL4EI.js +1756 -0
  151. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-LDPZT6U3.js +7 -0
  152. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-LH3JPWVA.js +7 -0
  153. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-LVIYI3TP.js +7 -0
  154. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-LVNZ4CWJ.js +7 -0
  155. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-MLTTHHPT.js +8 -0
  156. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-NCUDWWYB.js +4 -0
  157. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-O3FRUTFM.js +4 -0
  158. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-O7YISX2Z.js +7 -0
  159. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-OV3KSZE2.js +7 -0
  160. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-PIBRD2HF.js +8 -0
  161. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-SKTRHTW6.js +7 -0
  162. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-T5LUYR7I.js +7 -0
  163. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-THY6XJI2.js +7 -0
  164. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-TJU6EFG7.js +7 -0
  165. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-U5ML4RDM.js +7 -0
  166. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-VDP43VBQ.js +7 -0
  167. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-WF535NTE.js +7 -0
  168. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-WGCBKSUO.js +4 -0
  169. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-WGFXVCCE.js +7 -0
  170. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-WLVMHISZ.js +7 -0
  171. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-X5AIMSKG.js +8 -0
  172. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-XV6ZCPLC.js +7 -0
  173. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-ZRCSBYIY.js +8 -0
  174. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-ZY5TEA7T.js +8 -0
  175. package/dist/es/node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-ZYSYPWD7.js +8 -0
  176. package/package.json +2 -2
@@ -0,0 +1,101 @@
1
+ import { jsxs as R, jsx as s } from "react/jsx-runtime";
2
+ import y from "clsx";
3
+ import { useState as d, useRef as I, useCallback as t, useEffect as N } from "react";
4
+ const T = (i, o) => {
5
+ let n;
6
+ return function(...l) {
7
+ n || (i.apply(this, l), n = !0, setTimeout(() => n = !1, o));
8
+ };
9
+ }, P = (i) => {
10
+ const { originalImage: o, modifiedImage: n, className: l } = i, [h, v] = d(50), [a, g] = d(!1), [w, b] = d(16 / 9), c = I(null), f = t(
11
+ (e) => {
12
+ if (!a || !c.current) return;
13
+ const p = c.current.getBoundingClientRect(), x = (e - p.left) / p.width * 100;
14
+ v(Math.min(100, Math.max(0, x)));
15
+ },
16
+ [a]
17
+ ), r = t(
18
+ T((e) => f(e), 16),
19
+ [f]
20
+ ), M = t((e) => {
21
+ r(e.clientX);
22
+ }, [r]), k = t((e) => {
23
+ r(e.touches[0].clientX);
24
+ }, [r]), m = t(() => {
25
+ g(!0);
26
+ }, []), u = t(() => {
27
+ g(!1);
28
+ }, []);
29
+ return N(() => {
30
+ const e = new Image();
31
+ e.onload = () => {
32
+ b(e.width / e.height);
33
+ }, e.src = o;
34
+ }, [o]), /* @__PURE__ */ R(
35
+ "div",
36
+ {
37
+ ref: c,
38
+ className: y("relative select-none overflow-hidden w-full", l),
39
+ style: {
40
+ backgroundRepeat: "no-repeat",
41
+ backgroundPosition: "top left",
42
+ backgroundImage: `url(${o})`,
43
+ backgroundSize: "contain",
44
+ aspectRatio: w
45
+ },
46
+ onMouseMove: a ? M : void 0,
47
+ onTouchMove: a ? k : void 0,
48
+ onMouseUp: u,
49
+ onMouseLeave: u,
50
+ onTouchEnd: u,
51
+ children: [
52
+ /* @__PURE__ */ s(
53
+ "div",
54
+ {
55
+ className: "absolute inset-0 h-full overflow-hidden",
56
+ style: {
57
+ width: `${h}%`,
58
+ backgroundImage: `url(${n})`,
59
+ backgroundRepeat: "no-repeat",
60
+ backgroundPosition: "top left",
61
+ backgroundSize: "auto 100%"
62
+ }
63
+ }
64
+ ),
65
+ /* @__PURE__ */ s(
66
+ "div",
67
+ {
68
+ className: "absolute top-0 bottom-0 w-1 bg-white cursor-ew-resize",
69
+ style: {
70
+ left: `${h}%`,
71
+ transform: "translateX(-50%)"
72
+ },
73
+ onMouseDown: m,
74
+ onTouchStart: m,
75
+ children: /* @__PURE__ */ s("div", { className: "absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-8 h-8 rounded-full bg-white shadow-lg flex items-center justify-center", children: /* @__PURE__ */ s(
76
+ "svg",
77
+ {
78
+ className: "w-6 h-6 text-gray-600",
79
+ fill: "none",
80
+ stroke: "currentColor",
81
+ viewBox: "0 0 24 24",
82
+ children: /* @__PURE__ */ s(
83
+ "path",
84
+ {
85
+ strokeLinecap: "round",
86
+ strokeLinejoin: "round",
87
+ strokeWidth: 2,
88
+ d: "M8 9l4-4 4 4m0 6l-4 4-4-4"
89
+ }
90
+ )
91
+ }
92
+ ) })
93
+ }
94
+ )
95
+ ]
96
+ }
97
+ );
98
+ };
99
+ export {
100
+ P as default
101
+ };
@@ -0,0 +1,36 @@
1
+ import "react/jsx-runtime";
2
+ import o from "./ImageCompare.js";
3
+ import { a as t } from "../../node_modules/.pnpm/@faker-js_faker@9.5.0/node_modules/@faker-js/faker/dist/chunk-KRMY7ATX.js";
4
+ t.image.dataUri({
5
+ width: 1920,
6
+ height: 1080
7
+ });
8
+ t.image.dataUri({
9
+ width: 1920,
10
+ height: 1080
11
+ });
12
+ const r = {
13
+ title: "Components/ImageCompare",
14
+ component: o,
15
+ parameters: {
16
+ layout: "centered"
17
+ },
18
+ tags: ["autodocs"],
19
+ argTypes: {
20
+ originalImage: {
21
+ control: "text",
22
+ description: "URL or path of the original image"
23
+ },
24
+ modifiedImage: {
25
+ control: "text",
26
+ description: "URL or path of the modified/comparison image"
27
+ },
28
+ className: {
29
+ control: "text",
30
+ description: "Additional CSS classes to apply to the component"
31
+ }
32
+ }
33
+ };
34
+ export {
35
+ r as default
36
+ };
@@ -0,0 +1,3 @@
1
+ import { default as ImageCompare } from './ImageCompare.stories.tsx';
2
+ export { ImageCompare };
3
+ export default ImageCompare;
@@ -0,0 +1,75 @@
1
+ import { jsxs as l, jsx as r } from "react/jsx-runtime";
2
+ import p from "react";
3
+ import { cn as e } from "../../utils/utils.js";
4
+ const m = p.forwardRef(
5
+ ({
6
+ shimmerColor: a = "#ffffff",
7
+ shimmerSize: t = "0.05em",
8
+ shimmerDuration: s = "3s",
9
+ borderRadius: i = "100px",
10
+ background: o = "rgba(0, 0, 0, 1)",
11
+ className: n,
12
+ children: d,
13
+ ...f
14
+ }, u) => /* @__PURE__ */ l(
15
+ "button",
16
+ {
17
+ style: {
18
+ "--spread": "90deg",
19
+ "--shimmer-color": a,
20
+ "--radius": i,
21
+ "--speed": s,
22
+ "--cut": t,
23
+ "--bg": o
24
+ },
25
+ className: e(
26
+ "group relative z-0 flex cursor-pointer items-center justify-center overflow-hidden whitespace-nowrap border border-white/10 px-6 py-3 text-white [background:var(--bg)] [border-radius:var(--radius)] dark:text-black",
27
+ "transform-gpu transition-transform duration-300 ease-in-out active:translate-y-px",
28
+ n
29
+ ),
30
+ ref: u,
31
+ ...f,
32
+ children: [
33
+ /* @__PURE__ */ r(
34
+ "div",
35
+ {
36
+ className: e(
37
+ "-z-30 blur-[2px]",
38
+ "absolute inset-0 overflow-visible [container-type:size]"
39
+ ),
40
+ children: /* @__PURE__ */ r("div", { className: "absolute inset-0 h-[100cqh] animate-shimmer-slide [aspect-ratio:1] [border-radius:0] [mask:none]", children: /* @__PURE__ */ r("div", { className: "absolute -inset-full w-auto rotate-0 animate-spin-around [background:conic-gradient(from_calc(270deg-(var(--spread)*0.5)),transparent_0,var(--shimmer-color)_var(--spread),transparent_var(--spread))] [translate:0_0]" }) })
41
+ }
42
+ ),
43
+ d,
44
+ /* @__PURE__ */ r(
45
+ "div",
46
+ {
47
+ className: e(
48
+ "insert-0 absolute size-full",
49
+ "rounded-2xl px-4 py-1.5 text-sm font-medium shadow-[inset_0_-8px_10px_#ffffff1f]",
50
+ // transition
51
+ "transform-gpu transition-all duration-300 ease-in-out",
52
+ // on hover
53
+ "group-hover:shadow-[inset_0_-6px_10px_#ffffff3f]",
54
+ // on click
55
+ "group-active:shadow-[inset_0_-10px_10px_#ffffff3f]"
56
+ )
57
+ }
58
+ ),
59
+ /* @__PURE__ */ r(
60
+ "div",
61
+ {
62
+ className: e(
63
+ "absolute -z-20 [background:var(--bg)] [border-radius:var(--radius)] [inset:var(--cut)]"
64
+ )
65
+ }
66
+ )
67
+ ]
68
+ }
69
+ )
70
+ );
71
+ m.displayName = "ShimmerButton";
72
+ export {
73
+ m as ShimmerButton,
74
+ m as default
75
+ };
@@ -0,0 +1,3 @@
1
+ import { default as ShimmerButton } from './ShimmerButton.tsx';
2
+ export { ShimmerButton };
3
+ export default ShimmerButton;
@@ -0,0 +1,309 @@
1
+ "use client";
2
+ import { jsx as r } from "react/jsx-runtime";
3
+ import { cn as y } from "../../utils/utils.js";
4
+ import { motion as u, AnimatePresence as g } from "motion/react";
5
+ const s = {
6
+ text: 0.06,
7
+ word: 0.05,
8
+ character: 0.03,
9
+ line: 0.06
10
+ }, t = {
11
+ hidden: { opacity: 1 },
12
+ show: {
13
+ opacity: 1,
14
+ transition: {
15
+ staggerChildren: 0.05
16
+ }
17
+ },
18
+ exit: {
19
+ opacity: 0,
20
+ transition: {
21
+ staggerChildren: 0.05,
22
+ staggerDirection: -1
23
+ }
24
+ }
25
+ }, b = {
26
+ hidden: { opacity: 0 },
27
+ show: {
28
+ opacity: 1
29
+ },
30
+ exit: {
31
+ opacity: 0
32
+ }
33
+ }, o = {
34
+ fadeIn: {
35
+ container: t,
36
+ item: {
37
+ hidden: { opacity: 0, y: 20 },
38
+ show: (i) => ({
39
+ opacity: 1,
40
+ y: 0,
41
+ transition: {
42
+ delay: i,
43
+ duration: 0.3
44
+ }
45
+ }),
46
+ exit: {
47
+ opacity: 0,
48
+ y: 20,
49
+ transition: { duration: 0.3 }
50
+ }
51
+ }
52
+ },
53
+ blurIn: {
54
+ container: t,
55
+ item: {
56
+ hidden: { opacity: 0, filter: "blur(10px)" },
57
+ show: (i) => ({
58
+ opacity: 1,
59
+ filter: "blur(0px)",
60
+ transition: {
61
+ delay: i * 0.1,
62
+ duration: 0.3
63
+ }
64
+ }),
65
+ exit: {
66
+ opacity: 0,
67
+ filter: "blur(10px)",
68
+ transition: { duration: 0.3 }
69
+ }
70
+ }
71
+ },
72
+ blurInUp: {
73
+ container: t,
74
+ item: {
75
+ hidden: { opacity: 0, filter: "blur(10px)", y: 20 },
76
+ show: (i) => ({
77
+ opacity: 1,
78
+ filter: "blur(0px)",
79
+ y: 0,
80
+ transition: {
81
+ y: { duration: 0.3 },
82
+ opacity: { duration: 0.4 },
83
+ filter: { duration: 0.3 }
84
+ }
85
+ }),
86
+ exit: {
87
+ opacity: 0,
88
+ filter: "blur(10px)",
89
+ y: 20,
90
+ transition: {
91
+ y: { duration: 0.3 },
92
+ opacity: { duration: 0.4 },
93
+ filter: { duration: 0.3 }
94
+ }
95
+ }
96
+ }
97
+ },
98
+ blurInDown: {
99
+ container: t,
100
+ item: {
101
+ hidden: { opacity: 0, filter: "blur(10px)", y: -20 },
102
+ show: (i) => ({
103
+ opacity: 1,
104
+ filter: "blur(0px)",
105
+ y: 0,
106
+ transition: {
107
+ y: { duration: 0.3 },
108
+ opacity: { duration: 0.4 },
109
+ filter: { duration: 0.3 }
110
+ }
111
+ })
112
+ }
113
+ },
114
+ slideUp: {
115
+ container: t,
116
+ item: {
117
+ hidden: { y: 20, opacity: 0 },
118
+ show: (i) => ({
119
+ y: 0,
120
+ opacity: 1,
121
+ transition: {
122
+ delay: i,
123
+ duration: 0.3
124
+ }
125
+ }),
126
+ exit: {
127
+ y: -20,
128
+ opacity: 0,
129
+ transition: {
130
+ duration: 0.3
131
+ }
132
+ }
133
+ }
134
+ },
135
+ slideDown: {
136
+ container: t,
137
+ item: {
138
+ hidden: { y: -20, opacity: 0 },
139
+ show: {
140
+ y: 0,
141
+ opacity: 1,
142
+ transition: { duration: 0.3 }
143
+ },
144
+ exit: {
145
+ y: 20,
146
+ opacity: 0,
147
+ transition: { duration: 0.3 }
148
+ }
149
+ }
150
+ },
151
+ slideLeft: {
152
+ container: t,
153
+ item: {
154
+ hidden: { x: 20, opacity: 0 },
155
+ show: {
156
+ x: 0,
157
+ opacity: 1,
158
+ transition: { duration: 0.3 }
159
+ },
160
+ exit: {
161
+ x: -20,
162
+ opacity: 0,
163
+ transition: { duration: 0.3 }
164
+ }
165
+ }
166
+ },
167
+ slideRight: {
168
+ container: t,
169
+ item: {
170
+ hidden: { x: -20, opacity: 0 },
171
+ show: {
172
+ x: 0,
173
+ opacity: 1,
174
+ transition: { duration: 0.3 }
175
+ },
176
+ exit: {
177
+ x: 20,
178
+ opacity: 0,
179
+ transition: { duration: 0.3 }
180
+ }
181
+ }
182
+ },
183
+ scaleUp: {
184
+ container: t,
185
+ item: {
186
+ hidden: { scale: 0.5, opacity: 0 },
187
+ show: {
188
+ scale: 1,
189
+ opacity: 1,
190
+ transition: {
191
+ duration: 0.3,
192
+ scale: {
193
+ type: "spring",
194
+ damping: 15,
195
+ stiffness: 300
196
+ }
197
+ }
198
+ },
199
+ exit: {
200
+ scale: 0.5,
201
+ opacity: 0,
202
+ transition: { duration: 0.3 }
203
+ }
204
+ }
205
+ },
206
+ scaleDown: {
207
+ container: t,
208
+ item: {
209
+ hidden: { scale: 1.5, opacity: 0 },
210
+ show: (i) => ({
211
+ scale: 1,
212
+ opacity: 1,
213
+ transition: {
214
+ delay: i,
215
+ duration: 0.3,
216
+ scale: {
217
+ type: "spring",
218
+ damping: 15,
219
+ stiffness: 300
220
+ }
221
+ }
222
+ }),
223
+ exit: {
224
+ scale: 1.5,
225
+ opacity: 0,
226
+ transition: { duration: 0.3 }
227
+ }
228
+ }
229
+ }
230
+ };
231
+ function U({
232
+ children: i,
233
+ delay: I = 0,
234
+ duration: k = 0.3,
235
+ variants: C,
236
+ className: h,
237
+ segmentClassName: x,
238
+ as: m = "p",
239
+ startOnView: c = !0,
240
+ once: v = !1,
241
+ by: a = "word",
242
+ animation: n = "fadeIn",
243
+ ...f
244
+ }) {
245
+ const w = u.create(m), d = n ? {
246
+ container: {
247
+ ...o[n].container,
248
+ show: {
249
+ ...o[n].container.show,
250
+ transition: {
251
+ staggerChildren: s[a]
252
+ }
253
+ },
254
+ exit: {
255
+ ...o[n].container.exit,
256
+ transition: {
257
+ staggerChildren: s[a],
258
+ staggerDirection: -1
259
+ }
260
+ }
261
+ },
262
+ item: o[n].item
263
+ } : { container: t, item: b };
264
+ let e = [];
265
+ switch (a) {
266
+ case "word":
267
+ e = i.split(/(\s+)/);
268
+ break;
269
+ case "character":
270
+ e = i.split("");
271
+ break;
272
+ case "line":
273
+ e = i.split(`
274
+ `);
275
+ break;
276
+ case "text":
277
+ default:
278
+ e = [i];
279
+ break;
280
+ }
281
+ return /* @__PURE__ */ r(g, { mode: "popLayout", children: /* @__PURE__ */ r(
282
+ w,
283
+ {
284
+ variants: d.container,
285
+ initial: "hidden",
286
+ whileInView: c ? "show" : void 0,
287
+ animate: c ? void 0 : "show",
288
+ exit: "exit",
289
+ className: y("whitespace-pre-wrap", h),
290
+ ...f,
291
+ children: e.map((p, l) => /* @__PURE__ */ r(
292
+ u.span,
293
+ {
294
+ variants: d.item,
295
+ custom: l * s[a],
296
+ className: y(
297
+ a === "line" ? "block" : "inline-block whitespace-pre",
298
+ x
299
+ ),
300
+ children: p
301
+ },
302
+ `${a}-${p}-${l}`
303
+ ))
304
+ }
305
+ ) });
306
+ }
307
+ export {
308
+ U as TextAnimate
309
+ };
@@ -4,3 +4,6 @@ export * from './components/pinch-content';
4
4
  export * from './components/image-viewer';
5
5
  export * from './components/hyper-text';
6
6
  export * from './components/typing-animation';
7
+ export * from './components/text-animate';
8
+ export * from './components/shimmer-button';
9
+ export * from './components/image-compare';
package/dist/es/index.js CHANGED
@@ -1,15 +1,21 @@
1
1
  /* empty css */
2
2
  import { Button as t } from "./components/button/Button.js";
3
3
  import { TxtReader as p } from "./components/txt-reader/TxtReader.js";
4
- import { HyperText as x } from "./components/hyper-text/index.js";
4
+ import { HyperText as f } from "./components/hyper-text/index.js";
5
5
  import { TypingAnimation as n } from "./components/typing-animation/index.js";
6
- import { default as d } from "./components/pinch-content/PinchContent.js";
6
+ import { default as u } from "./components/pinch-content/PinchContent.js";
7
7
  import { default as T } from "./components/image-viewer/ImageViewer.js";
8
+ import { ShimmerButton as l } from "./components/shimmer-button/ShimmerButton.js";
9
+ import { default as h } from "./components/image-compare/ImageCompare.stories.js";
10
+ import { TextAnimate as A } from "./components/text-animate/TextAnimate.js";
8
11
  export {
9
12
  t as Button,
10
- x as HyperText,
13
+ f as HyperText,
14
+ h as ImageCompare,
11
15
  T as ImageViewer,
12
- d as PinchContent,
16
+ u as PinchContent,
17
+ l as ShimmerButton,
18
+ A as TextAnimate,
13
19
  p as TxtReader,
14
20
  n as TypingAnimation
15
21
  };