propro-common-components 0.1.232 → 0.1.234

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "propro-common-components",
3
- "version": "0.1.232",
3
+ "version": "0.1.234",
4
4
  "type": "module",
5
5
  "main": "dist/propro-common-components.js",
6
6
  "types": "dist/main.d.ts",
@@ -26,7 +26,7 @@
26
26
  "@plasmicapp/cli": "^0.1.327",
27
27
  "@plasmicapp/react-web": "^0.2.337",
28
28
  "@plasmicpkgs/antd": "^2.0.116",
29
- "@plasmicpkgs/antd5": "^0.0.235",
29
+ "@plasmicpkgs/antd5": "^0.0.249",
30
30
  "@plasmicpkgs/lottie-react": "^0.0.183",
31
31
  "@plasmicpkgs/plasmic-basic-components": "^0.0.215",
32
32
  "@plasmicpkgs/plasmic-embed-css": "^0.1.181",
@@ -43,6 +43,8 @@
43
43
  "@radix-ui/react-switch": "^1.0.3",
44
44
  "@radix-ui/react-tabs": "^1.0.4",
45
45
  "@radix-ui/react-tooltip": "^1.1.2",
46
+ "@tanstack/react-query": "^5.52.0",
47
+ "@tanstack/react-query-devtools": "^5.52.0",
46
48
  "@tauri-apps/api": "^1.6.0",
47
49
  "@types/js-cookie": "^3.0.6",
48
50
  "antd": "^5.17.4",
@@ -52,7 +54,7 @@
52
54
  "formik": "^2.4.5",
53
55
  "js-cookie": "^3.0.5",
54
56
  "lucide-react": "^0.309.0",
55
- "propro-icons": "^0.0.28",
57
+ "propro-icons": "^0.0.32",
56
58
  "react-error-boundary": "^4.0.12",
57
59
  "react-lottie": "^1.2.4",
58
60
  "react-router-dom": "^6.22.3",
