pollination-react-io 1.9.1 → 1.9.2

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.
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
2
  import { ComboFileSelectorProps } from './ComboFileSelector.types';
3
+ import './ComboFileSelector.scss';
3
4
  export declare const ComboFileSelector: React.FC<ComboFileSelectorProps>;
4
5
  export default ComboFileSelector;
@@ -5,6 +5,7 @@ export interface ComboFileSelectorProps {
5
5
  projectName?: string;
6
6
  defaultOption?: 'get_model' | 'get_file' | 'get_cloud' | 'get_local';
7
7
  onChange?: (...any: any) => void;
8
+ disabled?: boolean;
8
9
  client: APIClient;
9
10
  inputProps?: HTMLProps<HTMLInputElement>;
10
11
  }
@@ -1,3 +1,4 @@
1
1
  export interface ConfigureLocalRunProps {
2
2
  defaultOption?: 'cloud' | 'local';
3
+ disabled?: boolean;
3
4
  }
@@ -3,7 +3,7 @@ import { APIClient } from '../hooks';
3
3
  export interface SelectCloudArtifactsProps {
4
4
  projectOwner?: string;
5
5
  projectName?: string;
6
- fileExtensionMatch?: string;
6
+ fileNameMatch?: string;
7
7
  onChange?: (artifact: FileMeta) => void;
8
8
  client?: APIClient;
9
9
  }
@@ -1,4 +1,4 @@
1
- import { Project, ProjectsApiListProjectsRequest, UserPrivate } from '@pollination-solutions/pollination-sdk';
1
+ import { Project, UserPrivate } from '@pollination-solutions/pollination-sdk';
2
2
  import { APIClient } from '../hooks';
3
3
  export interface SelectStudyProps {
4
4
  projectName?: string;
@@ -6,5 +6,4 @@ export interface SelectStudyProps {
6
6
  authUser?: UserPrivate;
7
7
  client?: APIClient;
8
8
  setSelStudy?: (project: Project) => void;
9
- queryConfig?: Partial<ProjectsApiListProjectsRequest>;
10
9
  }
@@ -1,5 +1,5 @@
1
1
  import React, { CSSProperties } from 'react';
2
- interface AvatarProps {
2
+ export interface AvatarProps {
3
3
  alt?: string;
4
4
  fallback?: string;
5
5
  href?: string;
@@ -16,7 +16,7 @@ export declare type OptionGroup = {
16
16
  type?: 'radio' | 'default';
17
17
  value?: string;
18
18
  };
19
- interface DropdownProps {
19
+ export interface DropdownProps {
20
20
  optionGroups: OptionGroup[];
21
21
  trigger: React.ReactNode;
22
22
  open?: boolean;
@@ -26,4 +26,4 @@ interface DropdownProps {
26
26
  disabled?: boolean;
27
27
  }
28
28
  export declare const Dropdown: FC<DropdownProps>;
29
- export {};
29
+ export default Dropdown;
@@ -1,2 +1,6 @@
1
- /// <reference types="react" />
2
- export declare const Logo: () => JSX.Element;
1
+ import React from 'react';
2
+ export interface LogoProps {
3
+ size?: number;
4
+ }
5
+ export declare const Logo: React.FC<LogoProps>;
6
+ export default Logo;
@@ -1,7 +1,6 @@
1
1
  export interface RadioListProps {
2
2
  items: string[];
3
3
  name: string;
4
- form: string;
5
4
  defaultValue: string;
6
5
  onChange: (any: any) => void;
7
6
  }
@@ -11,6 +11,8 @@ export * from './NumberInput/NumberInput';
11
11
  export * from './SettingsButton';
12
12
  export * from './TextInput/TextInput';
13
13
  export * from './Tooltip';
14
+ export { AvatarProps } from './Avatar/Avatar';
15
+ export { ButtonProps } from './Button/Button.types';
14
16
  export { ComboBoxProps } from './ComboBox/ComboBox.types';
15
17
  export { FileInputProps } from './FileInput/FileInput.types';
16
18
  export { LabelProps } from './Label/Label.types';