@overmap-ai/blocks 1.0.40-overlay.1 → 1.0.40-slide-out-resize-handle.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.
Files changed (139) hide show
  1. package/dist/ButtonGroup/ButtonGroup.d.ts +1 -2
  2. package/dist/ButtonGroup/context.d.ts +2 -7
  3. package/dist/CheckboxGroup/context.d.ts +2 -6
  4. package/dist/CheckedIndicator/CheckedIndicator.d.ts +4 -3
  5. package/dist/CommandMenu/CheckboxIndicator.d.ts +2 -4
  6. package/dist/CommandMenu/SelectedIndicator.d.ts +2 -3
  7. package/dist/CommandMenu/context.d.ts +2 -3
  8. package/dist/Heading/cva.d.ts +1 -1
  9. package/dist/HoverUtility/HoverUtility.d.ts +2 -2
  10. package/dist/Layout/SlideOutClose.d.ts +5 -0
  11. package/dist/Layout/SlideOutContent.d.ts +6 -0
  12. package/dist/Layout/SlideOutHandle.d.ts +5 -0
  13. package/dist/Layout/SlideOutOverlay.d.ts +2 -5
  14. package/dist/Layout/SlideOutRoot.d.ts +10 -0
  15. package/dist/Layout/SlideOutTrigger.d.ts +2 -6
  16. package/dist/Layout/SlideOutViewport.d.ts +5 -0
  17. package/dist/Layout/context.d.ts +0 -1
  18. package/dist/Layout/index.d.ts +11 -3
  19. package/dist/Layout/typings.d.ts +3 -0
  20. package/dist/Link/cva.d.ts +1 -1
  21. package/dist/LuIcon/LuIcon.d.ts +4 -6
  22. package/dist/LuIcon/index.d.ts +1 -1
  23. package/dist/LuIcon/typings.d.ts +2 -2
  24. package/dist/Menu/{CheckboxItem/CheckboxItem.d.ts → CheckboxItem.d.ts} +1 -1
  25. package/dist/Menu/{CheckboxItemIndicator/CheckboxItemIndicator.d.ts → CheckboxItemIndicator.d.ts} +1 -1
  26. package/dist/Menu/{ClickTrigger/ClickTrigger.d.ts → ClickTrigger.d.ts} +1 -1
  27. package/dist/Menu/{Content/Content.d.ts → Content.d.ts} +1 -1
  28. package/dist/Menu/{ContextTrigger/ContextTrigger.d.ts → ContextTrigger.d.ts} +1 -1
  29. package/dist/Menu/{Group/Group.d.ts → Group.d.ts} +1 -1
  30. package/dist/Menu/{Input/Field.d.ts → InputField.d.ts} +1 -1
  31. package/dist/Menu/{Input/Root.d.ts → InputRoot.d.ts} +1 -1
  32. package/dist/Menu/{Input/Slot.d.ts → InputSlot.d.ts} +1 -1
  33. package/dist/Menu/{Item/Item.d.ts → Item.d.ts} +1 -1
  34. package/dist/Menu/{MultiSelectGroup/MultiSelectGroup.d.ts → MultiSelectGroup.d.ts} +1 -1
  35. package/dist/Menu/{MultiSelectItem/MultiSelectItem.d.ts → MultiSelectItem.d.ts} +1 -1
  36. package/dist/Menu/PageContent.d.ts +2 -0
  37. package/dist/Menu/{PageTrigger/PageTrigger.d.ts → PageTrigger.d.ts} +1 -1
  38. package/dist/Menu/{Pages/Pages.d.ts → Pages.d.ts} +1 -1
  39. package/dist/Menu/{root/Root.d.ts → Root.d.ts} +1 -1
  40. package/dist/Menu/{Scroll/Scroll.d.ts → Scroll.d.ts} +1 -1
  41. package/dist/Menu/{SelectAll/SelectAllItem.d.ts → SelectAllItem.d.ts} +1 -1
  42. package/dist/Menu/{SelectGroup/SelectGroup.d.ts → SelectGroup.d.ts} +1 -1
  43. package/dist/Menu/{SelectItem/SelectItem.d.ts → SelectItem.d.ts} +1 -1
  44. package/dist/Menu/SelectedIndicator.d.ts +4 -0
  45. package/dist/Menu/{Separator/Separator.d.ts → Separator.d.ts} +1 -1
  46. package/dist/Menu/{Sub/Sub.d.ts → Sub.d.ts} +1 -1
  47. package/dist/Menu/{SubContent/SubContent.d.ts → SubContent.d.ts} +1 -1
  48. package/dist/Menu/{SubTrigger/SubTrigger.d.ts → SubTrigger.d.ts} +1 -1
  49. package/dist/Menu/{VirtualTrigger/VirtualTrigger.d.ts → VirtualTrigger.d.ts} +1 -1
  50. package/dist/Menu/index.d.ts +9 -7
  51. package/dist/Menu/{Content/context.d.ts → menuContentContext.d.ts} +2 -2
  52. package/dist/Menu/{root/context.d.ts → rootContext.d.ts} +1 -1
  53. package/dist/Menu/{Sub/context.d.ts → subContentContext.d.ts} +1 -1
  54. package/dist/Menu/utils.d.ts +0 -6
  55. package/dist/MenuV2/CheckboxItem.d.ts +6 -0
  56. package/dist/MenuV2/CheckboxItemIndicator.d.ts +3 -0
  57. package/dist/MenuV2/Group.d.ts +4 -0
  58. package/dist/MenuV2/GroupLabel.d.ts +4 -0
  59. package/dist/MenuV2/Item.d.ts +6 -0
  60. package/dist/MenuV2/MultiSelectAllItem.d.ts +4 -0
  61. package/dist/MenuV2/MultiSelectGroup.d.ts +5 -0
  62. package/dist/MenuV2/MultiSelectItem.d.ts +5 -0
  63. package/dist/MenuV2/Page.d.ts +5 -0
  64. package/dist/MenuV2/PageTriggerItem.d.ts +5 -0
  65. package/dist/MenuV2/Pages.d.ts +7 -0
  66. package/dist/MenuV2/Root.d.ts +6 -0
  67. package/dist/MenuV2/SelectGroup.d.ts +4 -0
  68. package/dist/MenuV2/SelectItem.d.ts +5 -0
  69. package/dist/MenuV2/SelectedIndicator.d.ts +3 -0
  70. package/dist/MenuV2/Separator.d.ts +5 -0
  71. package/dist/MenuV2/constants.d.ts +9 -0
  72. package/dist/MenuV2/context.d.ts +17 -0
  73. package/dist/MenuV2/cva.d.ts +14 -0
  74. package/dist/MenuV2/index.d.ts +36 -0
  75. package/dist/MenuV2/typings.d.ts +9 -0
  76. package/dist/MenuV2/utils.d.ts +1 -0
  77. package/dist/Rating/Item.d.ts +6 -0
  78. package/dist/Rating/ItemIndicator.d.ts +5 -0
  79. package/dist/Rating/Root.d.ts +8 -0
  80. package/dist/Rating/context.d.ts +9 -0
  81. package/dist/Rating/index.d.ts +9 -0
  82. package/dist/SelectedIndicator/SelectedIndicator.d.ts +5 -0
  83. package/dist/{Menu/SelectedIndicator → SelectedIndicator}/context.d.ts +0 -1
  84. package/dist/SelectedIndicator/index.d.ts +2 -0
  85. package/dist/SlideOut/Close.d.ts +4 -0
  86. package/dist/SlideOut/Content.d.ts +12 -0
  87. package/dist/SlideOut/Handle.d.ts +5 -0
  88. package/dist/SlideOut/Overlay.d.ts +4 -0
  89. package/dist/SlideOut/Root.d.ts +8 -0
  90. package/dist/SlideOut/Trigger.d.ts +4 -0
  91. package/dist/SlideOut/Viewport.d.ts +4 -0
  92. package/dist/SlideOut/constants.d.ts +1 -0
  93. package/dist/SlideOut/context.d.ts +16 -0
  94. package/dist/SlideOut/index.d.ts +18 -1
  95. package/dist/SlideOut/typings.d.ts +2 -0
  96. package/dist/Text/cva.d.ts +1 -1
  97. package/dist/blocks.js +1637 -1124
  98. package/dist/blocks.js.map +1 -1
  99. package/dist/blocks.umd.cjs +1748 -1236
  100. package/dist/blocks.umd.cjs.map +1 -1
  101. package/dist/hooks.d.ts +20 -0
  102. package/dist/index.d.ts +4 -2
  103. package/dist/typings.d.ts +0 -5
  104. package/dist/utils.d.ts +7 -30
  105. package/package.json +1 -1
  106. package/dist/CheckboxGroup/utils.d.ts +0 -1
  107. package/dist/CollapsibleTree/CollapsibleTree.d.ts +0 -5
  108. package/dist/CollapsibleTree/context.d.ts +0 -11
  109. package/dist/CollapsibleTree/index.d.ts +0 -2
  110. package/dist/CollapsibleTree/typings.d.ts +0 -58
  111. package/dist/CommandMenu/utils.d.ts +0 -4
  112. package/dist/Layout/SlideOut.d.ts +0 -20
  113. package/dist/Menu/ClickTrigger/index.d.ts +0 -1
  114. package/dist/Menu/Content/index.d.ts +0 -2
  115. package/dist/Menu/ContextTrigger/index.d.ts +0 -1
  116. package/dist/Menu/Group/index.d.ts +0 -1
  117. package/dist/Menu/Input/index.d.ts +0 -3
  118. package/dist/Menu/Item/index.d.ts +0 -1
  119. package/dist/Menu/Label/index.d.ts +0 -1
  120. package/dist/Menu/MultiSelectGroup/index.d.ts +0 -1
  121. package/dist/Menu/MultiSelectItem/index.d.ts +0 -1
  122. package/dist/Menu/PageContent/PageContent.d.ts +0 -3
  123. package/dist/Menu/PageContent/index.d.ts +0 -1
  124. package/dist/Menu/PageTrigger/index.d.ts +0 -1
  125. package/dist/Menu/Pages/index.d.ts +0 -2
  126. package/dist/Menu/SelectAll/index.d.ts +0 -1
  127. package/dist/Menu/SelectGroup/index.d.ts +0 -1
  128. package/dist/Menu/SelectItem/index.d.ts +0 -1
  129. package/dist/Menu/SelectedIndicator/SelectedIndicator.d.ts +0 -4
  130. package/dist/Menu/SelectedIndicator/index.d.ts +0 -2
  131. package/dist/Menu/Separator/index.d.ts +0 -1
  132. package/dist/Menu/Sub/index.d.ts +0 -2
  133. package/dist/Menu/SubContent/index.d.ts +0 -1
  134. package/dist/Menu/SubTrigger/index.d.ts +0 -1
  135. package/dist/Menu/VirtualTrigger/index.d.ts +0 -1
  136. package/dist/Menu/root/index.d.ts +0 -2
  137. package/dist/SlideOut/SlideOut.d.ts +0 -50
  138. /package/dist/Menu/{Label/Label.d.ts → Label.d.ts} +0 -0
  139. /package/dist/Menu/{Pages/context.d.ts → menuPagesContext.d.ts} +0 -0
