@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.
@@ -1,4 +1,4 @@
1
- import type { HoneyLayerId, HoneyLayerEntry } from '~/components';
1
+ import type { HoneyLayerId, HoneyLayerEntry } from '../../components';
2
2
  /**
3
3
  * Context value exposed by {@link HoneyLayerRegistry}.
4
4
  *
@@ -1,6 +1,6 @@
1
1
  import type { FastOmit } from '@react-hive/honey-style';
2
2
  import type { ReactNode } from 'react';
3
- import type { HoneyActiveOverlay, HoneyOverlayId, Nullable } from '~/types';
3
+ import type { HoneyActiveOverlay, HoneyOverlayId, Nullable } from '../types';
4
4
  import type { HoneyFlexProps } from './HoneyFlex';
5
5
  export interface HoneyOverlayContext {
6
6
  /**
@@ -1,7 +1,7 @@
1
1
  import type { CSSProperties, ReactNode } from 'react';
2
2
  import type { ReferenceType, FloatingArrowProps, FloatingFocusManagerProps, MiddlewareData } from '@floating-ui/react';
3
3
  import type { FastOmit } from '@react-hive/honey-style';
4
- import type { HoneyPopupContextValue, HoneyOverlayProps } from '~/components';
4
+ import type { HoneyPopupContextValue, HoneyOverlayProps } from '../../components';
5
5
  import type { HoneyPopupPortalProps } from './HoneyPopupPortal';
6
6
  import type { HoneyPopupStyledProps } from './HoneyPopupStyled';
7
7
  import type { UseHoneyPopupOptions } from './hooks';
@@ -1,3 +1,3 @@
1
1
  import type { ReferenceType } from '@floating-ui/react';
2
- import type { HoneyPopupContextValue } from '~/components';
2
+ import type { HoneyPopupContextValue } from '../../../components';
3
3
  export declare const useHoneyPopupContext: <Context, Reference extends ReferenceType = ReferenceType>() => HoneyPopupContextValue<Context, Reference>;
@@ -1,5 +1,5 @@
1
1
  import type { HoneyTheme } from '@react-hive/honey-style';
2
- import type { HoneyOverlayConfig, HoneyScreenState, HoneyOverlayId, HoneyActiveOverlay } from '~/types';
2
+ import type { HoneyOverlayConfig, HoneyScreenState, HoneyOverlayId, HoneyActiveOverlay } from '../types';
3
3
  /**
4
4
  * Function to unregister a previously registered overlay.
5
5
  */
@@ -1,6 +1,6 @@
1
1
  import type { HTMLAttributes } from 'react';
2
2
  import type { HoneyStyledFunction, HoneyBreakpointName, HoneyBreakpoints } from '@react-hive/honey-style';
3
- import type { HoneyScreenState, Honey$PrefixedCSSProperties } from '~/types';
3
+ import type { HoneyScreenState, Honey$PrefixedCSSProperties } from '../types';
4
4
  export declare const generateUniqueId: () => string;
5
5
  export type HoneyStyledBoxProps = HTMLAttributes<HTMLElement> & Honey$PrefixedCSSProperties;
6
6
  /**
@@ -1,4 +1,4 @@
1
- import type { HoneyKeyboardEventCode } from '~/types';
1
+ import type { HoneyKeyboardEventCode } from '../types';
2
2
  export type UseHoneyDocumentOnKeyUpHandler = (keyCode: HoneyKeyboardEventCode, e: KeyboardEvent) => void;
3
3
  interface UseHoneyDocumentKeyUpOptions {
4
4
  /**
@@ -1,5 +1,5 @@
1
1
  import type { RefObject } from 'react';
2
- import type { Nullable } from '~/types';
2
+ import type { Nullable } from '../types';
3
3
  /**
4
4
  * Invoked when a drag gesture is about to start.
5
5
  *
@@ -5,4 +5,4 @@
5
5
  *
6
6
  * @returns The context value providing theming utilities and screen state.
7
7
  */
8
- export declare const useHoneyLayout: () => import("~/contexts").HoneyLayoutContextValue;
8
+ export declare const useHoneyLayout: () => import("../contexts").HoneyLayoutContextValue;
@@ -1,5 +1,5 @@
1
1
  import type { HoneyTheme } from '@react-hive/honey-style';
