@react-hive/honey-layout 17.3.2 → 17.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.
@@ -3292,9 +3292,9 @@ if (false) // removed by dead control flow
3292
3292
 
3293
3293
  /***/ },
3294
3294
 
3295
- /***/ "./node_modules/.pnpm/tabbable@6.4.0/node_modules/tabbable/dist/index.esm.js"
3295
+ /***/ "./node_modules/.pnpm/tabbable@6.5.0/node_modules/tabbable/dist/index.esm.js"
3296
3296
  /*!***********************************************************************************!*\
3297
- !*** ./node_modules/.pnpm/tabbable@6.4.0/node_modules/tabbable/dist/index.esm.js ***!
3297
+ !*** ./node_modules/.pnpm/tabbable@6.5.0/node_modules/tabbable/dist/index.esm.js ***!
3298
3298
  \***********************************************************************************/
3299
3299
  (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
3300
3300
 
@@ -3308,12 +3308,12 @@ __webpack_require__.r(__webpack_exports__);
3308
3308
  /* harmony export */ tabbable: () => (/* binding */ tabbable)
3309
3309
  /* harmony export */ });
3310
3310
  /*!
3311
- * tabbable 6.4.0
3311
+ * tabbable 6.5.0
3312
3312
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
3313
3313
  */
3314
3314
  // NOTE: separate `:not()` selectors has broader browser support than the newer
3315
3315
  // `:not([inert], [inert] *)` (Feb 2023)
3316
- var candidateSelectors = ['input:not([inert]):not([inert] *)', 'select:not([inert]):not([inert] *)', 'textarea:not([inert]):not([inert] *)', 'a[href]:not([inert]):not([inert] *)', 'button:not([inert]):not([inert] *)', '[tabindex]:not(slot):not([inert]):not([inert] *)', 'audio[controls]:not([inert]):not([inert] *)', 'video[controls]:not([inert]):not([inert] *)', '[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)', 'details>summary:first-of-type:not([inert]):not([inert] *)', 'details:not([inert]):not([inert] *)'];
3316
+ var candidateSelectors = ['input:not([inert]):not([inert] *)', 'select:not([inert]):not([inert] *)', 'textarea:not([inert]):not([inert] *)', 'a[href]:not([inert]):not([inert] *)', 'area[href]:not([inert]):not([inert] *)', 'button:not([inert]):not([inert] *)', '[tabindex]:not(slot):not([inert]):not([inert] *)', 'audio[controls]:not([inert]):not([inert] *)', 'video[controls]:not([inert]):not([inert] *)', '[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)', 'details>summary:first-of-type:not([inert]):not([inert] *)', 'details:not([inert]):not([inert] *)'];
3317
3317
  var candidateSelector = /* #__PURE__ */candidateSelectors.join(',');
3318
3318
  var NoElement = typeof Element === 'undefined';
3319
3319
  var matches = NoElement ? function () {} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;
@@ -3671,7 +3671,9 @@ var isHidden = function isHidden(node, _ref) {
3671
3671
  // (this is legacy behavior from a very long way back)
3672
3672
  // NOTE: we check this regardless of `displayCheck="none"` because this is a
3673
3673
  // _visibility_ check, not a _display_ check
3674
- if (getComputedStyle(node).visibility === 'hidden') {
3674
+ var _getComputedStyle = getComputedStyle(node),
3675
+ visibility = _getComputedStyle.visibility;
3676
+ if (visibility === 'hidden' || visibility === 'collapse') {
3675
3677
  return true;
3676
3678
  }
3677
3679
  var isDirectSummary = matches.call(node, 'details>summary:first-of-type');
@@ -4870,6 +4872,7 @@ const HoneyOverlay = ({ ref, children, active, overlayId, onDeactivate, ...props
4870
4872
  const mergedRef = (0,_helpers__WEBPACK_IMPORTED_MODULE_4__.mergeRefs)(overlay?.setContainerRef, ref);
4871
4873
  return ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_HoneyFlex__WEBPACK_IMPORTED_MODULE_5__.HoneyFlex, { ref: mergedRef, inert: !active, ...props, children: (0,_react_hive_honey_utils__WEBPACK_IMPORTED_MODULE_2__.invokeIfFunction)(children, {
4872
4874
  overlay,
4875
+ isActive: active,
4873
4876
  deactivateOverlay: onDeactivate,
4874
4877
  }) }));
4875
4878
  };
@@ -8745,7 +8748,7 @@ const arrow = (options, deps) => {
8745
8748
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
8746
8749
 
8747
8750
  "use strict";
8748
- var react__WEBPACK_IMPORTED_MODULE_0___namespace_cache;
8751
+ let react__WEBPACK_IMPORTED_MODULE_0___namespace_cache;
8749
8752
  __webpack_require__.r(__webpack_exports__);
8750
8753
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
8751
8754
  /* harmony export */ Composite: () => (/* binding */ Composite),
@@ -8804,7 +8807,7 @@ __webpack_require__.r(__webpack_exports__);
8804
8807
  /* 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.19_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/@floating-ui/react/dist/floating-ui.react.utils.mjs");
8805
8808
  /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.7/node_modules/react/jsx-runtime.js");
8806
8809
  /* 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.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs");
8807
- /* harmony import */ var tabbable__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! tabbable */ "./node_modules/.pnpm/tabbable@6.4.0/node_modules/tabbable/dist/index.esm.js");
8810
+ /* 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");
8808
8811
  /* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-dom */ "./node_modules/.pnpm/react-dom@19.2.7_react@19.2.7/node_modules/react-dom/index.js");
