@trackunit/react-date-and-time-hooks 0.0.74 → 0.0.76
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/index.cjs.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-date-and-time-hooks",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.76",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
@@ -18,12 +18,13 @@
|
|
|
18
18
|
"@js-temporal/polyfill": "^0.4.4",
|
|
19
19
|
"@trackunit/date-and-time-utils": "*",
|
|
20
20
|
"@trackunit/shared-utils": "*",
|
|
21
|
-
"react": "
|
|
21
|
+
"react": "18.3.1",
|
|
22
22
|
"@trackunit/react-components": "*",
|
|
23
23
|
"@trackunit/react-core-contexts-api": "*",
|
|
24
24
|
"@trackunit/react-core-hooks": "*",
|
|
25
25
|
"zod": "3.22.4"
|
|
26
26
|
},
|
|
27
27
|
"module": "./index.esm.js",
|
|
28
|
-
"main": "./index.cjs.js"
|
|
29
|
-
|
|
28
|
+
"main": "./index.cjs.js",
|
|
29
|
+
"types": "./index.esm.d.ts"
|
|
30
|
+
}
|
|
@@ -12,7 +12,7 @@ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/
|
|
|
12
12
|
*/
|
|
13
13
|
declare const documents: {
|
|
14
14
|
"query GetAssetTimezone($assetId: ID!) {\n asset(id: $assetId) {\n locations {\n latest {\n properties {\n timeZone\n }\n }\n }\n }\n}": DocumentNode<types.GetAssetTimezoneQuery, types.Exact<{
|
|
15
|
-
assetId:
|
|
15
|
+
assetId: types.Scalars["ID"]["input"];
|
|
16
16
|
}>>;
|
|
17
17
|
};
|
|
18
18
|
/**
|
|
@@ -148,6 +148,4 @@ export type GetAssetTimezoneQuery = {
|
|
|
148
148
|
} | null;
|
|
149
149
|
} | null;
|
|
150
150
|
};
|
|
151
|
-
export declare const GetAssetTimezoneDocument: DocumentNode<GetAssetTimezoneQuery,
|
|
152
|
-
assetId: Scalars["ID"]["input"];
|
|
153
|
-
}>>;
|
|
151
|
+
export declare const GetAssetTimezoneDocument: DocumentNode<GetAssetTimezoneQuery, GetAssetTimezoneQueryVariables>;
|
package/src/useTimezone.d.ts
CHANGED