@xiping/react-components 0.0.64 → 0.0.67

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 (38) hide show
  1. package/README.md +10 -2
  2. package/dist/cjs/components/hyper-text/index.d.ts +22 -0
  3. package/dist/cjs/components/hyper-text/index.js +1 -0
  4. package/dist/cjs/components/image-viewer/ImageViewer.js +1 -1
  5. package/dist/cjs/components/morphing-text/index.d.ts +6 -0
  6. package/dist/cjs/components/pinch-content/PinchContent.d.ts +1 -0
  7. package/dist/cjs/components/pinch-content/PinchContent.js +1 -1
  8. package/dist/cjs/components/shimmer-button/ShimmerButton.d.ts +12 -0
  9. package/dist/cjs/components/text-animate/TextAnimate.d.ts +52 -0
  10. package/dist/cjs/components/text-animate/index.d.ts +3 -0
  11. package/dist/cjs/components/txt-reader/TxtReader.d.ts +4 -0
  12. package/dist/cjs/components/txt-reader/TxtReader.js +1 -1
  13. package/dist/cjs/components/typing-animation/index.d.ts +11 -0
  14. package/dist/cjs/components/typing-animation/index.js +1 -0
  15. package/dist/cjs/index.d.ts +2 -0
  16. package/dist/cjs/index.js +1 -1
  17. package/dist/cjs/react-components.css +1 -1
  18. package/dist/cjs/utils/utils.d.ts +2 -0
  19. package/dist/cjs/utils/utils.js +1 -0
  20. package/dist/es/components/hyper-text/index.d.ts +22 -0
  21. package/dist/es/components/hyper-text/index.js +73 -0
  22. package/dist/es/components/image-viewer/ImageViewer.js +52 -41
  23. package/dist/es/components/morphing-text/index.d.ts +6 -0
  24. package/dist/es/components/pinch-content/PinchContent.d.ts +1 -0
  25. package/dist/es/components/pinch-content/PinchContent.js +53 -45
  26. package/dist/es/components/shimmer-button/ShimmerButton.d.ts +12 -0
  27. package/dist/es/components/text-animate/TextAnimate.d.ts +52 -0
  28. package/dist/es/components/text-animate/index.d.ts +3 -0
  29. package/dist/es/components/txt-reader/TxtReader.d.ts +4 -0
  30. package/dist/es/components/txt-reader/TxtReader.js +69 -57
  31. package/dist/es/components/typing-animation/index.d.ts +11 -0
  32. package/dist/es/components/typing-animation/index.js +58 -0
  33. package/dist/es/index.d.ts +2 -0
  34. package/dist/es/index.js +12 -8
  35. package/dist/es/react-components.css +1 -1
  36. package/dist/es/utils/utils.d.ts +2 -0
  37. package/dist/es/utils/utils.js +8 -0
  38. package/package.json +29 -27
@@ -0,0 +1,2 @@
1
+ import { ClassValue } from 'clsx';
2
+ export declare function cn(...inputs: ClassValue[]): string;
@@ -0,0 +1,8 @@
1
+ import o from "clsx";
2
+ import { twMerge as t } from "tailwind-merge";
3
+ function n(...r) {
4
+ return t(o(r));
5
+ }
6
+ export {
7
+ n as cn
8
+ };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@xiping/react-components",
3
3
  "private": false,
4
- "version": "0.0.64",
4
+ "version": "0.0.67",
5
5
  "type": "module",
6
6
  "main": "./dist/cjs/index.js",
7
7
  "module": "./dist/es/index.js",
@@ -33,57 +33,58 @@
33
33
  "react-dom": ">=18 || >= 19"
34
34
  },
