moduix 0.9.1 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Accordion/Accordion.d.ts +1 -1
- package/dist/components/Alert/Alert.d.ts +10 -6
- package/dist/components/AlertDialog/AlertDialog.d.ts +15 -11
- package/dist/components/AlertDialog/index.d.ts +1 -1
- package/dist/components/AspectRatio/AspectRatio.d.ts +7 -0
- package/dist/components/AspectRatio/index.d.ts +2 -0
- package/dist/components/Autocomplete/Autocomplete.d.ts +2 -2
- package/dist/components/Avatar/Avatar.d.ts +6 -3
- package/dist/components/Badge/Badge.d.ts +8 -4
- package/dist/components/Bleed/Bleed.d.ts +1 -1
- package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +6 -6
- package/dist/components/Button/Button.d.ts +9 -4
- package/dist/components/Button/index.d.ts +1 -0
- package/dist/components/Card/Card.d.ts +16 -11
- package/dist/components/Card/index.d.ts +2 -1
- package/dist/components/Checkbox/Checkbox.d.ts +4 -4
- package/dist/components/CheckboxGroup/CheckboxGroup.d.ts +6 -6
- package/dist/components/Collapsible/Collapsible.d.ts +1 -1
- package/dist/components/Combobox/Combobox.d.ts +12 -10
- package/dist/components/Combobox/index.d.ts +1 -1
- package/dist/components/CommandPalette/CommandPalette.d.ts +26 -29
- package/dist/components/Container/Container.d.ts +3 -4
- package/dist/components/ContextMenu/ContextMenu.d.ts +34 -32
- package/dist/components/ContextMenu/index.d.ts +1 -0
- package/dist/components/CopyButton/CopyButton.d.ts +15 -0
- package/dist/components/CopyButton/index.d.ts +2 -0
- package/dist/components/Dialog/Dialog.d.ts +14 -14
- package/dist/components/Drawer/Drawer.d.ts +20 -19
- package/dist/components/Drawer/index.d.ts +1 -1
- package/dist/components/Empty/Empty.d.ts +11 -0
- package/dist/components/Empty/index.d.ts +1 -0
- package/dist/components/Field/Field.d.ts +6 -6
- package/dist/components/Fieldset/Fieldset.d.ts +2 -2
- package/dist/components/Form/Form.d.ts +1 -1
- package/dist/components/Heading/Heading.d.ts +6 -3
- package/dist/components/Input/Input.d.ts +8 -5
- package/dist/components/Input/index.d.ts +1 -0
- package/dist/components/InputGroup/InputGroup.d.ts +2 -8
- package/dist/components/Kbd/Kbd.d.ts +2 -2
- package/dist/components/Lightbox/Lightbox.d.ts +14 -14
- package/dist/components/List/List.d.ts +15 -7
- package/dist/components/Menu/Menu.d.ts +37 -35
- package/dist/components/Menu/index.d.ts +1 -0
- package/dist/components/Menubar/Menubar.d.ts +37 -35
- package/dist/components/Menubar/index.d.ts +1 -0
- package/dist/components/Meter/Meter.d.ts +6 -7
- package/dist/components/NavigationMenu/NavigationMenu.d.ts +17 -16
- package/dist/components/NavigationMenu/index.d.ts +1 -0
- package/dist/components/NumberField/NumberField.d.ts +11 -9
- package/dist/components/NumberField/index.d.ts +1 -0
- package/dist/components/OTPField/OTPField.d.ts +3 -3
- package/dist/components/Pagination/Pagination.d.ts +7 -7
- package/dist/components/PasswordInput/PasswordInput.d.ts +14 -0
- package/dist/components/PasswordInput/index.d.ts +2 -0
- package/dist/components/Popover/Popover.d.ts +14 -14
- package/dist/components/PreviewCard/PreviewCard.d.ts +9 -9
- package/dist/components/Radio/Radio.d.ts +7 -7
- package/dist/components/Rating/Rating.d.ts +12 -0
- package/dist/components/Rating/index.d.ts +2 -0
- package/dist/components/ScrollArea/ScrollArea.d.ts +2 -3
- package/dist/components/Select/Select.d.ts +25 -26
- package/dist/components/Separator/Separator.d.ts +1 -3
- package/dist/components/Skeleton/Skeleton.d.ts +1 -1
- package/dist/components/Slider/Slider.d.ts +11 -8
- package/dist/components/SnapCarousel/SnapCarousel.d.ts +18 -0
- package/dist/components/SnapCarousel/index.d.ts +2 -0
- package/dist/components/Spinner/Spinner.d.ts +4 -2
- package/dist/components/Spinner/index.d.ts +1 -0
- package/dist/components/SplitButton/SplitButton.d.ts +27 -0
- package/dist/components/SplitButton/index.d.ts +2 -0
- package/dist/components/Stack/Stack.d.ts +1 -1
- package/dist/components/Stepper/Stepper.d.ts +20 -0
- package/dist/components/Stepper/index.d.ts +2 -0
- package/dist/components/Switch/Switch.d.ts +3 -3
- package/dist/components/Table/Table.d.ts +20 -0
- package/dist/components/Table/index.d.ts +1 -0
- package/dist/components/Text/Text.d.ts +14 -7
- package/dist/components/Text/index.d.ts +1 -1
- package/dist/components/Textarea/Textarea.d.ts +5 -2
- package/dist/components/Textarea/index.d.ts +1 -0
- package/dist/components/Toast/Toast.d.ts +16 -16
- package/dist/components/Toast/index.d.ts +1 -0
- package/dist/components/Toggle/Toggle.d.ts +6 -5
- package/dist/components/ToggleGroup/ToggleGroup.d.ts +9 -6
- package/dist/components/Toolbar/Toolbar.d.ts +6 -7
- package/dist/components/Tooltip/Tooltip.d.ts +12 -10
- package/dist/icons/demo/Icons.d.ts +10 -10
- package/dist/icons/ui/Icons.d.ts +17 -13
- package/dist/icons/ui/index.d.ts +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +9 -0
- package/dist/index.js +2793 -2058
- package/package.json +4 -4
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { Dialog as DialogPrimitive } from '@base-ui/react/dialog';
|
|
2
2
|
import { ComponentProps } from 'react';
|
|
3
3
|
declare const createDialogHandle: typeof DialogPrimitive.createHandle;
|
|
4
|
-
declare function Dialog<Payload = unknown>({ modal, ...props }: DialogPrimitive.Root.Props<Payload>): import("react
|
|
5
|
-
declare function DialogTrigger({ className, render, ...props }: DialogPrimitive.Trigger.Props): import("react
|
|
6
|
-
declare function DialogPortal({ className, ...props }: DialogPrimitive.Portal.Props): import("react
|
|
7
|
-
declare function DialogBackdrop({ className, ...props }: DialogPrimitive.Backdrop.Props): import("react
|
|
8
|
-
declare function DialogViewport({ className, ...props }: DialogPrimitive.Viewport.Props): import("react
|
|
9
|
-
declare function DialogPopup({ className, ...props }: DialogPrimitive.Popup.Props): import("react
|
|
10
|
-
declare function DialogTitle({ className, ...props }: DialogPrimitive.Title.Props): import("react
|
|
11
|
-
declare function DialogDescription({ className, ...props }: DialogPrimitive.Description.Props): import("react
|
|
12
|
-
declare function DialogClose({ className, ...props }: DialogPrimitive.Close.Props): import("react
|
|
13
|
-
declare function DialogCloseIcon({ className, children, 'aria-label': ariaLabel, render, ...props }: DialogPrimitive.Close.Props): import("react
|
|
14
|
-
declare function DialogContent({ className, children, ...props }: DialogPrimitive.Popup.Props): import("react
|
|
15
|
-
declare function DialogHeader({ className, ...props }: ComponentProps<'div'>): import("react
|
|
16
|
-
declare function DialogFooter({ className, ...props }: ComponentProps<'div'>): import("react
|
|
17
|
-
declare function DialogBody({ className, ...props }: ComponentProps<'div'>): import("react
|
|
4
|
+
declare function Dialog<Payload = unknown>({ modal, ...props }: DialogPrimitive.Root.Props<Payload>): import("react").JSX.Element;
|
|
5
|
+
declare function DialogTrigger({ className, render, ...props }: DialogPrimitive.Trigger.Props): import("react").JSX.Element;
|
|
6
|
+
declare function DialogPortal({ className, ...props }: DialogPrimitive.Portal.Props): import("react").JSX.Element;
|
|
7
|
+
declare function DialogBackdrop({ className, ...props }: DialogPrimitive.Backdrop.Props): import("react").JSX.Element;
|
|
8
|
+
declare function DialogViewport({ className, ...props }: DialogPrimitive.Viewport.Props): import("react").JSX.Element;
|
|
9
|
+
declare function DialogPopup({ className, ...props }: DialogPrimitive.Popup.Props): import("react").JSX.Element;
|
|
10
|
+
declare function DialogTitle({ className, ...props }: DialogPrimitive.Title.Props): import("react").JSX.Element;
|
|
11
|
+
declare function DialogDescription({ className, ...props }: DialogPrimitive.Description.Props): import("react").JSX.Element;
|
|
12
|
+
declare function DialogClose({ className, ...props }: DialogPrimitive.Close.Props): import("react").JSX.Element;
|
|
13
|
+
declare function DialogCloseIcon({ className, children, 'aria-label': ariaLabel, render, ...props }: DialogPrimitive.Close.Props): import("react").JSX.Element;
|
|
14
|
+
declare function DialogContent({ className, children, ...props }: DialogPrimitive.Popup.Props): import("react").JSX.Element;
|
|
15
|
+
declare function DialogHeader({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
16
|
+
declare function DialogFooter({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
17
|
+
declare function DialogBody({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
18
18
|
export { Dialog, createDialogHandle, DialogTrigger, DialogPortal, DialogBackdrop, DialogViewport, DialogPopup, DialogTitle, DialogDescription, DialogClose, DialogCloseIcon, DialogContent, DialogHeader, DialogBody, DialogFooter, };
|
|
@@ -1,27 +1,28 @@
|
|
|
1
1
|
import { Drawer as DrawerPrimitive } from '@base-ui/react/drawer';
|
|
2
2
|
import { ComponentProps } from 'react';
|
|
3
|
-
declare function Drawer<Payload = unknown>({ modal, ...props }: DrawerPrimitive.Root.Props<Payload>): import("react
|
|
3
|
+
declare function Drawer<Payload = unknown>({ modal, ...props }: DrawerPrimitive.Root.Props<Payload>): import("react").JSX.Element;
|
|
4
4
|
declare const DrawerProvider: typeof DrawerPrimitive.Provider;
|
|
5
5
|
declare const createDrawerHandle: typeof DrawerPrimitive.createHandle;
|
|
6
|
-
declare function DrawerIndent({ className, ...props }: DrawerPrimitive.Indent.Props): import("react
|
|
7
|
-
declare function DrawerIndentBackground({ className, ...props }: DrawerPrimitive.IndentBackground.Props): import("react
|
|
8
|
-
declare function DrawerTrigger({ className, render, ...props }: DrawerPrimitive.Trigger.Props): import("react
|
|
9
|
-
declare function DrawerSwipeArea({ className, ...props }: DrawerPrimitive.SwipeArea.Props): import("react
|
|
10
|
-
declare function DrawerPortal({ className, ...props }: DrawerPrimitive.Portal.Props): import("react
|
|
11
|
-
declare function DrawerBackdrop({ className, ...props }: DrawerPrimitive.Backdrop.Props): import("react
|
|
12
|
-
declare function DrawerViewport({ className, ...props }: DrawerPrimitive.Viewport.Props): import("react
|
|
13
|
-
declare function DrawerPopup({ className, ...props }: DrawerPrimitive.Popup.Props): import("react
|
|
14
|
-
declare function DrawerHandle({ className, ...props }: ComponentProps<'div'>): import("react
|
|
15
|
-
declare function DrawerContentInner({ className, ...props }: DrawerPrimitive.Content.Props): import("react
|
|
16
|
-
declare function DrawerTitle({ className, ...props }: DrawerPrimitive.Title.Props): import("react
|
|
17
|
-
declare function DrawerDescription({ className, ...props }: DrawerPrimitive.Description.Props): import("react
|
|
18
|
-
declare function DrawerClose({ className, ...props }: DrawerPrimitive.Close.Props): import("react
|
|
19
|
-
declare function
|
|
20
|
-
declare function
|
|
21
|
-
declare function
|
|
6
|
+
declare function DrawerIndent({ className, ...props }: DrawerPrimitive.Indent.Props): import("react").JSX.Element;
|
|
7
|
+
declare function DrawerIndentBackground({ className, ...props }: DrawerPrimitive.IndentBackground.Props): import("react").JSX.Element;
|
|
8
|
+
declare function DrawerTrigger({ className, render, ...props }: DrawerPrimitive.Trigger.Props): import("react").JSX.Element;
|
|
9
|
+
declare function DrawerSwipeArea({ className, ...props }: DrawerPrimitive.SwipeArea.Props): import("react").JSX.Element;
|
|
10
|
+
declare function DrawerPortal({ className, ...props }: DrawerPrimitive.Portal.Props): import("react").JSX.Element;
|
|
11
|
+
declare function DrawerBackdrop({ className, ...props }: DrawerPrimitive.Backdrop.Props): import("react").JSX.Element;
|
|
12
|
+
declare function DrawerViewport({ className, ...props }: DrawerPrimitive.Viewport.Props): import("react").JSX.Element;
|
|
13
|
+
declare function DrawerPopup({ className, ...props }: DrawerPrimitive.Popup.Props): import("react").JSX.Element;
|
|
14
|
+
declare function DrawerHandle({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
15
|
+
declare function DrawerContentInner({ className, ...props }: DrawerPrimitive.Content.Props): import("react").JSX.Element;
|
|
16
|
+
declare function DrawerTitle({ className, ...props }: DrawerPrimitive.Title.Props): import("react").JSX.Element;
|
|
17
|
+
declare function DrawerDescription({ className, ...props }: DrawerPrimitive.Description.Props): import("react").JSX.Element;
|
|
18
|
+
declare function DrawerClose({ className, ...props }: DrawerPrimitive.Close.Props): import("react").JSX.Element;
|
|
19
|
+
declare function DrawerCloseIcon({ className, children, 'aria-label': ariaLabel, render, ...props }: DrawerPrimitive.Close.Props): import("react").JSX.Element;
|
|
20
|
+
declare function DrawerHeader({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
21
|
+
declare function DrawerBody({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
22
|
+
declare function DrawerFooter({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
22
23
|
declare function DrawerContent({ snapLayout, disableInitialAnimation, variant, className, children, ...props }: DrawerPrimitive.Popup.Props & {
|
|
23
24
|
snapLayout?: boolean;
|
|
24
25
|
disableInitialAnimation?: boolean;
|
|
25
26
|
variant?: 'default' | 'island';
|
|
26
|
-
}): import("react
|
|
27
|
-
export { Drawer, DrawerProvider, createDrawerHandle, DrawerIndent, DrawerIndentBackground, DrawerTrigger, DrawerSwipeArea, DrawerPortal, DrawerBackdrop, DrawerViewport, DrawerPopup, DrawerHandle, DrawerContentInner, DrawerTitle, DrawerDescription, DrawerClose, DrawerHeader, DrawerBody, DrawerFooter, DrawerContent, };
|
|
27
|
+
}): import("react").JSX.Element;
|
|
28
|
+
export { Drawer, DrawerProvider, createDrawerHandle, DrawerIndent, DrawerIndentBackground, DrawerTrigger, DrawerSwipeArea, DrawerPortal, DrawerBackdrop, DrawerViewport, DrawerPopup, DrawerHandle, DrawerContentInner, DrawerTitle, DrawerDescription, DrawerClose, DrawerCloseIcon, DrawerHeader, DrawerBody, DrawerFooter, DrawerContent, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Drawer, DrawerProvider, createDrawerHandle, DrawerIndent, DrawerIndentBackground, DrawerTrigger, DrawerSwipeArea, DrawerPortal, DrawerBackdrop, DrawerViewport, DrawerPopup, DrawerHandle, DrawerContentInner, DrawerTitle, DrawerDescription, DrawerClose, DrawerHeader, DrawerBody, DrawerFooter, DrawerContent, } from './Drawer';
|
|
1
|
+
export { Drawer, DrawerProvider, createDrawerHandle, DrawerIndent, DrawerIndentBackground, DrawerTrigger, DrawerSwipeArea, DrawerPortal, DrawerBackdrop, DrawerViewport, DrawerPopup, DrawerHandle, DrawerContentInner, DrawerTitle, DrawerDescription, DrawerClose, DrawerCloseIcon, DrawerHeader, DrawerBody, DrawerFooter, DrawerContent, } from './Drawer';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ComponentProps, ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
type EmptyTitleElement = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
3
|
+
declare function Empty({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
4
|
+
declare function EmptyIcon({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
5
|
+
declare function EmptyContent({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
6
|
+
declare function EmptyTitle({ as: Root, className, ...props }: ComponentPropsWithoutRef<'h3'> & {
|
|
7
|
+
as?: EmptyTitleElement;
|
|
8
|
+
}): import("react").JSX.Element;
|
|
9
|
+
declare function EmptyDescription({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
10
|
+
declare function EmptyActions({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
11
|
+
export { Empty, EmptyIcon, EmptyContent, EmptyTitle, EmptyDescription, EmptyActions };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Empty, EmptyActions, EmptyContent, EmptyDescription, EmptyIcon, EmptyTitle, } from './Empty';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Field as FieldPrimitive } from '@base-ui/react/field';
|
|
2
|
-
declare function Field({ className, ...props }: FieldPrimitive.Root.Props): import("react
|
|
3
|
-
declare function FieldItem({ className, ...props }: FieldPrimitive.Item.Props): import("react
|
|
4
|
-
declare function FieldLabel({ className, ...props }: FieldPrimitive.Label.Props): import("react
|
|
5
|
-
declare function FieldControl({ className, ...props }: FieldPrimitive.Control.Props): import("react
|
|
6
|
-
declare function FieldDescription({ className, ...props }: FieldPrimitive.Description.Props): import("react
|
|
7
|
-
declare function FieldError({ className, ...props }: FieldPrimitive.Error.Props): import("react
|
|
2
|
+
declare function Field({ className, ...props }: FieldPrimitive.Root.Props): import("react").JSX.Element;
|
|
3
|
+
declare function FieldItem({ className, ...props }: FieldPrimitive.Item.Props): import("react").JSX.Element;
|
|
4
|
+
declare function FieldLabel({ className, ...props }: FieldPrimitive.Label.Props): import("react").JSX.Element;
|
|
5
|
+
declare function FieldControl({ className, ...props }: FieldPrimitive.Control.Props): import("react").JSX.Element;
|
|
6
|
+
declare function FieldDescription({ className, ...props }: FieldPrimitive.Description.Props): import("react").JSX.Element;
|
|
7
|
+
declare function FieldError({ className, ...props }: FieldPrimitive.Error.Props): import("react").JSX.Element;
|
|
8
8
|
declare const FieldValidity: import('react').FC<import('@base-ui/react').FieldValidityProps>;
|
|
9
9
|
export { Field, FieldItem, FieldLabel, FieldControl, FieldDescription, FieldError, FieldValidity };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Fieldset as FieldsetPrimitive } from '@base-ui/react/fieldset';
|
|
2
|
-
declare function Fieldset({ className, ...props }: FieldsetPrimitive.Root.Props): import("react
|
|
3
|
-
declare function FieldsetLegend({ className, ...props }: FieldsetPrimitive.Legend.Props): import("react
|
|
2
|
+
declare function Fieldset({ className, ...props }: FieldsetPrimitive.Root.Props): import("react").JSX.Element;
|
|
3
|
+
declare function FieldsetLegend({ className, ...props }: FieldsetPrimitive.Legend.Props): import("react").JSX.Element;
|
|
4
4
|
export { Fieldset, FieldsetLegend };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { Form as FormPrimitive } from '@base-ui/react/form';
|
|
2
|
-
declare
|
|
2
|
+
declare const Form: import('react').ForwardRefExoticComponent<Omit<FormPrimitive.Props<Record<string, any>>, "ref"> & import('react').RefAttributes<HTMLFormElement>>;
|
|
3
3
|
export { Form };
|
|
@@ -9,9 +9,12 @@ declare const defaultSizeByElement: {
|
|
|
9
9
|
};
|
|
10
10
|
type HeadingLevel = keyof typeof defaultSizeByElement;
|
|
11
11
|
type HeadingSize = (typeof defaultSizeByElement)[HeadingLevel];
|
|
12
|
-
|
|
12
|
+
type HeadingWeight = 'regular' | 'medium' | 'semibold' | 'bold';
|
|
13
|
+
type HeadingProps = ComponentPropsWithoutRef<HeadingLevel> & {
|
|
13
14
|
as?: HeadingLevel;
|
|
14
15
|
size?: HeadingSize;
|
|
15
|
-
weight?:
|
|
16
|
-
}
|
|
16
|
+
weight?: HeadingWeight;
|
|
17
|
+
};
|
|
18
|
+
declare function Heading({ as, size, weight, className, ...props }: HeadingProps): import("react").JSX.Element;
|
|
17
19
|
export { Heading };
|
|
20
|
+
export type { HeadingLevel, HeadingProps, HeadingSize, HeadingWeight };
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { ComponentProps } from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
import { Input as InputPrimitive } from '@base-ui/react/input';
|
|
3
|
+
type InputSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
4
|
+
type InputProps = Omit<InputPrimitive.Props, 'size'> & {
|
|
5
|
+
size?: InputSize;
|
|
6
|
+
htmlSize?: ComponentProps<'input'>['size'];
|
|
7
|
+
};
|
|
8
|
+
declare const Input: import('react').ForwardRefExoticComponent<Omit<InputProps, "ref"> & import('react').RefAttributes<HTMLElement>>;
|
|
7
9
|
export { Input };
|
|
10
|
+
export type { InputProps, InputSize };
|
|
@@ -3,14 +3,8 @@ import { Input } from '../Input';
|
|
|
3
3
|
declare const InputGroup: import('react').ForwardRefExoticComponent<Omit<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & {
|
|
4
4
|
size?: ComponentProps<typeof Input>["size"];
|
|
5
5
|
}, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
6
|
-
declare const InputGroupInput: import('react').ForwardRefExoticComponent<Omit<Omit<
|
|
7
|
-
size?: "xs" | "sm" | "md" | "lg" | "xl";
|
|
8
|
-
htmlSize?: ComponentProps<"input">["size"];
|
|
9
|
-
}, "ref"> & import('react').RefAttributes<HTMLElement>, "ref"> & import('react').RefAttributes<HTMLElement>>;
|
|
6
|
+
declare const InputGroupInput: import('react').ForwardRefExoticComponent<Omit<Omit<import('../Input').InputProps, "ref"> & import('react').RefAttributes<HTMLElement>, "ref"> & import('react').RefAttributes<HTMLElement>>;
|
|
10
7
|
declare const InputGroupAddon: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & import('react').RefAttributes<HTMLSpanElement>>;
|
|
11
8
|
declare const InputGroupText: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & import('react').RefAttributes<HTMLSpanElement>>;
|
|
12
|
-
declare const InputGroupButton: import('react').ForwardRefExoticComponent<Omit<Omit<import('
|
|
13
|
-
variant?: "default" | "outline" | "secondary" | "destructive" | "destructive-outline" | "ghost" | "link";
|
|
14
|
-
size?: "xs" | "sm" | "md" | "lg" | "xl" | "icon-sm" | "icon-md" | "icon-lg";
|
|
15
|
-
}, "ref"> & import('react').RefAttributes<HTMLElement>, "ref"> & import('react').RefAttributes<HTMLElement>>;
|
|
9
|
+
declare const InputGroupButton: import('react').ForwardRefExoticComponent<Omit<Omit<import('../Button').ButtonProps, "ref"> & import('react').RefAttributes<HTMLElement>, "ref"> & import('react').RefAttributes<HTMLElement>>;
|
|
16
10
|
export { InputGroup, InputGroupInput, InputGroupAddon, InputGroupText, InputGroupButton };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ComponentPropsWithoutRef } from 'react';
|
|
2
|
-
declare function Kbd({ className, ...props }: ComponentPropsWithoutRef<'kbd'>): import("react
|
|
3
|
-
declare function KbdGroup({ className, ...props }: ComponentPropsWithoutRef<'
|
|
2
|
+
declare function Kbd({ className, ...props }: ComponentPropsWithoutRef<'kbd'>): import("react").JSX.Element;
|
|
3
|
+
declare function KbdGroup({ className, ...props }: ComponentPropsWithoutRef<'kbd'>): import("react").JSX.Element;
|
|
4
4
|
export { Kbd, KbdGroup };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { Dialog as DialogPrimitive } from '@base-ui/react/dialog';
|
|
2
2
|
import { ComponentProps, RefObject } from 'react';
|
|
3
3
|
declare const createLightboxHandle: typeof DialogPrimitive.createHandle;
|
|
4
|
-
declare function Lightbox<Payload = unknown>(props: DialogPrimitive.Root.Props<Payload>): import("react
|
|
5
|
-
declare function LightboxTrigger({ className, render, ...props }: DialogPrimitive.Trigger.Props): import("react
|
|
6
|
-
declare function LightboxPortal({ className, ...props }: DialogPrimitive.Portal.Props): import("react
|
|
7
|
-
declare function LightboxBackdrop({ className, ...props }: DialogPrimitive.Backdrop.Props): import("react
|
|
8
|
-
declare function LightboxViewport({ className, ...props }: DialogPrimitive.Viewport.Props): import("react
|
|
9
|
-
declare function LightboxPopup({ className, ...props }: DialogPrimitive.Popup.Props): import("react
|
|
10
|
-
declare function LightboxClose({ className, ...props }: DialogPrimitive.Close.Props): import("react
|
|
11
|
-
declare function LightboxCloseButton({ className, children, 'aria-label': ariaLabel, render, ...props }: DialogPrimitive.Close.Props): import("react
|
|
12
|
-
declare function LightboxFrame({ className, ...props }: ComponentProps<'div'>): import("react
|
|
13
|
-
declare function LightboxImage({ src,
|
|
4
|
+
declare function Lightbox<Payload = unknown>(props: DialogPrimitive.Root.Props<Payload>): import("react").JSX.Element;
|
|
5
|
+
declare function LightboxTrigger({ className, render, ...props }: DialogPrimitive.Trigger.Props): import("react").JSX.Element;
|
|
6
|
+
declare function LightboxPortal({ className, ...props }: DialogPrimitive.Portal.Props): import("react").JSX.Element;
|
|
7
|
+
declare function LightboxBackdrop({ className, ...props }: DialogPrimitive.Backdrop.Props): import("react").JSX.Element;
|
|
8
|
+
declare function LightboxViewport({ className, ...props }: DialogPrimitive.Viewport.Props): import("react").JSX.Element;
|
|
9
|
+
declare function LightboxPopup({ className, ...props }: DialogPrimitive.Popup.Props): import("react").JSX.Element;
|
|
10
|
+
declare function LightboxClose({ className, ...props }: DialogPrimitive.Close.Props): import("react").JSX.Element;
|
|
11
|
+
declare function LightboxCloseButton({ className, children, 'aria-label': ariaLabel, render, ...props }: DialogPrimitive.Close.Props): import("react").JSX.Element;
|
|
12
|
+
declare function LightboxFrame({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
13
|
+
declare function LightboxImage({ src, fullSrc, alt, className, onClick, ...props }: Omit<ComponentProps<'img'>, 'src'> & {
|
|
14
14
|
src: string;
|
|
15
|
-
|
|
16
|
-
}): import("react
|
|
15
|
+
fullSrc?: string;
|
|
16
|
+
}): import("react").JSX.Element;
|
|
17
17
|
declare function LightboxContent({ className, showCloseButton, closeOnContentClick, closeLabel, children, ...props }: DialogPrimitive.Popup.Props & {
|
|
18
18
|
showCloseButton?: boolean;
|
|
19
19
|
closeLabel?: string;
|
|
20
20
|
closeOnContentClick?: boolean;
|
|
21
|
-
}): import("react
|
|
21
|
+
}): import("react").JSX.Element;
|
|
22
22
|
declare function LightboxGallery({ selector, rootRef, rootSelector, className, closeLabel, showCloseButton, closeOnContentClick, }: {
|
|
23
23
|
selector?: string;
|
|
24
24
|
rootRef?: RefObject<HTMLElement | null>;
|
|
@@ -27,5 +27,5 @@ declare function LightboxGallery({ selector, rootRef, rootSelector, className, c
|
|
|
27
27
|
closeLabel?: string;
|
|
28
28
|
showCloseButton?: boolean;
|
|
29
29
|
closeOnContentClick?: boolean;
|
|
30
|
-
}): import("react
|
|
30
|
+
}): import("react").JSX.Element;
|
|
31
31
|
export { Lightbox, createLightboxHandle, LightboxTrigger, LightboxPortal, LightboxBackdrop, LightboxViewport, LightboxPopup, LightboxContent, LightboxClose, LightboxCloseButton, LightboxFrame, LightboxImage, LightboxGallery, };
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import { ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
type ListAs = 'ul' | 'ol';
|
|
3
|
+
type ListMarker = 'none' | 'disc' | 'decimal';
|
|
4
|
+
type ListGap = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
5
|
+
type ListSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
6
|
+
type ListTone = 'default' | 'muted' | 'subtle' | 'primary' | 'destructive';
|
|
2
7
|
type ListOwnProps = {
|
|
3
|
-
as?:
|
|
4
|
-
marker?:
|
|
5
|
-
gap?:
|
|
6
|
-
size?:
|
|
7
|
-
tone?:
|
|
8
|
+
as?: ListAs;
|
|
9
|
+
marker?: ListMarker;
|
|
10
|
+
gap?: ListGap;
|
|
11
|
+
size?: ListSize;
|
|
12
|
+
tone?: ListTone;
|
|
8
13
|
};
|
|
9
14
|
type UnorderedListProps = ListOwnProps & ComponentPropsWithoutRef<'ul'> & {
|
|
10
15
|
as?: 'ul';
|
|
@@ -12,6 +17,9 @@ type UnorderedListProps = ListOwnProps & ComponentPropsWithoutRef<'ul'> & {
|
|
|
12
17
|
type OrderedListProps = ListOwnProps & ComponentPropsWithoutRef<'ol'> & {
|
|
13
18
|
as: 'ol';
|
|
14
19
|
};
|
|
15
|
-
|
|
16
|
-
|
|
20
|
+
type ListProps = UnorderedListProps | OrderedListProps;
|
|
21
|
+
type ListItemProps = ComponentPropsWithoutRef<'li'>;
|
|
22
|
+
declare function List({ as, marker, gap, size, tone, className, role, ...props }: ListProps): import("react").JSX.Element;
|
|
23
|
+
declare function ListItem({ className, ...props }: ListItemProps): import("react").JSX.Element;
|
|
17
24
|
export { List, ListItem };
|
|
25
|
+
export type { ListAs, ListGap, ListItemProps, ListMarker, ListProps, ListSize, ListTone };
|
|
@@ -1,42 +1,44 @@
|
|
|
1
1
|
import { ComponentProps } from 'react';
|
|
2
2
|
import { Menu as MenuPrimitive } from '@base-ui/react/menu';
|
|
3
|
-
type MenuPositionerProps = Pick<MenuPrimitive.Positioner.Props, 'side' | 'sideOffset' | 'align' | 'alignOffset' | 'arrowPadding' | 'collisionAvoidance' | 'collisionBoundary' | 'collisionPadding'>;
|
|
4
|
-
type
|
|
5
|
-
type MenuContentProps = MenuPrimitive.Popup.Props & MenuPositionerProps & {
|
|
3
|
+
export type MenuPositionerProps = Pick<MenuPrimitive.Positioner.Props, 'side' | 'sideOffset' | 'align' | 'alignOffset' | 'arrowPadding' | 'collisionAvoidance' | 'collisionBoundary' | 'collisionPadding'>;
|
|
4
|
+
export type MenuIndicatorPosition = 'start' | 'end';
|
|
5
|
+
export type MenuContentProps = MenuPrimitive.Popup.Props & MenuPositionerProps & {
|
|
6
6
|
showArrow?: boolean;
|
|
7
7
|
};
|
|
8
|
-
|
|
8
|
+
export type MenuRadioItemProps = MenuPrimitive.RadioItem.Props & {
|
|
9
|
+
indicator?: MenuIndicatorPosition;
|
|
10
|
+
};
|
|
11
|
+
export type MenuCheckboxItemProps = MenuPrimitive.CheckboxItem.Props & {
|
|
12
|
+
indicator?: MenuIndicatorPosition;
|
|
13
|
+
};
|
|
14
|
+
declare const Menu: <Payload>(props: MenuPrimitive.Root.Props<Payload>) => import("react").JSX.Element;
|
|
9
15
|
declare const MenuSubmenu: typeof MenuPrimitive.SubmenuRoot;
|
|
10
16
|
declare const createMenuHandle: typeof MenuPrimitive.createHandle;
|
|
11
|
-
declare function MenuTrigger({ className, render, ...props }: MenuPrimitive.Trigger.Props): import("react
|
|
12
|
-
declare function MenuTriggerIcon({ className, children, ...props }: ComponentProps<'span'>): import("react
|
|
13
|
-
declare function MenuPortal(props: MenuPrimitive.Portal.Props): import("react
|
|
14
|
-
declare function MenuBackdrop({ className, ...props }: MenuPrimitive.Backdrop.Props): import("react
|
|
15
|
-
declare function MenuPositioner({ className, ...props }: MenuPrimitive.Positioner.Props): import("react
|
|
16
|
-
declare function MenuPopup({ className, ...props }: MenuPrimitive.Popup.Props): import("react
|
|
17
|
-
declare function MenuArrow({ className, children, ...props }: MenuPrimitive.Arrow.Props): import("react
|
|
18
|
-
declare function MenuViewport({ className, ...props }: MenuPrimitive.Viewport.Props): import("react
|
|
19
|
-
declare function MenuContent({ className, children, showArrow, side, sideOffset, align, alignOffset, arrowPadding, collisionAvoidance, collisionBoundary, collisionPadding, ...props }: MenuContentProps): import("react
|
|
20
|
-
declare function MenuSubmenuContent({ sideOffset, alignOffset, ...props }: MenuContentProps): import("react
|
|
21
|
-
declare function MenuItem({ className, ...props }: MenuPrimitive.Item.Props): import("react
|
|
22
|
-
declare function MenuLinkItem({ className, ...props }: MenuPrimitive.LinkItem.Props): import("react
|
|
23
|
-
declare function MenuSeparator({ className, ...props }: MenuPrimitive.Separator.Props): import("react
|
|
24
|
-
declare function MenuGroup({ className, ...props }: MenuPrimitive.Group.Props): import("react
|
|
25
|
-
declare function MenuGroupLabel({ className, ...props }: MenuPrimitive.GroupLabel.Props): import("react
|
|
26
|
-
declare function MenuSubmenuTrigger({ className, ...props }: MenuPrimitive.SubmenuTrigger.Props): import("react
|
|
27
|
-
declare function MenuSubmenuTriggerIcon({ className, children, ...props }: ComponentProps<'span'>): import("react
|
|
28
|
-
declare function MenuRadioGroup({ className, ...props }: MenuPrimitive.RadioGroup.Props): import("react
|
|
29
|
-
declare function MenuRadioItem({ className, indicator, ...props }:
|
|
30
|
-
|
|
31
|
-
}): import("react
|
|
32
|
-
declare function
|
|
33
|
-
declare function
|
|
34
|
-
|
|
35
|
-
}): import("react
|
|
36
|
-
declare function
|
|
37
|
-
declare function
|
|
38
|
-
declare function MenuItemTextContent({ className, ...props }: ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
|
|
39
|
-
declare function MenuItemTextIcon({ className, ...props }: ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
|
|
40
|
-
declare function MenuItemTextLabel({ className, ...props }: ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
|
|
41
|
-
declare function MenuItemShortcut({ className, ...props }: ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
declare function MenuTrigger({ className, render, ...props }: MenuPrimitive.Trigger.Props): import("react").JSX.Element;
|
|
18
|
+
declare function MenuTriggerIcon({ className, children, ...props }: ComponentProps<'span'>): import("react").JSX.Element;
|
|
19
|
+
declare function MenuPortal(props: MenuPrimitive.Portal.Props): import("react").JSX.Element;
|
|
20
|
+
declare function MenuBackdrop({ className, ...props }: MenuPrimitive.Backdrop.Props): import("react").JSX.Element;
|
|
21
|
+
declare function MenuPositioner({ className, ...props }: MenuPrimitive.Positioner.Props): import("react").JSX.Element;
|
|
22
|
+
declare function MenuPopup({ className, ...props }: MenuPrimitive.Popup.Props): import("react").JSX.Element;
|
|
23
|
+
declare function MenuArrow({ className, children, ...props }: MenuPrimitive.Arrow.Props): import("react").JSX.Element;
|
|
24
|
+
declare function MenuViewport({ className, ...props }: MenuPrimitive.Viewport.Props): import("react").JSX.Element;
|
|
25
|
+
declare function MenuContent({ className, children, showArrow, side, sideOffset, align, alignOffset, arrowPadding, collisionAvoidance, collisionBoundary, collisionPadding, ...props }: MenuContentProps): import("react").JSX.Element;
|
|
26
|
+
declare function MenuSubmenuContent({ sideOffset, alignOffset, ...props }: MenuContentProps): import("react").JSX.Element;
|
|
27
|
+
declare function MenuItem({ className, ...props }: MenuPrimitive.Item.Props): import("react").JSX.Element;
|
|
28
|
+
declare function MenuLinkItem({ className, ...props }: MenuPrimitive.LinkItem.Props): import("react").JSX.Element;
|
|
29
|
+
declare function MenuSeparator({ className, ...props }: MenuPrimitive.Separator.Props): import("react").JSX.Element;
|
|
30
|
+
declare function MenuGroup({ className, ...props }: MenuPrimitive.Group.Props): import("react").JSX.Element;
|
|
31
|
+
declare function MenuGroupLabel({ className, ...props }: MenuPrimitive.GroupLabel.Props): import("react").JSX.Element;
|
|
32
|
+
declare function MenuSubmenuTrigger({ className, ...props }: MenuPrimitive.SubmenuTrigger.Props): import("react").JSX.Element;
|
|
33
|
+
declare function MenuSubmenuTriggerIcon({ className, children, ...props }: ComponentProps<'span'>): import("react").JSX.Element;
|
|
34
|
+
declare function MenuRadioGroup({ className, ...props }: MenuPrimitive.RadioGroup.Props): import("react").JSX.Element;
|
|
35
|
+
declare function MenuRadioItem({ className, indicator, ...props }: MenuRadioItemProps): import("react").JSX.Element;
|
|
36
|
+
declare function MenuRadioItemIndicator({ className, children, ...props }: MenuPrimitive.RadioItemIndicator.Props): import("react").JSX.Element;
|
|
37
|
+
declare function MenuCheckboxItem({ className, indicator, ...props }: MenuCheckboxItemProps): import("react").JSX.Element;
|
|
38
|
+
declare function MenuCheckboxItemIndicator({ className, children, ...props }: MenuPrimitive.CheckboxItemIndicator.Props): import("react").JSX.Element;
|
|
39
|
+
declare function MenuItemText({ className, ...props }: ComponentProps<'span'>): import("react").JSX.Element;
|
|
40
|
+
declare function MenuItemTextContent({ className, ...props }: ComponentProps<'span'>): import("react").JSX.Element;
|
|
41
|
+
declare function MenuItemTextIcon({ className, ...props }: ComponentProps<'span'>): import("react").JSX.Element;
|
|
42
|
+
declare function MenuItemTextLabel({ className, ...props }: ComponentProps<'span'>): import("react").JSX.Element;
|
|
43
|
+
declare function MenuItemShortcut({ className, ...props }: ComponentProps<'span'>): import("react").JSX.Element;
|
|
42
44
|
export { Menu, MenuSubmenu, createMenuHandle, MenuTrigger, MenuTriggerIcon, MenuPortal, MenuBackdrop, MenuPositioner, MenuPopup, MenuArrow, MenuViewport, MenuContent, MenuSubmenuContent, MenuItem, MenuLinkItem, MenuSeparator, MenuGroup, MenuGroupLabel, MenuSubmenuTrigger, MenuSubmenuTriggerIcon, MenuRadioGroup, MenuRadioItem, MenuRadioItemIndicator, MenuCheckboxItem, MenuCheckboxItemIndicator, MenuItemText, MenuItemTextContent, MenuItemTextIcon, MenuItemTextLabel, MenuItemShortcut, };
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
export { Menu, MenuSubmenu, createMenuHandle, MenuTrigger, MenuTriggerIcon, MenuPortal, MenuBackdrop, MenuPositioner, MenuPopup, MenuArrow, MenuViewport, MenuContent, MenuSubmenuContent, MenuItem, MenuLinkItem, MenuSeparator, MenuGroup, MenuGroupLabel, MenuSubmenuTrigger, MenuSubmenuTriggerIcon, MenuRadioGroup, MenuRadioItem, MenuRadioItemIndicator, MenuCheckboxItem, MenuCheckboxItemIndicator, MenuItemText, MenuItemTextContent, MenuItemTextIcon, MenuItemTextLabel, MenuItemShortcut, } from './Menu';
|
|
2
|
+
export type { MenuCheckboxItemProps, MenuContentProps, MenuIndicatorPosition, MenuPositionerProps, MenuRadioItemProps, } from './Menu';
|
|
@@ -1,43 +1,45 @@
|
|
|
1
1
|
import { ComponentProps } from 'react';
|
|
2
2
|
import { Menu as MenuPrimitive } from '@base-ui/react/menu';
|
|
3
3
|
import { Menubar as MenubarPrimitive } from '@base-ui/react/menubar';
|
|
4
|
-
type MenubarPositionerProps = Pick<MenuPrimitive.Positioner.Props, 'side' | 'sideOffset' | 'align' | 'alignOffset' | 'arrowPadding' | 'collisionAvoidance' | 'collisionBoundary' | 'collisionPadding'>;
|
|
5
|
-
type
|
|
6
|
-
type MenubarContentProps = MenuPrimitive.Popup.Props & MenubarPositionerProps & {
|
|
4
|
+
export type MenubarPositionerProps = Pick<MenuPrimitive.Positioner.Props, 'side' | 'sideOffset' | 'align' | 'alignOffset' | 'arrowPadding' | 'collisionAvoidance' | 'collisionBoundary' | 'collisionPadding'>;
|
|
5
|
+
export type MenubarIndicatorPosition = 'start' | 'end';
|
|
6
|
+
export type MenubarContentProps = MenuPrimitive.Popup.Props & MenubarPositionerProps & {
|
|
7
7
|
showArrow?: boolean;
|
|
8
8
|
};
|
|
9
|
-
|
|
9
|
+
export type MenubarRadioItemProps = MenuPrimitive.RadioItem.Props & {
|
|
10
|
+
indicator?: MenubarIndicatorPosition;
|
|
11
|
+
};
|
|
12
|
+
export type MenubarCheckboxItemProps = MenuPrimitive.CheckboxItem.Props & {
|
|
13
|
+
indicator?: MenubarIndicatorPosition;
|
|
14
|
+
};
|
|
15
|
+
declare const MenubarMenu: <Payload>(props: MenuPrimitive.Root.Props<Payload>) => import("react").JSX.Element;
|
|
10
16
|
declare const MenubarSubmenu: typeof MenuPrimitive.SubmenuRoot;
|
|
11
17
|
declare const createMenubarMenuHandle: typeof MenuPrimitive.createHandle;
|
|
12
|
-
declare function Menubar({ className, ...props }: MenubarPrimitive.Props): import("react
|
|
13
|
-
declare function MenubarTrigger({ className, render, ...props }: MenuPrimitive.Trigger.Props): import("react
|
|
14
|
-
declare function MenubarPortal({ className, ...props }: MenuPrimitive.Portal.Props): import("react
|
|
15
|
-
declare function MenubarBackdrop({ className, ...props }: MenuPrimitive.Backdrop.Props): import("react
|
|
16
|
-
declare function MenubarPositioner({ className, ...props }: MenuPrimitive.Positioner.Props): import("react
|
|
17
|
-
declare function MenubarPopup({ className, ...props }: MenuPrimitive.Popup.Props): import("react
|
|
18
|
-
declare function MenubarArrow({ className, children, ...props }: MenuPrimitive.Arrow.Props): import("react
|
|
19
|
-
declare function MenubarViewport({ className, ...props }: MenuPrimitive.Viewport.Props): import("react
|
|
20
|
-
declare function MenubarContent({ className, children, showArrow, side, sideOffset, align, alignOffset, arrowPadding, collisionAvoidance, collisionBoundary, collisionPadding, ...props }: MenubarContentProps): import("react
|
|
21
|
-
declare function MenubarSubmenuContent({ sideOffset, alignOffset, ...props }: MenubarContentProps): import("react
|
|
22
|
-
declare function MenubarItem({ className, ...props }: MenuPrimitive.Item.Props): import("react
|
|
23
|
-
declare function MenubarLinkItem({ className, ...props }: MenuPrimitive.LinkItem.Props): import("react
|
|
24
|
-
declare function MenubarSeparator({ className, ...props }: MenuPrimitive.Separator.Props): import("react
|
|
25
|
-
declare function MenubarGroup({ className, ...props }: MenuPrimitive.Group.Props): import("react
|
|
26
|
-
declare function MenubarGroupLabel({ className, ...props }: MenuPrimitive.GroupLabel.Props): import("react
|
|
27
|
-
declare function MenubarSubmenuTrigger({ className, ...props }: MenuPrimitive.SubmenuTrigger.Props): import("react
|
|
28
|
-
declare function MenubarSubmenuTriggerIcon({ className, children, ...props }: ComponentProps<'span'>): import("react
|
|
29
|
-
declare function MenubarRadioGroup({ className, ...props }: MenuPrimitive.RadioGroup.Props): import("react
|
|
30
|
-
declare function MenubarRadioItem({ className, indicator, ...props }:
|
|
31
|
-
|
|
32
|
-
}): import("react
|
|
33
|
-
declare function
|
|
34
|
-
declare function
|
|
35
|
-
|
|
36
|
-
}): import("react
|
|
37
|
-
declare function
|
|
38
|
-
declare function
|
|
39
|
-
declare function MenubarItemTextContent({ className, ...props }: ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
|
|
40
|
-
declare function MenubarItemTextIcon({ className, ...props }: ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
|
|
41
|
-
declare function MenubarItemTextLabel({ className, ...props }: ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
|
|
42
|
-
declare function MenubarItemShortcut({ className, ...props }: ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
declare function Menubar({ className, ...props }: MenubarPrimitive.Props): import("react").JSX.Element;
|
|
19
|
+
declare function MenubarTrigger({ className, render, ...props }: MenuPrimitive.Trigger.Props): import("react").JSX.Element;
|
|
20
|
+
declare function MenubarPortal({ className, ...props }: MenuPrimitive.Portal.Props): import("react").JSX.Element;
|
|
21
|
+
declare function MenubarBackdrop({ className, ...props }: MenuPrimitive.Backdrop.Props): import("react").JSX.Element;
|
|
22
|
+
declare function MenubarPositioner({ className, ...props }: MenuPrimitive.Positioner.Props): import("react").JSX.Element;
|
|
23
|
+
declare function MenubarPopup({ className, ...props }: MenuPrimitive.Popup.Props): import("react").JSX.Element;
|
|
24
|
+
declare function MenubarArrow({ className, children, ...props }: MenuPrimitive.Arrow.Props): import("react").JSX.Element;
|
|
25
|
+
declare function MenubarViewport({ className, ...props }: MenuPrimitive.Viewport.Props): import("react").JSX.Element;
|
|
26
|
+
declare function MenubarContent({ className, children, showArrow, side, sideOffset, align, alignOffset, arrowPadding, collisionAvoidance, collisionBoundary, collisionPadding, ...props }: MenubarContentProps): import("react").JSX.Element;
|
|
27
|
+
declare function MenubarSubmenuContent({ sideOffset, alignOffset, ...props }: MenubarContentProps): import("react").JSX.Element;
|
|
28
|
+
declare function MenubarItem({ className, ...props }: MenuPrimitive.Item.Props): import("react").JSX.Element;
|
|
29
|
+
declare function MenubarLinkItem({ className, ...props }: MenuPrimitive.LinkItem.Props): import("react").JSX.Element;
|
|
30
|
+
declare function MenubarSeparator({ className, ...props }: MenuPrimitive.Separator.Props): import("react").JSX.Element;
|
|
31
|
+
declare function MenubarGroup({ className, ...props }: MenuPrimitive.Group.Props): import("react").JSX.Element;
|
|
32
|
+
declare function MenubarGroupLabel({ className, ...props }: MenuPrimitive.GroupLabel.Props): import("react").JSX.Element;
|
|
33
|
+
declare function MenubarSubmenuTrigger({ className, ...props }: MenuPrimitive.SubmenuTrigger.Props): import("react").JSX.Element;
|
|
34
|
+
declare function MenubarSubmenuTriggerIcon({ className, children, ...props }: ComponentProps<'span'>): import("react").JSX.Element;
|
|
35
|
+
declare function MenubarRadioGroup({ className, ...props }: MenuPrimitive.RadioGroup.Props): import("react").JSX.Element;
|
|
36
|
+
declare function MenubarRadioItem({ className, indicator, ...props }: MenubarRadioItemProps): import("react").JSX.Element;
|
|
37
|
+
declare function MenubarRadioItemIndicator({ className, children, ...props }: MenuPrimitive.RadioItemIndicator.Props): import("react").JSX.Element;
|
|
38
|
+
declare function MenubarCheckboxItem({ className, indicator, ...props }: MenubarCheckboxItemProps): import("react").JSX.Element;
|
|
39
|
+
declare function MenubarCheckboxItemIndicator({ className, children, ...props }: MenuPrimitive.CheckboxItemIndicator.Props): import("react").JSX.Element;
|
|
40
|
+
declare function MenubarItemText({ className, ...props }: ComponentProps<'span'>): import("react").JSX.Element;
|
|
41
|
+
declare function MenubarItemTextContent({ className, ...props }: ComponentProps<'span'>): import("react").JSX.Element;
|
|
42
|
+
declare function MenubarItemTextIcon({ className, ...props }: ComponentProps<'span'>): import("react").JSX.Element;
|
|
43
|
+
declare function MenubarItemTextLabel({ className, ...props }: ComponentProps<'span'>): import("react").JSX.Element;
|
|
44
|
+
declare function MenubarItemShortcut({ className, ...props }: ComponentProps<'span'>): import("react").JSX.Element;
|
|
43
45
|
export { Menubar, MenubarMenu, MenubarSubmenu, createMenubarMenuHandle, MenubarTrigger, MenubarPortal, MenubarBackdrop, MenubarPositioner, MenubarPopup, MenubarArrow, MenubarViewport, MenubarContent, MenubarSubmenuContent, MenubarItem, MenubarLinkItem, MenubarSeparator, MenubarGroup, MenubarGroupLabel, MenubarSubmenuTrigger, MenubarSubmenuTriggerIcon, MenubarRadioGroup, MenubarRadioItem, MenubarRadioItemIndicator, MenubarCheckboxItem, MenubarCheckboxItemIndicator, MenubarItemText, MenubarItemTextContent, MenubarItemTextIcon, MenubarItemTextLabel, MenubarItemShortcut, };
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
export { Menubar, MenubarMenu, MenubarSubmenu, createMenubarMenuHandle, MenubarTrigger, MenubarPortal, MenubarBackdrop, MenubarPositioner, MenubarPopup, MenubarArrow, MenubarViewport, MenubarContent, MenubarSubmenuContent, MenubarItem, MenubarLinkItem, MenubarSeparator, MenubarGroup, MenubarGroupLabel, MenubarSubmenuTrigger, MenubarSubmenuTriggerIcon, MenubarRadioGroup, MenubarRadioItem, MenubarRadioItemIndicator, MenubarCheckboxItem, MenubarCheckboxItemIndicator, MenubarItemText, MenubarItemTextContent, MenubarItemTextIcon, MenubarItemTextLabel, MenubarItemShortcut, } from './Menubar';
|
|
2
|
+
export type { MenubarPositionerProps, MenubarContentProps, MenubarIndicatorPosition, MenubarRadioItemProps, MenubarCheckboxItemProps, } from './Menubar';
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
declare
|
|
3
|
-
declare
|
|
4
|
-
declare
|
|
5
|
-
declare
|
|
6
|
-
declare
|
|
7
|
-
declare function MeterIndicator({ className, ...props }: MeterPrimitive.Indicator.Props): import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
declare const Meter: import('react').ForwardRefExoticComponent<Omit<import('@base-ui/react').MeterRootProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
2
|
+
declare const MeterRoot: import('react').ForwardRefExoticComponent<Omit<import('@base-ui/react').MeterRootProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
3
|
+
declare const MeterLabel: import('react').ForwardRefExoticComponent<Omit<import('@base-ui/react').MeterLabelProps, "ref"> & import('react').RefAttributes<HTMLSpanElement>>;
|
|
4
|
+
declare const MeterValue: import('react').ForwardRefExoticComponent<Omit<import('@base-ui/react').MeterValueProps, "ref"> & import('react').RefAttributes<HTMLSpanElement>>;
|
|
5
|
+
declare const MeterTrack: import('react').ForwardRefExoticComponent<Omit<import('@base-ui/react').MeterTrackProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
6
|
+
declare const MeterIndicator: import('react').ForwardRefExoticComponent<Omit<import('@base-ui/react').MeterIndicatorProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
8
7
|
export { Meter, MeterRoot, MeterLabel, MeterValue, MeterTrack, MeterIndicator };
|
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { NavigationMenu as NavigationMenuPrimitive } from '@base-ui/react/navigation-menu';
|
|
3
|
-
type NavigationMenuPositionerProps = Pick<NavigationMenuPrimitive.Positioner.Props, 'side' | 'sideOffset' | 'align' | 'alignOffset' | 'arrowPadding' | 'anchor' | 'collisionAvoidance' | 'collisionBoundary' | 'collisionPadding' | 'sticky' | 'positionMethod' | 'disableAnchorTracking'>;
|
|
4
|
-
type NavigationMenuProps = NavigationMenuPrimitive.Root.Props & NavigationMenuPositionerProps & {
|
|
3
|
+
export type NavigationMenuPositionerProps = Pick<NavigationMenuPrimitive.Positioner.Props, 'side' | 'sideOffset' | 'align' | 'alignOffset' | 'arrowPadding' | 'anchor' | 'collisionAvoidance' | 'collisionBoundary' | 'collisionPadding' | 'sticky' | 'positionMethod' | 'disableAnchorTracking'>;
|
|
4
|
+
export type NavigationMenuProps = NavigationMenuPrimitive.Root.Props & NavigationMenuPositionerProps & {
|
|
5
5
|
showArrow?: boolean;
|
|
6
6
|
showPopup?: boolean;
|
|
7
7
|
};
|
|
8
|
-
|
|
9
|
-
declare function NavigationMenuList({ className, ...props }: NavigationMenuPrimitive.List.Props): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
declare function NavigationMenuItem(props: NavigationMenuPrimitive.Item.Props): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
declare function NavigationMenuTrigger({ className, children, icon, ...props }: NavigationMenuPrimitive.Trigger.Props & {
|
|
8
|
+
export type NavigationMenuTriggerProps = NavigationMenuPrimitive.Trigger.Props & {
|
|
12
9
|
icon?: ReactNode;
|
|
13
|
-
}
|
|
14
|
-
declare function
|
|
15
|
-
declare function
|
|
16
|
-
declare function
|
|
17
|
-
declare function
|
|
18
|
-
declare function
|
|
19
|
-
declare function
|
|
20
|
-
declare function
|
|
21
|
-
declare function
|
|
22
|
-
declare function
|
|
10
|
+
};
|
|
11
|
+
declare function NavigationMenu({ className, children, showArrow, showPopup, side, sideOffset, align, alignOffset, arrowPadding, anchor, collisionAvoidance, collisionBoundary, collisionPadding, sticky, positionMethod, disableAnchorTracking, ...props }: NavigationMenuProps): import("react").JSX.Element;
|
|
12
|
+
declare function NavigationMenuList({ className, ...props }: NavigationMenuPrimitive.List.Props): import("react").JSX.Element;
|
|
13
|
+
declare function NavigationMenuItem(props: NavigationMenuPrimitive.Item.Props): import("react").JSX.Element;
|
|
14
|
+
declare function NavigationMenuTrigger({ className, children, icon, render, ...props }: NavigationMenuTriggerProps): import("react").JSX.Element;
|
|
15
|
+
declare function NavigationMenuIcon({ className, children, ...props }: NavigationMenuPrimitive.Icon.Props): import("react").JSX.Element;
|
|
16
|
+
declare function NavigationMenuContent({ className, ...props }: NavigationMenuPrimitive.Content.Props): import("react").JSX.Element;
|
|
17
|
+
declare function NavigationMenuLink({ className, ...props }: NavigationMenuPrimitive.Link.Props): import("react").JSX.Element;
|
|
18
|
+
declare function NavigationMenuPortal({ className, ...props }: NavigationMenuPrimitive.Portal.Props): import("react").JSX.Element;
|
|
19
|
+
declare function NavigationMenuBackdrop({ className, ...props }: NavigationMenuPrimitive.Backdrop.Props): import("react").JSX.Element;
|
|
20
|
+
declare function NavigationMenuPositioner({ className, ...props }: NavigationMenuPrimitive.Positioner.Props): import("react").JSX.Element;
|
|
21
|
+
declare function NavigationMenuPopup({ className, ...props }: NavigationMenuPrimitive.Popup.Props): import("react").JSX.Element;
|
|
22
|
+
declare function NavigationMenuArrow({ className, children, ...props }: NavigationMenuPrimitive.Arrow.Props): import("react").JSX.Element;
|
|
23
|
+
declare function NavigationMenuViewport({ className, ...props }: NavigationMenuPrimitive.Viewport.Props): import("react").JSX.Element;
|
|
23
24
|
export { NavigationMenu, NavigationMenuList, NavigationMenuItem, NavigationMenuTrigger, NavigationMenuIcon, NavigationMenuContent, NavigationMenuLink, NavigationMenuPortal, NavigationMenuBackdrop, NavigationMenuPositioner, NavigationMenuPopup, NavigationMenuArrow, NavigationMenuViewport, };
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
export { NavigationMenu, NavigationMenuList, NavigationMenuItem, NavigationMenuTrigger, NavigationMenuIcon, NavigationMenuContent, NavigationMenuLink, NavigationMenuPortal, NavigationMenuBackdrop, NavigationMenuPositioner, NavigationMenuPopup, NavigationMenuArrow, NavigationMenuViewport, } from './NavigationMenu';
|
|
2
|
+
export type { NavigationMenuPositionerProps, NavigationMenuProps, NavigationMenuTriggerProps, } from './NavigationMenu';
|