8809
8812
  /* 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.8_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs");
8810
8813
  /* harmony import */ var _floating_ui_react_dom__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @floating-ui/react-dom */ "./node_modules/.pnpm/@floating-ui+dom@1.7.6/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs");
@@ -13428,7 +13431,7 @@ function safePolygon(options) {
13428
13431
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
13429
13432
 
13430
13433
  "use strict";
13431
- var react__WEBPACK_IMPORTED_MODULE_1___namespace_cache;
13434
+ let react__WEBPACK_IMPORTED_MODULE_1___namespace_cache;
13432
13435
  __webpack_require__.r(__webpack_exports__);
13433
13436
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
13434
13437
  /* harmony export */ activeElement: () => (/* binding */ activeElement),
@@ -13478,7 +13481,7 @@ __webpack_require__.r(__webpack_exports__);
13478
13481
  /* 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.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs");
13479
13482
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
13480
13483
  /* harmony import */ var _floating_ui_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @floating-ui/utils */ "./node_modules/.pnpm/@floating-ui+utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs");
13481
- /* harmony import */ var tabbable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! tabbable */ "./node_modules/.pnpm/tabbable@6.4.0/node_modules/tabbable/dist/index.esm.js");
13484
+ /* 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");
13482
13485
 
13483
13486
 
13484
13487
 
@@ -14546,17 +14549,17 @@ const t=t=>new Blob([t],{type:t.type}),e=t=>new DOMRect(t.offsetLeft,t.offsetTop
14546
14549
  /******/ });
14547
14550
  /************************************************************************/
14548
14551
  /******/ // The module cache
14549
- /******/ var __webpack_module_cache__ = {};
14552
+ /******/ const __webpack_module_cache__ = {};
14550
14553
  /******/
14551
14554
  /******/ // The require function
