brd-ui-kit 0.1.52 → 0.1.55
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.
- package/dist/brd-ui-kit.css +1 -1
- package/dist/components/files-uploader/files-uploader.d.ts +34 -0
- package/dist/components/files-uploader/files-uploader.stories.d.ts +70 -0
- package/dist/components/files-uploader/index.d.ts +1 -0
- package/dist/components/ui/dialog/dialog.styles.d.ts +1 -1
- package/dist/index.cjs +104 -103
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -2
- package/dist/index.js +8276 -8232
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/components/image-uploader/image-uploader.d.ts +0 -16
- package/dist/components/image-uploader/image-uploader.stories.d.ts +0 -49
- package/dist/components/image-uploader/index.d.ts +0 -2
package/package.json
CHANGED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { IconProps } from '../ui/icon';
|
|
2
|
-
type Variant = "grid" | "list" | "compact";
|
|
3
|
-
type Props = {
|
|
4
|
-
value?: string | string[];
|
|
5
|
-
onChange?: (value: string | string[]) => void;
|
|
6
|
-
multiple?: boolean;
|
|
7
|
-
maxFiles?: number;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
className?: string;
|
|
10
|
-
maxSize?: number;
|
|
11
|
-
variant?: Variant;
|
|
12
|
-
accepts?: string[];
|
|
13
|
-
icon?: IconProps;
|
|
14
|
-
};
|
|
15
|
-
export declare const ImageUploader: ({ value, onChange, multiple, maxFiles, disabled, className, maxSize, variant, accepts, icon, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
export type { Props as ImageUploaderProps };
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
-
declare const meta: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: ({ value, onChange, multiple, maxFiles, disabled, className, maxSize, variant, accepts, icon, }: import('./image-uploader').ImageUploaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
parameters: {
|
|
6
|
-
layout: string;
|
|
7
|
-
};
|
|
8
|
-
tags: string[];
|
|
9
|
-
argTypes: {
|
|
10
|
-
variant: {
|
|
11
|
-
control: "select";
|
|
12
|
-
options: string[];
|
|
13
|
-
description: string;
|
|
14
|
-
};
|
|
15
|
-
multiple: {
|
|
16
|
-
control: "boolean";
|
|
17
|
-
description: string;
|
|
18
|
-
};
|
|
19
|
-
maxFiles: {
|
|
20
|
-
control: "number";
|
|
21
|
-
description: string;
|
|
22
|
-
};
|
|
23
|
-
maxSize: {
|
|
24
|
-
control: "number";
|
|
25
|
-
description: string;
|
|
26
|
-
};
|
|
27
|
-
disabled: {
|
|
28
|
-
control: "boolean";
|
|
29
|
-
description: string;
|
|
30
|
-
};
|
|
31
|
-
className: {
|
|
32
|
-
control: "text";
|
|
33
|
-
description: string;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
export default meta;
|
|
38
|
-
type Story = StoryObj<typeof meta>;
|
|
39
|
-
export declare const Single: Story;
|
|
40
|
-
export declare const Multiple: Story;
|
|
41
|
-
export declare const GridVariant: Story;
|
|
42
|
-
export declare const ListVariant: Story;
|
|
43
|
-
export declare const CompactVariant: Story;
|
|
44
|
-
export declare const Disabled: Story;
|
|
45
|
-
export declare const WithPreloadedImages: Story;
|
|
46
|
-
export declare const WithFileSizeLimit: Story;
|
|
47
|
-
export declare const MaxFilesLimit: Story;
|
|
48
|
-
export declare const WithTypedState: Story;
|
|
49
|
-
export declare const UseCases: Story;
|