beca-ui 0.1.17-beta.1 → 0.1.17
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/beca-ui.js
CHANGED
|
@@ -138362,7 +138362,8 @@ const styles = {
|
|
|
138362
138362
|
border: "1px dashed gray",
|
|
138363
138363
|
width: "100%",
|
|
138364
138364
|
height: 160,
|
|
138365
|
-
background: "#fff"
|
|
138365
|
+
background: "#fff",
|
|
138366
|
+
display: "none"
|
|
138366
138367
|
}
|
|
138367
138368
|
}
|
|
138368
138369
|
)
|
|
@@ -6,12 +6,11 @@ export interface BoxItem {
|
|
|
6
6
|
title?: string;
|
|
7
7
|
text?: string;
|
|
8
8
|
}
|
|
9
|
-
export type BoxResult = ContainerBoxItem;
|
|
10
9
|
interface PdfDragProps {
|
|
11
10
|
itemsTitle: string;
|
|
12
11
|
boxes: BoxItem[];
|
|
13
12
|
pdf: string;
|
|
14
|
-
onSubmit?: (data:
|
|
13
|
+
onSubmit?: (data: ContainerBoxItem[]) => void;
|
|
15
14
|
}
|
|
16
15
|
declare const PdfDragBox: React.NamedExoticComponent<PdfDragProps>;
|
|
17
16
|
export default PdfDragBox;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { PdfDragBoxProps } from "./PdfDragBox.types";
|
|
1
|
+
import { BoxItem, PdfDragBoxProps, ContainerBoxItem } from "./PdfDragBox.types";
|
|
2
2
|
export { default as PdfDragBox } from "./PdfDragBox";
|
|
3
|
-
export type { PdfDragBoxProps };
|
|
3
|
+
export type { PdfDragBoxProps, BoxItem, ContainerBoxItem };
|