@wix/site-ui 1.1.0 → 1.3.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.
Files changed (114) hide show
  1. package/dist/Accordion/index.css +2 -0
  2. package/dist/Accordion/index.d.ts +34 -0
  3. package/dist/Accordion/index.js +39 -0
  4. package/dist/AlertDialog/index.css +2 -0
  5. package/dist/AlertDialog/index.d.ts +47 -0
  6. package/dist/AlertDialog/index.js +55 -0
  7. package/dist/Autocomplete/index.css +2 -0
  8. package/dist/Autocomplete/index.d.ts +85 -0
  9. package/dist/Autocomplete/index.js +110 -0
  10. package/dist/Avatar/index.css +2 -0
  11. package/dist/Avatar/index.d.ts +21 -0
  12. package/dist/Avatar/index.js +26 -0
  13. package/dist/Button/index.css +2 -0
  14. package/dist/Button/index.d.ts +11 -0
  15. package/dist/Button/index.js +11 -0
  16. package/dist/Checkbox/index.css +2 -0
  17. package/dist/Checkbox/index.d.ts +17 -0
  18. package/dist/Checkbox/index.js +20 -0
  19. package/dist/CheckboxGroup/index.css +2 -0
  20. package/dist/CheckboxGroup/index.d.ts +11 -0
  21. package/dist/CheckboxGroup/index.js +11 -0
  22. package/dist/Collapsible/index.css +2 -0
  23. package/dist/Collapsible/index.d.ts +21 -0
  24. package/dist/Collapsible/index.js +26 -0
  25. package/dist/Combobox/index.css +2 -0
  26. package/dist/Combobox/index.d.ts +101 -0
  27. package/dist/Combobox/index.js +139 -0
  28. package/dist/ContextMenu/index.css +2 -0
  29. package/dist/ContextMenu/index.d.ts +76 -0
  30. package/dist/ContextMenu/index.js +102 -0
  31. package/dist/Dialog/index.css +2 -0
  32. package/dist/Dialog/index.d.ts +47 -0
  33. package/dist/Dialog/index.js +55 -0
  34. package/dist/Drawer/index.css +2 -0
  35. package/dist/Drawer/index.d.ts +60 -0
  36. package/dist/Drawer/index.js +83 -0
  37. package/dist/Field/index.css +2 -0
  38. package/dist/Field/index.d.ts +35 -0
  39. package/dist/Field/index.js +45 -0
  40. package/dist/Fieldset/index.css +2 -0
  41. package/dist/Fieldset/index.d.ts +17 -0
  42. package/dist/Fieldset/index.js +20 -0
  43. package/dist/Form/index.css +2 -0
  44. package/dist/Form/index.d.ts +13 -0
  45. package/dist/Form/index.js +11 -0
  46. package/dist/Input/index.css +2 -0
  47. package/dist/Input/index.d.ts +11 -0
  48. package/dist/Input/index.js +11 -0
  49. package/dist/Menu/index.css +2 -0
  50. package/dist/Menu/index.d.ts +85 -0
  51. package/dist/Menu/index.js +111 -0
  52. package/dist/Menubar/index.css +2 -0
  53. package/dist/Menubar/index.d.ts +11 -0
  54. package/dist/Menubar/index.js +11 -0
  55. package/dist/Meter/index.css +2 -0
  56. package/dist/Meter/index.d.ts +29 -0
  57. package/dist/Meter/index.js +38 -0
  58. package/dist/NavigationMenu/index.css +2 -0
  59. package/dist/NavigationMenu/index.d.ts +64 -0
  60. package/dist/NavigationMenu/index.js +82 -0
  61. package/dist/NumberField/index.css +2 -0
  62. package/dist/NumberField/index.d.ts +37 -0
  63. package/dist/NumberField/index.js +50 -0
  64. package/dist/Popover/index.css +2 -0
  65. package/dist/Popover/index.d.ts +54 -0
  66. package/dist/Popover/index.js +67 -0
  67. package/dist/PreviewCard/index.css +2 -0
  68. package/dist/PreviewCard/index.d.ts +42 -0
  69. package/dist/PreviewCard/index.js +49 -0
  70. package/dist/Progress/index.css +2 -0
  71. package/dist/Progress/index.d.ts +29 -0
  72. package/dist/Progress/index.js +38 -0
  73. package/dist/Radio/index.css +2 -0
  74. package/dist/Radio/index.d.ts +22 -0
  75. package/dist/Radio/index.js +21 -0
  76. package/dist/RadioGroup/index.css +2 -0
  77. package/dist/RadioGroup/index.d.ts +11 -0
  78. package/dist/RadioGroup/index.js +11 -0
  79. package/dist/ScrollArea/index.css +2 -0
  80. package/dist/ScrollArea/index.d.ts +33 -0
  81. package/dist/ScrollArea/index.js +44 -0
  82. package/dist/Select/index.css +2 -0
  83. package/dist/Select/index.d.ts +79 -0
  84. package/dist/Select/index.js +107 -0
  85. package/dist/Separator/index.css +2 -0
  86. package/dist/Separator/index.d.ts +11 -0
  87. package/dist/Separator/index.js +11 -0
  88. package/dist/Slider/index.css +2 -0
  89. package/dist/Slider/index.d.ts +42 -0
  90. package/dist/Slider/index.js +51 -0
  91. package/dist/Switch/index.css +2 -0
  92. package/dist/Switch/index.d.ts +17 -0
  93. package/dist/Switch/index.js +20 -0
  94. package/dist/Tabs/index.css +2 -0
  95. package/dist/Tabs/index.d.ts +29 -0
  96. package/dist/Tabs/index.js +38 -0
  97. package/dist/Toggle/index.css +2 -0
  98. package/dist/Toggle/index.d.ts +11 -0
  99. package/dist/Toggle/index.js +11 -0
  100. package/dist/ToggleGroup/index.css +2 -0
  101. package/dist/ToggleGroup/index.d.ts +11 -0
  102. package/dist/ToggleGroup/index.js +11 -0
  103. package/dist/Toolbar/index.css +2 -0
  104. package/dist/Toolbar/index.d.ts +33 -0
  105. package/dist/Toolbar/index.js +44 -0
  106. package/dist/Tooltip/index.css +2 -0
  107. package/dist/Tooltip/index.d.ts +40 -0
  108. package/dist/Tooltip/index.js +44 -0
  109. package/dist/index.d.ts +1059 -7
  110. package/dist/index.js +36 -1
  111. package/package.json +27 -8
  112. package/dist/TestButton/index.css +0 -9
  113. package/dist/TestButton/index.d.ts +0 -13
  114. package/dist/TestButton/index.js +0 -14
