propro-common-components 0.1.304 → 0.1.306

Sign up to get free protection for your applications and to get access to all the features.
package/dist/main.d.ts CHANGED
@@ -9,7 +9,6 @@ import { AccountManagementComponent } from '../lib/components/AccountManagement'
9
9
  import { default as useGet } from './api/useGetx';
10
10
  import { default as useMutate } from './api/useMutate';
11
11
  import { default as useMutateWithKeepAlive } from './api/useMutateWithKeepAlive';
12
- import { default as AppHOC } from './components/AppHOC';
13
12
  import { default as AvatarMenu } from './components/AvatarMenu';
14
13
  import { default as Loading } from './components/ui/Loading';
15
14
  import { AppContext, AppProvider } from './context/AppContext';
@@ -24,5 +23,5 @@ import { RUNNING_IN_TAURI } from './constants/tauriConstants';
24
23
  import { AuthProvider } from './context/AuthContext';
25
24
  import { IconLoader, IconType, PlasmicEmojiAndIconSelection, StyleType, getAvailableStyles, loadIcon, searchIcon } from 'propro-icons';
26
25
 
27
- export { AccountManagementComponent, AppContext, AppHOC, AppProvider, AuthProvider, AvatarMenu, Footer, IconLoader, ListGridSwitch, Loading, PlasmicEmojiAndIconSelection, PlasmicSignInSignUpForm, PrivateRoute, RUNNING_IN_TAURI, SignInSignUpForm, SignInSignUpFormLayout, TextInputFromProPro, axiosInstance, checkAccessToken, getAvailableStyles, getCookie, getStorage, handleAuth, isUserLoggedIn, loadIcon, logout, removeStorage, searchIcon, setCookie, setStorage, useGet, useMutate, useMutateWithKeepAlive, };
26
+ export { AccountManagementComponent, AppContext, AppProvider, AuthProvider, AvatarMenu, Footer, IconLoader, ListGridSwitch, Loading, PlasmicEmojiAndIconSelection, PlasmicSignInSignUpForm, PrivateRoute, RUNNING_IN_TAURI, SignInSignUpForm, SignInSignUpFormLayout, TextInputFromProPro, axiosInstance, checkAccessToken, getAvailableStyles, getCookie, getStorage, handleAuth, isUserLoggedIn, loadIcon, logout, removeStorage, searchIcon, setCookie, setStorage, useGet, useMutate, useMutateWithKeepAlive, };
28
27
  export type { DefaultSignInSignUpFormProps, IconType, StyleType };
@@ -65,13 +65,13 @@ export declare const PlasmicButton: {
65
65
  variants?: PlasmicButton__VariantsArgs | undefined;
66
66
  args?: PlasmicButton__ArgsType | undefined;
67
67
  overrides?: NodeOverridesType<"root"> | undefined;
68
- } & Omit<PlasmicButton__VariantsArgs, ReservedPropsType> & Omit<PlasmicButton__ArgsType, ReservedPropsType> & Omit<NodeOverridesType<"root">, keyof PlasmicButton__VariantsArgs | keyof PlasmicButton__ArgsType | ReservedPropsType> & Omit<Partial<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>>, "root" | "startIconContainer" | "contentContainer" | "endIconContainer" | keyof PlasmicButton__VariantsArgs | keyof PlasmicButton__ArgsType | ReservedPropsType> & {
68
+ } & Omit<PlasmicButton__VariantsArgs, ReservedPropsType> & Omit<PlasmicButton__ArgsType, ReservedPropsType> & Omit<NodeOverridesType<"root">, keyof PlasmicButton__VariantsArgs | keyof PlasmicButton__ArgsType | ReservedPropsType> & Omit<Partial<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>>, "root" | "startIconContainer" | "endIconContainer" | "contentContainer" | keyof PlasmicButton__VariantsArgs | keyof PlasmicButton__ArgsType | ReservedPropsType> & {
69
69
  key?: React.Key | undefined;
70
70
  }>(props: T & StrictProps<T, {
71
71
  variants?: PlasmicButton__VariantsArgs | undefined;
72
72
  args?: PlasmicButton__ArgsType | undefined;
73
73
  overrides?: NodeOverridesType<"root"> | undefined;
74
- } & Omit<PlasmicButton__VariantsArgs, ReservedPropsType> & Omit<PlasmicButton__ArgsType, ReservedPropsType> & Omit<NodeOverridesType<"root">, keyof PlasmicButton__VariantsArgs | keyof PlasmicButton__ArgsType | ReservedPropsType> & Omit<Partial<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>>, "root" | "startIconContainer" | "contentContainer" | "endIconContainer" | keyof PlasmicButton__VariantsArgs | keyof PlasmicButton__ArgsType | ReservedPropsType> & {
74
+ } & Omit<PlasmicButton__VariantsArgs, ReservedPropsType> & Omit<PlasmicButton__ArgsType, ReservedPropsType> & Omit<NodeOverridesType<"root">, keyof PlasmicButton__VariantsArgs | keyof PlasmicButton__ArgsType | ReservedPropsType> & Omit<Partial<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>>, "root" | "startIconContainer" | "endIconContainer" | "contentContainer" | keyof PlasmicButton__VariantsArgs | keyof PlasmicButton__ArgsType | ReservedPropsType> & {
75
75
  key?: React.Key | undefined;
76
76
  }>): React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