@@ -1,7 +1,6 @@
1
1
  import { ComponentProps, PropsWithoutRef } from 'react';
2
2
  import { ButtonVariantProps } from '../Buttons';
3
- import { AccentColorProps } from '../typings';
4
- export interface ButtonGroupProps extends PropsWithoutRef<ComponentProps<"div">>, ButtonVariantProps, AccentColorProps {
3
+ export interface ButtonGroupProps extends PropsWithoutRef<ComponentProps<"div">>, ButtonVariantProps {
5
4
  }
6
5
  /**
7
6
  * Container for grouping multiple buttons with shared styling.
@@ -1,9 +1,4 @@
1
- import { ButtonSize, ButtonVariant } from '../Buttons';
2
- import { ComponentRadius } from '../Provider';
3
- export interface IButtonGroupContext {
4
- variant: ButtonVariant;
5
- size: ButtonSize;
6
- radius: ComponentRadius;
7
- accentColor: string;
1
+ import { ButtonVariantProps } from '../Buttons';
2
+ export interface IButtonGroupContext extends Required<ButtonVariantProps> {
8
3
  }
9
4
  export declare const ButtonGroupContext: import('react').Context<IButtonGroupContext>;
@@ -1,13 +1,9 @@
1
1
  import { ComponentProps } from 'react';
2
- import { ComponentRadius } from '../Provider';
3
- import { CheckboxGroupSize, CheckboxGroupVariant } from './typings';
2
+ import { CheckboxGroupVariantProps } from './typings';
4
3
  import * as RadixCheckbox from "@radix-ui/react-checkbox";
5
- export interface ICheckboxGroupContext {
4
+ export interface ICheckboxGroupContext extends Required<CheckboxGroupVariantProps> {
6
5
  name?: string;
7
6
  required?: ComponentProps<typeof RadixCheckbox.Root>["required"];
8
7
  disabled?: ComponentProps<typeof RadixCheckbox.Root>["disabled"];
9
- size: CheckboxGroupSize;
10
- variant: CheckboxGroupVariant;
11
- radius: ComponentRadius;
12
8
  }
13
9
  export declare const CheckboxGroupContext: import('react').Context<ICheckboxGroupContext>;
@@ -1,5 +1,6 @@
1
- import { ComponentPropsWithRef, FC, PropsWithChildren } from 'react';
1
+ import { ComponentPropsWithRef, PropsWithChildren } from 'react';
2
+ import { CheckedState } from './typings';
2
3
  export interface CheckedIndicatorProps extends Omit<ComponentPropsWithRef<"span">, "children"> {
3
- children: PropsWithChildren["children"] | ((indeterminate: boolean) => PropsWithChildren["children"]);
4
+ children: PropsWithChildren["children"] | ((indeterminate: CheckedState) => PropsWithChildren["children"]);
4
5
  }
5
- export declare const CheckedIndicator: FC<CheckedIndicatorProps>;
6
+ export declare const CheckedIndicator: import('react').NamedExoticComponent<CheckedIndicatorProps>;
@@ -1,6 +1,4 @@
1
- import { ComponentPropsWithRef, ReactNode } from 'react';
2
- import { CheckedState } from './typings';
3
- export interface CommandMenuCheckboxIndicatorProps extends Omit<ComponentPropsWithRef<"span">, "children"> {
4
- children: ReactNode | ((checked: CheckedState) => ReactNode);
1
+ import { CheckedIndicatorProps } from '../CheckedIndicator';
2
+ export interface CommandMenuCheckboxIndicatorProps extends CheckedIndicatorProps {
5
3
  }
6
4
  export declare const CommandMenuCheckboxIndicator: import('react').MemoExoticComponent<(props: CommandMenuCheckboxIndicatorProps) => import("react/jsx-runtime").JSX.Element>;
@@ -1,5 +1,4 @@
1
- import { ComponentPropsWithRef, ReactNode } from 'react';
2
- export interface CommandMenuSelectedIndicatorProps extends Omit<ComponentPropsWithRef<"span">, "children"> {
3
- children: ReactNode | ((selected: boolean) => ReactNode);
1
+ import { ComponentPropsWithRef } from 'react';
2
+ export interface CommandMenuSelectedIndicatorProps extends ComponentPropsWithRef<"span"> {
4
3
  }
5
4
  export declare const CommandMenuSelectedIndicator: import('react').MemoExoticComponent<(props: CommandMenuSelectedIndicatorProps) => import("react/jsx-runtime").JSX.Element>;
@@ -1,6 +1,6 @@
1
1
  import { ComponentRadius } from '../Provider';
2
- import { CheckedState, CommandMenuSize, CommandMenuVariant } from './typings';
3
- interface ICommandMenuContext {
2
+ import { CheckedState, CommandMenuSize, CommandMenuVariant, CommandMenuVariantProps } from './typings';
3
+ export interface ICommandMenuContext extends Required<CommandMenuVariantProps> {
4
4
  size: CommandMenuSize;
5
5
  variant: CommandMenuVariant;
6
6
  radius: ComponentRadius;
@@ -18,4 +18,3 @@ export interface ICommandMenuDialogContext {
18
18
  setOpen: (open: boolean) => void;
19
19
  }
20
20
  export declare const CommandMenuDialogContext: import('react').Context<ICommandMenuDialogContext>;
21
- export {};
@@ -1,5 +1,5 @@
1
1
  export declare const headingCva: (props?: ({
2
2
  size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | null | undefined;
3
- weight?: "bold" | "medium" | "light" | "regular" | null | undefined;
3
+ weight?: "bold" | "light" | "regular" | "medium" | null | undefined;
4
4
  align?: "right" | "left" | "center" | null | undefined;
5
5
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -1,4 +1,4 @@
1
- import { FC, PointerEventHandler, ReactElement } from 'react';
1
+ import { PointerEventHandler, ReactElement } from 'react';
2
2
  interface ChildProps {
3
3
  isHovered: boolean;
4
4
  onPointerEnter: PointerEventHandler<HTMLElement>;
@@ -11,5 +11,5 @@ interface HoverUtilityProps {
11
11
  /** HoverUtility is a utility component used for detecting when an element is being hovered over or not, is passes a
12
12
  * isHovered variable to its children as well as props onPointerEnter and onPointerLeave that can be spread on any
13
13
  * child component that should be used as the element to observe hovering on. See stories of examples of its use. */
14
- export declare const HoverUtility: FC<HoverUtilityProps>;
14
+ export declare const HoverUtility: import('react').NamedExoticComponent<HoverUtilityProps>;
15
15
  export {};
@@ -0,0 +1,5 @@
1
+ import { ComponentPropsWithRef } from 'react';
2
+ import { SlideOutClose } from '../SlideOut';
3
+ export interface LayoutSlideOutCloseProps extends ComponentPropsWithRef<typeof SlideOutClose> {
4
+ }
5
+ export declare const LayoutSlideOutClose: import('react').NamedExoticComponent<LayoutSlideOutCloseProps>;
@@ -0,0 +1,6 @@
1
+ import { ComponentPropsWithRef } from 'react';
2
+ import { SlideOutContent, SlideOutType } from '../SlideOut';
3
+ export interface LayoutSlideOutContentProps extends Omit<ComponentPropsWithRef<typeof SlideOutContent>, "type"> {
4
+ type?: SlideOutType;
5
+ }
6
+ export declare const LayoutSlideOutContent: import('react').NamedExoticComponent<LayoutSlideOutContentProps>;
@@ -0,0 +1,5 @@
1
+ import { ComponentPropsWithRef } from 'react';
2
+ import { SlideOutHandle } from '../SlideOut';
3
+ export interface LayoutSlideOutHandleProps extends ComponentPropsWithRef<typeof SlideOutHandle> {
4
+ }
5
+ export declare const LayoutSlideOutHandle: import('react').NamedExoticComponent<LayoutSlideOutHandleProps>;
@@ -1,9 +1,6 @@
1
1
  import { ComponentPropsWithRef } from 'react';
2
- export interface LayoutSlideOutOverlayProps extends ComponentPropsWithRef<"div"> {
3
- /** manually control overlay visibility, overrides automatic management based on slideOutId */
4
- active?: boolean;
5
- /** the ID of the SlideOut component this overlay is associated with */
6
- slideOutId: string;
2
+ import { SlideOutOverlay } from '../SlideOut';
3
+ export interface LayoutSlideOutOverlayProps extends ComponentPropsWithRef<typeof SlideOutOverlay> {
7
4
  /** if true, overlay only appears in small mode (mobile/responsive view)
8
5
  * @default false */
9
6
  smallModeOnly?: boolean;
@@ -0,0 +1,10 @@
1
+ import { ComponentPropsWithRef } from 'react';
2
+ import { SlideOutRoot } from '../SlideOut';
3
+ import { SlideOutIdProps } from './typings';
4
+ export interface LayoutSlideOutRootProps extends Omit<ComponentPropsWithRef<typeof SlideOutRoot>, "defaultOpen" | "open" | "onOpenChange" | "modal">, SlideOutIdProps {
5
+ defaultOpen?: {
6
+ small?: boolean;
7
+ large?: boolean;
8
+ };
9
+ }
10
+ export declare const LayoutSlideOutRoot: import('react').NamedExoticComponent<LayoutSlideOutRootProps>;
@@ -1,9 +1,5 @@
1
1
  import { ComponentPropsWithRef, PropsWithChildren } from 'react';
2
- export interface LayoutSlideOutTriggerProps extends PropsWithChildren, Omit<ComponentPropsWithRef<"button">, "type"> {
3
- /** the ID of the SlideOut component this trigger controls */
4
- slideOutId: string;
5
- /** determines the action performed when the trigger is clicked
6
- * @default "toggle" */
7
- type?: "toggle" | "open" | "close";
2
+ import { SlideOutIdProps } from './typings';
3
+ export interface LayoutSlideOutTriggerProps extends PropsWithChildren, Omit<ComponentPropsWithRef<"button">, "type">, SlideOutIdProps {
8
4
  }
9
5
  export declare const LayoutSlideOutTrigger: import('react').NamedExoticComponent<LayoutSlideOutTriggerProps>;
@@ -0,0 +1,5 @@
1
+ import { ComponentPropsWithRef } from 'react';
2
+ import { SlideOutViewport } from '../SlideOut';
3
+ export interface LayoutSlideOutViewportProps extends ComponentPropsWithRef<typeof SlideOutViewport> {
4
+ }
5
+ export declare const LayoutSlideOutViewport: import('react').NamedExoticComponent<LayoutSlideOutViewportProps>;
@@ -6,5 +6,4 @@ interface ILayoutContent {
6
6
  setOpen: (id: string, open: boolean) => void;
7
7
  }
8
8
  export declare const LayoutContext: import('react').Context<ILayoutContent>;
9
- export declare const useLayoutContext: () => ILayoutContent;
10
9
  export {};
@@ -1,14 +1,22 @@
1
1
  /// <reference types="react" />
2
2
  export * from './Container';
3
- export * from './context';
3
+ export * from './hooks';
4
4
  export * from './Root';
5
- export * from './SlideOut';
5
+ export * from './SlideOutClose';
6
+ export * from './SlideOutContent';
7
+ export * from './SlideOutHandle';
6
8
  export * from './SlideOutOverlay';
9
+ export * from './SlideOutRoot';
7
10
  export * from './SlideOutTrigger';
11
+ export type * from './typings';
8
12
  export declare const Layout: {
9
13
  Root: import('react').MemoExoticComponent<(props: import('./Root').LayoutRootProps) => import("react/jsx-runtime").JSX.Element>;
10
14
  Container: import('react').NamedExoticComponent<import('./Container').LayoutContainerProps>;
15
+ SlideOutClose: import('react').NamedExoticComponent<import('./SlideOutClose').LayoutSlideOutCloseProps>;
16
+ SlideOutContent: import('react').NamedExoticComponent<import('./SlideOutContent').LayoutSlideOutContentProps>;
17
+ SlideOutHandle: import('react').NamedExoticComponent<import('./SlideOutHandle').LayoutSlideOutHandleProps>;
11
18
  SlideOutOverlay: import('react').NamedExoticComponent<import('./SlideOutOverlay').LayoutSlideOutOverlayProps>;
12
- SlideOut: import('react').NamedExoticComponent<import('./SlideOut').LayoutSlideOutProps>;
19
+ SlideOutRoot: import('react').NamedExoticComponent<import('./SlideOutRoot').LayoutSlideOutRootProps>;
13
20
  SlideOutTrigger: import('react').NamedExoticComponent<import('./SlideOutTrigger').LayoutSlideOutTriggerProps>;
21
+ SlideOutViewport: import('react').NamedExoticComponent<import('./SlideOutViewport').LayoutSlideOutViewportProps>;
14
22
  };
@@ -0,0 +1,3 @@
1
+ export interface SlideOutIdProps {
2
+ slideOutId: string;
3
+ }
@@ -1,5 +1,5 @@
1
1
  export declare const linkCva: (props?: ({
2
2
  size?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | null | undefined;
3
- weight?: "bold" | "medium" | "light" | "regular" | null | undefined;
3
+ weight?: "bold" | "light" | "regular" | "medium" | null | undefined;
4
4
  align?: "right" | "left" | "center" | null | undefined;
5
5
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -1,8 +1,6 @@
1
- import { DynamicIcon } from 'lucide-react/dynamic';
2
- import { ComponentPropsWithRef } from 'react';
3
- import { IconType } from './typings';
4
- interface LuIconProps extends Omit<ComponentPropsWithRef<typeof DynamicIcon>, "name"> {
5
- icon: IconType;
1
+ import { LucideProps } from 'lucide-react';
2
+ import { ForwardRefExoticComponent, RefAttributes } from 'react';
3
+ export interface LuIconProps extends Omit<LucideProps, "ref">, RefAttributes<SVGSVGElement> {
4
+ icon: ForwardRefExoticComponent<Omit<LucideProps, "ref"> & RefAttributes<SVGSVGElement>>;
6
5
  }
7
6
  export declare const LuIcon: import('react').NamedExoticComponent<LuIconProps>;
8
- export {};
@@ -1,2 +1,2 @@
1
1
  export * from './LuIcon';
2
- export * from './typings';
2
+ export type * from './typings';
@@ -1,3 +1,3 @@
1
- import { DynamicIcon } from 'lucide-react/dynamic';
2
1
  import { ComponentProps } from 'react';
3
- export type IconType = ComponentProps<typeof DynamicIcon>["name"];
2
+ import { LuIcon } from './LuIcon';
3
+ export type IconComponent = ComponentProps<typeof LuIcon>["icon"];
@@ -1,2 +1,2 @@
1
- import { MenuCheckboxItemProps } from '../typings';
1
+ import { MenuCheckboxItemProps } from './typings';
2
2
  export declare const MenuCheckboxItem: import('react').NamedExoticComponent<MenuCheckboxItemProps>;
@@ -1,2 +1,2 @@
1
- import { MenuCheckboxIndicatorProps } from '../typings';
1
+ import { MenuCheckboxIndicatorProps } from './typings';
2
2
  export declare const MenuCheckboxItemIndicator: import('react').NamedExoticComponent<MenuCheckboxIndicatorProps>;
@@ -1,4 +1,4 @@
1
- import { MenuClickTriggerProps } from '../typings';
1
+ import { MenuClickTriggerProps } from './typings';
2
2
  /**
3
3
  * Trigger component that opens menu on click interaction.
4
4
  * Automatically sets up click event handling and accessibility attributes.
@@ -1,4 +1,4 @@
1
- import { MenuContentProps } from '../typings';
1
+ import { MenuContentProps } from './typings';
2
2
  /**
3
3
  * Content container for menu items with floating positioning and focus management.
4
4
  * Handles keyboard navigation, styling variants, and portal rendering.
@@ -1,2 +1,2 @@
1
- import { MenuContextTriggerProps } from '../typings';
1
+ import { MenuContextTriggerProps } from './typings';
2
2
  export declare const MenuContextTrigger: import('react').NamedExoticComponent<MenuContextTriggerProps>;
@@ -1,2 +1,2 @@
1
- import { MenuGroupProps } from '../typings';
1
+ import { MenuGroupProps } from './typings';
2
2
  export declare const MenuGroup: import('react').NamedExoticComponent<MenuGroupProps>;
@@ -1,2 +1,2 @@
1
- import { MenuInputProps } from '../typings';
1
+ import { MenuInputProps } from './typings';
2
2
  export declare const MenuInputField: import('react').NamedExoticComponent<MenuInputProps>;
@@ -1,2 +1,2 @@
1
- import { MenuInputRootProps } from '../typings';
1
+ import { MenuInputRootProps } from './typings';
2
2
  export declare const MenuInputRoot: import('react').NamedExoticComponent<MenuInputRootProps>;
@@ -1,2 +1,2 @@
1
- import { MenuInputSlotProps } from '../typings';
1
+ import { MenuInputSlotProps } from './typings';
2
2
  export declare const MenuInputSlot: import('react').NamedExoticComponent<MenuInputSlotProps>;
@@ -1,4 +1,4 @@
1
- import { MenuItemProps } from '../typings';
1
+ import { MenuItemProps } from './typings';
2
2
  /**
3
3
  * Individual menu item component with keyboard navigation and selection handling.
4
4
  * Supports both static content and render functions that receive active/selected state.
@@ -1,2 +1,2 @@
1
- import { MenuMultiSelectGroupProps } from '../typings';
1
+ import { MenuMultiSelectGroupProps } from './typings';
2
2
  export declare const MenuMultiSelectGroup: <TValue>(props: MenuMultiSelectGroupProps<TValue>) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { MenuSelectItemProps } from '../typings';
1
+ import { MenuSelectItemProps } from './typings';
2
2
  export declare const MenuMultiSelectItem: <TValue>(props: MenuSelectItemProps<TValue>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { MenuPageContentProps } from './typings';
2
+ export declare const MenuPageContent: import('react').NamedExoticComponent<MenuPageContentProps>;
@@ -1,2 +1,2 @@
1
- import { MenuPageTriggerProps } from '../typings';
1
+ import { MenuPageTriggerProps } from './typings';
2
2
  export declare const MenuPageTrigger: import('react').NamedExoticComponent<MenuPageTriggerProps>;
@@ -1,2 +1,2 @@
1
- import { MenuPageProps } from '../typings';
1
+ import { MenuPageProps } from './typings';
2
2
  export declare const MenuPages: import('react').NamedExoticComponent<MenuPageProps>;
@@ -1,4 +1,4 @@
1
- import { MenuRootProps } from '../typings';
1
+ import { MenuRootProps } from './typings';
2
2
  /**
3
3
  * Root component for menu that manages floating UI positioning and interactions.
4
4
  * Provides context for all menu-related components with advanced keyboard navigation.
@@ -1,2 +1,2 @@
1
- import { MenuScrollProps } from '../typings';
1
+ import { MenuScrollProps } from './typings';
2
2
  export declare const MenuScroll: import('react').NamedExoticComponent<MenuScrollProps>;
@@ -1,2 +1,2 @@
1
- import { SelectAllItemProps } from '../typings';
1
+ import { SelectAllItemProps } from './typings';
2
2
  export declare const MenuSelectAllItem: <TValue>(props: SelectAllItemProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { MenuSelectGroupProps } from '../typings';
1
+ import { MenuSelectGroupProps } from './typings';
2
2
  export declare const MenuSelectGroup: <TValue>(props: MenuSelectGroupProps<TValue>) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { MenuSelectItemProps } from '../typings';
1
+ import { MenuSelectItemProps } from './typings';
2
2
  export declare const MenuSelectItem: <TValue>(props: MenuSelectItemProps<TValue>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ import { SelectedIndicatorProps } from '../SelectedIndicator';
2
+ export interface MenuSelectedIndicatorProps extends SelectedIndicatorProps {
3
+ }
4
+ export declare const MenuSelectedIndicator: import('react').NamedExoticComponent<MenuSelectedIndicatorProps>;
@@ -1,2 +1,2 @@
1
- import { MenuSeparatorProps } from '../typings';
1
+ import { MenuSeparatorProps } from './typings';
2
2
  export declare const MenuSeparator: import('react').NamedExoticComponent<MenuSeparatorProps>;
@@ -1,2 +1,2 @@
1
- import { MenuSubProps } from '../typings';
1
+ import { MenuSubProps } from './typings';
2
2
  export declare const MenuSub: import('react').NamedExoticComponent<MenuSubProps>;
@@ -1,2 +1,2 @@
1
- import { SubMenuContentProps } from '../typings';
1
+ import { SubMenuContentProps } from './typings';
2
2
  export declare const MenuSubContent: import('react').NamedExoticComponent<SubMenuContentProps>;
@@ -1,2 +1,2 @@
1
- import { MenuSubTriggerProps } from '../typings';
1
+ import { MenuSubTriggerProps } from './typings';
2
2
  export declare const MenuSubTrigger: import('react').NamedExoticComponent<MenuSubTriggerProps>;
@@ -1,2 +1,2 @@
1
- import { MenuVirtualTriggerProps } from '../typings';
1
+ import { MenuVirtualTriggerProps } from './typings';
2
2
  export declare const MenuVirtualTrigger: import('react').MemoExoticComponent<(props: MenuVirtualTriggerProps) => null>;
@@ -1,11 +1,13 @@
1
1
  /// <reference types="react" />
2
- export * from './CheckboxItem/CheckboxItem';
3
- export * from './CheckboxItemIndicator/CheckboxItemIndicator';
2
+ export * from './CheckboxItem';
3
+ export * from './CheckboxItemIndicator';
4
4
  export * from './ClickTrigger';
5
5
  export * from './Content';
6
6
  export * from './ContextTrigger';
7
7
  export * from './Group';
8
- export * from './Input';
8
+ export * from './InputField';
9
+ export * from './InputRoot';
10
+ export * from './InputSlot';
9
11
  export * from './Item';
10
12
  export * from './Label';
11
13
  export * from './MultiSelectGroup';
@@ -13,9 +15,9 @@ export * from './MultiSelectItem';
13
15
  export * from './PageContent';
14
16
  export * from './Pages';
15
17
  export * from './PageTrigger';
16
- export * from './root';
17
- export * from './Scroll/Scroll';
18
- export * from './SelectAll';
18
+ export * from './Root';
19
+ export * from './Scroll';
20
+ export * from './SelectAllItem';
19
21
  export * from './SelectedIndicator';
20
22
  export * from './SelectGroup';
21
23
  export * from './SelectItem';
@@ -32,7 +34,7 @@ export declare const Menu: {
32
34
  SubContent: import('react').NamedExoticComponent<import('./typings').SubMenuContentProps>;
33
35
  SubTrigger: import('react').NamedExoticComponent<import('./typings').MenuSubTriggerProps>;
34
36
  Pages: import('react').NamedExoticComponent<import('./typings').MenuPageProps>;
35
- PageContent: import('react').FC<import('./typings').MenuPageContentProps>;
37
+ PageContent: import('react').NamedExoticComponent<import('./typings').MenuPageContentProps>;
36
38
  PageTrigger: import('react').NamedExoticComponent<import('./typings').MenuPageTriggerProps>;
37
39
  ClickTrigger: import('react').NamedExoticComponent<import('./typings').MenuClickTriggerProps>;
38
40
  ContextTrigger: import('react').NamedExoticComponent<import('./typings').MenuContextTriggerProps>;
@@ -1,7 +1,7 @@
1
1
  import { UseFloatingData, UseInteractionsReturn } from '@floating-ui/react';
2
2
  import { MutableRefObject } from 'react';
3
- import { ComponentRadius } from '../../Provider';
4
- import { MenuSize, MenuVariant } from '../typings';
3
+ import { ComponentRadius } from '../Provider';
4
+ import { MenuSize, MenuVariant } from './typings';
5
5
  interface IMenuContentContext {
6
6
  activeIndex: number | null;
7
7
  getItemProps: UseInteractionsReturn["getItemProps"];
@@ -1,6 +1,6 @@
1
1
  import { MiddlewareData, UseFloatingData, UseInteractionsReturn } from '@floating-ui/react';
2
2
  import { CSSProperties, MutableRefObject } from 'react';
3
- import { MenuSide, MenuTriggerType } from '../typings';
3
+ import { MenuSide, MenuTriggerType } from './typings';
4
4
  interface IMenuContext {
5
5
  open: boolean;
6
6
  setOpen: (open: boolean) => void;
@@ -1,6 +1,6 @@
1
1
  import { UseFloatingData, UseInteractionsReturn } from '@floating-ui/react';
2
2
  import { CSSProperties, MutableRefObject } from 'react';
3
- import { MenuSide } from '../typings';
3
+ import { MenuSide } from './typings';
4
4
  interface ISubContext {
5
5
  open: boolean;
6
6
  setOpen: (open: boolean) => void;
@@ -1,11 +1,5 @@
1
- import { CheckedState } from '../CheckedIndicator';
2
1
  import { MenuAlignment, MenuSide } from './typings';
3
2
  export declare const computeOffsets: (side: MenuSide, alignment: MenuAlignment) => {
4
3
  mainAxis: number;
5
4
  crossAxis: number;
6
5
  };
7
- export declare function getSelectedState(selected: boolean): "selected" | "unselected";
8
- export declare function getCheckedState(checked: CheckedState): "checked" | "indeterminate" | "unchecked";
9
- export declare function getActiveState(active: boolean): "active" | "inactive";
10
- export declare function getBooleanState(value: boolean): "true" | "false";
11
- export declare function getOpenState(open: boolean): "open" | "closed";
@@ -0,0 +1,6 @@
1
+ import { MenuV2ItemProps } from './Item';
2
+ export interface MenuV2CheckboxItemProps extends MenuV2ItemProps {
3
+ checked: boolean | "indeterminate";
4
+ onCheckedChange: (checked: boolean) => void;
5
+ }
6
+ export declare const MenuV2CheckboxItem: import('react').NamedExoticComponent<MenuV2CheckboxItemProps>;
@@ -0,0 +1,3 @@
1
+ import { CheckedIndicatorProps } from '../CheckedIndicator';
2
+ export type MenuV2CheckedIndicatorProps = CheckedIndicatorProps;
3
+ export declare const MenuV2CheckedIndicator: import('react').NamedExoticComponent<CheckedIndicatorProps>;
@@ -0,0 +1,4 @@
1
+ import { ComponentPropsWithRef } from 'react';
2
+ export interface MenuV2GroupProps extends ComponentPropsWithRef<"div"> {
3
+ }
4
+ export declare const MenuV2Group: import('react').NamedExoticComponent<MenuV2GroupProps>;
@@ -0,0 +1,4 @@
1
+ import { ComponentPropsWithRef } from 'react';
2
+ export interface MenuV2GroupLabelProps extends ComponentPropsWithRef<"div"> {
3
+ }
4
+ export declare const MenuV2GroupLabel: import('react').MemoExoticComponent<(props: MenuV2GroupLabelProps) => import("react/jsx-runtime").JSX.Element>;
@@ -0,0 +1,6 @@
1
+ import { ComponentPropsWithRef } from 'react';
2
+ export interface MenuV2ItemProps extends Omit<ComponentPropsWithRef<"div">, "onSelect"> {
3
+ onSelect?: (e: Event) => void;
4
+ disabled?: boolean;
5
+ }
6
+ export declare const MenuV2Item: import('react').NamedExoticComponent<MenuV2ItemProps>;
@@ -0,0 +1,4 @@
1
+ import { MenuV2ItemProps } from './Item';
2
+ export interface MenuV2SelectAllItemProps extends MenuV2ItemProps {
3
+ }
4
+ export declare const MenuV2SelectAllItem: <TValue>(props: MenuV2SelectAllItemProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { MultiSelectProps } from '../SelectContext/typings';
2
+ import { MenuV2GroupProps } from './Group';
3
+ export interface MenuV2MultiSelectGroupProps<TValue> extends MenuV2GroupProps, MultiSelectProps<TValue> {
4
+ }
5
+ export declare const MenuV2MultiSelectGroup: <TValue>(props: MenuV2MultiSelectGroupProps<TValue>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { MenuV2ItemProps } from './Item';
2
+ export interface MenuV2MultiSelectItemProps<TValue> extends MenuV2ItemProps {
3
+ value: TValue;
4
+ }
5
+ export declare const MenuV2MultiSelectItem: <TValue>(props: MenuV2MultiSelectItemProps<TValue>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { ComponentPropsWithRef } from 'react';
2
+ export interface MenuV2PageProps extends ComponentPropsWithRef<"div"> {
3
+ page: string;
4
+ }
5
+ export declare const MenuV2Page: import('react').MemoExoticComponent<(props: MenuV2PageProps) => import("react/jsx-runtime").JSX.Element>;
@@ -0,0 +1,5 @@
1
+ import { MenuV2ItemProps } from './Item';
2
+ export interface MenuV2PageTriggerItemProps extends MenuV2ItemProps {
3
+ page: string;
4
+ }
5
+ export declare const MenuV2PageTriggerItem: import('react').MemoExoticComponent<(props: MenuV2PageTriggerItemProps) => import("react/jsx-runtime").JSX.Element>;
@@ -0,0 +1,7 @@
1
+ import { PropsWithChildren } from 'react';
2
+ export interface MenuV2PagesProps extends PropsWithChildren {
3
+ defaultPage?: string;
4
+ page?: string;
5
+ onPageChange?: (page: string) => void;
6
+ }
7
+ export declare const MenuV2Pages: import('react').MemoExoticComponent<(props: MenuV2PagesProps) => import("react/jsx-runtime").JSX.Element>;
@@ -0,0 +1,6 @@
1
+ import { ComponentPropsWithRef } from 'react';
2
+ import { MenuV2VariantProps } from './typings';
3
+ export interface MenuV2RootProps extends ComponentPropsWithRef<"div">, MenuV2VariantProps {
4
+ loop?: boolean;
5
+ }
6
+ export declare const MenuV2Root: import('react').NamedExoticComponent<MenuV2RootProps>;
@@ -0,0 +1,4 @@
1
+ import { SingleSelectProps } from '../SelectContext/typings';
2
+ import { MenuV2GroupProps } from './Group';
3
+ export type MenuV2SelectGroupProps<TValue> = MenuV2GroupProps & SingleSelectProps<TValue>;
4
+ export declare const MenuV2SelectGroup: <TValue>(props: MenuV2SelectGroupProps<TValue>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { MenuV2ItemProps } from './Item';
2
+ export interface MenuV2SelectItemProps<TValue> extends MenuV2ItemProps {
3
+ value: TValue;
4
+ }
5
+ export declare const MenuV2SelectItem: <TValue>(props: MenuV2SelectItemProps<TValue>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { SelectedIndicatorProps } from '../SelectedIndicator';
2
+ export type MenuV2SelectedIndicatorProps = SelectedIndicatorProps;
3
+ export declare const MenuV2SelectedIndicator: import('react').NamedExoticComponent<SelectedIndicatorProps>;
@@ -0,0 +1,5 @@
1
+ import { ComponentPropsWithRef } from 'react';
2
+ import * as RadixSeparator from "@radix-ui/react-separator";
3
+ export interface MenuV2SeparatorProps extends ComponentPropsWithRef<typeof RadixSeparator.Root> {
4
+ }
5
+ export declare const MenuV2Separator: import('react').NamedExoticComponent<MenuV2SeparatorProps>;