@overmap-ai/blocks 1.0.35-slider.0 → 1.0.35
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/AlertDialog/Content.d.ts +2 -2
- package/dist/AlertDialog/Provider.d.ts +1 -1
- package/dist/AlertDialog/context.d.ts +2 -3
- package/dist/AlertDialog/cva.d.ts +2 -2
- package/dist/AlertDialog/hooks.d.ts +1 -1
- package/dist/AlertDialog/index.d.ts +11 -11
- package/dist/AlertDialog/typings.d.ts +3 -3
- package/dist/Avatar/Fallback.d.ts +1 -1
- package/dist/Avatar/Image.d.ts +1 -1
- package/dist/Avatar/Root.d.ts +2 -2
- package/dist/Avatar/context.d.ts +2 -3
- package/dist/Avatar/cva.d.ts +2 -2
- package/dist/Avatar/index.d.ts +7 -7
- package/dist/Avatar/typings.d.ts +4 -4
- package/dist/Badge/Badge.d.ts +3 -3
- package/dist/Badge/cva.d.ts +1 -1
- package/dist/Badge/index.d.ts +3 -3
- package/dist/Badge/typings.d.ts +2 -2
- package/dist/ButtonGroup/ButtonGroup.d.ts +3 -3
- package/dist/ButtonGroup/context.d.ts +4 -6
- package/dist/ButtonGroup/hooks.d.ts +1 -0
- package/dist/ButtonGroup/index.d.ts +2 -2
- package/dist/Buttons/Button.d.ts +3 -3
- package/dist/Buttons/IconButton.d.ts +4 -4
- package/dist/Buttons/cva.d.ts +1 -1
- package/dist/Buttons/index.d.ts +4 -5
- package/dist/Buttons/typings.d.ts +2 -2
- package/dist/Card/Card.d.ts +3 -3
- package/dist/Card/cva.d.ts +1 -1
- package/dist/Card/index.d.ts +2 -2
- package/dist/Card/typings.d.ts +4 -4
- package/dist/Checkbox/Indicator.d.ts +1 -1
- package/dist/Checkbox/Root.d.ts +2 -2
- package/dist/Checkbox/cva.d.ts +1 -1
- package/dist/Checkbox/index.d.ts +5 -5
- package/dist/Checkbox/typings.d.ts +4 -4
- package/dist/CheckedIndicator/CheckedIndicator.d.ts +1 -1
- package/dist/CheckedIndicator/context.d.ts +2 -3
- package/dist/CheckedIndicator/index.d.ts +3 -3
- package/dist/CollapsibleTree/CollapsibleTree.d.ts +1 -1
- package/dist/CollapsibleTree/context.d.ts +3 -3
- package/dist/CollapsibleTree/index.d.ts +2 -2
- package/dist/CollapsibleTree/typings.d.ts +3 -3
- package/dist/CommandMenu/CheckboxIndicator.d.ts +2 -2
- package/dist/CommandMenu/CheckboxItem.d.ts +2 -2
- package/dist/CommandMenu/Content.d.ts +5 -5
- package/dist/CommandMenu/Empty.d.ts +3 -3
- package/dist/CommandMenu/Group.d.ts +3 -3
- package/dist/CommandMenu/Input.d.ts +3 -3
- package/dist/CommandMenu/Item.d.ts +3 -3
- package/dist/CommandMenu/List.d.ts +3 -3
- package/dist/CommandMenu/MultiSelectGroup.d.ts +2 -2
- package/dist/CommandMenu/MultiSelectItem.d.ts +1 -1
- package/dist/CommandMenu/Overlay.d.ts +2 -3
- package/dist/CommandMenu/Page.d.ts +1 -1
- package/dist/CommandMenu/PageTriggerItem.d.ts +1 -1
- package/dist/CommandMenu/Pages.d.ts +1 -1
- package/dist/CommandMenu/RadioGroup.d.ts +2 -2
- package/dist/CommandMenu/RadioItem.d.ts +1 -1
- package/dist/CommandMenu/Root.d.ts +2 -3
- package/dist/CommandMenu/SelectAllItem.d.ts +1 -1
- package/dist/CommandMenu/SelectedIndicator.d.ts +1 -1
- package/dist/CommandMenu/Separator.d.ts +3 -3
- package/dist/CommandMenu/Trigger.d.ts +2 -3
- package/dist/CommandMenu/context.d.ts +7 -8
- package/dist/CommandMenu/cva.d.ts +8 -8
- package/dist/CommandMenu/index.d.ts +43 -43
- package/dist/CommandMenu/typings.d.ts +2 -2
- package/dist/CommandMenu/utils.d.ts +1 -1
- package/dist/DayPicker/Chevron.d.ts +1 -1
- package/dist/DayPicker/DayPicker.d.ts +3 -3
- package/dist/DayPicker/cva.d.ts +6 -6
- package/dist/DayPicker/index.d.ts +2 -2
- package/dist/DayPicker/typings.d.ts +4 -4
- package/dist/Dialog/Content.d.ts +4 -4
- package/dist/Dialog/Overlay.d.ts +1 -1
- package/dist/Dialog/Root.d.ts +1 -1
- package/dist/Dialog/context.d.ts +2 -3
- package/dist/Dialog/hooks.d.ts +1 -1
- package/dist/Dialog/index.d.ts +9 -9
- package/dist/Heading/Heading.d.ts +4 -4
- package/dist/Heading/constants.d.ts +1 -1
- package/dist/Heading/cva.d.ts +1 -1
- package/dist/Heading/index.d.ts +2 -2
- package/dist/Heading/typings.d.ts +2 -2
- package/dist/HoverCard/Arrow.d.ts +1 -1
- package/dist/HoverCard/Content.d.ts +2 -2
- package/dist/HoverCard/cva.d.ts +1 -1
- package/dist/HoverCard/index.d.ts +7 -7
- package/dist/HoverCard/typings.d.ts +4 -4
- package/dist/HoverUtility/HoverUtility.d.ts +1 -1
- package/dist/HoverUtility/index.d.ts +1 -1
- package/dist/Input/Field.d.ts +2 -2
- package/dist/Input/Root.d.ts +3 -3
- package/dist/Input/Slot.d.ts +2 -2
- package/dist/Input/context.d.ts +2 -3
- package/dist/Input/cva.d.ts +3 -3
- package/dist/Input/index.d.ts +7 -7
- package/dist/Input/typings.d.ts +4 -4
- package/dist/Layout/Container.d.ts +2 -2
- package/dist/Layout/Root.d.ts +2 -2
- package/dist/Layout/SlideOut.d.ts +3 -4
- package/dist/Layout/SlideOutOverlay.d.ts +3 -3
- package/dist/Layout/SlideOutTrigger.d.ts +3 -3
- package/dist/Layout/context.d.ts +2 -2
- package/dist/Layout/index.d.ts +12 -12
- package/dist/Link/Link.d.ts +3 -3
- package/dist/Link/cva.d.ts +1 -1
- package/dist/Link/index.d.ts +2 -2
- package/dist/Link/typings.d.ts +3 -3
- package/dist/Menu/CheckboxItem/CheckboxItem.d.ts +2 -3
- package/dist/Menu/CheckboxItemIndicator/CheckboxItemIndicator.d.ts +2 -3
- package/dist/Menu/ClickTrigger/ClickTrigger.d.ts +2 -3
- package/dist/Menu/ClickTrigger/index.d.ts +1 -1
- package/dist/Menu/Content/Content.d.ts +2 -3
- package/dist/Menu/Content/context.d.ts +5 -5
- package/dist/Menu/Content/index.d.ts +2 -2
- package/dist/Menu/ContextTrigger/ContextTrigger.d.ts +2 -3
- package/dist/Menu/ContextTrigger/index.d.ts +1 -1
- package/dist/Menu/Group/Group.d.ts +2 -3
- package/dist/Menu/Group/index.d.ts +1 -1
- package/dist/Menu/Input/Field.d.ts +2 -3
- package/dist/Menu/Input/Root.d.ts +2 -3
- package/dist/Menu/Input/Slot.d.ts +2 -3
- package/dist/Menu/Input/index.d.ts +3 -3
- package/dist/Menu/Item/Item.d.ts +2 -3
- package/dist/Menu/Item/index.d.ts +1 -1
- package/dist/Menu/Label/Label.d.ts +2 -2
- package/dist/Menu/Label/index.d.ts +1 -1
- package/dist/Menu/MultiSelectGroup/MultiSelectGroup.d.ts +1 -1
- package/dist/Menu/MultiSelectGroup/index.d.ts +1 -1
- package/dist/Menu/MultiSelectItem/MultiSelectItem.d.ts +1 -1
- package/dist/Menu/MultiSelectItem/index.d.ts +1 -1
- package/dist/Menu/PageContent/PageContent.d.ts +2 -2
- package/dist/Menu/PageContent/index.d.ts +1 -1
- package/dist/Menu/PageTrigger/PageTrigger.d.ts +2 -3
- package/dist/Menu/PageTrigger/index.d.ts +1 -1
- package/dist/Menu/Pages/Pages.d.ts +2 -3
- package/dist/Menu/Pages/context.d.ts +1 -1
- package/dist/Menu/Pages/index.d.ts +2 -2
- package/dist/Menu/Scroll/Scroll.d.ts +2 -3
- package/dist/Menu/SelectAll/SelectAllItem.d.ts +1 -1
- package/dist/Menu/SelectAll/index.d.ts +1 -1
- package/dist/Menu/SelectGroup/SelectGroup.d.ts +1 -1
- package/dist/Menu/SelectGroup/index.d.ts +1 -1
- package/dist/Menu/SelectItem/SelectItem.d.ts +1 -1
- package/dist/Menu/SelectItem/index.d.ts +1 -1
- package/dist/Menu/SelectedIndicator/SelectedIndicator.d.ts +2 -2
- package/dist/Menu/SelectedIndicator/context.d.ts +1 -1
- package/dist/Menu/SelectedIndicator/index.d.ts +2 -2
- package/dist/Menu/Separator/Separator.d.ts +2 -3
- package/dist/Menu/Separator/index.d.ts +1 -1
- package/dist/Menu/Sub/Sub.d.ts +2 -3
- package/dist/Menu/Sub/context.d.ts +4 -4
- package/dist/Menu/Sub/index.d.ts +2 -2
- package/dist/Menu/SubContent/SubContent.d.ts +2 -3
- package/dist/Menu/SubContent/index.d.ts +1 -1
- package/dist/Menu/SubTrigger/SubTrigger.d.ts +2 -3
- package/dist/Menu/SubTrigger/index.d.ts +1 -1
- package/dist/Menu/VirtualTrigger/VirtualTrigger.d.ts +2 -3
- package/dist/Menu/VirtualTrigger/index.d.ts +1 -1
- package/dist/Menu/cva.d.ts +6 -6
- package/dist/Menu/index.d.ts +53 -53
- package/dist/Menu/root/Root.d.ts +2 -3
- package/dist/Menu/root/context.d.ts +4 -4
- package/dist/Menu/root/index.d.ts +2 -2
- package/dist/Menu/typings.d.ts +9 -9
- package/dist/Menu/utils.d.ts +2 -2
- package/dist/OvermapErrorBoundary/OvermapErrorBoundary.d.ts +3 -3
- package/dist/OvermapErrorBoundary/index.d.ts +1 -1
- package/dist/Popover/Arrow.d.ts +1 -1
- package/dist/Popover/Content.d.ts +2 -2
- package/dist/Popover/cva.d.ts +1 -1
- package/dist/Popover/index.d.ts +18 -18
- package/dist/Popover/typings.d.ts +4 -4
- package/dist/Provider/Provider.d.ts +2 -2
- package/dist/Provider/context.d.ts +3 -5
- package/dist/Provider/hooks.d.ts +1 -0
- package/dist/Provider/index.d.ts +3 -3
- package/dist/RadioCards/Item.d.ts +6 -0
- package/dist/RadioCards/Root.d.ts +6 -0
- package/dist/RadioCards/context.d.ts +9 -0
- package/dist/RadioCards/cva.d.ts +8 -0
- package/dist/RadioCards/index.d.ts +8 -0
- package/dist/RadioCards/typings.d.ts +13 -0
- package/dist/RadioGroup/Indicator.d.ts +1 -1
- package/dist/RadioGroup/Item.d.ts +2 -2
- package/dist/RadioGroup/Root.d.ts +2 -2
- package/dist/RadioGroup/context.d.ts +2 -3
- package/dist/RadioGroup/cva.d.ts +1 -1
- package/dist/RadioGroup/index.d.ts +7 -7
- package/dist/RadioGroup/typings.d.ts +3 -3
- package/dist/RiIcon/RiIcon.d.ts +3 -3
- package/dist/RiIcon/index.d.ts +1 -1
- package/dist/SegmentedControl/Item.d.ts +1 -1
- package/dist/SegmentedControl/Root.d.ts +2 -2
- package/dist/SegmentedControl/context.d.ts +4 -6
- package/dist/SegmentedControl/cva.d.ts +2 -2
- package/dist/SegmentedControl/hooks.d.ts +1 -0
- package/dist/SegmentedControl/index.d.ts +5 -5
- package/dist/SegmentedControl/typings.d.ts +4 -4
- package/dist/SegmentedTabs/List.d.ts +2 -2
- package/dist/SegmentedTabs/Root.d.ts +1 -1
- package/dist/SegmentedTabs/Trigger.d.ts +1 -1
- package/dist/SegmentedTabs/context.d.ts +3 -4
- package/dist/SegmentedTabs/cva.d.ts +2 -2
- package/dist/SegmentedTabs/index.d.ts +8 -8
- package/dist/SegmentedTabs/typings.d.ts +4 -4
- package/dist/SelectContext/MultiSelectProvider.d.ts +2 -2
- package/dist/SelectContext/SingleSelectProvider.d.ts +2 -2
- package/dist/SelectContext/context.d.ts +2 -2
- package/dist/SelectContext/index.d.ts +3 -3
- package/dist/Separator/Separator.d.ts +2 -2
- package/dist/Separator/cva.d.ts +1 -1
- package/dist/Separator/index.d.ts +2 -2
- package/dist/Separator/typings.d.ts +1 -1
- package/dist/SlideOut/SlideOut.d.ts +3 -3
- package/dist/SlideOut/index.d.ts +1 -1
- package/dist/Slider/Slider.d.ts +2 -2
- package/dist/Slider/cva.d.ts +4 -4
- package/dist/Slider/index.d.ts +2 -2
- package/dist/Slider/typings.d.ts +2 -2
- package/dist/Spinner/Spinner.d.ts +1 -1
- package/dist/Spinner/index.d.ts +1 -1
- package/dist/Switch/Root.d.ts +2 -2
- package/dist/Switch/Thumb.d.ts +1 -1
- package/dist/Switch/context.d.ts +3 -4
- package/dist/Switch/cva.d.ts +2 -2
- package/dist/Switch/index.d.ts +5 -5
- package/dist/Switch/typings.d.ts +4 -4
- package/dist/Table/Body.d.ts +2 -2
- package/dist/Table/Cell.d.ts +2 -2
- package/dist/Table/ColumnHeaderCell.d.ts +2 -2
- package/dist/Table/Footer.d.ts +2 -2
- package/dist/Table/Header.d.ts +2 -2
- package/dist/Table/Root.d.ts +3 -3
- package/dist/Table/Row.d.ts +2 -2
- package/dist/Table/RowHeaderCell.d.ts +2 -2
- package/dist/Table/context.d.ts +2 -3
- package/dist/Table/cva.d.ts +2 -2
- package/dist/Table/index.d.ts +17 -17
- package/dist/Table/typings.d.ts +3 -3
- package/dist/Tabs/List.d.ts +2 -2
- package/dist/Tabs/Root.d.ts +1 -1
- package/dist/Tabs/Trigger.d.ts +1 -1
- package/dist/Tabs/context.d.ts +3 -5
- package/dist/Tabs/cva.d.ts +2 -2
- package/dist/Tabs/hooks.d.ts +1 -0
- package/dist/Tabs/index.d.ts +8 -8
- package/dist/Tabs/typings.d.ts +3 -3
- package/dist/Text/Text.d.ts +3 -3
- package/dist/Text/cva.d.ts +1 -1
- package/dist/Text/index.d.ts +2 -2
- package/dist/Text/typings.d.ts +3 -3
- package/dist/TextArea/TextArea.d.ts +3 -3
- package/dist/TextArea/cva.d.ts +1 -1
- package/dist/TextArea/index.d.ts +2 -2
- package/dist/TextArea/typings.d.ts +4 -4
- package/dist/Toast/Toast.d.ts +2 -2
- package/dist/Toast/ToastContext.d.ts +2 -3
- package/dist/Toast/ToastProvider.d.ts +2 -2
- package/dist/Toast/cva.d.ts +1 -1
- package/dist/Toast/index.d.ts +4 -4
- package/dist/Toast/typings.d.ts +5 -5
- package/dist/ToggleButton/BaseToggleButton.d.ts +2 -3
- package/dist/ToggleButton/IconToggleButton.d.ts +2 -3
- package/dist/ToggleButton/ToggleButton.d.ts +2 -3
- package/dist/ToggleButton/cva.d.ts +1 -1
- package/dist/ToggleButton/index.d.ts +3 -3
- package/dist/ToggleButton/typings.d.ts +2 -2
- package/dist/Tooltip/Arrow.d.ts +1 -1
- package/dist/Tooltip/Content.d.ts +2 -2
- package/dist/Tooltip/cva.d.ts +1 -1
- package/dist/Tooltip/index.d.ts +8 -8
- package/dist/Tooltip/typings.d.ts +4 -4
- package/dist/blocks.js +184 -22
- package/dist/blocks.js.map +1 -1
- package/dist/blocks.umd.cjs +181 -19
- package/dist/blocks.umd.cjs.map +1 -1
- package/dist/cva/floating.d.ts +1 -1
- package/dist/cva/index.d.ts +2 -2
- package/dist/cva/radius.d.ts +1 -1
- package/dist/index.d.ts +40 -39
- package/dist/typings.d.ts +1 -1
- package/dist/utils.d.ts +2 -2
- package/package.json +115 -119
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { AlertDialogVariantProps } from './typings';
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
import * as RadixAlertDialog from "@radix-ui/react-alert-dialog";
|
|
3
|
-
import { AlertDialogVariantProps } from "./typings";
|
|
4
4
|
export interface AlertDialogContentProps extends RadixAlertDialog.AlertDialogContentProps, AlertDialogVariantProps {
|
|
5
5
|
container?: RadixAlertDialog.AlertDialogPortalProps["container"];
|
|
6
6
|
}
|
|
7
|
-
export declare const AlertDialogContent: import(
|
|
7
|
+
export declare const AlertDialogContent: import('react').ForwardRefExoticComponent<AlertDialogContentProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { PropsWithChildren } from
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
2
|
export declare const AlertDialogProvider: (props: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { AlertDialogOptions } from "./typings";
|
|
1
|
+
import { AlertDialogOptions } from './typings';
|
|
3
2
|
type AlertDialogContextType = (options: AlertDialogOptions) => void;
|
|
4
|
-
export declare const AlertDialogContext: import(
|
|
3
|
+
export declare const AlertDialogContext: import('react').Context<AlertDialogContextType>;
|
|
5
4
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const dialogOverlay: (props?: import(
|
|
1
|
+
export declare const dialogOverlay: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
|
|
2
2
|
export declare const dialogContent: (props?: ({
|
|
3
3
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
4
|
-
} & import(
|
|
4
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useAlertDialog: () => (options: import(
|
|
1
|
+
export declare const useAlertDialog: () => (options: import('./typings').AlertDialogOptions) => void;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import * as RadixAlertDialog from "@radix-ui/react-alert-dialog";
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
3
|
+
export * from './Content';
|
|
4
|
+
export * from './hooks';
|
|
5
|
+
export * from './Provider';
|
|
6
|
+
export * from './typings';
|
|
7
7
|
export declare const AlertDialog: {
|
|
8
|
-
Content: import(
|
|
9
|
-
Trigger: import(
|
|
10
|
-
Root: import(
|
|
11
|
-
Title: import(
|
|
12
|
-
Description: import(
|
|
13
|
-
Action: import(
|
|
14
|
-
Cancel: import(
|
|
8
|
+
Content: import('react').ForwardRefExoticComponent<import('./Content').AlertDialogContentProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
9
|
+
Trigger: import('react').ForwardRefExoticComponent<RadixAlertDialog.AlertDialogTriggerProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
10
|
+
Root: import('react').FC<RadixAlertDialog.AlertDialogProps>;
|
|
11
|
+
Title: import('react').ForwardRefExoticComponent<RadixAlertDialog.AlertDialogTitleProps & import('react').RefAttributes<HTMLHeadingElement>>;
|
|
12
|
+
Description: import('react').ForwardRefExoticComponent<RadixAlertDialog.AlertDialogDescriptionProps & import('react').RefAttributes<HTMLParagraphElement>>;
|
|
13
|
+
Action: import('react').ForwardRefExoticComponent<RadixAlertDialog.AlertDialogActionProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
14
|
+
Cancel: import('react').ForwardRefExoticComponent<RadixAlertDialog.AlertDialogCancelProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
15
15
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import { dialogContent } from
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
import { dialogContent } from './cva';
|
|
4
4
|
type Variants = VariantProps<typeof dialogContent>;
|
|
5
5
|
export type AlertDialogSize = NonNullable<Variants["size"]>;
|
|
6
6
|
export interface AlertDialogVariantProps {
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
import * as RadixAvatar from "@radix-ui/react-avatar";
|
|
3
3
|
export interface AvatarFallbackProps extends RadixAvatar.AvatarFallbackProps {
|
|
4
4
|
}
|
|
5
|
-
export declare const AvatarFallback: import(
|
|
5
|
+
export declare const AvatarFallback: import('react').ForwardRefExoticComponent<AvatarFallbackProps & import('react').RefAttributes<HTMLSpanElement>>;
|
package/dist/Avatar/Image.d.ts
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
import * as RadixAvatar from "@radix-ui/react-avatar";
|
|
3
3
|
export interface AvatarImageProps extends RadixAvatar.AvatarImageProps {
|
|
4
4
|
}
|
|
5
|
-
export declare const AvatarImage: import(
|
|
5
|
+
export declare const AvatarImage: import('react').ForwardRefExoticComponent<AvatarImageProps & import('react').RefAttributes<HTMLImageElement>>;
|
package/dist/Avatar/Root.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { AvatarVariantProps } from './typings';
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
import * as RadixAvatar from "@radix-ui/react-avatar";
|
|
3
|
-
import type { AvatarVariantProps } from "./typings";
|
|
4
4
|
export interface AvatarRootProps extends RadixAvatar.AvatarProps, AvatarVariantProps {
|
|
5
5
|
}
|
|
6
|
-
export declare const AvatarRoot: import(
|
|
6
|
+
export declare const AvatarRoot: import('react').ForwardRefExoticComponent<AvatarRootProps & import('react').RefAttributes<HTMLSpanElement>>;
|
package/dist/Avatar/context.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
import type { AvatarVariant } from "./typings";
|
|
1
|
+
import { AvatarVariant } from './typings';
|
|
3
2
|
interface IAvatarContext {
|
|
4
3
|
variant: AvatarVariant;
|
|
5
4
|
}
|
|
6
|
-
export declare const AvatarContext: import(
|
|
5
|
+
export declare const AvatarContext: import('react').Context<IAvatarContext>;
|
|
7
6
|
export {};
|
package/dist/Avatar/cva.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const avatar: (props?: ({
|
|
2
2
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
3
|
-
} & import(
|
|
3
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
4
4
|
export declare const avatarFallback: (props?: ({
|
|
5
5
|
variant?: "solid" | "soft" | "outline" | "surface" | null | undefined;
|
|
6
|
-
} & import(
|
|
6
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
package/dist/Avatar/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
2
|
+
export * from './Fallback';
|
|
3
|
+
export * from './Image';
|
|
4
|
+
export * from './Root';
|
|
5
|
+
export * from './typings';
|
|
6
6
|
export declare const Avatar: {
|
|
7
|
-
Fallback: import(
|
|
8
|
-
Image: import(
|
|
9
|
-
Root: import(
|
|
7
|
+
Fallback: import('react').ForwardRefExoticComponent<import('./Fallback').AvatarFallbackProps & import('react').RefAttributes<HTMLSpanElement>>;
|
|
8
|
+
Image: import('react').ForwardRefExoticComponent<import('./Image').AvatarImageProps & import('react').RefAttributes<HTMLImageElement>>;
|
|
9
|
+
Root: import('react').ForwardRefExoticComponent<import('./Root').AvatarRootProps & import('react').RefAttributes<HTMLSpanElement>>;
|
|
10
10
|
};
|
package/dist/Avatar/typings.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { avatar, avatarFallback } from
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { ComponentRadius } from '../Provider';
|
|
3
|
+
import { AccentColorProps } from '../typings';
|
|
4
|
+
import { avatar, avatarFallback } from './cva';
|
|
5
5
|
type Variants = VariantProps<typeof avatar> & VariantProps<typeof avatarFallback>;
|
|
6
6
|
export type AvatarSize = NonNullable<Variants["size"]>;
|
|
7
7
|
export type AvatarVariant = NonNullable<Variants["variant"]>;
|
package/dist/Badge/Badge.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ComponentProps } from
|
|
2
|
-
import
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { BadgeVariantProps } from './typings';
|
|
3
3
|
export interface BadgeProps extends ComponentProps<"span">, BadgeVariantProps {
|
|
4
4
|
}
|
|
5
|
-
export declare const Badge: import(
|
|
5
|
+
export declare const Badge: import('react').ForwardRefExoticComponent<Omit<BadgeProps, "ref"> & import('react').RefAttributes<HTMLSpanElement>>;
|
package/dist/Badge/cva.d.ts
CHANGED
|
@@ -2,4 +2,4 @@ export declare const badge: (props?: ({
|
|
|
2
2
|
icon?: boolean | null | undefined;
|
|
3
3
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
4
4
|
variant?: "solid" | "soft" | "outline" | "surface" | null | undefined;
|
|
5
|
-
} & import(
|
|
5
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
package/dist/Badge/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
1
|
+
export * from './Badge';
|
|
2
|
+
export * from './cva';
|
|
3
|
+
export * from './typings';
|
package/dist/Badge/typings.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentRadius } from '../Provider';
|
|
2
|
+
import { AccentColorProps } from '../typings';
|
|
3
3
|
export type BadgeSize = "xs" | "sm" | "md" | "lg" | "xl";
|
|
4
4
|
export type BadgeVariant = "solid" | "soft" | "outline" | "surface";
|
|
5
5
|
export interface BadgeVariantProps extends AccentColorProps {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ComponentProps, PropsWithoutRef } from
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { ComponentProps, PropsWithoutRef } from 'react';
|
|
2
|
+
import { ButtonVariantProps } from '../Buttons';
|
|
3
|
+
import { AccentColorProps } from '../typings';
|
|
4
4
|
export interface ButtonGroupProps extends PropsWithoutRef<ComponentProps<"div">>, ButtonVariantProps, AccentColorProps {
|
|
5
5
|
}
|
|
6
6
|
export declare const ButtonGroup: {
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
interface IButtonGroupContext {
|
|
1
|
+
import { ButtonSize, ButtonVariant } from '../Buttons';
|
|
2
|
+
import { ComponentRadius } from '../Provider';
|
|
3
|
+
export interface IButtonGroupContext {
|
|
5
4
|
variant: ButtonVariant;
|
|
6
5
|
size: ButtonSize;
|
|
7
6
|
radius: ComponentRadius;
|
|
8
7
|
accentColor: string;
|
|
9
8
|
}
|
|
10
|
-
export declare const ButtonGroupContext: import(
|
|
11
|
-
export {};
|
|
9
|
+
export declare const ButtonGroupContext: import('react').Context<IButtonGroupContext>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useButtonGroup: () => import('./context').IButtonGroupContext;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './ButtonGroup';
|
|
2
|
+
export * from './hooks';
|
package/dist/Buttons/Button.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ComponentProps, PropsWithoutRef } from
|
|
2
|
-
import
|
|
1
|
+
import { ComponentProps, PropsWithoutRef } from 'react';
|
|
2
|
+
import { ButtonVariantProps } from './typings';
|
|
3
3
|
export interface ButtonProps extends ButtonVariantProps, PropsWithoutRef<ComponentProps<"button">> {
|
|
4
4
|
}
|
|
5
|
-
export declare const Button: import(
|
|
5
|
+
export declare const Button: import('react').NamedExoticComponent<ButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ComponentProps, PropsWithoutRef } from
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { ComponentProps, PropsWithoutRef } from 'react';
|
|
2
|
+
import { AccentColorProps } from '../typings';
|
|
3
|
+
import { ButtonVariantProps } from './typings';
|
|
4
4
|
export interface IconButtonProps extends ButtonVariantProps, PropsWithoutRef<ComponentProps<"button">>, AccentColorProps {
|
|
5
5
|
}
|
|
6
|
-
export declare const IconButton: import(
|
|
6
|
+
export declare const IconButton: import('react').NamedExoticComponent<IconButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
|
package/dist/Buttons/cva.d.ts
CHANGED
|
@@ -2,4 +2,4 @@ export declare const buttonCva: (props?: ({
|
|
|
2
2
|
variant?: "fill" | "solid" | "soft" | "outline" | "surface" | "ghost" | null | undefined;
|
|
3
3
|
icon?: boolean | null | undefined;
|
|
4
4
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
5
|
-
} & import(
|
|
5
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
package/dist/Buttons/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from "./typings";
|
|
1
|
+
export * from './Button';
|
|
2
|
+
export * from './cva';
|
|
3
|
+
export * from './IconButton';
|
|
4
|
+
export * from './typings';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentRadius } from '../Provider';
|
|
2
|
+
import { AccentColorProps } from '../typings';
|
|
3
3
|
export type ButtonSize = "xs" | "sm" | "md" | "lg" | "xl";
|
|
4
4
|
export type ButtonVariant = "solid" | "soft" | "outline" | "surface" | "ghost" | "fill";
|
|
5
5
|
export interface ButtonVariantProps extends AccentColorProps {
|
package/dist/Card/Card.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ComponentProps, PropsWithoutRef } from
|
|
2
|
-
import
|
|
1
|
+
import { ComponentProps, PropsWithoutRef } from 'react';
|
|
2
|
+
import { CardVariantProps } from './typings';
|
|
3
3
|
export interface CardProps extends PropsWithoutRef<ComponentProps<"div">>, CardVariantProps {
|
|
4
4
|
}
|
|
5
|
-
export declare const Card: import(
|
|
5
|
+
export declare const Card: import('react').ForwardRefExoticComponent<CardProps & import('react').RefAttributes<HTMLDivElement>>;
|
package/dist/Card/cva.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const cardCva: (props?: ({
|
|
2
2
|
variant?: "soft" | "outline" | "surface" | null | undefined;
|
|
3
3
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
4
|
-
} & import(
|
|
4
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
package/dist/Card/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './Card';
|
|
2
|
+
export * from './typings';
|
package/dist/Card/typings.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { cardCva } from
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { ComponentRadius } from '../Provider';
|
|
3
|
+
import { AccentColorProps } from '../typings';
|
|
4
|
+
import { cardCva } from './cva';
|
|
5
5
|
type CardVariants = VariantProps<typeof cardCva>;
|
|
6
6
|
export type CardSize = NonNullable<CardVariants["size"]>;
|
|
7
7
|
export type CardVariant = NonNullable<CardVariants["variant"]>;
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
import * as RadixCheckbox from "@radix-ui/react-checkbox";
|
|
3
3
|
export interface CheckboxIndicatorProps extends RadixCheckbox.CheckboxIndicatorProps {
|
|
4
4
|
}
|
|
5
|
-
export declare const CheckboxIndicator: import(
|
|
5
|
+
export declare const CheckboxIndicator: import('react').ForwardRefExoticComponent<CheckboxIndicatorProps & import('react').RefAttributes<HTMLSpanElement>>;
|
package/dist/Checkbox/Root.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { CheckboxVariantProps } from './typings';
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
import * as RadixCheckbox from "@radix-ui/react-checkbox";
|
|
3
|
-
import type { CheckboxVariantProps } from "./typings";
|
|
4
4
|
export interface CheckboxRootProps extends CheckboxVariantProps, RadixCheckbox.CheckboxProps {
|
|
5
5
|
}
|
|
6
|
-
export declare const CheckboxRoot: import(
|
|
6
|
+
export declare const CheckboxRoot: import('react').ForwardRefExoticComponent<CheckboxRootProps & import('react').RefAttributes<HTMLButtonElement>>;
|
package/dist/Checkbox/cva.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const checkbox: (props?: ({
|
|
2
2
|
variant?: "soft" | "outline" | "surface" | null | undefined;
|
|
3
3
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
4
|
-
} & import(
|
|
4
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
package/dist/Checkbox/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
2
|
+
export * from './Indicator';
|
|
3
|
+
export * from './Root';
|
|
4
|
+
export * from './typings';
|
|
5
5
|
export declare const Checkbox: {
|
|
6
|
-
Root: import(
|
|
7
|
-
Indicator: import(
|
|
6
|
+
Root: import('react').ForwardRefExoticComponent<import('./Root').CheckboxRootProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
7
|
+
Indicator: import('react').ForwardRefExoticComponent<import('./Indicator').CheckboxIndicatorProps & import('react').RefAttributes<HTMLSpanElement>>;
|
|
8
8
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { checkbox } from
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { ComponentRadius } from '../Provider';
|
|
3
|
+
import { AccentColorProps } from '../typings';
|
|
4
|
+
import { checkbox } from './cva';
|
|
5
5
|
type Variants = VariantProps<typeof checkbox>;
|
|
6
6
|
export type CheckboxSize = NonNullable<Variants["size"]>;
|
|
7
7
|
export type CheckboxVariant = NonNullable<Variants["variant"]>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentPropsWithRef, FC, PropsWithChildren } from
|
|
1
|
+
import { ComponentPropsWithRef, FC, PropsWithChildren } from 'react';
|
|
2
2
|
export interface CheckedIndicatorProps extends Omit<ComponentPropsWithRef<"span">, "children"> {
|
|
3
3
|
children: PropsWithChildren["children"] | ((indeterminate: boolean) => PropsWithChildren["children"]);
|
|
4
4
|
}
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export declare const CheckedIndicatorContext: import("react").Context<CheckedState>;
|
|
1
|
+
import { CheckedState } from './typings';
|
|
2
|
+
export declare const CheckedIndicatorContext: import('react').Context<CheckedState>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
1
|
+
export * from './CheckedIndicator';
|
|
2
|
+
export * from './context';
|
|
3
|
+
export * from './typings';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CollapsibleTreeProps } from
|
|
1
|
+
import { CollapsibleTreeProps } from './typings';
|
|
2
2
|
/** The Collapsible Tree Component is a reusable UI element that displays hierarchical data in a tree structure.
|
|
3
3
|
* Nodes in the tree can be expanded or collapsed to show or hide their children, allowing for an intuitive and
|
|
4
4
|
* space-efficient way to navigate complex data structures.*/
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { CSSProperties } from
|
|
2
|
-
import { NodeCallbacks, NodeRenderer } from
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { NodeCallbacks, NodeRenderer } from './typings';
|
|
3
3
|
interface ICollapsibleTreeContext<TMeta> extends NodeCallbacks<TMeta> {
|
|
4
4
|
nodeClassName?: string;
|
|
5
5
|
nodeStyles?: CSSProperties;
|
|
6
6
|
disabled: boolean;
|
|
7
7
|
nodeRenderer: NodeRenderer<TMeta>;
|
|
8
8
|
}
|
|
9
|
-
export declare const CollapsibleTreeContext: import(
|
|
9
|
+
export declare const CollapsibleTreeContext: import('react').Context<ICollapsibleTreeContext<never>>;
|
|
10
10
|
export declare function useCollapsibleTreeContext<TMeta>(): ICollapsibleTreeContext<TMeta>;
|
|
11
11
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './CollapsibleTree';
|
|
2
|
+
export * from './typings';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CollapsibleProps } from
|
|
2
|
-
import { CSSProperties, ReactNode } from
|
|
3
|
-
import { PropsWithClassNameAndStyle } from
|
|
1
|
+
import { CollapsibleProps } from '@radix-ui/react-collapsible';
|
|
2
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
3
|
+
import { PropsWithClassNameAndStyle } from '../typings';
|
|
4
4
|
export type NodeEventHandler<TMeta> = (meta: TMeta) => void;
|
|
5
5
|
export interface NodeCallbacks<TMeta> {
|
|
6
6
|
/** callback fired when a specific TreeNode is clicked, regardless of the current open state of the specific
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ComponentPropsWithRef, ReactNode } from
|
|
2
|
-
import
|
|
1
|
+
import { ComponentPropsWithRef, ReactNode } from 'react';
|
|
2
|
+
import { CheckedState } from './typings';
|
|
3
3
|
export interface CommandMenuCheckboxIndicatorProps extends Omit<ComponentPropsWithRef<"span">, "children"> {
|
|
4
4
|
children: ReactNode | ((checked: CheckedState) => ReactNode);
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CommandMenuItemProps } from
|
|
2
|
-
import
|
|
1
|
+
import { CommandMenuItemProps } from './Item';
|
|
2
|
+
import { CheckedState } from './typings';
|
|
3
3
|
export interface CommandMenuCheckboxItemProps extends CommandMenuItemProps {
|
|
4
4
|
checked: CheckedState;
|
|
5
5
|
onCheckedChange: (checked: boolean) => void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { DialogContentProps, DialogPortalProps } from
|
|
2
|
-
import { CommandRoot } from
|
|
3
|
-
import { ComponentPropsWithRef } from
|
|
4
|
-
import
|
|
1
|
+
import { DialogContentProps, DialogPortalProps } from '@radix-ui/react-dialog';
|
|
2
|
+
import { CommandRoot } from 'cmdk';
|
|
3
|
+
import { ComponentPropsWithRef } from 'react';
|
|
4
|
+
import { CommandMenuVariantProps } from './typings';
|
|
5
5
|
export interface CommandMenuContentProps extends ComponentPropsWithRef<typeof CommandRoot>, Pick<DialogContentProps, "forceMount" | "onOpenAutoFocus" | "onCloseAutoFocus" | "onEscapeKeyDown" | "onPointerDownOutside" | "onInteractOutside">, Pick<DialogPortalProps, "container">, CommandMenuVariantProps {
|
|
6
6
|
}
|
|
7
|
-
export declare const CommandMenuContent: import(
|
|
7
|
+
export declare const CommandMenuContent: import('react').NamedExoticComponent<CommandMenuContentProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CommandEmpty } from
|
|
2
|
-
import { ComponentPropsWithRef } from
|
|
1
|
+
import { CommandEmpty } from 'cmdk';
|
|
2
|
+
import { ComponentPropsWithRef } from 'react';
|
|
3
3
|
export interface CommandMenuEmptyProps extends ComponentPropsWithRef<typeof CommandEmpty> {
|
|
4
4
|
}
|
|
5
|
-
export declare const CommandMenuEmpty: import(
|
|
5
|
+
export declare const CommandMenuEmpty: import('react').NamedExoticComponent<CommandMenuEmptyProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CommandGroup } from
|
|
2
|
-
import { ComponentPropsWithRef } from
|
|
1
|
+
import { CommandGroup } from 'cmdk';
|
|
2
|
+
import { ComponentPropsWithRef } from 'react';
|
|
3
3
|
export interface CommandMenuGroupProps extends ComponentPropsWithRef<typeof CommandGroup> {
|
|
4
4
|
}
|
|
5
|
-
export declare const CommandMenuGroup: import(
|
|
5
|
+
export declare const CommandMenuGroup: import('react').NamedExoticComponent<CommandMenuGroupProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CommandInput } from
|
|
2
|
-
import { ComponentPropsWithRef } from
|
|
1
|
+
import { CommandInput } from 'cmdk';
|
|
2
|
+
import { ComponentPropsWithRef } from 'react';
|
|
3
3
|
export interface CommandMenuInputProps extends ComponentPropsWithRef<typeof CommandInput> {
|
|
4
4
|
}
|
|
5
|
-
export declare const CommandMenuInput: import(
|
|
5
|
+
export declare const CommandMenuInput: import('react').NamedExoticComponent<CommandMenuInputProps>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { CommandItem } from
|
|
2
|
-
import { ComponentPropsWithRef } from
|
|
1
|
+
import { CommandItem } from 'cmdk';
|
|
2
|
+
import { ComponentPropsWithRef } from 'react';
|
|
3
3
|
export interface CommandMenuItemProps extends Omit<ComponentPropsWithRef<typeof CommandItem>, "value" | "onSelect"> {
|
|
4
4
|
closeOnSelect?: boolean;
|
|
5
5
|
filterValue?: string;
|
|
6
6
|
onSelect?: () => void;
|
|
7
7
|
}
|
|
8
|
-
export declare const CommandMenuItem: import(
|
|
8
|
+
export declare const CommandMenuItem: import('react').NamedExoticComponent<CommandMenuItemProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CommandList } from
|
|
2
|
-
import { ComponentPropsWithRef } from
|
|
1
|
+
import { CommandList } from 'cmdk';
|
|
2
|
+
import { ComponentPropsWithRef } from 'react';
|
|
3
3
|
export interface CommandMenuListProps extends ComponentPropsWithRef<typeof CommandList> {
|
|
4
4
|
}
|
|
5
|
-
export declare const CommandMenuList: import(
|
|
5
|
+
export declare const CommandMenuList: import('react').NamedExoticComponent<CommandMenuListProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { CommandMenuGroupProps } from
|
|
1
|
+
import { MultiSelectProps } from '../SelectContext/typings';
|
|
2
|
+
import { CommandMenuGroupProps } from './Group';
|
|
3
3
|
export interface CommandMenuMultiSelectGroupProps<TValue> extends CommandMenuGroupProps, MultiSelectProps<TValue> {
|
|
4
4
|
}
|
|
5
5
|
export declare const CommandMenuMultiSelectGroup: <TValue>(props: CommandMenuMultiSelectGroupProps<TValue>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import type { DialogOverlayProps, DialogPortalProps } from "@radix-ui/react-dialog";
|
|
1
|
+
import { DialogOverlayProps, DialogPortalProps } from '@radix-ui/react-dialog';
|
|
3
2
|
export interface CommandMenuOverlayProps extends DialogOverlayProps, Pick<DialogPortalProps, "container"> {
|
|
4
3
|
}
|
|
5
|
-
export declare const CommandMenuOverlay: import(
|
|
4
|
+
export declare const CommandMenuOverlay: import('react').NamedExoticComponent<CommandMenuOverlayProps>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SingleSelectProps } from
|
|
2
|
-
import { CommandMenuGroupProps } from
|
|
1
|
+
import { SingleSelectProps } from '../SelectContext/typings';
|
|
2
|
+
import { CommandMenuGroupProps } from './Group';
|
|
3
3
|
export type CommandMenuRadioGroupProps<TValue> = SingleSelectProps<TValue> & Omit<CommandMenuGroupProps, "defaultValue" | "value">;
|
|
4
4
|
export declare const CommandMenuRadioGroup: <TValue>(props: CommandMenuRadioGroupProps<TValue>) => import("react/jsx-runtime").JSX.Element;
|