pmg-ui-kit 0.0.19 → 0.0.20

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.
@@ -7,5 +7,5 @@ type FormProps = {
7
7
  formErrorMessage?: string;
8
8
  ref?: Ref<HTMLFormElement>;
9
9
  };
10
- declare const Form: ({ children, validateAllFieldsWithVisualEffect, onSubmit, className, formErrorMessage, ref }: FormProps) => import("react/jsx-runtime").JSX.Element;
11
- export default Form;
10
+ export declare const Form: ({ children, validateAllFieldsWithVisualEffect, onSubmit, className, formErrorMessage, ref }: FormProps) => import("react/jsx-runtime").JSX.Element;
11
+ export {};
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { showToast } from "../../utils/showToast";
3
- const Form = ({ children, validateAllFieldsWithVisualEffect, onSubmit, className, formErrorMessage, ref }) => {
3
+ export const Form = ({ children, validateAllFieldsWithVisualEffect, onSubmit, className, formErrorMessage, ref }) => {
4
4
  const handleSaveTheData = (e) => {
5
5
  e.preventDefault();
6
6
  const form = e.currentTarget;
@@ -17,4 +17,3 @@ const Form = ({ children, validateAllFieldsWithVisualEffect, onSubmit, className
17
17
  };
18
18
  return (_jsx("form", { ref: ref, className: className, noValidate: validateAllFieldsWithVisualEffect, onSubmit: handleSaveTheData, children: children }));
19
19
  };
20
- export default Form;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmg-ui-kit",
3
- "version": "0.0.19",
3
+ "version": "0.0.20",
4
4
  "description": "Components library for PMG projects",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",