77
77
  displayName: string;
@@ -68,13 +68,13 @@ export declare const PlasmicButtonFromProPro: {
68
68
  variants?: PlasmicButtonFromProPro__VariantsArgs | undefined;
69
69
  args?: PlasmicButtonFromProPro__ArgsType | undefined;
70
70
  overrides?: NodeOverridesType<"root"> | undefined;
71
- } & Omit<PlasmicButtonFromProPro__VariantsArgs, ReservedPropsType> & Omit<PlasmicButtonFromProPro__ArgsType, ReservedPropsType> & Omit<NodeOverridesType<"root">, keyof PlasmicButtonFromProPro__VariantsArgs | keyof PlasmicButtonFromProPro__ArgsType | ReservedPropsType> & Omit<Partial<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>>, "root" | keyof PlasmicButtonFromProPro__VariantsArgs | keyof PlasmicButtonFromProPro__ArgsType | ReservedPropsType | "startIconContainer" | "contentContainer" | "endIconContainer"> & {
71
+ } & Omit<PlasmicButtonFromProPro__VariantsArgs, ReservedPropsType> & Omit<PlasmicButtonFromProPro__ArgsType, ReservedPropsType> & Omit<NodeOverridesType<"root">, keyof PlasmicButtonFromProPro__VariantsArgs | keyof PlasmicButtonFromProPro__ArgsType | ReservedPropsType> & Omit<Partial<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>>, "root" | "startIconContainer" | "endIconContainer" | keyof PlasmicButtonFromProPro__VariantsArgs | keyof PlasmicButtonFromProPro__ArgsType | ReservedPropsType | "contentContainer"> & {
72
72
  key?: React.Key | undefined;
73
73
  }>(props: T & StrictProps<T, {
74
74
  variants?: PlasmicButtonFromProPro__VariantsArgs | undefined;
75
75
  args?: PlasmicButtonFromProPro__ArgsType | undefined;
76
76
  overrides?: NodeOverridesType<"root"> | undefined;
77
- } & Omit<PlasmicButtonFromProPro__VariantsArgs, ReservedPropsType> & Omit<PlasmicButtonFromProPro__ArgsType, ReservedPropsType> & Omit<NodeOverridesType<"root">, keyof PlasmicButtonFromProPro__VariantsArgs | keyof PlasmicButtonFromProPro__ArgsType | ReservedPropsType> & Omit<Partial<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>>, "root" | keyof PlasmicButtonFromProPro__VariantsArgs | keyof PlasmicButtonFromProPro__ArgsType | ReservedPropsType | "startIconContainer" | "contentContainer" | "endIconContainer"> & {
77
+ } & Omit<PlasmicButtonFromProPro__VariantsArgs, ReservedPropsType> & Omit<PlasmicButtonFromProPro__ArgsType, ReservedPropsType> & Omit<NodeOverridesType<"root">, keyof PlasmicButtonFromProPro__VariantsArgs | keyof PlasmicButtonFromProPro__ArgsType | ReservedPropsType> & Omit<Partial<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>>, "root" | "startIconContainer" | "endIconContainer" | keyof PlasmicButtonFromProPro__VariantsArgs | keyof PlasmicButtonFromProPro__ArgsType | ReservedPropsType | "contentContainer"> & {
78
78
  key?: React.Key | undefined;
79
79
  }>): React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
80
80
  displayName: string;
