@overmap-ai/forms 1.0.37-style-updates.0 → 1.0.37-style-updates.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.
@@ -1,7 +1,8 @@
1
- import { ComponentProps, PropsWithoutRef, ReactNode } from 'react';
2
- export interface FileCardProps extends Omit<PropsWithoutRef<ComponentProps<"div">>, "children"> {
1
+ import { Card } from '@overmap-ai/blocks';
2
+ import { ComponentProps, ReactNode } from 'react';
3
+ export interface FileCardProps extends Omit<ComponentProps<typeof Card>, "children"> {
3
4
  file: File | null;
4
5
  error?: string;
5
6
  rightSlot?: ReactNode;
6
7
  }
7
- export declare const FileCard: import('react').NamedExoticComponent<FileCardProps & import('react').RefAttributes<HTMLDivElement>>;
8
+ export declare const FileCard: import('react').NamedExoticComponent<FileCardProps>;
@@ -1,7 +1,8 @@
1
- import { ComponentProps, PropsWithoutRef, ReactNode } from 'react';
2
- export interface ImageCardProps extends Omit<PropsWithoutRef<ComponentProps<"div">>, "children"> {
1
+ import { Card } from '@overmap-ai/blocks';
2
+ import { ComponentProps, ReactNode } from 'react';
3
+ export interface ImageCardProps extends Omit<ComponentProps<typeof Card>, "children"> {
3
4
  file: File | null;
4
5
  error?: string;
5
6
  rightSlot?: ReactNode;
6
7
  }
7
- export declare const ImageCard: import('react').NamedExoticComponent<ImageCardProps & import('react').RefAttributes<HTMLDivElement>>;
8
+ export declare const ImageCard: import('react').NamedExoticComponent<ImageCardProps>;
@@ -1,9 +1,11 @@
1
+ import { FieldsRendererSize } from '../renderer';
1
2
  import { UUIDFile } from '../UUIDFile';
2
3
  import { UUIDPromise } from '../UUIDPromise';
3
4
  interface DisplayFileProps {
4
5
  file: UUIDFile | UUIDPromise<UUIDFile>;
5
6
  disabled?: boolean;
6
7
  onRemove: () => void;
8
+ size: FieldsRendererSize;
7
9
  }
8
10
  export declare const DisplayFile: import('react').MemoExoticComponent<(props: DisplayFileProps) => import("react/jsx-runtime").JSX.Element>;
9
11
  export {};