@wix/site-ui 1.0.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Accordion/index.css +2 -0
- package/dist/Accordion/index.d.ts +34 -0
- package/dist/Accordion/index.js +39 -0
- package/dist/AlertDialog/index.css +2 -0
- package/dist/AlertDialog/index.d.ts +47 -0
- package/dist/AlertDialog/index.js +55 -0
- package/dist/Autocomplete/index.css +2 -0
- package/dist/Autocomplete/index.d.ts +85 -0
- package/dist/Autocomplete/index.js +110 -0
- package/dist/Avatar/index.css +2 -0
- package/dist/Avatar/index.d.ts +21 -0
- package/dist/Avatar/index.js +26 -0
- package/dist/Button/index.css +2 -0
- package/dist/Button/index.d.ts +11 -0
- package/dist/Button/index.js +11 -0
- package/dist/Checkbox/index.css +2 -0
- package/dist/Checkbox/index.d.ts +17 -0
- package/dist/Checkbox/index.js +20 -0
- package/dist/CheckboxGroup/index.css +2 -0
- package/dist/CheckboxGroup/index.d.ts +11 -0
- package/dist/CheckboxGroup/index.js +11 -0
- package/dist/Collapsible/index.css +2 -0
- package/dist/Collapsible/index.d.ts +21 -0
- package/dist/Collapsible/index.js +26 -0
- package/dist/Combobox/index.css +2 -0
- package/dist/Combobox/index.d.ts +101 -0
- package/dist/Combobox/index.js +139 -0
- package/dist/ContextMenu/index.css +2 -0
- package/dist/ContextMenu/index.d.ts +76 -0
- package/dist/ContextMenu/index.js +102 -0
- package/dist/Dialog/index.css +2 -0
- package/dist/Dialog/index.d.ts +47 -0
- package/dist/Dialog/index.js +55 -0
- package/dist/Drawer/index.css +2 -0
- package/dist/Drawer/index.d.ts +60 -0
- package/dist/Drawer/index.js +83 -0
- package/dist/Field/index.css +2 -0
- package/dist/Field/index.d.ts +35 -0
- package/dist/Field/index.js +45 -0
- package/dist/Fieldset/index.css +2 -0
- package/dist/Fieldset/index.d.ts +17 -0
- package/dist/Fieldset/index.js +20 -0
- package/dist/Form/index.css +2 -0
- package/dist/Form/index.d.ts +13 -0
- package/dist/Form/index.js +11 -0
- package/dist/Input/index.css +2 -0
- package/dist/Input/index.d.ts +11 -0
- package/dist/Input/index.js +11 -0
- package/dist/Menu/index.css +2 -0
- package/dist/Menu/index.d.ts +85 -0
- package/dist/Menu/index.js +111 -0
- package/dist/Menubar/index.css +2 -0
- package/dist/Menubar/index.d.ts +11 -0
- package/dist/Menubar/index.js +11 -0
- package/dist/Meter/index.css +2 -0
- package/dist/Meter/index.d.ts +29 -0
- package/dist/Meter/index.js +38 -0
- package/dist/NavigationMenu/index.css +2 -0
- package/dist/NavigationMenu/index.d.ts +64 -0
- package/dist/NavigationMenu/index.js +82 -0
- package/dist/NumberField/index.css +2 -0
- package/dist/NumberField/index.d.ts +37 -0
- package/dist/NumberField/index.js +50 -0
- package/dist/Popover/index.css +2 -0
- package/dist/Popover/index.d.ts +54 -0
- package/dist/Popover/index.js +67 -0
- package/dist/PreviewCard/index.css +2 -0
- package/dist/PreviewCard/index.d.ts +42 -0
- package/dist/PreviewCard/index.js +49 -0
- package/dist/Progress/index.css +2 -0
- package/dist/Progress/index.d.ts +29 -0
- package/dist/Progress/index.js +38 -0
- package/dist/Radio/index.css +2 -0
- package/dist/Radio/index.d.ts +22 -0
- package/dist/Radio/index.js +21 -0
- package/dist/RadioGroup/index.css +2 -0
- package/dist/RadioGroup/index.d.ts +11 -0
- package/dist/RadioGroup/index.js +11 -0
- package/dist/ScrollArea/index.css +2 -0
- package/dist/ScrollArea/index.d.ts +33 -0
- package/dist/ScrollArea/index.js +44 -0
- package/dist/Select/index.css +2 -0
- package/dist/Select/index.d.ts +79 -0
- package/dist/Select/index.js +107 -0
- package/dist/Separator/index.css +2 -0
- package/dist/Separator/index.d.ts +11 -0
- package/dist/Separator/index.js +11 -0
- package/dist/Slider/index.css +2 -0
- package/dist/Slider/index.d.ts +42 -0
- package/dist/Slider/index.js +51 -0
- package/dist/Switch/index.css +2 -0
- package/dist/Switch/index.d.ts +17 -0
- package/dist/Switch/index.js +20 -0
- package/dist/Tabs/index.css +2 -0
- package/dist/Tabs/index.d.ts +29 -0
- package/dist/Tabs/index.js +38 -0
- package/dist/Toggle/index.css +2 -0
- package/dist/Toggle/index.d.ts +11 -0
- package/dist/Toggle/index.js +11 -0
- package/dist/ToggleGroup/index.css +2 -0
- package/dist/ToggleGroup/index.d.ts +11 -0
- package/dist/ToggleGroup/index.js +11 -0
- package/dist/Toolbar/index.css +2 -0
- package/dist/Toolbar/index.d.ts +33 -0
- package/dist/Toolbar/index.js +44 -0
- package/dist/Tooltip/index.css +2 -0
- package/dist/Tooltip/index.d.ts +40 -0
- package/dist/Tooltip/index.js +44 -0
- package/dist/index.d.ts +1059 -7
- package/dist/index.js +36 -26
- package/package.json +15 -10
- package/dist/index.css +0 -8
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { Accordion as Accordion_2 } from '@base-ui/react/accordion';
|
|
2
|
+
import { AccordionHeaderProps } from '@base-ui/react/accordion';
|
|
3
|
+
import { AccordionItemProps } from '@base-ui/react/accordion';
|
|
4
|
+
import { AccordionPanelProps } from '@base-ui/react/accordion';
|
|
5
|
+
import { AccordionTriggerProps } from '@base-ui/react/accordion';
|
|
6
|
+
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
7
|
+
import * as React_2 from 'react';
|
|
8
|
+
|
|
9
|
+
export declare const Accordion: {
|
|
10
|
+
Item: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<AccordionItemProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
11
|
+
className?: string | undefined;
|
|
12
|
+
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
13
|
+
Header: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<AccordionHeaderProps, "ref"> & React_2.RefAttributes<HTMLHeadingElement>, "ref">, "className"> & {
|
|
14
|
+
className?: string | undefined;
|
|
15
|
+
} & React_2.RefAttributes<HTMLHeadingElement>>;
|
|
16
|
+
Trigger: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<AccordionTriggerProps, "ref"> & React_2.RefAttributes<HTMLElement>, "ref">, "className"> & {
|
|
17
|
+
className?: string | undefined;
|
|
18
|
+
} & React_2.RefAttributes<HTMLElement>>;
|
|
19
|
+
Panel: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<AccordionPanelProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
20
|
+
className?: string | undefined;
|
|
21
|
+
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
22
|
+
Root: typeof Root;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
declare function Root<Value = any>({ className, ...props }: WithStringClassName<Accordion_2.Root.Props<Value>>): JSX_2.Element;
|
|
26
|
+
|
|
27
|
+
declare type WithStringClassName<P> = Omit<P, 'className'> & {
|
|
28
|
+
className?: string;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
export * from "@base-ui/react/accordion";
|
|
33
|
+
|
|
34
|
+
export { }
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Accordion } from "@base-ui/react/accordion";
|
|
3
|
+
import clsx from "clsx";
|
|
4
|
+
import * as __rspack_external_react from "react";
|
|
5
|
+
const Accordion_module = {};
|
|
6
|
+
const Item = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Accordion.Item, {
|
|
7
|
+
ref: ref,
|
|
8
|
+
className: clsx(Accordion_module.item, className),
|
|
9
|
+
...props
|
|
10
|
+
}));
|
|
11
|
+
const Header = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Accordion.Header, {
|
|
12
|
+
ref: ref,
|
|
13
|
+
className: clsx(Accordion_module.header, className),
|
|
14
|
+
...props
|
|
15
|
+
}));
|
|
16
|
+
const Trigger = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Accordion.Trigger, {
|
|
17
|
+
ref: ref,
|
|
18
|
+
className: clsx(Accordion_module.trigger, className),
|
|
19
|
+
...props
|
|
20
|
+
}));
|
|
21
|
+
const Panel = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Accordion.Panel, {
|
|
22
|
+
ref: ref,
|
|
23
|
+
className: clsx(Accordion_module.panel, className),
|
|
24
|
+
...props
|
|
25
|
+
}));
|
|
26
|
+
function Root({ className, ...props }) {
|
|
27
|
+
return /*#__PURE__*/ jsx(Accordion.Root, {
|
|
28
|
+
...props,
|
|
29
|
+
className: clsx(Accordion_module.root, className)
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
const Accordion_Accordion = {
|
|
33
|
+
Item: Item,
|
|
34
|
+
Header: Header,
|
|
35
|
+
Trigger: Trigger,
|
|
36
|
+
Panel: Panel,
|
|
37
|
+
Root: Root
|
|
38
|
+
};
|
|
39
|
+
export { Accordion_Accordion as Accordion };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { AlertDialog as AlertDialog_2 } from '@base-ui/react/alert-dialog';
|
|
2
|
+
import { AlertDialogBackdropProps } from '@base-ui/react/alert-dialog';
|
|
3
|
+
import { AlertDialogCloseProps } from '@base-ui/react/alert-dialog';
|
|
4
|
+
import { AlertDialogDescriptionProps } from '@base-ui/react/alert-dialog';
|
|
5
|
+
import { AlertDialogPopupProps } from '@base-ui/react/alert-dialog';
|
|
6
|
+
import { AlertDialogPortalProps } from '@base-ui/react/alert-dialog';
|
|
7
|
+
import { AlertDialogTitleProps } from '@base-ui/react/alert-dialog';
|
|
8
|
+
import { AlertDialogViewportProps } from '@base-ui/react/alert-dialog';
|
|
9
|
+
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
10
|
+
import * as React_2 from 'react';
|
|
11
|
+
|
|
12
|
+
export declare const AlertDialog: {
|
|
13
|
+
Backdrop: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<AlertDialogBackdropProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
14
|
+
className?: string | undefined;
|
|
15
|
+
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
16
|
+
Close: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<AlertDialogCloseProps, "ref"> & React_2.RefAttributes<HTMLButtonElement>, "ref">, "className"> & {
|
|
17
|
+
className?: string | undefined;
|
|
18
|
+
} & React_2.RefAttributes<HTMLButtonElement>>;
|
|
19
|
+
Description: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<AlertDialogDescriptionProps, "ref"> & React_2.RefAttributes<HTMLParagraphElement>, "ref">, "className"> & {
|
|
20
|
+
className?: string | undefined;
|
|
21
|
+
} & React_2.RefAttributes<HTMLParagraphElement>>;
|
|
22
|
+
Popup: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<AlertDialogPopupProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
23
|
+
className?: string | undefined;
|
|
24
|
+
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
25
|
+
Title: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<AlertDialogTitleProps, "ref"> & React_2.RefAttributes<HTMLHeadingElement>, "ref">, "className"> & {
|
|
26
|
+
className?: string | undefined;
|
|
27
|
+
} & React_2.RefAttributes<HTMLHeadingElement>>;
|
|
28
|
+
Viewport: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<AlertDialogViewportProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
29
|
+
className?: string | undefined;
|
|
30
|
+
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
31
|
+
Root: typeof AlertDialog_2.Root;
|
|
32
|
+
Trigger: typeof Trigger;
|
|
33
|
+
Portal: React_2.ForwardRefExoticComponent<Omit<AlertDialogPortalProps, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
34
|
+
Handle: typeof AlertDialog_2.Handle;
|
|
35
|
+
createHandle: typeof AlertDialog_2.createHandle;
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
declare function Trigger<Payload = unknown>({ className, ...props }: WithStringClassName<AlertDialog_2.Trigger.Props<Payload>>): JSX_2.Element;
|
|
39
|
+
|
|
40
|
+
declare type WithStringClassName<P> = Omit<P, 'className'> & {
|
|
41
|
+
className?: string;
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
export * from "@base-ui/react/alert-dialog";
|
|
46
|
+
|
|
47
|
+
export { }
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { AlertDialog } from "@base-ui/react/alert-dialog";
|
|
3
|
+
import clsx from "clsx";
|
|
4
|
+
import * as __rspack_external_react from "react";
|
|
5
|
+
const AlertDialog_module = {};
|
|
6
|
+
const Backdrop = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(AlertDialog.Backdrop, {
|
|
7
|
+
ref: ref,
|
|
8
|
+
className: clsx(AlertDialog_module.backdrop, className),
|
|
9
|
+
...props
|
|
10
|
+
}));
|
|
11
|
+
const Close = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(AlertDialog.Close, {
|
|
12
|
+
ref: ref,
|
|
13
|
+
className: clsx(AlertDialog_module.close, className),
|
|
14
|
+
...props
|
|
15
|
+
}));
|
|
16
|
+
const Description = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(AlertDialog.Description, {
|
|
17
|
+
ref: ref,
|
|
18
|
+
className: clsx(AlertDialog_module.description, className),
|
|
19
|
+
...props
|
|
20
|
+
}));
|
|
21
|
+
const Popup = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(AlertDialog.Popup, {
|
|
22
|
+
ref: ref,
|
|
23
|
+
className: clsx(AlertDialog_module.popup, className),
|
|
24
|
+
...props
|
|
25
|
+
}));
|
|
26
|
+
const Title = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(AlertDialog.Title, {
|
|
27
|
+
ref: ref,
|
|
28
|
+
className: clsx(AlertDialog_module.title, className),
|
|
29
|
+
...props
|
|
30
|
+
}));
|
|
31
|
+
const Viewport = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(AlertDialog.Viewport, {
|
|
32
|
+
ref: ref,
|
|
33
|
+
className: clsx(AlertDialog_module.viewport, className),
|
|
34
|
+
...props
|
|
35
|
+
}));
|
|
36
|
+
function Trigger({ className, ...props }) {
|
|
37
|
+
return /*#__PURE__*/ jsx(AlertDialog.Trigger, {
|
|
38
|
+
...props,
|
|
39
|
+
className: clsx(AlertDialog_module.trigger, className)
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
const AlertDialog_AlertDialog = {
|
|
43
|
+
Backdrop: Backdrop,
|
|
44
|
+
Close: Close,
|
|
45
|
+
Description: Description,
|
|
46
|
+
Popup: Popup,
|
|
47
|
+
Title: Title,
|
|
48
|
+
Viewport: Viewport,
|
|
49
|
+
Root: AlertDialog.Root,
|
|
50
|
+
Trigger: Trigger,
|
|
51
|
+
Portal: AlertDialog.Portal,
|
|
52
|
+
Handle: AlertDialog.Handle,
|
|
53
|
+
createHandle: AlertDialog.createHandle
|
|
54
|
+
};
|
|
55
|
+
export { AlertDialog_AlertDialog as AlertDialog };
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { Autocomplete as Autocomplete_2 } from '@base-ui/react/autocomplete';
|
|
2
|
+
import { AutocompleteArrowProps } from '@base-ui/react/autocomplete';
|
|
3
|
+
import { AutocompleteBackdropProps } from '@base-ui/react/autocomplete';
|
|
4
|
+
import { AutocompleteClearProps } from '@base-ui/react/autocomplete';
|
|
5
|
+
import { AutocompleteEmptyProps } from '@base-ui/react/autocomplete';
|
|
6
|
+
import { AutocompleteGroupLabelProps } from '@base-ui/react/autocomplete';
|
|
7
|
+
import { AutocompleteGroupProps } from '@base-ui/react/autocomplete';
|
|
8
|
+
import { AutocompleteIconProps } from '@base-ui/react/autocomplete';
|
|
9
|
+
import { AutocompleteInputGroupProps } from '@base-ui/react/autocomplete';
|
|
10
|
+
import { AutocompleteInputProps } from '@base-ui/react/autocomplete';
|
|
11
|
+
import { AutocompleteItemProps } from '@base-ui/react/autocomplete';
|
|
12
|
+
import { AutocompleteListProps } from '@base-ui/react/autocomplete';
|
|
13
|
+
import { AutocompletePopupProps } from '@base-ui/react/autocomplete';
|
|
14
|
+
import { AutocompletePortalProps } from '@base-ui/react/autocomplete';
|
|
15
|
+
import { AutocompletePositionerProps } from '@base-ui/react/autocomplete';
|
|
16
|
+
import { AutocompleteRowProps } from '@base-ui/react/autocomplete';
|
|
17
|
+
import { AutocompleteStatusProps } from '@base-ui/react/autocomplete';
|
|
18
|
+
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
19
|
+
import * as React_2 from 'react';
|
|
20
|
+
import { SeparatorProps } from '@base-ui/react';
|
|
21
|
+
|
|
22
|
+
export declare const Autocomplete: {
|
|
23
|
+
InputGroup: React_2.ForwardRefExoticComponent<Omit<Omit<AutocompleteInputGroupProps & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
24
|
+
className?: string | undefined;
|
|
25
|
+
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
26
|
+
Item: React_2.ForwardRefExoticComponent<Omit<Omit<AutocompleteItemProps & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
27
|
+
className?: string | undefined;
|
|
28
|
+
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
29
|
+
Input: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<AutocompleteInputProps, "ref"> & React_2.RefAttributes<HTMLInputElement>, "ref">, "className"> & {
|
|
30
|
+
className?: string | undefined;
|
|
31
|
+
} & React_2.RefAttributes<HTMLInputElement>>;
|
|
32
|
+
Icon: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<AutocompleteIconProps, "ref"> & React_2.RefAttributes<HTMLSpanElement>, "ref">, "className"> & {
|
|
33
|
+
className?: string | undefined;
|
|
34
|
+
} & React_2.RefAttributes<HTMLSpanElement>>;
|
|
35
|
+
Clear: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<AutocompleteClearProps, "ref"> & React_2.RefAttributes<HTMLButtonElement>, "ref">, "className"> & {
|
|
36
|
+
className?: string | undefined;
|
|
37
|
+
} & React_2.RefAttributes<HTMLButtonElement>>;
|
|
38
|
+
List: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<AutocompleteListProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
39
|
+
className?: string | undefined;
|
|
40
|
+
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
41
|
+
Status: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<AutocompleteStatusProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
42
|
+
className?: string | undefined;
|
|
43
|
+
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
44
|
+
Backdrop: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<AutocompleteBackdropProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
45
|
+
className?: string | undefined;
|
|
46
|
+
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
47
|
+
Positioner: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<AutocompletePositionerProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
48
|
+
className?: string | undefined;
|
|
49
|
+
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
50
|
+
Popup: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<AutocompletePopupProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
51
|
+
className?: string | undefined;
|
|
52
|
+
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
53
|
+
Arrow: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<AutocompleteArrowProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
54
|
+
className?: string | undefined;
|
|
55
|
+
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
56
|
+
Group: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<AutocompleteGroupProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
57
|
+
className?: string | undefined;
|
|
58
|
+
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
59
|
+
GroupLabel: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<AutocompleteGroupLabelProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
60
|
+
className?: string | undefined;
|
|
61
|
+
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
62
|
+
Row: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<AutocompleteRowProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
63
|
+
className?: string | undefined;
|
|
64
|
+
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
65
|
+
Collection: typeof Autocomplete_2.Collection;
|
|
66
|
+
Empty: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<AutocompleteEmptyProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
67
|
+
className?: string | undefined;
|
|
68
|
+
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
69
|
+
Root: typeof Autocomplete_2.Root;
|
|
70
|
+
Trigger: typeof Trigger;
|
|
71
|
+
Value: typeof Autocomplete_2.Value;
|
|
72
|
+
Portal: React_2.ForwardRefExoticComponent<Omit<AutocompletePortalProps, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
73
|
+
Separator: React_2.ForwardRefExoticComponent<Omit<SeparatorProps, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
declare function Trigger({ className, ...props }: WithStringClassName<Autocomplete_2.Trigger.Props> & React_2.RefAttributes<HTMLButtonElement>): JSX_2.Element;
|
|
77
|
+
|
|
78
|
+
declare type WithStringClassName<P> = Omit<P, 'className'> & {
|
|
79
|
+
className?: string;
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
export * from "@base-ui/react/autocomplete";
|
|
84
|
+
|
|
85
|
+
export { }
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Autocomplete } from "@base-ui/react/autocomplete";
|
|
3
|
+
import clsx from "clsx";
|
|
4
|
+
import * as __rspack_external_react from "react";
|
|
5
|
+
const Autocomplete_module = {};
|
|
6
|
+
const InputGroup = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Autocomplete.InputGroup, {
|
|
7
|
+
ref: ref,
|
|
8
|
+
className: clsx(Autocomplete_module.inputGroup, className),
|
|
9
|
+
...props
|
|
10
|
+
}));
|
|
11
|
+
const Item = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Autocomplete.Item, {
|
|
12
|
+
ref: ref,
|
|
13
|
+
className: clsx(Autocomplete_module.item, className),
|
|
14
|
+
...props
|
|
15
|
+
}));
|
|
16
|
+
const Input = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Autocomplete.Input, {
|
|
17
|
+
ref: ref,
|
|
18
|
+
className: clsx(Autocomplete_module.input, className),
|
|
19
|
+
...props
|
|
20
|
+
}));
|
|
21
|
+
const Icon = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Autocomplete.Icon, {
|
|
22
|
+
ref: ref,
|
|
23
|
+
className: clsx(Autocomplete_module.icon, className),
|
|
24
|
+
...props
|
|
25
|
+
}));
|
|
26
|
+
const Clear = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Autocomplete.Clear, {
|
|
27
|
+
ref: ref,
|
|
28
|
+
className: clsx(Autocomplete_module.clear, className),
|
|
29
|
+
...props
|
|
30
|
+
}));
|
|
31
|
+
const List = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Autocomplete.List, {
|
|
32
|
+
ref: ref,
|
|
33
|
+
className: clsx(Autocomplete_module.list, className),
|
|
34
|
+
...props
|
|
35
|
+
}));
|
|
36
|
+
const Status = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Autocomplete.Status, {
|
|
37
|
+
ref: ref,
|
|
38
|
+
className: clsx(Autocomplete_module.status, className),
|
|
39
|
+
...props
|
|
40
|
+
}));
|
|
41
|
+
const Backdrop = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Autocomplete.Backdrop, {
|
|
42
|
+
ref: ref,
|
|
43
|
+
className: clsx(Autocomplete_module.backdrop, className),
|
|
44
|
+
...props
|
|
45
|
+
}));
|
|
46
|
+
const Positioner = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Autocomplete.Positioner, {
|
|
47
|
+
ref: ref,
|
|
48
|
+
className: clsx(Autocomplete_module.positioner, className),
|
|
49
|
+
...props
|
|
50
|
+
}));
|
|
51
|
+
const Popup = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Autocomplete.Popup, {
|
|
52
|
+
ref: ref,
|
|
53
|
+
className: clsx(Autocomplete_module.popup, className),
|
|
54
|
+
...props
|
|
55
|
+
}));
|
|
56
|
+
const Arrow = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Autocomplete.Arrow, {
|
|
57
|
+
ref: ref,
|
|
58
|
+
className: clsx(Autocomplete_module.arrow, className),
|
|
59
|
+
...props
|
|
60
|
+
}));
|
|
61
|
+
const Group = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Autocomplete.Group, {
|
|
62
|
+
ref: ref,
|
|
63
|
+
className: clsx(Autocomplete_module.group, className),
|
|
64
|
+
...props
|
|
65
|
+
}));
|
|
66
|
+
const GroupLabel = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Autocomplete.GroupLabel, {
|
|
67
|
+
ref: ref,
|
|
68
|
+
className: clsx(Autocomplete_module.groupLabel, className),
|
|
69
|
+
...props
|
|
70
|
+
}));
|
|
71
|
+
const Row = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Autocomplete.Row, {
|
|
72
|
+
ref: ref,
|
|
73
|
+
className: clsx(Autocomplete_module.row, className),
|
|
74
|
+
...props
|
|
75
|
+
}));
|
|
76
|
+
const Empty = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Autocomplete.Empty, {
|
|
77
|
+
ref: ref,
|
|
78
|
+
className: clsx(Autocomplete_module.empty, className),
|
|
79
|
+
...props
|
|
80
|
+
}));
|
|
81
|
+
function Trigger({ className, ...props }) {
|
|
82
|
+
return /*#__PURE__*/ jsx(Autocomplete.Trigger, {
|
|
83
|
+
...props,
|
|
84
|
+
className: clsx(Autocomplete_module.trigger, className)
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
const Autocomplete_Autocomplete = {
|
|
88
|
+
InputGroup: InputGroup,
|
|
89
|
+
Item: Item,
|
|
90
|
+
Input: Input,
|
|
91
|
+
Icon: Icon,
|
|
92
|
+
Clear: Clear,
|
|
93
|
+
List: List,
|
|
94
|
+
Status: Status,
|
|
95
|
+
Backdrop: Backdrop,
|
|
96
|
+
Positioner: Positioner,
|
|
97
|
+
Popup: Popup,
|
|
98
|
+
Arrow: Arrow,
|
|
99
|
+
Group: Group,
|
|
100
|
+
GroupLabel: GroupLabel,
|
|
101
|
+
Row: Row,
|
|
102
|
+
Collection: Autocomplete.Collection,
|
|
103
|
+
Empty: Empty,
|
|
104
|
+
Root: Autocomplete.Root,
|
|
105
|
+
Trigger: Trigger,
|
|
106
|
+
Value: Autocomplete.Value,
|
|
107
|
+
Portal: Autocomplete.Portal,
|
|
108
|
+
Separator: Autocomplete.Separator
|
|
109
|
+
};
|
|
110
|
+
export { Autocomplete_Autocomplete as Autocomplete };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { AvatarFallbackProps } from '@base-ui/react/avatar';
|
|
2
|
+
import { AvatarImageProps } from '@base-ui/react/avatar';
|
|
3
|
+
import { AvatarRootProps } from '@base-ui/react/avatar';
|
|
4
|
+
import * as React_2 from 'react';
|
|
5
|
+
|
|
6
|
+
export declare const Avatar: {
|
|
7
|
+
Root: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<AvatarRootProps, "ref"> & React_2.RefAttributes<HTMLSpanElement>, "ref">, "className"> & {
|
|
8
|
+
className?: string | undefined;
|
|
9
|
+
} & React_2.RefAttributes<HTMLSpanElement>>;
|
|
10
|
+
Image: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<AvatarImageProps, "ref"> & React_2.RefAttributes<HTMLImageElement>, "ref">, "className"> & {
|
|
11
|
+
className?: string | undefined;
|
|
12
|
+
} & React_2.RefAttributes<HTMLImageElement>>;
|
|
13
|
+
Fallback: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<AvatarFallbackProps, "ref"> & React_2.RefAttributes<HTMLSpanElement>, "ref">, "className"> & {
|
|
14
|
+
className?: string | undefined;
|
|
15
|
+
} & React_2.RefAttributes<HTMLSpanElement>>;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
export * from "@base-ui/react/avatar";
|
|
20
|
+
|
|
21
|
+
export { }
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Avatar } from "@base-ui/react/avatar";
|
|
3
|
+
import clsx from "clsx";
|
|
4
|
+
import * as __rspack_external_react from "react";
|
|
5
|
+
const Avatar_module = {};
|
|
6
|
+
const Root = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Avatar.Root, {
|
|
7
|
+
ref: ref,
|
|
8
|
+
className: clsx(Avatar_module.root, className),
|
|
9
|
+
...props
|
|
10
|
+
}));
|
|
11
|
+
const Image = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Avatar.Image, {
|
|
12
|
+
ref: ref,
|
|
13
|
+
className: clsx(Avatar_module.image, className),
|
|
14
|
+
...props
|
|
15
|
+
}));
|
|
16
|
+
const Fallback = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Avatar.Fallback, {
|
|
17
|
+
ref: ref,
|
|
18
|
+
className: clsx(Avatar_module.fallback, className),
|
|
19
|
+
...props
|
|
20
|
+
}));
|
|
21
|
+
const Avatar_Avatar = {
|
|
22
|
+
Root: Root,
|
|
23
|
+
Image: Image,
|
|
24
|
+
Fallback: Fallback
|
|
25
|
+
};
|
|
26
|
+
export { Avatar_Avatar as Avatar };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ButtonProps } from '@base-ui/react/button';
|
|
2
|
+
import * as React_2 from 'react';
|
|
3
|
+
|
|
4
|
+
export declare const Button: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ButtonProps, "ref"> & React_2.RefAttributes<HTMLElement>, "ref">, "className"> & {
|
|
5
|
+
className?: string | undefined;
|
|
6
|
+
} & React_2.RefAttributes<HTMLElement>>;
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
export * from "@base-ui/react/button";
|
|
10
|
+
|
|
11
|
+
export { }
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Button } from "@base-ui/react/button";
|
|
3
|
+
import clsx from "clsx";
|
|
4
|
+
import * as __rspack_external_react from "react";
|
|
5
|
+
const Button_module = {};
|
|
6
|
+
const Button_Button = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Button, {
|
|
7
|
+
ref: ref,
|
|
8
|
+
className: clsx(Button_module.root, className),
|
|
9
|
+
...props
|
|
10
|
+
}));
|
|
11
|
+
export { Button_Button as Button };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { CheckboxIndicatorProps } from '@base-ui/react/checkbox';
|
|
2
|
+
import { CheckboxRootProps } from '@base-ui/react/checkbox';
|
|
3
|
+
import * as React_2 from 'react';
|
|
4
|
+
|
|
5
|
+
export declare const Checkbox: {
|
|
6
|
+
Root: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<CheckboxRootProps, "ref"> & React_2.RefAttributes<HTMLElement>, "ref">, "className"> & {
|
|
7
|
+
className?: string | undefined;
|
|
8
|
+
} & React_2.RefAttributes<HTMLElement>>;
|
|
9
|
+
Indicator: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<CheckboxIndicatorProps, "ref"> & React_2.RefAttributes<HTMLSpanElement>, "ref">, "className"> & {
|
|
10
|
+
className?: string | undefined;
|
|
11
|
+
} & React_2.RefAttributes<HTMLSpanElement>>;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
export * from "@base-ui/react/checkbox";
|
|
16
|
+
|
|
17
|
+
export { }
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Checkbox } from "@base-ui/react/checkbox";
|
|
3
|
+
import clsx from "clsx";
|
|
4
|
+
import * as __rspack_external_react from "react";
|
|
5
|
+
const Checkbox_module = {};
|
|
6
|
+
const Root = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Checkbox.Root, {
|
|
7
|
+
ref: ref,
|
|
8
|
+
className: clsx(Checkbox_module.root, className),
|
|
9
|
+
...props
|
|
10
|
+
}));
|
|
11
|
+
const Indicator = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Checkbox.Indicator, {
|
|
12
|
+
ref: ref,
|
|
13
|
+
className: clsx(Checkbox_module.indicator, className),
|
|
14
|
+
...props
|
|
15
|
+
}));
|
|
16
|
+
const Checkbox_Checkbox = {
|
|
17
|
+
Root: Root,
|
|
18
|
+
Indicator: Indicator
|
|
19
|
+
};
|
|
20
|
+
export { Checkbox_Checkbox as Checkbox };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CheckboxGroupProps } from '@base-ui/react/checkbox-group';
|
|
2
|
+
import * as React_2 from 'react';
|
|
3
|
+
|
|
4
|
+
export declare const CheckboxGroup: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<CheckboxGroupProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
5
|
+
className?: string | undefined;
|
|
6
|
+
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
export * from "@base-ui/react/checkbox-group";
|
|
10
|
+
|
|
11
|
+
export { }
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { CheckboxGroup } from "@base-ui/react/checkbox-group";
|
|
3
|
+
import clsx from "clsx";
|
|
4
|
+
import * as __rspack_external_react from "react";
|
|
5
|
+
const CheckboxGroup_module = {};
|
|
6
|
+
const CheckboxGroup_CheckboxGroup = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(CheckboxGroup, {
|
|
7
|
+
ref: ref,
|
|
8
|
+
className: clsx(CheckboxGroup_module.root, className),
|
|
9
|
+
...props
|
|
10
|
+
}));
|
|
11
|
+
export { CheckboxGroup_CheckboxGroup as CheckboxGroup };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { CollapsiblePanelProps } from '@base-ui/react/collapsible';
|
|
2
|
+
import { CollapsibleRootProps } from '@base-ui/react/collapsible';
|
|
3
|
+
import { CollapsibleTriggerProps } from '@base-ui/react/collapsible';
|
|
4
|
+
import * as React_2 from 'react';
|
|
5
|
+
|
|
6
|
+
export declare const Collapsible: {
|
|
7
|
+
Root: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<CollapsibleRootProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
8
|
+
className?: string | undefined;
|
|
9
|
+
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
10
|
+
Trigger: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<CollapsibleTriggerProps, "ref"> & React_2.RefAttributes<HTMLButtonElement>, "ref">, "className"> & {
|
|
11
|
+
className?: string | undefined;
|
|
12
|
+
} & React_2.RefAttributes<HTMLButtonElement>>;
|
|
13
|
+
Panel: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<CollapsiblePanelProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
14
|
+
className?: string | undefined;
|
|
15
|
+
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
export * from "@base-ui/react/collapsible";
|
|
20
|
+
|
|
21
|
+
export { }
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Collapsible } from "@base-ui/react/collapsible";
|
|
3
|
+
import clsx from "clsx";
|
|
4
|
+
import * as __rspack_external_react from "react";
|
|
5
|
+
const Collapsible_module = {};
|
|
6
|
+
const Root = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Collapsible.Root, {
|
|
7
|
+
ref: ref,
|
|
8
|
+
className: clsx(Collapsible_module.root, className),
|
|
9
|
+
...props
|
|
10
|
+
}));
|
|
11
|
+
const Trigger = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Collapsible.Trigger, {
|
|
12
|
+
ref: ref,
|
|
13
|
+
className: clsx(Collapsible_module.trigger, className),
|
|
14
|
+
...props
|
|
15
|
+
}));
|
|
16
|
+
const Panel = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Collapsible.Panel, {
|
|
17
|
+
ref: ref,
|
|
18
|
+
className: clsx(Collapsible_module.panel, className),
|
|
19
|
+
...props
|
|
20
|
+
}));
|
|
21
|
+
const Collapsible_Collapsible = {
|
|
22
|
+
Root: Root,
|
|
23
|
+
Trigger: Trigger,
|
|
24
|
+
Panel: Panel
|
|
25
|
+
};
|
|
26
|
+
export { Collapsible_Collapsible as Collapsible };
|