@react-hive/honey-layout 14.0.0 → 14.2.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/dist/components/HoneyBox/HoneyBox.d.ts +1 -1
- package/dist/components/HoneyFlex/HoneyFlex.d.ts +1 -1
- package/dist/components/HoneyGrid/HoneyGridStyled.d.ts +1 -1
- package/dist/components/HoneyGridColumn/HoneyGridColumnStyled.d.ts +1 -1
- package/dist/components/HoneyLayerRegistry/HoneyLayerRegistryContext.d.ts +1 -1
- package/dist/components/HoneyList/HoneyListStyled.d.ts +1 -1
- package/dist/components/HoneyOverlay.d.ts +1 -1
- package/dist/components/HoneyPopup/HoneyPopupContent.d.ts +1 -1
- package/dist/components/HoneyPopup/HoneyPopupStyled.d.ts +1 -1
- package/dist/components/HoneyPopup/hooks/use-honey-popup-context.d.ts +1 -1
- package/dist/contexts/HoneyLayoutContext.d.ts +1 -1
- package/dist/helpers/helpers.d.ts +1 -1
- package/dist/hooks/use-honey-document-key-up.d.ts +1 -1
- package/dist/hooks/use-honey-drag.d.ts +1 -1
- package/dist/hooks/use-honey-layout.d.ts +1 -1
- package/dist/hooks/use-honey-media-query.d.ts +1 -1
- package/dist/hooks/use-honey-overlay.d.ts +2 -2
- package/dist/hooks/use-honey-synthetic-scroll.d.ts +50 -3
- package/dist/hooks/use-register-honey-overlay.d.ts +1 -1
- package/dist/index.cjs +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.dev.cjs +161 -150
- package/dist/index.dev.cjs.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/dist/providers/HoneyLayoutProvider.d.ts +1 -1
- package/dist/providers/hooks/use-honey-overlays.d.ts +2 -2
- package/package.json +20 -20
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { PropsWithChildren } from 'react';
|
|
2
2
|
import type { HoneyStyleProviderProps } from '@react-hive/honey-style';
|
|
3
|
-
import type { UseHoneyMediaQueryOptions } from '
|
|
3
|
+
import type { UseHoneyMediaQueryOptions } from '../hooks';
|
|
4
4
|
interface HoneyLayoutProviderProps extends HoneyStyleProviderProps {
|
|
5
5
|
mediaQueryOptions?: UseHoneyMediaQueryOptions;
|
|
6
6
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { HoneyActiveOverlay } from '
|
|
2
|
-
import type { HoneyRegisterOverlay, HoneyUnregisterOverlay } from '
|
|
1
|
+
import type { HoneyActiveOverlay } from '../../types';
|
|
2
|
+
import type { HoneyRegisterOverlay, HoneyUnregisterOverlay } from '../../contexts';
|
|
3
3
|
/**
|
|
4
4
|
* Hook to manage a stack of overlays, allowing registration and unregistration of overlays,
|
|
5
5
|
* as well as handling keyboard events for the topmost overlay.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-hive/honey-layout",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.2.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -18,14 +18,6 @@
|
|
|
18
18
|
},
|
|
19
19
|
"author": "Mike Aliinyk <m.aliynik@gmail.com>",
|
|
20
20
|
"license": "MIT",
|
|
21
|
-
"scripts": {
|
|
22
|
-
"prepare": "husky",
|
|
23
|
-
"start": "NODE_ENV=development webpack serve --config webpack-docs.config.mjs",
|
|
24
|
-
"test": "jest --collect-coverage",
|
|
25
|
-
"build:lib": "webpack --config webpack.config.mjs",
|
|
26
|
-
"build:docs": "webpack --config webpack-docs.config.mjs",
|
|
27
|
-
"diagnostics": "tsx scripts/collect-diagnostics.ts"
|
|
28
|
-
},
|
|
29
21
|
"type": "module",
|
|
30
22
|
"main": "dist/index.cjs",
|
|
31
23
|
"module": "dist/index.mjs",
|
|
@@ -47,8 +39,8 @@
|
|
|
47
39
|
},
|
|
48
40
|
"dependencies": {
|
|
49
41
|
"@floating-ui/dom": "1.7.5",
|
|
50
|
-
"@floating-ui/react": "0.27.
|
|
51
|
-
"@react-hive/honey-utils": "3.
|
|
42
|
+
"@floating-ui/react": "0.27.18",
|
|
43
|
+
"@react-hive/honey-utils": "3.24.0",
|
|
52
44
|
"csstype": "3.2.3",
|
|
53
45
|
"highlight.js": "11.11.1",
|
|
54
46
|
"lodash.merge": "4.6.2",
|
|
@@ -56,21 +48,21 @@
|
|
|
56
48
|
"react-router-dom": "6.30.1"
|
|
57
49
|
},
|
|
58
50
|
"devDependencies": {
|
|
59
|
-
"@eslint/js": "
|
|
51
|
+
"@eslint/js": "10.0.1",
|
|
60
52
|
"@mdx-js/loader": "3.1.1",
|
|
61
53
|
"@mdx-js/react": "3.1.1",
|
|
62
54
|
"@testing-library/jest-dom": "6.9.1",
|
|
63
|
-
"@testing-library/react": "16.3.
|
|
55
|
+
"@testing-library/react": "16.3.2",
|
|
64
56
|
"@types/jest": "29.5.14",
|
|
65
57
|
"@types/lodash.merge": "4.6.9",
|
|
66
58
|
"@types/lodash.throttle": "4.1.9",
|
|
67
59
|
"@types/mdx": "2.0.13",
|
|
68
60
|
"@types/node": "22.19.11",
|
|
69
|
-
"@types/react": "^19.2.
|
|
61
|
+
"@types/react": "^19.2.14",
|
|
70
62
|
"@types/react-dom": "^19.2.3",
|
|
71
63
|
"copy-webpack-plugin": "13.0.1",
|
|
72
|
-
"css-loader": "7.1.
|
|
73
|
-
"eslint": "
|
|
64
|
+
"css-loader": "7.1.4",
|
|
65
|
+
"eslint": "10.0.0",
|
|
74
66
|
"eslint-plugin-react": "7.37.5",
|
|
75
67
|
"html-webpack-plugin": "5.6.6",
|
|
76
68
|
"husky": "9.1.7",
|
|
@@ -83,8 +75,8 @@
|
|
|
83
75
|
"ts-node": "10.9.2",
|
|
84
76
|
"tsx": "4.21.0",
|
|
85
77
|
"typescript": "5.9.3",
|
|
86
|
-
"typescript-eslint": "8.
|
|
87
|
-
"webpack": "5.105.
|
|
78
|
+
"typescript-eslint": "8.56.0",
|
|
79
|
+
"webpack": "5.105.2",
|
|
88
80
|
"webpack-cli": "6.0.1",
|
|
89
81
|
"webpack-dev-server": "5.2.3"
|
|
90
82
|
},
|
|
@@ -104,5 +96,13 @@
|
|
|
104
96
|
"browserslist": [
|
|
105
97
|
"defaults",
|
|
106
98
|
"not IE 11"
|
|
107
|
-
]
|
|
108
|
-
|
|
99
|
+
],
|
|
100
|
+
"scripts": {
|
|
101
|
+
"clean": "rm -rf dist coverage",
|
|
102
|
+
"start": "NODE_ENV=development webpack serve --config webpack-docs.config.mjs",
|
|
103
|
+
"test": "jest --coverage",
|
|
104
|
+
"build:lib": "webpack --config webpack.config.mjs",
|
|
105
|
+
"build:docs": "webpack --config webpack-docs.config.mjs",
|
|
106
|
+
"diagnostics": "tsx scripts/collect-diagnostics.ts"
|
|
107
|
+
}
|
|
108
|
+
}
|