pollination-react-io 1.7.0 → 1.7.1

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,6 +1,5 @@
1
1
  import React from 'react';
2
2
  import 'react-tabs/style/react-tabs.css';
3
3
  import { CreateStudyProps } from './CreateStudy.types';
4
- import './CreateStudy.scss';
5
- declare const CreateStudy: React.FC<CreateStudyProps>;
4
+ export declare const CreateStudy: React.FC<CreateStudyProps>;
6
5
  export default CreateStudy;
@@ -1,2 +1,8 @@
1
- import type { ConfigurationParameters } from '@pollination-solutions/pollination-sdk';
2
- export declare type CreateStudyProps = ConfigurationParameters;
1
+ import type { UserPrivate } from '@pollination-solutions/pollination-sdk';
2
+ import { CSSProperties } from 'react';
3
+ import { APIClient } from '../hooks';
4
+ export declare type CreateStudyProps = {
5
+ authUser?: UserPrivate;
6
+ client?: APIClient;
7
+ style?: CSSProperties;
8
+ };
@@ -1,7 +1,7 @@
1
- import { CSSProperties, HTMLProps, ReactNode } from 'react';
1
+ import { CSSProperties, HTMLProps, ReactElement } from 'react';
2
2
  export interface TextInputProps {
3
3
  inputProps?: HTMLProps<HTMLInputElement>;
4
- icon?: ReactNode;
4
+ icon?: ReactElement;
5
5
  style?: CSSProperties;
6
6
  reset?: any;
7
7
  }
package/build/index.d.ts CHANGED
@@ -1,9 +1,8 @@
1
1
  export * from './hooks';
2
2
  export * from './AuthUser/AuthUser';
3
+ export * from './CreateStudy/CreateStudy';
3
4
  export * from './GetGeometry/GetGeometry';
4
5
  export * from './GetModel/GetModel';
5
- export * from './PreviewBakeGeometry/PreviewBakeGeometry';
6
- export * from './PreviewBakeModel/PreviewBakeModel';
7
6
  export * from './RunCommand/RunCommand';
8
7
  export * from './SelectAccount/SelectAccount';
9
8
  export * from './SelectStudy/SelectStudy';