@dfds-ui/hooks 2.0.29-alpha.87e7918e → 2.0.29-alpha.9a0ea182
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/useDimensions.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export interface DimensionObject {
|
|
|
8
8
|
right: number;
|
|
9
9
|
bottom: number;
|
|
10
10
|
}
|
|
11
|
-
export
|
|
11
|
+
export type UseDimensionsHook = [(node: HTMLElement | null) => void, DimensionObject, HTMLElement | null];
|
|
12
12
|
export interface UseDimensionsArgs {
|
|
13
13
|
liveMeasure?: boolean;
|
|
14
14
|
}
|
package/package.json
CHANGED
|
@@ -3,20 +3,20 @@
|
|
|
3
3
|
"description": "React hooks",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"private": false,
|
|
6
|
-
"version": "2.0.29-alpha.
|
|
6
|
+
"version": "2.0.29-alpha.9a0ea182",
|
|
7
7
|
"sideEffects": false,
|
|
8
8
|
"main": "./cjs/index.js",
|
|
9
9
|
"module": "./index.js",
|
|
10
10
|
"esnext": "./index.js",
|
|
11
11
|
"typings": "./index.d.ts",
|
|
12
12
|
"peerDependencies": {
|
|
13
|
-
"react": ">=
|
|
13
|
+
"react": ">= 18.3.4",
|
|
14
14
|
"react-dom": ">= 17.0.2"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"use-resize-observer": "^9.0.2"
|
|
18
18
|
},
|
|
19
|
-
"gitHead": "
|
|
19
|
+
"gitHead": "9a0ea1821df447249363a38ea548ce565163e1c3",
|
|
20
20
|
"publishConfig": {
|
|
21
21
|
"access": "public"
|
|
22
22
|
}
|
package/useDimensions.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export interface DimensionObject {
|
|
|
8
8
|
right: number;
|
|
9
9
|
bottom: number;
|
|
10
10
|
}
|
|
11
|
-
export
|
|
11
|
+
export type UseDimensionsHook = [(node: HTMLElement | null) => void, DimensionObject, HTMLElement | null];
|
|
12
12
|
export interface UseDimensionsArgs {
|
|
13
13
|
liveMeasure?: boolean;
|
|
14
14
|
}
|