@vuu-ui/vuu-utils 0.12.2 → 0.13.0
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/cjs/module-utils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module-utils.js","sources":["../src/module-utils.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"module-utils.js","sources":["../src/module-utils.ts"],"sourcesContent":["import { ReactElement } from \"react\";\n\nexport type ReactComponent = {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (props?: any): ReactElement;\n};\n\nexport const isModule = (entity: Module | ReactComponent): entity is Module =>\n entity !== undefined && typeof entity !== \"function\";\n\nexport interface Module<T = ReactComponent> {\n [key: string]: Module<T> | T;\n}\n"],"names":[],"mappings":";;AAOO,MAAM,WAAW,CAAC,MAAA,KACvB,MAAW,KAAA,KAAA,CAAA,IAAa,OAAO,MAAW,KAAA;;;;"}
|
package/esm/module-utils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module-utils.js","sources":["../src/module-utils.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"module-utils.js","sources":["../src/module-utils.ts"],"sourcesContent":["import { ReactElement } from \"react\";\n\nexport type ReactComponent = {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (props?: any): ReactElement;\n};\n\nexport const isModule = (entity: Module | ReactComponent): entity is Module =>\n entity !== undefined && typeof entity !== \"function\";\n\nexport interface Module<T = ReactComponent> {\n [key: string]: Module<T> | T;\n}\n"],"names":[],"mappings":"AAOO,MAAM,WAAW,CAAC,MAAA,KACvB,MAAW,KAAA,KAAA,CAAA,IAAa,OAAO,MAAW,KAAA;;;;"}
|
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
2
|
+
"version": "0.13.0",
|
|
3
3
|
"author": "heswell",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"types": "types/index.d.ts",
|
|
6
6
|
"devDependencies": {
|
|
7
|
-
"@vuu-ui/vuu-data-types": "0.
|
|
8
|
-
"@vuu-ui/vuu-table-types": "0.
|
|
9
|
-
"@vuu-ui/vuu-filter-types": "0.
|
|
10
|
-
"@vuu-ui/vuu-protocol-types": "0.
|
|
7
|
+
"@vuu-ui/vuu-data-types": "0.13.0",
|
|
8
|
+
"@vuu-ui/vuu-table-types": "0.13.0",
|
|
9
|
+
"@vuu-ui/vuu-filter-types": "0.13.0",
|
|
10
|
+
"@vuu-ui/vuu-protocol-types": "0.13.0"
|
|
11
11
|
},
|
|
12
12
|
"peerDependencies": {
|
|
13
13
|
"@internationalized/date": "^3.0.0",
|
|
14
|
-
"@vuu-ui/vuu-filter-parser": "0.
|
|
14
|
+
"@vuu-ui/vuu-filter-parser": "0.13.0",
|
|
15
15
|
"clsx": "^2.0.0",
|
|
16
|
-
"react": "
|
|
17
|
-
"react-dom": "
|
|
16
|
+
"react": "^19.1.0",
|
|
17
|
+
"react-dom": "^19.1.0"
|
|
18
18
|
},
|
|
19
19
|
"sideEffects": false,
|
|
20
20
|
"files": [
|
package/types/module-utils.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { ReactElement } from "react";
|
|
1
2
|
export type ReactComponent = {
|
|
2
|
-
(props?: any):
|
|
3
|
+
(props?: any): ReactElement;
|
|
3
4
|
};
|
|
4
5
|
export declare const isModule: (entity: Module | ReactComponent) => entity is Module;
|
|
5
6
|
export interface Module<T = ReactComponent> {
|
package/types/react-utils.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ReactElement, ReactNode, SetStateAction } from "react";
|
|
2
2
|
export declare const asReactElements: (children: ReactNode) => ReactElement[];
|
|
3
|
-
export declare const useIsMounted: (id?: string) => import("react").
|
|
3
|
+
export declare const useIsMounted: (id?: string) => import("react").RefObject<boolean>;
|
|
4
4
|
export declare const isSimpleStateValue: <T>(arg: SetStateAction<T>) => arg is T;
|