pollination-react-io 1.8.2 → 1.9.0
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/build/ComboFileSelector/ComboFileSelector.types.d.ts +1 -1
- package/build/ConfigureLocalRun/ConfigureLocalRun.d.ts +5 -0
- package/build/ConfigureLocalRun/ConfigureLocalRun.types.d.ts +3 -0
- package/build/RecipeInputsForm/RecipeInputsForm.types.d.ts +1 -0
- package/build/SelectCloudArtifacts/SelectCloudArtifacts.d.ts +1 -1
- package/build/SelectLocalArtifacts/SelectLocalArtifacts.d.ts +4 -0
- package/build/SelectLocalArtifacts/SelectLocalArtifacts.types.d.ts +5 -0
- package/build/SelectLocalArtifacts/getFileTypeIcon.d.ts +2 -0
- package/build/atoms/ComboBox/ComboBox.types.d.ts +11 -10
- package/build/atoms/Label/Label.types.d.ts +1 -0
- package/build/atoms/NumberInput/NumberInput.d.ts +1 -0
- package/build/hooks/useManageSettings.d.ts +1 -1
- package/build/hooks/useRunCommand.d.ts +1 -1
- package/build/hooks/useSendGeometry.d.ts +1 -1
- package/build/hooks/useSendHbjson.d.ts +1 -1
- package/build/hooks/utilities.d.ts +1 -1
- package/build/index.d.ts +3 -0
- package/build/index.esm.js +780 -322
- package/build/index.esm.js.map +1 -1
- package/build/index.js +782 -321
- package/build/index.js.map +1 -1
- package/package.json +2 -1
|
@@ -3,7 +3,7 @@ import { APIClient } from '../hooks';
|
|
|
3
3
|
export interface ComboFileSelectorProps {
|
|
4
4
|
projectOwner?: string;
|
|
5
5
|
projectName?: string;
|
|
6
|
-
defaultOption?: 'get_model' | 'get_file' | 'get_cloud';
|
|
6
|
+
defaultOption?: 'get_model' | 'get_file' | 'get_cloud' | 'get_local';
|
|
7
7
|
onChange?: (...any: any) => void;
|
|
8
8
|
client: APIClient;
|
|
9
9
|
inputProps?: HTMLProps<HTMLInputElement>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { SelectCloudArtifactsProps } from './SelectCloudArtifacts.types';
|
|
3
|
-
declare const SelectCloudArtifacts: React.FC<SelectCloudArtifactsProps>;
|
|
3
|
+
export declare const SelectCloudArtifacts: React.FC<SelectCloudArtifactsProps>;
|
|
4
4
|
export default SelectCloudArtifacts;
|
|
@@ -7,16 +7,6 @@ export interface ComboBoxProps {
|
|
|
7
7
|
}[];
|
|
8
8
|
renderItem?: (item: any, i?: number, arr?: any[]) => ReactNode;
|
|
9
9
|
setSelected?: (item: any) => void;
|
|
10
|
-
loading?: boolean;
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
icon?: ReactElement;
|
|
13
|
-
inputStyle?: CSSProperties;
|
|
14
|
-
menuStyle?: CSSProperties;
|
|
15
|
-
inputProps?: HTMLProps<HTMLInputElement>;
|
|
16
|
-
header?: ReactNode;
|
|
17
|
-
footer?: string | ReactNode;
|
|
18
|
-
noMatchText?: string;
|
|
19
|
-
ref?: Ref<any>;
|
|
20
10
|
onScrollReachEnd?: (...args: any) => void;
|
|
21
11
|
stateReducer?: (state: UseComboboxState<{
|
|
22
12
|
id: string;
|
|
@@ -28,4 +18,15 @@ export interface ComboBoxProps {
|
|
|
28
18
|
id: string;
|
|
29
19
|
name: string;
|
|
30
20
|
}>>;
|
|
21
|
+
loading?: boolean;
|
|
22
|
+
disabled?: boolean;
|
|
23
|
+
icon?: ReactElement;
|
|
24
|
+
inputStyle?: CSSProperties;
|
|
25
|
+
menuStyle?: CSSProperties;
|
|
26
|
+
maxHeight?: number;
|
|
27
|
+
inputProps?: HTMLProps<HTMLInputElement>;
|
|
28
|
+
header?: ReactNode;
|
|
29
|
+
footer?: string | ReactNode;
|
|
30
|
+
noMatchText?: string;
|
|
31
|
+
ref?: Ref<any>;
|
|
31
32
|
}
|
|
@@ -9,7 +9,7 @@ interface SendGeometry {
|
|
|
9
9
|
}
|
|
10
10
|
declare type SendGeometryMessage = Message & SendGeometry;
|
|
11
11
|
export declare const useSendGeometry: () => {
|
|
12
|
-
host:
|
|
12
|
+
host: "web" | "rhino" | "revit" | "sketchup";
|
|
13
13
|
state: {};
|
|
14
14
|
sendGeometry: (action: GeometryAction | ResultsAction, message: SendGeometryMessage) => Message;
|
|
15
15
|
};
|
|
@@ -9,7 +9,7 @@ interface SendGeometry {
|
|
|
9
9
|
}
|
|
10
10
|
declare type SendGeometryMessage = Message & SendGeometry;
|
|
11
11
|
export declare const useSendHbjson: () => {
|
|
12
|
-
host:
|
|
12
|
+
host: "web" | "rhino" | "revit" | "sketchup";
|
|
13
13
|
state: {};
|
|
14
14
|
sendHbjson: (action: ModelAction, message: SendGeometryMessage) => Message;
|
|
15
15
|
};
|
|
@@ -3,4 +3,4 @@ export declare function checkDotNet(): boolean;
|
|
|
3
3
|
export declare function checkRuby(): boolean;
|
|
4
4
|
export declare function sendMessageDotNet(message: Message): Message;
|
|
5
5
|
export declare function sendMessageRuby(message: Message): Message;
|
|
6
|
-
export declare function getHost(key?: string, defaultValue?:
|
|
6
|
+
export declare function getHost(key?: string, defaultValue?: 'web' | 'rhino' | 'revit' | 'sketchup'): 'web' | 'rhino' | 'revit' | 'sketchup';
|
package/build/index.d.ts
CHANGED
|
@@ -2,10 +2,13 @@ export * from './hooks';
|
|
|
2
2
|
export * from './AuthUser/AuthUser';
|
|
3
3
|
export * from './CreateStudy/CreateStudy';
|
|
4
4
|
export * from './ComboFileSelector/ComboFileSelector';
|
|
5
|
+
export * from './ConfigureLocalRun/ConfigureLocalRun';
|
|
5
6
|
export * from './GetGeometry/GetGeometry';
|
|
6
7
|
export * from './GetModel/GetModel';
|
|
7
8
|
export * from './RunCommand/RunCommand';
|
|
8
9
|
export * from './SelectAccount/SelectAccount';
|
|
10
|
+
export * from './SelectCloudArtifacts/SelectCloudArtifacts';
|
|
11
|
+
export * from './SelectLocalArtifacts/SelectLocalArtifacts';
|
|
9
12
|
export * from './SelectStudy/SelectStudy';
|
|
10
13
|
export * from './SelectProject/SelectProject';
|
|
11
14
|
export * from './SelectRecipe/SelectRecipe';
|