@betterstore/react 0.2.4 → 0.2.6

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.
@@ -0,0 +1,2 @@
1
+ import { type ClassValue } from "clsx";
2
+ export declare function cn(...inputs: ClassValue[]): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@betterstore/react",
3
- "version": "0.2.4",
3
+ "version": "0.2.6",
4
4
  "description": "E-commerce for Developers",
5
5
  "private": false,
6
6
  "publishConfig": {
@@ -29,10 +29,10 @@
29
29
  "@types/react-dom": "^18.2.0",
30
30
  "autoprefixer": "^10.4.20",
31
31
  "next": "^15.2.1",
32
- "postcss": "^8.4.31",
32
+ "postcss": "^8.5.3",
33
33
  "prettier": "^3.5.3",
34
34
  "rollup": "^4.34.9",
35
- "tailwindcss": "^3.0.12",
35
+ "tailwindcss": "^4.0.12",
36
36
  "tslib": "^2.8.1",
37
37
  "tsup": "^8.4.0",
38
38
  "typescript": "^5.8.2"
@@ -42,9 +42,23 @@
42
42
  "react-dom": "^18.0.0"
43
43
  },
44
44
  "dependencies": {
45
+ "@hookform/resolvers": "^4.1.3",
46
+ "@radix-ui/react-checkbox": "^1.1.4",
47
+ "@radix-ui/react-label": "^2.1.2",
48
+ "@radix-ui/react-radio-group": "^1.2.3",
49
+ "@radix-ui/react-select": "^2.1.6",
50
+ "@radix-ui/react-slot": "^1.1.2",
45
51
  "@stripe/react-stripe-js": "^3.3.0",
46
52
  "@stripe/stripe-js": "^5.10.0",
53
+ "class-variance-authority": "^0.7.1",
54
+ "clsx": "^2.1.1",
55
+ "lucide-react": "^0.479.0",
56
+ "react-hook-form": "^7.54.2",
47
57
  "rollup-plugin-postcss": "^4.0.2",
58
+ "tailwind": "^4.0.0",
59
+ "tailwind-merge": "^3.0.2",
60
+ "tailwindcss-animate": "^1.0.7",
61
+ "zod": "^3.24.2",
48
62
  "zustand": "^5.0.3"
49
63
  },
50
64
  "scripts": {
@@ -1,6 +1,6 @@
1
1
  module.exports = {
2
2
  plugins: {
3
- tailwindcss: {},
3
+ "@tailwindcss/postcss": {},
4
4
  autoprefixer: {},
5
5
  },
6
6
  };
package/rollup.config.mjs CHANGED
@@ -1,9 +1,7 @@
1
1
  import commonjs from "@rollup/plugin-commonjs";
2
2
  import resolve from "@rollup/plugin-node-resolve";
3
3
  import typescript from "@rollup/plugin-typescript";
4
- import autoprefixer from "autoprefixer";
5
4
  import postcss from "rollup-plugin-postcss";
6
- import tailwindcss from "tailwindcss";
7
5
 
8
6
  export default {
9
7
  input: "src/index.ts",
@@ -22,20 +20,41 @@ export default {
22
20
  commonjs(),
23
21
  typescript(),
24
22
  postcss({
25
- plugins: [tailwindcss(), autoprefixer()],
26
- extract: "styles.css",
23
+ config: {
24
+ path: "./postcss.config.cjs",
25
+ },
27
26
  extract: false,
28
27
  modules: false,
29
28
  minimize: true,
30
29
  inject: true,
31
- autoModules: false,
32
30
  }),
33
31
  ],
34
32
  external: [
33
+ "@radix-ui/react-radio-group",
34
+ "@radix-ui/react-label",
35
+ "@radix-ui/react-checkbox",
36
+ "@radix-ui/react-select",
37
+ "@radix-ui/react-roving-focus",
38
+ "@radix-ui/react-presence",
39
+ "@radix-ui/react-dismissable-layer",
40
+ "@radix-ui/react-focus-guards",
41
+ "@radix-ui/react-collection",
42
+ "@radix-ui/react-popper",
43
+ "@radix-ui/react-portal",
44
+ "@radix-ui/react-focus-scope",
45
+
35
46
  "react",
36
47
  "react-dom",
37
48
  "@stripe/react-stripe-js",
38
49
  "@stripe/stripe-js",
39
50
  "zustand",
51
+ "zod",
52
+ "tailwindcss-animate",
53
+ "class-variance-authority",
54
+ "clsx",
55
+ "tailwind-merge",
56
+ "lucide-react",
57
+ "react-hook-form",
58
+ "@hookform/resolvers",
40
59
  ],
41
60
  };