@pelatform/starter.shared 0.2.7 → 0.2.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 (2) hide show
  1. package/dist/index.js +0 -5
  2. package/package.json +4 -6
package/dist/index.js CHANGED
@@ -1158,7 +1158,6 @@ function SharedProviders({
1158
1158
  }
1159
1159
 
1160
1160
  // src/components/utils/card.tsx
1161
- import { useFormState } from "react-hook-form";
1162
1161
  import { cn as cn7 } from "pelatform-ui";
1163
1162
  import { Button as Button5, Card, CardContent, CardFooter, Skeleton as Skeleton4, Spinner } from "pelatform-ui/default";
1164
1163
  import { Fragment as Fragment7, jsx as jsx18, jsxs as jsxs14 } from "react/jsx-runtime";
@@ -1300,10 +1299,6 @@ function CardActionComponent({
1300
1299
  isSubmitting,
1301
1300
  ...props
1302
1301
  }) {
1303
- if (!onClick) {
1304
- const formState = useFormState();
1305
- isSubmitting = formState.isSubmitting;
1306
- }
1307
1302
  return /* @__PURE__ */ jsxs14(
1308
1303
  Button5,
1309
1304
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pelatform/starter.shared",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
4
4
  "description": "A part of SaaS starter kit for Pelatform applications.",
5
5
  "author": "Pelatform",
6
6
  "license": "MIT",
@@ -40,12 +40,11 @@
40
40
  "@pelatform/starter.utils": "0.2.4",
41
41
  "@pelatform/tsconfig": "^0.1.3",
42
42
  "@types/react": "^19.2.7",
43
- "lucide-react": "^0.561.0",
44
- "next": "^16.0.10",
43
+ "lucide-react": "^0.562.0",
44
+ "next": "^16.1.0",
45
45
  "next-intl": "^4.6.1",
46
46
  "pelatform-ui": "^1.1.8",
47
47
  "react": "^19.2.3",
48
- "react-hook-form": "^7.68.0",
49
48
  "tsup": "^8.5.1"
50
49
  },
51
50
  "peerDependencies": {
@@ -56,8 +55,7 @@
56
55
  "next": ">=16.0.0",
57
56
  "next-intl": ">=4.5.0",
58
57
  "pelatform-ui": ">=1.1.0",
59
- "react": ">=18.0.0 || >=19.0.0-rc.0",
60
- "react-hook-form": ">=7.5.0"
58
+ "react": ">=18.0.0 || >=19.0.0-rc.0"
61
59
  },
62
60
  "publishConfig": {
63
61
  "registry": "https://registry.npmjs.org/",