@@ -0,0 +1,101 @@
1
+ import { Combobox as Combobox_2 } from '@base-ui/react/combobox';
2
+ import { ComboboxArrowProps } from '@base-ui/react/combobox';
3
+ import { ComboboxBackdropProps } from '@base-ui/react/combobox';
4
+ import { ComboboxChipProps } from '@base-ui/react/combobox';
5
+ import { ComboboxChipRemoveProps } from '@base-ui/react/combobox';
6
+ import { ComboboxChipsProps } from '@base-ui/react/combobox';
7
+ import { ComboboxClearProps } from '@base-ui/react/combobox';
8
+ import { ComboboxEmptyProps } from '@base-ui/react/combobox';
9
+ import { ComboboxGroupLabelProps } from '@base-ui/react/combobox';
10
+ import { ComboboxGroupProps } from '@base-ui/react/combobox';
11
+ import { ComboboxIconProps } from '@base-ui/react/combobox';
12
+ import { ComboboxInputGroupProps } from '@base-ui/react/combobox';
13
+ import { ComboboxInputProps } from '@base-ui/react/combobox';
14
+ import { ComboboxItemIndicatorProps } from '@base-ui/react/combobox';
15
+ import { ComboboxItemProps } from '@base-ui/react/combobox';
16
+ import { ComboboxLabelProps } from '@base-ui/react/combobox';
17
+ import { ComboboxListProps } from '@base-ui/react/combobox';
18
+ import { ComboboxPopupProps } from '@base-ui/react/combobox';
19
+ import { ComboboxPortalProps } from '@base-ui/react/combobox';
20
+ import { ComboboxPositionerProps } from '@base-ui/react/combobox';
21
+ import { ComboboxRowProps } from '@base-ui/react/combobox';
22
+ import { ComboboxStatusProps } from '@base-ui/react/combobox';
23
+ import { ComboboxTriggerProps } from '@base-ui/react/combobox';
24
+ import * as React_2 from 'react';
25
+ import { SeparatorProps } from '@base-ui/react';
26
+
27
+ export declare const Combobox: {
28
+ Label: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ComboboxLabelProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
29
+ className?: string | undefined;
30
+ } & React_2.RefAttributes<HTMLDivElement>>;
31
+ Input: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ComboboxInputProps, "ref"> & React_2.RefAttributes<HTMLInputElement>, "ref">, "className"> & {
32
+ className?: string | undefined;
33
+ } & React_2.RefAttributes<HTMLInputElement>>;
34
+ InputGroup: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ComboboxInputGroupProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
35
+ className?: string | undefined;
36
+ } & React_2.RefAttributes<HTMLDivElement>>;
37
+ Trigger: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ComboboxTriggerProps, "ref"> & React_2.RefAttributes<HTMLButtonElement>, "ref">, "className"> & {
38
+ className?: string | undefined;
39
+ } & React_2.RefAttributes<HTMLButtonElement>>;
40
+ List: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ComboboxListProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
41
+ className?: string | undefined;
42
+ } & React_2.RefAttributes<HTMLDivElement>>;
43
+ Status: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ComboboxStatusProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
44
+ className?: string | undefined;
45
+ } & React_2.RefAttributes<HTMLDivElement>>;
46
+ Backdrop: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ComboboxBackdropProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
47
+ className?: string | undefined;
48
+ } & React_2.RefAttributes<HTMLDivElement>>;
49
+ Positioner: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ComboboxPositionerProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
50
+ className?: string | undefined;
51
+ } & React_2.RefAttributes<HTMLDivElement>>;
52
+ Popup: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ComboboxPopupProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
53
+ className?: string | undefined;
54
+ } & React_2.RefAttributes<HTMLDivElement>>;
55
+ Arrow: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ComboboxArrowProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
56
+ className?: string | undefined;
57
+ } & React_2.RefAttributes<HTMLDivElement>>;
58
+ Icon: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ComboboxIconProps, "ref"> & React_2.RefAttributes<HTMLSpanElement>, "ref">, "className"> & {
59
+ className?: string | undefined;
60
+ } & React_2.RefAttributes<HTMLSpanElement>>;
61
+ Group: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ComboboxGroupProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
62
+ className?: string | undefined;
63
+ } & React_2.RefAttributes<HTMLDivElement>>;
64
+ GroupLabel: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ComboboxGroupLabelProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
65
+ className?: string | undefined;
66
+ } & React_2.RefAttributes<HTMLDivElement>>;
67
+ Item: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ComboboxItemProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
68
+ className?: string | undefined;
69
+ } & React_2.RefAttributes<HTMLDivElement>>;
70
+ ItemIndicator: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ComboboxItemIndicatorProps, "ref"> & React_2.RefAttributes<HTMLSpanElement>, "ref">, "className"> & {
71
+ className?: string | undefined;
72
+ } & React_2.RefAttributes<HTMLSpanElement>>;
73
+ Chips: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ComboboxChipsProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
74
+ className?: string | undefined;
75
+ } & React_2.RefAttributes<HTMLDivElement>>;
76
+ Chip: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ComboboxChipProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
77
+ className?: string | undefined;
78
+ } & React_2.RefAttributes<HTMLDivElement>>;
79
+ ChipRemove: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ComboboxChipRemoveProps, "ref"> & React_2.RefAttributes<HTMLButtonElement>, "ref">, "className"> & {
80
+ className?: string | undefined;
81
+ } & React_2.RefAttributes<HTMLButtonElement>>;
82
+ Row: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ComboboxRowProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
83
+ className?: string | undefined;
84
+ } & React_2.RefAttributes<HTMLDivElement>>;
85
+ Collection: typeof Combobox_2.Collection;
86
+ Empty: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ComboboxEmptyProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
87
+ className?: string | undefined;
88
+ } & React_2.RefAttributes<HTMLDivElement>>;
89
+ Clear: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ComboboxClearProps, "ref"> & React_2.RefAttributes<HTMLButtonElement>, "ref">, "className"> & {
90
+ className?: string | undefined;
91
+ } & React_2.RefAttributes<HTMLButtonElement>>;
92
+ Root: typeof Combobox_2.Root;
93
+ Value: typeof Combobox_2.Value;
94
+ Portal: React_2.ForwardRefExoticComponent<Omit<ComboboxPortalProps, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
95
+ Separator: React_2.ForwardRefExoticComponent<Omit<SeparatorProps, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
96
+ };
97
+
98
+
99
+ export * from "@base-ui/react/combobox";
100
+
101
+ export { }
@@ -0,0 +1,139 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { Combobox } from "@base-ui/react/combobox";
3
+ import clsx from "clsx";
4
+ import * as __rspack_external_react from "react";
5
+ const Combobox_module = {};
6
+ const Label = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Combobox.Label, {
7
+ ref: ref,
8
+ className: clsx(Combobox_module.label, className),
9
+ ...props
10
+ }));
11
+ const Input = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Combobox.Input, {
12
+ ref: ref,
13
+ className: clsx(Combobox_module.input, className),
14
+ ...props
15
+ }));
16
+ const InputGroup = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Combobox.InputGroup, {
17
+ ref: ref,
18
+ className: clsx(Combobox_module.inputGroup, className),
19
+ ...props
20
+ }));
21
+ const Trigger = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Combobox.Trigger, {
22
+ ref: ref,
23
+ className: clsx(Combobox_module.trigger, className),
24
+ ...props
25
+ }));
26
+ const List = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Combobox.List, {
27
+ ref: ref,
28
+ className: clsx(Combobox_module.list, className),
29
+ ...props
30
+ }));
31
+ const Status = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Combobox.Status, {
32
+ ref: ref,
33
+ className: clsx(Combobox_module.status, className),
34
+ ...props
35
+ }));
36
+ const Backdrop = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Combobox.Backdrop, {
37
+ ref: ref,
38
+ className: clsx(Combobox_module.backdrop, className),
39
+ ...props
40
+ }));
41
+ const Positioner = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Combobox.Positioner, {
42
+ ref: ref,
43
+ className: clsx(Combobox_module.positioner, className),
44
+ ...props
45
+ }));
46
+ const Popup = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Combobox.Popup, {
47
+ ref: ref,
48
+ className: clsx(Combobox_module.popup, className),
49
+ ...props
50
+ }));
51
+ const Arrow = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Combobox.Arrow, {
52
+ ref: ref,
53
+ className: clsx(Combobox_module.arrow, className),
54
+ ...props
55
+ }));
56
+ const Icon = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Combobox.Icon, {
57
+ ref: ref,
58
+ className: clsx(Combobox_module.icon, className),
59
+ ...props
60
+ }));
61
+ const Group = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Combobox.Group, {
62
+ ref: ref,
63
+ className: clsx(Combobox_module.group, className),
64
+ ...props
65
+ }));
66
+ const GroupLabel = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Combobox.GroupLabel, {
67
+ ref: ref,
68
+ className: clsx(Combobox_module.groupLabel, className),
69
+ ...props
70
+ }));
71
+ const Item = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Combobox.Item, {
72
+ ref: ref,
73
+ className: clsx(Combobox_module.item, className),
74
+ ...props
75
+ }));
76
+ const ItemIndicator = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Combobox.ItemIndicator, {
77
+ ref: ref,
78
+ className: clsx(Combobox_module.itemIndicator, className),
79
+ ...props
80
+ }));
81
+ const Chips = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Combobox.Chips, {
82
+ ref: ref,
83
+ className: clsx(Combobox_module.chips, className),
84
+ ...props
85
+ }));
86
+ const Chip = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Combobox.Chip, {
87
+ ref: ref,
88
+ className: clsx(Combobox_module.chip, className),
89
+ ...props
90
+ }));
91
+ const ChipRemove = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Combobox.ChipRemove, {
92
+ ref: ref,
93
+ className: clsx(Combobox_module.chipRemove, className),
94
+ ...props
95
+ }));
96
+ const Row = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Combobox.Row, {
97
+ ref: ref,
98
+ className: clsx(Combobox_module.row, className),
99
+ ...props
100
+ }));
101
+ const Empty = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Combobox.Empty, {
102
+ ref: ref,
103
+ className: clsx(Combobox_module.empty, className),
104
+ ...props
105
+ }));
106
+ const Clear = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Combobox.Clear, {
107
+ ref: ref,
108
+ className: clsx(Combobox_module.clear, className),
109
+ ...props
110
+ }));
111
+ const Combobox_Combobox = {
112
+ Label: Label,
113
+ Input: Input,
114
+ InputGroup: InputGroup,
115
+ Trigger: Trigger,
116
+ List: List,
117
+ Status: Status,
118
+ Backdrop: Backdrop,
119
+ Positioner: Positioner,
120
+ Popup: Popup,
121
+ Arrow: Arrow,
122
+ Icon: Icon,
123
+ Group: Group,
124
+ GroupLabel: GroupLabel,
125
+ Item: Item,
126
+ ItemIndicator: ItemIndicator,
127
+ Chips: Chips,
128
+ Chip: Chip,
129
+ ChipRemove: ChipRemove,
130
+ Row: Row,
131
+ Collection: Combobox.Collection,
132
+ Empty: Empty,
133
+ Clear: Clear,
134
+ Root: Combobox.Root,
135
+ Value: Combobox.Value,
136
+ Portal: Combobox.Portal,
137
+ Separator: Combobox.Separator
138
+ };
139
+ export { Combobox_Combobox as Combobox };
@@ -0,0 +1,2 @@
1
+
2
+
@@ -0,0 +1,76 @@
1
+ import { ContextMenu as ContextMenu_2 } from '@base-ui/react/context-menu';
2
+ import { ContextMenuArrowProps } from '@base-ui/react/context-menu';
3
+ import { ContextMenuBackdropProps } from '@base-ui/react/context-menu';
4
+ import { ContextMenuCheckboxItemIndicatorProps } from '@base-ui/react/context-menu';
5
+ import { ContextMenuCheckboxItemProps } from '@base-ui/react/context-menu';
6
+ import { ContextMenuGroupLabelProps } from '@base-ui/react/context-menu';
7
+ import { ContextMenuGroupProps } from '@base-ui/react/context-menu';
8
+ import { ContextMenuItemProps } from '@base-ui/react/context-menu';
9
+ import { ContextMenuLinkItemProps } from '@base-ui/react/context-menu';
10
+ import { ContextMenuPopupProps } from '@base-ui/react/context-menu';
11
+ import { ContextMenuPortalProps } from '@base-ui/react/context-menu';
12
+ import { ContextMenuPositionerProps } from '@base-ui/react/context-menu';
13
+ import { ContextMenuRadioGroupProps } from '@base-ui/react/context-menu';
14
+ import { ContextMenuRadioItemIndicatorProps } from '@base-ui/react/context-menu';
15
+ import { ContextMenuRadioItemProps } from '@base-ui/react/context-menu';
16
+ import { ContextMenuSubmenuTriggerProps } from '@base-ui/react/context-menu';
17
+ import { ContextMenuTriggerProps } from '@base-ui/react/context-menu';
18
+ import * as React_2 from 'react';
19
+ import { SeparatorProps } from '@base-ui/react';
20
+
21
+ export declare const ContextMenu: {
22
+ Trigger: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ContextMenuTriggerProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
23
+ className?: string | undefined;
24
+ } & React_2.RefAttributes<HTMLDivElement>>;
25
+ Backdrop: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ContextMenuBackdropProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
26
+ className?: string | undefined;
27
+ } & React_2.RefAttributes<HTMLDivElement>>;
28
+ Positioner: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ContextMenuPositionerProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
29
+ className?: string | undefined;
30
+ } & React_2.RefAttributes<HTMLDivElement>>;
31
+ Popup: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ContextMenuPopupProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
32
+ className?: string | undefined;
33
+ } & React_2.RefAttributes<HTMLDivElement>>;
34
+ Arrow: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ContextMenuArrowProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
35
+ className?: string | undefined;
36
+ } & React_2.RefAttributes<HTMLDivElement>>;
37
+ Group: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ContextMenuGroupProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
38
+ className?: string | undefined;
39
+ } & React_2.RefAttributes<HTMLDivElement>>;
40
+ GroupLabel: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ContextMenuGroupLabelProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
41
+ className?: string | undefined;
42
+ } & React_2.RefAttributes<HTMLDivElement>>;
43
+ Item: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ContextMenuItemProps, "ref"> & React_2.RefAttributes<HTMLElement>, "ref">, "className"> & {
44
+ className?: string | undefined;
45
+ } & React_2.RefAttributes<HTMLElement>>;
46
+ CheckboxItem: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ContextMenuCheckboxItemProps, "ref"> & React_2.RefAttributes<HTMLElement>, "ref">, "className"> & {
47
+ className?: string | undefined;
48
+ } & React_2.RefAttributes<HTMLElement>>;
49
+ CheckboxItemIndicator: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ContextMenuCheckboxItemIndicatorProps, "ref"> & React_2.RefAttributes<HTMLSpanElement>, "ref">, "className"> & {
50
+ className?: string | undefined;
51
+ } & React_2.RefAttributes<HTMLSpanElement>>;
52
+ LinkItem: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ContextMenuLinkItemProps, "ref"> & React_2.RefAttributes<Element>, "ref">, "className"> & {
53
+ className?: string | undefined;
54
+ } & React_2.RefAttributes<Element>>;
55
+ RadioGroup: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ContextMenuRadioGroupProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
56
+ className?: string | undefined;
57
+ } & React_2.RefAttributes<HTMLDivElement>>;
58
+ RadioItem: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ContextMenuRadioItemProps, "ref"> & React_2.RefAttributes<HTMLElement>, "ref">, "className"> & {
59
+ className?: string | undefined;
60
+ } & React_2.RefAttributes<HTMLElement>>;
61
+ RadioItemIndicator: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ContextMenuRadioItemIndicatorProps, "ref"> & React_2.RefAttributes<HTMLSpanElement>, "ref">, "className"> & {
62
+ className?: string | undefined;
63
+ } & React_2.RefAttributes<HTMLSpanElement>>;
64
+ SubmenuTrigger: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ContextMenuSubmenuTriggerProps, "ref"> & React_2.RefAttributes<HTMLElement>, "ref">, "className"> & {
65
+ className?: string | undefined;
66
+ } & React_2.RefAttributes<HTMLElement>>;
67
+ Root: typeof ContextMenu_2.Root;
68
+ SubmenuRoot: typeof ContextMenu_2.SubmenuRoot;
69
+ Portal: React_2.ForwardRefExoticComponent<Omit<ContextMenuPortalProps, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
70
+ Separator: React_2.ForwardRefExoticComponent<Omit<SeparatorProps, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
71
+ };
72
+
73
+
74
+ export * from "@base-ui/react/context-menu";
75
+
76
+ export { }
@@ -0,0 +1,102 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { ContextMenu } from "@base-ui/react/context-menu";
3
+ import clsx from "clsx";
4
+ import * as __rspack_external_react from "react";
5
+ const ContextMenu_module = {};
6
+ const Trigger = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ContextMenu.Trigger, {
7
+ ref: ref,
8
+ className: clsx(ContextMenu_module.trigger, className),
9
+ ...props
10
+ }));
11
+ const Backdrop = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ContextMenu.Backdrop, {
12
+ ref: ref,
13
+ className: clsx(ContextMenu_module.backdrop, className),
14
+ ...props
15
+ }));
16
+ const Positioner = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ContextMenu.Positioner, {
17
+ ref: ref,
18
+ className: clsx(ContextMenu_module.positioner, className),
19
+ ...props
20
+ }));
21
+ const Popup = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ContextMenu.Popup, {
22
+ ref: ref,
23
+ className: clsx(ContextMenu_module.popup, className),
24
+ ...props
25
+ }));
26
+ const Arrow = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ContextMenu.Arrow, {
27
+ ref: ref,
28
+ className: clsx(ContextMenu_module.arrow, className),
29
+ ...props
30
+ }));
31
+ const Group = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ContextMenu.Group, {
32
+ ref: ref,
33
+ className: clsx(ContextMenu_module.group, className),
34
+ ...props
35
+ }));
36
+ const GroupLabel = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ContextMenu.GroupLabel, {
37
+ ref: ref,
38
+ className: clsx(ContextMenu_module.groupLabel, className),
39
+ ...props
40
+ }));
41
+ const Item = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ContextMenu.Item, {
42
+ ref: ref,
43
+ className: clsx(ContextMenu_module.item, className),
44
+ ...props
45
+ }));
46
+ const CheckboxItem = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ContextMenu.CheckboxItem, {
47
+ ref: ref,
48
+ className: clsx(ContextMenu_module.checkboxItem, className),
49
+ ...props
50
+ }));
51
+ const CheckboxItemIndicator = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ContextMenu.CheckboxItemIndicator, {
52
+ ref: ref,
53
+ className: clsx(ContextMenu_module.checkboxItemIndicator, className),
54
+ ...props
55
+ }));
56
+ const LinkItem = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ContextMenu.LinkItem, {
57
+ ref: ref,
58
+ className: clsx(ContextMenu_module.linkItem, className),
59
+ ...props
60
+ }));
61
+ const RadioGroup = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ContextMenu.RadioGroup, {
62
+ ref: ref,
63
+ className: clsx(ContextMenu_module.radioGroup, className),
64
+ ...props
65
+ }));
66
+ const RadioItem = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ContextMenu.RadioItem, {
67
+ ref: ref,
68
+ className: clsx(ContextMenu_module.radioItem, className),
69
+ ...props
70
+ }));
71
+ const RadioItemIndicator = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ContextMenu.RadioItemIndicator, {
72
+ ref: ref,
73
+ className: clsx(ContextMenu_module.radioItemIndicator, className),
74
+ ...props
75
+ }));
76
+ const SubmenuTrigger = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ContextMenu.SubmenuTrigger, {
77
+ ref: ref,
78
+ className: clsx(ContextMenu_module.submenuTrigger, className),
79
+ ...props
80
+ }));
81
+ const ContextMenu_ContextMenu = {
82
+ Trigger: Trigger,
83
+ Backdrop: Backdrop,
84
+ Positioner: Positioner,
85
+ Popup: Popup,
86
+ Arrow: Arrow,
87
+ Group: Group,
88
+ GroupLabel: GroupLabel,
89
+ Item: Item,
90
+ CheckboxItem: CheckboxItem,
91
+ CheckboxItemIndicator: CheckboxItemIndicator,
92
+ LinkItem: LinkItem,
93
+ RadioGroup: RadioGroup,
94
+ RadioItem: RadioItem,
95
+ RadioItemIndicator: RadioItemIndicator,
96
+ SubmenuTrigger: SubmenuTrigger,
97
+ Root: ContextMenu.Root,
98
+ SubmenuRoot: ContextMenu.SubmenuRoot,
99
+ Portal: ContextMenu.Portal,
100
+ Separator: ContextMenu.Separator
101
+ };
102
+ export { ContextMenu_ContextMenu as ContextMenu };
@@ -0,0 +1,2 @@
1
+
2
+
@@ -0,0 +1,47 @@
1
+ import { Dialog as Dialog_2 } from '@base-ui/react/dialog';
2
+ import { DialogBackdropProps } from '@base-ui/react/dialog';
3
+ import { DialogCloseProps } from '@base-ui/react/dialog';
4
+ import { DialogDescriptionProps } from '@base-ui/react/dialog';
5
+ import { DialogPopupProps } from '@base-ui/react/dialog';
6
+ import { DialogPortalProps } from '@base-ui/react/dialog';
7
+ import { DialogTitleProps } from '@base-ui/react/dialog';
8
+ import { DialogViewportProps } from '@base-ui/react/dialog';
9
+ import { JSX as JSX_2 } from 'react/jsx-runtime';
10
+ import * as React_2 from 'react';
11
+
12
+ export declare const Dialog: {
13
+ Backdrop: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<DialogBackdropProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
14
+ className?: string | undefined;
15
+ } & React_2.RefAttributes<HTMLDivElement>>;
16
+ Close: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<DialogCloseProps, "ref"> & React_2.RefAttributes<HTMLButtonElement>, "ref">, "className"> & {
17
+ className?: string | undefined;
18
+ } & React_2.RefAttributes<HTMLButtonElement>>;
19
+ Description: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<DialogDescriptionProps, "ref"> & React_2.RefAttributes<HTMLParagraphElement>, "ref">, "className"> & {
20
+ className?: string | undefined;
21
+ } & React_2.RefAttributes<HTMLParagraphElement>>;
22
+ Popup: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<DialogPopupProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
23
+ className?: string | undefined;
24
+ } & React_2.RefAttributes<HTMLDivElement>>;
25
+ Title: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<DialogTitleProps, "ref"> & React_2.RefAttributes<HTMLHeadingElement>, "ref">, "className"> & {
26
+ className?: string | undefined;
27
+ } & React_2.RefAttributes<HTMLHeadingElement>>;
28
+ Viewport: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<DialogViewportProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
29
+ className?: string | undefined;
30
+ } & React_2.RefAttributes<HTMLDivElement>>;
31
+ Root: typeof Dialog_2.Root;
32
+ Trigger: typeof Trigger;
33
+ Portal: React_2.ForwardRefExoticComponent<Omit<DialogPortalProps, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
34
+ Handle: typeof Dialog_2.Handle;
35
+ createHandle: typeof Dialog_2.createHandle;
36
+ };
37
+
38
+ declare function Trigger<Payload = unknown>({ className, ...props }: WithStringClassName<Dialog_2.Trigger.Props<Payload>> & React_2.RefAttributes<HTMLElement>): JSX_2.Element;
39
+
40
+ declare type WithStringClassName<P> = Omit<P, 'className'> & {
41
+ className?: string;
42
+ };
43
+
44
+
45
+ export * from "@base-ui/react/dialog";
46
+
47
+ export { }
@@ -0,0 +1,55 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { Dialog } from "@base-ui/react/dialog";
3
+ import clsx from "clsx";
4
+ import * as __rspack_external_react from "react";
5
+ const Dialog_module = {};
6
+ const Backdrop = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Dialog.Backdrop, {
7
+ ref: ref,
8
+ className: clsx(Dialog_module.backdrop, className),
9
+ ...props
10
+ }));
11
+ const Close = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Dialog.Close, {
12
+ ref: ref,
13
+ className: clsx(Dialog_module.close, className),
14
+ ...props
15
+ }));
16
+ const Description = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Dialog.Description, {
17
+ ref: ref,
18
+ className: clsx(Dialog_module.description, className),
19
+ ...props
20
+ }));
21
+ const Popup = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Dialog.Popup, {
22
+ ref: ref,
23
+ className: clsx(Dialog_module.popup, className),
24
+ ...props
25
+ }));
26
+ const Title = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Dialog.Title, {
27
+ ref: ref,
28
+ className: clsx(Dialog_module.title, className),
29
+ ...props
30
+ }));
31
+ const Viewport = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Dialog.Viewport, {
32
+ ref: ref,
33
+ className: clsx(Dialog_module.viewport, className),
34
+ ...props
35
+ }));
36
+ function Trigger({ className, ...props }) {
37
+ return /*#__PURE__*/ jsx(Dialog.Trigger, {
38
+ ...props,
39
+ className: clsx(Dialog_module.trigger, className)
40
+ });
41
+ }
42
+ const Dialog_Dialog = {
43
+ Backdrop: Backdrop,
44
+ Close: Close,
45
+ Description: Description,
46
+ Popup: Popup,
47
+ Title: Title,
48
+ Viewport: Viewport,
49
+ Root: Dialog.Root,
50
+ Trigger: Trigger,
51
+ Portal: Dialog.Portal,
52
+ Handle: Dialog.Handle,
53
+ createHandle: Dialog.createHandle
54
+ };
55
+ export { Dialog_Dialog as Dialog };
@@ -0,0 +1,2 @@
1
+
2
+
@@ -0,0 +1,60 @@
1
+ import { Drawer as Drawer_2 } from '@base-ui/react/drawer';
2
+ import { DrawerBackdropProps } from '@base-ui/react/drawer';
3
+ import { DrawerContentProps } from '@base-ui/react/drawer';
4
+ import { DrawerIndentBackgroundProps } from '@base-ui/react/drawer';
5
+ import { DrawerIndentProps } from '@base-ui/react/drawer';
6
+ import { DrawerPopupProps } from '@base-ui/react/drawer';
7
+ import { DrawerSwipeAreaProps } from '@base-ui/react/drawer';
8
+ import { DrawerViewportProps } from '@base-ui/react/drawer';
9
+ import { JSX as JSX_2 } from 'react/jsx-runtime';
10
+ import * as React_2 from 'react';
11
+
12
+ declare function Close({ className, ...props }: WithStringClassName<Drawer_2.Close.Props>): JSX_2.Element;
13
+
14
+ declare function Description({ className, ...props }: WithStringClassName<Drawer_2.Description.Props>): JSX_2.Element;
15
+
16
+ export declare const Drawer: {
17
+ Backdrop: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<DrawerBackdropProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
18
+ className?: string | undefined;
19
+ } & React_2.RefAttributes<HTMLDivElement>>;
20
+ Content: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<DrawerContentProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
21
+ className?: string | undefined;
22
+ } & React_2.RefAttributes<HTMLDivElement>>;
23
+ Indent: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<DrawerIndentProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
24
+ className?: string | undefined;
25
+ } & React_2.RefAttributes<HTMLDivElement>>;
26
+ IndentBackground: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<DrawerIndentBackgroundProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
27
+ className?: string | undefined;
28
+ } & React_2.RefAttributes<HTMLDivElement>>;
29
+ Popup: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<DrawerPopupProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
30
+ className?: string | undefined;
31
+ } & React_2.RefAttributes<HTMLDivElement>>;
32
+ SwipeArea: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<DrawerSwipeAreaProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
33
+ className?: string | undefined;
34
+ } & React_2.RefAttributes<HTMLDivElement>>;
35
+ Viewport: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<DrawerViewportProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
36
+ className?: string | undefined;
37
+ } & React_2.RefAttributes<HTMLDivElement>>;
38
+ Root: typeof Drawer_2.Root;
39
+ Trigger: typeof Trigger;
40
+ Close: typeof Close;
41
+ Title: typeof Title;
42
+ Description: typeof Description;
43
+ Portal: Drawer_2.Portal;
44
+ Provider: typeof Drawer_2.Provider;
45
+ Handle: typeof Drawer_2.Handle;
46
+ createHandle: typeof Drawer_2.createHandle;
47
+ };
48
+
49
+ declare function Title({ className, ...props }: WithStringClassName<Drawer_2.Title.Props>): JSX_2.Element;
50
+
51
+ declare function Trigger<Payload = unknown>({ className, ...props }: WithStringClassName<Drawer_2.Trigger.Props<Payload>> & React_2.RefAttributes<HTMLElement>): JSX_2.Element;
52
+
53
+ declare type WithStringClassName<P> = Omit<P, 'className'> & {
54
+ className?: string;
55
+ };
56
+
57
+
58
+ export * from "@base-ui/react/drawer";
59
+
60
+ export { }