@lax-wp/design-system 0.5.7 → 0.5.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.
- package/dist/components/button/CardButton.d.ts +1 -2
- package/dist/components/forms/file-upload-dragger/FileUpload.d.ts +4 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.es.js +1680 -1663
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +26 -26
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { type ReactNode } from 'react';
|
|
2
|
-
interface SmallCardProps {
|
|
2
|
+
export interface SmallCardProps {
|
|
3
3
|
icon?: ReactNode;
|
|
4
4
|
title?: string;
|
|
5
5
|
description?: string;
|
|
@@ -9,4 +9,3 @@ interface SmallCardProps {
|
|
|
9
9
|
id?: string;
|
|
10
10
|
}
|
|
11
11
|
export declare const CardButton: React.FC<SmallCardProps>;
|
|
12
|
-
export {};
|
|
@@ -67,5 +67,9 @@ export type FileUploadDraggerProps = {
|
|
|
67
67
|
clickToUploadText?: string;
|
|
68
68
|
/** Custom drag and drop text */
|
|
69
69
|
dragAndDropText?: string;
|
|
70
|
+
/** Callback to set uploaded file data */
|
|
71
|
+
setFileData?: (fileData: any) => void;
|
|
72
|
+
/** Uploaded file data */
|
|
73
|
+
fileData?: any;
|
|
70
74
|
};
|
|
71
75
|
export declare const FileUpload: FC<FileUploadDraggerProps>;
|
package/dist/index.d.ts
CHANGED
|
@@ -121,6 +121,8 @@ export { DiffViewer, InlineDiffHighlighter, } from "./components/data-display/di
|
|
|
121
121
|
export type { DiffViewerProps, DiffType, DiffTheme, } from "./components/data-display/diff-viewer/DiffViewer";
|
|
122
122
|
export { default as Button } from "./components/button/Button";
|
|
123
123
|
export type { IButtonProps, IButtonStatus, IButtonAppearance, } from "./components/button/Button";
|
|
124
|
+
export { CardButton } from "./components/button/CardButton";
|
|
125
|
+
export type { SmallCardProps as CardButtonProps, } from "./components/button/CardButton";
|
|
124
126
|
export { OptionButton } from "./components/buttons/option-button/OptionButton";
|
|
125
127
|
export type { OptionButtonProps, } from "./components/buttons/option-button/OptionButton";
|
|
126
128
|
export { default as IconButton } from "./components/button/IconButton";
|