erp-pos-ecommerce-shared 0.2.7 → 0.2.9
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.
- package/dist/components.d.ts +1 -1
- package/dist/components.js +1 -1
- package/dist/components.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/components.d.ts
CHANGED
|
@@ -382,7 +382,7 @@ interface FormPagePropsBase<TData, TVariables = unknown> {
|
|
|
382
382
|
typeOfForm: "create" | "edit";
|
|
383
383
|
dataKey: string;
|
|
384
384
|
loading: boolean;
|
|
385
|
-
cardWidth?: number;
|
|
385
|
+
cardWidth?: number | string;
|
|
386
386
|
onSuccess?: (data: TData) => void;
|
|
387
387
|
setData?: (data: TData) => void;
|
|
388
388
|
navigateAway?: boolean;
|
package/dist/components.js
CHANGED
|
@@ -2122,7 +2122,7 @@ var FormPage = ({
|
|
|
2122
2122
|
]
|
|
2123
2123
|
}
|
|
2124
2124
|
) }),
|
|
2125
|
-
/* @__PURE__ */ jsx(
|
|
2125
|
+
/* @__PURE__ */ jsx(Paper, { w: cardWidth ?? 500, my: -10, children: /* @__PURE__ */ jsxs(Flex, { direction: "column", children: [
|
|
2126
2126
|
/* @__PURE__ */ jsxs(Title, { order: 1, my: 10, children: [
|
|
2127
2127
|
typeOfForm === "create" ? "Crear" : "Editar",
|
|
2128
2128
|
" ",
|