@react-hive/honey-layout 14.1.0 → 15.0.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/HoneyLayerRegistry/HoneyLayerRegistryContext.d.ts +1 -1
- package/dist/components/HoneyOverlay.d.ts +1 -1
- package/dist/components/HoneyPopup/HoneyPopupContent.d.ts +1 -1
- package/dist/components/HoneyPopup/hooks/use-honey-popup-context.d.ts +1 -1
- package/dist/contexts/HoneyLayoutContext.d.ts +1 -1
- package/dist/helpers/helpers.d.ts +1 -1
- package/dist/hooks/use-honey-document-key-up.d.ts +1 -1
- package/dist/hooks/use-honey-drag.d.ts +1 -1
- package/dist/hooks/use-honey-layout.d.ts +1 -1
- package/dist/hooks/use-honey-media-query.d.ts +1 -1
- package/dist/hooks/use-honey-overlay.d.ts +2 -2
- package/dist/hooks/use-honey-synthetic-scroll.d.ts +1 -1
- package/dist/hooks/use-register-honey-overlay.d.ts +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.dev.cjs +29 -26
- package/dist/index.dev.cjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/providers/HoneyLayoutProvider.d.ts +1 -1
- package/dist/providers/hooks/use-honey-overlays.d.ts +2 -2
- package/package.json +6 -6
package/dist/index.dev.cjs
CHANGED
|
@@ -4827,8 +4827,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4827
4827
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
|
4828
4828
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
4829
4829
|
/* harmony import */ var _react_hive_honey_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @react-hive/honey-utils */ "./node_modules/.pnpm/@react-hive+honey-utils@3.24.0/node_modules/@react-hive/honey-utils/dist/index.mjs");
|
|
4830
|
-
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*!
|
|
4831
|
-
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*!
|
|
4830
|
+
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../hooks */ "./src/hooks/index.ts");
|
|
4831
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../helpers */ "./src/helpers/index.ts");
|
|
4832
4832
|
/* harmony import */ var _HoneyFlex__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./HoneyFlex */ "./src/components/HoneyFlex/index.ts");
|
|
4833
4833
|
|
|
4834
4834
|
|
|
@@ -4937,7 +4937,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4937
4937
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
4938
4938
|
/* harmony import */ var _floating_ui_react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @floating-ui/react */ "./node_modules/.pnpm/@floating-ui+react@0.27.18_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@floating-ui/react/dist/floating-ui.react.mjs");
|
|
4939
4939
|
/* harmony import */ var _react_hive_honey_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @react-hive/honey-utils */ "./node_modules/.pnpm/@react-hive+honey-utils@3.24.0/node_modules/@react-hive/honey-utils/dist/index.mjs");
|
|
4940
|
-
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*!
|
|
4940
|
+
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../components */ "./src/components/index.ts");
|
|
4941
4941
|
/* harmony import */ var _HoneyPopupStyled__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./HoneyPopupStyled */ "./src/components/HoneyPopup/HoneyPopupStyled.ts");
|
|
4942
4942
|
/* harmony import */ var _HoneyPopupPortal__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./HoneyPopupPortal */ "./src/components/HoneyPopup/HoneyPopupPortal.tsx");
|
|
4943
4943
|
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./hooks */ "./src/components/HoneyPopup/hooks/index.ts");
|
|
@@ -5102,7 +5102,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5102
5102
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
5103
5103
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
5104
5104
|
/* harmony import */ var _react_hive_honey_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @react-hive/honey-utils */ "./node_modules/.pnpm/@react-hive+honey-utils@3.24.0/node_modules/@react-hive/honey-utils/dist/index.mjs");
|
|
5105
|
-
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*!
|
|
5105
|
+
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../components */ "./src/components/index.ts");
|
|
5106
5106
|
|
|
5107
5107
|
|
|
5108
5108
|
|
|
@@ -5604,7 +5604,7 @@ const checkIsColorCSSProperty = (propertyName) => _react_hive_honey_style__WEBPA
|
|
|
5604
5604
|
*
|
|
5605
5605
|
* @returns Returns true if the property is a valid prefixed CSS property, otherwise false.
|
|
5606
5606
|
*/
|
|
5607
|
-
const
|
|
5607
|
+
const is$PrefixedCSSProperty = (propertyName) => propertyName[0] === '$';
|
|
5608
5608
|
/**
|
|
5609
5609
|
* Retrieves the CSS property value for a specific breakpoint, potentially resolving it to include units.
|
|
5610
5610
|
*
|
|
@@ -5655,8 +5655,11 @@ const getCSSPropertyValue = (propertyName, propertyValue, breakpoint) => {
|
|
|
5655
5655
|
*
|
|
5656
5656
|
* @returns An array of tuples where each tuple contains a Honey-prefixed CSS property and its value.
|
|
5657
5657
|
*/
|
|
5658
|
-
const matchCSSProperties = (props, breakpoint) => Object.entries(props).filter(([propertyName, propertyValue]) =>
|
|
5659
|
-
|
|
5658
|
+
const matchCSSProperties = (props, breakpoint) => Object.entries(props).filter(([propertyName, propertyValue]) => {
|
|
5659
|
+
const isMatchingXsBreakpoint = breakpoint === 'xs' && is$PrefixedCSSProperty(propertyName);
|
|
5660
|
+
return (isMatchingXsBreakpoint ||
|
|
5661
|
+
(propertyValue && typeof propertyValue === 'object' && breakpoint in propertyValue));
|
|
5662
|
+
});
|
|
5660
5663
|
/**
|
|
5661
5664
|
* Generates CSS styles based on the provided breakpoint and properties.
|
|
5662
5665
|
* Filters the properties to include only those that match the specified breakpoint.
|
|
@@ -5687,7 +5690,7 @@ const createStyles = (breakpoint) => ({ theme, ...props }) => (0,_react_hive_hon
|
|
|
5687
5690
|
*
|
|
5688
5691
|
* @returns Returns true if at least one property in `props` has styles for the specified breakpoint; otherwise, false.
|
|
5689
5692
|
*/
|
|
5690
|
-
const hasBreakpointStyles = (breakpoint, props) => Object.entries(props).some(([propertyName, propertyValue]) =>
|
|
5693
|
+
const hasBreakpointStyles = (breakpoint, props) => Object.entries(props).some(([propertyName, propertyValue]) => is$PrefixedCSSProperty(propertyName) &&
|
|
5691
5694
|
typeof propertyValue === 'object' &&
|
|
5692
5695
|
breakpoint in propertyValue);
|
|
5693
5696
|
/**
|
|
@@ -5900,7 +5903,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5900
5903
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
5901
5904
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
5902
5905
|
/* harmony import */ var _react_hive_honey_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @react-hive/honey-utils */ "./node_modules/.pnpm/@react-hive+honey-utils@3.24.0/node_modules/@react-hive/honey-utils/dist/index.mjs");
|
|
5903
|
-
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*!
|
|
5906
|
+
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../hooks */ "./src/hooks/index.ts");
|
|
5904
5907
|
|
|
5905
5908
|
|
|
5906
5909
|
|
|
@@ -6318,7 +6321,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6318
6321
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
6319
6322
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
6320
6323
|
/* harmony import */ var _react_hive_honey_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @react-hive/honey-utils */ "./node_modules/.pnpm/@react-hive+honey-utils@3.24.0/node_modules/@react-hive/honey-utils/dist/index.mjs");
|
|
6321
|
-
/* harmony import */ var _contexts__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*!
|
|
6324
|
+
/* harmony import */ var _contexts__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../contexts */ "./src/contexts/index.ts");
|
|
6322
6325
|
|
|
6323
6326
|
|
|
6324
6327
|
|
|
@@ -6353,7 +6356,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6353
6356
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
6354
6357
|
/* harmony import */ var lodash_throttle__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash.throttle */ "./node_modules/.pnpm/lodash.throttle@4.1.1/node_modules/lodash.throttle/index.js");
|
|
6355
6358
|
/* harmony import */ var lodash_throttle__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_throttle__WEBPACK_IMPORTED_MODULE_1__);
|
|
6356
|
-
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*!
|
|
6359
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../helpers */ "./src/helpers/index.ts");
|
|
6357
6360
|
|
|
6358
6361
|
|
|
6359
6362
|
|
|
@@ -6459,7 +6462,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6459
6462
|
/* harmony export */ });
|
|
6460
6463
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
6461
6464
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
6462
|
-
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*!
|
|
6465
|
+
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../hooks */ "./src/hooks/index.ts");
|
|
6463
6466
|
|
|
6464
6467
|
|
|
6465
6468
|
/**
|
|
@@ -6518,8 +6521,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6518
6521
|
/* harmony export */ });
|
|
6519
6522
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
6520
6523
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
6521
|
-
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*!
|
|
6522
|
-
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*!
|
|
6524
|
+
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../constants */ "./src/constants.ts");
|
|
6525
|
+
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../hooks */ "./src/hooks/index.ts");
|
|
6523
6526
|
|
|
6524
6527
|
|
|
6525
6528
|
|
|
@@ -6987,7 +6990,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6987
6990
|
/* harmony export */ });
|
|
6988
6991
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
6989
6992
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
6990
|
-
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*!
|
|
6993
|
+
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../hooks */ "./src/hooks/index.ts");
|
|
6991
6994
|
|
|
6992
6995
|
|
|
6993
6996
|
/**
|
|
@@ -7097,7 +7100,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7097
7100
|
/* harmony export */ });
|
|
7098
7101
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
7099
7102
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
7100
|
-
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*!
|
|
7103
|
+
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../hooks */ "./src/hooks/index.ts");
|
|
7101
7104
|
|
|
7102
7105
|
|
|
7103
7106
|
/**
|
|
@@ -7144,8 +7147,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7144
7147
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
7145
7148
|
/* harmony import */ var _react_hive_honey_style__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @react-hive/honey-style */ "@react-hive/honey-style");
|
|
7146
7149
|
/* harmony import */ var _react_hive_honey_style__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_react_hive_honey_style__WEBPACK_IMPORTED_MODULE_2__);
|
|
7147
|
-
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*!
|
|
7148
|
-
/* harmony import */ var _contexts__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*!
|
|
7150
|
+
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../hooks */ "./src/hooks/index.ts");
|
|
7151
|
+
/* harmony import */ var _contexts__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../contexts */ "./src/contexts/index.ts");
|
|
7149
7152
|
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./hooks */ "./src/providers/hooks/index.ts");
|
|
7150
7153
|
|
|
7151
7154
|
|
|
@@ -7187,7 +7190,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7187
7190
|
/* harmony import */ var lodash_merge__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_merge__WEBPACK_IMPORTED_MODULE_2__);
|
|
7188
7191
|
/* harmony import */ var _react_hive_honey_style__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @react-hive/honey-style */ "@react-hive/honey-style");
|
|
7189
7192
|
/* harmony import */ var _react_hive_honey_style__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_react_hive_honey_style__WEBPACK_IMPORTED_MODULE_3__);
|
|
7190
|
-
/* harmony import */ var _contexts__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*!
|
|
7193
|
+
/* harmony import */ var _contexts__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../contexts */ "./src/contexts/index.ts");
|
|
7191
7194
|
|
|
7192
7195
|
|
|
7193
7196
|
|
|
@@ -7240,7 +7243,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7240
7243
|
/* harmony export */ });
|
|
7241
7244
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
7242
7245
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
7243
|
-
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*!
|
|
7246
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../helpers */ "./src/helpers/index.ts");
|
|
7244
7247
|
|
|
7245
7248
|
|
|
7246
7249
|
/**
|
|
@@ -15561,12 +15564,6 @@ const e=e=>new Blob([e],{type:e.type}),t=e=>new DOMRect(e.offsetLeft,e.offsetTop
|
|
|
15561
15564
|
/******/ if (cachedModule !== undefined) {
|
|
15562
15565
|
/******/ return cachedModule.exports;
|
|
15563
15566
|
/******/ }
|
|
15564
|
-
/******/ // Check if module exists (development only)
|
|
15565
|
-
/******/ if (__webpack_modules__[moduleId] === undefined) {
|
|
15566
|
-
/******/ var e = new Error("Cannot find module '" + moduleId + "'");
|
|
15567
|
-
/******/ e.code = 'MODULE_NOT_FOUND';
|
|
15568
|
-
/******/ throw e;
|
|
15569
|
-
/******/ }
|
|
15570
15567
|
/******/ // Create a new module (and put it into the cache)
|
|
15571
15568
|
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
15572
15569
|
/******/ id: moduleId,
|
|
@@ -15575,6 +15572,12 @@ const e=e=>new Blob([e],{type:e.type}),t=e=>new DOMRect(e.offsetLeft,e.offsetTop
|
|
|
15575
15572
|
/******/ };
|
|
15576
15573
|
/******/
|
|
15577
15574
|
/******/ // Execute the module function
|
|
15575
|
+
/******/ if (!(moduleId in __webpack_modules__)) {
|
|
15576
|
+
/******/ delete __webpack_module_cache__[moduleId];
|
|
15577
|
+
/******/ var e = new Error("Cannot find module '" + moduleId + "'");
|
|
15578
|
+
/******/ e.code = 'MODULE_NOT_FOUND';
|
|
15579
|
+
/******/ throw e;
|
|
15580
|
+
/******/ }
|
|
15578
15581
|
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
15579
15582
|
/******/
|
|
15580
15583
|
/******/ // Flag the module as loaded
|