@brainfish-ai/components 0.10.0-alpha.2 → 0.10.0-alpha.3

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +2 -3
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1,11 +1,10 @@
1
1
  import { ClassProp } from 'class-variance-authority/dist/types';
2
2
  import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
3
- import { ComponentProps } from 'react';
4
3
  import { default as default_2 } from 'react';
5
- import { default as default_3 } from 'react-dropzone';
6
4
  import * as DialogPrimitive from '@radix-ui/react-dialog';
7
5
  import { DialogProps } from '@radix-ui/react-dialog';
8
6
  import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
7
+ import { DropzoneOptions } from 'react-dropzone';
9
8
  import { FC } from 'react';
10
9
  import { JSONSchemaType } from 'ajv';
11
10
  import * as LabelPrimitive from '@radix-ui/react-label';
@@ -635,7 +634,7 @@ declare type FeedbackResponse = 'accept' | 'reject';
635
634
  export declare function FileUpload({ onDropAccepted, onDropRejected, accept, maxSize, // 5MB
636
635
  maxFiles, multiple, className, disabled, title, description, children, }: FileUploadProps): default_2.JSX.Element;
637
636
 
638
- export declare interface FileUploadProps extends Omit<ComponentProps<typeof default_3>, 'children'> {
637
+ export declare interface FileUploadProps extends DropzoneOptions {
639
638
  className?: string;
640
639
  title?: string;
641
640
  description?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brainfish-ai/components",
3
- "version": "0.10.0-alpha.2",
3
+ "version": "0.10.0-alpha.3",
4
4
  "description": "Brainfish Components",
5
5
  "license": "MIT",
6
6
  "module": "./dist/esm/index.js",