35
35
  "dependencies": {
36
- "@nextui-org/button": "^2.2.9",
37
- "@nextui-org/modal": "^2.2.7",
38
- "@nextui-org/react": "^2.6.11",
39
- "@nextui-org/spinner": "^2.2.6",
40
- "@nextui-org/system": "^2.4.6",
36
+ "@heroui/button": "^2.2.10",
37
+ "@heroui/modal": "^2.2.8",
38
+ "@heroui/spinner": "^2.2.7",
41
39
  "@nextui-org/theme": "^2.4.5",
40
+ "@radix-ui/react-scroll-area": "^1.2.2",
42
41
  "@react-spring/web": "^9.7.5",
43
42
  "@use-gesture/react": "^10.3.1",
44
43
  "ahooks": "^3.8.4",
45
44
  "axios": "^1.7.9",
46
45
  "clsx": "^2.1.1",
47
46
  "dayjs": "^1.11.13",
48
- "framer-motion": "^11.17.0",
49
47
  "lodash-es": "^4.17.21",
48
+ "motion": "^12.0.6",
50
49
  "react": "^18.3.1",
51
50
  "react-dom": "^18.3.1",
52
51
  "react-icons": "^5.4.0",
53
- "react-router-dom": "^7.1.1",
52
+ "react-router-dom": "^7.1.3",
54
53
  "zustand": "^5.0.3"
55
54
  },
56
55
  "devDependencies": {
57
- "@chromatic-com/storybook": "^3.2.3",
58
- "@eslint/js": "^9.17.0",
59
- "@faker-js/faker": "^9.3.0",
60
- "@storybook/addon-essentials": "^8.4.7",
61
- "@storybook/addon-interactions": "^8.4.7",
62
- "@storybook/addon-onboarding": "^8.4.7",
63
- "@storybook/blocks": "^8.4.7",
64
- "@storybook/react": "^8.4.7",
65
- "@storybook/react-vite": "^8.4.7",
66
- "@storybook/test": "^8.4.7",
56
+ "@chromatic-com/storybook": "^3.2.4",
57
+ "@eslint/js": "^9.19.0",
58
+ "@faker-js/faker": "^9.4.0",
59
+ "@storybook/addon-essentials": "^8.5.2",
60
+ "@storybook/addon-interactions": "^8.5.2",
61
+ "@storybook/addon-onboarding": "^8.5.2",
62
+ "@storybook/blocks": "^8.5.2",
63
+ "@storybook/react": "^8.5.2",
64
+ "@storybook/react-vite": "^8.5.1",
65
+ "@storybook/test": "^8.5.2",
67
66
  "@types/lodash-es": "^4.17.12",
68
- "@types/node": "^22.10.5",
67
+ "@types/node": "^22.12.0",
69
68
  "@types/react": "^18.3.18",
70
69
  "@types/react-dom": "^18.3.5",
71
70
  "@vitejs/plugin-react": "^4.3.4",
72
71
  "autoprefixer": "^10.4.20",
73
- "eslint": "^9.17.0",
72
+ "eslint": "^9.19.0",
74
73
  "eslint-plugin-react-hooks": "^5.1.0",
75
- "eslint-plugin-react-refresh": "^0.4.16",
74
+ "eslint-plugin-react-refresh": "^0.4.18",
76
75
  "eslint-plugin-storybook": "^0.11.2",
77
76
  "globals": "^15.14.0",
78
- "postcss": "^8.4.49",
77
+ "postcss": "^8.5.1",
79
78
  "prettier": "^3.4.2",
80
79
  "sharp": "^0.33.5",
81
- "storybook": "^8.4.7",
80
+ "storybook": "^8.5.2",
82
81
  "svgo": "^3.3.2",
82
+ "tailwind-merge": "^2.6.0",
83
83
  "tailwindcss": "^3.4.17",
84
+ "tailwindcss-safe-area": "^0.6.0",
84
85
  "typescript": "~5.6.3",
85
- "typescript-eslint": "^8.19.1",
86
- "vite": "^6.0.7",
86
+ "typescript-eslint": "^8.22.0",
87
+ "vite": "^6.0.11",
87
88
  "vite-plugin-dts": "^4.5.0",
88
89
  "vite-plugin-image-optimizer": "^1.1.8",
89
90
  "vite-plugin-lib-inject-css": "^2.2.1",
@@ -91,10 +92,11 @@
91
92
  "vite-tsconfig-paths": "^5.1.4"
92
93
  },
93
94
  "publishConfig": {
94
- "access": "public"
95
+ "access": "public",
96
+ "registry": "https://registry.npmjs.org/"
95
97
  },
96
98
  "engines": {
97
99
  "node": ">=18"
98
100
  },
99
- "gitHead": "9c8a13d9074b79d663541dadce6e4ab6a4462443"
101
+ "gitHead": "ff3ca0aa8c7890787195fc3e98ef8bf2950d664f"
100
102
  }