@arkyn/types 1.3.51 → 1.3.53
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/PaginationProps.d.ts +3 -1
- package/dist/components/PaginationProps.d.ts.map +1 -1
- package/dist/components/SelectProps.d.ts +0 -1
- package/dist/components/SelectProps.d.ts.map +1 -1
- package/dist/hooks/Drawer.d.ts +3 -3
- package/dist/hooks/Drawer.d.ts.map +1 -1
- package/dist/hooks/Modal.d.ts +3 -3
- package/dist/hooks/Modal.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/PaginationProps.ts +3 -1
- package/src/components/SelectProps.ts +1 -1
- package/src/hooks/Drawer.ts +3 -3
- package/src/hooks/Modal.ts +3 -3
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import type { HTMLAttributes } from "react";
|
|
2
2
|
type PaginationProps = {
|
|
3
3
|
scope?: string;
|
|
4
|
-
|
|
4
|
+
pageKey?: string;
|
|
5
|
+
perPageKey?: string;
|
|
5
6
|
siblingsCount?: number;
|
|
7
|
+
totalCountRegisters: number;
|
|
6
8
|
} & HTMLAttributes<HTMLDivElement>;
|
|
7
9
|
export type { PaginationProps };
|
|
8
10
|
//# sourceMappingURL=PaginationProps.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaginationProps.d.ts","sourceRoot":"","sources":["../../src/components/PaginationProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,KAAK,eAAe,GAAG;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,
|
|
1
|
+
{"version":3,"file":"PaginationProps.d.ts","sourceRoot":"","sources":["../../src/components/PaginationProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,KAAK,eAAe,GAAG;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,mBAAmB,EAAE,MAAM,CAAC;CAC7B,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEnC,YAAY,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectProps.d.ts","sourceRoot":"","sources":["../../src/components/SelectProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAEjD,KAAK,WAAW,GAAG;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SelectProps.d.ts","sourceRoot":"","sources":["../../src/components/SelectProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAEjD,KAAK,WAAW,GAAG;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,WAAW,CAAC;IAE5C,MAAM,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC;IAC7B,QAAQ,CAAC,EAAE,UAAU,CAAC;IAEtB,IAAI,EAAE,MAAM,CAAC;IAEb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB,OAAO,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC5C,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;CAC9D,GAAG,IAAI,CACN,mBAAmB,CAAC,gBAAgB,CAAC,EACnC,MAAM,GACN,QAAQ,GACR,MAAM,GACN,MAAM,GACN,cAAc,GACd,OAAO,GACP,UAAU,GACV,UAAU,CACb,CAAC;AAEF,YAAY,EAAE,WAAW,EAAE,CAAC"}
|
package/dist/hooks/Drawer.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { ReactNode } from "react";
|
|
2
|
-
type DrawerContextProps = {
|
|
2
|
+
type DrawerContextProps<T = any> = {
|
|
3
3
|
drawerIsOpen(key: string): boolean;
|
|
4
|
-
drawerData(key: string):
|
|
5
|
-
openDrawer(key: string, data?:
|
|
4
|
+
drawerData(key: string): T;
|
|
5
|
+
openDrawer(key: string, data?: T): void;
|
|
6
6
|
closeDrawer(key: string): void;
|
|
7
7
|
};
|
|
8
8
|
type OpenedDrawers = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../../src/hooks/Drawer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,KAAK,kBAAkB,GAAG;
|
|
1
|
+
{"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../../src/hooks/Drawer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,KAAK,kBAAkB,CAAC,CAAC,GAAG,GAAG,IAAI;IACjC,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACnC,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,CAAC,CAAC;IAC3B,UAAU,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC;IACxC,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC,CAAC;AAEF,KAAK,aAAa,GAAG;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,GAAG,CAAC;CACZ,EAAE,CAAC;AAEJ,KAAK,mBAAmB,GAAG;IACzB,QAAQ,EAAE,SAAS,CAAC;IACpB,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAClC,CAAC;AAEF,YAAY,EAAE,kBAAkB,EAAE,aAAa,EAAE,mBAAmB,EAAE,CAAC"}
|
package/dist/hooks/Modal.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { ReactNode } from "react";
|
|
2
|
-
type ModalContextProps = {
|
|
2
|
+
type ModalContextProps<T = any> = {
|
|
3
3
|
modalIsOpen(key: string): boolean;
|
|
4
|
-
modalData(key: string):
|
|
5
|
-
openModal(key: string, data?:
|
|
4
|
+
modalData(key: string): T;
|
|
5
|
+
openModal(key: string, data?: T): void;
|
|
6
6
|
closeModal(key: string): void;
|
|
7
7
|
};
|
|
8
8
|
type OpenedModals = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../src/hooks/Modal.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,KAAK,iBAAiB,GAAG;
|
|
1
|
+
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../src/hooks/Modal.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,KAAK,iBAAiB,CAAC,CAAC,GAAG,GAAG,IAAI;IAChC,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IAClC,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,CAAC,CAAC;IAC1B,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC;IACvC,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B,CAAC;AAEF,KAAK,YAAY,GAAG;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,GAAG,CAAC;CACZ,EAAE,CAAC;AAEJ,KAAK,kBAAkB,GAAG;IACxB,QAAQ,EAAE,SAAS,CAAC;IACpB,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC,CAAC;AAEF,YAAY,EAAE,iBAAiB,EAAE,YAAY,EAAE,kBAAkB,EAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -2,8 +2,10 @@ import type { HTMLAttributes } from "react";
|
|
|
2
2
|
|
|
3
3
|
type PaginationProps = {
|
|
4
4
|
scope?: string;
|
|
5
|
-
|
|
5
|
+
pageKey?: string;
|
|
6
|
+
perPageKey?: string;
|
|
6
7
|
siblingsCount?: number;
|
|
8
|
+
totalCountRegisters: number;
|
|
7
9
|
} & HTMLAttributes<HTMLDivElement>;
|
|
8
10
|
|
|
9
11
|
export type { PaginationProps };
|
package/src/hooks/Drawer.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { ReactNode } from "react";
|
|
2
2
|
|
|
3
|
-
type DrawerContextProps = {
|
|
3
|
+
type DrawerContextProps<T = any> = {
|
|
4
4
|
drawerIsOpen(key: string): boolean;
|
|
5
|
-
drawerData(key: string):
|
|
6
|
-
openDrawer(key: string, data?:
|
|
5
|
+
drawerData(key: string): T;
|
|
6
|
+
openDrawer(key: string, data?: T): void;
|
|
7
7
|
closeDrawer(key: string): void;
|
|
8
8
|
};
|
|
9
9
|
|
package/src/hooks/Modal.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { ReactNode } from "react";
|
|
2
2
|
|
|
3
|
-
type ModalContextProps = {
|
|
3
|
+
type ModalContextProps<T = any> = {
|
|
4
4
|
modalIsOpen(key: string): boolean;
|
|
5
|
-
modalData(key: string):
|
|
6
|
-
openModal(key: string, data?:
|
|
5
|
+
modalData(key: string): T;
|
|
6
|
+
openModal(key: string, data?: T): void;
|
|
7
7
|
closeModal(key: string): void;
|
|
8
8
|
};
|
|
9
9
|
|