propro-common-components 0.2.64 → 0.2.65
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/api/useGet.d.ts +2 -2
- package/dist/api/useMutate.d.ts +1 -1
- package/dist/api/useMutateWithKeepAlive.d.ts +2 -2
- package/dist/components/theme-provider.d.ts +0 -1
- package/dist/components/ui/dropdown-menu.d.ts +3 -3
- package/dist/hoc/PrivateRoute.d.ts +0 -1
- package/dist/hooks/useAuth.d.ts +1 -2
- package/dist/main.css +1 -1
- package/dist/plasmicComponents/AccountActivationConformation.d.ts +6 -0
- package/dist/plasmicComponents/ProProLandingContent.d.ts +6 -0
- package/dist/plasmicComponents/ProductCards.d.ts +6 -0
- package/dist/plasmicComponents/plasmic/antd/PlasmicStyleTokensProvider.d.ts +4 -0
- package/dist/plasmicComponents/plasmic/antd/plasmic.d.ts +1 -0
- package/dist/plasmicComponents/plasmic/antd_5_hostless/PlasmicStyleTokensProvider.d.ts +4 -0
- package/dist/plasmicComponents/plasmic/antd_5_hostless/plasmic.d.ts +1 -0
- package/dist/plasmicComponents/plasmic/loading_boundary/PlasmicStyleTokensProvider.d.ts +4 -0
- package/dist/plasmicComponents/plasmic/loading_boundary/plasmic.d.ts +1 -0
- package/dist/plasmicComponents/plasmic/lottie_react/PlasmicStyleTokensProvider.d.ts +4 -0
- package/dist/plasmicComponents/plasmic/lottie_react/plasmic.d.ts +1 -0
- package/dist/plasmicComponents/plasmic/plasmic_basic_components/PlasmicStyleTokensProvider.d.ts +4 -0
- package/dist/plasmicComponents/plasmic/plasmic_basic_components/plasmic.d.ts +1 -0
- package/dist/plasmicComponents/plasmic/plasmic_embed_css/PlasmicStyleTokensProvider.d.ts +4 -0
- package/dist/plasmicComponents/plasmic/plasmic_embed_css/plasmic.d.ts +1 -0
- package/dist/plasmicComponents/plasmic/plasmic_rich_components/PlasmicStyleTokensProvider.d.ts +4 -0
- package/dist/plasmicComponents/plasmic/plasmic_rich_components/plasmic.d.ts +1 -0
- package/dist/plasmicComponents/plasmic/plasmic_tabs/PlasmicButton.d.ts +52 -52
- package/dist/plasmicComponents/plasmic/plasmic_tabs/icons/PlasmicIcon__CheckMark.d.ts +7 -0
- package/dist/plasmicComponents/plasmic/pro_pro/PlasmicAccountActivationConformation.d.ts +176 -0
- package/dist/plasmicComponents/plasmic/pro_pro/PlasmicButtonFromProPro.d.ts +55 -55
- package/dist/plasmicComponents/plasmic/pro_pro/PlasmicDescription.d.ts +16 -16
- package/dist/plasmicComponents/plasmic/pro_pro/PlasmicErrorMessageContainer.d.ts +130 -0
- package/dist/plasmicComponents/plasmic/pro_pro/PlasmicFooterLink.d.ts +72 -72
- package/dist/plasmicComponents/plasmic/pro_pro/PlasmicGlobalVariant__Screen.d.ts +3 -0
- package/dist/plasmicComponents/plasmic/pro_pro/PlasmicGlobalVariant__Theme.d.ts +3 -0
- package/dist/plasmicComponents/plasmic/pro_pro/PlasmicGlobalVariant__Theme2.d.ts +3 -0
- package/dist/plasmicComponents/plasmic/pro_pro/PlasmicLabel.d.ts +24 -24
- package/dist/plasmicComponents/plasmic/pro_pro/PlasmicLogo.d.ts +80 -59
- package/dist/plasmicComponents/plasmic/pro_pro/PlasmicNewsletterConfirmation.d.ts +14 -14
- package/dist/plasmicComponents/plasmic/pro_pro/PlasmicProProLabel.d.ts +36 -36
- package/dist/plasmicComponents/plasmic/pro_pro/PlasmicProProLandingContent.d.ts +117 -0
- package/dist/plasmicComponents/plasmic/pro_pro/PlasmicProductCards.d.ts +97 -0
- package/dist/plasmicComponents/plasmic/pro_pro/PlasmicSignInSignUpForm.d.ts +554 -554
- package/dist/plasmicComponents/plasmic/pro_pro/PlasmicSignInSignUpFormLayout.d.ts +88 -88
- package/dist/plasmicComponents/plasmic/pro_pro/PlasmicSlider.d.ts +64 -64
- package/dist/plasmicComponents/plasmic/pro_pro/PlasmicSliderThumb.d.ts +6 -6
- package/dist/plasmicComponents/plasmic/pro_pro/PlasmicStyleTokensProvider.d.ts +4 -0
- package/dist/plasmicComponents/plasmic/pro_pro/PlasmicTextInputFromProPro.d.ts +58 -58
- package/dist/plasmicComponents/plasmic/pro_pro/plasmic.d.ts +1 -0
- package/dist/plasmicComponents/plasmic/react_aria/PlasmicStyleTokensProvider.d.ts +4 -0
- package/dist/plasmicComponents/plasmic/react_aria/plasmic.d.ts +1 -0
- package/dist/plasmicComponents/plasmic/react_awesome_reveal/PlasmicStyleTokensProvider.d.ts +4 -0
- package/dist/plasmicComponents/plasmic/react_awesome_reveal/plasmic.d.ts +1 -0
- package/dist/propro-common-components.js +26520 -25096
- package/dist/utils/iconUtils.d.ts +1 -1
- package/package.json +13 -13
- package/dist/components/ui/menubar.d.ts +0 -31
- package/dist/plasmicComponents/plasmic/plasmic_tabs/icons/PlasmicIcon__Checksvg.d.ts +0 -7
- /package/dist/plasmicComponents/plasmic/pro_pro/icons/{PlasmicIcon__Filledsvg.d.ts → PlasmicIcon__FilledSvg.d.ts} +0 -0
- /package/dist/plasmicComponents/plasmic/pro_pro/icons/{PlasmicIcon__Searchsvg.d.ts → PlasmicIcon__SearchSvg.d.ts} +0 -0
package/dist/api/useGet.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DefinedInitialDataOptions, DefinedUseQueryResult, UndefinedInitialDataOptions, UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
|
|
1
|
+
import { DefaultError, DefinedInitialDataOptions, DefinedUseQueryResult, QueryKey, UndefinedInitialDataOptions, UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
|
|
2
2
|
|
|
3
|
-
declare const useGet: <TQueryFnData = unknown, TError =
|
|
3
|
+
declare const useGet: <TQueryFnData = unknown, TError = DefaultError, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey>(key: TQueryKey, endpoint: string, options?: UndefinedInitialDataOptions<TQueryFnData, TError, TData, TQueryKey> | DefinedInitialDataOptions<TQueryFnData, TError, TData, TQueryKey> | UseQueryOptions<TQueryFnData, TError, TData, TQueryKey>) => UseQueryResult<TData, TError> | DefinedUseQueryResult<TData, TError> | UseQueryResult<TData, TError>;
|
|
4
4
|
export default useGet;
|
package/dist/api/useMutate.d.ts
CHANGED
|
@@ -22,5 +22,5 @@ export interface UseMutateParams<TData, TError, TVariables, _TContext> {
|
|
|
22
22
|
shouldCheckAccessToken?: boolean;
|
|
23
23
|
isFormData?: boolean;
|
|
24
24
|
}
|
|
25
|
-
declare const useMutate: <TData = unknown, TError = AxiosError
|
|
25
|
+
declare const useMutate: <TData = object | unknown | undefined, TError = AxiosError, TVariables = object | unknown | undefined, TContext = unknown>(params: UseMutateParams<TData, TError, TVariables, TContext>, options?: Omit<UseMutationOptions<TData, TError, TVariables, TContext>, "mutationFn" | "onSuccess" | "onError">) => UseMutationResult<TData, TError, TVariables, TContext>;
|
|
26
26
|
export default useMutate;
|
|
@@ -4,8 +4,8 @@ import { ToastOptions } from 'react-toastify';
|
|
|
4
4
|
|
|
5
5
|
declare const useMutateWithKeepAlive: ({ url, method, headers, invalidateAllQueries, successLog, errorLog, logURL, toastMessage, onSuccess, onError, }: {
|
|
6
6
|
url: string;
|
|
7
|
-
method:
|
|
8
|
-
headers?: AxiosRequestConfig[
|
|
7
|
+
method: "POST" | "PUT" | "DELETE" | "PATCH";
|
|
8
|
+
headers?: AxiosRequestConfig["headers"];
|
|
9
9
|
invalidateAllQueries?: boolean;
|
|
10
10
|
successLog?: string;
|
|
11
11
|
errorLog?: string;
|
|
@@ -7,17 +7,17 @@ declare const DropdownMenuPortal: React.FC<DropdownMenuPrimitive.DropdownMenuPor
|
|
|
7
7
|
declare const DropdownMenuSub: React.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
|
|
8
8
|
declare const DropdownMenuRadioGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
9
9
|
declare const DropdownMenuSubTrigger: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
10
|
-
inset?: boolean
|
|
10
|
+
inset?: boolean;
|
|
11
11
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
12
12
|
declare const DropdownMenuSubContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
13
13
|
declare const DropdownMenuContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
14
14
|
declare const DropdownMenuItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
15
|
-
inset?: boolean
|
|
15
|
+
inset?: boolean;
|
|
16
16
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
17
17
|
declare const DropdownMenuCheckboxItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
18
18
|
declare const DropdownMenuRadioItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
19
19
|
declare const DropdownMenuLabel: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
20
|
-
inset?: boolean
|
|
20
|
+
inset?: boolean;
|
|
21
21
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
22
22
|
declare const DropdownMenuSeparator: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
23
23
|
declare const DropdownMenuShortcut: {
|
package/dist/hooks/useAuth.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export default function useAuth(): {
|
|
3
2
|
account: import('../interfaces/account.interface').AccountInterface | null;
|
|
4
3
|
setAccount: import('react').Dispatch<import('react').SetStateAction<import('../interfaces/account.interface').AccountInterface | null>>;
|
|
5
|
-
handleSetAccount: (account?: import('../interfaces/account.interface').AccountInterface
|
|
4
|
+
handleSetAccount: (account?: import('../interfaces/account.interface').AccountInterface) => void;
|
|
6
5
|
};
|