@@ -84,13 +84,13 @@ export declare const PlasmicButtonFromProPro: {
84
84
  variants?: PlasmicButtonFromProPro__VariantsArgs | undefined;
85
85
  args?: PlasmicButtonFromProPro__ArgsType | undefined;
86
86
  overrides?: NodeOverridesType<"startIconContainer"> | undefined;
87
- } & Omit<PlasmicButtonFromProPro__VariantsArgs, ReservedPropsType> & Omit<PlasmicButtonFromProPro__ArgsType, ReservedPropsType> & Omit<NodeOverridesType<"startIconContainer">, keyof PlasmicButtonFromProPro__VariantsArgs | keyof PlasmicButtonFromProPro__ArgsType | ReservedPropsType> & Omit<Partial<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>>, keyof PlasmicButtonFromProPro__VariantsArgs | keyof PlasmicButtonFromProPro__ArgsType | ReservedPropsType | "startIconContainer"> & {
87
+ } & Omit<PlasmicButtonFromProPro__VariantsArgs, ReservedPropsType> & Omit<PlasmicButtonFromProPro__ArgsType, ReservedPropsType> & Omit<NodeOverridesType<"startIconContainer">, keyof PlasmicButtonFromProPro__VariantsArgs | keyof PlasmicButtonFromProPro__ArgsType | ReservedPropsType> & Omit<Partial<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>>, "startIconContainer" | keyof PlasmicButtonFromProPro__VariantsArgs | keyof PlasmicButtonFromProPro__ArgsType | ReservedPropsType> & {
88
88
  key?: React.Key | undefined;
89
89
  }>(props: T_1 & StrictProps<T_1, {
90
90
  variants?: PlasmicButtonFromProPro__VariantsArgs | undefined;
91
91
  args?: PlasmicButtonFromProPro__ArgsType | undefined;
92
92
  overrides?: NodeOverridesType<"startIconContainer"> | undefined;
93
- } & Omit<PlasmicButtonFromProPro__VariantsArgs, ReservedPropsType> & Omit<PlasmicButtonFromProPro__ArgsType, ReservedPropsType> & Omit<NodeOverridesType<"startIconContainer">, keyof PlasmicButtonFromProPro__VariantsArgs | keyof PlasmicButtonFromProPro__ArgsType | ReservedPropsType> & Omit<Partial<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>>, keyof PlasmicButtonFromProPro__VariantsArgs | keyof PlasmicButtonFromProPro__ArgsType | ReservedPropsType | "startIconContainer"> & {
93
+ } & Omit<PlasmicButtonFromProPro__VariantsArgs, ReservedPropsType> & Omit<PlasmicButtonFromProPro__ArgsType, ReservedPropsType> & Omit<NodeOverridesType<"startIconContainer">, keyof PlasmicButtonFromProPro__VariantsArgs | keyof PlasmicButtonFromProPro__ArgsType | ReservedPropsType> & Omit<Partial<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>>, "startIconContainer" | keyof PlasmicButtonFromProPro__VariantsArgs | keyof PlasmicButtonFromProPro__ArgsType | ReservedPropsType> & {
94
94
  key?: React.Key | undefined;
95
95
  }>): React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
96
96
  displayName: string;
@@ -116,13 +116,13 @@ export declare const PlasmicButtonFromProPro: {
116
116
  variants?: PlasmicButtonFromProPro__VariantsArgs | undefined;
117
117
  args?: PlasmicButtonFromProPro__ArgsType | undefined;
118
118
  overrides?: NodeOverridesType<"endIconContainer"> | undefined;
119
- } & Omit<PlasmicButtonFromProPro__VariantsArgs, ReservedPropsType> & Omit<PlasmicButtonFromProPro__ArgsType, ReservedPropsType> & Omit<NodeOverridesType<"endIconContainer">, keyof PlasmicButtonFromProPro__VariantsArgs | keyof PlasmicButtonFromProPro__ArgsType | ReservedPropsType> & Omit<Partial<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>>, keyof PlasmicButtonFromProPro__VariantsArgs | keyof PlasmicButtonFromProPro__ArgsType | ReservedPropsType | "endIconContainer"> & {
119
+ } & Omit<PlasmicButtonFromProPro__VariantsArgs, ReservedPropsType> & Omit<PlasmicButtonFromProPro__ArgsType, ReservedPropsType> & Omit<NodeOverridesType<"endIconContainer">, keyof PlasmicButtonFromProPro__VariantsArgs | keyof PlasmicButtonFromProPro__ArgsType | ReservedPropsType> & Omit<Partial<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>>, "endIconContainer" | keyof PlasmicButtonFromProPro__VariantsArgs | keyof PlasmicButtonFromProPro__ArgsType | ReservedPropsType> & {
120
120
  key?: React.Key | undefined;
121
121
  }>(props: T_3 & StrictProps<T_3, {
122
122
  variants?: PlasmicButtonFromProPro__VariantsArgs | undefined;
123
123
  args?: PlasmicButtonFromProPro__ArgsType | undefined;
124
124
  overrides?: NodeOverridesType<"endIconContainer"> | undefined;
125
- } & Omit<PlasmicButtonFromProPro__VariantsArgs, ReservedPropsType> & Omit<PlasmicButtonFromProPro__ArgsType, ReservedPropsType> & Omit<NodeOverridesType<"endIconContainer">, keyof PlasmicButtonFromProPro__VariantsArgs | keyof PlasmicButtonFromProPro__ArgsType | ReservedPropsType> & Omit<Partial<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>>, keyof PlasmicButtonFromProPro__VariantsArgs | keyof PlasmicButtonFromProPro__ArgsType | ReservedPropsType | "endIconContainer"> & {
125
+ } & Omit<PlasmicButtonFromProPro__VariantsArgs, ReservedPropsType> & Omit<PlasmicButtonFromProPro__ArgsType, ReservedPropsType> & Omit<NodeOverridesType<"endIconContainer">, keyof PlasmicButtonFromProPro__VariantsArgs | keyof PlasmicButtonFromProPro__ArgsType | ReservedPropsType> & Omit<Partial<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>>, "endIconContainer" | keyof PlasmicButtonFromProPro__VariantsArgs | keyof PlasmicButtonFromProPro__ArgsType | ReservedPropsType> & {
126
126
  key?: React.Key | undefined;
127
127
  }>): React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
128
128
  displayName: string;