@@ -1,8 +0,0 @@
1
- import { DefaultTextInputProps } from './plasmic/pro_pro/PlasmicTextInput';
2
- import * as React from "react";
3
- export interface TextInputProps extends DefaultTextInputProps {
4
- }
5
- declare const _default: React.ForwardRefExoticComponent<Omit<TextInputProps, "ref"> & React.RefAttributes<import('@plasmicapp/react-web').TextInputRefValue>> & {
6
- __plumeType: string;
7
- };
8
- export default _default;
@@ -1,8 +0,0 @@
1
- import { DefaultTextInput2Props } from './plasmic/pro_pro/PlasmicTextInput2';
2
- import * as React from "react";
3
- export interface TextInput2Props extends DefaultTextInput2Props {
4
- }
5
- declare const _default: React.ForwardRefExoticComponent<Omit<TextInput2Props, "ref"> & React.RefAttributes<import('@plasmicapp/react-web').TextInputRefValue>> & {
6
- __plumeType: string;
7
- };
8
- export default _default;
@@ -1,134 +0,0 @@
1
- import { Flex as Flex__, SingleBooleanChoiceArg, SingleChoiceArg, StrictProps } from '@plasmicapp/react-web';
2
- /** @jsxRuntime classic */
3
- /** @jsx createPlasmicElementProxy */
4
- /** @jsxFrag React.Fragment */
5
- import * as React from "react";
6
- import * as pp from "@plasmicapp/react-web";
7
- export type PlasmicButton__VariantMembers = {
8
- showStartIcon: "showStartIcon";
9
- showEndIcon: "showEndIcon";
10
- isDisabled: "isDisabled";
11
- shape: "rounded" | "round" | "sharp" | "minimal";
12
- size: "compact" | "minimal" | "unnamedVariant";
13
- color: "blue" | "green" | "yellow" | "red" | "sand" | "white" | "softBlue" | "softGreen" | "softYellow" | "softRed" | "softSand" | "clear" | "link" | "lightBlue" | "darkBlue" | "proRed" | "mapMapGreen";
14
- dropshadow: "noShadow" | "basic";
15
- };
16
- export type PlasmicButton__VariantsArgs = {
17
- showStartIcon?: SingleBooleanChoiceArg<"showStartIcon">;
18
- showEndIcon?: SingleBooleanChoiceArg<"showEndIcon">;
19
- isDisabled?: SingleBooleanChoiceArg<"isDisabled">;
20
- shape?: SingleChoiceArg<"rounded" | "round" | "sharp" | "minimal">;
21
- size?: SingleChoiceArg<"compact" | "minimal" | "unnamedVariant">;
22
- color?: SingleChoiceArg<"blue" | "green" | "yellow" | "red" | "sand" | "white" | "softBlue" | "softGreen" | "softYellow" | "softRed" | "softSand" | "clear" | "link" | "lightBlue" | "darkBlue" | "proRed" | "mapMapGreen">;
23
- dropshadow?: SingleChoiceArg<"noShadow" | "basic">;
24
- };
25
- export declare const PlasmicButton__VariantProps: (keyof PlasmicButton__VariantsArgs)[];
26
- export type PlasmicButton__ArgsType = {
27
- children?: React.ReactNode;
28
- startIcon?: React.ReactNode;
29
- endIcon?: React.ReactNode;
30
- link?: string;
31
- submitsForm?: boolean;
32
- target?: boolean;
33
- };
34
- export declare const PlasmicButton__ArgProps: (keyof PlasmicButton__ArgsType)[];
35
- export type PlasmicButton__OverridesType = {
36
- root?: Flex__<"button">;
37
- startIconContainer?: Flex__<"div">;
38
- contentContainer?: Flex__<"div">;
39
- endIconContainer?: Flex__<"div">;
40
- };
41
- export interface DefaultButtonProps extends pp.BaseButtonProps {
42
- submitsForm?: boolean;
43
- target?: boolean;
44
- shape?: SingleChoiceArg<"rounded" | "round" | "sharp" | "minimal">;
45
- size?: SingleChoiceArg<"compact" | "minimal" | "unnamedVariant">;
46
- color?: SingleChoiceArg<"blue" | "green" | "yellow" | "red" | "sand" | "white" | "softBlue" | "softGreen" | "softYellow" | "softRed" | "softSand" | "clear" | "link" | "lightBlue" | "darkBlue" | "proRed" | "mapMapGreen">;
47
- dropshadow?: SingleChoiceArg<"noShadow" | "basic">;
48
- }
49
- declare function useBehavior<P extends pp.PlumeButtonProps>(props: P, ref: pp.ButtonRef): {
50
- plasmicProps: {
51
- variants: PlasmicButton__VariantsArgs;
52
- args: PlasmicButton__ArgsType;
53
- overrides: NodeOverridesType<"root">;
54
- };
55
- };
56
- declare const PlasmicDescendants: {
57
- readonly root: readonly ["root", "startIconContainer", "contentContainer", "endIconContainer"];
58
- readonly startIconContainer: readonly ["startIconContainer"];
59
- readonly contentContainer: readonly ["contentContainer"];
60
- readonly endIconContainer: readonly ["endIconContainer"];
61
- };
62
- type NodeNameType = keyof typeof PlasmicDescendants;
63
- type DescendantsType<T extends NodeNameType> = (typeof PlasmicDescendants)[T][number];
64
- type ReservedPropsType = "variants" | "args" | "overrides";
65
- type NodeOverridesType<T extends NodeNameType> = Pick<PlasmicButton__OverridesType, DescendantsType<T>>;
66
- export declare const PlasmicButton: {
67
- <T extends {
68
- variants?: PlasmicButton__VariantsArgs | undefined;
69
- args?: PlasmicButton__ArgsType | undefined;
70
- overrides?: NodeOverridesType<"root"> | undefined;
71
- } & 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> & {
72
- key?: React.Key | undefined;
73
- }>(props: T & StrictProps<T, {
74
- variants?: PlasmicButton__VariantsArgs | undefined;
75
- args?: PlasmicButton__ArgsType | undefined;
76
- overrides?: NodeOverridesType<"root"> | undefined;
77
- } & 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> & {
78
- key?: React.Key | undefined;
79
- }>): React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
80
- displayName: string;
81
- } & {
82
- startIconContainer: {
83
- <T_1 extends {
84
- variants?: PlasmicButton__VariantsArgs | undefined;
85
- args?: PlasmicButton__ArgsType | undefined;
86
- overrides?: NodeOverridesType<"startIconContainer"> | undefined;
87
- } & Omit<PlasmicButton__VariantsArgs, ReservedPropsType> & Omit<PlasmicButton__ArgsType, ReservedPropsType> & Omit<NodeOverridesType<"startIconContainer">, keyof PlasmicButton__VariantsArgs | keyof PlasmicButton__ArgsType | ReservedPropsType> & Omit<Partial<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>>, "startIconContainer" | keyof PlasmicButton__VariantsArgs | keyof PlasmicButton__ArgsType | ReservedPropsType> & {
88
- key?: React.Key | undefined;
89
- }>(props: T_1 & StrictProps<T_1, {
90
- variants?: PlasmicButton__VariantsArgs | undefined;
91
- args?: PlasmicButton__ArgsType | undefined;
92
- overrides?: NodeOverridesType<"startIconContainer"> | undefined;
93
- } & Omit<PlasmicButton__VariantsArgs, ReservedPropsType> & Omit<PlasmicButton__ArgsType, ReservedPropsType> & Omit<NodeOverridesType<"startIconContainer">, keyof PlasmicButton__VariantsArgs | keyof PlasmicButton__ArgsType | ReservedPropsType> & Omit<Partial<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>>, "startIconContainer" | keyof PlasmicButton__VariantsArgs | keyof PlasmicButton__ArgsType | ReservedPropsType> & {
94
- key?: React.Key | undefined;
95
- }>): React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
96
- displayName: string;
97
- };
98
- contentContainer: {
99
- <T_2 extends {
100
- variants?: PlasmicButton__VariantsArgs | undefined;
101
- args?: PlasmicButton__ArgsType | undefined;
102
- overrides?: NodeOverridesType<"contentContainer"> | undefined;
103
- } & Omit<PlasmicButton__VariantsArgs, ReservedPropsType> & Omit<PlasmicButton__ArgsType, ReservedPropsType> & Omit<NodeOverridesType<"contentContainer">, keyof PlasmicButton__VariantsArgs | keyof PlasmicButton__ArgsType | ReservedPropsType> & Omit<Partial<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>>, "contentContainer" | keyof PlasmicButton__VariantsArgs | keyof PlasmicButton__ArgsType | ReservedPropsType> & {
104
- key?: React.Key | undefined;
105
- }>(props: T_2 & StrictProps<T_2, {
106
- variants?: PlasmicButton__VariantsArgs | undefined;
107
- args?: PlasmicButton__ArgsType | undefined;
108
- overrides?: NodeOverridesType<"contentContainer"> | undefined;
109
- } & Omit<PlasmicButton__VariantsArgs, ReservedPropsType> & Omit<PlasmicButton__ArgsType, ReservedPropsType> & Omit<NodeOverridesType<"contentContainer">, keyof PlasmicButton__VariantsArgs | keyof PlasmicButton__ArgsType | ReservedPropsType> & Omit<Partial<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>>, "contentContainer" | keyof PlasmicButton__VariantsArgs | keyof PlasmicButton__ArgsType | ReservedPropsType> & {
110
- key?: React.Key | undefined;
111
- }>): React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
112
- displayName: string;
113
- };
114
- endIconContainer: {
115
- <T_3 extends {
116
- variants?: PlasmicButton__VariantsArgs | undefined;
117
- args?: PlasmicButton__ArgsType | undefined;
118
- overrides?: NodeOverridesType<"endIconContainer"> | undefined;
119
- } & Omit<PlasmicButton__VariantsArgs, ReservedPropsType> & Omit<PlasmicButton__ArgsType, ReservedPropsType> & Omit<NodeOverridesType<"endIconContainer">, keyof PlasmicButton__VariantsArgs | keyof PlasmicButton__ArgsType | ReservedPropsType> & Omit<Partial<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>>, "endIconContainer" | keyof PlasmicButton__VariantsArgs | keyof PlasmicButton__ArgsType | ReservedPropsType> & {
120
- key?: React.Key | undefined;
121
- }>(props: T_3 & StrictProps<T_3, {
122
- variants?: PlasmicButton__VariantsArgs | undefined;
123
- args?: PlasmicButton__ArgsType | undefined;
124
- overrides?: NodeOverridesType<"endIconContainer"> | undefined;
125
- } & Omit<PlasmicButton__VariantsArgs, ReservedPropsType> & Omit<PlasmicButton__ArgsType, ReservedPropsType> & Omit<NodeOverridesType<"endIconContainer">, keyof PlasmicButton__VariantsArgs | keyof PlasmicButton__ArgsType | ReservedPropsType> & Omit<Partial<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>>, "endIconContainer" | keyof PlasmicButton__VariantsArgs | keyof PlasmicButton__ArgsType | ReservedPropsType> & {
126
- key?: React.Key | undefined;
127
- }>): React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
128
- displayName: string;
129
- };
130
- internalVariantProps: (keyof PlasmicButton__VariantsArgs)[];
131
- internalArgProps: (keyof PlasmicButton__ArgsType)[];
132
- useBehavior: typeof useBehavior;
133
- };
134
- export default PlasmicButton;
@@ -1,141 +0,0 @@
1
- import { Flex as Flex__, SingleBooleanChoiceArg, SingleChoiceArg, StrictProps } from '@plasmicapp/react-web';
2
- /** @jsxRuntime classic */
3
- /** @jsx createPlasmicElementProxy */
4
- /** @jsxFrag React.Fragment */
5
- import * as React from "react";
6
- import * as pp from "@plasmicapp/react-web";
7
- export type PlasmicTextInput__VariantMembers = {
8
- showStartIcon: "showStartIcon";
9
- showEndIcon: "showEndIcon";
10
- isDisabled: "isDisabled";
11
- color: "dark" | "white";
12
- context: "_default" | "sectionHeader" | "hubSelection" | "hubCreationModal" | "searchBar" | "signInSignUpForm" | "iconSearch";
13
- textAlignment: "left" | "center";
14
- };
15
- export type PlasmicTextInput__VariantsArgs = {
16
- showStartIcon?: SingleBooleanChoiceArg<"showStartIcon">;
17
- showEndIcon?: SingleBooleanChoiceArg<"showEndIcon">;
18
- isDisabled?: SingleBooleanChoiceArg<"isDisabled">;
19
- color?: SingleChoiceArg<"dark" | "white">;
20
- context?: SingleChoiceArg<"_default" | "sectionHeader" | "hubSelection" | "hubCreationModal" | "searchBar" | "signInSignUpForm" | "iconSearch">;
21
- textAlignment?: SingleChoiceArg<"left" | "center">;
22
- };
23
- export declare const PlasmicTextInput__VariantProps: (keyof PlasmicTextInput__VariantsArgs)[];
24
- export type PlasmicTextInput__ArgsType = {
25
- placeholder?: string;
26
- endIcon?: React.ReactNode;
27
- startIcon?: React.ReactNode;
28
- value?: string;
29
- name?: string;
30
- required?: boolean;
31
- "aria-label"?: string;
32
- "aria-labelledby"?: string;
33
- onChange?: (event: any) => void;
34
- type?: "text" | "password" | "hidden" | "number" | "date" | "datetime-local" | "time" | "email" | "tel";
35
- };
36
- export declare const PlasmicTextInput__ArgProps: (keyof PlasmicTextInput__ArgsType)[];
37
- export type PlasmicTextInput__OverridesType = {
38
- root?: Flex__<"div">;
39
- startIconContainer?: Flex__<"button">;
40
- input?: Flex__<"input">;
41
- endIconContainer?: Flex__<"button">;
42
- };
43
- export interface DefaultTextInputProps extends pp.BaseTextInputProps {
44
- placeholder?: string;
45
- value?: string;
46
- name?: string;
47
- required?: boolean;
48
- "aria-label"?: string;
49
- "aria-labelledby"?: string;
50
- onChange?: (event: any) => void;
51
- type?: "text" | "password" | "hidden" | "number" | "date" | "datetime-local" | "time" | "email" | "tel";
52
- color?: SingleChoiceArg<"dark" | "white">;
53
- context?: SingleChoiceArg<"_default" | "sectionHeader" | "hubSelection" | "hubCreationModal" | "searchBar" | "signInSignUpForm" | "iconSearch">;
54
- textAlignment?: SingleChoiceArg<"left" | "center">;
55
- }
56
- declare function useBehavior<P extends pp.PlumeTextInputProps>(props: P, ref: pp.TextInputRef): {
57
- plasmicProps: {
58
- variants: PlasmicTextInput__VariantsArgs;
59
- args: PlasmicTextInput__ArgsType;
60
- overrides: NodeOverridesType<"root">;
61
- };
62
- };
63
- declare const PlasmicDescendants: {
64
- readonly root: readonly ["root", "startIconContainer", "input", "endIconContainer"];
65
- readonly startIconContainer: readonly ["startIconContainer"];
66
- readonly input: readonly ["input"];
67
- readonly endIconContainer: readonly ["endIconContainer"];
68
- };
69
- type NodeNameType = keyof typeof PlasmicDescendants;
70
- type DescendantsType<T extends NodeNameType> = (typeof PlasmicDescendants)[T][number];
71
- type ReservedPropsType = "variants" | "args" | "overrides";
72
- type NodeOverridesType<T extends NodeNameType> = Pick<PlasmicTextInput__OverridesType, DescendantsType<T>>;
73
- export declare const PlasmicTextInput: {
74
- <T extends {
75
- variants?: PlasmicTextInput__VariantsArgs | undefined;
76
- args?: PlasmicTextInput__ArgsType | undefined;
77
- overrides?: NodeOverridesType<"root"> | undefined;
78
- } & Omit<PlasmicTextInput__VariantsArgs, ReservedPropsType> & Omit<PlasmicTextInput__ArgsType, ReservedPropsType> & Omit<NodeOverridesType<"root">, keyof PlasmicTextInput__VariantsArgs | keyof PlasmicTextInput__ArgsType | ReservedPropsType> & Omit<Partial<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>>, "input" | "root" | keyof PlasmicTextInput__VariantsArgs | keyof PlasmicTextInput__ArgsType | ReservedPropsType | "startIconContainer" | "endIconContainer"> & {
79
- key?: React.Key | undefined;
80
- }>(props: T & StrictProps<T, {
81
- variants?: PlasmicTextInput__VariantsArgs | undefined;
82
- args?: PlasmicTextInput__ArgsType | undefined;
83
- overrides?: NodeOverridesType<"root"> | undefined;
84
- } & Omit<PlasmicTextInput__VariantsArgs, ReservedPropsType> & Omit<PlasmicTextInput__ArgsType, ReservedPropsType> & Omit<NodeOverridesType<"root">, keyof PlasmicTextInput__VariantsArgs | keyof PlasmicTextInput__ArgsType | ReservedPropsType> & Omit<Partial<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>>, "input" | "root" | keyof PlasmicTextInput__VariantsArgs | keyof PlasmicTextInput__ArgsType | ReservedPropsType | "startIconContainer" | "endIconContainer"> & {
85
- key?: React.Key | undefined;
86
- }>): React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
87
- displayName: string;
88
- } & {
89
- startIconContainer: {
90
- <T_1 extends {
91
- variants?: PlasmicTextInput__VariantsArgs | undefined;
92
- args?: PlasmicTextInput__ArgsType | undefined;
93
- overrides?: NodeOverridesType<"startIconContainer"> | undefined;
94
- } & Omit<PlasmicTextInput__VariantsArgs, ReservedPropsType> & Omit<PlasmicTextInput__ArgsType, ReservedPropsType> & Omit<NodeOverridesType<"startIconContainer">, keyof PlasmicTextInput__VariantsArgs | keyof PlasmicTextInput__ArgsType | ReservedPropsType> & Omit<Partial<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>>, keyof PlasmicTextInput__VariantsArgs | keyof PlasmicTextInput__ArgsType | ReservedPropsType | "startIconContainer"> & {
95
- key?: React.Key | undefined;
96
- }>(props: T_1 & StrictProps<T_1, {
97
- variants?: PlasmicTextInput__VariantsArgs | undefined;
98
- args?: PlasmicTextInput__ArgsType | undefined;
99
- overrides?: NodeOverridesType<"startIconContainer"> | undefined;
100
- } & Omit<PlasmicTextInput__VariantsArgs, ReservedPropsType> & Omit<PlasmicTextInput__ArgsType, ReservedPropsType> & Omit<NodeOverridesType<"startIconContainer">, keyof PlasmicTextInput__VariantsArgs | keyof PlasmicTextInput__ArgsType | ReservedPropsType> & Omit<Partial<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>>, keyof PlasmicTextInput__VariantsArgs | keyof PlasmicTextInput__ArgsType | ReservedPropsType | "startIconContainer"> & {
101
- key?: React.Key | undefined;
102
- }>): React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
103
- displayName: string;
104
- };
105
- input: {
106
- <T_2 extends {
107
- variants?: PlasmicTextInput__VariantsArgs | undefined;
108
- args?: PlasmicTextInput__ArgsType | undefined;
109
- overrides?: NodeOverridesType<"input"> | undefined;
110
- } & Omit<PlasmicTextInput__VariantsArgs, ReservedPropsType> & Omit<PlasmicTextInput__ArgsType, ReservedPropsType> & Omit<NodeOverridesType<"input">, keyof PlasmicTextInput__VariantsArgs | keyof PlasmicTextInput__ArgsType | ReservedPropsType> & Omit<Partial<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>>, "input" | keyof PlasmicTextInput__VariantsArgs | keyof PlasmicTextInput__ArgsType | ReservedPropsType> & {
111
- key?: React.Key | undefined;
112
- }>(props: T_2 & StrictProps<T_2, {
113
- variants?: PlasmicTextInput__VariantsArgs | undefined;
114
- args?: PlasmicTextInput__ArgsType | undefined;
115
- overrides?: NodeOverridesType<"input"> | undefined;
116
- } & Omit<PlasmicTextInput__VariantsArgs, ReservedPropsType> & Omit<PlasmicTextInput__ArgsType, ReservedPropsType> & Omit<NodeOverridesType<"input">, keyof PlasmicTextInput__VariantsArgs | keyof PlasmicTextInput__ArgsType | ReservedPropsType> & Omit<Partial<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>>, "input" | keyof PlasmicTextInput__VariantsArgs | keyof PlasmicTextInput__ArgsType | ReservedPropsType> & {
117
- key?: React.Key | undefined;
118
- }>): React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
119
- displayName: string;
120
- };
121
- endIconContainer: {
122
- <T_3 extends {
123
- variants?: PlasmicTextInput__VariantsArgs | undefined;
124
- args?: PlasmicTextInput__ArgsType | undefined;
125
- overrides?: NodeOverridesType<"endIconContainer"> | undefined;
126
- } & Omit<PlasmicTextInput__VariantsArgs, ReservedPropsType> & Omit<PlasmicTextInput__ArgsType, ReservedPropsType> & Omit<NodeOverridesType<"endIconContainer">, keyof PlasmicTextInput__VariantsArgs | keyof PlasmicTextInput__ArgsType | ReservedPropsType> & Omit<Partial<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>>, keyof PlasmicTextInput__VariantsArgs | keyof PlasmicTextInput__ArgsType | ReservedPropsType | "endIconContainer"> & {
127
- key?: React.Key | undefined;
128
- }>(props: T_3 & StrictProps<T_3, {
129
- variants?: PlasmicTextInput__VariantsArgs | undefined;
130
- args?: PlasmicTextInput__ArgsType | undefined;
131
- overrides?: NodeOverridesType<"endIconContainer"> | undefined;
132
- } & Omit<PlasmicTextInput__VariantsArgs, ReservedPropsType> & Omit<PlasmicTextInput__ArgsType, ReservedPropsType> & Omit<NodeOverridesType<"endIconContainer">, keyof PlasmicTextInput__VariantsArgs | keyof PlasmicTextInput__ArgsType | ReservedPropsType> & Omit<Partial<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>>, keyof PlasmicTextInput__VariantsArgs | keyof PlasmicTextInput__ArgsType | ReservedPropsType | "endIconContainer"> & {
133
- key?: React.Key | undefined;
134
- }>): React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
135
- displayName: string;
136
- };
137
- internalVariantProps: (keyof PlasmicTextInput__VariantsArgs)[];
138
- internalArgProps: (keyof PlasmicTextInput__ArgsType)[];
139
- useBehavior: typeof useBehavior;
140
- };
141
- export default PlasmicTextInput;
@@ -1,141 +0,0 @@
1
- import { Flex as Flex__, SingleBooleanChoiceArg, SingleChoiceArg, StrictProps } from '@plasmicapp/react-web';
2
- /** @jsxRuntime classic */
3
- /** @jsx createPlasmicElementProxy */
4
- /** @jsxFrag React.Fragment */
5
- import * as React from "react";
6
- import * as pp from "@plasmicapp/react-web";
7
- export type PlasmicTextInput2__VariantMembers = {
8
- showStartIcon: "showStartIcon";
9
- showEndIcon: "showEndIcon";
10
- isDisabled: "isDisabled";
11
- color: "dark" | "white";
12
- context: "_default" | "sectionHeader" | "hubSelection" | "hubCreationModal" | "searchBar" | "signInSignUpForm" | "waitlistSignup";
13
- textAlignment: "left" | "center";
14
- };
15
- export type PlasmicTextInput2__VariantsArgs = {
16
- showStartIcon?: SingleBooleanChoiceArg<"showStartIcon">;
17
- showEndIcon?: SingleBooleanChoiceArg<"showEndIcon">;
18
- isDisabled?: SingleBooleanChoiceArg<"isDisabled">;
19
- color?: SingleChoiceArg<"dark" | "white">;
20
- context?: SingleChoiceArg<"_default" | "sectionHeader" | "hubSelection" | "hubCreationModal" | "searchBar" | "signInSignUpForm" | "waitlistSignup">;
21
- textAlignment?: SingleChoiceArg<"left" | "center">;
22
- };
23
- export declare const PlasmicTextInput2__VariantProps: (keyof PlasmicTextInput2__VariantsArgs)[];
24
- export type PlasmicTextInput2__ArgsType = {
25
- placeholder?: string;
26
- endIcon?: React.ReactNode;
27
- startIcon?: React.ReactNode;
28
- value?: string;
29
- name?: string;
30
- required?: boolean;
31
- "aria-label"?: string;
32
- "aria-labelledby"?: string;
33
- onChange?: (event: any) => void;
34
- type?: "text" | "password" | "hidden" | "number" | "date" | "datetime-local" | "time" | "email" | "tel";
35
- };
36
- export declare const PlasmicTextInput2__ArgProps: (keyof PlasmicTextInput2__ArgsType)[];
37
- export type PlasmicTextInput2__OverridesType = {
38
- root?: Flex__<"div">;
39
- startIconContainer?: Flex__<"button">;
40
- input?: Flex__<"input">;
41
- endIconContainer?: Flex__<"button">;
42
- };
43
- export interface DefaultTextInput2Props extends pp.BaseTextInputProps {
44
- placeholder?: string;
45
- value?: string;
46
- name?: string;
47
- required?: boolean;
48
- "aria-label"?: string;
49
- "aria-labelledby"?: string;
50
- onChange?: (event: any) => void;
51
- type?: "text" | "password" | "hidden" | "number" | "date" | "datetime-local" | "time" | "email" | "tel";
52
- color?: SingleChoiceArg<"dark" | "white">;
53
- context?: SingleChoiceArg<"_default" | "sectionHeader" | "hubSelection" | "hubCreationModal" | "searchBar" | "signInSignUpForm" | "waitlistSignup">;
54
- textAlignment?: SingleChoiceArg<"left" | "center">;
55
- }
56
- declare function useBehavior<P extends pp.PlumeTextInputProps>(props: P, ref: pp.TextInputRef): {
57
- plasmicProps: {
58
- variants: PlasmicTextInput2__VariantsArgs;
59
- args: PlasmicTextInput2__ArgsType;
60
- overrides: NodeOverridesType<"root">;
61
- };
62
- };
63
- declare const PlasmicDescendants: {
64
- readonly root: readonly ["root", "startIconContainer", "input", "endIconContainer"];
65
- readonly startIconContainer: readonly ["startIconContainer"];
66
- readonly input: readonly ["input"];
67
- readonly endIconContainer: readonly ["endIconContainer"];
68
- };
69
- type NodeNameType = keyof typeof PlasmicDescendants;
70
- type DescendantsType<T extends NodeNameType> = (typeof PlasmicDescendants)[T][number];
71
- type ReservedPropsType = "variants" | "args" | "overrides";
72
- type NodeOverridesType<T extends NodeNameType> = Pick<PlasmicTextInput2__OverridesType, DescendantsType<T>>;
73
- export declare const PlasmicTextInput2: {
74
- <T extends {
75
- variants?: PlasmicTextInput2__VariantsArgs | undefined;
76
- args?: PlasmicTextInput2__ArgsType | undefined;
77
- overrides?: NodeOverridesType<"root"> | undefined;
78
- } & Omit<PlasmicTextInput2__VariantsArgs, ReservedPropsType> & Omit<PlasmicTextInput2__ArgsType, ReservedPropsType> & Omit<NodeOverridesType<"root">, keyof PlasmicTextInput2__VariantsArgs | keyof PlasmicTextInput2__ArgsType | ReservedPropsType> & Omit<Partial<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>>, "input" | "root" | "startIconContainer" | "endIconContainer" | keyof PlasmicTextInput2__VariantsArgs | keyof PlasmicTextInput2__ArgsType | ReservedPropsType> & {
79
- key?: React.Key | undefined;
80
- }>(props: T & StrictProps<T, {
81
- variants?: PlasmicTextInput2__VariantsArgs | undefined;
82
- args?: PlasmicTextInput2__ArgsType | undefined;
83
- overrides?: NodeOverridesType<"root"> | undefined;
84
- } & Omit<PlasmicTextInput2__VariantsArgs, ReservedPropsType> & Omit<PlasmicTextInput2__ArgsType, ReservedPropsType> & Omit<NodeOverridesType<"root">, keyof PlasmicTextInput2__VariantsArgs | keyof PlasmicTextInput2__ArgsType | ReservedPropsType> & Omit<Partial<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>>, "input" | "root" | "startIconContainer" | "endIconContainer" | keyof PlasmicTextInput2__VariantsArgs | keyof PlasmicTextInput2__ArgsType | ReservedPropsType> & {
85
- key?: React.Key | undefined;
86
- }>): React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
87
- displayName: string;
88
- } & {
89
- startIconContainer: {
90
- <T_1 extends {
91
- variants?: PlasmicTextInput2__VariantsArgs | undefined;
92
- args?: PlasmicTextInput2__ArgsType | undefined;
93
- overrides?: NodeOverridesType<"startIconContainer"> | undefined;
94
- } & Omit<PlasmicTextInput2__VariantsArgs, ReservedPropsType> & Omit<PlasmicTextInput2__ArgsType, ReservedPropsType> & Omit<NodeOverridesType<"startIconContainer">, keyof PlasmicTextInput2__VariantsArgs | keyof PlasmicTextInput2__ArgsType | ReservedPropsType> & Omit<Partial<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>>, "startIconContainer" | keyof PlasmicTextInput2__VariantsArgs | keyof PlasmicTextInput2__ArgsType | ReservedPropsType> & {
95
- key?: React.Key | undefined;
96
- }>(props: T_1 & StrictProps<T_1, {
97
- variants?: PlasmicTextInput2__VariantsArgs | undefined;
98
- args?: PlasmicTextInput2__ArgsType | undefined;
99
- overrides?: NodeOverridesType<"startIconContainer"> | undefined;
100
- } & Omit<PlasmicTextInput2__VariantsArgs, ReservedPropsType> & Omit<PlasmicTextInput2__ArgsType, ReservedPropsType> & Omit<NodeOverridesType<"startIconContainer">, keyof PlasmicTextInput2__VariantsArgs | keyof PlasmicTextInput2__ArgsType | ReservedPropsType> & Omit<Partial<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>>, "startIconContainer" | keyof PlasmicTextInput2__VariantsArgs | keyof PlasmicTextInput2__ArgsType | ReservedPropsType> & {
101
- key?: React.Key | undefined;
102
- }>): React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
103
- displayName: string;
104
- };
105
- input: {
106
- <T_2 extends {
107
- variants?: PlasmicTextInput2__VariantsArgs | undefined;
108
- args?: PlasmicTextInput2__ArgsType | undefined;
109
- overrides?: NodeOverridesType<"input"> | undefined;
110
- } & Omit<PlasmicTextInput2__VariantsArgs, ReservedPropsType> & Omit<PlasmicTextInput2__ArgsType, ReservedPropsType> & Omit<NodeOverridesType<"input">, keyof PlasmicTextInput2__VariantsArgs | keyof PlasmicTextInput2__ArgsType | ReservedPropsType> & Omit<Partial<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>>, "input" | keyof PlasmicTextInput2__VariantsArgs | keyof PlasmicTextInput2__ArgsType | ReservedPropsType> & {
111
- key?: React.Key | undefined;
112
- }>(props: T_2 & StrictProps<T_2, {
113
- variants?: PlasmicTextInput2__VariantsArgs | undefined;
114
- args?: PlasmicTextInput2__ArgsType | undefined;
115
- overrides?: NodeOverridesType<"input"> | undefined;
116
- } & Omit<PlasmicTextInput2__VariantsArgs, ReservedPropsType> & Omit<PlasmicTextInput2__ArgsType, ReservedPropsType> & Omit<NodeOverridesType<"input">, keyof PlasmicTextInput2__VariantsArgs | keyof PlasmicTextInput2__ArgsType | ReservedPropsType> & Omit<Partial<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>>, "input" | keyof PlasmicTextInput2__VariantsArgs | keyof PlasmicTextInput2__ArgsType | ReservedPropsType> & {
117
- key?: React.Key | undefined;
118
- }>): React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
119
- displayName: string;
120
- };
121
- endIconContainer: {
122
- <T_3 extends {
123
- variants?: PlasmicTextInput2__VariantsArgs | undefined;
124
- args?: PlasmicTextInput2__ArgsType | undefined;
125
- overrides?: NodeOverridesType<"endIconContainer"> | undefined;
126
- } & Omit<PlasmicTextInput2__VariantsArgs, ReservedPropsType> & Omit<PlasmicTextInput2__ArgsType, ReservedPropsType> & Omit<NodeOverridesType<"endIconContainer">, keyof PlasmicTextInput2__VariantsArgs | keyof PlasmicTextInput2__ArgsType | ReservedPropsType> & Omit<Partial<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>>, "endIconContainer" | keyof PlasmicTextInput2__VariantsArgs | keyof PlasmicTextInput2__ArgsType | ReservedPropsType> & {
127
- key?: React.Key | undefined;
128
- }>(props: T_3 & StrictProps<T_3, {
129
- variants?: PlasmicTextInput2__VariantsArgs | undefined;
130
- args?: PlasmicTextInput2__ArgsType | undefined;
131
- overrides?: NodeOverridesType<"endIconContainer"> | undefined;
132
- } & Omit<PlasmicTextInput2__VariantsArgs, ReservedPropsType> & Omit<PlasmicTextInput2__ArgsType, ReservedPropsType> & Omit<NodeOverridesType<"endIconContainer">, keyof PlasmicTextInput2__VariantsArgs | keyof PlasmicTextInput2__ArgsType | ReservedPropsType> & Omit<Partial<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>>, "endIconContainer" | keyof PlasmicTextInput2__VariantsArgs | keyof PlasmicTextInput2__ArgsType | ReservedPropsType> & {
133
- key?: React.Key | undefined;
134
- }>): React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
135
- displayName: string;
136
- };
137
- internalVariantProps: (keyof PlasmicTextInput2__VariantsArgs)[];
138
- internalArgProps: (keyof PlasmicTextInput2__ArgsType)[];
139
- useBehavior: typeof useBehavior;
140
- };
141
- export default PlasmicTextInput2;