moduix 0.5.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/README.md +75 -0
- package/dist/components/Accordion/Accordion.d.ts +19 -0
- package/dist/components/Accordion/index.d.ts +2 -0
- package/dist/components/AlertDialog/AlertDialog.d.ts +31 -0
- package/dist/components/AlertDialog/index.d.ts +2 -0
- package/dist/components/Autocomplete/Autocomplete.d.ts +43 -0
- package/dist/components/Autocomplete/index.d.ts +2 -0
- package/dist/components/Avatar/Avatar.d.ts +12 -0
- package/dist/components/Avatar/index.d.ts +2 -0
- package/dist/components/Bleed/Bleed.d.ts +12 -0
- package/dist/components/Bleed/index.d.ts +1 -0
- package/dist/components/Button/Button.d.ts +17 -0
- package/dist/components/Button/index.d.ts +2 -0
- package/dist/components/Checkbox/Checkbox.d.ts +20 -0
- package/dist/components/Checkbox/index.d.ts +2 -0
- package/dist/components/CheckboxGroup/CheckboxGroup.d.ts +20 -0
- package/dist/components/CheckboxGroup/index.d.ts +2 -0
- package/dist/components/Collapsible/Collapsible.d.ts +16 -0
- package/dist/components/Collapsible/index.d.ts +2 -0
- package/dist/components/Combobox/Combobox.d.ts +53 -0
- package/dist/components/Combobox/index.d.ts +2 -0
- package/dist/components/ContextMenu/ContextMenu.d.ts +66 -0
- package/dist/components/ContextMenu/index.d.ts +2 -0
- package/dist/components/Dialog/Dialog.d.ts +29 -0
- package/dist/components/Dialog/index.d.ts +2 -0
- package/dist/components/Drawer/Drawer.d.ts +47 -0
- package/dist/components/Drawer/index.d.ts +2 -0
- package/dist/components/Field/Field.d.ts +17 -0
- package/dist/components/Field/index.d.ts +2 -0
- package/dist/components/Fieldset/Fieldset.d.ts +7 -0
- package/dist/components/Fieldset/index.d.ts +2 -0
- package/dist/components/Form/Form.d.ts +11 -0
- package/dist/components/Form/index.d.ts +2 -0
- package/dist/components/Heading/Heading.d.ts +13 -0
- package/dist/components/Heading/index.d.ts +1 -0
- package/dist/components/Input/Input.d.ts +9 -0
- package/dist/components/Input/index.d.ts +2 -0
- package/dist/components/List/List.d.ts +18 -0
- package/dist/components/List/index.d.ts +1 -0
- package/dist/components/Menu/Menu.d.ts +55 -0
- package/dist/components/Menu/index.d.ts +2 -0
- package/dist/components/Menubar/Menubar.d.ts +73 -0
- package/dist/components/Menubar/index.d.ts +2 -0
- package/dist/components/Meter/Meter.d.ts +13 -0
- package/dist/components/Meter/index.d.ts +2 -0
- package/dist/components/NavigationMenu/NavigationMenu.d.ts +54 -0
- package/dist/components/NavigationMenu/index.d.ts +2 -0
- package/dist/components/NumberField/NumberField.d.ts +17 -0
- package/dist/components/NumberField/index.d.ts +2 -0
- package/dist/components/OTPField/OTPField.d.ts +9 -0
- package/dist/components/OTPField/index.d.ts +2 -0
- package/dist/components/Popover/Popover.d.ts +48 -0
- package/dist/components/Popover/index.d.ts +2 -0
- package/dist/components/PreviewCard/PreviewCard.d.ts +36 -0
- package/dist/components/PreviewCard/index.d.ts +2 -0
- package/dist/components/Progress/Progress.d.ts +13 -0
- package/dist/components/Progress/index.d.ts +2 -0
- package/dist/components/Radio/Radio.d.ts +33 -0
- package/dist/components/Radio/index.d.ts +2 -0
- package/dist/components/ScrollArea/ScrollArea.d.ts +15 -0
- package/dist/components/ScrollArea/index.d.ts +2 -0
- package/dist/components/Select/Select.d.ts +63 -0
- package/dist/components/Select/index.d.ts +2 -0
- package/dist/components/Separator/Separator.d.ts +5 -0
- package/dist/components/Separator/index.d.ts +2 -0
- package/dist/components/Skeleton/Skeleton.d.ts +34 -0
- package/dist/components/Skeleton/index.d.ts +1 -0
- package/dist/components/Slider/Slider.d.ts +18 -0
- package/dist/components/Slider/index.d.ts +2 -0
- package/dist/components/Switch/Switch.d.ts +13 -0
- package/dist/components/Switch/index.d.ts +2 -0
- package/dist/components/Tabs/Tabs.d.ts +25 -0
- package/dist/components/Tabs/index.d.ts +2 -0
- package/dist/components/Text/Text.d.ts +15 -0
- package/dist/components/Text/index.d.ts +1 -0
- package/dist/components/Toast/Toast.d.ts +65 -0
- package/dist/components/Toast/index.d.ts +2 -0
- package/dist/components/Toggle/Toggle.d.ts +13 -0
- package/dist/components/Toggle/index.d.ts +2 -0
- package/dist/components/ToggleGroup/ToggleGroup.d.ts +17 -0
- package/dist/components/ToggleGroup/index.d.ts +2 -0
- package/dist/components/Toolbar/Toolbar.d.ts +20 -0
- package/dist/components/Toolbar/index.d.ts +2 -0
- package/dist/components/Tooltip/Tooltip.d.ts +33 -0
- package/dist/components/Tooltip/index.d.ts +2 -0
- package/dist/index.cjs +1 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +43 -0
- package/dist/index.js +4439 -0
- package/dist/primitives/CloseButton/CloseButton.d.ts +12 -0
- package/dist/primitives/CloseButton/index.d.ts +1 -0
- package/dist/primitives/Icons/Icons.d.ts +35 -0
- package/dist/primitives/Icons/index.d.ts +1 -0
- package/dist/primitives/index.d.ts +2 -0
- package/dist/reset.css +334 -0
- package/dist/utils/mergeClassName.d.ts +4 -0
- package/package.json +68 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Form as FormPrimitive } from '@base-ui/react/form';
|
|
2
|
+
declare function Form<FormValues extends Record<string, any> = Record<string, any>>({ className, ...props }: FormProps<FormValues>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
type FormProps<FormValues extends Record<string, any> = Record<string, any>> = FormPrimitive.Props<FormValues>;
|
|
4
|
+
type FormState = FormPrimitive.State;
|
|
5
|
+
type FormActions = FormPrimitive.Actions;
|
|
6
|
+
type FormValidationMode = FormPrimitive.ValidationMode;
|
|
7
|
+
type FormSubmitEventReason = FormPrimitive.SubmitEventReason;
|
|
8
|
+
type FormSubmitEventDetails = FormPrimitive.SubmitEventDetails;
|
|
9
|
+
type FormValues<FormValues extends Record<string, any> = Record<string, any>> = FormPrimitive.Values<FormValues>;
|
|
10
|
+
export { Form };
|
|
11
|
+
export type { FormProps, FormState, FormActions, FormValidationMode, FormSubmitEventReason, FormSubmitEventDetails, FormValues, };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
type HeadingAs = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
3
|
+
type HeadingSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
4
|
+
type HeadingWeight = 'regular' | 'medium' | 'semibold' | 'bold';
|
|
5
|
+
type HeadingAlign = 'left' | 'center' | 'right';
|
|
6
|
+
type HeadingProps = React.ComponentProps<'h1'> & {
|
|
7
|
+
as?: HeadingAs;
|
|
8
|
+
size?: HeadingSize;
|
|
9
|
+
weight?: HeadingWeight;
|
|
10
|
+
align?: HeadingAlign;
|
|
11
|
+
};
|
|
12
|
+
export declare function Heading({ as, size, weight, align, className, children, ...props }: HeadingProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export { type HeadingProps, type HeadingAs, type HeadingSize, type HeadingWeight, type HeadingAlign, };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Heading';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Input as InputPrimitive } from '@base-ui/react/input';
|
|
2
|
+
type InputSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
3
|
+
type InputProps = Omit<InputPrimitive.Props, 'size'> & {
|
|
4
|
+
size?: InputSize;
|
|
5
|
+
htmlSize?: React.ComponentProps<'input'>['size'];
|
|
6
|
+
};
|
|
7
|
+
declare function Input({ className, size, htmlSize, ...props }: InputProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export { Input };
|
|
9
|
+
export type { InputProps };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
type ListAs = 'ul' | 'ol';
|
|
3
|
+
type ListMarker = 'none' | 'disc' | 'decimal' | 'bullet';
|
|
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';
|
|
7
|
+
type ListProps = React.ComponentProps<'ul'> & React.ComponentProps<'ol'> & {
|
|
8
|
+
as?: ListAs;
|
|
9
|
+
marker?: ListMarker;
|
|
10
|
+
gap?: ListGap;
|
|
11
|
+
size?: ListSize;
|
|
12
|
+
tone?: ListTone;
|
|
13
|
+
};
|
|
14
|
+
type ListItemProps = React.ComponentProps<'li'>;
|
|
15
|
+
declare function List({ as, marker, gap, size, tone, className, ...props }: ListProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
declare function ListItem({ className, ...props }: ListItemProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export { List, ListItem };
|
|
18
|
+
export type { ListProps, ListItemProps, ListAs, ListMarker, ListGap, ListSize, ListTone };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './List';
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { Menu as MenuPrimitive } from '@base-ui/react/menu';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
type MenuContentProps = MenuPrimitive.Popup.Props & Pick<MenuPrimitive.Positioner.Props, 'side' | 'sideOffset' | 'align' | 'alignOffset' | 'anchor' | 'collisionAvoidance' | 'collisionPadding' | 'sticky'> & {
|
|
4
|
+
portalClassName?: MenuPrimitive.Portal.Props['className'];
|
|
5
|
+
positionerClassName?: MenuPrimitive.Positioner.Props['className'];
|
|
6
|
+
portalProps?: Omit<MenuPrimitive.Portal.Props, 'className' | 'children'>;
|
|
7
|
+
};
|
|
8
|
+
type IndicatorPosition = 'start' | 'end';
|
|
9
|
+
type MenuRadioItemProps = MenuPrimitive.RadioItem.Props & {
|
|
10
|
+
indicator?: IndicatorPosition;
|
|
11
|
+
};
|
|
12
|
+
type MenuCheckboxItemProps = MenuPrimitive.CheckboxItem.Props & {
|
|
13
|
+
indicator?: IndicatorPosition;
|
|
14
|
+
};
|
|
15
|
+
declare const Menu: <Payload>(props: MenuPrimitive.Root.Props<Payload>) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
declare const MenuSubmenu: typeof MenuPrimitive.SubmenuRoot;
|
|
17
|
+
declare const createMenuHandle: typeof MenuPrimitive.createHandle;
|
|
18
|
+
declare function MenuTrigger({ className, render, ...props }: MenuPrimitive.Trigger.Props): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
declare function MenuTriggerIcon({ className, children, ...props }: React.ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
declare function MenuPortal({ className, ...props }: MenuPrimitive.Portal.Props): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
declare function MenuBackdrop({ className, ...props }: MenuPrimitive.Backdrop.Props): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
declare function MenuPositioner({ className, ...props }: MenuPrimitive.Positioner.Props): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
declare function MenuPopup({ className, ...props }: MenuPrimitive.Popup.Props): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
declare function MenuArrow({ className, children, ...props }: MenuPrimitive.Arrow.Props): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
declare function MenuViewport({ className, ...props }: MenuPrimitive.Viewport.Props): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
declare function MenuContent({ className, portalClassName, positionerClassName, portalProps, side, sideOffset, align, alignOffset, anchor, collisionAvoidance, collisionPadding, sticky, ...props }: MenuContentProps): import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
declare function MenuSubmenuContent({ sideOffset, alignOffset, ...props }: MenuContentProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
declare function MenuItem({ className, ...props }: MenuPrimitive.Item.Props): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
declare function MenuLinkItem({ className, ...props }: MenuPrimitive.LinkItem.Props): import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
declare function MenuSeparator({ className, ...props }: MenuPrimitive.Separator.Props): import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
declare function MenuGroup({ className, ...props }: MenuPrimitive.Group.Props): import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
declare function MenuGroupLabel({ className, ...props }: MenuPrimitive.GroupLabel.Props): import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
declare function MenuSubmenuTrigger({ className, ...props }: MenuPrimitive.SubmenuTrigger.Props): import("react/jsx-runtime").JSX.Element;
|
|
34
|
+
declare function MenuSubmenuTriggerIcon({ className, children, ...props }: React.ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
|
|
35
|
+
declare function MenuRadioGroup({ className, ...props }: MenuPrimitive.RadioGroup.Props): import("react/jsx-runtime").JSX.Element;
|
|
36
|
+
declare function MenuRadioItem({ className, indicator, ...props }: MenuRadioItemProps): import("react/jsx-runtime").JSX.Element;
|
|
37
|
+
declare function MenuRadioItemIndicator({ className, children, ...props }: MenuPrimitive.RadioItemIndicator.Props): import("react/jsx-runtime").JSX.Element;
|
|
38
|
+
declare function MenuCheckboxItem({ className, indicator, ...props }: MenuCheckboxItemProps): import("react/jsx-runtime").JSX.Element;
|
|
39
|
+
declare function MenuCheckboxItemIndicator({ className, children, ...props }: MenuPrimitive.CheckboxItemIndicator.Props): import("react/jsx-runtime").JSX.Element;
|
|
40
|
+
declare function MenuItemText({ className, ...props }: React.ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
declare function MenuItemTextContent({ className, ...props }: React.ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
|
|
42
|
+
declare function MenuItemTextIcon({ className, ...props }: React.ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
|
|
43
|
+
declare function MenuItemTextLabel({ className, ...props }: React.ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
|
|
44
|
+
declare function MenuItemShortcut({ className, ...props }: React.ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
|
|
45
|
+
type MenuProps<Payload = unknown> = MenuPrimitive.Root.Props<Payload>;
|
|
46
|
+
type MenuHandle<Payload = unknown> = MenuPrimitive.Handle<Payload>;
|
|
47
|
+
type MenuTriggerProps = MenuPrimitive.Trigger.Props;
|
|
48
|
+
type MenuItemProps = MenuPrimitive.Item.Props;
|
|
49
|
+
type MenuLinkItemProps = MenuPrimitive.LinkItem.Props;
|
|
50
|
+
type MenuRadioItemPropsPublic = MenuRadioItemProps;
|
|
51
|
+
type MenuCheckboxItemPropsPublic = MenuCheckboxItemProps;
|
|
52
|
+
type MenuSubmenuTriggerProps = MenuPrimitive.SubmenuTrigger.Props;
|
|
53
|
+
type MenuItemShortcutProps = React.ComponentProps<'span'>;
|
|
54
|
+
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, };
|
|
55
|
+
export type { MenuProps, MenuHandle, MenuContentProps, MenuTriggerProps, MenuItemProps, MenuLinkItemProps, MenuRadioItemPropsPublic as MenuRadioItemProps, MenuCheckboxItemPropsPublic as MenuCheckboxItemProps, MenuSubmenuTriggerProps, MenuItemShortcutProps, };
|
|
@@ -0,0 +1,2 @@
|
|
|
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 { MenuProps, MenuHandle, MenuContentProps, MenuTriggerProps, MenuItemProps, MenuLinkItemProps, MenuRadioItemProps, MenuCheckboxItemProps, MenuSubmenuTriggerProps, MenuItemShortcutProps, } from './Menu';
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { Menu as MenuPrimitive } from '@base-ui/react/menu';
|
|
2
|
+
import { Menubar as MenubarPrimitive } from '@base-ui/react/menubar';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
type MenubarContentProps = MenuPrimitive.Popup.Props & Pick<MenuPrimitive.Positioner.Props, 'side' | 'sideOffset' | 'align' | 'alignOffset' | 'anchor' | 'collisionAvoidance' | 'collisionPadding' | 'sticky'> & {
|
|
5
|
+
portalClassName?: MenuPrimitive.Portal.Props['className'];
|
|
6
|
+
positionerClassName?: MenuPrimitive.Positioner.Props['className'];
|
|
7
|
+
portalProps?: Omit<MenuPrimitive.Portal.Props, 'className' | 'children'>;
|
|
8
|
+
};
|
|
9
|
+
type IndicatorPosition = 'start' | 'end';
|
|
10
|
+
type MenubarRadioItemProps = MenuPrimitive.RadioItem.Props & {
|
|
11
|
+
indicator?: IndicatorPosition;
|
|
12
|
+
};
|
|
13
|
+
type MenubarCheckboxItemProps = MenuPrimitive.CheckboxItem.Props & {
|
|
14
|
+
indicator?: IndicatorPosition;
|
|
15
|
+
};
|
|
16
|
+
declare const MenubarMenu: <Payload>(props: MenuPrimitive.Root.Props<Payload>) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
declare const MenubarSubmenu: typeof MenuPrimitive.SubmenuRoot;
|
|
18
|
+
declare const createMenubarMenuHandle: typeof MenuPrimitive.createHandle;
|
|
19
|
+
declare function Menubar({ className, ...props }: MenubarPrimitive.Props): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
declare function MenubarTrigger({ className, ...props }: MenuPrimitive.Trigger.Props): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
declare function MenubarPortal({ className, ...props }: MenuPrimitive.Portal.Props): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
declare function MenubarBackdrop({ className, ...props }: MenuPrimitive.Backdrop.Props): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
declare function MenubarPositioner({ className, ...props }: MenuPrimitive.Positioner.Props): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
declare function MenubarPopup({ className, ...props }: MenuPrimitive.Popup.Props): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
declare function MenubarArrow({ className, children, ...props }: MenuPrimitive.Arrow.Props): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
declare function MenubarViewport({ className, ...props }: MenuPrimitive.Viewport.Props): import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
declare function MenubarContent({ className, portalClassName, positionerClassName, portalProps, side, sideOffset, align, alignOffset, anchor, collisionAvoidance, collisionPadding, sticky, ...props }: MenubarContentProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
declare function MenubarSubmenuContent({ sideOffset, alignOffset, ...props }: MenubarContentProps): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
declare function MenubarItem({ className, ...props }: MenuPrimitive.Item.Props): import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
declare function MenubarLinkItem({ className, ...props }: MenuPrimitive.LinkItem.Props): import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
declare function MenubarSeparator({ className, ...props }: MenuPrimitive.Separator.Props): import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
declare function MenubarGroup({ className, ...props }: MenuPrimitive.Group.Props): import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
declare function MenubarGroupLabel({ className, ...props }: MenuPrimitive.GroupLabel.Props): import("react/jsx-runtime").JSX.Element;
|
|
34
|
+
declare function MenubarSubmenuTrigger({ className, ...props }: MenuPrimitive.SubmenuTrigger.Props): import("react/jsx-runtime").JSX.Element;
|
|
35
|
+
declare function MenubarSubmenuTriggerIcon({ className, children, ...props }: React.ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
|
|
36
|
+
declare function MenubarRadioGroup({ className, ...props }: MenuPrimitive.RadioGroup.Props): import("react/jsx-runtime").JSX.Element;
|
|
37
|
+
declare function MenubarRadioItem({ className, indicator, ...props }: MenubarRadioItemProps): import("react/jsx-runtime").JSX.Element;
|
|
38
|
+
declare function MenubarRadioItemIndicator({ className, children, ...props }: MenuPrimitive.RadioItemIndicator.Props): import("react/jsx-runtime").JSX.Element;
|
|
39
|
+
declare function MenubarCheckboxItem({ className, indicator, ...props }: MenubarCheckboxItemProps): import("react/jsx-runtime").JSX.Element;
|
|
40
|
+
declare function MenubarCheckboxItemIndicator({ className, children, ...props }: MenuPrimitive.CheckboxItemIndicator.Props): import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
declare function MenubarItemText({ className, ...props }: React.ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
|
|
42
|
+
declare function MenubarItemTextContent({ className, ...props }: React.ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
|
|
43
|
+
declare function MenubarItemTextIcon({ className, ...props }: React.ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
|
|
44
|
+
declare function MenubarItemTextLabel({ className, ...props }: React.ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
|
|
45
|
+
declare function MenubarItemShortcut({ className, ...props }: React.ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
|
|
46
|
+
type MenubarProps = MenubarPrimitive.Props;
|
|
47
|
+
type MenubarMenuProps<Payload = unknown> = MenuPrimitive.Root.Props<Payload>;
|
|
48
|
+
type MenubarMenuHandle<Payload = unknown> = MenuPrimitive.Handle<Payload>;
|
|
49
|
+
type MenubarSubmenuProps = MenuPrimitive.SubmenuRoot.Props;
|
|
50
|
+
type MenubarTriggerProps = MenuPrimitive.Trigger.Props;
|
|
51
|
+
type MenubarPortalProps = MenuPrimitive.Portal.Props;
|
|
52
|
+
type MenubarBackdropProps = MenuPrimitive.Backdrop.Props;
|
|
53
|
+
type MenubarPositionerProps = MenuPrimitive.Positioner.Props;
|
|
54
|
+
type MenubarPopupProps = MenuPrimitive.Popup.Props;
|
|
55
|
+
type MenubarArrowProps = MenuPrimitive.Arrow.Props;
|
|
56
|
+
type MenubarViewportProps = MenuPrimitive.Viewport.Props;
|
|
57
|
+
type MenubarItemProps = MenuPrimitive.Item.Props;
|
|
58
|
+
type MenubarLinkItemProps = MenuPrimitive.LinkItem.Props;
|
|
59
|
+
type MenubarSeparatorProps = MenuPrimitive.Separator.Props;
|
|
60
|
+
type MenubarGroupProps = MenuPrimitive.Group.Props;
|
|
61
|
+
type MenubarGroupLabelProps = MenuPrimitive.GroupLabel.Props;
|
|
62
|
+
type MenubarSubmenuTriggerProps = MenuPrimitive.SubmenuTrigger.Props;
|
|
63
|
+
type MenubarSubmenuTriggerIconProps = React.ComponentProps<'span'>;
|
|
64
|
+
type MenubarRadioGroupProps = MenuPrimitive.RadioGroup.Props;
|
|
65
|
+
type MenubarRadioItemIndicatorProps = MenuPrimitive.RadioItemIndicator.Props;
|
|
66
|
+
type MenubarCheckboxItemIndicatorProps = MenuPrimitive.CheckboxItemIndicator.Props;
|
|
67
|
+
type MenubarItemTextProps = React.ComponentProps<'span'>;
|
|
68
|
+
type MenubarItemTextContentProps = React.ComponentProps<'span'>;
|
|
69
|
+
type MenubarItemTextIconProps = React.ComponentProps<'span'>;
|
|
70
|
+
type MenubarItemTextLabelProps = React.ComponentProps<'span'>;
|
|
71
|
+
type MenubarItemShortcutProps = React.ComponentProps<'span'>;
|
|
72
|
+
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, };
|
|
73
|
+
export type { MenubarProps, MenubarMenuProps, MenubarMenuHandle, MenubarSubmenuProps, MenubarTriggerProps, MenubarPortalProps, MenubarBackdropProps, MenubarPositionerProps, MenubarPopupProps, MenubarArrowProps, MenubarViewportProps, MenubarContentProps, MenubarItemProps, MenubarLinkItemProps, MenubarSeparatorProps, MenubarGroupProps, MenubarGroupLabelProps, MenubarSubmenuTriggerProps, MenubarSubmenuTriggerIconProps, MenubarRadioGroupProps, MenubarRadioItemProps, MenubarRadioItemIndicatorProps, MenubarCheckboxItemProps, MenubarCheckboxItemIndicatorProps, MenubarItemTextProps, MenubarItemTextContentProps, MenubarItemTextIconProps, MenubarItemTextLabelProps, MenubarItemShortcutProps, };
|
|
@@ -0,0 +1,2 @@
|
|
|
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 { MenubarProps, MenubarMenuProps, MenubarMenuHandle, MenubarSubmenuProps, MenubarTriggerProps, MenubarPortalProps, MenubarBackdropProps, MenubarPositionerProps, MenubarPopupProps, MenubarArrowProps, MenubarViewportProps, MenubarContentProps, MenubarItemProps, MenubarLinkItemProps, MenubarSeparatorProps, MenubarGroupProps, MenubarGroupLabelProps, MenubarSubmenuTriggerProps, MenubarSubmenuTriggerIconProps, MenubarRadioGroupProps, MenubarRadioItemProps, MenubarRadioItemIndicatorProps, MenubarCheckboxItemProps, MenubarCheckboxItemIndicatorProps, MenubarItemTextProps, MenubarItemTextContentProps, MenubarItemTextIconProps, MenubarItemTextLabelProps, MenubarItemShortcutProps, } from './Menubar';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Meter as MeterPrimitive } from '@base-ui/react/meter';
|
|
2
|
+
declare function Meter({ className, ...props }: MeterPrimitive.Root.Props): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare function MeterLabel({ className, ...props }: MeterPrimitive.Label.Props): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare function MeterValue({ className, ...props }: MeterPrimitive.Value.Props): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare function MeterTrack({ className, ...props }: MeterPrimitive.Track.Props): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare function MeterIndicator({ className, ...props }: MeterPrimitive.Indicator.Props): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
type MeterProps = MeterPrimitive.Root.Props;
|
|
8
|
+
type MeterLabelProps = MeterPrimitive.Label.Props;
|
|
9
|
+
type MeterValueProps = MeterPrimitive.Value.Props;
|
|
10
|
+
type MeterTrackProps = MeterPrimitive.Track.Props;
|
|
11
|
+
type MeterIndicatorProps = MeterPrimitive.Indicator.Props;
|
|
12
|
+
export { Meter, MeterLabel, MeterValue, MeterTrack, MeterIndicator };
|
|
13
|
+
export type { MeterProps, MeterLabelProps, MeterValueProps, MeterTrackProps, MeterIndicatorProps };
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { NavigationMenu as NavigationMenuPrimitive } from '@base-ui/react/navigation-menu';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
type NavigationMenuPopupContentProps = NavigationMenuPrimitive.Popup.Props & {
|
|
4
|
+
side?: NavigationMenuPrimitive.Positioner.Props['side'];
|
|
5
|
+
sideOffset?: NavigationMenuPrimitive.Positioner.Props['sideOffset'];
|
|
6
|
+
align?: NavigationMenuPrimitive.Positioner.Props['align'];
|
|
7
|
+
alignOffset?: NavigationMenuPrimitive.Positioner.Props['alignOffset'];
|
|
8
|
+
collisionAvoidance?: NavigationMenuPrimitive.Positioner.Props['collisionAvoidance'];
|
|
9
|
+
collisionPadding?: NavigationMenuPrimitive.Positioner.Props['collisionPadding'];
|
|
10
|
+
sticky?: NavigationMenuPrimitive.Positioner.Props['sticky'];
|
|
11
|
+
positionerProps?: Omit<NavigationMenuPrimitive.Positioner.Props, 'className' | 'children'>;
|
|
12
|
+
portalClassName?: NavigationMenuPrimitive.Portal.Props['className'];
|
|
13
|
+
backdropClassName?: NavigationMenuPrimitive.Backdrop.Props['className'];
|
|
14
|
+
positionerClassName?: NavigationMenuPrimitive.Positioner.Props['className'];
|
|
15
|
+
arrowClassName?: NavigationMenuPrimitive.Arrow.Props['className'];
|
|
16
|
+
viewportClassName?: NavigationMenuPrimitive.Viewport.Props['className'];
|
|
17
|
+
arrowProps?: Omit<NavigationMenuPrimitive.Arrow.Props, 'className' | 'children'>;
|
|
18
|
+
viewportProps?: Omit<NavigationMenuPrimitive.Viewport.Props, 'className'>;
|
|
19
|
+
portalProps?: Omit<NavigationMenuPrimitive.Portal.Props, 'className' | 'children'>;
|
|
20
|
+
backdropProps?: Omit<NavigationMenuPrimitive.Backdrop.Props, 'className'>;
|
|
21
|
+
arrow?: React.ReactNode;
|
|
22
|
+
showArrow?: boolean;
|
|
23
|
+
withBackdrop?: boolean;
|
|
24
|
+
};
|
|
25
|
+
declare function NavigationMenu<Value = unknown>({ className, ...props }: NavigationMenuProps<Value>): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
declare function NavigationMenuList({ className, ...props }: NavigationMenuPrimitive.List.Props): import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
declare function NavigationMenuItem(props: NavigationMenuPrimitive.Item.Props): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
declare function NavigationMenuTrigger({ className, ...props }: NavigationMenuPrimitive.Trigger.Props): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
declare function NavigationMenuIcon({ className, children, ...props }: NavigationMenuPrimitive.Icon.Props): import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
declare function NavigationMenuContent({ className, ...props }: NavigationMenuPrimitive.Content.Props): import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
declare function NavigationMenuLink({ className, ...props }: NavigationMenuPrimitive.Link.Props): import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
declare function NavigationMenuPortal({ className, ...props }: NavigationMenuPrimitive.Portal.Props): import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
declare function NavigationMenuBackdrop({ className, ...props }: NavigationMenuPrimitive.Backdrop.Props): import("react/jsx-runtime").JSX.Element;
|
|
34
|
+
declare function NavigationMenuPositioner({ className, ...props }: NavigationMenuPrimitive.Positioner.Props): import("react/jsx-runtime").JSX.Element;
|
|
35
|
+
declare function NavigationMenuPopup({ className, ...props }: NavigationMenuPrimitive.Popup.Props): import("react/jsx-runtime").JSX.Element;
|
|
36
|
+
declare function NavigationMenuArrow({ className, children, ...props }: NavigationMenuPrimitive.Arrow.Props): import("react/jsx-runtime").JSX.Element;
|
|
37
|
+
declare function NavigationMenuViewport({ className, ...props }: NavigationMenuPrimitive.Viewport.Props): import("react/jsx-runtime").JSX.Element;
|
|
38
|
+
declare function NavigationMenuPopupContent({ className, portalClassName, backdropClassName, positionerClassName, arrowClassName, viewportClassName, arrowProps, viewportProps, portalProps, backdropProps, arrow, showArrow, withBackdrop, side, sideOffset, align, alignOffset, collisionAvoidance, collisionPadding, sticky, positionerProps, children, ...props }: NavigationMenuPopupContentProps): import("react/jsx-runtime").JSX.Element;
|
|
39
|
+
type NavigationMenuProps<Value = unknown> = NavigationMenuPrimitive.Root.Props<Value>;
|
|
40
|
+
type NavigationMenuValue<Value = unknown> = NavigationMenuPrimitive.Root.Value<Value>;
|
|
41
|
+
type NavigationMenuListProps = NavigationMenuPrimitive.List.Props;
|
|
42
|
+
type NavigationMenuItemProps = NavigationMenuPrimitive.Item.Props;
|
|
43
|
+
type NavigationMenuContentProps = NavigationMenuPrimitive.Content.Props;
|
|
44
|
+
type NavigationMenuTriggerProps = NavigationMenuPrimitive.Trigger.Props;
|
|
45
|
+
type NavigationMenuIconProps = NavigationMenuPrimitive.Icon.Props;
|
|
46
|
+
type NavigationMenuLinkProps = NavigationMenuPrimitive.Link.Props;
|
|
47
|
+
type NavigationMenuPortalProps = NavigationMenuPrimitive.Portal.Props;
|
|
48
|
+
type NavigationMenuBackdropProps = NavigationMenuPrimitive.Backdrop.Props;
|
|
49
|
+
type NavigationMenuPositionerProps = NavigationMenuPrimitive.Positioner.Props;
|
|
50
|
+
type NavigationMenuPopupProps = NavigationMenuPrimitive.Popup.Props;
|
|
51
|
+
type NavigationMenuArrowProps = NavigationMenuPrimitive.Arrow.Props;
|
|
52
|
+
type NavigationMenuViewportProps = NavigationMenuPrimitive.Viewport.Props;
|
|
53
|
+
export { NavigationMenu, NavigationMenuList, NavigationMenuItem, NavigationMenuTrigger, NavigationMenuIcon, NavigationMenuContent, NavigationMenuLink, NavigationMenuPortal, NavigationMenuBackdrop, NavigationMenuPositioner, NavigationMenuPopup, NavigationMenuArrow, NavigationMenuViewport, NavigationMenuPopupContent, };
|
|
54
|
+
export type { NavigationMenuValue, NavigationMenuProps, NavigationMenuListProps, NavigationMenuItemProps, NavigationMenuTriggerProps, NavigationMenuIconProps, NavigationMenuContentProps, NavigationMenuLinkProps, NavigationMenuPortalProps, NavigationMenuBackdropProps, NavigationMenuPositionerProps, NavigationMenuPopupProps, NavigationMenuArrowProps, NavigationMenuViewportProps, NavigationMenuPopupContentProps, };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { NavigationMenu, NavigationMenuList, NavigationMenuItem, NavigationMenuTrigger, NavigationMenuIcon, NavigationMenuContent, NavigationMenuLink, NavigationMenuPortal, NavigationMenuBackdrop, NavigationMenuPositioner, NavigationMenuPopup, NavigationMenuArrow, NavigationMenuViewport, NavigationMenuPopupContent, } from './NavigationMenu';
|
|
2
|
+
export type { NavigationMenuValue, NavigationMenuProps, NavigationMenuListProps, NavigationMenuItemProps, NavigationMenuTriggerProps, NavigationMenuIconProps, NavigationMenuContentProps, NavigationMenuLinkProps, NavigationMenuPortalProps, NavigationMenuBackdropProps, NavigationMenuPositionerProps, NavigationMenuPopupProps, NavigationMenuArrowProps, NavigationMenuViewportProps, NavigationMenuPopupContentProps, } from './NavigationMenu';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { NumberField as NumberFieldPrimitive } from '@base-ui/react/number-field';
|
|
2
|
+
declare function NumberField({ className, ...props }: NumberFieldPrimitive.Root.Props): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare function NumberFieldScrubArea({ className, ...props }: NumberFieldPrimitive.ScrubArea.Props): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare function NumberFieldScrubAreaCursor({ className, ...props }: NumberFieldPrimitive.ScrubAreaCursor.Props): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare function NumberFieldGroup({ className, ...props }: NumberFieldPrimitive.Group.Props): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare function NumberFieldDecrement({ className, children, ...props }: NumberFieldPrimitive.Decrement.Props): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare function NumberFieldInput({ className, ...props }: NumberFieldPrimitive.Input.Props): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
declare function NumberFieldIncrement({ className, children, ...props }: NumberFieldPrimitive.Increment.Props): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
type NumberFieldProps = NumberFieldPrimitive.Root.Props;
|
|
10
|
+
type NumberFieldScrubAreaProps = NumberFieldPrimitive.ScrubArea.Props;
|
|
11
|
+
type NumberFieldScrubAreaCursorProps = NumberFieldPrimitive.ScrubAreaCursor.Props;
|
|
12
|
+
type NumberFieldGroupProps = NumberFieldPrimitive.Group.Props;
|
|
13
|
+
type NumberFieldDecrementProps = NumberFieldPrimitive.Decrement.Props;
|
|
14
|
+
type NumberFieldInputProps = NumberFieldPrimitive.Input.Props;
|
|
15
|
+
type NumberFieldIncrementProps = NumberFieldPrimitive.Increment.Props;
|
|
16
|
+
export { NumberField, NumberFieldScrubArea, NumberFieldScrubAreaCursor, NumberFieldGroup, NumberFieldDecrement, NumberFieldInput, NumberFieldIncrement, };
|
|
17
|
+
export type { NumberFieldProps, NumberFieldScrubAreaProps, NumberFieldScrubAreaCursorProps, NumberFieldGroupProps, NumberFieldDecrementProps, NumberFieldInputProps, NumberFieldIncrementProps, };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { NumberField, NumberFieldScrubArea, NumberFieldScrubAreaCursor, NumberFieldGroup, NumberFieldDecrement, NumberFieldInput, NumberFieldIncrement, } from './NumberField';
|
|
2
|
+
export type { NumberFieldProps, NumberFieldScrubAreaProps, NumberFieldScrubAreaCursorProps, NumberFieldGroupProps, NumberFieldDecrementProps, NumberFieldInputProps, NumberFieldIncrementProps, } from './NumberField';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { OTPFieldPreview as OTPFieldPrimitive } from '@base-ui/react/otp-field';
|
|
2
|
+
declare function OTPField({ className, ...props }: OTPFieldPrimitive.Root.Props): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare function OTPFieldInput({ className, ...props }: OTPFieldPrimitive.Input.Props): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare function OTPFieldSeparator({ className, ...props }: OTPFieldPrimitive.Separator.Props): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
type OTPFieldProps = OTPFieldPrimitive.Root.Props;
|
|
6
|
+
type OTPFieldInputProps = OTPFieldPrimitive.Input.Props;
|
|
7
|
+
type OTPFieldSeparatorProps = OTPFieldPrimitive.Separator.Props;
|
|
8
|
+
export { OTPField, OTPFieldInput, OTPFieldSeparator };
|
|
9
|
+
export type { OTPFieldProps, OTPFieldInputProps, OTPFieldSeparatorProps };
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { Popover as PopoverPrimitive } from '@base-ui/react/popover';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
type PopoverContentProps = PopoverPrimitive.Popup.Props & Pick<PopoverPrimitive.Positioner.Props, 'disableAnchorTracking' | 'side' | 'sideOffset' | 'align' | 'alignOffset' | 'arrowPadding' | 'anchor' | 'collisionAvoidance' | 'collisionBoundary' | 'collisionPadding' | 'sticky' | 'positionMethod'> & {
|
|
4
|
+
positionerProps?: Omit<PopoverPrimitive.Positioner.Props, 'className' | 'children'>;
|
|
5
|
+
portalClassName?: PopoverPrimitive.Portal.Props['className'];
|
|
6
|
+
backdropClassName?: PopoverPrimitive.Backdrop.Props['className'];
|
|
7
|
+
positionerClassName?: PopoverPrimitive.Positioner.Props['className'];
|
|
8
|
+
arrowClassName?: PopoverPrimitive.Arrow.Props['className'];
|
|
9
|
+
arrowProps?: Omit<PopoverPrimitive.Arrow.Props, 'className' | 'children'>;
|
|
10
|
+
arrow?: React.ReactNode;
|
|
11
|
+
showArrow?: boolean;
|
|
12
|
+
portalProps?: Omit<PopoverPrimitive.Portal.Props, 'className' | 'children'>;
|
|
13
|
+
backdropProps?: Omit<PopoverPrimitive.Backdrop.Props, 'className'>;
|
|
14
|
+
withBackdrop?: boolean;
|
|
15
|
+
};
|
|
16
|
+
declare const Popover: typeof PopoverPrimitive.Root;
|
|
17
|
+
declare const createPopoverHandle: typeof PopoverPrimitive.createHandle;
|
|
18
|
+
declare function PopoverTrigger({ className, render, ...props }: PopoverPrimitive.Trigger.Props): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
declare function PopoverPortal({ className, ...props }: PopoverPrimitive.Portal.Props): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
declare function PopoverBackdrop({ className, ...props }: PopoverPrimitive.Backdrop.Props): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
declare function PopoverPositioner({ className, ...props }: PopoverPrimitive.Positioner.Props): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
declare function PopoverPopup({ className, ...props }: PopoverPrimitive.Popup.Props): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
declare function PopoverArrow({ className, children, ...props }: PopoverPrimitive.Arrow.Props): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
declare function PopoverTitle({ className, ...props }: PopoverPrimitive.Title.Props): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
declare function PopoverDescription({ className, ...props }: PopoverPrimitive.Description.Props): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
declare function PopoverHeader({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
declare function PopoverBody({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
declare function PopoverFooter({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
declare function PopoverClose({ className, ...props }: PopoverPrimitive.Close.Props): import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
declare function PopoverViewport({ className, ...props }: PopoverPrimitive.Viewport.Props): import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
declare function PopoverContent({ className, portalClassName, backdropClassName, positionerClassName, arrowClassName, arrowProps, arrow, showArrow, portalProps, backdropProps, withBackdrop, disableAnchorTracking, side, sideOffset, align, alignOffset, arrowPadding, anchor, collisionAvoidance, collisionBoundary, collisionPadding, sticky, positionMethod, positionerProps, ...props }: PopoverContentProps): import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
type PopoverProps<Payload = unknown> = PopoverPrimitive.Root.Props<Payload>;
|
|
33
|
+
type PopoverHandle<Payload = unknown> = PopoverPrimitive.Handle<Payload>;
|
|
34
|
+
type PopoverTriggerProps = PopoverPrimitive.Trigger.Props;
|
|
35
|
+
type PopoverPortalProps = PopoverPrimitive.Portal.Props;
|
|
36
|
+
type PopoverBackdropProps = PopoverPrimitive.Backdrop.Props;
|
|
37
|
+
type PopoverPositionerProps = PopoverPrimitive.Positioner.Props;
|
|
38
|
+
type PopoverPopupProps = PopoverPrimitive.Popup.Props;
|
|
39
|
+
type PopoverArrowProps = PopoverPrimitive.Arrow.Props;
|
|
40
|
+
type PopoverTitleProps = PopoverPrimitive.Title.Props;
|
|
41
|
+
type PopoverDescriptionProps = PopoverPrimitive.Description.Props;
|
|
42
|
+
type PopoverHeaderProps = React.ComponentProps<'div'>;
|
|
43
|
+
type PopoverBodyProps = React.ComponentProps<'div'>;
|
|
44
|
+
type PopoverFooterProps = React.ComponentProps<'div'>;
|
|
45
|
+
type PopoverCloseProps = PopoverPrimitive.Close.Props;
|
|
46
|
+
type PopoverViewportProps = PopoverPrimitive.Viewport.Props;
|
|
47
|
+
export { Popover, createPopoverHandle, PopoverTrigger, PopoverPortal, PopoverBackdrop, PopoverPositioner, PopoverPopup, PopoverArrow, PopoverTitle, PopoverDescription, PopoverHeader, PopoverBody, PopoverFooter, PopoverClose, PopoverViewport, PopoverContent, };
|
|
48
|
+
export type { PopoverProps, PopoverHandle, PopoverTriggerProps, PopoverPortalProps, PopoverBackdropProps, PopoverPositionerProps, PopoverPopupProps, PopoverArrowProps, PopoverTitleProps, PopoverDescriptionProps, PopoverHeaderProps, PopoverBodyProps, PopoverFooterProps, PopoverCloseProps, PopoverViewportProps, PopoverContentProps, };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { Popover, createPopoverHandle, PopoverTrigger, PopoverPortal, PopoverBackdrop, PopoverPositioner, PopoverPopup, PopoverArrow, PopoverTitle, PopoverDescription, PopoverHeader, PopoverBody, PopoverFooter, PopoverClose, PopoverViewport, PopoverContent, } from './Popover';
|
|
2
|
+
export type { PopoverProps, PopoverHandle, PopoverTriggerProps, PopoverPortalProps, PopoverBackdropProps, PopoverPositionerProps, PopoverPopupProps, PopoverArrowProps, PopoverTitleProps, PopoverDescriptionProps, PopoverHeaderProps, PopoverBodyProps, PopoverFooterProps, PopoverCloseProps, PopoverViewportProps, PopoverContentProps, } from './Popover';
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { PreviewCard as PreviewCardPrimitive } from '@base-ui/react/preview-card';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
type PreviewCardContentProps = PreviewCardPrimitive.Popup.Props & Pick<PreviewCardPrimitive.Positioner.Props, 'disableAnchorTracking' | 'side' | 'sideOffset' | 'align' | 'alignOffset' | 'arrowPadding' | 'anchor' | 'collisionAvoidance' | 'collisionBoundary' | 'collisionPadding' | 'sticky' | 'positionMethod'> & {
|
|
4
|
+
positionerProps?: Omit<PreviewCardPrimitive.Positioner.Props, 'className' | 'children'>;
|
|
5
|
+
portalClassName?: PreviewCardPrimitive.Portal.Props['className'];
|
|
6
|
+
backdropClassName?: PreviewCardPrimitive.Backdrop.Props['className'];
|
|
7
|
+
positionerClassName?: PreviewCardPrimitive.Positioner.Props['className'];
|
|
8
|
+
arrowClassName?: PreviewCardPrimitive.Arrow.Props['className'];
|
|
9
|
+
arrowProps?: Omit<PreviewCardPrimitive.Arrow.Props, 'className' | 'children'>;
|
|
10
|
+
arrow?: React.ReactNode;
|
|
11
|
+
showArrow?: boolean;
|
|
12
|
+
portalProps?: Omit<PreviewCardPrimitive.Portal.Props, 'className' | 'children'>;
|
|
13
|
+
backdropProps?: Omit<PreviewCardPrimitive.Backdrop.Props, 'className'>;
|
|
14
|
+
withBackdrop?: boolean;
|
|
15
|
+
};
|
|
16
|
+
declare const PreviewCard: typeof PreviewCardPrimitive.Root;
|
|
17
|
+
declare const createPreviewCardHandle: typeof PreviewCardPrimitive.createHandle;
|
|
18
|
+
declare function PreviewCardTrigger({ className, render, ...props }: PreviewCardPrimitive.Trigger.Props): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
declare function PreviewCardPortal({ className, ...props }: PreviewCardPrimitive.Portal.Props): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
declare function PreviewCardBackdrop({ className, ...props }: PreviewCardPrimitive.Backdrop.Props): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
declare function PreviewCardPositioner({ className, ...props }: PreviewCardPrimitive.Positioner.Props): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
declare function PreviewCardPopup({ className, ...props }: PreviewCardPrimitive.Popup.Props): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
declare function PreviewCardArrow({ className, children, ...props }: PreviewCardPrimitive.Arrow.Props): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
declare function PreviewCardViewport({ className, ...props }: PreviewCardPrimitive.Viewport.Props): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
declare function PreviewCardContent({ className, portalClassName, backdropClassName, positionerClassName, arrowClassName, arrowProps, arrow, showArrow, portalProps, backdropProps, withBackdrop, disableAnchorTracking, side, sideOffset, align, alignOffset, arrowPadding, anchor, collisionAvoidance, collisionBoundary, collisionPadding, sticky, positionMethod, positionerProps, ...props }: PreviewCardContentProps): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
type PreviewCardProps<Payload = unknown> = PreviewCardPrimitive.Root.Props<Payload>;
|
|
27
|
+
type PreviewCardHandle<Payload = unknown> = PreviewCardPrimitive.Handle<Payload>;
|
|
28
|
+
type PreviewCardTriggerProps = PreviewCardPrimitive.Trigger.Props;
|
|
29
|
+
type PreviewCardPortalProps = PreviewCardPrimitive.Portal.Props;
|
|
30
|
+
type PreviewCardBackdropProps = PreviewCardPrimitive.Backdrop.Props;
|
|
31
|
+
type PreviewCardPositionerProps = PreviewCardPrimitive.Positioner.Props;
|
|
32
|
+
type PreviewCardPopupProps = PreviewCardPrimitive.Popup.Props;
|
|
33
|
+
type PreviewCardArrowProps = PreviewCardPrimitive.Arrow.Props;
|
|
34
|
+
type PreviewCardViewportProps = PreviewCardPrimitive.Viewport.Props;
|
|
35
|
+
export { PreviewCard, createPreviewCardHandle, PreviewCardTrigger, PreviewCardPortal, PreviewCardBackdrop, PreviewCardPositioner, PreviewCardPopup, PreviewCardArrow, PreviewCardViewport, PreviewCardContent, };
|
|
36
|
+
export type { PreviewCardProps, PreviewCardHandle, PreviewCardTriggerProps, PreviewCardPortalProps, PreviewCardBackdropProps, PreviewCardPositionerProps, PreviewCardPopupProps, PreviewCardArrowProps, PreviewCardViewportProps, PreviewCardContentProps, };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { PreviewCard, createPreviewCardHandle, PreviewCardTrigger, PreviewCardPortal, PreviewCardBackdrop, PreviewCardPositioner, PreviewCardPopup, PreviewCardArrow, PreviewCardViewport, PreviewCardContent, } from './PreviewCard';
|
|
2
|
+
export type { PreviewCardProps, PreviewCardHandle, PreviewCardTriggerProps, PreviewCardPortalProps, PreviewCardBackdropProps, PreviewCardPositionerProps, PreviewCardPopupProps, PreviewCardArrowProps, PreviewCardViewportProps, PreviewCardContentProps, } from './PreviewCard';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Progress as ProgressPrimitive } from '@base-ui/react/progress';
|
|
2
|
+
declare function Progress({ className, ...props }: ProgressPrimitive.Root.Props): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare function ProgressLabel({ className, ...props }: ProgressPrimitive.Label.Props): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare function ProgressValue({ className, ...props }: ProgressPrimitive.Value.Props): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare function ProgressTrack({ className, ...props }: ProgressPrimitive.Track.Props): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare function ProgressIndicator({ className, ...props }: ProgressPrimitive.Indicator.Props): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
type ProgressProps = ProgressPrimitive.Root.Props;
|
|
8
|
+
type ProgressLabelProps = ProgressPrimitive.Label.Props;
|
|
9
|
+
type ProgressValueProps = ProgressPrimitive.Value.Props;
|
|
10
|
+
type ProgressTrackProps = ProgressPrimitive.Track.Props;
|
|
11
|
+
type ProgressIndicatorProps = ProgressPrimitive.Indicator.Props;
|
|
12
|
+
export { Progress, ProgressLabel, ProgressValue, ProgressTrack, ProgressIndicator };
|
|
13
|
+
export type { ProgressProps, ProgressLabelProps, ProgressValueProps, ProgressTrackProps, ProgressIndicatorProps, };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Radio as RadioPrimitive } from '@base-ui/react/radio';
|
|
2
|
+
import { RadioGroup as RadioGroupPrimitive } from '@base-ui/react/radio-group';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
type RadioSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
5
|
+
type RadioProps = RadioPrimitive.Root.Props & {
|
|
6
|
+
size?: RadioSize;
|
|
7
|
+
};
|
|
8
|
+
declare function Radio({ className, size, ...props }: RadioProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare function RadioIndicator({ className, children, ...props }: RadioPrimitive.Indicator.Props): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare function RadioIndicatorIcon({ className, ...props }: React.ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
declare function RadioField({ className, ...props }: React.ComponentProps<'label'>): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
declare function RadioLabel({ className, ...props }: React.ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
declare function RadioGroup({ className, ...props }: RadioGroupPrimitive.Props): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
declare function RadioGroupLabel({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
declare function RadioGroupList({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
declare function RadioGroupItem({ className, ...props }: React.ComponentProps<'label'>): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
type RadioGroupItemControlProps = Omit<RadioProps, 'children'> & {
|
|
18
|
+
indicatorProps?: RadioIndicatorProps;
|
|
19
|
+
indicator?: React.ReactNode;
|
|
20
|
+
};
|
|
21
|
+
declare function RadioGroupItemControl({ indicatorProps, indicator, ...props }: RadioGroupItemControlProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
declare function RadioGroupItemLabel({ className, ...props }: React.ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
type RadioIndicatorProps = RadioPrimitive.Indicator.Props;
|
|
24
|
+
type RadioIndicatorIconProps = React.ComponentProps<'span'>;
|
|
25
|
+
type RadioFieldProps = React.ComponentProps<'label'>;
|
|
26
|
+
type RadioLabelProps = React.ComponentProps<'span'>;
|
|
27
|
+
type RadioGroupProps = RadioGroupPrimitive.Props;
|
|
28
|
+
type RadioGroupLabelProps = React.ComponentProps<'div'>;
|
|
29
|
+
type RadioGroupListProps = React.ComponentProps<'div'>;
|
|
30
|
+
type RadioGroupItemProps = React.ComponentProps<'label'>;
|
|
31
|
+
type RadioGroupItemLabelProps = React.ComponentProps<'span'>;
|
|
32
|
+
export { Radio, RadioIndicator, RadioIndicatorIcon, RadioField, RadioLabel, RadioGroup, RadioGroupLabel, RadioGroupList, RadioGroupItem, RadioGroupItemControl, RadioGroupItemLabel, };
|
|
33
|
+
export type { RadioProps, RadioIndicatorProps, RadioIndicatorIconProps, RadioFieldProps, RadioLabelProps, RadioGroupProps, RadioGroupLabelProps, RadioGroupListProps, RadioGroupItemProps, RadioGroupItemControlProps, RadioGroupItemLabelProps, };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { Radio, RadioIndicator, RadioIndicatorIcon, RadioField, RadioLabel, RadioGroup, RadioGroupLabel, RadioGroupList, RadioGroupItem, RadioGroupItemControl, RadioGroupItemLabel, } from './Radio';
|
|
2
|
+
export type { RadioProps, RadioIndicatorProps, RadioIndicatorIconProps, RadioFieldProps, RadioLabelProps, RadioGroupProps, RadioGroupLabelProps, RadioGroupListProps, RadioGroupItemProps, RadioGroupItemControlProps, RadioGroupItemLabelProps, } from './Radio';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ScrollArea as ScrollAreaPrimitive } from '@base-ui/react/scroll-area';
|
|
2
|
+
declare function ScrollArea({ className, ...props }: ScrollAreaPrimitive.Root.Props): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare function ScrollAreaViewport({ className, ...props }: ScrollAreaPrimitive.Viewport.Props): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare function ScrollAreaContent({ className, ...props }: ScrollAreaPrimitive.Content.Props): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare function ScrollAreaScrollbar({ className, ...props }: ScrollAreaPrimitive.Scrollbar.Props): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare function ScrollAreaThumb({ className, ...props }: ScrollAreaPrimitive.Thumb.Props): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare function ScrollAreaCorner({ className, ...props }: ScrollAreaPrimitive.Corner.Props): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
type ScrollAreaProps = ScrollAreaPrimitive.Root.Props;
|
|
9
|
+
type ScrollAreaViewportProps = ScrollAreaPrimitive.Viewport.Props;
|
|
10
|
+
type ScrollAreaContentProps = ScrollAreaPrimitive.Content.Props;
|
|
11
|
+
type ScrollAreaScrollbarProps = ScrollAreaPrimitive.Scrollbar.Props;
|
|
12
|
+
type ScrollAreaThumbProps = ScrollAreaPrimitive.Thumb.Props;
|
|
13
|
+
type ScrollAreaCornerProps = ScrollAreaPrimitive.Corner.Props;
|
|
14
|
+
export { ScrollArea, ScrollAreaViewport, ScrollAreaContent, ScrollAreaScrollbar, ScrollAreaThumb, ScrollAreaCorner, };
|
|
15
|
+
export type { ScrollAreaProps, ScrollAreaViewportProps, ScrollAreaContentProps, ScrollAreaScrollbarProps, ScrollAreaThumbProps, ScrollAreaCornerProps, };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { ScrollArea, ScrollAreaViewport, ScrollAreaContent, ScrollAreaScrollbar, ScrollAreaThumb, ScrollAreaCorner, } from './ScrollArea';
|
|
2
|
+
export type { ScrollAreaProps, ScrollAreaViewportProps, ScrollAreaContentProps, ScrollAreaScrollbarProps, ScrollAreaThumbProps, ScrollAreaCornerProps, } from './ScrollArea';
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { Select as SelectPrimitive } from '@base-ui/react/select';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
type SelectAnimation = 'scale';
|
|
4
|
+
type SelectPopupProps = SelectPrimitive.Popup.Props & {
|
|
5
|
+
animation?: SelectAnimation;
|
|
6
|
+
};
|
|
7
|
+
type SelectContentProps = SelectPopupProps & Pick<SelectPrimitive.Positioner.Props, 'alignItemWithTrigger' | 'side' | 'sideOffset' | 'align' | 'alignOffset' | 'anchor' | 'collisionAvoidance' | 'collisionPadding' | 'sticky'> & {
|
|
8
|
+
portalClassName?: SelectPrimitive.Portal.Props['className'];
|
|
9
|
+
portalProps?: Omit<SelectPrimitive.Portal.Props, 'className' | 'children'>;
|
|
10
|
+
positionerClassName?: SelectPrimitive.Positioner.Props['className'];
|
|
11
|
+
};
|
|
12
|
+
type IndicatorPosition = 'start' | 'end';
|
|
13
|
+
type SelectItemProps = SelectPrimitive.Item.Props & {
|
|
14
|
+
indicator?: IndicatorPosition;
|
|
15
|
+
};
|
|
16
|
+
declare const Select: typeof SelectPrimitive.Root;
|
|
17
|
+
declare function SelectField({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
declare function SelectLabel({ className, ...props }: SelectPrimitive.Label.Props): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
declare function SelectTrigger({ className, ...props }: SelectPrimitive.Trigger.Props): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
declare function SelectValue({ className, ...props }: SelectPrimitive.Value.Props): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
declare function SelectIcon({ className, children, ...props }: SelectPrimitive.Icon.Props): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
declare function SelectPortal(props: SelectPrimitive.Portal.Props): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
declare function SelectBackdrop({ className, ...props }: SelectPrimitive.Backdrop.Props): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
declare function SelectPositioner({ className, ...props }: SelectPrimitive.Positioner.Props): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
declare function SelectPopup({ className, animation, ...props }: SelectPopupProps): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
declare function SelectArrow({ className, children, ...props }: SelectPrimitive.Arrow.Props): import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
declare function SelectContent({ className, portalClassName, portalProps, positionerClassName, alignItemWithTrigger, side, sideOffset, align, alignOffset, anchor, collisionAvoidance, collisionPadding, sticky, ...props }: SelectContentProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
declare function SelectScrollUpArrow({ className, children, ...props }: SelectPrimitive.ScrollUpArrow.Props): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
declare function SelectScrollDownArrow({ className, children, ...props }: SelectPrimitive.ScrollDownArrow.Props): import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
declare function SelectList({ className, ...props }: SelectPrimitive.List.Props): import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
declare function SelectItem({ className, indicator, ...props }: SelectItemProps): import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
declare function SelectItemIndicator({ className, children, ...props }: SelectPrimitive.ItemIndicator.Props): import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
declare function SelectItemText({ className, ...props }: SelectPrimitive.ItemText.Props): import("react/jsx-runtime").JSX.Element;
|
|
34
|
+
declare function SelectItemTextContent({ className, ...props }: React.ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
|
|
35
|
+
declare function SelectItemTextIcon({ className, ...props }: React.ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
|
|
36
|
+
declare function SelectItemTextLabel({ className, ...props }: React.ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
|
|
37
|
+
declare function SelectSeparator({ className, ...props }: SelectPrimitive.Separator.Props): import("react/jsx-runtime").JSX.Element;
|
|
38
|
+
declare function SelectGroup({ className, ...props }: SelectPrimitive.Group.Props): import("react/jsx-runtime").JSX.Element;
|
|
39
|
+
declare function SelectGroupLabel({ className, ...props }: SelectPrimitive.GroupLabel.Props): import("react/jsx-runtime").JSX.Element;
|
|
40
|
+
type SelectProps<Value = unknown, Multiple extends boolean | undefined = false> = SelectPrimitive.Root.Props<Value, Multiple>;
|
|
41
|
+
type SelectValueType<Value = unknown, Multiple extends boolean | undefined = false> = SelectProps<Value, Multiple>['value'];
|
|
42
|
+
type SelectFieldProps = React.ComponentProps<'div'>;
|
|
43
|
+
type SelectLabelProps = SelectPrimitive.Label.Props;
|
|
44
|
+
type SelectTriggerProps = SelectPrimitive.Trigger.Props;
|
|
45
|
+
type SelectValueProps = SelectPrimitive.Value.Props;
|
|
46
|
+
type SelectIconProps = SelectPrimitive.Icon.Props;
|
|
47
|
+
type SelectPortalProps = SelectPrimitive.Portal.Props;
|
|
48
|
+
type SelectBackdropProps = SelectPrimitive.Backdrop.Props;
|
|
49
|
+
type SelectPositionerProps = SelectPrimitive.Positioner.Props;
|
|
50
|
+
type SelectArrowProps = SelectPrimitive.Arrow.Props;
|
|
51
|
+
type SelectScrollUpArrowProps = SelectPrimitive.ScrollUpArrow.Props;
|
|
52
|
+
type SelectScrollDownArrowProps = SelectPrimitive.ScrollDownArrow.Props;
|
|
53
|
+
type SelectListProps = SelectPrimitive.List.Props;
|
|
54
|
+
type SelectItemIndicatorProps = SelectPrimitive.ItemIndicator.Props;
|
|
55
|
+
type SelectItemTextProps = SelectPrimitive.ItemText.Props;
|
|
56
|
+
type SelectItemTextContentProps = React.ComponentProps<'span'>;
|
|
57
|
+
type SelectItemTextIconProps = React.ComponentProps<'span'>;
|
|
58
|
+
type SelectItemTextLabelProps = React.ComponentProps<'span'>;
|
|
59
|
+
type SelectSeparatorProps = SelectPrimitive.Separator.Props;
|
|
60
|
+
type SelectGroupProps = SelectPrimitive.Group.Props;
|
|
61
|
+
type SelectGroupLabelProps = SelectPrimitive.GroupLabel.Props;
|
|
62
|
+
export { Select, SelectField, SelectLabel, SelectTrigger, SelectValue, SelectIcon, SelectPortal, SelectBackdrop, SelectPositioner, SelectPopup, SelectArrow, SelectContent, SelectScrollUpArrow, SelectScrollDownArrow, SelectList, SelectItem, SelectItemIndicator, SelectItemText, SelectItemTextContent, SelectItemTextIcon, SelectItemTextLabel, SelectSeparator, SelectGroup, SelectGroupLabel, };
|
|
63
|
+
export type { SelectProps, SelectAnimation, SelectValueType, SelectFieldProps, SelectLabelProps, SelectTriggerProps, SelectValueProps, SelectIconProps, SelectPortalProps, SelectBackdropProps, SelectPositionerProps, SelectPopupProps, SelectArrowProps, SelectContentProps, SelectScrollUpArrowProps, SelectScrollDownArrowProps, SelectListProps, SelectItemProps, SelectItemIndicatorProps, SelectItemTextProps, SelectItemTextContentProps, SelectItemTextIconProps, SelectItemTextLabelProps, SelectSeparatorProps, SelectGroupProps, SelectGroupLabelProps, };
|