@zauru-sdk/components 1.0.27 → 1.0.28

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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.0.28](https://github.com/intuitiva/zauru-typescript-sdk/compare/v1.0.27...v1.0.28) (2024-03-25)
7
+
8
+ **Note:** Version bump only for package @zauru-sdk/components
9
+
10
+
11
+
12
+
13
+
6
14
  ## [1.0.27](https://github.com/intuitiva/zauru-typescript-sdk/compare/v1.0.26...v1.0.27) (2024-03-25)
7
15
 
8
16
  **Note:** Version bump only for package @zauru-sdk/components
@@ -19,5 +19,5 @@ type Props = {
19
19
  getTableState: (updatedData?: ReactNode[][]) => TableStateItem[] | undefined;
20
20
  }>;
21
21
  };
22
- declare const _default: React.ForwardRefExoticComponent<Props & React.RefAttributes<unknown>>;
23
- export default _default;
22
+ export declare const DynamicPrintTable: ({ forwardedRef, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
23
+ export {};
@@ -7,7 +7,7 @@ const errorAnimation = {
7
7
  hidden: { opacity: 0, y: -10 },
8
8
  visible: { opacity: 1, y: 0 },
9
9
  };
10
- const DynamicPrintTable = ({ forwardedRef, ...props }) => {
10
+ export const DynamicPrintTable = ({ forwardedRef, ...props }) => {
11
11
  const { items, onChange, className } = props;
12
12
  const { formValidations } = useAppSelector((state) => state.formValidation);
13
13
  const createItemSelect = (rowIndex, defaultValue) => (_jsx(SelectFieldWithoutValidation, { name: "item_select", isClearable: true, onChange: (value) => {
@@ -129,4 +129,3 @@ const DynamicPrintTable = ({ forwardedRef, ...props }) => {
129
129
  return sum + val;
130
130
  }, 0)] })] }) })] })] }));
131
131
  };
132
- export default React.forwardRef(DynamicPrintTable);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zauru-sdk/components",
3
- "version": "1.0.27",
3
+ "version": "1.0.28",
4
4
  "description": "Componentes reutilizables en las WebApps de Zauru.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -48,5 +48,5 @@
48
48
  "engines": {
49
49
  "node": ">=18.0.0"
50
50
  },
51
- "gitHead": "2f46e02794ab74f4dbd47932e6e7e4461f5873d7"
51
+ "gitHead": "c062c36292d84c995727ece8746437f627e5caf7"
52
52
  }
@@ -35,7 +35,7 @@ const errorAnimation = {
35
35
  visible: { opacity: 1, y: 0 },
36
36
  };
37
37
 
38
- const DynamicPrintTable = ({ forwardedRef, ...props }: Props) => {
38
+ export const DynamicPrintTable = ({ forwardedRef, ...props }: Props) => {
39
39
  const { items, onChange, className } = props;
40
40
  const { formValidations } = useAppSelector((state) => state.formValidation);
41
41
 
@@ -286,5 +286,3 @@ const DynamicPrintTable = ({ forwardedRef, ...props }: Props) => {
286
286
  </div>
287
287
  );
288
288
  };
289
-
290
- export default React.forwardRef(DynamicPrintTable);