@react-hive/honey-layout 18.3.0 → 18.4.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/HoneyContextMenu/HoneyContextMenuContentOptionStyled.d.ts +2 -2
- 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/HoneyList/HoneyListStyled.d.ts +1 -1
- package/dist/components/HoneyPopup/HoneyPopupStyled.d.ts +1 -1
- package/dist/index.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.dev.cjs +222 -235
- package/dist/index.dev.cjs.map +1 -1
- package/dist/index.mjs +11 -11
- package/dist/index.mjs.map +1 -1
- package/package.json +11 -11
package/dist/index.dev.cjs
CHANGED
|
@@ -2438,9 +2438,9 @@ module.exports = throttle;
|
|
|
2438
2438
|
|
|
2439
2439
|
/***/ },
|
|
2440
2440
|
|
|
2441
|
-
/***/ "./node_modules/.pnpm/react-dom@19.2.
|
|
2441
|
+
/***/ "./node_modules/.pnpm/react-dom@19.2.8_react@19.2.8/node_modules/react-dom/cjs/react-dom.development.js"
|
|
2442
2442
|
/*!**************************************************************************************************************!*\
|
|
2443
|
-
!*** ./node_modules/.pnpm/react-dom@19.2.
|
|
2443
|
+
!*** ./node_modules/.pnpm/react-dom@19.2.8_react@19.2.8/node_modules/react-dom/cjs/react-dom.development.js ***!
|
|
2444
2444
|
\**************************************************************************************************************/
|
|
2445
2445
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
2446
2446
|
|
|
@@ -2863,7 +2863,7 @@ module.exports = throttle;
|
|
|
2863
2863
|
exports.useFormStatus = function () {
|
|
2864
2864
|
return resolveDispatcher().useHostTransitionStatus();
|
|
2865
2865
|
};
|
|
2866
|
-
exports.version = "19.2.
|
|
2866
|
+
exports.version = "19.2.8";
|
|
2867
2867
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
|
2868
2868
|
"function" ===
|
|
2869
2869
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
|
@@ -2873,9 +2873,9 @@ module.exports = throttle;
|
|
|
2873
2873
|
|
|
2874
2874
|
/***/ },
|
|
2875
2875
|
|
|
2876
|
-
/***/ "./node_modules/.pnpm/react-dom@19.2.
|
|
2876
|
+
/***/ "./node_modules/.pnpm/react-dom@19.2.8_react@19.2.8/node_modules/react-dom/index.js"
|
|
2877
2877
|
/*!******************************************************************************************!*\
|
|
2878
|
-
!*** ./node_modules/.pnpm/react-dom@19.2.
|
|
2878
|
+
!*** ./node_modules/.pnpm/react-dom@19.2.8_react@19.2.8/node_modules/react-dom/index.js ***!
|
|
2879
2879
|
\******************************************************************************************/
|
|
2880
2880
|
(module, __unused_webpack_exports, __webpack_require__) {
|
|
2881
2881
|
|
|
@@ -2906,15 +2906,15 @@ function checkDCE() {
|
|
|
2906
2906
|
|
|
2907
2907
|
if (false) // removed by dead control flow
|
|
2908
2908
|
{} else {
|
|
2909
|
-
module.exports = __webpack_require__(/*! ./cjs/react-dom.development.js */ "./node_modules/.pnpm/react-dom@19.2.
|
|
2909
|
+
module.exports = __webpack_require__(/*! ./cjs/react-dom.development.js */ "./node_modules/.pnpm/react-dom@19.2.8_react@19.2.8/node_modules/react-dom/cjs/react-dom.development.js");
|
|
2910
2910
|
}
|
|
2911
2911
|
|
|
2912
2912
|
|
|
2913
2913
|
/***/ },
|
|
2914
2914
|
|
|
2915
|
-
/***/ "./node_modules/.pnpm/react@19.2.
|
|
2915
|
+
/***/ "./node_modules/.pnpm/react@19.2.8/node_modules/react/cjs/react-jsx-runtime.development.js"
|
|
2916
2916
|
/*!*************************************************************************************************!*\
|
|
2917
|
-
!*** ./node_modules/.pnpm/react@19.2.
|
|
2917
|
+
!*** ./node_modules/.pnpm/react@19.2.8/node_modules/react/cjs/react-jsx-runtime.development.js ***!
|
|
2918
2918
|
\*************************************************************************************************/
|
|
2919
2919
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
2920
2920
|
|
|
@@ -3275,9 +3275,9 @@ if (false) // removed by dead control flow
|
|
|
3275
3275
|
|
|
3276
3276
|
/***/ },
|
|
3277
3277
|
|
|
3278
|
-
/***/ "./node_modules/.pnpm/react@19.2.
|
|
3278
|
+
/***/ "./node_modules/.pnpm/react@19.2.8/node_modules/react/jsx-runtime.js"
|
|
3279
3279
|
/*!***************************************************************************!*\
|
|
3280
|
-
!*** ./node_modules/.pnpm/react@19.2.
|
|
3280
|
+
!*** ./node_modules/.pnpm/react@19.2.8/node_modules/react/jsx-runtime.js ***!
|
|
3281
3281
|
\***************************************************************************/
|
|
3282
3282
|
(module, __unused_webpack_exports, __webpack_require__) {
|
|
3283
3283
|
|
|
@@ -3286,7 +3286,7 @@ if (false) // removed by dead control flow
|
|
|
3286
3286
|
|
|
3287
3287
|
if (false) // removed by dead control flow
|
|
3288
3288
|
{} else {
|
|
3289
|
-
module.exports = __webpack_require__(/*! ./cjs/react-jsx-runtime.development.js */ "./node_modules/.pnpm/react@19.2.
|
|
3289
|
+
module.exports = __webpack_require__(/*! ./cjs/react-jsx-runtime.development.js */ "./node_modules/.pnpm/react@19.2.8/node_modules/react/cjs/react-jsx-runtime.development.js");
|
|
3290
3290
|
}
|
|
3291
3291
|
|
|
3292
3292
|
|
|
@@ -3960,7 +3960,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3960
3960
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3961
3961
|
/* harmony export */ HoneyContextMenu: () => (/* binding */ HoneyContextMenu)
|
|
3962
3962
|
/* harmony export */ });
|
|
3963
|
-
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.
|
|
3963
|
+
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.8/node_modules/react/jsx-runtime.js");
|
|
3964
3964
|
/* harmony import */ var _HoneyPopup__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../HoneyPopup */ "./src/components/HoneyPopup/index.ts");
|
|
3965
3965
|
/* harmony import */ var _HoneyContextMenuContent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./HoneyContextMenuContent */ "./src/components/HoneyContextMenu/HoneyContextMenuContent.tsx");
|
|
3966
3966
|
|
|
@@ -4003,7 +4003,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4003
4003
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4004
4004
|
/* harmony export */ HoneyContextMenuContent: () => (/* binding */ HoneyContextMenuContent)
|
|
4005
4005
|
/* harmony export */ });
|
|
4006
|
-
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.
|
|
4006
|
+
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.8/node_modules/react/jsx-runtime.js");
|
|
4007
4007
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
|
4008
4008
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
4009
4009
|
/* harmony import */ var _react_hive_honey_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @react-hive/honey-utils */ "./node_modules/.pnpm/@react-hive+honey-utils@4.0.0/node_modules/@react-hive/honey-utils/dist/index.mjs");
|
|
@@ -4044,7 +4044,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4044
4044
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4045
4045
|
/* harmony export */ HoneyContextMenuContentOption: () => (/* binding */ HoneyContextMenuContentOption)
|
|
4046
4046
|
/* harmony export */ });
|
|
4047
|
-
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.
|
|
4047
|
+
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.8/node_modules/react/jsx-runtime.js");
|
|
4048
4048
|
/* harmony import */ var _react_hive_honey_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @react-hive/honey-utils */ "./node_modules/.pnpm/@react-hive+honey-utils@4.0.0/node_modules/@react-hive/honey-utils/dist/index.mjs");
|
|
4049
4049
|
/* harmony import */ var _HoneyPopup__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../HoneyPopup */ "./src/components/HoneyPopup/index.ts");
|
|
4050
4050
|
/* harmony import */ var _HoneyContextMenuContentOptionStyled__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./HoneyContextMenuContentOptionStyled */ "./src/components/HoneyContextMenu/HoneyContextMenuContentOptionStyled.ts");
|
|
@@ -4266,7 +4266,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4266
4266
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4267
4267
|
/* harmony export */ HoneyGrid: () => (/* binding */ HoneyGrid)
|
|
4268
4268
|
/* harmony export */ });
|
|
4269
|
-
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.
|
|
4269
|
+
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.8/node_modules/react/jsx-runtime.js");
|
|
4270
4270
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
|
4271
4271
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
4272
4272
|
/* harmony import */ var _HoneyGridContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./HoneyGridContext */ "./src/components/HoneyGrid/HoneyGridContext.ts");
|
|
@@ -4417,7 +4417,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4417
4417
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4418
4418
|
/* harmony export */ HoneyGridColumn: () => (/* binding */ HoneyGridColumn)
|
|
4419
4419
|
/* harmony export */ });
|
|
4420
|
-
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.
|
|
4420
|
+
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.8/node_modules/react/jsx-runtime.js");
|
|
4421
4421
|
/* harmony import */ var _HoneyGrid_hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../HoneyGrid/hooks */ "./src/components/HoneyGrid/hooks/index.ts");
|
|
4422
4422
|
/* harmony import */ var _HoneyGridColumnStyled__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./HoneyGridColumnStyled */ "./src/components/HoneyGridColumn/HoneyGridColumnStyled.ts");
|
|
4423
4423
|
|
|
@@ -4524,7 +4524,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4524
4524
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4525
4525
|
/* harmony export */ HoneyLayerRegistry: () => (/* binding */ HoneyLayerRegistry)
|
|
4526
4526
|
/* harmony export */ });
|
|
4527
|
-
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.
|
|
4527
|
+
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.8/node_modules/react/jsx-runtime.js");
|
|
4528
4528
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
|
4529
4529
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
4530
4530
|
/* harmony import */ var _react_hive_honey_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @react-hive/honey-utils */ "./node_modules/.pnpm/@react-hive+honey-utils@4.0.0/node_modules/@react-hive/honey-utils/dist/index.mjs");
|
|
@@ -4774,7 +4774,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4774
4774
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4775
4775
|
/* harmony export */ HoneyList: () => (/* binding */ HoneyList)
|
|
4776
4776
|
/* harmony export */ });
|
|
4777
|
-
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.
|
|
4777
|
+
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.8/node_modules/react/jsx-runtime.js");
|
|
4778
4778
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
|
4779
4779
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
4780
4780
|
/* harmony import */ var _HoneyStatusContent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../HoneyStatusContent */ "./src/components/HoneyStatusContent.tsx");
|
|
@@ -4872,11 +4872,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4872
4872
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4873
4873
|
/* harmony export */ HoneyOverlay: () => (/* binding */ HoneyOverlay)
|
|
4874
4874
|
/* harmony export */ });
|
|
4875
|
-
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.
|
|
4875
|
+
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.8/node_modules/react/jsx-runtime.js");
|
|
4876
4876
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
|
4877
4877
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
4878
4878
|
/* harmony import */ var _react_hive_honey_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @react-hive/honey-utils */ "./node_modules/.pnpm/@react-hive+honey-utils@4.0.0/node_modules/@react-hive/honey-utils/dist/index.mjs");
|
|
4879
|
-
/* harmony import */ var _react_hive_honey_hooks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @react-hive/honey-hooks */ "./node_modules/.pnpm/@react-hive+honey-hooks@3.1.0_react@19.2.
|
|
4879
|
+
/* harmony import */ var _react_hive_honey_hooks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @react-hive/honey-hooks */ "./node_modules/.pnpm/@react-hive+honey-hooks@3.1.0_react@19.2.8/node_modules/@react-hive/honey-hooks/dist/index.mjs");
|
|
4880
4880
|
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../hooks */ "./src/hooks/index.ts");
|
|
4881
4881
|
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../helpers */ "./src/helpers/index.ts");
|
|
4882
4882
|
/* harmony import */ var _HoneyFlex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./HoneyFlex */ "./src/components/HoneyFlex/index.ts");
|
|
@@ -4966,7 +4966,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4966
4966
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4967
4967
|
/* harmony export */ HoneyPopup: () => (/* binding */ HoneyPopup)
|
|
4968
4968
|
/* harmony export */ });
|
|
4969
|
-
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.
|
|
4969
|
+
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.8/node_modules/react/jsx-runtime.js");
|
|
4970
4970
|
/* harmony import */ var _HoneyPopupTree__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./HoneyPopupTree */ "./src/components/HoneyPopup/HoneyPopupTree.tsx");
|
|
4971
4971
|
/* harmony import */ var _HoneyPopupContent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./HoneyPopupContent */ "./src/components/HoneyPopup/HoneyPopupContent.tsx");
|
|
4972
4972
|
|
|
@@ -5010,12 +5010,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5010
5010
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5011
5011
|
/* harmony export */ HoneyPopupContent: () => (/* binding */ HoneyPopupContent)
|
|
5012
5012
|
/* harmony export */ });
|
|
5013
|
-
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.
|
|
5013
|
+
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.8/node_modules/react/jsx-runtime.js");
|
|
5014
5014
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
|
5015
5015
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
5016
|
-
/* harmony import */ var _floating_ui_react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @floating-ui/react */ "./node_modules/.pnpm/@floating-ui+react@0.27.
|
|
5016
|
+
/* harmony import */ var _floating_ui_react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @floating-ui/react */ "./node_modules/.pnpm/@floating-ui+react@0.27.20_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@floating-ui/react/dist/floating-ui.react.mjs");
|
|
5017
5017
|
/* harmony import */ var _react_hive_honey_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @react-hive/honey-utils */ "./node_modules/.pnpm/@react-hive+honey-utils@4.0.0/node_modules/@react-hive/honey-utils/dist/index.mjs");
|
|
5018
|
-
/* harmony import */ var _react_hive_honey_hooks__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @react-hive/honey-hooks */ "./node_modules/.pnpm/@react-hive+honey-hooks@3.1.0_react@19.2.
|
|
5018
|
+
/* harmony import */ var _react_hive_honey_hooks__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @react-hive/honey-hooks */ "./node_modules/.pnpm/@react-hive+honey-hooks@3.1.0_react@19.2.8/node_modules/@react-hive/honey-hooks/dist/index.mjs");
|
|
5019
5019
|
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../components */ "./src/components/index.ts");
|
|
5020
5020
|
/* harmony import */ var _HoneyPopupStyled__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./HoneyPopupStyled */ "./src/components/HoneyPopup/HoneyPopupStyled.ts");
|
|
5021
5021
|
/* harmony import */ var _HoneyPopupPortal__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./HoneyPopupPortal */ "./src/components/HoneyPopup/HoneyPopupPortal.tsx");
|
|
@@ -5084,8 +5084,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5084
5084
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5085
5085
|
/* harmony export */ HoneyPopupPortal: () => (/* binding */ HoneyPopupPortal)
|
|
5086
5086
|
/* harmony export */ });
|
|
5087
|
-
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.
|
|
5088
|
-
/* harmony import */ var _floating_ui_react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @floating-ui/react */ "./node_modules/.pnpm/@floating-ui+react@0.27.
|
|
5087
|
+
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.8/node_modules/react/jsx-runtime.js");
|
|
5088
|
+
/* harmony import */ var _floating_ui_react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @floating-ui/react */ "./node_modules/.pnpm/@floating-ui+react@0.27.20_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@floating-ui/react/dist/floating-ui.react.mjs");
|
|
5089
5089
|
|
|
5090
5090
|
|
|
5091
5091
|
const HoneyPopupPortal = ({ children, enabled = true, ...props }) => {
|
|
@@ -5129,8 +5129,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5129
5129
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5130
5130
|
/* harmony export */ HoneyPopupTree: () => (/* binding */ HoneyPopupTree)
|
|
5131
5131
|
/* harmony export */ });
|
|
5132
|
-
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.
|
|
5133
|
-
/* harmony import */ var _floating_ui_react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @floating-ui/react */ "./node_modules/.pnpm/@floating-ui+react@0.27.
|
|
5132
|
+
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.8/node_modules/react/jsx-runtime.js");
|
|
5133
|
+
/* harmony import */ var _floating_ui_react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @floating-ui/react */ "./node_modules/.pnpm/@floating-ui+react@0.27.20_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@floating-ui/react/dist/floating-ui.react.mjs");
|
|
5134
5134
|
|
|
5135
5135
|
|
|
5136
5136
|
/**
|
|
@@ -5207,7 +5207,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5207
5207
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5208
5208
|
/* harmony export */ useHoneyPopupInteractions: () => (/* binding */ useHoneyPopupInteractions)
|
|
5209
5209
|
/* harmony export */ });
|
|
5210
|
-
/* harmony import */ var _floating_ui_react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @floating-ui/react */ "./node_modules/.pnpm/@floating-ui+react@0.27.
|
|
5210
|
+
/* harmony import */ var _floating_ui_react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @floating-ui/react */ "./node_modules/.pnpm/@floating-ui+react@0.27.20_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@floating-ui/react/dist/floating-ui.react.mjs");
|
|
5211
5211
|
|
|
5212
5212
|
const useHoneyPopupInteractions = (context, { enabled = true, event = 'click', dismissOptions, clickOptions, hoverOptions, focusOptions, clientPointsOptions, roleOptions, extraInteractions = [], }) => {
|
|
5213
5213
|
const dismiss = (0,_floating_ui_react__WEBPACK_IMPORTED_MODULE_0__.useDismiss)(context, {
|
|
@@ -5252,11 +5252,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5252
5252
|
/* harmony export */ });
|
|
5253
5253
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
5254
5254
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
5255
|
-
/* harmony import */ var _floating_ui_react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @floating-ui/react */ "./node_modules/.pnpm/@floating-ui+react@0.27.
|
|
5256
|
-
/* harmony import */ var _floating_ui_react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @floating-ui/react */ "./node_modules/.pnpm/@floating-ui+dom@1.
|
|
5257
|
-
/* harmony import */ var _floating_ui_react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @floating-ui/react */ "./node_modules/.pnpm/@floating-ui+react-dom@2.1.
|
|
5255
|
+
/* harmony import */ var _floating_ui_react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @floating-ui/react */ "./node_modules/.pnpm/@floating-ui+react@0.27.20_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@floating-ui/react/dist/floating-ui.react.mjs");
|
|
5256
|
+
/* harmony import */ var _floating_ui_react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @floating-ui/react */ "./node_modules/.pnpm/@floating-ui+dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs");
|
|
5257
|
+
/* harmony import */ var _floating_ui_react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @floating-ui/react */ "./node_modules/.pnpm/@floating-ui+react-dom@2.1.9_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs");
|
|
5258
5258
|
/* harmony import */ var _react_hive_honey_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @react-hive/honey-utils */ "./node_modules/.pnpm/@react-hive+honey-utils@4.0.0/node_modules/@react-hive/honey-utils/dist/index.mjs");
|
|
5259
|
-
/* harmony import */ var _react_hive_honey_hooks__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @react-hive/honey-hooks */ "./node_modules/.pnpm/@react-hive+honey-hooks@3.1.0_react@19.2.
|
|
5259
|
+
/* harmony import */ var _react_hive_honey_hooks__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @react-hive/honey-hooks */ "./node_modules/.pnpm/@react-hive+honey-hooks@3.1.0_react@19.2.8/node_modules/@react-hive/honey-hooks/dist/index.mjs");
|
|
5260
5260
|
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../hooks */ "./src/hooks/index.ts");
|
|
5261
5261
|
/* harmony import */ var _use_honey_popup_interactions__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./use-honey-popup-interactions */ "./src/components/HoneyPopup/hooks/use-honey-popup-interactions.ts");
|
|
5262
5262
|
|
|
@@ -5460,7 +5460,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5460
5460
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5461
5461
|
/* harmony export */ HoneyStatusContent: () => (/* binding */ HoneyStatusContent)
|
|
5462
5462
|
/* harmony export */ });
|
|
5463
|
-
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.
|
|
5463
|
+
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.8/node_modules/react/jsx-runtime.js");
|
|
5464
5464
|
|
|
5465
5465
|
/**
|
|
5466
5466
|
* A component that conditionally renders blocks based on specified boolean flags.
|
|
@@ -6136,7 +6136,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6136
6136
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6137
6137
|
/* harmony export */ HoneyLayoutProvider: () => (/* binding */ HoneyLayoutProvider)
|
|
6138
6138
|
/* harmony export */ });
|
|
6139
|
-
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.
|
|
6139
|
+
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.8/node_modules/react/jsx-runtime.js");
|
|
6140
6140
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
|
6141
6141
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
6142
6142
|
/* harmony import */ var _react_hive_honey_style__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @react-hive/honey-style */ "@react-hive/honey-style");
|
|
@@ -6200,7 +6200,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6200
6200
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6201
6201
|
/* harmony export */ HoneyLayoutThemeOverride: () => (/* binding */ HoneyLayoutThemeOverride)
|
|
6202
6202
|
/* harmony export */ });
|
|
6203
|
-
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.
|
|
6203
|
+
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.8/node_modules/react/jsx-runtime.js");
|
|
6204
6204
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
|
6205
6205
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
6206
6206
|
/* harmony import */ var lodash_merge__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash.merge */ "./node_modules/.pnpm/lodash.merge@4.6.2/node_modules/lodash.merge/index.js");
|
|
@@ -6623,9 +6623,9 @@ module.exports = require("react");
|
|
|
6623
6623
|
|
|
6624
6624
|
/***/ },
|
|
6625
6625
|
|
|
6626
|
-
/***/ "./node_modules/.pnpm/@floating-ui+core@1.
|
|
6626
|
+
/***/ "./node_modules/.pnpm/@floating-ui+core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.mjs"
|
|
6627
6627
|
/*!*************************************************************************************************************!*\
|
|
6628
|
-
!*** ./node_modules/.pnpm/@floating-ui+core@1.
|
|
6628
|
+
!*** ./node_modules/.pnpm/@floating-ui+core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.mjs ***!
|
|
6629
6629
|
\*************************************************************************************************************/
|
|
6630
6630
|
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
6631
6631
|
|
|
@@ -6645,7 +6645,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6645
6645
|
/* harmony export */ shift: () => (/* binding */ shift),
|
|
6646
6646
|
/* harmony export */ size: () => (/* binding */ size)
|
|
6647
6647
|
/* harmony export */ });
|
|
6648
|
-
/* harmony import */ var _floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @floating-ui/utils */ "./node_modules/.pnpm/@floating-ui+utils@0.2.
|
|
6648
|
+
/* harmony import */ var _floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @floating-ui/utils */ "./node_modules/.pnpm/@floating-ui+utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs");
|
|
6649
6649
|
|
|
6650
6650
|
|
|
6651
6651
|
|
|
@@ -6694,13 +6694,9 @@ function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
|
6694
6694
|
y: reference.y
|
|
6695
6695
|
};
|
|
6696
6696
|
}
|
|
6697
|
-
|
|
6698
|
-
|
|
6699
|
-
|
|
6700
|
-
break;
|
|
6701
|
-
case 'end':
|
|
6702
|
-
coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);
|
|
6703
|
-
break;
|
|
6697
|
+
const alignment = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.getAlignment)(placement);
|
|
6698
|
+
if (alignment) {
|
|
6699
|
+
coords[alignmentAxis] += commonAlign * (alignment === 'end' ? 1 : -1) * (rtl && isVertical ? -1 : 1);
|
|
6704
6700
|
}
|
|
6705
6701
|
return coords;
|
|
6706
6702
|
}
|
|
@@ -6749,10 +6745,7 @@ async function detectOverflow(state, options) {
|
|
|
6749
6745
|
height: rects.floating.height
|
|
6750
6746
|
} : rects.reference;
|
|
6751
6747
|
const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
|
|
6752
|
-
const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent)))
|
|
6753
|
-
x: 1,
|
|
6754
|
-
y: 1
|
|
6755
|
-
} : {
|
|
6748
|
+
const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) && (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
|
|
6756
6749
|
x: 1,
|
|
6757
6750
|
y: 1
|
|
6758
6751
|
};
|
|
@@ -6925,17 +6918,16 @@ const arrow = options => ({
|
|
|
6925
6918
|
|
|
6926
6919
|
// Make sure the arrow doesn't overflow the floating element if the center
|
|
6927
6920
|
// point is outside the floating element's bounds.
|
|
6928
|
-
const min$1 = minPadding;
|
|
6929
6921
|
const max = clientSize - arrowDimensions[length] - maxPadding;
|
|
6930
6922
|
const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
|
|
6931
|
-
const offset = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.clamp)(
|
|
6923
|
+
const offset = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.clamp)(minPadding, center, max);
|
|
6932
6924
|
|
|
6933
6925
|
// If the reference is small enough that the arrow's padding causes it to
|
|
6934
6926
|
// to point to nothing for an aligned placement, adjust the offset of the
|
|
6935
6927
|
// floating element itself. To ensure `shift()` continues to take action,
|
|
6936
6928
|
// a single reset is performed when this is true.
|
|
6937
|
-
const shouldAddOffset = !middlewareData.arrow && (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.getAlignment)(placement) != null && center !== offset && rects.reference[length] / 2 - (center <
|
|
6938
|
-
const alignmentOffset = shouldAddOffset ? center <
|
|
6929
|
+
const shouldAddOffset = !middlewareData.arrow && (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.getAlignment)(placement) != null && center !== offset && rects.reference[length] / 2 - (center < minPadding ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
|
|
6930
|
+
const alignmentOffset = shouldAddOffset ? center < minPadding ? center - minPadding : center - max : 0;
|
|
6939
6931
|
return {
|
|
6940
6932
|
[axis]: coords[axis] + alignmentOffset,
|
|
6941
6933
|
data: {
|
|
@@ -6989,13 +6981,11 @@ const autoPlacement = function (options) {
|
|
|
6989
6981
|
...detectOverflowOptions
|
|
6990
6982
|
} = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.evaluate)(options, state);
|
|
6991
6983
|
const placements$1 = alignment !== undefined || allowedPlacements === _floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.placements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements;
|
|
6992
|
-
const overflow = await platform.detectOverflow(state, detectOverflowOptions);
|
|
6993
6984
|
const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP.index) || 0;
|
|
6994
6985
|
const currentPlacement = placements$1[currentIndex];
|
|
6995
6986
|
if (currentPlacement == null) {
|
|
6996
6987
|
return {};
|
|
6997
6988
|
}
|
|
6998
|
-
const alignmentSides = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.getAlignmentSides)(currentPlacement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)));
|
|
6999
6989
|
|
|
7000
6990
|
// Make `computeCoords` start from the right place.
|
|
7001
6991
|
if (placement !== currentPlacement) {
|
|
@@ -7005,6 +6995,8 @@ const autoPlacement = function (options) {
|
|
|
7005
6995
|
}
|
|
7006
6996
|
};
|
|
7007
6997
|
}
|
|
6998
|
+
const overflow = await platform.detectOverflow(state, detectOverflowOptions);
|
|
6999
|
+
const alignmentSides = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.getAlignmentSides)(currentPlacement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)));
|
|
7008
7000
|
const currentOverflows = [overflow[(0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.getSide)(currentPlacement)], overflow[alignmentSides[0]], overflow[alignmentSides[1]]];
|
|
7009
7001
|
const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP2.overflows) || []), {
|
|
7010
7002
|
placement: currentPlacement,
|
|
@@ -7311,12 +7303,19 @@ const inline = function (options) {
|
|
|
7311
7303
|
y
|
|
7312
7304
|
} = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.evaluate)(options, state);
|
|
7313
7305
|
const nativeClientRects = Array.from((await (platform.getClientRects == null ? void 0 : platform.getClientRects(elements.reference))) || []);
|
|
7306
|
+
|
|
7307
|
+
// No rects (e.g. a hidden or detached reference, or a collapsed range) —
|
|
7308
|
+
// keep the existing reference rect rather than resetting to an invalid
|
|
7309
|
+
// one with non-finite values.
|
|
7310
|
+
if (!nativeClientRects.length) {
|
|
7311
|
+
return {};
|
|
7312
|
+
}
|
|
7314
7313
|
const clientRects = getRectsByLine(nativeClientRects);
|
|
7315
7314
|
const fallback = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.rectToClientRect)(getBoundingRect(nativeClientRects));
|
|
7316
7315
|
const paddingObject = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.getPaddingObject)(padding);
|
|
7317
7316
|
function getBoundingClientRect() {
|
|
7318
7317
|
// There are two rects and they are disjoined.
|
|
7319
|
-
if (clientRects.length === 2 && clientRects[0].left > clientRects[1].right && x != null && y != null) {
|
|
7318
|
+
if (clientRects.length === 2 && (clientRects[0].left > clientRects[1].right || clientRects[1].left > clientRects[0].right) && x != null && y != null) {
|
|
7320
7319
|
// Find the first rect in which the point is fully inside.
|
|
7321
7320
|
return clientRects.find(rect => x > rect.left - paddingObject.left && x < rect.right + paddingObject.right && y > rect.top - paddingObject.top && y < rect.bottom + paddingObject.bottom) || fallback;
|
|
7322
7321
|
}
|
|
@@ -7331,18 +7330,12 @@ const inline = function (options) {
|
|
|
7331
7330
|
const bottom = lastRect.bottom;
|
|
7332
7331
|
const left = isTop ? firstRect.left : lastRect.left;
|
|
7333
7332
|
const right = isTop ? firstRect.right : lastRect.right;
|
|
7334
|
-
|
|
7335
|
-
const height = bottom - top;
|
|
7336
|
-
return {
|
|
7337
|
-
top,
|
|
7338
|
-
bottom,
|
|
7339
|
-
left,
|
|
7340
|
-
right,
|
|
7341
|
-
width,
|
|
7342
|
-
height,
|
|
7333
|
+
return (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.rectToClientRect)({
|
|
7343
7334
|
x: left,
|
|
7344
|
-
y: top
|
|
7345
|
-
|
|
7335
|
+
y: top,
|
|
7336
|
+
width: right - left,
|
|
7337
|
+
height: bottom - top
|
|
7338
|
+
});
|
|
7346
7339
|
}
|
|
7347
7340
|
const isLeftSide = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.getSide)(placement) === 'left';
|
|
7348
7341
|
const maxRight = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.max)(...clientRects.map(rect => rect.right));
|
|
@@ -7350,20 +7343,12 @@ const inline = function (options) {
|
|
|
7350
7343
|
const measureRects = clientRects.filter(rect => isLeftSide ? rect.left === minLeft : rect.right === maxRight);
|
|
7351
7344
|
const top = measureRects[0].top;
|
|
7352
7345
|
const bottom = measureRects[measureRects.length - 1].bottom;
|
|
7353
|
-
|
|
7354
|
-
|
|
7355
|
-
|
|
7356
|
-
|
|
7357
|
-
|
|
7358
|
-
|
|
7359
|
-
bottom,
|
|
7360
|
-
left,
|
|
7361
|
-
right,
|
|
7362
|
-
width,
|
|
7363
|
-
height,
|
|
7364
|
-
x: left,
|
|
7365
|
-
y: top
|
|
7366
|
-
};
|
|
7346
|
+
return (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.rectToClientRect)({
|
|
7347
|
+
x: minLeft,
|
|
7348
|
+
y: top,
|
|
7349
|
+
width: maxRight - minLeft,
|
|
7350
|
+
height: bottom - top
|
|
7351
|
+
});
|
|
7367
7352
|
}
|
|
7368
7353
|
return fallback;
|
|
7369
7354
|
}
|
|
@@ -7513,23 +7498,16 @@ const shift = function (options) {
|
|
|
7513
7498
|
y
|
|
7514
7499
|
};
|
|
7515
7500
|
const overflow = await platform.detectOverflow(state, detectOverflowOptions);
|
|
7516
|
-
const crossAxis = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.getSideAxis)(
|
|
7501
|
+
const crossAxis = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.getSideAxis)(placement);
|
|
7517
7502
|
const mainAxis = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.getOppositeAxis)(crossAxis);
|
|
7518
7503
|
let mainAxisCoord = coords[mainAxis];
|
|
7519
7504
|
let crossAxisCoord = coords[crossAxis];
|
|
7505
|
+
const clampCoord = (axis, coord) => (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.clamp)(coord + overflow[axis === 'y' ? 'top' : 'left'], coord, coord - overflow[axis === 'y' ? 'bottom' : 'right']);
|
|
7520
7506
|
if (checkMainAxis) {
|
|
7521
|
-
|
|
7522
|
-
const maxSide = mainAxis === 'y' ? 'bottom' : 'right';
|
|
7523
|
-
const min = mainAxisCoord + overflow[minSide];
|
|
7524
|
-
const max = mainAxisCoord - overflow[maxSide];
|
|
7525
|
-
mainAxisCoord = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.clamp)(min, mainAxisCoord, max);
|
|
7507
|
+
mainAxisCoord = clampCoord(mainAxis, mainAxisCoord);
|
|
7526
7508
|
}
|
|
7527
7509
|
if (checkCrossAxis) {
|
|
7528
|
-
|
|
7529
|
-
const maxSide = crossAxis === 'y' ? 'bottom' : 'right';
|
|
7530
|
-
const min = crossAxisCoord + overflow[minSide];
|
|
7531
|
-
const max = crossAxisCoord - overflow[maxSide];
|
|
7532
|
-
crossAxisCoord = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.clamp)(min, crossAxisCoord, max);
|
|
7510
|
+
crossAxisCoord = clampCoord(crossAxis, crossAxisCoord);
|
|
7533
7511
|
}
|
|
7534
7512
|
const limitedCoords = limiter.fn({
|
|
7535
7513
|
...state,
|
|
@@ -7560,6 +7538,7 @@ const limitShift = function (options) {
|
|
|
7560
7538
|
return {
|
|
7561
7539
|
options,
|
|
7562
7540
|
fn(state) {
|
|
7541
|
+
var _rawOffset$mainAxis, _rawOffset$crossAxis;
|
|
7563
7542
|
const {
|
|
7564
7543
|
x,
|
|
7565
7544
|
y,
|
|
@@ -7585,9 +7564,8 @@ const limitShift = function (options) {
|
|
|
7585
7564
|
mainAxis: rawOffset,
|
|
7586
7565
|
crossAxis: 0
|
|
7587
7566
|
} : {
|
|
7588
|
-
mainAxis: 0,
|
|
7589
|
-
crossAxis: 0
|
|
7590
|
-
...rawOffset
|
|
7567
|
+
mainAxis: (_rawOffset$mainAxis = rawOffset.mainAxis) != null ? _rawOffset$mainAxis : 0,
|
|
7568
|
+
crossAxis: (_rawOffset$crossAxis = rawOffset.crossAxis) != null ? _rawOffset$crossAxis : 0
|
|
7591
7569
|
};
|
|
7592
7570
|
if (checkMainAxis) {
|
|
7593
7571
|
const len = mainAxis === 'y' ? 'height' : 'width';
|
|
@@ -7619,6 +7597,12 @@ const limitShift = function (options) {
|
|
|
7619
7597
|
};
|
|
7620
7598
|
};
|
|
7621
7599
|
|
|
7600
|
+
// Method syntax keeps callback parameters bivariant, but expressing the
|
|
7601
|
+
// explicit `| undefined` required by `exactOptionalPropertyTypes` needs
|
|
7602
|
+
// property syntax, which is contravariant under `strictFunctionTypes`.
|
|
7603
|
+
// Extracting the function from a method position restores that bivariance so
|
|
7604
|
+
// consumers can still assign callbacks with narrower parameter types.
|
|
7605
|
+
|
|
7622
7606
|
/**
|
|
7623
7607
|
* Provides data that allows you to change the size of the floating element —
|
|
7624
7608
|
* for instance, prevent it from overflowing the clipping boundary or match the
|
|
@@ -7633,7 +7617,6 @@ const size = function (options) {
|
|
|
7633
7617
|
name: 'size',
|
|
7634
7618
|
options,
|
|
7635
7619
|
async fn(state) {
|
|
7636
|
-
var _state$middlewareData, _state$middlewareData2;
|
|
7637
7620
|
const {
|
|
7638
7621
|
placement,
|
|
7639
7622
|
rects,
|
|
@@ -7665,24 +7648,21 @@ const size = function (options) {
|
|
|
7665
7648
|
const maximumClippingWidth = width - overflow.left - overflow.right;
|
|
7666
7649
|
const overflowAvailableHeight = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.min)(height - overflow[heightSide], maximumClippingHeight);
|
|
7667
7650
|
const overflowAvailableWidth = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.min)(width - overflow[widthSide], maximumClippingWidth);
|
|
7668
|
-
const
|
|
7651
|
+
const shiftData = state.middlewareData.shift;
|
|
7652
|
+
const noShift = !shiftData;
|
|
7669
7653
|
let availableHeight = overflowAvailableHeight;
|
|
7670
7654
|
let availableWidth = overflowAvailableWidth;
|
|
7671
|
-
if (
|
|
7655
|
+
if (shiftData != null && shiftData.enabled.x) {
|
|
7672
7656
|
availableWidth = maximumClippingWidth;
|
|
7673
7657
|
}
|
|
7674
|
-
if (
|
|
7658
|
+
if (shiftData != null && shiftData.enabled.y) {
|
|
7675
7659
|
availableHeight = maximumClippingHeight;
|
|
7676
7660
|
}
|
|
7677
7661
|
if (noShift && !alignment) {
|
|
7678
|
-
const xMin = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.max)(overflow.left, 0);
|
|
7679
|
-
const xMax = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.max)(overflow.right, 0);
|
|
7680
|
-
const yMin = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.max)(overflow.top, 0);
|
|
7681
|
-
const yMax = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.max)(overflow.bottom, 0);
|
|
7682
7662
|
if (isYAxis) {
|
|
7683
|
-
availableWidth = width - 2 * (
|
|
7663
|
+
availableWidth = width - 2 * (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.max)(overflow.left, overflow.right);
|
|
7684
7664
|
} else {
|
|
7685
|
-
availableHeight = height - 2 * (
|
|
7665
|
+
availableHeight = height - 2 * (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.max)(overflow.top, overflow.bottom);
|
|
7686
7666
|
}
|
|
7687
7667
|
}
|
|
7688
7668
|
await apply({
|
|
@@ -7708,9 +7688,9 @@ const size = function (options) {
|
|
|
7708
7688
|
|
|
7709
7689
|
/***/ },
|
|
7710
7690
|
|
|
7711
|
-
/***/ "./node_modules/.pnpm/@floating-ui+dom@1.
|
|
7691
|
+
/***/ "./node_modules/.pnpm/@floating-ui+dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs"
|
|
7712
7692
|
/*!**********************************************************************************************************!*\
|
|
7713
|
-
!*** ./node_modules/.pnpm/@floating-ui+dom@1.
|
|
7693
|
+
!*** ./node_modules/.pnpm/@floating-ui+dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs ***!
|
|
7714
7694
|
\**********************************************************************************************************/
|
|
7715
7695
|
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
7716
7696
|
|
|
@@ -7732,9 +7712,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7732
7712
|
/* harmony export */ shift: () => (/* binding */ shift),
|
|
7733
7713
|
/* harmony export */ size: () => (/* binding */ size)
|
|
7734
7714
|
/* harmony export */ });
|
|
7735
|
-
/* harmony import */ var _floating_ui_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @floating-ui/core */ "./node_modules/.pnpm/@floating-ui+core@1.
|
|
7736
|
-
/* harmony import */ var _floating_ui_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @floating-ui/utils */ "./node_modules/.pnpm/@floating-ui+utils@0.2.
|
|
7737
|
-
/* harmony import */ var _floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @floating-ui/utils/dom */ "./node_modules/.pnpm/@floating-ui+utils@0.2.
|
|
7715
|
+
/* harmony import */ var _floating_ui_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @floating-ui/core */ "./node_modules/.pnpm/@floating-ui+core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.mjs");
|
|
7716
|
+
/* harmony import */ var _floating_ui_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @floating-ui/utils */ "./node_modules/.pnpm/@floating-ui+utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs");
|
|
7717
|
+
/* harmony import */ var _floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @floating-ui/utils/dom */ "./node_modules/.pnpm/@floating-ui+utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs");
|
|
7738
7718
|
|
|
7739
7719
|
|
|
7740
7720
|
|
|
@@ -7808,10 +7788,7 @@ function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
|
7808
7788
|
if (isFixed === void 0) {
|
|
7809
7789
|
isFixed = false;
|
|
7810
7790
|
}
|
|
7811
|
-
|
|
7812
|
-
return false;
|
|
7813
|
-
}
|
|
7814
|
-
return isFixed;
|
|
7791
|
+
return !!floatingOffsetParent && isFixed && floatingOffsetParent === (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getWindow)(element);
|
|
7815
7792
|
}
|
|
7816
7793
|
|
|
7817
7794
|
function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
|
|
@@ -7838,12 +7815,12 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
|
|
|
7838
7815
|
let y = (clientRect.top + visualOffsets.y) / scale.y;
|
|
7839
7816
|
let width = clientRect.width / scale.x;
|
|
7840
7817
|
let height = clientRect.height / scale.y;
|
|
7841
|
-
if (domElement) {
|
|
7818
|
+
if (domElement && offsetParent) {
|
|
7842
7819
|
const win = (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getWindow)(domElement);
|
|
7843
|
-
const offsetWin =
|
|
7820
|
+
const offsetWin = (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.isElement)(offsetParent) ? (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getWindow)(offsetParent) : offsetParent;
|
|
7844
7821
|
let currentWin = win;
|
|
7845
7822
|
let currentIFrame = (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getFrameElement)(currentWin);
|
|
7846
|
-
while (currentIFrame &&
|
|
7823
|
+
while (currentIFrame && offsetWin !== currentWin) {
|
|
7847
7824
|
const iframeScale = getScale(currentIFrame);
|
|
7848
7825
|
const iframeRect = currentIFrame.getBoundingClientRect();
|
|
7849
7826
|
const css = (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getComputedStyle)(currentIFrame);
|
|
@@ -7907,7 +7884,7 @@ function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
|
|
7907
7884
|
let scale = (0,_floating_ui_core__WEBPACK_IMPORTED_MODULE_1__.createCoords)(1);
|
|
7908
7885
|
const offsets = (0,_floating_ui_core__WEBPACK_IMPORTED_MODULE_1__.createCoords)(0);
|
|
7909
7886
|
const isOffsetParentAnElement = (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.isHTMLElement)(offsetParent);
|
|
7910
|
-
if (isOffsetParentAnElement || !
|
|
7887
|
+
if (isOffsetParentAnElement || !isFixed) {
|
|
7911
7888
|
if ((0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getNodeName)(offsetParent) !== 'body' || (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.isOverflowElement)(documentElement)) {
|
|
7912
7889
|
scroll = (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getNodeScroll)(offsetParent);
|
|
7913
7890
|
}
|
|
@@ -7928,18 +7905,17 @@ function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
|
|
7928
7905
|
}
|
|
7929
7906
|
|
|
7930
7907
|
function getClientRects(element) {
|
|
7931
|
-
return Array.from(element.getClientRects());
|
|
7908
|
+
return element.getClientRects ? Array.from(element.getClientRects()) : [];
|
|
7932
7909
|
}
|
|
7933
7910
|
|
|
7934
7911
|
// Gets the entire size of the scrollable document area, even extending outside
|
|
7935
7912
|
// of the `<html>` and `<body>` rect bounds if horizontally scrollable.
|
|
7936
|
-
function getDocumentRect(
|
|
7937
|
-
const
|
|
7938
|
-
const
|
|
7939
|
-
const body = element.ownerDocument.body;
|
|
7913
|
+
function getDocumentRect(html) {
|
|
7914
|
+
const scroll = (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getNodeScroll)(html);
|
|
7915
|
+
const body = html.ownerDocument.body;
|
|
7940
7916
|
const width = (0,_floating_ui_core__WEBPACK_IMPORTED_MODULE_1__.max)(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
|
|
7941
7917
|
const height = (0,_floating_ui_core__WEBPACK_IMPORTED_MODULE_1__.max)(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
|
|
7942
|
-
let x = -scroll.scrollLeft + getWindowScrollBarX(
|
|
7918
|
+
let x = -scroll.scrollLeft + getWindowScrollBarX(html);
|
|
7943
7919
|
const y = -scroll.scrollTop;
|
|
7944
7920
|
if ((0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getComputedStyle)(body).direction === 'rtl') {
|
|
7945
7921
|
x += (0,_floating_ui_core__WEBPACK_IMPORTED_MODULE_1__.max)(html.clientWidth, body.clientWidth) - width;
|
|
@@ -7956,7 +7932,11 @@ function getDocumentRect(element) {
|
|
|
7956
7932
|
// calculation is affected by unusual styles.
|
|
7957
7933
|
// Most scrollbars leave 15-18px of space.
|
|
7958
7934
|
const SCROLLBAR_MAX = 25;
|
|
7959
|
-
function getViewportRect(element, strategy) {
|
|
7935
|
+
function getViewportRect(element, strategy, rootBoundary) {
|
|
7936
|
+
if (rootBoundary === void 0) {
|
|
7937
|
+
rootBoundary = 'viewport';
|
|
7938
|
+
}
|
|
7939
|
+
const isLayoutViewport = rootBoundary === 'layoutViewport';
|
|
7960
7940
|
const win = (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getWindow)(element);
|
|
7961
7941
|
const html = (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getDocumentElement)(element);
|
|
7962
7942
|
const visualViewport = win.visualViewport;
|
|
@@ -7965,31 +7945,42 @@ function getViewportRect(element, strategy) {
|
|
|
7965
7945
|
let x = 0;
|
|
7966
7946
|
let y = 0;
|
|
7967
7947
|
if (visualViewport) {
|
|
7968
|
-
|
|
7969
|
-
|
|
7970
|
-
|
|
7971
|
-
|
|
7972
|
-
|
|
7973
|
-
|
|
7948
|
+
// Client coordinates are relative to the layout viewport, except in
|
|
7949
|
+
// WebKit with an `absolute` strategy, where they are relative to the
|
|
7950
|
+
// visual viewport.
|
|
7951
|
+
const layoutRelativeClientCoords = !(0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.isWebKit)() || strategy === 'fixed';
|
|
7952
|
+
if (isLayoutViewport) {
|
|
7953
|
+
if (!layoutRelativeClientCoords) {
|
|
7954
|
+
x = -visualViewport.offsetLeft;
|
|
7955
|
+
y = -visualViewport.offsetTop;
|
|
7956
|
+
}
|
|
7957
|
+
} else {
|
|
7958
|
+
width = visualViewport.width;
|
|
7959
|
+
height = visualViewport.height;
|
|
7960
|
+
if (layoutRelativeClientCoords) {
|
|
7961
|
+
x = visualViewport.offsetLeft;
|
|
7962
|
+
y = visualViewport.offsetTop;
|
|
7963
|
+
}
|
|
7974
7964
|
}
|
|
7975
7965
|
}
|
|
7976
7966
|
const windowScrollbarX = getWindowScrollBarX(html);
|
|
7977
|
-
//
|
|
7978
|
-
// visual width
|
|
7979
|
-
//
|
|
7967
|
+
// `scrollbar-gutter: stable` on the <html> reserves gutter space that shrinks
|
|
7968
|
+
// the visual width but isn't reflected in `html.clientWidth`, so subtract it.
|
|
7969
|
+
// Only the inline-end (right) gutter can hold the scrollbar; `both-edges` also
|
|
7970
|
+
// reserves an empty inline-start gutter that clips nothing, so exclude just
|
|
7971
|
+
// the one scrollbar-side gutter — halve the measured (two-gutter) total. A
|
|
7972
|
+
// left-side scrollbar (`windowScrollbarX > 0`) is already handled by
|
|
7973
|
+
// `getHTMLOffset`/`visualViewport.width`; skip it here.
|
|
7980
7974
|
if (windowScrollbarX <= 0) {
|
|
7981
7975
|
const doc = html.ownerDocument;
|
|
7982
7976
|
const body = doc.body;
|
|
7983
7977
|
const bodyStyles = getComputedStyle(body);
|
|
7984
7978
|
const bodyMarginInline = doc.compatMode === 'CSS1Compat' ? parseFloat(bodyStyles.marginLeft) + parseFloat(bodyStyles.marginRight) || 0 : 0;
|
|
7985
|
-
const
|
|
7986
|
-
|
|
7987
|
-
|
|
7979
|
+
const reservedWidth = Math.abs(html.clientWidth - body.clientWidth - bodyMarginInline);
|
|
7980
|
+
const gutter = getComputedStyle(html).scrollbarGutter === 'stable both-edges' ? reservedWidth / 2 : reservedWidth;
|
|
7981
|
+
if (gutter <= SCROLLBAR_MAX) {
|
|
7982
|
+
width -= gutter;
|
|
7988
7983
|
}
|
|
7989
|
-
} else if (windowScrollbarX <= SCROLLBAR_MAX) {
|
|
7990
|
-
// If the <body> scrollbar is on the left, the width needs to be extended
|
|
7991
|
-
// by the scrollbar amount so there isn't extra space on the right.
|
|
7992
|
-
width += windowScrollbarX;
|
|
7993
7984
|
}
|
|
7994
7985
|
return {
|
|
7995
7986
|
width,
|
|
@@ -8004,7 +7995,7 @@ function getInnerBoundingClientRect(element, strategy) {
|
|
|
8004
7995
|
const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');
|
|
8005
7996
|
const top = clientRect.top + element.clientTop;
|
|
8006
7997
|
const left = clientRect.left + element.clientLeft;
|
|
8007
|
-
const scale =
|
|
7998
|
+
const scale = getScale(element);
|
|
8008
7999
|
const width = element.clientWidth * scale.x;
|
|
8009
8000
|
const height = element.clientHeight * scale.y;
|
|
8010
8001
|
const x = left * scale.x;
|
|
@@ -8018,8 +8009,8 @@ function getInnerBoundingClientRect(element, strategy) {
|
|
|
8018
8009
|
}
|
|
8019
8010
|
function getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {
|
|
8020
8011
|
let rect;
|
|
8021
|
-
if (clippingAncestor === 'viewport') {
|
|
8022
|
-
rect = getViewportRect(element, strategy);
|
|
8012
|
+
if (clippingAncestor === 'viewport' || clippingAncestor === 'layoutViewport') {
|
|
8013
|
+
rect = getViewportRect(element, strategy, clippingAncestor);
|
|
8023
8014
|
} else if (clippingAncestor === 'document') {
|
|
8024
8015
|
rect = getDocumentRect((0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getDocumentElement)(element));
|
|
8025
8016
|
} else if ((0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.isElement)(clippingAncestor)) {
|
|
@@ -8035,13 +8026,6 @@ function getClientRectFromClippingAncestor(element, clippingAncestor, strategy)
|
|
|
8035
8026
|
}
|
|
8036
8027
|
return (0,_floating_ui_core__WEBPACK_IMPORTED_MODULE_1__.rectToClientRect)(rect);
|
|
8037
8028
|
}
|
|
8038
|
-
function hasFixedPositionAncestor(element, stopNode) {
|
|
8039
|
-
const parentNode = (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getParentNode)(element);
|
|
8040
|
-
if (parentNode === stopNode || !(0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.isElement)(parentNode) || (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.isLastTraversableNode)(parentNode)) {
|
|
8041
|
-
return false;
|
|
8042
|
-
}
|
|
8043
|
-
return (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getComputedStyle)(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);
|
|
8044
|
-
}
|
|
8045
8029
|
|
|
8046
8030
|
// A "clipping ancestor" is an `overflow` element with the characteristic of
|
|
8047
8031
|
// clipping (or hiding) child elements. This returns all clipping ancestors
|
|
@@ -8052,7 +8036,7 @@ function getClippingElementAncestors(element, cache) {
|
|
|
8052
8036
|
return cachedResult;
|
|
8053
8037
|
}
|
|
8054
8038
|
let result = (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getOverflowAncestors)(element, [], false).filter(el => (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.isElement)(el) && (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getNodeName)(el) !== 'body');
|
|
8055
|
-
let
|
|
8039
|
+
let lastKeptComputedStyle = null;
|
|
8056
8040
|
const elementIsFixed = (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getComputedStyle)(element).position === 'fixed';
|
|
8057
8041
|
let currentNode = elementIsFixed ? (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getParentNode)(element) : element;
|
|
8058
8042
|
|
|
@@ -8060,16 +8044,20 @@ function getClippingElementAncestors(element, cache) {
|
|
|
8060
8044
|
while ((0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.isElement)(currentNode) && !(0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.isLastTraversableNode)(currentNode)) {
|
|
8061
8045
|
const computedStyle = (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getComputedStyle)(currentNode);
|
|
8062
8046
|
const currentNodeIsContaining = (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.isContainingBlock)(currentNode);
|
|
8063
|
-
|
|
8064
|
-
|
|
8065
|
-
|
|
8066
|
-
|
|
8047
|
+
// Position of the containing block chain below the current node. A fixed
|
|
8048
|
+
// element whose containing block hasn't been found yet is a fixed chain.
|
|
8049
|
+
const lastPosition = lastKeptComputedStyle ? lastKeptComputedStyle.position : elementIsFixed ? 'fixed' : '';
|
|
8050
|
+
|
|
8051
|
+
// A non-containing ancestor does not clip the element when the chain
|
|
8052
|
+
// below it escapes it: a fixed chain escapes all ancestors up to the
|
|
8053
|
+
// next containing block, an absolute chain escapes static ancestors.
|
|
8054
|
+
const shouldDropCurrentNode = !currentNodeIsContaining && (lastPosition === 'fixed' || lastPosition === 'absolute' && computedStyle.position === 'static');
|
|
8067
8055
|
if (shouldDropCurrentNode) {
|
|
8068
8056
|
// Drop non-containing blocks.
|
|
8069
8057
|
result = result.filter(ancestor => ancestor !== currentNode);
|
|
8070
8058
|
} else {
|
|
8071
|
-
//
|
|
8072
|
-
|
|
8059
|
+
// The kept node carries the chain position for the next iteration.
|
|
8060
|
+
lastKeptComputedStyle = computedStyle;
|
|
8073
8061
|
}
|
|
8074
8062
|
currentNode = (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getParentNode)(currentNode);
|
|
8075
8063
|
}
|
|
@@ -8129,13 +8117,7 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
|
8129
8117
|
scrollTop: 0
|
|
8130
8118
|
};
|
|
8131
8119
|
const offsets = (0,_floating_ui_core__WEBPACK_IMPORTED_MODULE_1__.createCoords)(0);
|
|
8132
|
-
|
|
8133
|
-
// If the <body> scrollbar appears on the left (e.g. RTL systems). Use
|
|
8134
|
-
// Firefox with layout.scrollbar.side = 3 in about:config to test this.
|
|
8135
|
-
function setLeftRTLScrollbarOffset() {
|
|
8136
|
-
offsets.x = getWindowScrollBarX(documentElement);
|
|
8137
|
-
}
|
|
8138
|
-
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
8120
|
+
if (isOffsetParentAnElement || !isFixed) {
|
|
8139
8121
|
if ((0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getNodeName)(offsetParent) !== 'body' || (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.isOverflowElement)(documentElement)) {
|
|
8140
8122
|
scroll = (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getNodeScroll)(offsetParent);
|
|
8141
8123
|
}
|
|
@@ -8143,12 +8125,13 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
|
8143
8125
|
const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
|
|
8144
8126
|
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
8145
8127
|
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
8146
|
-
} else if (documentElement) {
|
|
8147
|
-
setLeftRTLScrollbarOffset();
|
|
8148
8128
|
}
|
|
8149
8129
|
}
|
|
8150
|
-
|
|
8151
|
-
|
|
8130
|
+
|
|
8131
|
+
// If the <body> scrollbar appears on the left (e.g. RTL systems). Use
|
|
8132
|
+
// Firefox with layout.scrollbar.side = 3 in about:config to test this.
|
|
8133
|
+
if (!isOffsetParentAnElement && documentElement) {
|
|
8134
|
+
offsets.x = getWindowScrollBarX(documentElement);
|
|
8152
8135
|
}
|
|
8153
8136
|
const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : (0,_floating_ui_core__WEBPACK_IMPORTED_MODULE_1__.createCoords)(0);
|
|
8154
8137
|
const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
|
|
@@ -8248,7 +8231,7 @@ function rectsAreEqual(a, b) {
|
|
|
8248
8231
|
}
|
|
8249
8232
|
|
|
8250
8233
|
// https://samthor.au/2021/observing-dom/
|
|
8251
|
-
function observeMove(element, onMove) {
|
|
8234
|
+
function observeMove(element, onMove, ancestorResize) {
|
|
8252
8235
|
let io = null;
|
|
8253
8236
|
let timeoutId;
|
|
8254
8237
|
const root = (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getDocumentElement)(element);
|
|
@@ -8291,13 +8274,22 @@ function observeMove(element, onMove) {
|
|
|
8291
8274
|
let isFirstUpdate = true;
|
|
8292
8275
|
function handleObserve(entries) {
|
|
8293
8276
|
const ratio = entries[0].intersectionRatio;
|
|
8277
|
+
|
|
8278
|
+
// The entry is a snapshot, so the reference may have moved since the
|
|
8279
|
+
// intersection was computed (under performance constraints, or between
|
|
8280
|
+
// consecutive frames of a multi-frame layout shift). The reported ratio
|
|
8281
|
+
// and the observed area are stale in that case and cannot be trusted to
|
|
8282
|
+
// detect subsequent movement, so refresh regardless of the ratio.
|
|
8283
|
+
if (!rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) {
|
|
8284
|
+
return refresh();
|
|
8285
|
+
}
|
|
8294
8286
|
if (ratio !== threshold) {
|
|
8295
8287
|
if (!isFirstUpdate) {
|
|
8296
8288
|
return refresh();
|
|
8297
8289
|
}
|
|
8298
8290
|
if (!ratio) {
|
|
8299
|
-
// If the reference is clipped, the ratio is 0. Throttle
|
|
8300
|
-
// to prevent an infinite loop of updates.
|
|
8291
|
+
// If the reference is clipped in place, the ratio is 0. Throttle
|
|
8292
|
+
// the refresh to prevent an infinite loop of updates.
|
|
8301
8293
|
timeoutId = setTimeout(() => {
|
|
8302
8294
|
refresh(false, 1e-7);
|
|
8303
8295
|
}, 1000);
|
|
@@ -8305,16 +8297,6 @@ function observeMove(element, onMove) {
|
|
|
8305
8297
|
refresh(false, ratio);
|
|
8306
8298
|
}
|
|
8307
8299
|
}
|
|
8308
|
-
if (ratio === 1 && !rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) {
|
|
8309
|
-
// It's possible that even though the ratio is reported as 1, the
|
|
8310
|
-
// element is not actually fully within the IntersectionObserver's root
|
|
8311
|
-
// area anymore. This can happen under performance constraints. This may
|
|
8312
|
-
// be a bug in the browser's IntersectionObserver implementation. To
|
|
8313
|
-
// work around this, we compare the element's bounding rect now with
|
|
8314
|
-
// what it was at the time we created the IntersectionObserver. If they
|
|
8315
|
-
// are not equal then the element moved, so we refresh.
|
|
8316
|
-
refresh();
|
|
8317
|
-
}
|
|
8318
8300
|
isFirstUpdate = false;
|
|
8319
8301
|
}
|
|
8320
8302
|
|
|
@@ -8331,8 +8313,18 @@ function observeMove(element, onMove) {
|
|
|
8331
8313
|
}
|
|
8332
8314
|
io.observe(element);
|
|
8333
8315
|
}
|
|
8316
|
+
const win = (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getWindow)(element);
|
|
8317
|
+
// The window is a resize ancestor, so when `ancestorResize` is enabled its
|
|
8318
|
+
// listener already runs the update on resize. Here we only need to rebuild
|
|
8319
|
+
// the `IntersectionObserver` for the new root size, skipping a redundant
|
|
8320
|
+
// update. When `ancestorResize` is disabled, this becomes the sole update.
|
|
8321
|
+
const handleResize = () => refresh(ancestorResize);
|
|
8322
|
+
win.addEventListener('resize', handleResize);
|
|
8334
8323
|
refresh(true);
|
|
8335
|
-
return
|
|
8324
|
+
return () => {
|
|
8325
|
+
win.removeEventListener('resize', handleResize);
|
|
8326
|
+
cleanup();
|
|
8327
|
+
};
|
|
8336
8328
|
}
|
|
8337
8329
|
|
|
8338
8330
|
/**
|
|
@@ -8357,12 +8349,10 @@ function autoUpdate(reference, floating, update, options) {
|
|
|
8357
8349
|
const referenceEl = unwrapElement(reference);
|
|
8358
8350
|
const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getOverflowAncestors)(referenceEl) : []), ...(floating ? (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getOverflowAncestors)(floating) : [])] : [];
|
|
8359
8351
|
ancestors.forEach(ancestor => {
|
|
8360
|
-
ancestorScroll && ancestor.addEventListener('scroll', update
|
|
8361
|
-
passive: true
|
|
8362
|
-
});
|
|
8352
|
+
ancestorScroll && ancestor.addEventListener('scroll', update);
|
|
8363
8353
|
ancestorResize && ancestor.addEventListener('resize', update);
|
|
8364
8354
|
});
|
|
8365
|
-
const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;
|
|
8355
|
+
const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update, ancestorResize) : null;
|
|
8366
8356
|
let reobserveFrame = -1;
|
|
8367
8357
|
let resizeObserver = null;
|
|
8368
8358
|
if (elementResize) {
|
|
@@ -8501,11 +8491,9 @@ const computePosition = (reference, floating, options) => {
|
|
|
8501
8491
|
// multiple lifecycle resets re-use the same result. It only lives for a
|
|
8502
8492
|
// single call. If other functions become expensive, we can add them as well.
|
|
8503
8493
|
const cache = new Map();
|
|
8504
|
-
const mergedOptions = {
|
|
8505
|
-
platform,
|
|
8506
|
-
...options
|
|
8507
|
-
};
|
|
8494
|
+
const mergedOptions = options != null ? options : {};
|
|
8508
8495
|
const platformWithCache = {
|
|
8496
|
+
...platform,
|
|
8509
8497
|
...mergedOptions.platform,
|
|
8510
8498
|
_c: cache
|
|
8511
8499
|
};
|
|
@@ -8520,9 +8508,9 @@ const computePosition = (reference, floating, options) => {
|
|
|
8520
8508
|
|
|
8521
8509
|
/***/ },
|
|
8522
8510
|
|
|
8523
|
-
/***/ "./node_modules/.pnpm/@floating-ui+react-dom@2.1.
|
|
8511
|
+
/***/ "./node_modules/.pnpm/@floating-ui+react-dom@2.1.9_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs"
|
|
8524
8512
|
/*!************************************************************************************************************************************************************************!*\
|
|
8525
|
-
!*** ./node_modules/.pnpm/@floating-ui+react-dom@2.1.
|
|
8513
|
+
!*** ./node_modules/.pnpm/@floating-ui+react-dom@2.1.9_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs ***!
|
|
8526
8514
|
\************************************************************************************************************************************************************************/
|
|
8527
8515
|
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
8528
8516
|
|
|
@@ -8545,10 +8533,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8545
8533
|
/* harmony export */ size: () => (/* binding */ size),
|
|
8546
8534
|
/* harmony export */ useFloating: () => (/* binding */ useFloating)
|
|
8547
8535
|
/* harmony export */ });
|
|
8548
|
-
/* harmony import */ var _floating_ui_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @floating-ui/dom */ "./node_modules/.pnpm/@floating-ui+dom@1.
|
|
8549
|
-
/* harmony import */ var _floating_ui_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @floating-ui/dom */ "./node_modules/.pnpm/@floating-ui+utils@0.2.
|
|
8536
|
+
/* harmony import */ var _floating_ui_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @floating-ui/dom */ "./node_modules/.pnpm/@floating-ui+dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs");
|
|
8537
|
+
/* harmony import */ var _floating_ui_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @floating-ui/dom */ "./node_modules/.pnpm/@floating-ui+utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs");
|
|
8550
8538
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "react");
|
|
8551
|
-
/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react-dom */ "./node_modules/.pnpm/react-dom@19.2.
|
|
8539
|
+
/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react-dom */ "./node_modules/.pnpm/react-dom@19.2.8_react@19.2.8/node_modules/react-dom/index.js");
|
|
8552
8540
|
|
|
8553
8541
|
|
|
8554
8542
|
|
|
@@ -8699,7 +8687,7 @@ function useFloating(options) {
|
|
|
8699
8687
|
if (platformRef.current) {
|
|
8700
8688
|
config.platform = platformRef.current;
|
|
8701
8689
|
}
|
|
8702
|
-
(0,_floating_ui_dom__WEBPACK_IMPORTED_MODULE_0__.computePosition)(referenceRef.current, floatingRef.current, config).then(data => {
|
|
8690
|
+
;(0,_floating_ui_dom__WEBPACK_IMPORTED_MODULE_0__.computePosition)(referenceRef.current, floatingRef.current, config).then(data => {
|
|
8703
8691
|
const fullData = {
|
|
8704
8692
|
...data,
|
|
8705
8693
|
// The floating element's position may be recomputed while it's closed
|
|
@@ -8959,9 +8947,9 @@ const arrow = (options, deps) => {
|
|
|
8959
8947
|
|
|
8960
8948
|
/***/ },
|
|
8961
8949
|
|
|
8962
|
-
/***/ "./node_modules/.pnpm/@floating-ui+react@0.27.
|
|
8950
|
+
/***/ "./node_modules/.pnpm/@floating-ui+react@0.27.20_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@floating-ui/react/dist/floating-ui.react.mjs"
|
|
8963
8951
|
/*!**************************************************************************************************************************************************************!*\
|
|
8964
|
-
!*** ./node_modules/.pnpm/@floating-ui+react@0.27.
|
|
8952
|
+
!*** ./node_modules/.pnpm/@floating-ui+react@0.27.20_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@floating-ui/react/dist/floating-ui.react.mjs ***!
|
|
8965
8953
|
\**************************************************************************************************************************************************************/
|
|
8966
8954
|
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
8967
8955
|
|
|
@@ -9022,14 +9010,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9022
9010
|
/* harmony export */ useTypeahead: () => (/* binding */ useTypeahead)
|
|
9023
9011
|
/* harmony export */ });
|
|
9024
9012
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
9025
|
-
/* harmony import */ var _floating_ui_react_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @floating-ui/react/utils */ "./node_modules/.pnpm/@floating-ui+react@0.27.
|
|
9026
|
-
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.
|
|
9027
|
-
/* harmony import */ var _floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @floating-ui/react-dom */ "./node_modules/.pnpm/@floating-ui+utils@0.2.
|
|
9013
|
+
/* harmony import */ var _floating_ui_react_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @floating-ui/react/utils */ "./node_modules/.pnpm/@floating-ui+react@0.27.20_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@floating-ui/react/dist/floating-ui.react.utils.mjs");
|
|
9014
|
+
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.8/node_modules/react/jsx-runtime.js");
|
|
9015
|
+
/* harmony import */ var _floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @floating-ui/react-dom */ "./node_modules/.pnpm/@floating-ui+utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs");
|
|
9028
9016
|
/* harmony import */ var tabbable__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! tabbable */ "./node_modules/.pnpm/tabbable@6.5.0/node_modules/tabbable/dist/index.esm.js");
|
|
9029
|
-
/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-dom */ "./node_modules/.pnpm/react-dom@19.2.
|
|
9030
|
-
/* harmony import */ var _floating_ui_react_dom__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @floating-ui/react-dom */ "./node_modules/.pnpm/@floating-ui+react-dom@2.1.
|
|
9031
|
-
/* harmony import */ var _floating_ui_react_dom__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @floating-ui/react-dom */ "./node_modules/.pnpm/@floating-ui+dom@1.
|
|
9032
|
-
/* harmony import */ var _floating_ui_utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @floating-ui/utils */ "./node_modules/.pnpm/@floating-ui+utils@0.2.
|
|
9017
|
+
/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-dom */ "./node_modules/.pnpm/react-dom@19.2.8_react@19.2.8/node_modules/react-dom/index.js");
|
|
9018
|
+
/* harmony import */ var _floating_ui_react_dom__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @floating-ui/react-dom */ "./node_modules/.pnpm/@floating-ui+react-dom@2.1.9_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs");
|
|
9019
|
+
/* harmony import */ var _floating_ui_react_dom__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @floating-ui/react-dom */ "./node_modules/.pnpm/@floating-ui+dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs");
|
|
9020
|
+
/* harmony import */ var _floating_ui_utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @floating-ui/utils */ "./node_modules/.pnpm/@floating-ui+utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs");
|
|
9033
9021
|
|
|
9034
9022
|
|
|
9035
9023
|
|
|
@@ -11835,9 +11823,7 @@ function useDismiss(context, props) {
|
|
|
11835
11823
|
return ancestor !== ((_doc$defaultView = doc.defaultView) == null ? void 0 : _doc$defaultView.visualViewport);
|
|
11836
11824
|
});
|
|
11837
11825
|
ancestors.forEach(ancestor => {
|
|
11838
|
-
ancestor.addEventListener('scroll', onScroll
|
|
11839
|
-
passive: true
|
|
11840
|
-
});
|
|
11826
|
+
ancestor.addEventListener('scroll', onScroll);
|
|
11841
11827
|
});
|
|
11842
11828
|
return () => {
|
|
11843
11829
|
if (escapeKey) {
|
|
@@ -11940,19 +11926,20 @@ function useFloatingRootContext(options) {
|
|
|
11940
11926
|
* Provides data to position a floating element and context to add interactions.
|
|
11941
11927
|
* @see https://floating-ui.com/docs/useFloating
|
|
11942
11928
|
*/
|
|
11943
|
-
function useFloating(
|
|
11944
|
-
|
|
11945
|
-
|
|
11946
|
-
|
|
11929
|
+
function useFloating(_temp) {
|
|
11930
|
+
var _elementsOption$refer, _elementsOption$float;
|
|
11931
|
+
let {
|
|
11932
|
+
elements: elementsOption,
|
|
11933
|
+
...options
|
|
11934
|
+
} = _temp === void 0 ? {} : _temp;
|
|
11947
11935
|
const {
|
|
11948
11936
|
nodeId
|
|
11949
11937
|
} = options;
|
|
11950
11938
|
const internalRootContext = useFloatingRootContext({
|
|
11951
11939
|
...options,
|
|
11952
11940
|
elements: {
|
|
11953
|
-
reference: null,
|
|
11954
|
-
floating: null
|
|
11955
|
-
...options.elements
|
|
11941
|
+
reference: (_elementsOption$refer = elementsOption == null ? void 0 : elementsOption.reference) != null ? _elementsOption$refer : null,
|
|
11942
|
+
floating: (_elementsOption$float = elementsOption == null ? void 0 : elementsOption.floating) != null ? _elementsOption$float : null
|
|
11956
11943
|
}
|
|
11957
11944
|
});
|
|
11958
11945
|
const rootContext = options.rootContext || internalRootContext;
|
|
@@ -12809,7 +12796,7 @@ function useListNavigation(context, props) {
|
|
|
12809
12796
|
if (selectedIndex != null) {
|
|
12810
12797
|
indexRef.current = selectedIndex;
|
|
12811
12798
|
}
|
|
12812
|
-
(0,_floating_ui_react_utils__WEBPACK_IMPORTED_MODULE_1__.stopEvent)(event);
|
|
12799
|
+
;(0,_floating_ui_react_utils__WEBPACK_IMPORTED_MODULE_1__.stopEvent)(event);
|
|
12813
12800
|
if (!open && openOnArrowKeyDown) {
|
|
12814
12801
|
onOpenChange(true, event.nativeEvent, 'list-navigation');
|
|
12815
12802
|
} else {
|
|
@@ -12989,7 +12976,7 @@ function useTransitionStatus(context, props) {
|
|
|
12989
12976
|
if (!isMounted && status === 'close') {
|
|
12990
12977
|
setStatus('unmounted');
|
|
12991
12978
|
}
|
|
12992
|
-
(0,_floating_ui_react_utils__WEBPACK_IMPORTED_MODULE_1__.useModernLayoutEffect)(() => {
|
|
12979
|
+
;(0,_floating_ui_react_utils__WEBPACK_IMPORTED_MODULE_1__.useModernLayoutEffect)(() => {
|
|
12993
12980
|
if (!floating) return;
|
|
12994
12981
|
if (open) {
|
|
12995
12982
|
setStatus('initial');
|
|
@@ -13642,9 +13629,9 @@ function safePolygon(options) {
|
|
|
13642
13629
|
|
|
13643
13630
|
/***/ },
|
|
13644
13631
|
|
|
13645
|
-
/***/ "./node_modules/.pnpm/@floating-ui+react@0.27.
|
|
13632
|
+
/***/ "./node_modules/.pnpm/@floating-ui+react@0.27.20_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@floating-ui/react/dist/floating-ui.react.utils.mjs"
|
|
13646
13633
|
/*!********************************************************************************************************************************************************************!*\
|
|
13647
|
-
!*** ./node_modules/.pnpm/@floating-ui+react@0.27.
|
|
13634
|
+
!*** ./node_modules/.pnpm/@floating-ui+react@0.27.20_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@floating-ui/react/dist/floating-ui.react.utils.mjs ***!
|
|
13648
13635
|
\********************************************************************************************************************************************************************/
|
|
13649
13636
|
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
13650
13637
|
|
|
@@ -13696,9 +13683,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13696
13683
|
/* harmony export */ useLatestRef: () => (/* binding */ useLatestRef),
|
|
13697
13684
|
/* harmony export */ useModernLayoutEffect: () => (/* binding */ index)
|
|
13698
13685
|
/* harmony export */ });
|
|
13699
|
-
/* harmony import */ var _floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @floating-ui/utils/dom */ "./node_modules/.pnpm/@floating-ui+utils@0.2.
|
|
13686
|
+
/* harmony import */ var _floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @floating-ui/utils/dom */ "./node_modules/.pnpm/@floating-ui+utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs");
|
|
13700
13687
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
|
13701
|
-
/* harmony import */ var _floating_ui_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @floating-ui/utils */ "./node_modules/.pnpm/@floating-ui+utils@0.2.
|
|
13688
|
+
/* harmony import */ var _floating_ui_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @floating-ui/utils */ "./node_modules/.pnpm/@floating-ui+utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs");
|
|
13702
13689
|
/* harmony import */ var tabbable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! tabbable */ "./node_modules/.pnpm/tabbable@6.5.0/node_modules/tabbable/dist/index.esm.js");
|
|
13703
13690
|
|
|
13704
13691
|
|
|
@@ -14241,9 +14228,9 @@ function enableFocusInside(container) {
|
|
|
14241
14228
|
|
|
14242
14229
|
/***/ },
|
|
14243
14230
|
|
|
14244
|
-
/***/ "./node_modules/.pnpm/@floating-ui+utils@0.2.
|
|
14231
|
+
/***/ "./node_modules/.pnpm/@floating-ui+utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs"
|
|
14245
14232
|
/*!*********************************************************************************************************************!*\
|
|
14246
|
-
!*** ./node_modules/.pnpm/@floating-ui+utils@0.2.
|
|
14233
|
+
!*** ./node_modules/.pnpm/@floating-ui+utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs ***!
|
|
14247
14234
|
\*********************************************************************************************************************/
|
|
14248
14235
|
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
14249
14236
|
|
|
@@ -14406,7 +14393,7 @@ function getParentNode(node) {
|
|
|
14406
14393
|
function getNearestOverflowAncestor(node) {
|
|
14407
14394
|
const parentNode = getParentNode(node);
|
|
14408
14395
|
if (isLastTraversableNode(parentNode)) {
|
|
14409
|
-
return node.ownerDocument
|
|
14396
|
+
return (node.ownerDocument || node).body;
|
|
14410
14397
|
}
|
|
14411
14398
|
if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
|
|
14412
14399
|
return parentNode;
|
|
@@ -14440,9 +14427,9 @@ function getFrameElement(win) {
|
|
|
14440
14427
|
|
|
14441
14428
|
/***/ },
|
|
14442
14429
|
|
|
14443
|
-
/***/ "./node_modules/.pnpm/@floating-ui+utils@0.2.
|
|
14430
|
+
/***/ "./node_modules/.pnpm/@floating-ui+utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs"
|
|
14444
14431
|
/*!*****************************************************************************************************************!*\
|
|
14445
|
-
!*** ./node_modules/.pnpm/@floating-ui+utils@0.2.
|
|
14432
|
+
!*** ./node_modules/.pnpm/@floating-ui+utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs ***!
|
|
14446
14433
|
\*****************************************************************************************************************/
|
|
14447
14434
|
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
14448
14435
|
|
|
@@ -14574,12 +14561,12 @@ function getOppositePlacement(placement) {
|
|
|
14574
14561
|
return oppositeSideMap[side] + placement.slice(side.length);
|
|
14575
14562
|
}
|
|
14576
14563
|
function expandPaddingObject(padding) {
|
|
14564
|
+
var _padding$top, _padding$right, _padding$bottom, _padding$left;
|
|
14577
14565
|
return {
|
|
14578
|
-
top: 0,
|
|
14579
|
-
right: 0,
|
|
14580
|
-
bottom: 0,
|
|
14581
|
-
left: 0
|
|
14582
|
-
...padding
|
|
14566
|
+
top: (_padding$top = padding.top) != null ? _padding$top : 0,
|
|
14567
|
+
right: (_padding$right = padding.right) != null ? _padding$right : 0,
|
|
14568
|
+
bottom: (_padding$bottom = padding.bottom) != null ? _padding$bottom : 0,
|
|
14569
|
+
left: (_padding$left = padding.left) != null ? _padding$left : 0
|
|
14583
14570
|
};
|
|
14584
14571
|
}
|
|
14585
14572
|
function getPaddingObject(padding) {
|
|
@@ -14614,9 +14601,9 @@ function rectToClientRect(rect) {
|
|
|
14614
14601
|
|
|
14615
14602
|
/***/ },
|
|
14616
14603
|
|
|
14617
|
-
/***/ "./node_modules/.pnpm/@react-hive+honey-hooks@3.1.0_react@19.2.
|
|
14604
|
+
/***/ "./node_modules/.pnpm/@react-hive+honey-hooks@3.1.0_react@19.2.8/node_modules/@react-hive/honey-hooks/dist/index.mjs"
|
|
14618
14605
|
/*!***************************************************************************************************************************!*\
|
|
14619
|
-
!*** ./node_modules/.pnpm/@react-hive+honey-hooks@3.1.0_react@19.2.
|
|
14606
|
+
!*** ./node_modules/.pnpm/@react-hive+honey-hooks@3.1.0_react@19.2.8/node_modules/@react-hive/honey-hooks/dist/index.mjs ***!
|
|
14620
14607
|
\***************************************************************************************************************************/
|
|
14621
14608
|
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
14622
14609
|
|