@particle-academy/react-fancy 3.5.0 → 4.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -3
- package/dist/index.cjs +11 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +127 -112
- package/dist/index.d.ts +127 -112
- package/dist/index.js +11 -9
- package/dist/index.js.map +1 -1
- package/docs/Action.md +15 -3
- package/docs/Button.md +91 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,19 +1,23 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ButtonHTMLAttributes, ReactNode, InputHTMLAttributes, TextareaHTMLAttributes, SelectHTMLAttributes, HTMLAttributes, ComponentType, CSSProperties, ReactElement, RefObject } from 'react';
|
|
3
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
3
|
import { ClassValue } from 'clsx';
|
|
5
4
|
|
|
6
5
|
type Size = "xs" | "sm" | "md" | "lg" | "xl";
|
|
7
6
|
type Color = "zinc" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
|
|
8
7
|
type Variant = "solid" | "outline" | "ghost" | "soft";
|
|
9
|
-
type
|
|
8
|
+
type ButtonColor = "blue" | "emerald" | "amber" | "red" | "violet" | "indigo" | "sky" | "rose" | "orange" | "zinc";
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated Renamed to {@link ButtonColor}. `ActionColor` remains as an alias
|
|
11
|
+
* for backward compatibility and will be removed in a future major version.
|
|
12
|
+
*/
|
|
13
|
+
type ActionColor = ButtonColor;
|
|
10
14
|
type Placement = "top" | "bottom" | "left" | "right" | "top-start" | "top-end" | "bottom-start" | "bottom-end";
|
|
11
15
|
|
|
12
|
-
interface
|
|
16
|
+
interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "color"> {
|
|
13
17
|
/** Shape/fill variant */
|
|
14
18
|
variant?: "default" | "circle" | "ghost";
|
|
15
19
|
/** Standalone color (overrides state colors) */
|
|
16
|
-
color?:
|
|
20
|
+
color?: ButtonColor;
|
|
17
21
|
size?: Size;
|
|
18
22
|
/** Behavioral states */
|
|
19
23
|
active?: boolean;
|
|
@@ -50,8 +54,19 @@ interface ActionProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "col
|
|
|
50
54
|
/** Render as anchor tag */
|
|
51
55
|
href?: string;
|
|
52
56
|
}
|
|
57
|
+
/**
|
|
58
|
+
* @deprecated Renamed to {@link ButtonProps}. `ActionProps` remains as an alias
|
|
59
|
+
* for backward compatibility and will be removed in a future major version.
|
|
60
|
+
*/
|
|
61
|
+
type ActionProps = ButtonProps;
|
|
53
62
|
|
|
54
|
-
declare const
|
|
63
|
+
declare const Button: react.ForwardRefExoticComponent<ButtonProps & react.RefAttributes<HTMLButtonElement>>;
|
|
64
|
+
/**
|
|
65
|
+
* @deprecated Renamed to {@link Button}. `Action` remains as an alias for
|
|
66
|
+
* backward compatibility and will be removed in a future major version.
|
|
67
|
+
* Prefer importing `Button` from "@particle-academy/react-fancy".
|
|
68
|
+
*/
|
|
69
|
+
declare const Action: react.ForwardRefExoticComponent<ButtonProps & react.RefAttributes<HTMLButtonElement>>;
|
|
55
70
|
|
|
56
71
|
type AccordionOrientation = "horizontal" | "vertical";
|
|
57
72
|
/**
|
|
@@ -133,7 +148,7 @@ interface AccordionPanelTriggerProps {
|
|
|
133
148
|
*
|
|
134
149
|
* Pinned sections never collapse and don't need a Trigger.
|
|
135
150
|
*/
|
|
136
|
-
declare function AccordionPanelSection({ id, pinned, className, openClassName, closedClassName, unstyled, children, }: AccordionPanelSectionProps):
|
|
151
|
+
declare function AccordionPanelSection({ id, pinned, className, openClassName, closedClassName, unstyled, children, }: AccordionPanelSectionProps): react.JSX.Element;
|
|
137
152
|
declare namespace AccordionPanelSection {
|
|
138
153
|
var displayName: string;
|
|
139
154
|
}
|
|
@@ -153,7 +168,7 @@ declare namespace AccordionPanelSection {
|
|
|
153
168
|
* Supply `children` (node or render-prop) to fully replace the default
|
|
154
169
|
* rendering. The render-prop receives `{ open, toggle, orientation, id }`.
|
|
155
170
|
*/
|
|
156
|
-
declare function AccordionPanelTrigger({ children, className, "aria-label": ariaLabel, }: AccordionPanelTriggerProps):
|
|
171
|
+
declare function AccordionPanelTrigger({ children, className, "aria-label": ariaLabel, }: AccordionPanelTriggerProps): react.JSX.Element;
|
|
157
172
|
declare namespace AccordionPanelTrigger {
|
|
158
173
|
var displayName: string;
|
|
159
174
|
}
|
|
@@ -182,7 +197,7 @@ interface AccordionPanelContentProps {
|
|
|
182
197
|
* use cases where the content needs full-bleed layout (chat panes, canvas
|
|
183
198
|
* surfaces, etc.), pass `unstyled` and supply your own className.
|
|
184
199
|
*/
|
|
185
|
-
declare function AccordionPanelContent({ children, className, unstyled, }: AccordionPanelContentProps):
|
|
200
|
+
declare function AccordionPanelContent({ children, className, unstyled, }: AccordionPanelContentProps): react.JSX.Element | null;
|
|
186
201
|
declare namespace AccordionPanelContent {
|
|
187
202
|
var displayName: string;
|
|
188
203
|
}
|
|
@@ -193,10 +208,10 @@ declare namespace AccordionPanelContent {
|
|
|
193
208
|
* Use the compound parts:
|
|
194
209
|
* <AccordionPanel orientation="horizontal" defaultValue={["wishlist"]}>
|
|
195
210
|
* <AccordionPanel.Section id="home" pinned>
|
|
196
|
-
* <
|
|
211
|
+
* <Button icon="home" />
|
|
197
212
|
* </AccordionPanel.Section>
|
|
198
213
|
* <AccordionPanel.Section id="wishlist">
|
|
199
|
-
* <
|
|
214
|
+
* <Button icon="list">Wishlist</Button>
|
|
200
215
|
* </AccordionPanel.Section>
|
|
201
216
|
* </AccordionPanel>
|
|
202
217
|
*
|
|
@@ -204,7 +219,7 @@ declare namespace AccordionPanelContent {
|
|
|
204
219
|
* collapses/expands. Pass a custom `trigger` prop on a Section, or use the
|
|
205
220
|
* exported `AccordionPanel.Trigger` directly to compose your own.
|
|
206
221
|
*/
|
|
207
|
-
declare function AccordionPanelRoot({ orientation, value: controlledValue, defaultValue, onValueChange, className, children, }: AccordionPanelProps):
|
|
222
|
+
declare function AccordionPanelRoot({ orientation, value: controlledValue, defaultValue, onValueChange, className, children, }: AccordionPanelProps): react.JSX.Element;
|
|
208
223
|
declare namespace AccordionPanelRoot {
|
|
209
224
|
var displayName: string;
|
|
210
225
|
}
|
|
@@ -246,7 +261,7 @@ interface FieldProps {
|
|
|
246
261
|
className?: string;
|
|
247
262
|
}
|
|
248
263
|
|
|
249
|
-
declare function Field({ label, description, error, required, htmlFor, size, children, className, }: FieldProps):
|
|
264
|
+
declare function Field({ label, description, error, required, htmlFor, size, children, className, }: FieldProps): react.JSX.Element;
|
|
250
265
|
|
|
251
266
|
type InputOption<V = string> = string | {
|
|
252
267
|
value: V;
|
|
@@ -349,7 +364,7 @@ interface CheckboxGroupProps<V = string> extends Omit<InputBaseProps, "id"> {
|
|
|
349
364
|
orientation?: "horizontal" | "vertical";
|
|
350
365
|
}
|
|
351
366
|
|
|
352
|
-
declare function CheckboxGroup<V = string>({ size, dirty, error, label, description, required, disabled, className, name, list, value: controlledValue, defaultValue, onValueChange, orientation, }: CheckboxGroupProps<V>):
|
|
367
|
+
declare function CheckboxGroup<V = string>({ size, dirty, error, label, description, required, disabled, className, name, list, value: controlledValue, defaultValue, onValueChange, orientation, }: CheckboxGroupProps<V>): react.JSX.Element;
|
|
353
368
|
declare namespace CheckboxGroup {
|
|
354
369
|
var displayName: string;
|
|
355
370
|
}
|
|
@@ -362,7 +377,7 @@ interface RadioGroupProps<V = string> extends Omit<InputBaseProps, "id"> {
|
|
|
362
377
|
orientation?: "horizontal" | "vertical";
|
|
363
378
|
}
|
|
364
379
|
|
|
365
|
-
declare function RadioGroup<V = string>({ size, dirty, error, label, description, required, disabled, className, name, list, value: controlledValue, defaultValue, onValueChange, orientation, }: RadioGroupProps<V>):
|
|
380
|
+
declare function RadioGroup<V = string>({ size, dirty, error, label, description, required, disabled, className, name, list, value: controlledValue, defaultValue, onValueChange, orientation, }: RadioGroupProps<V>): react.JSX.Element;
|
|
366
381
|
declare namespace RadioGroup {
|
|
367
382
|
var displayName: string;
|
|
368
383
|
}
|
|
@@ -413,7 +428,7 @@ interface MultiSwitchProps<V = string> extends InputBaseProps {
|
|
|
413
428
|
linear?: boolean;
|
|
414
429
|
}
|
|
415
430
|
|
|
416
|
-
declare function MultiSwitch<V = string>({ size, dirty, error, label, description, required, disabled, className, id, name, list, value: controlledValue, defaultValue, onValueChange, linear, }: MultiSwitchProps<V>):
|
|
431
|
+
declare function MultiSwitch<V = string>({ size, dirty, error, label, description, required, disabled, className, id, name, list, value: controlledValue, defaultValue, onValueChange, linear, }: MultiSwitchProps<V>): react.JSX.Element;
|
|
417
432
|
declare namespace MultiSwitch {
|
|
418
433
|
var displayName: string;
|
|
419
434
|
}
|
|
@@ -557,7 +572,7 @@ interface EmojiProps {
|
|
|
557
572
|
className?: string;
|
|
558
573
|
}
|
|
559
574
|
|
|
560
|
-
declare function Emoji({ name, emoji, tone, size, className }: EmojiProps):
|
|
575
|
+
declare function Emoji({ name, emoji, tone, size, className }: EmojiProps): react.JSX.Element | null;
|
|
561
576
|
|
|
562
577
|
interface EmojiSelectProps {
|
|
563
578
|
value?: string;
|
|
@@ -567,7 +582,7 @@ interface EmojiSelectProps {
|
|
|
567
582
|
className?: string;
|
|
568
583
|
}
|
|
569
584
|
|
|
570
|
-
declare function EmojiSelect({ value, defaultValue, onChange, placeholder, className }: EmojiSelectProps):
|
|
585
|
+
declare function EmojiSelect({ value, defaultValue, onChange, placeholder, className }: EmojiSelectProps): react.JSX.Element;
|
|
571
586
|
|
|
572
587
|
interface TableProps {
|
|
573
588
|
children: ReactNode;
|
|
@@ -619,25 +634,25 @@ interface TableTrayProps {
|
|
|
619
634
|
className?: string;
|
|
620
635
|
}
|
|
621
636
|
|
|
622
|
-
declare function TableHead({ children, className }: TableHeadProps):
|
|
637
|
+
declare function TableHead({ children, className }: TableHeadProps): react.JSX.Element;
|
|
623
638
|
|
|
624
|
-
declare function TableBody({ children, className }: TableBodyProps):
|
|
639
|
+
declare function TableBody({ children, className }: TableBodyProps): react.JSX.Element;
|
|
625
640
|
|
|
626
|
-
declare function TableRow({ children, className, onClick, tray, trayTriggerPosition, expanded: controlledExpanded, defaultExpanded, onExpandedChange, }: TableRowProps):
|
|
641
|
+
declare function TableRow({ children, className, onClick, tray, trayTriggerPosition, expanded: controlledExpanded, defaultExpanded, onExpandedChange, }: TableRowProps): react.JSX.Element;
|
|
627
642
|
|
|
628
|
-
declare function TableCell({ children, className, header }: TableCellProps):
|
|
643
|
+
declare function TableCell({ children, className, header }: TableCellProps): react.JSX.Element;
|
|
629
644
|
|
|
630
|
-
declare function TableColumn({ label, sortKey, className }: TableColumnProps):
|
|
645
|
+
declare function TableColumn({ label, sortKey, className }: TableColumnProps): react.JSX.Element;
|
|
631
646
|
|
|
632
|
-
declare function TablePagination({ className, total, pageSize, }: TablePaginationProps):
|
|
647
|
+
declare function TablePagination({ className, total, pageSize, }: TablePaginationProps): react.JSX.Element | null;
|
|
633
648
|
|
|
634
|
-
declare function TableSearch({ className, placeholder, }: TableSearchProps):
|
|
649
|
+
declare function TableSearch({ className, placeholder, }: TableSearchProps): react.JSX.Element;
|
|
635
650
|
|
|
636
|
-
declare function TableTray({ children, className }: TableTrayProps):
|
|
651
|
+
declare function TableTray({ children, className }: TableTrayProps): react.JSX.Element;
|
|
637
652
|
|
|
638
|
-
declare function TableRowTray({ children, className }: TableRowTrayProps):
|
|
653
|
+
declare function TableRowTray({ children, className }: TableRowTrayProps): react.JSX.Element;
|
|
639
654
|
|
|
640
|
-
declare function TableRoot({ children, className }: TableProps):
|
|
655
|
+
declare function TableRoot({ children, className }: TableProps): react.JSX.Element;
|
|
641
656
|
declare const Table: typeof TableRoot & {
|
|
642
657
|
Head: typeof TableHead;
|
|
643
658
|
Body: typeof TableBody;
|
|
@@ -1090,17 +1105,17 @@ interface PopoverContentProps {
|
|
|
1090
1105
|
className?: string;
|
|
1091
1106
|
}
|
|
1092
1107
|
|
|
1093
|
-
declare function PopoverTrigger({ children, className }: PopoverTriggerProps):
|
|
1108
|
+
declare function PopoverTrigger({ children, className }: PopoverTriggerProps): react.JSX.Element;
|
|
1094
1109
|
declare namespace PopoverTrigger {
|
|
1095
1110
|
var displayName: string;
|
|
1096
1111
|
}
|
|
1097
1112
|
|
|
1098
|
-
declare function PopoverContent({ children, className }: PopoverContentProps):
|
|
1113
|
+
declare function PopoverContent({ children, className }: PopoverContentProps): react.JSX.Element | null;
|
|
1099
1114
|
declare namespace PopoverContent {
|
|
1100
1115
|
var displayName: string;
|
|
1101
1116
|
}
|
|
1102
1117
|
|
|
1103
|
-
declare function PopoverRoot({ children, open: controlledOpen, defaultOpen, onOpenChange, placement, offset, hover, hoverDelay, hoverCloseDelay, }: PopoverProps):
|
|
1118
|
+
declare function PopoverRoot({ children, open: controlledOpen, defaultOpen, onOpenChange, placement, offset, hover, hoverDelay, hoverCloseDelay, }: PopoverProps): react.JSX.Element;
|
|
1104
1119
|
declare const Popover: typeof PopoverRoot & {
|
|
1105
1120
|
Trigger: typeof PopoverTrigger;
|
|
1106
1121
|
Content: typeof PopoverContent;
|
|
@@ -1140,27 +1155,27 @@ interface DropdownSeparatorProps {
|
|
|
1140
1155
|
className?: string;
|
|
1141
1156
|
}
|
|
1142
1157
|
|
|
1143
|
-
declare function DropdownTrigger({ children }: DropdownTriggerProps):
|
|
1158
|
+
declare function DropdownTrigger({ children }: DropdownTriggerProps): react.JSX.Element;
|
|
1144
1159
|
declare namespace DropdownTrigger {
|
|
1145
1160
|
var displayName: string;
|
|
1146
1161
|
}
|
|
1147
1162
|
|
|
1148
|
-
declare function DropdownItems({ children, className }: DropdownItemsProps):
|
|
1163
|
+
declare function DropdownItems({ children, className }: DropdownItemsProps): react.JSX.Element | null;
|
|
1149
1164
|
declare namespace DropdownItems {
|
|
1150
1165
|
var displayName: string;
|
|
1151
1166
|
}
|
|
1152
1167
|
|
|
1153
|
-
declare function DropdownItem({ children, onClick, disabled, danger, className, }: DropdownItemProps):
|
|
1168
|
+
declare function DropdownItem({ children, onClick, disabled, danger, className, }: DropdownItemProps): react.JSX.Element;
|
|
1154
1169
|
declare namespace DropdownItem {
|
|
1155
1170
|
var displayName: string;
|
|
1156
1171
|
}
|
|
1157
1172
|
|
|
1158
|
-
declare function DropdownSeparator({ className }: DropdownSeparatorProps):
|
|
1173
|
+
declare function DropdownSeparator({ className }: DropdownSeparatorProps): react.JSX.Element;
|
|
1159
1174
|
declare namespace DropdownSeparator {
|
|
1160
1175
|
var displayName: string;
|
|
1161
1176
|
}
|
|
1162
1177
|
|
|
1163
|
-
declare function DropdownRoot({ children, placement, offset, }: DropdownProps):
|
|
1178
|
+
declare function DropdownRoot({ children, placement, offset, }: DropdownProps): react.JSX.Element;
|
|
1164
1179
|
declare const Dropdown: typeof DropdownRoot & {
|
|
1165
1180
|
Trigger: typeof DropdownTrigger;
|
|
1166
1181
|
Items: typeof DropdownItems;
|
|
@@ -1211,40 +1226,40 @@ interface ContextMenuSubContentProps {
|
|
|
1211
1226
|
className?: string;
|
|
1212
1227
|
}
|
|
1213
1228
|
|
|
1214
|
-
declare function ContextMenuTrigger({ children, className, }: ContextMenuTriggerProps):
|
|
1229
|
+
declare function ContextMenuTrigger({ children, className, }: ContextMenuTriggerProps): react.JSX.Element;
|
|
1215
1230
|
declare namespace ContextMenuTrigger {
|
|
1216
1231
|
var displayName: string;
|
|
1217
1232
|
}
|
|
1218
1233
|
|
|
1219
|
-
declare function ContextMenuContent({ children, className, }: ContextMenuContentProps):
|
|
1234
|
+
declare function ContextMenuContent({ children, className, }: ContextMenuContentProps): react.JSX.Element | null;
|
|
1220
1235
|
declare namespace ContextMenuContent {
|
|
1221
1236
|
var displayName: string;
|
|
1222
1237
|
}
|
|
1223
1238
|
|
|
1224
|
-
declare function ContextMenuItem({ children, onClick, disabled, danger, className, }: ContextMenuItemProps):
|
|
1239
|
+
declare function ContextMenuItem({ children, onClick, disabled, danger, className, }: ContextMenuItemProps): react.JSX.Element;
|
|
1225
1240
|
declare namespace ContextMenuItem {
|
|
1226
1241
|
var displayName: string;
|
|
1227
1242
|
}
|
|
1228
1243
|
|
|
1229
|
-
declare function ContextMenuSeparator({ className }: ContextMenuSeparatorProps):
|
|
1244
|
+
declare function ContextMenuSeparator({ className }: ContextMenuSeparatorProps): react.JSX.Element;
|
|
1230
1245
|
declare namespace ContextMenuSeparator {
|
|
1231
1246
|
var displayName: string;
|
|
1232
1247
|
}
|
|
1233
1248
|
|
|
1234
|
-
declare function ContextMenuSub({ children }: ContextMenuSubProps):
|
|
1249
|
+
declare function ContextMenuSub({ children }: ContextMenuSubProps): react.JSX.Element;
|
|
1235
1250
|
declare namespace ContextMenuSub {
|
|
1236
1251
|
var displayName: string;
|
|
1237
1252
|
}
|
|
1238
|
-
declare function ContextMenuSubTrigger({ children, className }: ContextMenuSubTriggerProps):
|
|
1253
|
+
declare function ContextMenuSubTrigger({ children, className }: ContextMenuSubTriggerProps): react.JSX.Element;
|
|
1239
1254
|
declare namespace ContextMenuSubTrigger {
|
|
1240
1255
|
var displayName: string;
|
|
1241
1256
|
}
|
|
1242
|
-
declare function ContextMenuSubContent({ children, className }: ContextMenuSubContentProps):
|
|
1257
|
+
declare function ContextMenuSubContent({ children, className }: ContextMenuSubContentProps): react.JSX.Element | null;
|
|
1243
1258
|
declare namespace ContextMenuSubContent {
|
|
1244
1259
|
var displayName: string;
|
|
1245
1260
|
}
|
|
1246
1261
|
|
|
1247
|
-
declare function ContextMenuRoot({ children }: ContextMenuProps):
|
|
1262
|
+
declare function ContextMenuRoot({ children }: ContextMenuProps): react.JSX.Element;
|
|
1248
1263
|
declare const ContextMenu: typeof ContextMenuRoot & {
|
|
1249
1264
|
Trigger: typeof ContextMenuTrigger;
|
|
1250
1265
|
Content: typeof ContextMenuContent;
|
|
@@ -1281,22 +1296,22 @@ interface ModalFooterProps {
|
|
|
1281
1296
|
className?: string;
|
|
1282
1297
|
}
|
|
1283
1298
|
|
|
1284
|
-
declare function ModalHeader({ children, className }: ModalHeaderProps):
|
|
1299
|
+
declare function ModalHeader({ children, className }: ModalHeaderProps): react.JSX.Element;
|
|
1285
1300
|
declare namespace ModalHeader {
|
|
1286
1301
|
var displayName: string;
|
|
1287
1302
|
}
|
|
1288
1303
|
|
|
1289
|
-
declare function ModalBody({ children, className }: ModalBodyProps):
|
|
1304
|
+
declare function ModalBody({ children, className }: ModalBodyProps): react.JSX.Element;
|
|
1290
1305
|
declare namespace ModalBody {
|
|
1291
1306
|
var displayName: string;
|
|
1292
1307
|
}
|
|
1293
1308
|
|
|
1294
|
-
declare function ModalFooter({ children, className }: ModalFooterProps):
|
|
1309
|
+
declare function ModalFooter({ children, className }: ModalFooterProps): react.JSX.Element;
|
|
1295
1310
|
declare namespace ModalFooter {
|
|
1296
1311
|
var displayName: string;
|
|
1297
1312
|
}
|
|
1298
1313
|
|
|
1299
|
-
declare function ModalRoot({ children, open, onClose, size, className, }: ModalProps):
|
|
1314
|
+
declare function ModalRoot({ children, open, onClose, size, className, }: ModalProps): react.JSX.Element | null;
|
|
1300
1315
|
declare const Modal: typeof ModalRoot & {
|
|
1301
1316
|
Header: typeof ModalHeader;
|
|
1302
1317
|
Body: typeof ModalBody;
|
|
@@ -1325,7 +1340,7 @@ interface ToastProviderProps {
|
|
|
1325
1340
|
maxToasts?: number;
|
|
1326
1341
|
}
|
|
1327
1342
|
|
|
1328
|
-
declare function ToastProvider({ children, position, maxToasts, }: ToastProviderProps):
|
|
1343
|
+
declare function ToastProvider({ children, position, maxToasts, }: ToastProviderProps): react.JSX.Element;
|
|
1329
1344
|
declare const Toast: {
|
|
1330
1345
|
Provider: typeof ToastProvider;
|
|
1331
1346
|
};
|
|
@@ -1370,32 +1385,32 @@ interface CommandEmptyProps {
|
|
|
1370
1385
|
className?: string;
|
|
1371
1386
|
}
|
|
1372
1387
|
|
|
1373
|
-
declare function CommandInput({ placeholder, className, }: CommandInputProps):
|
|
1388
|
+
declare function CommandInput({ placeholder, className, }: CommandInputProps): react.JSX.Element;
|
|
1374
1389
|
declare namespace CommandInput {
|
|
1375
1390
|
var displayName: string;
|
|
1376
1391
|
}
|
|
1377
1392
|
|
|
1378
|
-
declare function CommandList({ children, className }: CommandListProps):
|
|
1393
|
+
declare function CommandList({ children, className }: CommandListProps): react.JSX.Element;
|
|
1379
1394
|
declare namespace CommandList {
|
|
1380
1395
|
var displayName: string;
|
|
1381
1396
|
}
|
|
1382
1397
|
|
|
1383
|
-
declare function CommandItem({ children, value, onSelect, className, }: CommandItemProps):
|
|
1398
|
+
declare function CommandItem({ children, value, onSelect, className, }: CommandItemProps): react.JSX.Element | null;
|
|
1384
1399
|
declare namespace CommandItem {
|
|
1385
1400
|
var displayName: string;
|
|
1386
1401
|
}
|
|
1387
1402
|
|
|
1388
|
-
declare function CommandGroup({ children, heading, className, }: CommandGroupProps):
|
|
1403
|
+
declare function CommandGroup({ children, heading, className, }: CommandGroupProps): react.JSX.Element;
|
|
1389
1404
|
declare namespace CommandGroup {
|
|
1390
1405
|
var displayName: string;
|
|
1391
1406
|
}
|
|
1392
1407
|
|
|
1393
|
-
declare function CommandEmpty({ children, className, }: CommandEmptyProps):
|
|
1408
|
+
declare function CommandEmpty({ children, className, }: CommandEmptyProps): react.JSX.Element;
|
|
1394
1409
|
declare namespace CommandEmpty {
|
|
1395
1410
|
var displayName: string;
|
|
1396
1411
|
}
|
|
1397
1412
|
|
|
1398
|
-
declare function CommandRoot({ children, open, onClose, className }: CommandProps):
|
|
1413
|
+
declare function CommandRoot({ children, open, onClose, className }: CommandProps): react.JSX.Element | null;
|
|
1399
1414
|
declare const Command: typeof CommandRoot & {
|
|
1400
1415
|
Input: typeof CommandInput;
|
|
1401
1416
|
List: typeof CommandList;
|
|
@@ -1440,27 +1455,27 @@ interface TabsPanelProps {
|
|
|
1440
1455
|
className?: string;
|
|
1441
1456
|
}
|
|
1442
1457
|
|
|
1443
|
-
declare function TabsList({ children, className }: TabsListProps):
|
|
1458
|
+
declare function TabsList({ children, className }: TabsListProps): react.JSX.Element;
|
|
1444
1459
|
declare namespace TabsList {
|
|
1445
1460
|
var displayName: string;
|
|
1446
1461
|
}
|
|
1447
1462
|
|
|
1448
|
-
declare function TabsTab({ children, value, disabled, className, }: TabsTabProps):
|
|
1463
|
+
declare function TabsTab({ children, value, disabled, className, }: TabsTabProps): react.JSX.Element;
|
|
1449
1464
|
declare namespace TabsTab {
|
|
1450
1465
|
var displayName: string;
|
|
1451
1466
|
}
|
|
1452
1467
|
|
|
1453
|
-
declare function TabsPanels({ children, className }: TabsPanelsProps):
|
|
1468
|
+
declare function TabsPanels({ children, className }: TabsPanelsProps): react.JSX.Element;
|
|
1454
1469
|
declare namespace TabsPanels {
|
|
1455
1470
|
var displayName: string;
|
|
1456
1471
|
}
|
|
1457
1472
|
|
|
1458
|
-
declare function TabsPanel({ children, value, className }: TabsPanelProps):
|
|
1473
|
+
declare function TabsPanel({ children, value, className }: TabsPanelProps): react.JSX.Element | null;
|
|
1459
1474
|
declare namespace TabsPanel {
|
|
1460
1475
|
var displayName: string;
|
|
1461
1476
|
}
|
|
1462
1477
|
|
|
1463
|
-
declare function TabsRoot({ children, defaultTab, activeTab: controlledTab, onTabChange, variant, className, }: TabsProps):
|
|
1478
|
+
declare function TabsRoot({ children, defaultTab, activeTab: controlledTab, onTabChange, variant, className, }: TabsProps): react.JSX.Element;
|
|
1464
1479
|
declare const Tabs: typeof TabsRoot & {
|
|
1465
1480
|
List: typeof TabsList;
|
|
1466
1481
|
Tab: typeof TabsTab;
|
|
@@ -1495,22 +1510,22 @@ interface AccordionContentProps {
|
|
|
1495
1510
|
className?: string;
|
|
1496
1511
|
}
|
|
1497
1512
|
|
|
1498
|
-
declare function AccordionItem({ children, value, className, }: AccordionItemProps):
|
|
1513
|
+
declare function AccordionItem({ children, value, className, }: AccordionItemProps): react.JSX.Element;
|
|
1499
1514
|
declare namespace AccordionItem {
|
|
1500
1515
|
var displayName: string;
|
|
1501
1516
|
}
|
|
1502
1517
|
|
|
1503
|
-
declare function AccordionTrigger({ children, className, }: AccordionTriggerProps):
|
|
1518
|
+
declare function AccordionTrigger({ children, className, }: AccordionTriggerProps): react.JSX.Element;
|
|
1504
1519
|
declare namespace AccordionTrigger {
|
|
1505
1520
|
var displayName: string;
|
|
1506
1521
|
}
|
|
1507
1522
|
|
|
1508
|
-
declare function AccordionContent({ children, className, }: AccordionContentProps):
|
|
1523
|
+
declare function AccordionContent({ children, className, }: AccordionContentProps): react.JSX.Element;
|
|
1509
1524
|
declare namespace AccordionContent {
|
|
1510
1525
|
var displayName: string;
|
|
1511
1526
|
}
|
|
1512
1527
|
|
|
1513
|
-
declare function AccordionRoot({ children, type, defaultOpen, className, }: AccordionProps):
|
|
1528
|
+
declare function AccordionRoot({ children, type, defaultOpen, className, }: AccordionProps): react.JSX.Element;
|
|
1514
1529
|
declare const Accordion: typeof AccordionRoot & {
|
|
1515
1530
|
Item: typeof AccordionItem;
|
|
1516
1531
|
Trigger: typeof AccordionTrigger;
|
|
@@ -1532,12 +1547,12 @@ interface BreadcrumbsItemProps {
|
|
|
1532
1547
|
className?: string;
|
|
1533
1548
|
}
|
|
1534
1549
|
|
|
1535
|
-
declare function BreadcrumbsItem({ children, href, active, className, }: BreadcrumbsItemProps):
|
|
1550
|
+
declare function BreadcrumbsItem({ children, href, active, className, }: BreadcrumbsItemProps): react.JSX.Element;
|
|
1536
1551
|
declare namespace BreadcrumbsItem {
|
|
1537
1552
|
var displayName: string;
|
|
1538
1553
|
}
|
|
1539
1554
|
|
|
1540
|
-
declare function BreadcrumbsRoot({ children, separator, shrink, className, }: BreadcrumbsProps):
|
|
1555
|
+
declare function BreadcrumbsRoot({ children, separator, shrink, className, }: BreadcrumbsProps): react.JSX.Element;
|
|
1541
1556
|
declare const Breadcrumbs: typeof BreadcrumbsRoot & {
|
|
1542
1557
|
Item: typeof BreadcrumbsItem;
|
|
1543
1558
|
};
|
|
@@ -1568,27 +1583,27 @@ interface NavbarToggleProps {
|
|
|
1568
1583
|
className?: string;
|
|
1569
1584
|
}
|
|
1570
1585
|
|
|
1571
|
-
declare function NavbarBrand({ children, className }: NavbarBrandProps):
|
|
1586
|
+
declare function NavbarBrand({ children, className }: NavbarBrandProps): react.JSX.Element;
|
|
1572
1587
|
declare namespace NavbarBrand {
|
|
1573
1588
|
var displayName: string;
|
|
1574
1589
|
}
|
|
1575
1590
|
|
|
1576
|
-
declare function NavbarItems({ children, className }: NavbarItemsProps):
|
|
1591
|
+
declare function NavbarItems({ children, className }: NavbarItemsProps): react.JSX.Element;
|
|
1577
1592
|
declare namespace NavbarItems {
|
|
1578
1593
|
var displayName: string;
|
|
1579
1594
|
}
|
|
1580
1595
|
|
|
1581
|
-
declare function NavbarItem({ children, href, active, className, }: NavbarItemProps):
|
|
1596
|
+
declare function NavbarItem({ children, href, active, className, }: NavbarItemProps): react.JSX.Element;
|
|
1582
1597
|
declare namespace NavbarItem {
|
|
1583
1598
|
var displayName: string;
|
|
1584
1599
|
}
|
|
1585
1600
|
|
|
1586
|
-
declare function NavbarToggle({ className }: NavbarToggleProps):
|
|
1601
|
+
declare function NavbarToggle({ className }: NavbarToggleProps): react.JSX.Element;
|
|
1587
1602
|
declare namespace NavbarToggle {
|
|
1588
1603
|
var displayName: string;
|
|
1589
1604
|
}
|
|
1590
1605
|
|
|
1591
|
-
declare function NavbarRoot({ children, className }: NavbarProps):
|
|
1606
|
+
declare function NavbarRoot({ children, className }: NavbarProps): react.JSX.Element;
|
|
1592
1607
|
declare const Navbar: typeof NavbarRoot & {
|
|
1593
1608
|
Brand: typeof NavbarBrand;
|
|
1594
1609
|
Items: typeof NavbarItems;
|
|
@@ -1606,7 +1621,7 @@ interface PaginationProps {
|
|
|
1606
1621
|
className?: string;
|
|
1607
1622
|
}
|
|
1608
1623
|
|
|
1609
|
-
declare function Pagination({ page, onPageChange, totalPages, siblingCount, className, }: PaginationProps):
|
|
1624
|
+
declare function Pagination({ page, onPageChange, totalPages, siblingCount, className, }: PaginationProps): react.JSX.Element | null;
|
|
1610
1625
|
declare namespace Pagination {
|
|
1611
1626
|
var displayName: string;
|
|
1612
1627
|
}
|
|
@@ -1680,17 +1695,17 @@ interface FileUploadListProps {
|
|
|
1680
1695
|
className?: string;
|
|
1681
1696
|
}
|
|
1682
1697
|
|
|
1683
|
-
declare function FileUploadDropzone({ children, className, }: FileUploadDropzoneProps):
|
|
1698
|
+
declare function FileUploadDropzone({ children, className, }: FileUploadDropzoneProps): react.JSX.Element;
|
|
1684
1699
|
declare namespace FileUploadDropzone {
|
|
1685
1700
|
var displayName: string;
|
|
1686
1701
|
}
|
|
1687
1702
|
|
|
1688
|
-
declare function FileUploadList({ thumbnail, className }: FileUploadListProps):
|
|
1703
|
+
declare function FileUploadList({ thumbnail, className }: FileUploadListProps): react.JSX.Element | null;
|
|
1689
1704
|
declare namespace FileUploadList {
|
|
1690
1705
|
var displayName: string;
|
|
1691
1706
|
}
|
|
1692
1707
|
|
|
1693
|
-
declare function FileUploadRoot({ children, value, onChange, maxFiles, maxSize, disabled, className, }: FileUploadProps):
|
|
1708
|
+
declare function FileUploadRoot({ children, value, onChange, maxFiles, maxSize, disabled, className, }: FileUploadProps): react.JSX.Element;
|
|
1694
1709
|
declare const FileUpload: typeof FileUploadRoot & {
|
|
1695
1710
|
Dropzone: typeof FileUploadDropzone;
|
|
1696
1711
|
List: typeof FileUploadList;
|
|
@@ -1826,42 +1841,42 @@ interface ChartStackedBarProps extends ChartCommonProps {
|
|
|
1826
1841
|
series: ChartSeries[];
|
|
1827
1842
|
}
|
|
1828
1843
|
|
|
1829
|
-
declare function ChartBar({ data, height, showValues, className, }: ChartBarProps):
|
|
1844
|
+
declare function ChartBar({ data, height, showValues, className, }: ChartBarProps): react.JSX.Element;
|
|
1830
1845
|
declare namespace ChartBar {
|
|
1831
1846
|
var displayName: string;
|
|
1832
1847
|
}
|
|
1833
1848
|
|
|
1834
|
-
declare function ChartDonut({ data, size, strokeWidth, showLegend, className, }: ChartDonutProps):
|
|
1849
|
+
declare function ChartDonut({ data, size, strokeWidth, showLegend, className, }: ChartDonutProps): react.JSX.Element;
|
|
1835
1850
|
declare namespace ChartDonut {
|
|
1836
1851
|
var displayName: string;
|
|
1837
1852
|
}
|
|
1838
1853
|
|
|
1839
|
-
declare function ChartLine({ labels, series, height, curve, showDots, fill, fillOpacity, xAxis, yAxis, grid, tooltip, animate, responsive, className, }: ChartLineProps):
|
|
1854
|
+
declare function ChartLine({ labels, series, height, curve, showDots, fill, fillOpacity, xAxis, yAxis, grid, tooltip, animate, responsive, className, }: ChartLineProps): react.JSX.Element;
|
|
1840
1855
|
declare namespace ChartLine {
|
|
1841
1856
|
var displayName: string;
|
|
1842
1857
|
}
|
|
1843
1858
|
|
|
1844
|
-
declare function ChartArea(props: ChartAreaProps):
|
|
1859
|
+
declare function ChartArea(props: ChartAreaProps): react.JSX.Element;
|
|
1845
1860
|
declare namespace ChartArea {
|
|
1846
1861
|
var displayName: string;
|
|
1847
1862
|
}
|
|
1848
1863
|
|
|
1849
|
-
declare function ChartPie({ data, size, showLabels, tooltip, className, }: ChartPieProps):
|
|
1864
|
+
declare function ChartPie({ data, size, showLabels, tooltip, className, }: ChartPieProps): react.JSX.Element;
|
|
1850
1865
|
declare namespace ChartPie {
|
|
1851
1866
|
var displayName: string;
|
|
1852
1867
|
}
|
|
1853
1868
|
|
|
1854
|
-
declare function ChartSparkline({ data, width, height, color, className, }: ChartSparklineProps):
|
|
1869
|
+
declare function ChartSparkline({ data, width, height, color, className, }: ChartSparklineProps): react.JSX.Element;
|
|
1855
1870
|
declare namespace ChartSparkline {
|
|
1856
1871
|
var displayName: string;
|
|
1857
1872
|
}
|
|
1858
1873
|
|
|
1859
|
-
declare function ChartHorizontalBar({ data, height, showValues, className, }: ChartHorizontalBarProps):
|
|
1874
|
+
declare function ChartHorizontalBar({ data, height, showValues, className, }: ChartHorizontalBarProps): react.JSX.Element;
|
|
1860
1875
|
declare namespace ChartHorizontalBar {
|
|
1861
1876
|
var displayName: string;
|
|
1862
1877
|
}
|
|
1863
1878
|
|
|
1864
|
-
declare function ChartStackedBar({ labels, series, height, xAxis, yAxis, grid, tooltip, responsive, className, }: ChartStackedBarProps):
|
|
1879
|
+
declare function ChartStackedBar({ labels, series, height, xAxis, yAxis, grid, tooltip, responsive, className, }: ChartStackedBarProps): react.JSX.Element;
|
|
1865
1880
|
declare namespace ChartStackedBar {
|
|
1866
1881
|
var displayName: string;
|
|
1867
1882
|
}
|
|
@@ -1941,22 +1956,22 @@ interface EditorProps {
|
|
|
1941
1956
|
unsafe?: boolean;
|
|
1942
1957
|
}
|
|
1943
1958
|
|
|
1944
|
-
declare function EditorToolbar({ actions, onAction, children, className, }: EditorToolbarProps):
|
|
1959
|
+
declare function EditorToolbar({ actions, onAction, children, className, }: EditorToolbarProps): react.JSX.Element;
|
|
1945
1960
|
declare namespace EditorToolbar {
|
|
1946
1961
|
var displayName: string;
|
|
1947
1962
|
}
|
|
1948
1963
|
|
|
1949
|
-
declare function EditorToolbarSeparator():
|
|
1964
|
+
declare function EditorToolbarSeparator(): react.JSX.Element;
|
|
1950
1965
|
declare namespace EditorToolbarSeparator {
|
|
1951
1966
|
var displayName: string;
|
|
1952
1967
|
}
|
|
1953
1968
|
|
|
1954
|
-
declare function EditorContent({ className, maxHeight }: EditorContentProps):
|
|
1969
|
+
declare function EditorContent({ className, maxHeight }: EditorContentProps): react.JSX.Element;
|
|
1955
1970
|
declare namespace EditorContent {
|
|
1956
1971
|
var displayName: string;
|
|
1957
1972
|
}
|
|
1958
1973
|
|
|
1959
|
-
declare function EditorRoot({ children, className, value: controlledValue, defaultValue, onChange, outputFormat, lineSpacing, placeholder, extensions: instanceExtensions, unsafe, }: EditorProps):
|
|
1974
|
+
declare function EditorRoot({ children, className, value: controlledValue, defaultValue, onChange, outputFormat, lineSpacing, placeholder, extensions: instanceExtensions, unsafe, }: EditorProps): react.JSX.Element;
|
|
1960
1975
|
declare const Editor: typeof EditorRoot & {
|
|
1961
1976
|
Toolbar: typeof EditorToolbar & {
|
|
1962
1977
|
Separator: typeof EditorToolbarSeparator;
|
|
@@ -1998,7 +2013,7 @@ interface ContentRendererProps {
|
|
|
1998
2013
|
unsafe?: boolean;
|
|
1999
2014
|
}
|
|
2000
2015
|
|
|
2001
|
-
declare function ContentRenderer({ value, format, lineSpacing, className, extensions: instanceExtensions, unsafe, }: ContentRendererProps):
|
|
2016
|
+
declare function ContentRenderer({ value, format, lineSpacing, className, extensions: instanceExtensions, unsafe, }: ContentRendererProps): react.JSX.Element;
|
|
2002
2017
|
declare namespace ContentRenderer {
|
|
2003
2018
|
var displayName: string;
|
|
2004
2019
|
}
|
|
@@ -2035,22 +2050,22 @@ interface MenuContextValue {
|
|
|
2035
2050
|
orientation: MenuOrientation;
|
|
2036
2051
|
}
|
|
2037
2052
|
|
|
2038
|
-
declare function MenuItem({ children, href, icon, active, disabled, badge, onClick, className, }: MenuItemProps):
|
|
2053
|
+
declare function MenuItem({ children, href, icon, active, disabled, badge, onClick, className, }: MenuItemProps): react.JSX.Element;
|
|
2039
2054
|
declare namespace MenuItem {
|
|
2040
2055
|
var displayName: string;
|
|
2041
2056
|
}
|
|
2042
2057
|
|
|
2043
|
-
declare function MenuSubmenu({ children, label, icon, defaultOpen, className, }: MenuSubmenuProps):
|
|
2058
|
+
declare function MenuSubmenu({ children, label, icon, defaultOpen, className, }: MenuSubmenuProps): react.JSX.Element;
|
|
2044
2059
|
declare namespace MenuSubmenu {
|
|
2045
2060
|
var displayName: string;
|
|
2046
2061
|
}
|
|
2047
2062
|
|
|
2048
|
-
declare function MenuGroup({ children, label, className }: MenuGroupProps):
|
|
2063
|
+
declare function MenuGroup({ children, label, className }: MenuGroupProps): react.JSX.Element;
|
|
2049
2064
|
declare namespace MenuGroup {
|
|
2050
2065
|
var displayName: string;
|
|
2051
2066
|
}
|
|
2052
2067
|
|
|
2053
|
-
declare function MenuRoot({ children, orientation, className }: MenuProps):
|
|
2068
|
+
declare function MenuRoot({ children, orientation, className }: MenuProps): react.JSX.Element;
|
|
2054
2069
|
declare const Menu: typeof MenuRoot & {
|
|
2055
2070
|
Item: typeof MenuItem;
|
|
2056
2071
|
Submenu: typeof MenuSubmenu;
|
|
@@ -2105,27 +2120,27 @@ interface SidebarContextValue {
|
|
|
2105
2120
|
setCollapsed: (collapsed: boolean) => void;
|
|
2106
2121
|
}
|
|
2107
2122
|
|
|
2108
|
-
declare function SidebarItem({ children, href, icon, active, disabled, badge, onClick, className, }: SidebarItemProps):
|
|
2123
|
+
declare function SidebarItem({ children, href, icon, active, disabled, badge, onClick, className, }: SidebarItemProps): react.JSX.Element;
|
|
2109
2124
|
declare namespace SidebarItem {
|
|
2110
2125
|
var displayName: string;
|
|
2111
2126
|
}
|
|
2112
2127
|
|
|
2113
|
-
declare function SidebarGroup({ children, label, className }: SidebarGroupProps):
|
|
2128
|
+
declare function SidebarGroup({ children, label, className }: SidebarGroupProps): react.JSX.Element;
|
|
2114
2129
|
declare namespace SidebarGroup {
|
|
2115
2130
|
var displayName: string;
|
|
2116
2131
|
}
|
|
2117
2132
|
|
|
2118
|
-
declare function SidebarSubmenu({ children, label, icon, defaultOpen, className, }: SidebarSubmenuProps):
|
|
2133
|
+
declare function SidebarSubmenu({ children, label, icon, defaultOpen, className, }: SidebarSubmenuProps): react.JSX.Element;
|
|
2119
2134
|
declare namespace SidebarSubmenu {
|
|
2120
2135
|
var displayName: string;
|
|
2121
2136
|
}
|
|
2122
2137
|
|
|
2123
|
-
declare function SidebarToggle({ className }: SidebarToggleProps):
|
|
2138
|
+
declare function SidebarToggle({ className }: SidebarToggleProps): react.JSX.Element;
|
|
2124
2139
|
declare namespace SidebarToggle {
|
|
2125
2140
|
var displayName: string;
|
|
2126
2141
|
}
|
|
2127
2142
|
|
|
2128
|
-
declare function SidebarRoot({ children, collapsed: controlledCollapsed, defaultCollapsed, onCollapsedChange, collapseMode, className, }: SidebarProps):
|
|
2143
|
+
declare function SidebarRoot({ children, collapsed: controlledCollapsed, defaultCollapsed, onCollapsedChange, collapseMode, className, }: SidebarProps): react.JSX.Element;
|
|
2129
2144
|
declare const Sidebar: typeof SidebarRoot & {
|
|
2130
2145
|
Item: typeof SidebarItem;
|
|
2131
2146
|
Group: typeof SidebarGroup;
|
|
@@ -2163,17 +2178,17 @@ interface MobileMenuContextValue {
|
|
|
2163
2178
|
variant: MobileMenuVariant;
|
|
2164
2179
|
}
|
|
2165
2180
|
|
|
2166
|
-
declare function MobileMenuFlyout({ children, open, onClose, side, title, className, }: MobileMenuFlyoutProps):
|
|
2181
|
+
declare function MobileMenuFlyout({ children, open, onClose, side, title, className, }: MobileMenuFlyoutProps): react.JSX.Element | null;
|
|
2167
2182
|
declare namespace MobileMenuFlyout {
|
|
2168
2183
|
var displayName: string;
|
|
2169
2184
|
}
|
|
2170
2185
|
|
|
2171
|
-
declare function MobileMenuBottomBar({ children, className }: MobileMenuBottomBarProps):
|
|
2186
|
+
declare function MobileMenuBottomBar({ children, className }: MobileMenuBottomBarProps): react.JSX.Element;
|
|
2172
2187
|
declare namespace MobileMenuBottomBar {
|
|
2173
2188
|
var displayName: string;
|
|
2174
2189
|
}
|
|
2175
2190
|
|
|
2176
|
-
declare function MobileMenuItem({ children, href, icon, active, disabled, badge, onClick, className, }: MobileMenuItemProps):
|
|
2191
|
+
declare function MobileMenuItem({ children, href, icon, active, disabled, badge, onClick, className, }: MobileMenuItemProps): react.JSX.Element;
|
|
2177
2192
|
declare namespace MobileMenuItem {
|
|
2178
2193
|
var displayName: string;
|
|
2179
2194
|
}
|
|
@@ -2265,12 +2280,12 @@ interface KanbanColumnHandleProps {
|
|
|
2265
2280
|
className?: string;
|
|
2266
2281
|
}
|
|
2267
2282
|
|
|
2268
|
-
declare function KanbanColumn({ children, id, title, className, unstyled, wipLimit, hideWhenEmpty, }: KanbanColumnProps):
|
|
2283
|
+
declare function KanbanColumn({ children, id, title, className, unstyled, wipLimit, hideWhenEmpty, }: KanbanColumnProps): react.JSX.Element | null;
|
|
2269
2284
|
declare namespace KanbanColumn {
|
|
2270
2285
|
var displayName: string;
|
|
2271
2286
|
}
|
|
2272
2287
|
|
|
2273
|
-
declare function KanbanCard({ children, id, className, unstyled }: KanbanCardProps):
|
|
2288
|
+
declare function KanbanCard({ children, id, className, unstyled }: KanbanCardProps): react.JSX.Element;
|
|
2274
2289
|
declare namespace KanbanCard {
|
|
2275
2290
|
var displayName: string;
|
|
2276
2291
|
}
|
|
@@ -2285,7 +2300,7 @@ declare namespace KanbanCard {
|
|
|
2285
2300
|
* Typically wrapped around the column header so users grab the title
|
|
2286
2301
|
* to reorder; can also be a small grip icon.
|
|
2287
2302
|
*/
|
|
2288
|
-
declare function KanbanColumnHandle({ children, className, }: KanbanColumnHandleProps):
|
|
2303
|
+
declare function KanbanColumnHandle({ children, className, }: KanbanColumnHandleProps): react.JSX.Element;
|
|
2289
2304
|
declare namespace KanbanColumnHandle {
|
|
2290
2305
|
var displayName: string;
|
|
2291
2306
|
}
|
|
@@ -2309,7 +2324,7 @@ declare namespace KanbanColumnHandle {
|
|
|
2309
2324
|
* is mounted inside them. The root computes the drop index from
|
|
2310
2325
|
* mouse X and surfaces it via `onColumnMove`.
|
|
2311
2326
|
*/
|
|
2312
|
-
declare function KanbanRoot({ children, onCardMove, onColumnMove, className, }: KanbanProps):
|
|
2327
|
+
declare function KanbanRoot({ children, onCardMove, onColumnMove, className, }: KanbanProps): react.JSX.Element;
|
|
2313
2328
|
declare const Kanban: typeof KanbanRoot & {
|
|
2314
2329
|
Column: typeof KanbanColumn;
|
|
2315
2330
|
Card: typeof KanbanCard;
|
|
@@ -2401,12 +2416,12 @@ interface TreeNodeProps {
|
|
|
2401
2416
|
className?: string;
|
|
2402
2417
|
}
|
|
2403
2418
|
|
|
2404
|
-
declare function TreeNode({ node, depth }: TreeNodeProps):
|
|
2419
|
+
declare function TreeNode({ node, depth }: TreeNodeProps): react.JSX.Element;
|
|
2405
2420
|
declare namespace TreeNode {
|
|
2406
2421
|
var displayName: string;
|
|
2407
2422
|
}
|
|
2408
2423
|
|
|
2409
|
-
declare function TreeNavRoot({ nodes, selectedId, onSelect, onNodeContextMenu, draggable, onNodeMove, acceptExternalDrops, onExternalDrop, expandedIds: controlledExpanded, defaultExpandedIds, onExpandedChange, defaultExpandAll, indentSize, showIcons, className, }: TreeNavProps):
|
|
2424
|
+
declare function TreeNavRoot({ nodes, selectedId, onSelect, onNodeContextMenu, draggable, onNodeMove, acceptExternalDrops, onExternalDrop, expandedIds: controlledExpanded, defaultExpandedIds, onExpandedChange, defaultExpandAll, indentSize, showIcons, className, }: TreeNavProps): react.JSX.Element;
|
|
2410
2425
|
declare namespace TreeNavRoot {
|
|
2411
2426
|
var displayName: string;
|
|
2412
2427
|
}
|
|
@@ -2571,7 +2586,7 @@ interface ReasonTagProps {
|
|
|
2571
2586
|
/** Optional className applied to the trigger element. */
|
|
2572
2587
|
className?: string;
|
|
2573
2588
|
}
|
|
2574
|
-
declare function ReasonTag({ value, reason, confidence, sources, by, theme, pinned, onFollowUp, className, }: ReasonTagProps):
|
|
2589
|
+
declare function ReasonTag({ value, reason, confidence, sources, by, theme, pinned, onFollowUp, className, }: ReasonTagProps): react.JSX.Element;
|
|
2575
2590
|
|
|
2576
2591
|
/**
|
|
2577
2592
|
* MoodMeter — a 2D draggable pad that captures a value AND the
|
|
@@ -2635,7 +2650,7 @@ interface MoodMeterProps {
|
|
|
2635
2650
|
/** Optional className applied to the outer pad. */
|
|
2636
2651
|
className?: string;
|
|
2637
2652
|
}
|
|
2638
|
-
declare function MoodMeter({ min, max, step, value, confidence, onChange, posted, width, height, showGrid, color, postedColor, prefix, suffix, formatValue, className, }: MoodMeterProps):
|
|
2653
|
+
declare function MoodMeter({ min, max, step, value, confidence, onChange, posted, width, height, showGrid, color, postedColor, prefix, suffix, formatValue, className, }: MoodMeterProps): react.JSX.Element;
|
|
2639
2654
|
|
|
2640
2655
|
/**
|
|
2641
2656
|
* PromptInput — the chat composer every AI app rebuilds. Auto-growing
|
|
@@ -2697,7 +2712,7 @@ interface PromptInputProps {
|
|
|
2697
2712
|
*/
|
|
2698
2713
|
aboveInput?: ReactNode;
|
|
2699
2714
|
}
|
|
2700
|
-
declare function PromptInput({ budgetTokens, commands, mentions, showHint, onSubmit, placeholder, charsPerToken, mentionColor, maxHeight, aboveInput, }: PromptInputProps):
|
|
2715
|
+
declare function PromptInput({ budgetTokens, commands, mentions, showHint, onSubmit, placeholder, charsPerToken, mentionColor, maxHeight, aboveInput, }: PromptInputProps): react.JSX.Element;
|
|
2701
2716
|
|
|
2702
2717
|
/**
|
|
2703
2718
|
* ChatDrawer — tabbed, collapsible panel that sits *above* a `PromptInput`
|
|
@@ -2756,7 +2771,7 @@ interface ChatDrawerProps {
|
|
|
2756
2771
|
minBodyHeight?: number;
|
|
2757
2772
|
className?: string;
|
|
2758
2773
|
}
|
|
2759
|
-
declare function ChatDrawer({ tabs, activeTabId, onTabChange, open, onToggle, children, minBodyHeight, className, }: ChatDrawerProps):
|
|
2774
|
+
declare function ChatDrawer({ tabs, activeTabId, onTabChange, open, onToggle, children, minBodyHeight, className, }: ChatDrawerProps): react.JSX.Element;
|
|
2760
2775
|
|
|
2761
2776
|
/**
|
|
2762
2777
|
* InputTag — attach a `/`-style or `@`-style autocomplete picker to *any*
|
|
@@ -2847,7 +2862,7 @@ interface InputTagProps {
|
|
|
2847
2862
|
item: unknown;
|
|
2848
2863
|
}) => void;
|
|
2849
2864
|
}
|
|
2850
|
-
declare function InputTag({ adapter, triggers, maxItems, placement, className, style, onPick, }: InputTagProps):
|
|
2865
|
+
declare function InputTag({ adapter, triggers, maxItems, placement, className, style, onPick, }: InputTagProps): react.JSX.Element | null;
|
|
2851
2866
|
|
|
2852
2867
|
/**
|
|
2853
2868
|
* Adapter for a DOM `<textarea>`. Works whether the consumer manages
|
|
@@ -2945,6 +2960,6 @@ interface MagicWandProps {
|
|
|
2945
2960
|
/** Called after an action runs successfully. */
|
|
2946
2961
|
onAction?: (action: MagicWandAction, selection: MagicWandSelection, replacement: string) => void;
|
|
2947
2962
|
}
|
|
2948
|
-
declare function MagicWand({ value, onValueChange, actions, appearance, autoHide, rows, placeholder, onAction, }: MagicWandProps):
|
|
2963
|
+
declare function MagicWand({ value, onValueChange, actions, appearance, autoHide, rows, placeholder, onAction, }: MagicWandProps): react.JSX.Element;
|
|
2949
2964
|
|
|
2950
|
-
export { Accordion, type AccordionContentProps, type AccordionContextValue, type AccordionItemProps, type AccordionOrientation, AccordionPanel, AccordionPanelContent, type AccordionPanelContentProps, type AccordionPanelProps, AccordionPanelSection, type AccordionPanelSectionProps, AccordionPanelTrigger, type AccordionPanelTriggerProps, type AccordionProps, type AccordionTriggerProps, Action, type ActionColor, type ActionProps, type AffixPosition, Autocomplete, type AutocompleteOption, type AutocompleteProps, Avatar, type AvatarProps, Badge, type BadgeProps, Brand, type BrandProps, Breadcrumbs, type BreadcrumbsItemProps, type BreadcrumbsProps, Calendar, type CalendarMode, type CalendarProps, Callout, type CalloutProps, Card, type CardBodyProps, type CardFooterProps, type CardHeaderProps, type CardProps, Carousel, type CarouselContextValue, type CarouselControlsProps, type CarouselPanelsProps, type CarouselProps, type CarouselSlideProps, type CarouselStepsProps, type CarouselVariant, Chart, type ChartAreaProps, type ChartBarData, type ChartBarProps, type ChartCommonProps, type ChartDonutData, type ChartDonutProps, type ChartHorizontalBarProps, type ChartLineProps, type ChartPieData, type ChartPieProps, type ChartSeries, type ChartSparklineProps, type ChartStackedBarProps, ChatDrawer, type ChatDrawerProps, type ChatDrawerTab, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, type Color, ColorPicker, type ColorPickerProps, Command, type CommandContextValue, type CommandEmptyProps, type CommandGroupProps, type CommandInputProps, type CommandItemProps, type CommandListProps, type CommandProps, Composer, type ComposerProps, ContentRenderer, type ContentRendererProps, ContextMenu, type ContextMenuContentProps, type ContextMenuContextValue, type ContextMenuItemProps, type ContextMenuProps, type ContextMenuSeparatorProps, type ContextMenuTriggerProps, type ControlledAdapterHandle, DatePicker, type DatePickerProps, type DateRange, type DropPosition, Dropdown, type DropdownContextValue, type DropdownItemProps, type DropdownItemsProps, type DropdownProps, type DropdownSeparatorProps, type DropdownTriggerProps, EMOJI_CATEGORY_ORDER, EMOJI_DATA, EMOJI_ENTRIES, Editor, type EditorAction, type EditorContentProps, type EditorContextValue, type EditorProps, type EditorToolbarProps, Emoji, type EmojiCategory, type EmojiCategoryKey, type EmojiEntry, type EmojiFlatEntry, type EmojiProps, EmojiSelect, type EmojiSelectProps, FauxClient, type FauxClientProps, Field, type FieldProps, FileUpload, type FileUploadContextValue, type FileUploadDropzoneProps, type FileUploadListProps, type FileUploadProps, Heading, type HeadingProps, Icon, type IconProps, type IconSet, Input, type InputAffixProps, type InputBaseProps, type InputOption, type InputOptionGroup, type InputProps, InputTag, type InputTagAdapter, type InputTagAdapterState, type InputTagProps, type InputTagTrigger, type InputTagTriggers, Kanban, type KanbanCardMoveHandler, type KanbanCardProps, type KanbanColumnHandleProps, type KanbanColumnMoveHandler, type KanbanColumnProps, type KanbanContextValue, type KanbanProps, MagicWand, type MagicWandAction, type MagicWandAppearance, type MagicWandProps, type MagicWandSelection, Menu, type MenuContextValue, type MenuGroupProps, type MenuItemProps, type MenuOrientation, type MenuProps, type MenuSubmenuProps, MobileMenu, type MobileMenuBottomBarProps, type MobileMenuContextValue, type MobileMenuFlyoutProps, type MobileMenuItemProps, type MobileMenuSide, type MobileMenuVariant, Modal, type ModalBodyProps, type ModalContextValue, type ModalFooterProps, type ModalHeaderProps, type ModalProps, MoodMeter, type MoodMeterProps, MultiSwitch, type MultiSwitchProps, Navbar, type NavbarBrandProps, type NavbarContextValue, type NavbarItemProps, type NavbarItemsProps, type NavbarProps, type NavbarToggleProps, type NodeRect, OtpInput, type OtpInputProps, Pagination, type PaginationProps, Pillbox, type PillboxProps, type Placement, Popover, type PopoverContentProps, type PopoverContextValue, type PopoverProps, type PopoverTriggerProps, Portal, type PortalProps, Profile, type ProfileProps, Progress, type ProgressProps, type PromptAttachment, type PromptCmd, PromptInput, type PromptInputProps, type PromptMention, RadioGroup, type RadioGroupProps, ReasonTag, type ReasonTagProps, type ReasonTagSource, type ReasonTagTheme, type RenderExtension, type RenderExtensionProps, SKIN_TONES, type SectionRenderState, type SectionRenderable, Select, type SelectProps, Separator, type SeparatorProps, Sidebar, type SidebarCollapseMode, type SidebarContextValue, type SidebarGroupProps, type SidebarItemProps, type SidebarProps, type SidebarSubmenuProps, type SidebarToggleProps, type Size, Skeleton, type SkeletonProps, type SkinTone, Slider, type SliderProps, StickyNote, type StickyNoteColor, type StickyNoteProps, Switch, type SwitchProps, Table, type TableBodyProps, type TableCellProps, type TableColumnProps, type TableHeadProps, type TablePaginationProps, type TableProps, type TableRowProps, type TableRowTrayProps, type TableSearchProps, type TableTrayProps, Tabs, type TabsContextValue, type TabsListProps, type TabsPanelProps, type TabsPanelsProps, type TabsProps, type TabsTabProps, type TabsVariant, Text, type TextProps, Textarea, type TextareaProps, TimeGrid, type TimeGridProps, type TimeGridTone, TimePicker, type TimePickerProps, Timeline, type TimelineBlockProps, type TimelineEvent, type TimelineItemProps, type TimelineOrientation, type TimelineProps, type TimelineVariant, Toast, type ToastContextValue, type ToastData, type ToastPosition, type ToastProviderProps, type ToastVariant, Tooltip, type TooltipProps, TreeNav, type TreeNavContextValue, type TreeNavProps, type TreeNodeData, type TreeNodeProps, type Variant, applyTone, cn, configureIcons, contentEditableAdapter, controlledAdapter, find, hasSkinTones, inputAdapter, registerExtension, registerExtensions, registerIconSet, registerIcons, resolve, sanitizeHref, sanitizeHtml, search, skinTones, textareaAdapter, useAccordion, useAccordionPanel, useAccordionSection, useAnimation, useCarousel, useCommand, useContextMenu, useControllableState, useDropdown, useEditor, useEscapeKey, useFileUpload, useFloatingPosition, useFocusTrap, useId, useKanban, useMenu, useMobileMenu, useModal, useNavbar, useNodeRegistry, useOutsideClick, usePanZoom, usePopover, useSidebar, useTabs, useToast, useTreeNav };
|
|
2965
|
+
export { Accordion, type AccordionContentProps, type AccordionContextValue, type AccordionItemProps, type AccordionOrientation, AccordionPanel, AccordionPanelContent, type AccordionPanelContentProps, type AccordionPanelProps, AccordionPanelSection, type AccordionPanelSectionProps, AccordionPanelTrigger, type AccordionPanelTriggerProps, type AccordionProps, type AccordionTriggerProps, Action, type ActionColor, type ActionProps, type AffixPosition, Autocomplete, type AutocompleteOption, type AutocompleteProps, Avatar, type AvatarProps, Badge, type BadgeProps, Brand, type BrandProps, Breadcrumbs, type BreadcrumbsItemProps, type BreadcrumbsProps, Button, type ButtonColor, type ButtonProps, Calendar, type CalendarMode, type CalendarProps, Callout, type CalloutProps, Card, type CardBodyProps, type CardFooterProps, type CardHeaderProps, type CardProps, Carousel, type CarouselContextValue, type CarouselControlsProps, type CarouselPanelsProps, type CarouselProps, type CarouselSlideProps, type CarouselStepsProps, type CarouselVariant, Chart, type ChartAreaProps, type ChartBarData, type ChartBarProps, type ChartCommonProps, type ChartDonutData, type ChartDonutProps, type ChartHorizontalBarProps, type ChartLineProps, type ChartPieData, type ChartPieProps, type ChartSeries, type ChartSparklineProps, type ChartStackedBarProps, ChatDrawer, type ChatDrawerProps, type ChatDrawerTab, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, type Color, ColorPicker, type ColorPickerProps, Command, type CommandContextValue, type CommandEmptyProps, type CommandGroupProps, type CommandInputProps, type CommandItemProps, type CommandListProps, type CommandProps, Composer, type ComposerProps, ContentRenderer, type ContentRendererProps, ContextMenu, type ContextMenuContentProps, type ContextMenuContextValue, type ContextMenuItemProps, type ContextMenuProps, type ContextMenuSeparatorProps, type ContextMenuTriggerProps, type ControlledAdapterHandle, DatePicker, type DatePickerProps, type DateRange, type DropPosition, Dropdown, type DropdownContextValue, type DropdownItemProps, type DropdownItemsProps, type DropdownProps, type DropdownSeparatorProps, type DropdownTriggerProps, EMOJI_CATEGORY_ORDER, EMOJI_DATA, EMOJI_ENTRIES, Editor, type EditorAction, type EditorContentProps, type EditorContextValue, type EditorProps, type EditorToolbarProps, Emoji, type EmojiCategory, type EmojiCategoryKey, type EmojiEntry, type EmojiFlatEntry, type EmojiProps, EmojiSelect, type EmojiSelectProps, FauxClient, type FauxClientProps, Field, type FieldProps, FileUpload, type FileUploadContextValue, type FileUploadDropzoneProps, type FileUploadListProps, type FileUploadProps, Heading, type HeadingProps, Icon, type IconProps, type IconSet, Input, type InputAffixProps, type InputBaseProps, type InputOption, type InputOptionGroup, type InputProps, InputTag, type InputTagAdapter, type InputTagAdapterState, type InputTagProps, type InputTagTrigger, type InputTagTriggers, Kanban, type KanbanCardMoveHandler, type KanbanCardProps, type KanbanColumnHandleProps, type KanbanColumnMoveHandler, type KanbanColumnProps, type KanbanContextValue, type KanbanProps, MagicWand, type MagicWandAction, type MagicWandAppearance, type MagicWandProps, type MagicWandSelection, Menu, type MenuContextValue, type MenuGroupProps, type MenuItemProps, type MenuOrientation, type MenuProps, type MenuSubmenuProps, MobileMenu, type MobileMenuBottomBarProps, type MobileMenuContextValue, type MobileMenuFlyoutProps, type MobileMenuItemProps, type MobileMenuSide, type MobileMenuVariant, Modal, type ModalBodyProps, type ModalContextValue, type ModalFooterProps, type ModalHeaderProps, type ModalProps, MoodMeter, type MoodMeterProps, MultiSwitch, type MultiSwitchProps, Navbar, type NavbarBrandProps, type NavbarContextValue, type NavbarItemProps, type NavbarItemsProps, type NavbarProps, type NavbarToggleProps, type NodeRect, OtpInput, type OtpInputProps, Pagination, type PaginationProps, Pillbox, type PillboxProps, type Placement, Popover, type PopoverContentProps, type PopoverContextValue, type PopoverProps, type PopoverTriggerProps, Portal, type PortalProps, Profile, type ProfileProps, Progress, type ProgressProps, type PromptAttachment, type PromptCmd, PromptInput, type PromptInputProps, type PromptMention, RadioGroup, type RadioGroupProps, ReasonTag, type ReasonTagProps, type ReasonTagSource, type ReasonTagTheme, type RenderExtension, type RenderExtensionProps, SKIN_TONES, type SectionRenderState, type SectionRenderable, Select, type SelectProps, Separator, type SeparatorProps, Sidebar, type SidebarCollapseMode, type SidebarContextValue, type SidebarGroupProps, type SidebarItemProps, type SidebarProps, type SidebarSubmenuProps, type SidebarToggleProps, type Size, Skeleton, type SkeletonProps, type SkinTone, Slider, type SliderProps, StickyNote, type StickyNoteColor, type StickyNoteProps, Switch, type SwitchProps, Table, type TableBodyProps, type TableCellProps, type TableColumnProps, type TableHeadProps, type TablePaginationProps, type TableProps, type TableRowProps, type TableRowTrayProps, type TableSearchProps, type TableTrayProps, Tabs, type TabsContextValue, type TabsListProps, type TabsPanelProps, type TabsPanelsProps, type TabsProps, type TabsTabProps, type TabsVariant, Text, type TextProps, Textarea, type TextareaProps, TimeGrid, type TimeGridProps, type TimeGridTone, TimePicker, type TimePickerProps, Timeline, type TimelineBlockProps, type TimelineEvent, type TimelineItemProps, type TimelineOrientation, type TimelineProps, type TimelineVariant, Toast, type ToastContextValue, type ToastData, type ToastPosition, type ToastProviderProps, type ToastVariant, Tooltip, type TooltipProps, TreeNav, type TreeNavContextValue, type TreeNavProps, type TreeNodeData, type TreeNodeProps, type Variant, applyTone, cn, configureIcons, contentEditableAdapter, controlledAdapter, find, hasSkinTones, inputAdapter, registerExtension, registerExtensions, registerIconSet, registerIcons, resolve, sanitizeHref, sanitizeHtml, search, skinTones, textareaAdapter, useAccordion, useAccordionPanel, useAccordionSection, useAnimation, useCarousel, useCommand, useContextMenu, useControllableState, useDropdown, useEditor, useEscapeKey, useFileUpload, useFloatingPosition, useFocusTrap, useId, useKanban, useMenu, useMobileMenu, useModal, useNavbar, useNodeRegistry, useOutsideClick, usePanZoom, usePopover, useSidebar, useTabs, useToast, useTreeNav };
|