@taikai/rocket-kit 2.0.0-beta.8 → 2.0.0-beta.9

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.
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ export interface FilePickerProps {
3
+ minimal?: boolean;
4
+ name: string;
5
+ accept?: string;
6
+ multiple?: boolean;
7
+ placeholder?: string;
8
+ pluralText?: string;
9
+ error?: string;
10
+ dataTestId?: string;
11
+ onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
12
+ value?: string;
13
+ buttonText?: string;
14
+ disabled?: boolean;
15
+ }
16
+ declare const FilePicker: (props: FilePickerProps) => JSX.Element;
17
+ export default FilePicker;
@@ -0,0 +1,23 @@
1
+ /// <reference types="react" />
2
+ import { FilePickerProps } from '..';
3
+ declare const _default: {
4
+ title: string;
5
+ component: (props: FilePickerProps) => JSX.Element;
6
+ };
7
+ export default _default;
8
+ export declare const FilePickerComponent: {
9
+ (args: FilePickerProps): JSX.Element;
10
+ story: {
11
+ name: string;
12
+ args: {
13
+ minimal: boolean;
14
+ multiple: boolean;
15
+ name: string;
16
+ placeholder: string;
17
+ pluralText: string;
18
+ error: string;
19
+ buttonText: string;
20
+ disabled: boolean;
21
+ };
22
+ };
23
+ };
@@ -0,0 +1,7 @@
1
+ interface FilePickerProps {
2
+ minimal?: boolean;
3
+ error?: boolean;
4
+ disabled?: boolean;
5
+ }
6
+ export declare const Wrapper: import("styled-components").StyledComponent<"div", any, FilePickerProps, never>;
7
+ export {};
package/dist/index.d.ts CHANGED
@@ -20,6 +20,7 @@ export { default as Slideshow } from './atoms/slideshow';
20
20
  export { default as VideoPlayer } from './atoms/video-player';
21
21
  export { default as ProgressBar } from './atoms/progress-bar';
22
22
  export { default as Toggle } from './atoms/toggle';
23
+ export { default as FilePicker } from './atoms/file-picker';
23
24
  export { default as ActionsMenu } from './molecules/actions-menu';
24
25
  export { default as CardValue } from './molecules/card-value';
25
26
  export { default as EmptyTable } from './molecules/empty-table';