@admin-layout/tailwind-travel-pro 12.2.5-alpha.2 → 12.2.5-alpha.24
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.
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { useWindowSize as useSharedWindowSize } from '@admin-layout/tailwind-ui';
|
|
2
|
+
/**
|
|
3
|
+
* The hydration-safe hook from @admin-layout/tailwind-ui, kept as a real module here so
|
|
4
|
+
* `lib/hooks/useWindowSize.js` stays importable (Rollup emits no file for a pure re-export).
|
|
5
|
+
*/
|
|
6
|
+
export declare function useWindowSize(): ReturnType<typeof useSharedWindowSize>;
|
|
5
7
|
//# sourceMappingURL=useWindowSize.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useWindowSize.d.ts","sourceRoot":"","sources":["../../src/hooks/useWindowSize.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useWindowSize.d.ts","sourceRoot":"","sources":["../../src/hooks/useWindowSize.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,IAAI,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAEjF;;;GAGG;AACH,wBAAgB,aAAa,IAAI,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAEtE"}
|
|
@@ -1,20 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
useEffect(() => {
|
|
8
|
-
function handleResize() {
|
|
9
|
-
setWindowSize({
|
|
10
|
-
width: window.innerWidth,
|
|
11
|
-
height: window.innerHeight
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
// Add event listener for window resize
|
|
15
|
-
window.addEventListener('resize', handleResize);
|
|
16
|
-
// Cleanup the event listener on component unmount
|
|
17
|
-
return () => window.removeEventListener('resize', handleResize);
|
|
18
|
-
}, []);
|
|
19
|
-
return windowSize;
|
|
1
|
+
import {useWindowSize as useWindowSize$1}from'@admin-layout/tailwind-ui';/**
|
|
2
|
+
* The hydration-safe hook from @admin-layout/tailwind-ui, kept as a real module here so
|
|
3
|
+
* `lib/hooks/useWindowSize.js` stays importable (Rollup emits no file for a pure re-export).
|
|
4
|
+
*/
|
|
5
|
+
function useWindowSize() {
|
|
6
|
+
return useWindowSize$1();
|
|
20
7
|
}export{useWindowSize};//# sourceMappingURL=useWindowSize.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useWindowSize.js","sources":["../../src/hooks/useWindowSize.ts"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useWindowSize.js","sources":["../../src/hooks/useWindowSize.ts"],"sourcesContent":[null],"names":["useSharedWindowSize"],"mappings":"yEAEA;;;AAGG;SACa,aAAa,GAAA;SACzBA,eAAO,EAAmB;AAC9B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@admin-layout/tailwind-travel-pro",
|
|
3
|
-
"version": "12.2.5-alpha.
|
|
3
|
+
"version": "12.2.5-alpha.24",
|
|
4
4
|
"description": "Sample core for higher packages to depend on",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"author": "CDMBase LLC",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"watch": "yarn build:lib:watch"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@admin-layout/tailwind-design-pro": "12.2.5-alpha.
|
|
25
|
-
"@admin-layout/tailwind-ui": "12.2.5-alpha.
|
|
24
|
+
"@admin-layout/tailwind-design-pro": "12.2.5-alpha.24",
|
|
25
|
+
"@admin-layout/tailwind-ui": "12.2.5-alpha.22",
|
|
26
26
|
"@cdmbase/react-splide": "^0.7.12",
|
|
27
27
|
"@react-google-maps/api": "^2.20.7",
|
|
28
28
|
"@vis.gl/react-google-maps": "^1.5.4",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"typescript": {
|
|
47
47
|
"definition": "lib/index.d.ts"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "1a9997bc8147b65c8c9478008fce4d7b98fb81e0"
|
|
50
50
|
}
|