@react-hive/honey-layout 10.1.0 → 10.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/HoneyBox/HoneyBox.d.ts +1 -1
- package/dist/components/HoneyFlex/HoneyFlex.d.ts +33 -31
- 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/components/HoneyPopup/hooks/use-honey-popup.d.ts +43 -11
- package/dist/index.cjs +13 -13
- package/dist/index.cjs.LICENSE.txt +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.dev.cjs +161 -115
- package/dist/index.dev.cjs.map +1 -1
- package/dist/index.mjs +13 -13
- package/dist/index.mjs.LICENSE.txt +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/utils/feedback.d.ts +1 -0
- package/dist/utils/index.d.ts +1 -0
- package/package.json +2 -2
package/dist/index.dev.cjs
CHANGED
|
@@ -7932,86 +7932,90 @@ function rectToClientRect(rect) {
|
|
|
7932
7932
|
"use strict";
|
|
7933
7933
|
__webpack_require__.r(__webpack_exports__);
|
|
7934
7934
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
7935
|
-
/* harmony export */ FOCUSABLE_HTML_TAGS: () => (/* binding */
|
|
7935
|
+
/* harmony export */ FOCUSABLE_HTML_TAGS: () => (/* binding */ re),
|
|
7936
7936
|
/* harmony export */ assert: () => (/* binding */ t),
|
|
7937
|
-
/* harmony export */ blobToFile: () => (/* binding */
|
|
7937
|
+
/* harmony export */ blobToFile: () => (/* binding */ ke),
|
|
7938
|
+
/* harmony export */ calculateCenterOffset: () => (/* binding */ ge),
|
|
7938
7939
|
/* harmony export */ calculateEuclideanDistance: () => (/* binding */ ee),
|
|
7939
7940
|
/* harmony export */ calculateMovingSpeed: () => (/* binding */ te),
|
|
7940
|
-
/* harmony export */ calculatePercentage: () => (/* binding */
|
|
7941
|
+
/* harmony export */ calculatePercentage: () => (/* binding */ ne),
|
|
7941
7942
|
/* harmony export */ camelToDashCase: () => (/* binding */ q),
|
|
7942
7943
|
/* harmony export */ camelToWords: () => (/* binding */ J),
|
|
7943
|
-
/* harmony export */
|
|
7944
|
-
/* harmony export */
|
|
7945
|
-
/* harmony export */
|
|
7946
|
-
/* harmony export */
|
|
7947
|
-
/* harmony export */
|
|
7948
|
-
/* harmony export */
|
|
7944
|
+
/* harmony export */ centerElementInContainer: () => (/* binding */ pe),
|
|
7945
|
+
/* harmony export */ chunk: () => (/* binding */ k),
|
|
7946
|
+
/* harmony export */ cloneBlob: () => (/* binding */ ae),
|
|
7947
|
+
/* harmony export */ compact: () => (/* binding */ M),
|
|
7948
|
+
/* harmony export */ compose: () => (/* binding */ P),
|
|
7949
|
+
/* harmony export */ definedProps: () => (/* binding */ _e),
|
|
7950
|
+
/* harmony export */ delay: () => (/* binding */ R),
|
|
7949
7951
|
/* harmony export */ difference: () => (/* binding */ E),
|
|
7950
|
-
/* harmony export */
|
|
7951
|
-
/* harmony export */
|
|
7952
|
-
/* harmony export */
|
|
7953
|
-
/* harmony export */
|
|
7954
|
-
/* harmony export */
|
|
7952
|
+
/* harmony export */ downloadFile: () => (/* binding */ xe),
|
|
7953
|
+
/* harmony export */ everyAsync: () => (/* binding */ Y),
|
|
7954
|
+
/* harmony export */ fileListToFiles: () => (/* binding */ Oe),
|
|
7955
|
+
/* harmony export */ filterParallel: () => (/* binding */ U),
|
|
7956
|
+
/* harmony export */ filterSequential: () => (/* binding */ H),
|
|
7957
|
+
/* harmony export */ findAsync: () => (/* binding */ D),
|
|
7955
7958
|
/* harmony export */ getDOMRectIntersectionRatio: () => (/* binding */ oe),
|
|
7956
|
-
/* harmony export */ getElementOffsetRect: () => (/* binding */
|
|
7957
|
-
/* harmony export */ getFocusableHtmlElements: () => (/* binding */
|
|
7958
|
-
/* harmony export */ getLocalStorageCapabilities: () => (/* binding */
|
|
7959
|
+
/* harmony export */ getElementOffsetRect: () => (/* binding */ le),
|
|
7960
|
+
/* harmony export */ getFocusableHtmlElements: () => (/* binding */ ue),
|
|
7961
|
+
/* harmony export */ getLocalStorageCapabilities: () => (/* binding */ Se),
|
|
7959
7962
|
/* harmony export */ getXOverflowWidth: () => (/* binding */ ye),
|
|
7960
|
-
/* harmony export */ getYOverflowHeight: () => (/* binding */
|
|
7961
|
-
/* harmony export */ hasXOverflow: () => (/* binding */
|
|
7963
|
+
/* harmony export */ getYOverflowHeight: () => (/* binding */ de),
|
|
7964
|
+
/* harmony export */ hasXOverflow: () => (/* binding */ me),
|
|
7962
7965
|
/* harmony export */ hasYOverflow: () => (/* binding */ we),
|
|
7963
7966
|
/* harmony export */ hashString: () => (/* binding */ Q),
|
|
7964
|
-
/* harmony export */ intersection: () => (/* binding */
|
|
7965
|
-
/* harmony export */ invokeIfFunction: () => (/* binding */
|
|
7966
|
-
/* harmony export */ isAnchorHtmlElement: () => (/* binding */
|
|
7967
|
-
/* harmony export */ isArray: () => (/* binding */
|
|
7968
|
-
/* harmony export */ isBlob: () => (/* binding */
|
|
7969
|
-
/* harmony export */ isBool: () => (/* binding */
|
|
7967
|
+
/* harmony export */ intersection: () => (/* binding */ v),
|
|
7968
|
+
/* harmony export */ invokeIfFunction: () => (/* binding */ C),
|
|
7969
|
+
/* harmony export */ isAnchorHtmlElement: () => (/* binding */ se),
|
|
7970
|
+
/* harmony export */ isArray: () => (/* binding */ x),
|
|
7971
|
+
/* harmony export */ isBlob: () => (/* binding */ u),
|
|
7972
|
+
/* harmony export */ isBool: () => (/* binding */ l),
|
|
7970
7973
|
/* harmony export */ isContentEditableHtmlElement: () => (/* binding */ ce),
|
|
7971
|
-
/* harmony export */ isDate: () => (/* binding */
|
|
7972
|
-
/* harmony export */ isDecimal: () => (/* binding */
|
|
7973
|
-
/* harmony export */ isDefined: () => (/* binding */
|
|
7974
|
-
/* harmony export */ isEmptyArray: () => (/* binding */
|
|
7974
|
+
/* harmony export */ isDate: () => (/* binding */ f),
|
|
7975
|
+
/* harmony export */ isDecimal: () => (/* binding */ S),
|
|
7976
|
+
/* harmony export */ isDefined: () => (/* binding */ i),
|
|
7977
|
+
/* harmony export */ isEmptyArray: () => (/* binding */ A),
|
|
7975
7978
|
/* harmony export */ isEmptyObject: () => (/* binding */ c),
|
|
7976
7979
|
/* harmony export */ isError: () => (/* binding */ h),
|
|
7977
|
-
/* harmony export */ isFile: () => (/* binding */
|
|
7980
|
+
/* harmony export */ isFile: () => (/* binding */ Ae),
|
|
7978
7981
|
/* harmony export */ isFiniteNumber: () => (/* binding */ p),
|
|
7979
|
-
/* harmony export */ isFunction: () => (/* binding */
|
|
7980
|
-
/* harmony export */ isHtmlElementFocusable: () => (/* binding */
|
|
7982
|
+
/* harmony export */ isFunction: () => (/* binding */ z),
|
|
7983
|
+
/* harmony export */ isHtmlElementFocusable: () => (/* binding */ fe),
|
|
7981
7984
|
/* harmony export */ isInteger: () => (/* binding */ b),
|
|
7982
|
-
/* harmony export */ isLocalStorageReadable: () => (/* binding */
|
|
7983
|
-
/* harmony export */ isMap: () => (/* binding */
|
|
7984
|
-
/* harmony export */ isNil: () => (/* binding */
|
|
7985
|
-
/* harmony export */ isNilOrEmptyString: () => (/* binding */
|
|
7986
|
-
/* harmony export */ isNull: () => (/* binding */
|
|
7985
|
+
/* harmony export */ isLocalStorageReadable: () => (/* binding */ be),
|
|
7986
|
+
/* harmony export */ isMap: () => (/* binding */ w),
|
|
7987
|
+
/* harmony export */ isNil: () => (/* binding */ r),
|
|
7988
|
+
/* harmony export */ isNilOrEmptyString: () => (/* binding */ G),
|
|
7989
|
+
/* harmony export */ isNull: () => (/* binding */ n),
|
|
7987
7990
|
/* harmony export */ isNumber: () => (/* binding */ o),
|
|
7988
|
-
/* harmony export */ isObject: () => (/* binding */
|
|
7989
|
-
/* harmony export */ isPromise: () => (/* binding */
|
|
7990
|
-
/* harmony export */ isRegExp: () => (/* binding */
|
|
7991
|
+
/* harmony export */ isObject: () => (/* binding */ s),
|
|
7992
|
+
/* harmony export */ isPromise: () => (/* binding */ I),
|
|
7993
|
+
/* harmony export */ isRegExp: () => (/* binding */ y),
|
|
7991
7994
|
/* harmony export */ isSet: () => (/* binding */ d),
|
|
7992
|
-
/* harmony export */ isString: () => (/* binding */
|
|
7993
|
-
/* harmony export */ isSymbol: () => (/* binding */
|
|
7994
|
-
/* harmony export */ isUndefined: () => (/* binding */
|
|
7995
|
-
/* harmony export */ isValidDate: () => (/* binding */
|
|
7996
|
-
/* harmony export */
|
|
7997
|
-
/* harmony export */
|
|
7998
|
-
/* harmony export */
|
|
7999
|
-
/* harmony export */
|
|
8000
|
-
/* harmony export */
|
|
8001
|
-
/* harmony export */
|
|
8002
|
-
/* harmony export */
|
|
8003
|
-
/* harmony export */
|
|
7995
|
+
/* harmony export */ isString: () => (/* binding */ Z),
|
|
7996
|
+
/* harmony export */ isSymbol: () => (/* binding */ g),
|
|
7997
|
+
/* harmony export */ isUndefined: () => (/* binding */ a),
|
|
7998
|
+
/* harmony export */ isValidDate: () => (/* binding */ m),
|
|
7999
|
+
/* harmony export */ moveFocusWithinContainer: () => (/* binding */ he),
|
|
8000
|
+
/* harmony export */ noop: () => (/* binding */ T),
|
|
8001
|
+
/* harmony export */ not: () => (/* binding */ L),
|
|
8002
|
+
/* harmony export */ once: () => (/* binding */ F),
|
|
8003
|
+
/* harmony export */ parse2DMatrix: () => (/* binding */ ie),
|
|
8004
|
+
/* harmony export */ parseFileName: () => (/* binding */ Me),
|
|
8005
|
+
/* harmony export */ pipe: () => (/* binding */ _),
|
|
8006
|
+
/* harmony export */ readFilesFromDataTransfer: () => (/* binding */ Ee),
|
|
8007
|
+
/* harmony export */ reduceAsync: () => (/* binding */ B),
|
|
8004
8008
|
/* harmony export */ retry: () => (/* binding */ j),
|
|
8005
8009
|
/* harmony export */ runParallel: () => (/* binding */ $),
|
|
8006
|
-
/* harmony export */ runSequential: () => (/* binding */
|
|
8007
|
-
/* harmony export */ someAsync: () => (/* binding */
|
|
8010
|
+
/* harmony export */ runSequential: () => (/* binding */ X),
|
|
8011
|
+
/* harmony export */ someAsync: () => (/* binding */ W),
|
|
8008
8012
|
/* harmony export */ splitStringIntoWords: () => (/* binding */ K),
|
|
8009
|
-
/* harmony export */ timeout: () => (/* binding */
|
|
8013
|
+
/* harmony export */ timeout: () => (/* binding */ N),
|
|
8010
8014
|
/* harmony export */ toKebabCase: () => (/* binding */ V),
|
|
8011
|
-
/* harmony export */ traverseFileSystemDirectory: () => (/* binding */
|
|
8012
|
-
/* harmony export */ unique: () => (/* binding */
|
|
8015
|
+
/* harmony export */ traverseFileSystemDirectory: () => (/* binding */ ve),
|
|
8016
|
+
/* harmony export */ unique: () => (/* binding */ O)
|
|
8013
8017
|
/* harmony export */ });
|
|
8014
|
-
var e={};function t(e,t){if(!e)throw new Error(t)}e.d=(t,
|
|
8018
|
+
var e={};function t(e,t){if(!e)throw new Error(t)}e.d=(t,n)=>{for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},e.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);const n=e=>null===e,r=e=>null==e,i=e=>null!=e,a=e=>void 0===e,o=e=>"number"==typeof e,l=e=>"boolean"==typeof e,s=e=>"object"==typeof e,c=e=>s(e)&&!n(e)&&0===Object.keys(e).length,f=e=>e instanceof Date,u=e=>e instanceof Blob,h=e=>e instanceof Error,m=e=>f(e)&&!isNaN(e.getTime()),y=e=>e instanceof RegExp,w=e=>e instanceof Map,d=e=>e instanceof Set,g=e=>"symbol"==typeof e,p=e=>o(e)&&isFinite(e),b=e=>o(e)&&Number.isInteger(e),S=e=>p(e)&&!Number.isInteger(e),x=e=>Array.isArray(e),A=e=>x(e)&&0===e.length,M=e=>e.filter(Boolean),O=e=>[...new Set(e)],k=(e,n)=>(t(n>0,"Chunk size must be greater than 0"),Array.from({length:Math.ceil(e.length/n)},(t,r)=>e.slice(r*n,(r+1)*n))),v=(...e)=>{if(0===e.length)return[];if(1===e.length)return[...e[0]];const[t,...n]=e;return O(t).filter(e=>n.every(t=>t.includes(e)))},E=(e,t)=>e.filter(e=>!t.includes(e)),_=(...e)=>t=>e.reduce((e,t)=>t(e),t),P=(...e)=>t=>e.reduceRight((e,t)=>t(e),t),T=()=>{},z=e=>"function"==typeof e,L=e=>(...t)=>!e(...t),C=(e,...t)=>"function"==typeof e?e(...t):e,R=e=>new Promise(t=>setTimeout(t,e)),N=async(e,t,n="Operation timed out")=>{try{return await Promise.race([e,R(t).then(()=>Promise.reject(new Error(n)))])}finally{}},j=(e,{maxAttempts:t=3,delayMs:n=300,backoff:r=!0,onRetry:i}={})=>async(...a)=>{let o;for(let l=1;l<=t;l++)try{return await e(...a)}catch(e){if(o=e,l<t){i?.(l,e);const t=r?n*2**(l-1):n;await R(t)}}throw o},F=e=>{let t,n=!1;return function(...r){return n||(n=!0,t=e.apply(this,r)),t}},I=e=>z(e?.then),X=async(e,t)=>{const n=[];for(let r=0;r<e.length;r++)n.push(await t(e[r],r,e));return n},$=async(e,t)=>Promise.all(e.map(t)),H=async(e,t)=>{const n=[];for(let r=0;r<e.length;r++){const i=e[r];await t(i,r,e)&&n.push(i)}return n},U=async(e,t)=>{const n=await $(e,async(e,n,r)=>!!await t(e,n,r)&&e);return M(n)},W=async(e,t)=>{for(let n=0;n<e.length;n++)if(await t(e[n],n,e))return!0;return!1},Y=async(e,t)=>{for(let n=0;n<e.length;n++)if(!await t(e[n],n,e))return!1;return!0},B=async(e,t,n)=>{let r=n;for(let n=0;n<e.length;n++)r=await t(r,e[n],n,e);return r},D=async(e,t)=>{for(let n=0;n<e.length;n++)if(await t(e[n],n,e))return e[n];return null},Z=e=>"string"==typeof e,G=e=>""===e||r(e),V=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),q=e=>{const t=e.charAt(0),n=e.slice(1);return t.toLowerCase()+n.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)},J=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1 $2"),K=e=>e.split(" ").filter(Boolean),Q=e=>{let t=5381;for(let n=0;n<e.length;n++)t=33*t^e.charCodeAt(n);return(t>>>0).toString(36)},ee=(e,t,n,r)=>{const i=n-e,a=r-t;return Math.hypot(i,a)},te=(e,t)=>Math.abs(e/t),ne=(e,t)=>e*t/100,re=["INPUT","SELECT","TEXTAREA","BUTTON","A"],ie=e=>{const t=window.getComputedStyle(e).getPropertyValue("transform").match(/^matrix\((.+)\)$/);if(!t)return{translateX:0,translateY:0,scaleX:1,scaleY:1,skewX:0,skewY:0};const[n,r,i,a,o,l]=t[1].split(", ").map(parseFloat);return{translateX:o,translateY:l,scaleX:n,scaleY:a,skewX:i,skewY:r}},ae=e=>new Blob([e],{type:e.type}),oe=(e,t)=>Math.max(0,Math.min(e.right,t.right)-Math.max(e.left,t.left))*Math.max(0,Math.min(e.bottom,t.bottom)-Math.max(e.top,t.top))/(t.width*t.height),le=e=>new DOMRect(e.offsetLeft,e.offsetTop,e.clientWidth,e.clientHeight),se=e=>"A"===e.tagName,ce=e=>"true"===e.getAttribute("contenteditable"),fe=e=>{if(!e)return!1;const t=window.getComputedStyle(e);if("hidden"===t.visibility||"none"===t.display)return!1;if("disabled"in e&&e.disabled)return!1;const n=e.getAttribute("tabindex");return"-1"!==n&&(re.includes(e.tagName)?!se(e)||""!==e.href:!!ce(e)||null!==n)},ue=e=>Array.from(e.querySelectorAll("*")).filter(fe),he=(e,t=null,{wrap:n=!0,getNextIndex:r}={})=>{const i=document.activeElement,a=t??i?.parentElement;if(!i||!a)return;const o=ue(a);if(0===o.length)return;const l=o.indexOf(i);if(-1===l)return;let s;r?s=r(l,e,o):"next"===e?(s=l+1,s>=o.length&&(s=n?0:null)):(s=l-1,s<0&&(s=n?o.length-1:null)),null!==s&&o[s]?.focus()},me=e=>e.scrollWidth>e.clientWidth,ye=e=>Math.max(0,e.scrollWidth-e.clientWidth),we=e=>e.scrollHeight>e.clientHeight,de=e=>Math.max(0,e.scrollHeight-e.clientHeight),ge=({overflowSize:e,containerSize:t,elementOffset:n,elementSize:r})=>{if(e<=0)return 0;const i=n+r/2-t/2;return-Math.max(0,Math.min(i,e))},pe=(e,t,{axis:n="both"}={})=>{let r=0,i=0;"x"!==n&&"both"!==n||(r=ge({overflowSize:ye(e),containerSize:e.clientWidth,elementOffset:t.offsetLeft,elementSize:t.clientWidth})),"y"!==n&&"both"!==n||(i=ge({overflowSize:de(e),containerSize:e.clientHeight,elementOffset:t.offsetTop,elementSize:t.clientHeight})),e.style.transform=`translate(${r}px, ${i}px)`},be=()=>{if("undefined"==typeof window||!window.localStorage)return!1;try{return window.localStorage.getItem("__non_existing_key__"),!0}catch{return!1}},Se=()=>{if(!be())return{readable:!1,writable:!1};try{const e="__test_write__";return window.localStorage.setItem(e,"1"),window.localStorage.removeItem(e),{readable:!0,writable:!0}}catch{}return{readable:!0,writable:!1}},xe=(e,{fileName:n,target:r}={})=>{if(a(document))return;const i=document.createElement("a");let o=null;try{const t=Z(e)?e:o=URL.createObjectURL(e);i.href=t,n&&(i.download=n),r&&(i.target=r),document.body.appendChild(i),i.click()}finally{i.remove(),o&&setTimeout(()=>{t(o,"Object URL should not be null"),URL.revokeObjectURL(o)},0)}},Ae=e=>e instanceof File,Me=e=>{const t=e.lastIndexOf(".");return t<=0||t===e.length-1?[e,""]:[e.slice(0,t),e.slice(t+1).toLowerCase()]},Oe=e=>{if(!e)return[];const t=[];for(let n=0;n<e.length;n++)t.push(e[n]);return t},ke=(e,t)=>new File([e],t,{type:e.type}),ve=async(e,{skipFiles:t=[".DS_Store","Thumbs.db","desktop.ini","ehthumbs.db",".Spotlight-V100",".Trashes",".fseventsd","__MACOSX"]}={})=>{const n=new Set(t),r=await(async e=>{const t=e.createReader(),n=async()=>new Promise((e,r)=>{t.readEntries(async t=>{if(t.length)try{const r=await n();e([...t,...r])}catch(e){r(e)}else e([])},r)});return n()})(e);return(await $(r,async e=>e.isDirectory?ve(e,{skipFiles:t}):n.has(e.name)?[]:[await new Promise((t,n)=>{e.file(t,n)})])).flat()},Ee=async(e,t={})=>{const n=e?.items;if(!n)return[];const r=[];for(let e=0;e<n.length;e++){const i=n[e];if("webkitGetAsEntry"in i){const e=i.webkitGetAsEntry?.();if(e?.isDirectory){r.push(ve(e,t));continue}if(e?.isFile){r.push(new Promise((t,n)=>e.file(e=>t([e]),n)));continue}}const a=i.getAsFile();a&&r.push(Promise.resolve([a]))}return(await Promise.all(r)).flat()},_e=e=>Object.entries(e).reduce((e,[t,n])=>(void 0!==n&&(e[t]=n),e),{});
|
|
8015
8019
|
//# sourceMappingURL=index.mjs.map
|
|
8016
8020
|
|
|
8017
8021
|
/***/ },
|
|
@@ -11323,15 +11327,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
11323
11327
|
/* harmony export */ tabbable: () => (/* binding */ tabbable)
|
|
11324
11328
|
/* harmony export */ });
|
|
11325
11329
|
/*!
|
|
11326
|
-
* tabbable 6.
|
|
11330
|
+
* tabbable 6.4.0
|
|
11327
11331
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
11328
11332
|
*/
|
|
11329
11333
|
// NOTE: separate `:not()` selectors has broader browser support than the newer
|
|
11330
11334
|
// `:not([inert], [inert] *)` (Feb 2023)
|
|
11331
|
-
|
|
11332
|
-
// the entire query to fail, resulting in no nodes found, which will break a lot
|
|
11333
|
-
// of things... so we have to rely on JS to identify nodes inside an inert container
|
|
11334
|
-
var candidateSelectors = ['input:not([inert])', 'select:not([inert])', 'textarea:not([inert])', 'a[href]:not([inert])', 'button:not([inert])', '[tabindex]:not(slot):not([inert])', 'audio[controls]:not([inert])', 'video[controls]:not([inert])', '[contenteditable]:not([contenteditable="false"]):not([inert])', 'details>summary:first-of-type:not([inert])', 'details:not([inert])'];
|
|
11335
|
+
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] *)'];
|
|
11335
11336
|
var candidateSelector = /* #__PURE__ */candidateSelectors.join(',');
|
|
11336
11337
|
var NoElement = typeof Element === 'undefined';
|
|
11337
11338
|
var matches = NoElement ? function () {} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;
|
|
@@ -11344,7 +11345,7 @@ var getRootNode = !NoElement && Element.prototype.getRootNode ? function (elemen
|
|
|
11344
11345
|
|
|
11345
11346
|
/**
|
|
11346
11347
|
* Determines if a node is inert or in an inert ancestor.
|
|
11347
|
-
* @param {
|
|
11348
|
+
* @param {Node} [node]
|
|
11348
11349
|
* @param {boolean} [lookUp] If true and `node` is not inert, looks up at ancestors to
|
|
11349
11350
|
* see if any of them are inert. If false, only `node` itself is considered.
|
|
11350
11351
|
* @returns {boolean} True if inert itself or by way of being in an inert ancestor.
|
|
@@ -11364,10 +11365,10 @@ var _isInert = function isInert(node, lookUp) {
|
|
|
11364
11365
|
// NOTE: this could also be handled with `node.matches('[inert], :is([inert] *)')`
|
|
11365
11366
|
// if it weren't for `matches()` not being a function on shadow roots; the following
|
|
11366
11367
|
// code works for any kind of node
|
|
11367
|
-
|
|
11368
|
-
//
|
|
11369
|
-
|
|
11370
|
-
|
|
11368
|
+
var result = inert || lookUp && node && (
|
|
11369
|
+
// closest does not exist on shadow roots, so we fall back to a manual
|
|
11370
|
+
// lookup upward, in case it is not defined.
|
|
11371
|
+
typeof node.closest === 'function' ? node.closest('[inert]') : _isInert(node.parentNode));
|
|
11371
11372
|
return result;
|
|
11372
11373
|
};
|
|
11373
11374
|
|
|
@@ -11393,7 +11394,7 @@ var isContentEditable = function isContentEditable(node) {
|
|
|
11393
11394
|
*/
|
|
11394
11395
|
var getCandidates = function getCandidates(el, includeContainer, filter) {
|
|
11395
11396
|
// even if `includeContainer=false`, we still have to check it for inertness because
|
|
11396
|
-
// if it's inert, all its children are inert
|
|
11397
|
+
// if it's inert (either by itself or via its parent), then all its children are inert
|
|
11397
11398
|
if (_isInert(el)) {
|
|
11398
11399
|
return [];
|
|
11399
11400
|
}
|
|
@@ -11809,11 +11810,7 @@ var isDisabledFromFieldset = function isDisabledFromFieldset(node) {
|
|
|
11809
11810
|
return false;
|
|
11810
11811
|
};
|
|
11811
11812
|
var isNodeMatchingSelectorFocusable = function isNodeMatchingSelectorFocusable(options, node) {
|
|
11812
|
-
if (node.disabled ||
|
|
11813
|
-
// we must do an inert look up to filter out any elements inside an inert ancestor
|
|
11814
|
-
// because we're limited in the type of selectors we can use in JSDom (see related
|
|
11815
|
-
// note related to `candidateSelectors`)
|
|
11816
|
-
_isInert(node) || isHiddenInput(node) || isHidden(node, options) ||
|
|
11813
|
+
if (node.disabled || isHiddenInput(node) || isHidden(node, options) ||
|
|
11817
11814
|
// For a details element with a summary, the summary element gets the focus
|
|
11818
11815
|
isDetailsWithSummary(node) || isDisabledFromFieldset(node)) {
|
|
11819
11816
|
return false;
|
|
@@ -11904,7 +11901,7 @@ var isTabbable = function isTabbable(node, options) {
|
|
|
11904
11901
|
}
|
|
11905
11902
|
return isNodeMatchingSelectorTabbable(options, node);
|
|
11906
11903
|
};
|
|
11907
|
-
var focusableCandidateSelector = /* #__PURE__ */candidateSelectors.concat('iframe').join(',');
|
|
11904
|
+
var focusableCandidateSelector = /* #__PURE__ */candidateSelectors.concat('iframe:not([inert]):not([inert] *)').join(',');
|
|
11908
11905
|
var isFocusable = function isFocusable(node, options) {
|
|
11909
11906
|
options = options || {};
|
|
11910
11907
|
if (!node) {
|
|
@@ -12105,13 +12102,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
12105
12102
|
"use strict";
|
|
12106
12103
|
__webpack_require__.r(__webpack_exports__);
|
|
12107
12104
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12108
|
-
/* harmony export */ HoneyFlex: () => (/* binding */ HoneyFlex)
|
|
12109
|
-
/* harmony export */ HoneyFlexBox: () => (/* binding */ HoneyFlexBox)
|
|
12105
|
+
/* harmony export */ HoneyFlex: () => (/* binding */ HoneyFlex)
|
|
12110
12106
|
/* harmony export */ });
|
|
12111
12107
|
/* harmony import */ var _react_hive_honey_style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @react-hive/honey-style */ "@react-hive/honey-style");
|
|
12112
12108
|
/* harmony import */ var _react_hive_honey_style__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_react_hive_honey_style__WEBPACK_IMPORTED_MODULE_0__);
|
|
12113
12109
|
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../constants */ "./src/constants.ts");
|
|
12114
|
-
/* harmony import */ var
|
|
12110
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils */ "./src/utils/index.ts");
|
|
12111
|
+
/* harmony import */ var _HoneyBox__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../HoneyBox */ "./src/components/HoneyBox/index.ts");
|
|
12112
|
+
|
|
12115
12113
|
|
|
12116
12114
|
|
|
12117
12115
|
|
|
@@ -12131,6 +12129,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
12131
12129
|
* ---
|
|
12132
12130
|
*
|
|
12133
12131
|
* ### Semantic helpers
|
|
12132
|
+
* - `inline` → switches layout to `inline-flex`
|
|
12134
12133
|
* - `row` → switches layout to horizontal flow
|
|
12135
12134
|
* - `center` → centers content on both axes
|
|
12136
12135
|
* - `centerX`, `centerY` → axis-aware centering helpers
|
|
@@ -12147,6 +12146,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
12147
12146
|
*
|
|
12148
12147
|
* ---
|
|
12149
12148
|
*
|
|
12149
|
+
* @example Inline layout
|
|
12150
|
+
* ```tsx
|
|
12151
|
+
* <HoneyFlex inline centerY>
|
|
12152
|
+
* <Icon />
|
|
12153
|
+
* <Text>Label</Text>
|
|
12154
|
+
* </HoneyFlex>
|
|
12155
|
+
* ```
|
|
12156
|
+
*
|
|
12150
12157
|
* @example Horizontal layout
|
|
12151
12158
|
* ```tsx
|
|
12152
12159
|
* <HoneyFlex $gap={2} row/>
|
|
@@ -12164,14 +12171,19 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
12164
12171
|
* </HoneyFlex>
|
|
12165
12172
|
* ```
|
|
12166
12173
|
*/
|
|
12167
|
-
const HoneyFlex = (0,_react_hive_honey_style__WEBPACK_IMPORTED_MODULE_0__.styled)((0,
|
|
12168
|
-
const
|
|
12169
|
-
const
|
|
12174
|
+
const HoneyFlex = (0,_react_hive_honey_style__WEBPACK_IMPORTED_MODULE_0__.styled)((0,_HoneyBox__WEBPACK_IMPORTED_MODULE_3__.HoneyBox), ({ inline = false, row = false, center = false, centerX = false, centerY = false, $display, $flexDirection, $alignItems, $justifyContent, ...props }) => {
|
|
12175
|
+
const display = inline ? 'inline-flex' : ($display ?? 'flex');
|
|
12176
|
+
const flexDirection = $flexDirection ?? (row ? 'row' : 'column');
|
|
12177
|
+
const isRow = flexDirection === 'row';
|
|
12178
|
+
const shouldCenterAlignItems = center || (isRow ? centerY : centerX);
|
|
12179
|
+
const shouldCenterJustifyContent = center || (isRow ? centerX : centerY);
|
|
12180
|
+
const alignItems = $alignItems ?? (shouldCenterAlignItems ? 'center' : undefined);
|
|
12181
|
+
const justifyContent = $justifyContent ?? (shouldCenterJustifyContent ? 'center' : undefined);
|
|
12170
12182
|
if (_constants__WEBPACK_IMPORTED_MODULE_1__.__DEV__) {
|
|
12171
|
-
const hasAlignConflict =
|
|
12172
|
-
const hasJustifyConflict =
|
|
12183
|
+
const hasAlignConflict = shouldCenterAlignItems && $alignItems !== undefined;
|
|
12184
|
+
const hasJustifyConflict = shouldCenterJustifyContent && $justifyContent !== undefined;
|
|
12173
12185
|
if (hasAlignConflict || hasJustifyConflict) {
|
|
12174
|
-
|
|
12186
|
+
(0,_utils__WEBPACK_IMPORTED_MODULE_2__.warnOnce)(`HoneyFlex:${hasAlignConflict}:${hasJustifyConflict}`, [
|
|
12175
12187
|
'[@react-hive/honey-layout]: HoneyFlex.',
|
|
12176
12188
|
'Semantic centering props conflict with explicit flex alignment styles:',
|
|
12177
12189
|
hasAlignConflict && ` - align-items is controlled by both semantics and $alignItems`,
|
|
@@ -12184,20 +12196,14 @@ const HoneyFlex = (0,_react_hive_honey_style__WEBPACK_IMPORTED_MODULE_0__.styled
|
|
|
12184
12196
|
}
|
|
12185
12197
|
}
|
|
12186
12198
|
return {
|
|
12187
|
-
$display,
|
|
12188
|
-
$flexDirection,
|
|
12189
|
-
$alignItems:
|
|
12190
|
-
$justifyContent:
|
|
12199
|
+
$display: display,
|
|
12200
|
+
$flexDirection: flexDirection,
|
|
12201
|
+
$alignItems: alignItems,
|
|
12202
|
+
$justifyContent: justifyContent,
|
|
12191
12203
|
// Data
|
|
12192
12204
|
'data-testid': props['data-testid'] ?? 'honey-flex',
|
|
12193
12205
|
};
|
|
12194
12206
|
}) ``;
|
|
12195
|
-
/**
|
|
12196
|
-
* @deprecated Use {@link HoneyFlex} instead.
|
|
12197
|
-
*
|
|
12198
|
-
* This alias exists for backward compatibility and will be removed in a future major release.
|
|
12199
|
-
*/
|
|
12200
|
-
const HoneyFlexBox = HoneyFlex;
|
|
12201
12207
|
|
|
12202
12208
|
|
|
12203
12209
|
/***/ },
|
|
@@ -12211,8 +12217,7 @@ const HoneyFlexBox = HoneyFlex;
|
|
|
12211
12217
|
"use strict";
|
|
12212
12218
|
__webpack_require__.r(__webpack_exports__);
|
|
12213
12219
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12214
|
-
/* harmony export */ HoneyFlex: () => (/* reexport safe */ _HoneyFlex__WEBPACK_IMPORTED_MODULE_0__.HoneyFlex)
|
|
12215
|
-
/* harmony export */ HoneyFlexBox: () => (/* reexport safe */ _HoneyFlex__WEBPACK_IMPORTED_MODULE_0__.HoneyFlexBox)
|
|
12220
|
+
/* harmony export */ HoneyFlex: () => (/* reexport safe */ _HoneyFlex__WEBPACK_IMPORTED_MODULE_0__.HoneyFlex)
|
|
12216
12221
|
/* harmony export */ });
|
|
12217
12222
|
/* harmony import */ var _HoneyFlex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./HoneyFlex */ "./src/components/HoneyFlex/HoneyFlex.ts");
|
|
12218
12223
|
|
|
@@ -13018,8 +13023,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13018
13023
|
/* harmony import */ var _floating_ui_react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @floating-ui/react */ "./node_modules/@floating-ui/react/dist/floating-ui.react.mjs");
|
|
13019
13024
|
/* harmony import */ var _floating_ui_react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @floating-ui/react */ "./node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs");
|
|
13020
13025
|
/* harmony import */ var _floating_ui_react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @floating-ui/react */ "./node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs");
|
|
13021
|
-
/* harmony import */ var
|
|
13022
|
-
/* harmony import */ var
|
|
13026
|
+
/* harmony import */ var _react_hive_honey_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @react-hive/honey-utils */ "./node_modules/@react-hive/honey-utils/dist/index.mjs");
|
|
13027
|
+
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../hooks */ "./src/hooks/index.ts");
|
|
13028
|
+
/* harmony import */ var _use_honey_popup_interactions__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./use-honey-popup-interactions */ "./src/components/HoneyPopup/hooks/use-honey-popup-interactions.ts");
|
|
13029
|
+
|
|
13023
13030
|
|
|
13024
13031
|
|
|
13025
13032
|
|
|
@@ -13031,8 +13038,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13031
13038
|
*
|
|
13032
13039
|
* @returns An object containing state and utilities for managing the popup.
|
|
13033
13040
|
*/
|
|
13034
|
-
const useHoneyPopup = ({ enabled = true, event, dismissOptions, clickOptions, hoverOptions, focusOptions, clientPointsOptions, roleOptions, extraInteractions, open, floatingOptions, useOffset = true, offsetOptions, useFlip = true, flipOptions, useShift = true, shiftOptions, useArrow = false, arrowOptions, transitionOptions, useAutoPlacement = false, autoPlacementOptions, useAutoUpdate = false, autoUpdateOptions, useAutoSize = false, sizeOptions, minAcceptableWidth =
|
|
13035
|
-
const { theme } = (0,
|
|
13041
|
+
const useHoneyPopup = ({ enabled = true, event, dismissOptions, clickOptions, hoverOptions, focusOptions, clientPointsOptions, roleOptions, extraInteractions, open, floatingOptions, useOffset = true, offsetOptions, useFlip = true, flipOptions, useShift = true, shiftOptions, useArrow = false, arrowOptions, transitionOptions, useAutoPlacement = false, autoPlacementOptions, useAutoUpdate = false, autoUpdateOptions, useAutoSize = false, sizeOptions, minAcceptableWidth = null, minAcceptableHeight = null, maxAcceptableWidth, maxAcceptableHeight, onOpen, onClose, }) => {
|
|
13042
|
+
const { theme } = (0,_hooks__WEBPACK_IMPORTED_MODULE_5__.useHoneyLayout)();
|
|
13036
13043
|
const nodeId = (0,_floating_ui_react__WEBPACK_IMPORTED_MODULE_1__.useFloatingNodeId)();
|
|
13037
13044
|
const [isOpenLocal, setIsOpenLocal] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(false);
|
|
13038
13045
|
const arrowRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);
|
|
@@ -13042,7 +13049,7 @@ const useHoneyPopup = ({ enabled = true, event, dismissOptions, clickOptions, ho
|
|
|
13042
13049
|
onOpen?.();
|
|
13043
13050
|
}
|
|
13044
13051
|
}, [isOpen]);
|
|
13045
|
-
(0,
|
|
13052
|
+
(0,_hooks__WEBPACK_IMPORTED_MODULE_5__.useHoneyOnChange)(enabled, enabled => {
|
|
13046
13053
|
if (!enabled) {
|
|
13047
13054
|
setIsOpenLocal(false);
|
|
13048
13055
|
}
|
|
@@ -13069,11 +13076,23 @@ const useHoneyPopup = ({ enabled = true, event, dismissOptions, clickOptions, ho
|
|
|
13069
13076
|
const sizeMiddleware = (0,_floating_ui_react__WEBPACK_IMPORTED_MODULE_3__.size)({
|
|
13070
13077
|
...sizeOptions,
|
|
13071
13078
|
apply({ elements, rects, availableWidth, availableHeight }) {
|
|
13079
|
+
const minWidth = (0,_react_hive_honey_utils__WEBPACK_IMPORTED_MODULE_4__.isFunction)(minAcceptableWidth)
|
|
13080
|
+
? minAcceptableWidth(rects.reference)
|
|
13081
|
+
: (minAcceptableWidth ?? rects.reference.width);
|
|
13082
|
+
const maxWidth = (0,_react_hive_honey_utils__WEBPACK_IMPORTED_MODULE_4__.isFunction)(maxAcceptableWidth)
|
|
13083
|
+
? maxAcceptableWidth(rects.reference)
|
|
13084
|
+
: Math.min(availableWidth, maxAcceptableWidth ?? Infinity);
|
|
13085
|
+
const minHeight = (0,_react_hive_honey_utils__WEBPACK_IMPORTED_MODULE_4__.isFunction)(minAcceptableHeight)
|
|
13086
|
+
? minAcceptableHeight(rects.reference)
|
|
13087
|
+
: (minAcceptableHeight ?? 0);
|
|
13088
|
+
const maxHeight = (0,_react_hive_honey_utils__WEBPACK_IMPORTED_MODULE_4__.isFunction)(maxAcceptableHeight)
|
|
13089
|
+
? maxAcceptableHeight(rects.reference)
|
|
13090
|
+
: Math.min(availableHeight, maxAcceptableHeight ?? Infinity);
|
|
13072
13091
|
Object.assign(elements.floating.style, {
|
|
13073
|
-
minWidth: `${Math.
|
|
13074
|
-
|
|
13075
|
-
|
|
13076
|
-
maxHeight: `${
|
|
13092
|
+
minWidth: `${Math.min(minWidth, maxWidth)}px`,
|
|
13093
|
+
maxWidth: `${maxWidth}px`,
|
|
13094
|
+
minHeight: `${Math.min(minHeight, maxHeight)}px`,
|
|
13095
|
+
maxHeight: `${maxHeight}px`,
|
|
13077
13096
|
});
|
|
13078
13097
|
},
|
|
13079
13098
|
});
|
|
@@ -13142,7 +13161,7 @@ const useHoneyPopup = ({ enabled = true, event, dismissOptions, clickOptions, ho
|
|
|
13142
13161
|
}),
|
|
13143
13162
|
...floatingOptions,
|
|
13144
13163
|
});
|
|
13145
|
-
const interactions = (0,
|
|
13164
|
+
const interactions = (0,_use_honey_popup_interactions__WEBPACK_IMPORTED_MODULE_6__.useHoneyPopupInteractions)(floating.context, {
|
|
13146
13165
|
enabled,
|
|
13147
13166
|
event,
|
|
13148
13167
|
dismissOptions,
|
|
@@ -13237,7 +13256,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13237
13256
|
/* harmony export */ HoneyBox: () => (/* reexport safe */ _HoneyBox__WEBPACK_IMPORTED_MODULE_0__.HoneyBox),
|
|
13238
13257
|
/* harmony export */ HoneyContextMenu: () => (/* reexport safe */ _HoneyContextMenu__WEBPACK_IMPORTED_MODULE_9__.HoneyContextMenu),
|
|
13239
13258
|
/* harmony export */ HoneyFlex: () => (/* reexport safe */ _HoneyFlex__WEBPACK_IMPORTED_MODULE_1__.HoneyFlex),
|
|
13240
|
-
/* harmony export */ HoneyFlexBox: () => (/* reexport safe */ _HoneyFlex__WEBPACK_IMPORTED_MODULE_1__.HoneyFlexBox),
|
|
13241
13259
|
/* harmony export */ HoneyGrid: () => (/* reexport safe */ _HoneyGrid__WEBPACK_IMPORTED_MODULE_2__.HoneyGrid),
|
|
13242
13260
|
/* harmony export */ HoneyGridColumn: () => (/* reexport safe */ _HoneyGridColumn__WEBPACK_IMPORTED_MODULE_3__.HoneyGridColumn),
|
|
13243
13261
|
/* harmony export */ HoneyGridColumnStyled: () => (/* reexport safe */ _HoneyGridColumn__WEBPACK_IMPORTED_MODULE_3__.HoneyGridColumnStyled),
|
|
@@ -13664,6 +13682,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13664
13682
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
13665
13683
|
/* harmony export */ mergeRefs: () => (/* binding */ mergeRefs)
|
|
13666
13684
|
/* harmony export */ });
|
|
13685
|
+
/* harmony import */ var _react_hive_honey_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @react-hive/honey-utils */ "./node_modules/@react-hive/honey-utils/dist/index.mjs");
|
|
13686
|
+
|
|
13667
13687
|
/**
|
|
13668
13688
|
* Merges multiple refs into a single ref callback.
|
|
13669
13689
|
* This ensures that all provided refs receive the same reference.
|
|
@@ -13674,10 +13694,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13674
13694
|
*/
|
|
13675
13695
|
const mergeRefs = (...refs) => value => {
|
|
13676
13696
|
refs.forEach(ref => {
|
|
13677
|
-
if (
|
|
13697
|
+
if ((0,_react_hive_honey_utils__WEBPACK_IMPORTED_MODULE_0__.isFunction)(ref)) {
|
|
13678
13698
|
ref(value);
|
|
13679
13699
|
}
|
|
13680
|
-
else if (ref
|
|
13700
|
+
else if ((0,_react_hive_honey_utils__WEBPACK_IMPORTED_MODULE_0__.isObject)(ref)) {
|
|
13681
13701
|
ref.current = value;
|
|
13682
13702
|
}
|
|
13683
13703
|
});
|
|
@@ -14951,6 +14971,29 @@ const searchFlattenedItems = (flattenedItems, itemIdKey, valueKey, searchQuery)
|
|
|
14951
14971
|
};
|
|
14952
14972
|
|
|
14953
14973
|
|
|
14974
|
+
/***/ },
|
|
14975
|
+
|
|
14976
|
+
/***/ "./src/utils/feedback.ts"
|
|
14977
|
+
/*!*******************************!*\
|
|
14978
|
+
!*** ./src/utils/feedback.ts ***!
|
|
14979
|
+
\*******************************/
|
|
14980
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
14981
|
+
|
|
14982
|
+
"use strict";
|
|
14983
|
+
__webpack_require__.r(__webpack_exports__);
|
|
14984
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14985
|
+
/* harmony export */ warnOnce: () => (/* binding */ warnOnce)
|
|
14986
|
+
/* harmony export */ });
|
|
14987
|
+
const uniqueWarningKeys = new Set();
|
|
14988
|
+
const warnOnce = (key, message) => {
|
|
14989
|
+
if (uniqueWarningKeys.has(key)) {
|
|
14990
|
+
return;
|
|
14991
|
+
}
|
|
14992
|
+
uniqueWarningKeys.add(key);
|
|
14993
|
+
console.warn(message);
|
|
14994
|
+
};
|
|
14995
|
+
|
|
14996
|
+
|
|
14954
14997
|
/***/ },
|
|
14955
14998
|
|
|
14956
14999
|
/***/ "./src/utils/index.ts"
|
|
@@ -14962,11 +15005,14 @@ const searchFlattenedItems = (flattenedItems, itemIdKey, valueKey, searchQuery)
|
|
|
14962
15005
|
"use strict";
|
|
14963
15006
|
__webpack_require__.r(__webpack_exports__);
|
|
14964
15007
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14965
|
-
/* harmony export */ filterFlattenedItems: () => (/* reexport safe */
|
|
14966
|
-
/* harmony export */ flattenNestedList: () => (/* reexport safe */
|
|
14967
|
-
/* harmony export */ searchFlattenedItems: () => (/* reexport safe */
|
|
15008
|
+
/* harmony export */ filterFlattenedItems: () => (/* reexport safe */ _data_utils__WEBPACK_IMPORTED_MODULE_1__.filterFlattenedItems),
|
|
15009
|
+
/* harmony export */ flattenNestedList: () => (/* reexport safe */ _data_utils__WEBPACK_IMPORTED_MODULE_1__.flattenNestedList),
|
|
15010
|
+
/* harmony export */ searchFlattenedItems: () => (/* reexport safe */ _data_utils__WEBPACK_IMPORTED_MODULE_1__.searchFlattenedItems),
|
|
15011
|
+
/* harmony export */ warnOnce: () => (/* reexport safe */ _feedback__WEBPACK_IMPORTED_MODULE_0__.warnOnce)
|
|
14968
15012
|
/* harmony export */ });
|
|
14969
|
-
/* harmony import */ var
|
|
15013
|
+
/* harmony import */ var _feedback__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./feedback */ "./src/utils/feedback.ts");
|
|
15014
|
+
/* harmony import */ var _data_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./data-utils */ "./src/utils/data-utils.ts");
|
|
15015
|
+
|
|
14970
15016
|
|
|
14971
15017
|
|
|
14972
15018
|
|
|
@@ -15134,7 +15180,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
15134
15180
|
/* harmony export */ HoneyBox: () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_3__.HoneyBox),
|
|
15135
15181
|
/* harmony export */ HoneyContextMenu: () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_3__.HoneyContextMenu),
|
|
15136
15182
|
/* harmony export */ HoneyFlex: () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_3__.HoneyFlex),
|
|
15137
|
-
/* harmony export */ HoneyFlexBox: () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_3__.HoneyFlexBox),
|
|
15138
15183
|
/* harmony export */ HoneyGrid: () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_3__.HoneyGrid),
|
|
15139
15184
|
/* harmony export */ HoneyGridColumn: () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_3__.HoneyGridColumn),
|
|
15140
15185
|
/* harmony export */ HoneyGridColumnStyled: () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_3__.HoneyGridColumnStyled),
|
|
@@ -15173,7 +15218,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
15173
15218
|
/* harmony export */ useHoneySyntheticScroll: () => (/* reexport safe */ _hooks__WEBPACK_IMPORTED_MODULE_5__.useHoneySyntheticScroll),
|
|
15174
15219
|
/* harmony export */ useHoneySyntheticScrollX: () => (/* reexport safe */ _hooks__WEBPACK_IMPORTED_MODULE_5__.useHoneySyntheticScrollX),
|
|
15175
15220
|
/* harmony export */ useHoneySyntheticScrollY: () => (/* reexport safe */ _hooks__WEBPACK_IMPORTED_MODULE_5__.useHoneySyntheticScrollY),
|
|
15176
|
-
/* harmony export */ useRegisterHoneyOverlay: () => (/* reexport safe */ _hooks__WEBPACK_IMPORTED_MODULE_5__.useRegisterHoneyOverlay)
|
|
15221
|
+
/* harmony export */ useRegisterHoneyOverlay: () => (/* reexport safe */ _hooks__WEBPACK_IMPORTED_MODULE_5__.useRegisterHoneyOverlay),
|
|
15222
|
+
/* harmony export */ warnOnce: () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.warnOnce)
|
|
15177
15223
|
/* harmony export */ });
|
|
15178
15224
|
/* harmony import */ var _react_hive_honey_style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @react-hive/honey-style */ "@react-hive/honey-style");
|
|
15179
15225
|
/* harmony import */ var _react_hive_honey_style__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_react_hive_honey_style__WEBPACK_IMPORTED_MODULE_0__);
|