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: BoxResult[]) => void;
13
+ onSubmit?: (data: ContainerBoxItem[]) => void;
15
14
  }
16
15
  declare const PdfDragBox: React.NamedExoticComponent<PdfDragProps>;
17
16
  export default PdfDragBox;
@@ -1,2 +1,5 @@
1
+ import { ContainerBoxItem } from "./BoxContainer";
2
+ import { BoxItem } from "./PdfDragBox";
1
3
  export interface PdfDragBoxProps {
2
4
  }
5
+ export type { BoxItem, ContainerBoxItem };
@@ -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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "beca-ui",
3
- "version": "0.1.17-beta.1",
3
+ "version": "0.1.17",
4
4
  "description": "Becawork UI",
5
5
  "license": "MIT",
6
6
  "author": {