pollination-react-io 0.0.41 → 0.0.42
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/AuthUser/AuthUser.d.ts +3 -3
- package/build/CreateStudy/CreateStudy.d.ts +6 -0
- package/build/CreateStudy/CreateStudy.types.d.ts +2 -0
- package/build/PreviewBakeGeometry/PreviewBakeGeometry.d.ts +2 -2
- package/build/PreviewBakeModel/PreviewBakeModel.d.ts +2 -2
- package/build/RecipeInputsForm/RecipeInputsForm.d.ts +4 -0
- package/build/RecipeInputsForm/RecipeInputsForm.types.d.ts +4 -0
- package/build/RunCommand/RunCommand.d.ts +3 -3
- package/build/SelectAccount/SelectAccount.d.ts +6 -0
- package/build/SelectAccount/SelectAccount.types.d.ts +9 -0
- package/build/SelectProject/SelectProject.d.ts +6 -0
- package/build/SelectProject/SelectProject.types.d.ts +8 -0
- package/build/SelectRecipe/SelectRecipe.d.ts +4 -0
- package/build/SelectRecipe/SelectRecipe.types.d.ts +8 -0
- package/build/SendResults/SendResults.d.ts +3 -3
- package/build/atoms/Avatar/Avatar.d.ts +11 -0
- package/build/atoms/ComboBox/ComboBox.d.ts +6 -0
- package/build/atoms/ComboBox/Combobox.types.d.ts +17 -0
- package/build/atoms/Dropdown/Dropdown.d.ts +2 -1
- package/build/atoms/FileInput/FileInput.d.ts +5 -5
- package/build/atoms/Label/Label.d.ts +4 -0
- package/build/atoms/Label/Label.types.d.ts +4 -0
- package/build/atoms/Logo/index.d.ts +1 -1
- package/build/atoms/SettingsButton/index.d.ts +1 -1
- package/build/atoms/TextInput/TextInput.d.ts +5 -0
- package/build/atoms/TextInput/TextInput.types.d.ts +6 -0
- package/build/atoms/Tooltip/index.d.ts +2 -2
- package/build/atoms/index.d.ts +10 -0
- package/build/hooks/utilities.d.ts +1 -3
- package/build/index.esm.js +6012 -725
- package/build/index.esm.js.map +1 -1
- package/build/index.js +6010 -724
- package/build/index.js.map +1 -1
- package/package.json +19 -7
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { AuthUserProps } from
|
|
3
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AuthUserProps } from './AuthUser.types';
|
|
3
|
+
import './AuthUser.scss';
|
|
4
4
|
export declare const AuthUser: React.FC<AuthUserProps>;
|
|
5
5
|
export default AuthUser;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { PreviewBakeGeometryProps } from
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PreviewBakeGeometryProps } from './PreviewBakeGeometry.types';
|
|
3
3
|
export declare const PreviewBakeGeometry: React.FC<PreviewBakeGeometryProps>;
|
|
4
4
|
export default PreviewBakeGeometry;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { PreviewBakeModelProps } from
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PreviewBakeModelProps } from './PreviewBakeModel.types';
|
|
3
3
|
export declare const PreviewBakeModel: React.FC<PreviewBakeModelProps>;
|
|
4
4
|
export default PreviewBakeModel;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { RunCommandProps } from
|
|
3
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { RunCommandProps } from './RunCommand.types';
|
|
3
|
+
import './RunCommand.scss';
|
|
4
4
|
declare const RunCommand: React.FC<RunCommandProps>;
|
|
5
5
|
export default RunCommand;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Organization, UserPrivate } from "@pollination-solutions/pollination-sdk";
|
|
2
|
+
import { CSSProperties } from "react";
|
|
3
|
+
import { APIClient } from "../hooks";
|
|
4
|
+
export interface SelectAccountProps {
|
|
5
|
+
authUser?: UserPrivate;
|
|
6
|
+
client?: APIClient;
|
|
7
|
+
style?: CSSProperties;
|
|
8
|
+
setSelAccount?: (account: UserPrivate | Organization) => void;
|
|
9
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Project, ProjectsApiListProjectsRequest, UserPrivate } from "@pollination-solutions/pollination-sdk";
|
|
2
|
+
import { APIClient } from "../hooks";
|
|
3
|
+
export interface SelectProjectProps {
|
|
4
|
+
authUser?: UserPrivate;
|
|
5
|
+
client?: APIClient;
|
|
6
|
+
setSelProject?: (project: Project) => void;
|
|
7
|
+
queryConfig?: Partial<ProjectsApiListProjectsRequest>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { RecipeInterface, UserPrivate } from '@pollination-solutions/pollination-sdk';
|
|
2
|
+
import { APIClient } from '../hooks';
|
|
3
|
+
export interface SelectRecipeProps {
|
|
4
|
+
projectName?: string;
|
|
5
|
+
authUser?: UserPrivate;
|
|
6
|
+
client?: APIClient;
|
|
7
|
+
setSelRecipe?: (recipe: RecipeInterface) => void;
|
|
8
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { SendResultsProps } from
|
|
3
|
-
import '../buttons.scss';
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SendResultsProps } from './SendResults.types';
|
|
3
|
+
import '../styles/buttons.scss';
|
|
4
4
|
export declare const SendResults: React.FC<SendResultsProps>;
|
|
5
5
|
export default SendResults;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React, { CSSProperties } from 'react';
|
|
2
|
+
interface AvatarProps {
|
|
3
|
+
alt?: string;
|
|
4
|
+
fallback?: string;
|
|
5
|
+
href?: string;
|
|
6
|
+
src?: string;
|
|
7
|
+
size?: number;
|
|
8
|
+
style?: CSSProperties;
|
|
9
|
+
}
|
|
10
|
+
export declare const Avatar: React.FC<AvatarProps>;
|
|
11
|
+
export default Avatar;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ComboBoxProps } from './Combobox.types';
|
|
3
|
+
import 'react-perfect-scrollbar/dist/css/styles.css';
|
|
4
|
+
import './ComboBox.scss';
|
|
5
|
+
export declare const ComboBox: React.ForwardRefExoticComponent<ComboBoxProps>;
|
|
6
|
+
export default ComboBox;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { CSSProperties, HTMLProps, ReactNode, Ref } from 'react';
|
|
2
|
+
export interface ComboBoxProps {
|
|
3
|
+
items: {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
}[];
|
|
7
|
+
renderItem?: (item: any) => ReactNode;
|
|
8
|
+
setSelected?: (item: any) => void;
|
|
9
|
+
loading?: boolean;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
inputStyle?: CSSProperties;
|
|
12
|
+
menuStyle?: CSSProperties;
|
|
13
|
+
inputProps?: HTMLProps<HTMLInputElement>;
|
|
14
|
+
footer?: string | ReactNode;
|
|
15
|
+
noMatchText?: string;
|
|
16
|
+
ref?: Ref<any>;
|
|
17
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { FC } from 'react';
|
|
2
2
|
import * as DropdownMenu from '@radix-ui/react-dropdown-menu';
|
|
3
|
-
import
|
|
3
|
+
import './Dropdown.scss';
|
|
4
4
|
export declare type Option = {
|
|
5
5
|
type: 'checkbox' | 'radio' | 'button' | 'label' | 'link';
|
|
6
6
|
id: string;
|
|
@@ -18,6 +18,7 @@ export declare type OptionGroup = {
|
|
|
18
18
|
interface DropdownProps {
|
|
19
19
|
optionGroups: OptionGroup[];
|
|
20
20
|
trigger: React.ReactNode;
|
|
21
|
+
open?: boolean;
|
|
21
22
|
contentProps?: DropdownMenu.DropdownMenuContentProps;
|
|
22
23
|
itemProps?: DropdownMenu.DropdownMenuItemProps;
|
|
23
24
|
arrow?: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { FileInputProps } from
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
declare const FileInput: React.FC<FileInputProps>;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { FileInputProps } from './FileInput.types';
|
|
3
|
+
import './FileInput.scss';
|
|
4
|
+
import '../../styles/typography.scss';
|
|
5
|
+
export declare const FileInput: React.FC<FileInputProps>;
|
|
6
6
|
export default FileInput;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare
|
|
2
|
+
export declare const Logo: () => JSX.Element;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React, { CSSProperties, FC } from
|
|
1
|
+
import React, { CSSProperties, FC } from 'react';
|
|
2
2
|
import './Tooltip.scss';
|
|
3
3
|
interface TooltipProps {
|
|
4
4
|
content: React.ReactNode | string;
|
|
5
|
-
side?:
|
|
5
|
+
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
6
6
|
children?: React.ReactNode;
|
|
7
7
|
style?: CSSProperties;
|
|
8
8
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './Avatar/Avatar';
|
|
2
|
+
export * from './ConditionalWrapper';
|
|
3
|
+
export * from './ComboBox/ComboBox';
|
|
4
|
+
export * from './Dropdown/Dropdown';
|
|
5
|
+
export * from './FileInput/FileInput';
|
|
6
|
+
export * from './Label/Label';
|
|
7
|
+
export * from './Logo';
|
|
8
|
+
export * from './SettingsButton';
|
|
9
|
+
export * from './TextInput/TextInput';
|
|
10
|
+
export * from './Tooltip';
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
import { Message } from './types';
|
|
1
|
+
import type { Message } from './types';
|
|
3
2
|
export declare function checkDotNet(): boolean;
|
|
4
3
|
export declare function checkRuby(): boolean;
|
|
5
4
|
export declare function sendMessageDotNet(message: Message): Message;
|
|
6
5
|
export declare function sendMessageRuby(message: Message): Message;
|
|
7
|
-
export declare function subscribeDotNet(interval?: number): (setState: any) => NodeJS.Timer;
|
|
8
6
|
export declare function getHost(key?: string, defaultValue?: string): any;
|