@pipedream/connect-react 1.0.0-preview.18 → 1.0.0-preview.19
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/connect-react.es.js +3709 -3637
- package/dist/connect-react.umd.d.ts +11 -1
- package/dist/connect-react.umd.js +12 -12
- package/package.json +2 -2
|
@@ -43,6 +43,10 @@ export declare type BaseReactSelectProps<Option, IsMulti extends boolean, Group
|
|
|
43
43
|
styles?: StylesConfig;
|
|
44
44
|
};
|
|
45
45
|
|
|
46
|
+
declare type ButtonProps = {
|
|
47
|
+
onChange: () => void;
|
|
48
|
+
};
|
|
49
|
+
|
|
46
50
|
export declare type Colors = {
|
|
47
51
|
primary: string;
|
|
48
52
|
primary75: string;
|
|
@@ -104,7 +108,7 @@ declare type ControlProps<T extends ConfigurableProps, U extends ConfigurablePro
|
|
|
104
108
|
form: FormContext<T>;
|
|
105
109
|
};
|
|
106
110
|
|
|
107
|
-
export declare function ControlSelect<T>({ isCreatable, options, selectProps, }: ControlSelectProps<T>): JSX_2.Element;
|
|
111
|
+
export declare function ControlSelect<T>({ isCreatable, options, selectProps, showLoadMoreButton, onLoadMore, }: ControlSelectProps<T>): JSX_2.Element;
|
|
108
112
|
|
|
109
113
|
declare type ControlSelectProps<T> = {
|
|
110
114
|
isCreatable?: boolean;
|
|
@@ -113,6 +117,8 @@ declare type ControlSelectProps<T> = {
|
|
|
113
117
|
value: T;
|
|
114
118
|
}[];
|
|
115
119
|
selectProps?: Props;
|
|
120
|
+
showLoadMoreButton?: boolean;
|
|
121
|
+
onLoadMore?: () => void;
|
|
116
122
|
};
|
|
117
123
|
|
|
118
124
|
export declare function ControlSubmit(props: ControlSubmitProps): JSX_2.Element;
|
|
@@ -153,6 +159,7 @@ export declare type CustomizableProps = {
|
|
|
153
159
|
label: ComponentProps<typeof Label>;
|
|
154
160
|
optionalFields: ComponentProps<typeof ComponentForm>;
|
|
155
161
|
optionalFieldButton: ComponentProps<typeof OptionalFieldButton>;
|
|
162
|
+
loadMoreButton: ComponentProps<typeof LoadMoreButton>;
|
|
156
163
|
};
|
|
157
164
|
|
|
158
165
|
export declare type Customization = {
|
|
@@ -210,6 +217,7 @@ export declare const defaultComponents: {
|
|
|
210
217
|
Errors: typeof Errors;
|
|
211
218
|
Label: typeof Label;
|
|
212
219
|
OptionalFieldButton: (props: OptionalFieldButtonProps) => JSX_2.Element;
|
|
220
|
+
Button: (props: ButtonProps) => JSX_2.Element;
|
|
213
221
|
};
|
|
214
222
|
|
|
215
223
|
export declare const defaultTheme: Theme;
|
|
@@ -325,6 +333,8 @@ declare type LabelProps<T extends ConfigurableProps, U extends ConfigurableProp>
|
|
|
325
333
|
form: FormContext<T>;
|
|
326
334
|
};
|
|
327
335
|
|
|
336
|
+
declare const LoadMoreButton: (props: ButtonProps) => JSX_2.Element;
|
|
337
|
+
|
|
328
338
|
export declare function mergeTheme(target: Theme, ...sources: (PartialTheme | undefined)[]): Theme;
|
|
329
339
|
|
|
330
340
|
export declare const OptionalFieldButton: (props: OptionalFieldButtonProps) => JSX_2.Element;
|