@arkyn/types 1.3.55 → 1.3.56
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/PopoverProps.d.ts +10 -0
- package/dist/components/PopoverProps.d.ts.map +1 -0
- package/dist/components/PopoverProps.js +1 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/package.json +1 -1
- package/src/components/PopoverProps.ts +20 -0
- package/src/index.ts +2 -1
@@ -0,0 +1,10 @@
|
|
1
|
+
import type { ReactNode } from "react";
|
2
|
+
type OrientationProps = "bottom-left" | "bottom-right" | "top-left" | "top-right" | "top" | "left" | "bottom" | "right";
|
3
|
+
type PopoverProps = {
|
4
|
+
children: ReactNode;
|
5
|
+
button: ReactNode;
|
6
|
+
closeOnClick?: boolean;
|
7
|
+
orientation?: OrientationProps;
|
8
|
+
};
|
9
|
+
export type { PopoverProps };
|
10
|
+
//# sourceMappingURL=PopoverProps.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"PopoverProps.d.ts","sourceRoot":"","sources":["../../src/components/PopoverProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,KAAK,gBAAgB,GACjB,aAAa,GACb,cAAc,GACd,UAAU,GACV,WAAW,GACX,KAAK,GACL,MAAM,GACN,QAAQ,GACR,OAAO,CAAC;AAEZ,KAAK,YAAY,GAAG;IAClB,QAAQ,EAAE,SAAS,CAAC;IACpB,MAAM,EAAE,SAAS,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,WAAW,CAAC,EAAE,gBAAgB,CAAC;CAChC,CAAC;AAEF,YAAY,EAAE,YAAY,EAAE,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
package/dist/index.d.ts
CHANGED
@@ -19,11 +19,12 @@ export * from "./components/IconButtonProps";
|
|
19
19
|
export * from "./components/InputProps";
|
20
20
|
export * from "./components/ModalProps";
|
21
21
|
export * from "./components/PaginationProps";
|
22
|
+
export * from "./components/PopoverProps";
|
22
23
|
export * from "./components/SelectProps";
|
23
24
|
export * from "./components/SkeletonProps";
|
24
25
|
export * from "./components/TableProps";
|
25
|
-
export * from "./components/ToastProps";
|
26
26
|
export * from "./components/TextareaProps";
|
27
|
+
export * from "./components/ToastProps";
|
27
28
|
export * from "./components/TooltipProps";
|
28
29
|
export * from "./hooks/Drawer";
|
29
30
|
export * from "./hooks/Modal";
|
package/dist/index.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAG7B,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAG7B,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAG1C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAG9B,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AAGtC,cAAc,wCAAwC,CAAC"}
|
package/dist/index.js
CHANGED
@@ -21,11 +21,12 @@ export * from "./components/IconButtonProps";
|
|
21
21
|
export * from "./components/InputProps";
|
22
22
|
export * from "./components/ModalProps";
|
23
23
|
export * from "./components/PaginationProps";
|
24
|
+
export * from "./components/PopoverProps";
|
24
25
|
export * from "./components/SelectProps";
|
25
26
|
export * from "./components/SkeletonProps";
|
26
27
|
export * from "./components/TableProps";
|
27
|
-
export * from "./components/ToastProps";
|
28
28
|
export * from "./components/TextareaProps";
|
29
|
+
export * from "./components/ToastProps";
|
29
30
|
export * from "./components/TooltipProps";
|
30
31
|
// Hooks
|
31
32
|
export * from "./hooks/Drawer";
|
package/package.json
CHANGED
@@ -0,0 +1,20 @@
|
|
1
|
+
import type { ReactNode } from "react";
|
2
|
+
|
3
|
+
type OrientationProps =
|
4
|
+
| "bottom-left"
|
5
|
+
| "bottom-right"
|
6
|
+
| "top-left"
|
7
|
+
| "top-right"
|
8
|
+
| "top"
|
9
|
+
| "left"
|
10
|
+
| "bottom"
|
11
|
+
| "right";
|
12
|
+
|
13
|
+
type PopoverProps = {
|
14
|
+
children: ReactNode;
|
15
|
+
button: ReactNode;
|
16
|
+
closeOnClick?: boolean;
|
17
|
+
orientation?: OrientationProps;
|
18
|
+
};
|
19
|
+
|
20
|
+
export type { PopoverProps };
|
package/src/index.ts
CHANGED
@@ -22,11 +22,12 @@ export * from "./components/IconButtonProps";
|
|
22
22
|
export * from "./components/InputProps";
|
23
23
|
export * from "./components/ModalProps";
|
24
24
|
export * from "./components/PaginationProps";
|
25
|
+
export * from "./components/PopoverProps";
|
25
26
|
export * from "./components/SelectProps";
|
26
27
|
export * from "./components/SkeletonProps";
|
27
28
|
export * from "./components/TableProps";
|
28
|
-
export * from "./components/ToastProps";
|
29
29
|
export * from "./components/TextareaProps";
|
30
|
+
export * from "./components/ToastProps";
|
30
31
|
export * from "./components/TooltipProps";
|
31
32
|
|
32
33
|
// Hooks
|