@sheetxl/utils-react 0.5.0 → 0.5.1
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/browser/cjs/index.cjs +2 -2
- package/browser/esm/index.mjs +120 -120
- package/node/esm/index.mjs +172 -172
- package/package.json +2 -2
- package/types/index.d.ts +2 -2
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sheetxl/utils-react",
|
|
3
3
|
"description": "Utils React - Utilities for React capabilities needed for all SheetXL components.",
|
|
4
|
-
"version": "0.5.
|
|
4
|
+
"version": "0.5.1",
|
|
5
5
|
"license": "SEE LICENSE IN <LICENSE>",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"react"
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@sheetxl/utils": "^0.5.
|
|
30
|
+
"@sheetxl/utils": "^0.5.1",
|
|
31
31
|
"clsx": "^2.1.1",
|
|
32
32
|
"detect-it": "^4.0.1",
|
|
33
33
|
"react-merge-refs": "^3.0.2",
|
package/types/index.d.ts
CHANGED
|
@@ -235,6 +235,7 @@ export declare const DefaultNotifier: Notifier;
|
|
|
235
235
|
|
|
236
236
|
/**
|
|
237
237
|
* Re-export detectIt.
|
|
238
|
+
*
|
|
238
239
|
* @returns The `detect-it` library.
|
|
239
240
|
*/
|
|
240
241
|
declare function detectIt(): {
|
|
@@ -298,6 +299,7 @@ export declare interface FocusKeyNavigationProps extends default_2.HTMLAttribute
|
|
|
298
299
|
|
|
299
300
|
export declare interface FullscreenPortalRoot {
|
|
300
301
|
getPortalContainer: () => Element;
|
|
302
|
+
isFullscreen: boolean;
|
|
301
303
|
}
|
|
302
304
|
|
|
303
305
|
/**
|
|
@@ -308,8 +310,6 @@ export declare interface FullscreenPortalRoot {
|
|
|
308
310
|
*/
|
|
309
311
|
export declare function getDevicePixelRatio(options?: DevicePixelRatioOptions): number;
|
|
310
312
|
|
|
311
|
-
export declare const getPortalContainer: () => Element;
|
|
312
|
-
|
|
313
313
|
/**
|
|
314
314
|
* scan all elements until we find one in the given direction
|
|
315
315
|
* Note - only horizontal at the moment
|