2
- import type { HoneyScreenState } from '~/types';
2
+ import type { HoneyScreenState } from '../types';
3
3
  export interface UseHoneyMediaQueryOptions {
4
4
  /**
5
5
  * Throttle interval (in milliseconds) for the resize event handler.
@@ -1,4 +1,4 @@
1
- import type { HoneyOverlayId, HoneyOverlayEventListenerHandler } from '~/types';
1
+ import type { HoneyOverlayId, HoneyOverlayEventListenerHandler } from '../types';
2
2
  interface UseHoneyOverlayOptions {
3
3
  onKeyUp?: HoneyOverlayEventListenerHandler;
4
4
  }
@@ -26,5 +26,5 @@ interface UseHoneyOverlayOptions {
26
26
  * });
27
27
  * ```
28
28
  */
29
- export declare const useHoneyOverlay: (targetOverlayId: HoneyOverlayId, { onKeyUp }?: UseHoneyOverlayOptions) => import("~/types").HoneyActiveOverlay | undefined;
29
+ export declare const useHoneyOverlay: (targetOverlayId: HoneyOverlayId, { onKeyUp }?: UseHoneyOverlayOptions) => import("../types").HoneyActiveOverlay | undefined;
30
30
  export {};
@@ -1,6 +1,6 @@
1
1
  import type { RefObject } from 'react';
2
2
  import type { Axis } from '@react-hive/honey-utils';
3
- import type { Nullable } from '~/types';
3
+ import type { Nullable } from '../types';
4
4
  import type { UseHoneyDragHandlers } from './use-honey-drag';
5
5
  interface ResolveAxisTranslateOptions {
6
6
  /**
@@ -1,4 +1,4 @@
1
- import type { HoneyActiveOverlay, HoneyOverlayConfig, Nullable } from '~/types';
1
+ import type { HoneyActiveOverlay, HoneyOverlayConfig, Nullable } from '../types';
2
2
  /**
3
3
  * A hook for registering and managing an overlay in the layout system.
4
4
  *
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  /*! For license information please see index.cjs.LICENSE.txt */
2
2
  (()=>{var e,t,n={117(e,t,n){e=n.nmd(e);var r="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",s="[object Function]",u="[object Object]",c=/^\[object .+?Constructor\]$/,l=/^(?:0|[1-9]\d*)$/,a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a[i]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a[s]=a["[object Map]"]=a["[object Number]"]=a[u]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1;var f,d,p,v="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,m="object"==typeof self&&self&&self.Object===Object&&self,h=v||m||Function("return this")(),y=t&&!t.nodeType&&t,g=y&&e&&!e.nodeType&&e,b=g&&g.exports===y,w=b&&v.process,x=function(){try{return g&&g.require&&g.require("util").types||w&&w.binding&&w.binding("util")}catch(e){}}(),E=x&&x.isTypedArray,R=Array.prototype,O=Function.prototype,S=Object.prototype,C=h["__core-js_shared__"],L=O.toString,k=S.hasOwnProperty,_=(f=/[^.]+$/.exec(C&&C.keys&&C.keys.IE_PROTO||""))?"Symbol(src)_1."+f:"",P=S.toString,M=L.call(Object),A=RegExp("^"+L.call(k).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),j=b?h.Buffer:void 0,T=h.Symbol,D=h.Uint8Array,H=(j&&j.allocUnsafe,d=Object.getPrototypeOf,p=Object,function(e){return d(p(e))}),I=Object.create,$=S.propertyIsEnumerable,N=R.splice,F=T?T.toStringTag:void 0,W=function(){try{var e=ue(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),z=j?j.isBuffer:void 0,X=Math.max,Y=Date.now,B=ue(h,"Map"),V=ue(Object,"create"),U=function(){function e(){}return function(t){if(!be(t))return{};if(I)return I(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function K(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function q(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function G(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Z(e){var t=this.__data__=new q(e);this.size=t.size}function Q(e,t,n){(void 0!==n&&!de(e[t],n)||void 0===n&&!(t in e))&&te(e,t,n)}function J(e,t,n){var r=e[t];k.call(e,t)&&de(r,n)&&(void 0!==n||t in e)||te(e,t,n)}function ee(e,t){for(var n=e.length;n--;)if(de(e[n][0],t))return n;return-1}function te(e,t,n){"__proto__"==t&&W?W(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}K.prototype.clear=function(){this.__data__=V?V(null):{},this.size=0},K.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},K.prototype.get=function(e){var t=this.__data__;if(V){var n=t[e];return n===r?void 0:n}return k.call(t,e)?t[e]:void 0},K.prototype.has=function(e){var t=this.__data__;return V?void 0!==t[e]:k.call(t,e)},K.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=V&&void 0===t?r:t,this},q.prototype.clear=function(){this.__data__=[],this.size=0},q.prototype.delete=function(e){var t=this.__data__,n=ee(t,e);return!(n<0||(n==t.length-1?t.pop():N.call(t,n,1),--this.size,0))},q.prototype.get=function(e){var t=this.__data__,n=ee(t,e);return n<0?void 0:t[n][1]},q.prototype.has=function(e){return ee(this.__data__,e)>-1},q.prototype.set=function(e,t){var n=this.__data__,r=ee(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},G.prototype.clear=function(){this.size=0,this.__data__={hash:new K,map:new(B||q),string:new K}},G.prototype.delete=function(e){var t=se(this,e).delete(e);return this.size-=t?1:0,t},G.prototype.get=function(e){return se(this,e).get(e)},G.prototype.has=function(e){return se(this,e).has(e)},G.prototype.set=function(e,t){var n=se(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Z.prototype.clear=function(){this.__data__=new q,this.size=0},Z.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Z.prototype.get=function(e){return this.__data__.get(e)},Z.prototype.has=function(e){return this.__data__.has(e)},Z.prototype.set=function(e,t){var n=this.__data__;if(n instanceof q){var r=n.__data__;if(!B||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new G(r)}return n.set(e,t),this.size=n.size,this};function ne(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":F&&F in Object(e)?function(e){var t=k.call(e,F),n=e[F];try{e[F]=void 0;var r=!0}catch(e){}var o=P.call(e);return r&&(t?e[F]=n:delete e[F]),o}(e):function(e){return P.call(e)}(e)}function re(e){return we(e)&&ne(e)==i}function oe(e,t,n,r,o){e!==t&&function(e,t,n){for(var r=-1,o=Object(e),i=n(e),s=i.length;s--;){var u=i[++r];if(!1===t(o[u],u,o))break}}(t,function(i,s){if(o||(o=new Z),be(i))!function(e,t,n,r,o,i,s){var c=ae(e,n),l=ae(t,n),a=s.get(l);if(a)Q(e,n,a);else{var f,d,p,v,m,h=i?i(c,l,n+"",e,t,s):void 0,y=void 0===h;if(y){var g=ve(l),b=!g&&he(l),w=!g&&!b&&xe(l);h=l,g||b||w?ve(c)?h=c:we(m=c)&&me(m)?h=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}(c):b?(y=!1,h=function(e){return e.slice()}(l)):w?(y=!1,v=new(p=(f=l).buffer).constructor(p.byteLength),new D(v).set(new D(p)),d=v,h=new f.constructor(d,f.byteOffset,f.length)):h=[]:function(e){if(!we(e)||ne(e)!=u)return!1;var t=H(e);if(null===t)return!0;var n=k.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&L.call(n)==M}(l)||pe(l)?(h=c,pe(c)?h=function(e){return function(e,t,n){var r=!n;n||(n={});for(var o=-1,i=t.length;++o<i;){var s=t[o],u=void 0;void 0===u&&(u=e[s]),r?te(n,s,u):J(n,s,u)}return n}(e,Ee(e))}(c):be(c)&&!ye(c)||(h=function(e){return"function"!=typeof e.constructor||le(e)?{}:U(H(e))}(l))):y=!1}y&&(s.set(l,h),o(h,l,r,i,s),s.delete(l)),Q(e,n,h)}}(e,t,s,n,oe,r,o);else{var c=r?r(ae(e,s),i,s+"",e,t,o):void 0;void 0===c&&(c=i),Q(e,s,c)}},Ee)}var ie=W?function(e,t){return W(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:Se;function se(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function ue(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!be(e)||function(e){return!!_&&_ in e}(e))&&(ye(e)?A:c).test(function(e){if(null!=e){try{return L.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}(n)?n:void 0}function ce(e,t){var n=typeof e;return!!(t=null==t?o:t)&&("number"==n||"symbol"!=n&&l.test(e))&&e>-1&&e%1==0&&e<t}function le(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||S)}function ae(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var fe=function(e){var t=0,n=0;return function(){var r=Y(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(ie);function de(e,t){return e===t||e!=e&&t!=t}var pe=re(function(){return arguments}())?re:function(e){return we(e)&&k.call(e,"callee")&&!$.call(e,"callee")},ve=Array.isArray;function me(e){return null!=e&&ge(e.length)&&!ye(e)}var he=z||function(){return!1};function ye(e){if(!be(e))return!1;var t=ne(e);return t==s||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function ge(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=o}function be(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function we(e){return null!=e&&"object"==typeof e}var xe=E?function(e){return function(t){return e(t)}}(E):function(e){return we(e)&&ge(e.length)&&!!a[ne(e)]};function Ee(e){return me(e)?function(e,t){var n=ve(e),r=!n&&pe(e),o=!n&&!r&&he(e),i=!n&&!r&&!o&&xe(e),s=n||r||o||i,u=s?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],c=u.length;for(var l in e)!t&&!k.call(e,l)||s&&("length"==l||o&&("offset"==l||"parent"==l)||i&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||ce(l,c))||u.push(l);return u}(e,!0):function(e){if(!be(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=le(e),n=[];for(var r in e)("constructor"!=r||!t&&k.call(e,r))&&n.push(r);return n}(e)}var Re,Oe=(Re=function(e,t,n){oe(e,t,n)},function(e,t){return fe(function(e,t,n){return t=X(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=X(r.length-t,0),s=Array(i);++o<i;)s[o]=r[t+o];o=-1;for(var u=Array(t+1);++o<t;)u[o]=r[o];return u[t]=n(s),function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(e,this,u)}}(e,t,Se),e+"")}(function(e,t){var n=-1,r=t.length,o=r>1?t[r-1]:void 0,i=r>2?t[2]:void 0;for(o=Re.length>3&&"function"==typeof o?(r--,o):void 0,i&&function(e,t,n){if(!be(n))return!1;var r=typeof t;return!!("number"==r?me(n)&&ce(t,n.length):"string"==r&&t in n)&&de(n[t],e)}(t[0],t[1],i)&&(o=r<3?void 0:o,r=1),e=Object(e);++n<r;){var s=t[n];s&&Re(e,s,n)}return e}));function Se(e){return e}e.exports=Oe},551(e,t,n){var r="Expected a function",o=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt,l="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,a="object"==typeof self&&self&&self.Object===Object&&self,f=l||a||Function("return this")(),d=Object.prototype.toString,p=Math.max,v=Math.min,m=function(){return f.Date.now()};function h(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function y(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==d.call(e)}(e))return NaN;if(h(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=h(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=s.test(e);return n||u.test(e)?c(e.slice(2),n?2:8):i.test(e)?NaN:+e}e.exports=function(e,t,n){var o=!0,i=!0;if("function"!=typeof e)throw new TypeError(r);return h(n)&&(o="leading"in n?!!n.leading:o,i="trailing"in n?!!n.trailing:i),function(e,t,n){var o,i,s,u,c,l,a=0,f=!1,d=!1,g=!0;if("function"!=typeof e)throw new TypeError(r);function b(t){var n=o,r=i;return o=i=void 0,a=t,u=e.apply(r,n)}function w(e){var n=e-l;return void 0===l||n>=t||n<0||d&&e-a>=s}function x(){var e=m();if(w(e))return E(e);c=setTimeout(x,function(e){var n=t-(e-l);return d?v(n,s-(e-a)):n}(e))}function E(e){return c=void 0,g&&o?b(e):(o=i=void 0,u)}function R(){var e=m(),n=w(e);if(o=arguments,i=this,l=e,n){if(void 0===c)return function(e){return a=e,c=setTimeout(x,t),f?b(e):u}(l);if(d)return c=setTimeout(x,t),b(l)}return void 0===c&&(c=setTimeout(x,t)),u}return t=y(t)||0,h(n)&&(f=!!n.leading,s=(d="maxWait"in n)?p(y(n.maxWait)||0,t):s,g="trailing"in n?!!n.trailing:g),R.cancel=function(){void 0!==c&&clearTimeout(c),a=0,o=l=i=c=void 0},R.flush=function(){return void 0===c?u:E(m())},R}(e,t,{leading:o,maxWait:t,trailing:i})}},685(e,t,n){"use strict";var r=n(953);function o(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(){}var s={d:{f:i,r:function(){throw Error(o(522))},D:i,C:i,L:i,m:i,X:i,S:i,M:i},p:0,findDOMNode:null},u=Symbol.for("react.portal"),c=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType)throw Error(o(299));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:u,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.flushSync=function(e){var t=c.T,n=s.p;try{if(c.T=null,s.p=2,e)return e()}finally{c.T=t,s.p=n,s.d.f()}}},289(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(685)},131(e,t){"use strict";var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function o(e,t,r){var o=null;if(void 0!==r&&(o=""+r),void 0!==t.key&&(o=""+t.key),"key"in t)for(var i in r={},t)"key"!==i&&(r[i]=t[i]);else r=t;return t=r.ref,{$$typeof:n,type:e,key:o,ref:void 0!==t?t:null,props:r}}t.Fragment=r,t.jsx=o,t.jsxs=o},615(e,t,n){"use strict";e.exports=n(131)},953(e){"use strict";e.exports=require("react")}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={id:e,loaded:!1,exports:{}};return n[e](i,i.exports,o),i.loaded=!0,i.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var i=Object.create(null);o.r(i);var s={};e=e||[null,t({}),t([]),t(t)];for(var u=2&r&&n;("object"==typeof u||"function"==typeof u)&&!~e.indexOf(u);u=t(u))Object.getOwnPropertyNames(u).forEach(e=>s[e]=()=>n[e]);return s.default=()=>n,o.d(i,s),i},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var i={};(()=>{"use strict";o.r(i),o.d(i,{HoneyBox:()=>h,HoneyContextMenu:()=>Br,HoneyFlex:()=>b,HoneyGrid:()=>C,HoneyGridColumn:()=>k,HoneyGridColumnStyled:()=>O,HoneyLayerRegistry:()=>Kr,HoneyLayoutProvider:()=>qr,HoneyLayoutThemeOverride:()=>Qr,HoneyLazyContent:()=>j,HoneyList:()=>A,HoneyOverlay:()=>ee,HoneyPopup:()=>zr,HoneyPopupContext:()=>te,HoneyStatusContent:()=>P,__DEV__:()=>t,applyBreakpointStyles:()=>p,createStyles:()=>d,generateUniqueId:()=>a,getHoneyListItemId:()=>_,honeyVisibilityTransitionEffect:()=>Jr,mergeRefs:()=>l,resolveAxisTranslate:()=>B,resolveScreenState:()=>v,resolveSpacing:()=>eo,useHoneyDecay:()=>Q,useHoneyDocumentKeyUp:()=>N,useHoneyDrag:()=>$,useHoneyGridContext:()=>L,useHoneyLatest:()=>J,useHoneyLayerRegistryContext:()=>Ur,useHoneyLayout:()=>W,useHoneyMediaQuery:()=>I,useHoneyOnChange:()=>T,useHoneyOverlay:()=>X,useHoneyPopup:()=>Nr,useHoneyPopupContext:()=>Fr,useHoneyRafLoop:()=>G,useHoneyResize:()=>Y,useHoneySyntheticScroll:()=>U,useHoneySyntheticScrollX:()=>K,useHoneySyntheticScrollY:()=>q,useHoneyTimer:()=>Z,useRegisterHoneyOverlay:()=>z,warnOnce:()=>g});const e=require("@react-hive/honey-style"),t=!1;function n(e,t){if(!e)throw new Error(t)}t&&"undefined"!=typeof window&&!process.env.JEST_WORKER_ID&&console.info("[@react-hive/honey-layout]: You are running in development mode. This build is not optimized for production and may include extra checks or logs.");const r=e=>"function"==typeof e,s=e=>Math.max(0,e.scrollHeight-e.clientHeight),u=(e,...t)=>"function"==typeof e?e(...t):e,c=({delta:e,value:t,min:n,max:r})=>{if(0===e)return null;const o=t+e;return e<0?t<=n?null:Math.max(o,n):e>0?t>=r?null:Math.min(o,r):null},l=(...e)=>t=>{e.forEach(e=>{r(e)?e(t):"object"==typeof e&&(e.current=t)})},a=()=>`${Date.now().toString()}${Math.floor(1e4*Math.random()).toString().padStart(4,"0")}`,f=e=>"$"===e[0],d=t=>({theme:n,...r})=>e.css`
3
- ${((e,t)=>Object.entries(e).filter(([e,n])=>f(e)&&"xs"===t||n&&"object"==typeof n&&t in n))(r,t).map(([n,r])=>{const o=n.slice(1);return e.css`
3
+ ${((e,t)=>Object.entries(e).filter(([e,n])=>"xs"===t&&f(e)||n&&"object"==typeof n&&t in n))(r,t).map(([n,r])=>{const o=n.slice(1);return e.css`
4
4
  ${(e=>{const t=e.charAt(0),n=e.slice(1);return t.toLowerCase()+n.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)})(o)}: ${((t,n,r)=>{const o="object"!=typeof n||Array.isArray(n)?n:n[r];if(void 0!==o){if((t=>e.CSS_SPACING_PROPERTIES.includes(t))(t)){if("number"==typeof o||Array.isArray(o))return(0,e.resolveSpacing)(o,"px")}else if((t=>e.CSS_COLOR_PROPERTIES.includes(t))(t)&&"string"==typeof o&&(0,e.checkIsThemeColorValue)(o))return(0,e.resolveColor)(o);return o}})(o,r,t)};
5
5
  `})}
6
6
  `,p=t=>({theme:n,...r})=>n.breakpoints[t]&&((e,t)=>Object.entries(t).some(([t,n])=>f(t)&&"object"==typeof n&&e in n))(t,r)?e.css`