@symply.io/basic-components 1.4.0-alpha.3 → 1.4.0-alpha.4

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.
@@ -1,3 +1,4 @@
1
1
  export { default } from "./Modal";
2
+ export { default as useLoadingModal } from "./useLoadingModal";
2
3
  export * from "./useLoadingModal";
3
4
  export * from "./types";
@@ -1,4 +1,5 @@
1
1
  "use client";
2
2
  export { default } from "./Modal";
3
+ export { default as useLoadingModal } from "./useLoadingModal";
3
4
  export * from "./useLoadingModal";
4
5
  export * from "./types";
@@ -1,3 +1,3 @@
1
1
  import { LoadingModalContextProps, LoadingModalProviderProps } from "./types";
2
2
  export declare function LoadingModalProvider(props: LoadingModalProviderProps): JSX.Element;
3
- export declare function useLoadingModal(): LoadingModalContextProps;
3
+ export default function useLoadingModal(): LoadingModalContextProps;
@@ -52,6 +52,6 @@ export function LoadingModalProvider(props) {
52
52
  }, []);
53
53
  return (_jsx(LoadingModalContext.Provider, __assign({ value: { onOpenLoadingModal: onOpenLoadingModal, onCloseLoadingModal: onCloseLoadingModal } }, { children: _jsxs(_Fragment, { children: [cloneElement(children), _jsx(LoadingModal, __assign({}, modalArgs, { primaryColor: primaryColor, secondaryColor: secondaryColor }))] }) })));
54
54
  }
55
- export function useLoadingModal() {
55
+ export default function useLoadingModal() {
56
56
  return useContext(LoadingModalContext);
57
57
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@symply.io/basic-components",
3
- "version": "1.4.0-alpha.3",
3
+ "version": "1.4.0-alpha.4",
4
4
  "description": "Basic and reusable components for all frontend of Symply apps",
5
5
  "keywords": [
6
6
  "react",