14552
14555
  /******/ function __webpack_require__(moduleId) {
14553
14556
  /******/ // Check if module is in cache
14554
- /******/ var cachedModule = __webpack_module_cache__[moduleId];
14557
+ /******/ const cachedModule = __webpack_module_cache__[moduleId];
14555
14558
  /******/ if (cachedModule !== undefined) {
14556
14559
  /******/ return cachedModule.exports;
14557
14560
  /******/ }
14558
14561
  /******/ // Create a new module (and put it into the cache)
14559
- /******/ var module = __webpack_module_cache__[moduleId] = {
14562
+ /******/ const module = __webpack_module_cache__[moduleId] = {
14560
14563
  /******/ id: moduleId,
14561
14564
  /******/ loaded: false,
14562
14565
  /******/ exports: {}
@@ -14565,7 +14568,7 @@ const t=t=>new Blob([t],{type:t.type}),e=t=>new DOMRect(t.offsetLeft,t.offsetTop
14565
14568
  /******/ // Execute the module function
14566
14569
  /******/ if (!(moduleId in __webpack_modules__)) {
14567
14570
  /******/ delete __webpack_module_cache__[moduleId];
14568
- /******/ var e = new Error("Cannot find module '" + moduleId + "'");
14571
+ /******/ const e = new Error("Cannot find module '" + moduleId + "'");
14569
14572
  /******/ e.code = 'MODULE_NOT_FOUND';
14570
14573
  /******/ throw e;
14571
14574
  /******/ }
@@ -14583,7 +14586,7 @@ const t=t=>new Blob([t],{type:t.type}),e=t=>new DOMRect(t.offsetLeft,t.offsetTop
14583
14586
  /******/ (() => {
14584
14587
  /******/ // getDefaultExport function for compatibility with non-harmony modules
14585
14588
  /******/ __webpack_require__.n = (module) => {
14586
- /******/ var getter = module && module.__esModule ?
14589
+ /******/ const getter = module && module.__esModule ?
14587
14590
  /******/ () => (module['default']) :
14588
14591
  /******/ () => (module);
14589
14592
  /******/ __webpack_require__.d(getter, { a: getter });
@@ -14593,8 +14596,8 @@ const t=t=>new Blob([t],{type:t.type}),e=t=>new DOMRect(t.offsetLeft,t.offsetTop
14593
14596
  /******/
14594
14597
  /******/ /* webpack/runtime/create fake namespace object */
14595
14598
  /******/ (() => {
14596
- /******/ var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);
14597
- /******/ var leafPrototypes;
14599
+ /******/ const getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);
14600
+ /******/ let leafPrototypes;
14598
14601
  /******/ // create a fake namespace object
14599
14602
  /******/ // mode & 1: value is a module id, require it
14600
14603
  /******/ // mode & 2: merge all properties of value into the ns
@@ -14608,9 +14611,9 @@ const t=t=>new Blob([t],{type:t.type}),e=t=>new DOMRect(t.offsetLeft,t.offsetTop
14608
14611
  /******/ if((mode & 4) && value.__esModule) return value;
14609
14612
  /******/ if((mode & 16) && typeof value.then === 'function') return value;
14610
14613
  /******/ }
14611
- /******/ var ns = Object.create(null);
14614
+ /******/ const ns = Object.create(null);
14612
14615
  /******/ __webpack_require__.r(ns);
14613
- /******/ var def = {};
14616
+ /******/ const def = {};
14614
14617
  /******/ leafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];
14615
14618
  /******/ for(var current = mode & 2 && value; (typeof current == 'object' || typeof current == 'function') && !~leafPrototypes.indexOf(current); current = getProto(current)) {
14616
14619
  /******/ Object.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key])));
@@ -14623,11 +14626,26 @@ const t=t=>new Blob([t],{type:t.type}),e=t=>new DOMRect(t.offsetLeft,t.offsetTop
14623
14626
  /******/
14624
14627
  /******/ /* webpack/runtime/define property getters */
14625
14628
  /******/ (() => {
14626
- /******/ // define getter functions for harmony exports
14629
+ /******/ // define getter/value functions for harmony exports
14627
14630
  /******/ __webpack_require__.d = (exports, definition) => {
14628
- /******/ for(var key in definition) {
14629
- /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
14630
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
14631
+ /******/ if(Array.isArray(definition)) {
14632
+ /******/ var i = 0;
14633
+ /******/ while(i < definition.length) {
14634
+ /******/ var key = definition[i++];
14635
+ /******/ var binding = definition[i++];
14636
+ /******/ if(!__webpack_require__.o(exports, key)) {
14637
+ /******/ if(binding === 0) {
14638
+ /******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
14639
+ /******/ } else {
14640
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
14641
+ /******/ }
14642
+ /******/ } else if(binding === 0) { i++; }
14643
+ /******/ }
14644
+ /******/ } else {
14645
+ /******/ for(var key in definition) {
14646
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
14647
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
14648
+ /******/ }
14631
14649
  /******/ }
14632
14650
  /******/ }
14633
14651
  /******/ };
@@ -14654,7 +14672,7 @@ const t=t=>new Blob([t],{type:t.type}),e=t=>new DOMRect(t.offsetLeft,t.offsetTop
14654
14672
  /******/ (() => {
14655
14673
  /******/ // define __esModule on exports
14656
14674
  /******/ __webpack_require__.r = (exports) => {
14657
- /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
14675
+ /******/ if(Symbol.toStringTag) {
14658
14676
  /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
14659
14677
  /******/ }
14660
14678
  /******/ Object.defineProperty(exports, '__esModule', { value: true });
@@ -14671,7 +14689,7 @@ const t=t=>new Blob([t],{type:t.type}),e=t=>new DOMRect(t.offsetLeft,t.offsetTop
14671
14689
  /******/ })();
14672
14690
  /******/
14673
14691
  /************************************************************************/
14674
- var __webpack_exports__ = {};
14692
+ let __webpack_exports__ = {};
14675
14693
  // This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
14676
14694
  (() => {
14677
14695
  "use strict";