@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,83 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Drawer } from "@base-ui/react/drawer";
|
|
3
|
+
import clsx from "clsx";
|
|
4
|
+
import * as __rspack_external_react from "react";
|
|
5
|
+
const Drawer_module = {};
|
|
6
|
+
const Backdrop = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Drawer.Backdrop, {
|
|
7
|
+
ref: ref,
|
|
8
|
+
className: clsx(Drawer_module.backdrop, className),
|
|
9
|
+
...props
|
|
10
|
+
}));
|
|
11
|
+
const Content = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Drawer.Content, {
|
|
12
|
+
ref: ref,
|
|
13
|
+
className: clsx(Drawer_module.content, className),
|
|
14
|
+
...props
|
|
15
|
+
}));
|
|
16
|
+
const Indent = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Drawer.Indent, {
|
|
17
|
+
ref: ref,
|
|
18
|
+
className: clsx(Drawer_module.indent, className),
|
|
19
|
+
...props
|
|
20
|
+
}));
|
|
21
|
+
const IndentBackground = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Drawer.IndentBackground, {
|
|
22
|
+
ref: ref,
|
|
23
|
+
className: clsx(Drawer_module.indentBackground, className),
|
|
24
|
+
...props
|
|
25
|
+
}));
|
|
26
|
+
const Popup = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Drawer.Popup, {
|
|
27
|
+
ref: ref,
|
|
28
|
+
className: clsx(Drawer_module.popup, className),
|
|
29
|
+
...props
|
|
30
|
+
}));
|
|
31
|
+
const SwipeArea = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Drawer.SwipeArea, {
|
|
32
|
+
ref: ref,
|
|
33
|
+
className: clsx(Drawer_module.swipeArea, className),
|
|
34
|
+
...props
|
|
35
|
+
}));
|
|
36
|
+
const Viewport = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Drawer.Viewport, {
|
|
37
|
+
ref: ref,
|
|
38
|
+
className: clsx(Drawer_module.viewport, className),
|
|
39
|
+
...props
|
|
40
|
+
}));
|
|
41
|
+
function Trigger({ className, ...props }) {
|
|
42
|
+
return /*#__PURE__*/ jsx(Drawer.Trigger, {
|
|
43
|
+
...props,
|
|
44
|
+
className: clsx(Drawer_module.trigger, className)
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
function Close({ className, ...props }) {
|
|
48
|
+
return /*#__PURE__*/ jsx(Drawer.Close, {
|
|
49
|
+
...props,
|
|
50
|
+
className: clsx(Drawer_module.close, className)
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
function Title({ className, ...props }) {
|
|
54
|
+
return /*#__PURE__*/ jsx(Drawer.Title, {
|
|
55
|
+
...props,
|
|
56
|
+
className: clsx(Drawer_module.title, className)
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
function Description({ className, ...props }) {
|
|
60
|
+
return /*#__PURE__*/ jsx(Drawer.Description, {
|
|
61
|
+
...props,
|
|
62
|
+
className: clsx(Drawer_module.description, className)
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
const Drawer_Drawer = {
|
|
66
|
+
Backdrop: Backdrop,
|
|
67
|
+
Content: Content,
|
|
68
|
+
Indent: Indent,
|
|
69
|
+
IndentBackground: IndentBackground,
|
|
70
|
+
Popup: Popup,
|
|
71
|
+
SwipeArea: SwipeArea,
|
|
72
|
+
Viewport: Viewport,
|
|
73
|
+
Root: Drawer.Root,
|
|
74
|
+
Trigger: Trigger,
|
|
75
|
+
Close: Close,
|
|
76
|
+
Title: Title,
|
|
77
|
+
Description: Description,
|
|
78
|
+
Portal: Drawer.Portal,
|
|
79
|
+
Provider: Drawer.Provider,
|
|
80
|
+
Handle: Drawer.Handle,
|
|
81
|
+
createHandle: Drawer.createHandle
|
|
82
|
+
};
|
|
83
|
+
export { Drawer_Drawer as Drawer };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { FieldControlProps } from '@base-ui/react/field';
|
|
2
|
+
import { FieldDescriptionProps } from '@base-ui/react/field';
|
|
3
|
+
import { FieldErrorProps } from '@base-ui/react/field';
|
|
4
|
+
import { FieldItemProps } from '@base-ui/react/field';
|
|
5
|
+
import { FieldLabelProps } from '@base-ui/react/field';
|
|
6
|
+
import { FieldRootProps } from '@base-ui/react/field';
|
|
7
|
+
import { FieldValidityProps } from '@base-ui/react/field';
|
|
8
|
+
import * as React_2 from 'react';
|
|
9
|
+
|
|
10
|
+
export declare const Field: {
|
|
11
|
+
Root: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<FieldRootProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
12
|
+
className?: string | undefined;
|
|
13
|
+
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
14
|
+
Label: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<FieldLabelProps, "ref"> & React_2.RefAttributes<HTMLElement>, "ref">, "className"> & {
|
|
15
|
+
className?: string | undefined;
|
|
16
|
+
} & React_2.RefAttributes<HTMLElement>>;
|
|
17
|
+
Error: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<FieldErrorProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
18
|
+
className?: string | undefined;
|
|
19
|
+
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
20
|
+
Description: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<FieldDescriptionProps, "ref"> & React_2.RefAttributes<HTMLParagraphElement>, "ref">, "className"> & {
|
|
21
|
+
className?: string | undefined;
|
|
22
|
+
} & React_2.RefAttributes<HTMLParagraphElement>>;
|
|
23
|
+
Control: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<FieldControlProps, "ref"> & React_2.RefAttributes<HTMLElement>, "ref">, "className"> & {
|
|
24
|
+
className?: string | undefined;
|
|
25
|
+
} & React_2.RefAttributes<HTMLElement>>;
|
|
26
|
+
Item: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<FieldItemProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
27
|
+
className?: string | undefined;
|
|
28
|
+
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
29
|
+
Validity: React_2.FC<FieldValidityProps>;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
export * from "@base-ui/react/field";
|
|
34
|
+
|
|
35
|
+
export { }
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Field } from "@base-ui/react/field";
|
|
3
|
+
import clsx from "clsx";
|
|
4
|
+
import * as __rspack_external_react from "react";
|
|
5
|
+
const Field_module = {};
|
|
6
|
+
const Root = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Field.Root, {
|
|
7
|
+
ref: ref,
|
|
8
|
+
className: clsx(Field_module.root, className),
|
|
9
|
+
...props
|
|
10
|
+
}));
|
|
11
|
+
const Label = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Field.Label, {
|
|
12
|
+
ref: ref,
|
|
13
|
+
className: clsx(Field_module.label, className),
|
|
14
|
+
...props
|
|
15
|
+
}));
|
|
16
|
+
const Error = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Field.Error, {
|
|
17
|
+
ref: ref,
|
|
18
|
+
className: clsx(Field_module.error, className),
|
|
19
|
+
...props
|
|
20
|
+
}));
|
|
21
|
+
const Description = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Field.Description, {
|
|
22
|
+
ref: ref,
|
|
23
|
+
className: clsx(Field_module.description, className),
|
|
24
|
+
...props
|
|
25
|
+
}));
|
|
26
|
+
const Control = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Field.Control, {
|
|
27
|
+
ref: ref,
|
|
28
|
+
className: clsx(Field_module.control, className),
|
|
29
|
+
...props
|
|
30
|
+
}));
|
|
31
|
+
const Item = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Field.Item, {
|
|
32
|
+
ref: ref,
|
|
33
|
+
className: clsx(Field_module.item, className),
|
|
34
|
+
...props
|
|
35
|
+
}));
|
|
36
|
+
const Field_Field = {
|
|
37
|
+
Root: Root,
|
|
38
|
+
Label: Label,
|
|
39
|
+
Error: Error,
|
|
40
|
+
Description: Description,
|
|
41
|
+
Control: Control,
|
|
42
|
+
Item: Item,
|
|
43
|
+
Validity: Field.Validity
|
|
44
|
+
};
|
|
45
|
+
export { Field_Field as Field };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { FieldsetLegendProps } from '@base-ui/react/fieldset';
|
|
2
|
+
import { FieldsetRootProps } from '@base-ui/react/fieldset';
|
|
3
|
+
import * as React_2 from 'react';
|
|
4
|
+
|
|
5
|
+
export declare const Fieldset: {
|
|
6
|
+
Root: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<FieldsetRootProps, "ref"> & React_2.RefAttributes<HTMLElement>, "ref">, "className"> & {
|
|
7
|
+
className?: string | undefined;
|
|
8
|
+
} & React_2.RefAttributes<HTMLElement>>;
|
|
9
|
+
Legend: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<FieldsetLegendProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
10
|
+
className?: string | undefined;
|
|
11
|
+
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
export * from "@base-ui/react/fieldset";
|
|
16
|
+
|
|
17
|
+
export { }
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Fieldset } from "@base-ui/react/fieldset";
|
|
3
|
+
import clsx from "clsx";
|
|
4
|
+
import * as __rspack_external_react from "react";
|
|
5
|
+
const Fieldset_module = {};
|
|
6
|
+
const Root = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Fieldset.Root, {
|
|
7
|
+
ref: ref,
|
|
8
|
+
className: clsx(Fieldset_module.root, className),
|
|
9
|
+
...props
|
|
10
|
+
}));
|
|
11
|
+
const Legend = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Fieldset.Legend, {
|
|
12
|
+
ref: ref,
|
|
13
|
+
className: clsx(Fieldset_module.legend, className),
|
|
14
|
+
...props
|
|
15
|
+
}));
|
|
16
|
+
const Fieldset_Fieldset = {
|
|
17
|
+
Root: Root,
|
|
18
|
+
Legend: Legend
|
|
19
|
+
};
|
|
20
|
+
export { Fieldset_Fieldset as Fieldset };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Form as Form_2 } from '@base-ui/react/form';
|
|
2
|
+
import * as React_2 from 'react';
|
|
3
|
+
|
|
4
|
+
export declare const Form: React_2.ForwardRefExoticComponent<Omit<Omit<Form_2.Props<Record<string, any>> & {
|
|
5
|
+
ref?: React_2.Ref<HTMLFormElement> | undefined;
|
|
6
|
+
}, "ref">, "className"> & {
|
|
7
|
+
className?: string | undefined;
|
|
8
|
+
} & React_2.RefAttributes<HTMLFormElement>>;
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
export * from "@base-ui/react/form";
|
|
12
|
+
|
|
13
|
+
export { }
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Form } from "@base-ui/react/form";
|
|
3
|
+
import clsx from "clsx";
|
|
4
|
+
import * as __rspack_external_react from "react";
|
|
5
|
+
const Form_module = {};
|
|
6
|
+
const Form_Form = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Form, {
|
|
7
|
+
ref: ref,
|
|
8
|
+
className: clsx(Form_module.root, className),
|
|
9
|
+
...props
|
|
10
|
+
}));
|
|
11
|
+
export { Form_Form as Form };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { InputProps } from '@base-ui/react/input';
|
|
2
|
+
import * as React_2 from 'react';
|
|
3
|
+
|
|
4
|
+
export declare const Input: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<InputProps, "ref"> & React_2.RefAttributes<HTMLElement>, "ref">, "className"> & {
|
|
5
|
+
className?: string | undefined;
|
|
6
|
+
} & React_2.RefAttributes<HTMLElement>>;
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
export * from "@base-ui/react/input";
|
|
10
|
+
|
|
11
|
+
export { }
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Input } from "@base-ui/react/input";
|
|
3
|
+
import clsx from "clsx";
|
|
4
|
+
import * as __rspack_external_react from "react";
|
|
5
|
+
const Input_module = {};
|
|
6
|
+
const Input_Input = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Input, {
|
|
7
|
+
ref: ref,
|
|
8
|
+
className: clsx(Input_module.root, className),
|
|
9
|
+
...props
|
|
10
|
+
}));
|
|
11
|
+
export { Input_Input as Input };
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
2
|
+
import { Menu as Menu_2 } from '@base-ui/react/menu';
|
|
3
|
+
import { MenuArrowProps } from '@base-ui/react/menu';
|
|
4
|
+
import { MenuBackdropProps } from '@base-ui/react/menu';
|
|
5
|
+
import { MenuCheckboxItemIndicatorProps } from '@base-ui/react/menu';
|
|
6
|
+
import { MenuCheckboxItemProps } from '@base-ui/react/menu';
|
|
7
|
+
import { MenuGroupLabelProps } from '@base-ui/react/menu';
|
|
8
|
+
import { MenuGroupProps } from '@base-ui/react/menu';
|
|
9
|
+
import { MenuItemProps } from '@base-ui/react/menu';
|
|
10
|
+
import { MenuLinkItemProps } from '@base-ui/react/menu';
|
|
11
|
+
import { MenuPopupProps } from '@base-ui/react/menu';
|
|
12
|
+
import { MenuPortalProps } from '@base-ui/react/menu';
|
|
13
|
+
import { MenuPositionerProps } from '@base-ui/react/menu';
|
|
14
|
+
import { MenuRadioGroupProps } from '@base-ui/react/menu';
|
|
15
|
+
import { MenuRadioItemIndicatorProps } from '@base-ui/react/menu';
|
|
16
|
+
import { MenuRadioItemProps } from '@base-ui/react/menu';
|
|
17
|
+
import { MenuSubmenuTriggerProps } from '@base-ui/react/menu';
|
|
18
|
+
import * as React_2 from 'react';
|
|
19
|
+
import { SeparatorProps } from '@base-ui/react';
|
|
20
|
+
|
|
21
|
+
export declare const Menu: {
|
|
22
|
+
Arrow: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<MenuArrowProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
23
|
+
className?: string | undefined;
|
|
24
|
+
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
25
|
+
Backdrop: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<MenuBackdropProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
26
|
+
className?: string | undefined;
|
|
27
|
+
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
28
|
+
CheckboxItem: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<MenuCheckboxItemProps, "ref"> & React_2.RefAttributes<HTMLElement>, "ref">, "className"> & {
|
|
29
|
+
className?: string | undefined;
|
|
30
|
+
} & React_2.RefAttributes<HTMLElement>>;
|
|
31
|
+
CheckboxItemIndicator: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<MenuCheckboxItemIndicatorProps, "ref"> & React_2.RefAttributes<HTMLSpanElement>, "ref">, "className"> & {
|
|
32
|
+
className?: string | undefined;
|
|
33
|
+
} & React_2.RefAttributes<HTMLSpanElement>>;
|
|
34
|
+
Group: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<MenuGroupProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
35
|
+
className?: string | undefined;
|
|
36
|
+
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
37
|
+
GroupLabel: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<MenuGroupLabelProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
38
|
+
className?: string | undefined;
|
|
39
|
+
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
40
|
+
Item: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<MenuItemProps, "ref"> & React_2.RefAttributes<HTMLElement>, "ref">, "className"> & {
|
|
41
|
+
className?: string | undefined;
|
|
42
|
+
} & React_2.RefAttributes<HTMLElement>>;
|
|
43
|
+
LinkItem: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<MenuLinkItemProps, "ref"> & React_2.RefAttributes<Element>, "ref">, "className"> & {
|
|
44
|
+
className?: string | undefined;
|
|
45
|
+
} & React_2.RefAttributes<Element>>;
|
|
46
|
+
Popup: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<MenuPopupProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
47
|
+
className?: string | undefined;
|
|
48
|
+
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
49
|
+
Positioner: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<MenuPositionerProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
50
|
+
className?: string | undefined;
|
|
51
|
+
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
52
|
+
RadioGroup: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<MenuRadioGroupProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
53
|
+
className?: string | undefined;
|
|
54
|
+
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
55
|
+
RadioItem: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<MenuRadioItemProps, "ref"> & React_2.RefAttributes<HTMLElement>, "ref">, "className"> & {
|
|
56
|
+
className?: string | undefined;
|
|
57
|
+
} & React_2.RefAttributes<HTMLElement>>;
|
|
58
|
+
RadioItemIndicator: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<MenuRadioItemIndicatorProps, "ref"> & React_2.RefAttributes<HTMLSpanElement>, "ref">, "className"> & {
|
|
59
|
+
className?: string | undefined;
|
|
60
|
+
} & React_2.RefAttributes<HTMLSpanElement>>;
|
|
61
|
+
SubmenuTrigger: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<MenuSubmenuTriggerProps, "ref"> & React_2.RefAttributes<HTMLElement>, "ref">, "className"> & {
|
|
62
|
+
className?: string | undefined;
|
|
63
|
+
} & React_2.RefAttributes<HTMLElement>>;
|
|
64
|
+
Viewport: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<Menu_2.Viewport.Props, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
65
|
+
className?: string | undefined;
|
|
66
|
+
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
67
|
+
Root: <Payload>(props: Menu_2.Root.Props<Payload>) => JSX_2.Element;
|
|
68
|
+
Trigger: typeof Trigger;
|
|
69
|
+
SubmenuRoot: typeof Menu_2.SubmenuRoot;
|
|
70
|
+
Portal: React_2.ForwardRefExoticComponent<Omit<MenuPortalProps, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
71
|
+
Separator: React_2.ForwardRefExoticComponent<Omit<SeparatorProps, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
72
|
+
Handle: typeof Menu_2.Handle;
|
|
73
|
+
createHandle: typeof Menu_2.createHandle;
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
declare function Trigger<Payload = unknown>({ className, ...props }: WithStringClassName<Menu_2.Trigger.Props<Payload>> & React_2.RefAttributes<HTMLElement>): JSX_2.Element;
|
|
77
|
+
|
|
78
|
+
declare type WithStringClassName<P> = Omit<P, 'className'> & {
|
|
79
|
+
className?: string;
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
export * from "@base-ui/react/menu";
|
|
84
|
+
|
|
85
|
+
export { }
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Menu } from "@base-ui/react/menu";
|
|
3
|
+
import clsx from "clsx";
|
|
4
|
+
import * as __rspack_external_react from "react";
|
|
5
|
+
const Menu_module = {};
|
|
6
|
+
const Arrow = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Menu.Arrow, {
|
|
7
|
+
ref: ref,
|
|
8
|
+
className: clsx(Menu_module.arrow, className),
|
|
9
|
+
...props
|
|
10
|
+
}));
|
|
11
|
+
const Backdrop = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Menu.Backdrop, {
|
|
12
|
+
ref: ref,
|
|
13
|
+
className: clsx(Menu_module.backdrop, className),
|
|
14
|
+
...props
|
|
15
|
+
}));
|
|
16
|
+
const CheckboxItem = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Menu.CheckboxItem, {
|
|
17
|
+
ref: ref,
|
|
18
|
+
className: clsx(Menu_module.checkboxItem, className),
|
|
19
|
+
...props
|
|
20
|
+
}));
|
|
21
|
+
const CheckboxItemIndicator = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Menu.CheckboxItemIndicator, {
|
|
22
|
+
ref: ref,
|
|
23
|
+
className: clsx(Menu_module.checkboxItemIndicator, className),
|
|
24
|
+
...props
|
|
25
|
+
}));
|
|
26
|
+
const Group = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Menu.Group, {
|
|
27
|
+
ref: ref,
|
|
28
|
+
className: clsx(Menu_module.group, className),
|
|
29
|
+
...props
|
|
30
|
+
}));
|
|
31
|
+
const GroupLabel = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Menu.GroupLabel, {
|
|
32
|
+
ref: ref,
|
|
33
|
+
className: clsx(Menu_module.groupLabel, className),
|
|
34
|
+
...props
|
|
35
|
+
}));
|
|
36
|
+
const Item = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Menu.Item, {
|
|
37
|
+
ref: ref,
|
|
38
|
+
className: clsx(Menu_module.item, className),
|
|
39
|
+
...props
|
|
40
|
+
}));
|
|
41
|
+
const LinkItem = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Menu.LinkItem, {
|
|
42
|
+
ref: ref,
|
|
43
|
+
className: clsx(Menu_module.linkItem, className),
|
|
44
|
+
...props
|
|
45
|
+
}));
|
|
46
|
+
const Popup = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Menu.Popup, {
|
|
47
|
+
ref: ref,
|
|
48
|
+
className: clsx(Menu_module.popup, className),
|
|
49
|
+
...props
|
|
50
|
+
}));
|
|
51
|
+
const Positioner = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Menu.Positioner, {
|
|
52
|
+
ref: ref,
|
|
53
|
+
className: clsx(Menu_module.positioner, className),
|
|
54
|
+
...props
|
|
55
|
+
}));
|
|
56
|
+
const RadioGroup = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Menu.RadioGroup, {
|
|
57
|
+
ref: ref,
|
|
58
|
+
className: clsx(Menu_module.radioGroup, className),
|
|
59
|
+
...props
|
|
60
|
+
}));
|
|
61
|
+
const RadioItem = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Menu.RadioItem, {
|
|
62
|
+
ref: ref,
|
|
63
|
+
className: clsx(Menu_module.radioItem, className),
|
|
64
|
+
...props
|
|
65
|
+
}));
|
|
66
|
+
const RadioItemIndicator = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Menu.RadioItemIndicator, {
|
|
67
|
+
ref: ref,
|
|
68
|
+
className: clsx(Menu_module.radioItemIndicator, className),
|
|
69
|
+
...props
|
|
70
|
+
}));
|
|
71
|
+
const SubmenuTrigger = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Menu.SubmenuTrigger, {
|
|
72
|
+
ref: ref,
|
|
73
|
+
className: clsx(Menu_module.submenuTrigger, className),
|
|
74
|
+
...props
|
|
75
|
+
}));
|
|
76
|
+
const Viewport = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Menu.Viewport, {
|
|
77
|
+
ref: ref,
|
|
78
|
+
className: clsx(Menu_module.viewport, className),
|
|
79
|
+
...props
|
|
80
|
+
}));
|
|
81
|
+
function Trigger({ className, ...props }) {
|
|
82
|
+
return /*#__PURE__*/ jsx(Menu.Trigger, {
|
|
83
|
+
...props,
|
|
84
|
+
className: clsx(Menu_module.trigger, className)
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
const Menu_Menu = {
|
|
88
|
+
Arrow: Arrow,
|
|
89
|
+
Backdrop: Backdrop,
|
|
90
|
+
CheckboxItem: CheckboxItem,
|
|
91
|
+
CheckboxItemIndicator: CheckboxItemIndicator,
|
|
92
|
+
Group: Group,
|
|
93
|
+
GroupLabel: GroupLabel,
|
|
94
|
+
Item: Item,
|
|
95
|
+
LinkItem: LinkItem,
|
|
96
|
+
Popup: Popup,
|
|
97
|
+
Positioner: Positioner,
|
|
98
|
+
RadioGroup: RadioGroup,
|
|
99
|
+
RadioItem: RadioItem,
|
|
100
|
+
RadioItemIndicator: RadioItemIndicator,
|
|
101
|
+
SubmenuTrigger: SubmenuTrigger,
|
|
102
|
+
Viewport: Viewport,
|
|
103
|
+
Root: Menu.Root,
|
|
104
|
+
Trigger: Trigger,
|
|
105
|
+
SubmenuRoot: Menu.SubmenuRoot,
|
|
106
|
+
Portal: Menu.Portal,
|
|
107
|
+
Separator: Menu.Separator,
|
|
108
|
+
Handle: Menu.Handle,
|
|
109
|
+
createHandle: Menu.createHandle
|
|
110
|
+
};
|
|
111
|
+
export { Menu_Menu as Menu };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { MenubarProps } from '@base-ui/react/menubar';
|
|
2
|
+
import * as React_2 from 'react';
|
|
3
|
+
|
|
4
|
+
export declare const Menubar: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<MenubarProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
5
|
+
className?: string | undefined;
|
|
6
|
+
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
export * from "@base-ui/react/menubar";
|
|
10
|
+
|
|
11
|
+
export { }
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Menubar } from "@base-ui/react/menubar";
|
|
3
|
+
import clsx from "clsx";
|
|
4
|
+
import * as __rspack_external_react from "react";
|
|
5
|
+
const Menubar_module = {};
|
|
6
|
+
const Menubar_Menubar = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Menubar, {
|
|
7
|
+
ref: ref,
|
|
8
|
+
className: clsx(Menubar_module.root, className),
|
|
9
|
+
...props
|
|
10
|
+
}));
|
|
11
|
+
export { Menubar_Menubar as Menubar };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { MeterIndicatorProps } from '@base-ui/react/meter';
|
|
2
|
+
import { MeterLabelProps } from '@base-ui/react/meter';
|
|
3
|
+
import { MeterRootProps } from '@base-ui/react/meter';
|
|
4
|
+
import { MeterTrackProps } from '@base-ui/react/meter';
|
|
5
|
+
import { MeterValueProps } from '@base-ui/react/meter';
|
|
6
|
+
import * as React_2 from 'react';
|
|
7
|
+
|
|
8
|
+
export declare const Meter: {
|
|
9
|
+
Root: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<MeterRootProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
10
|
+
className?: string | undefined;
|
|
11
|
+
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
12
|
+
Track: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<MeterTrackProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
13
|
+
className?: string | undefined;
|
|
14
|
+
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
15
|
+
Indicator: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<MeterIndicatorProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
16
|
+
className?: string | undefined;
|
|
17
|
+
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
18
|
+
Value: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<MeterValueProps, "ref"> & React_2.RefAttributes<HTMLSpanElement>, "ref">, "className"> & {
|
|
19
|
+
className?: string | undefined;
|
|
20
|
+
} & React_2.RefAttributes<HTMLSpanElement>>;
|
|
21
|
+
Label: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<MeterLabelProps, "ref"> & React_2.RefAttributes<HTMLSpanElement>, "ref">, "className"> & {
|
|
22
|
+
className?: string | undefined;
|
|
23
|
+
} & React_2.RefAttributes<HTMLSpanElement>>;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
export * from "@base-ui/react/meter";
|
|
28
|
+
|
|
29
|
+
export { }
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Meter } from "@base-ui/react/meter";
|
|
3
|
+
import clsx from "clsx";
|
|
4
|
+
import * as __rspack_external_react from "react";
|
|
5
|
+
const Meter_module = {};
|
|
6
|
+
const Root = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Meter.Root, {
|
|
7
|
+
ref: ref,
|
|
8
|
+
className: clsx(Meter_module.root, className),
|
|
9
|
+
...props
|
|
10
|
+
}));
|
|
11
|
+
const Track = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Meter.Track, {
|
|
12
|
+
ref: ref,
|
|
13
|
+
className: clsx(Meter_module.track, className),
|
|
14
|
+
...props
|
|
15
|
+
}));
|
|
16
|
+
const Indicator = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Meter.Indicator, {
|
|
17
|
+
ref: ref,
|
|
18
|
+
className: clsx(Meter_module.indicator, className),
|
|
19
|
+
...props
|
|
20
|
+
}));
|
|
21
|
+
const Value = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Meter.Value, {
|
|
22
|
+
ref: ref,
|
|
23
|
+
className: clsx(Meter_module.value, className),
|
|
24
|
+
...props
|
|
25
|
+
}));
|
|
26
|
+
const Label = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Meter.Label, {
|
|
27
|
+
ref: ref,
|
|
28
|
+
className: clsx(Meter_module.label, className),
|
|
29
|
+
...props
|
|
30
|
+
}));
|
|
31
|
+
const Meter_Meter = {
|
|
32
|
+
Root: Root,
|
|
33
|
+
Track: Track,
|
|
34
|
+
Indicator: Indicator,
|
|
35
|
+
Value: Value,
|
|
36
|
+
Label: Label
|
|
37
|
+
};
|
|
38
|
+
export { Meter_Meter as Meter };
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
2
|
+
import { NavigationMenu as NavigationMenu_2 } from '@base-ui/react/navigation-menu';
|
|
3
|
+
import { NavigationMenuArrowProps } from '@base-ui/react/navigation-menu';
|
|
4
|
+
import { NavigationMenuBackdropProps } from '@base-ui/react/navigation-menu';
|
|
5
|
+
import { NavigationMenuContentProps } from '@base-ui/react/navigation-menu';
|
|
6
|
+
import { NavigationMenuIconProps } from '@base-ui/react/navigation-menu';
|
|
7
|
+
import { NavigationMenuItemProps } from '@base-ui/react/navigation-menu';
|
|
8
|
+
import { NavigationMenuLinkProps } from '@base-ui/react/navigation-menu';
|
|
9
|
+
import { NavigationMenuListProps } from '@base-ui/react/navigation-menu';
|
|
10
|
+
import { NavigationMenuPopupProps } from '@base-ui/react/navigation-menu';
|
|
11
|
+
import { NavigationMenuPortalProps } from '@base-ui/react/navigation-menu';
|
|
12
|
+
import { NavigationMenuPositionerProps } from '@base-ui/react/navigation-menu';
|
|
13
|
+
import { NavigationMenuTriggerProps } from '@base-ui/react/navigation-menu';
|
|
14
|
+
import { NavigationMenuViewportProps } from '@base-ui/react/navigation-menu';
|
|
15
|
+
import * as React_2 from 'react';
|
|
16
|
+
|
|
17
|
+
export declare const NavigationMenu: {
|
|
18
|
+
List: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<NavigationMenuListProps, "ref"> & React_2.RefAttributes<HTMLUListElement>, "ref">, "className"> & {
|
|
19
|
+
className?: string | undefined;
|
|
20
|
+
} & React_2.RefAttributes<HTMLUListElement>>;
|
|
21
|
+
Item: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<NavigationMenuItemProps, "ref"> & React_2.RefAttributes<HTMLLIElement>, "ref">, "className"> & {
|
|
22
|
+
className?: string | undefined;
|
|
23
|
+
} & React_2.RefAttributes<HTMLLIElement>>;
|
|
24
|
+
Content: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<NavigationMenuContentProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
25
|
+
className?: string | undefined;
|
|
26
|
+
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
27
|
+
Trigger: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<NavigationMenuTriggerProps, "ref"> & React_2.RefAttributes<HTMLButtonElement>, "ref">, "className"> & {
|
|
28
|
+
className?: string | undefined;
|
|
29
|
+
} & React_2.RefAttributes<HTMLButtonElement>>;
|
|
30
|
+
Positioner: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<NavigationMenuPositionerProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
31
|
+
className?: string | undefined;
|
|
32
|
+
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
33
|
+
Viewport: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<NavigationMenuViewportProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
34
|
+
className?: string | undefined;
|
|
35
|
+
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
36
|
+
Backdrop: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<NavigationMenuBackdropProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
37
|
+
className?: string | undefined;
|
|
38
|
+
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
39
|
+
Popup: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<NavigationMenuPopupProps, "ref"> & React_2.RefAttributes<HTMLElement>, "ref">, "className"> & {
|
|
40
|
+
className?: string | undefined;
|
|
41
|
+
} & React_2.RefAttributes<HTMLElement>>;
|
|
42
|
+
Arrow: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<NavigationMenuArrowProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
43
|
+
className?: string | undefined;
|
|
44
|
+
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
45
|
+
Link: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<NavigationMenuLinkProps, "ref"> & React_2.RefAttributes<HTMLAnchorElement>, "ref">, "className"> & {
|
|
46
|
+
className?: string | undefined;
|
|
47
|
+
} & React_2.RefAttributes<HTMLAnchorElement>>;
|
|
48
|
+
Icon: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<NavigationMenuIconProps, "ref"> & React_2.RefAttributes<HTMLSpanElement>, "ref">, "className"> & {
|
|
49
|
+
className?: string | undefined;
|
|
50
|
+
} & React_2.RefAttributes<HTMLSpanElement>>;
|
|
51
|
+
Root: typeof Root;
|
|
52
|
+
Portal: React_2.ForwardRefExoticComponent<Omit<NavigationMenuPortalProps, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
declare function Root<Value = any>({ className, ...props }: WithStringClassName<NavigationMenu_2.Root.Props<Value>>): JSX_2.Element;
|
|
56
|
+
|
|
57
|
+
declare type WithStringClassName<P> = Omit<P, 'className'> & {
|
|
58
|
+
className?: string;
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
export * from "@base-ui/react/navigation-menu";
|
|
63
|
+
|
|
64
|
+
export { }
|