@react-hive/honey-layout 14.1.0 → 14.2.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
  *