@lglab/compose-ui 0.26.0 → 0.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/autocomplete.d.ts +96 -0
- package/dist/autocomplete.js +117 -0
- package/dist/combobox.d.ts +182 -0
- package/dist/combobox.js +252 -0
- package/dist/dialog.js +22 -22
- package/dist/field.js +7 -7
- package/dist/fieldset.js +1 -1
- package/dist/{form-variants-D4ge0qav.js → form-variants-LJ8gIbk0.js} +2 -2
- package/dist/index.d.ts +265 -0
- package/dist/index.js +305 -265
- package/dist/input.js +1 -1
- package/dist/number-field.js +7 -7
- package/dist/select.js +38 -41
- package/dist/textarea.js +1 -1
- package/dist/toolbar.d.ts +56 -0
- package/dist/toolbar.js +69 -0
- package/package.json +17 -5
package/dist/dialog.js
CHANGED
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
import { jsx as t } from "react/jsx-runtime";
|
|
3
3
|
import { Dialog as o } from "@base-ui/react/dialog";
|
|
4
4
|
import { cva as n } from "class-variance-authority";
|
|
5
|
-
import { b as
|
|
5
|
+
import { b as s } from "./button-variants-CbFMPwc8.js";
|
|
6
6
|
import { c as l } from "./utils-B6yFEsav.js";
|
|
7
7
|
const d = (a) => /* @__PURE__ */ t(o.Root, { ...a });
|
|
8
8
|
d.displayName = "DialogRoot";
|
|
9
|
-
const
|
|
9
|
+
const g = ({ className: a, variant: e, size: i, ...r }) => /* @__PURE__ */ t(
|
|
10
10
|
o.Trigger,
|
|
11
11
|
{
|
|
12
|
-
className: l(
|
|
13
|
-
...
|
|
12
|
+
className: l(s({ variant: e, size: i }), a),
|
|
13
|
+
...r
|
|
14
14
|
}
|
|
15
15
|
);
|
|
16
|
-
|
|
17
|
-
const
|
|
18
|
-
|
|
16
|
+
g.displayName = "DialogTrigger";
|
|
17
|
+
const c = (a) => /* @__PURE__ */ t(o.Portal, { ...a });
|
|
18
|
+
c.displayName = "DialogPortal";
|
|
19
19
|
const p = ({ className: a, ...e }) => /* @__PURE__ */ t(
|
|
20
20
|
o.Backdrop,
|
|
21
21
|
{
|
|
@@ -64,24 +64,24 @@ u.displayName = "DialogPopup";
|
|
|
64
64
|
const f = ({ className: a, ...e }) => /* @__PURE__ */ t(
|
|
65
65
|
o.Title,
|
|
66
66
|
{
|
|
67
|
-
className: l("text-lg font-
|
|
67
|
+
className: l("text-lg font-medium leading-none tracking-tight", a),
|
|
68
68
|
...e
|
|
69
69
|
}
|
|
70
70
|
);
|
|
71
71
|
f.displayName = "DialogTitle";
|
|
72
|
-
const
|
|
73
|
-
|
|
74
|
-
const
|
|
72
|
+
const D = ({ className: a, ...e }) => /* @__PURE__ */ t(o.Description, { className: l("text-sm", a), ...e });
|
|
73
|
+
D.displayName = "DialogDescription";
|
|
74
|
+
const y = ({ className: a, variant: e, size: i, ...r }) => /* @__PURE__ */ t(
|
|
75
75
|
o.Close,
|
|
76
76
|
{
|
|
77
|
-
className: l(
|
|
78
|
-
...
|
|
77
|
+
className: l(s({ variant: e ?? "outline", size: i }), a),
|
|
78
|
+
...r
|
|
79
79
|
}
|
|
80
80
|
);
|
|
81
|
-
|
|
82
|
-
const N = ({ className: a, ...e }) => /* @__PURE__ */ t("div", { className: l("flex flex-col
|
|
81
|
+
y.displayName = "DialogClose";
|
|
82
|
+
const N = ({ className: a, ...e }) => /* @__PURE__ */ t("div", { className: l("flex flex-col gap-1 mb-5", a), ...e });
|
|
83
83
|
N.displayName = "DialogHeader";
|
|
84
|
-
const
|
|
84
|
+
const x = ({ className: a, ...e }) => /* @__PURE__ */ t(
|
|
85
85
|
"div",
|
|
86
86
|
{
|
|
87
87
|
className: l(
|
|
@@ -91,16 +91,16 @@ const b = ({ className: a, ...e }) => /* @__PURE__ */ t(
|
|
|
91
91
|
...e
|
|
92
92
|
}
|
|
93
93
|
);
|
|
94
|
-
|
|
94
|
+
x.displayName = "DialogFooter";
|
|
95
95
|
export {
|
|
96
96
|
p as DialogBackdrop,
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
97
|
+
y as DialogClose,
|
|
98
|
+
D as DialogDescription,
|
|
99
|
+
x as DialogFooter,
|
|
100
100
|
N as DialogHeader,
|
|
101
101
|
u as DialogPopup,
|
|
102
|
-
|
|
102
|
+
c as DialogPortal,
|
|
103
103
|
d as DialogRoot,
|
|
104
104
|
f as DialogTitle,
|
|
105
|
-
|
|
105
|
+
g as DialogTrigger
|
|
106
106
|
};
|
package/dist/field.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as s } from "react/jsx-runtime";
|
|
3
3
|
import { Field as i } from "@base-ui/react/field";
|
|
4
|
-
import {
|
|
4
|
+
import { i as a, d as r, e as o, f as d, l as m, a as n } from "./form-variants-LJ8gIbk0.js";
|
|
5
5
|
import { c as t } from "./utils-B6yFEsav.js";
|
|
6
|
-
const c = ({ className: e, ...l }) => /* @__PURE__ */ s(i.Root, { className: t(
|
|
6
|
+
const c = ({ className: e, ...l }) => /* @__PURE__ */ s(i.Root, { className: t(n, e), ...l });
|
|
7
7
|
c.displayName = "FieldRoot";
|
|
8
|
-
const p = ({ className: e, ...l }) => /* @__PURE__ */ s(i.Label, { className: t(
|
|
8
|
+
const p = ({ className: e, ...l }) => /* @__PURE__ */ s(i.Label, { className: t(m, e), ...l });
|
|
9
9
|
p.displayName = "FieldLabel";
|
|
10
|
-
const y = ({ className: e, ...l }) => /* @__PURE__ */ s(i.Control, { className: t(
|
|
10
|
+
const y = ({ className: e, ...l }) => /* @__PURE__ */ s(i.Control, { className: t(a, e), ...l });
|
|
11
11
|
y.displayName = "FieldControl";
|
|
12
|
-
const F = ({ className: e, ...l }) => /* @__PURE__ */ s(i.Description, { className: t(
|
|
12
|
+
const F = ({ className: e, ...l }) => /* @__PURE__ */ s(i.Description, { className: t(r, e), ...l });
|
|
13
13
|
F.displayName = "FieldDescription";
|
|
14
|
-
const N = ({ className: e, ...l }) => /* @__PURE__ */ s(i.Error, { className: t(
|
|
14
|
+
const N = ({ className: e, ...l }) => /* @__PURE__ */ s(i.Error, { className: t(o, e), ...l });
|
|
15
15
|
N.displayName = "FieldError";
|
|
16
|
-
const u = ({ className: e, ...l }) => /* @__PURE__ */ s(i.Item, { className: t(
|
|
16
|
+
const u = ({ className: e, ...l }) => /* @__PURE__ */ s(i.Item, { className: t(d, e), ...l });
|
|
17
17
|
u.displayName = "FieldItem";
|
|
18
18
|
const f = (e) => /* @__PURE__ */ s(i.Validity, { ...e });
|
|
19
19
|
f.displayName = "FieldValidity";
|
package/dist/fieldset.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as s } from "react/jsx-runtime";
|
|
3
3
|
import { Fieldset as o } from "@base-ui/react/fieldset";
|
|
4
|
-
import { l as r } from "./form-variants-
|
|
4
|
+
import { l as r } from "./form-variants-LJ8gIbk0.js";
|
|
5
5
|
import { c as l } from "./utils-B6yFEsav.js";
|
|
6
6
|
const a = ({ className: e, ...t }) => /* @__PURE__ */ s(
|
|
7
7
|
o.Root,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
const e = "flex w-full rounded-md text-sm h-9 px-3 bg-transparent text-foreground border border-input transition-colors duration-200 placeholder:text-muted-foreground aria-invalid:border-destructive aria-invalid:ring-destructive/20", t = "flex items-center gap-2 text-sm font-medium text-foreground data-disabled:opacity-50", r = "text-sm text-muted-foreground", s = "text-sm text-destructive", o = "flex flex-col gap-1.5", a = "flex items-center gap-2";
|
|
2
2
|
export {
|
|
3
|
-
a,
|
|
3
|
+
o as a,
|
|
4
4
|
r as d,
|
|
5
5
|
s as e,
|
|
6
|
-
|
|
6
|
+
a as f,
|
|
7
7
|
e as i,
|
|
8
8
|
t as l
|
|
9
9
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
import { Accordion } from '@base-ui/react/accordion';
|
|
2
2
|
import { AlertDialog } from '@base-ui/react/alert-dialog';
|
|
3
|
+
import { Autocomplete } from '@base-ui/react/autocomplete';
|
|
4
|
+
import { AutocompleteRootProps } from '@base-ui/react/autocomplete';
|
|
3
5
|
import { Avatar } from '@base-ui/react/avatar';
|
|
4
6
|
import { Button as Button_2 } from '@base-ui/react/button';
|
|
5
7
|
import { Checkbox } from '@base-ui/react/checkbox';
|
|
6
8
|
import { CheckboxGroup } from '@base-ui/react/checkbox-group';
|
|
7
9
|
import { ClassProp } from 'class-variance-authority/types';
|
|
8
10
|
import { Collapsible } from '@base-ui/react/collapsible';
|
|
11
|
+
import { Combobox } from '@base-ui/react/combobox';
|
|
12
|
+
import { ComboboxChipsProps as ComboboxChipsProps_2 } from '@base-ui/react';
|
|
13
|
+
import { ComboboxRootProps as ComboboxRootProps_2 } from '@base-ui/react/combobox';
|
|
9
14
|
import { ContextMenu } from '@base-ui/react/context-menu';
|
|
10
15
|
import { Dialog } from '@base-ui/react/dialog';
|
|
11
16
|
import { Field } from '@base-ui/react/field';
|
|
@@ -34,6 +39,7 @@ import { Tabs } from '@base-ui/react/tabs';
|
|
|
34
39
|
import { Toast } from '@base-ui/react/toast';
|
|
35
40
|
import { Toggle as Toggle_2 } from '@base-ui/react/toggle';
|
|
36
41
|
import { ToggleGroup } from '@base-ui/react/toggle-group';
|
|
42
|
+
import { Toolbar } from '@base-ui/react/toolbar';
|
|
37
43
|
import { Tooltip } from '@base-ui/react/tooltip';
|
|
38
44
|
import { VariantProps } from 'class-variance-authority';
|
|
39
45
|
|
|
@@ -150,6 +156,59 @@ export declare const AlertDialogViewport: {
|
|
|
150
156
|
|
|
151
157
|
export declare type AlertDialogViewportProps = React_2.ComponentProps<typeof AlertDialog.Viewport>;
|
|
152
158
|
|
|
159
|
+
export declare const AutocompleteEmpty: {
|
|
160
|
+
({ className, ...props }: AutocompleteEmptyProps): JSX.Element;
|
|
161
|
+
displayName: string;
|
|
162
|
+
};
|
|
163
|
+
|
|
164
|
+
export declare type AutocompleteEmptyProps = React_2.ComponentProps<typeof Autocomplete.Empty>;
|
|
165
|
+
|
|
166
|
+
export declare const AutocompleteInput: {
|
|
167
|
+
({ className, ...props }: AutocompleteInputProps): JSX.Element;
|
|
168
|
+
displayName: string;
|
|
169
|
+
};
|
|
170
|
+
|
|
171
|
+
export declare type AutocompleteInputProps = React_2.ComponentProps<typeof Autocomplete.Input>;
|
|
172
|
+
|
|
173
|
+
export declare const AutocompleteItem: {
|
|
174
|
+
({ className, ...props }: AutocompleteItemProps): JSX.Element;
|
|
175
|
+
displayName: string;
|
|
176
|
+
};
|
|
177
|
+
|
|
178
|
+
export declare type AutocompleteItemProps = React_2.ComponentProps<typeof Autocomplete.Item>;
|
|
179
|
+
|
|
180
|
+
export declare const AutocompleteList: {
|
|
181
|
+
({ className, ...props }: AutocompleteListProps): JSX.Element;
|
|
182
|
+
displayName: string;
|
|
183
|
+
};
|
|
184
|
+
|
|
185
|
+
export declare type AutocompleteListProps = React_2.ComponentProps<typeof Autocomplete.List>;
|
|
186
|
+
|
|
187
|
+
export declare const AutocompletePopup: {
|
|
188
|
+
({ className, ...props }: AutocompletePopupProps): JSX.Element;
|
|
189
|
+
displayName: string;
|
|
190
|
+
};
|
|
191
|
+
|
|
192
|
+
export declare type AutocompletePopupProps = React_2.ComponentProps<typeof Autocomplete.Popup>;
|
|
193
|
+
|
|
194
|
+
export declare const AutocompletePortal: {
|
|
195
|
+
(props: AutocompletePortalProps): JSX.Element;
|
|
196
|
+
displayName: string;
|
|
197
|
+
};
|
|
198
|
+
|
|
199
|
+
export declare type AutocompletePortalProps = React_2.ComponentProps<typeof Autocomplete.Portal>;
|
|
200
|
+
|
|
201
|
+
export declare const AutocompletePositioner: {
|
|
202
|
+
({ className, ...props }: AutocompletePositionerProps): JSX.Element;
|
|
203
|
+
displayName: string;
|
|
204
|
+
};
|
|
205
|
+
|
|
206
|
+
export declare type AutocompletePositionerProps = React_2.ComponentProps<typeof Autocomplete.Positioner>;
|
|
207
|
+
|
|
208
|
+
export declare const AutocompleteRoot: typeof Autocomplete.Root;
|
|
209
|
+
|
|
210
|
+
export { AutocompleteRootProps }
|
|
211
|
+
|
|
153
212
|
export declare const AvatarFallback: {
|
|
154
213
|
({ className, ...props }: AvatarFallbackProps): JSX.Element;
|
|
155
214
|
displayName: string;
|
|
@@ -339,6 +398,165 @@ export declare const CollapsibleTrigger: {
|
|
|
339
398
|
|
|
340
399
|
export declare type CollapsibleTriggerProps = React_2.ComponentProps<typeof Collapsible.Trigger>;
|
|
341
400
|
|
|
401
|
+
export declare const ComboboxArrow: {
|
|
402
|
+
({ className, ...props }: ComboboxArrowProps): JSX.Element;
|
|
403
|
+
displayName: string;
|
|
404
|
+
};
|
|
405
|
+
|
|
406
|
+
export declare type ComboboxArrowProps = React_2.ComponentProps<typeof Combobox.Arrow>;
|
|
407
|
+
|
|
408
|
+
export declare const ComboboxBackdrop: {
|
|
409
|
+
({ className, ...props }: ComboboxBackdropProps): JSX.Element;
|
|
410
|
+
displayName: string;
|
|
411
|
+
};
|
|
412
|
+
|
|
413
|
+
export declare type ComboboxBackdropProps = React_2.ComponentProps<typeof Combobox.Backdrop>;
|
|
414
|
+
|
|
415
|
+
export declare const ComboboxChip: {
|
|
416
|
+
({ className, ...props }: ComboboxChipProps): JSX.Element;
|
|
417
|
+
displayName: string;
|
|
418
|
+
};
|
|
419
|
+
|
|
420
|
+
export declare type ComboboxChipProps = React_2.ComponentProps<typeof Combobox.Chip>;
|
|
421
|
+
|
|
422
|
+
export declare const ComboboxChipRemove: {
|
|
423
|
+
({ className, ...props }: ComboboxChipRemoveProps): JSX.Element;
|
|
424
|
+
displayName: string;
|
|
425
|
+
};
|
|
426
|
+
|
|
427
|
+
export declare type ComboboxChipRemoveProps = React_2.ComponentProps<typeof Combobox.ChipRemove>;
|
|
428
|
+
|
|
429
|
+
export declare const ComboboxChips: React_2.ForwardRefExoticComponent<Omit<Omit<ComboboxChipsProps_2, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
430
|
+
|
|
431
|
+
export declare type ComboboxChipsProps = React_2.ComponentProps<typeof Combobox.Chips>;
|
|
432
|
+
|
|
433
|
+
export declare const ComboboxClear: {
|
|
434
|
+
({ className, ...props }: ComboboxClearProps): JSX.Element;
|
|
435
|
+
displayName: string;
|
|
436
|
+
};
|
|
437
|
+
|
|
438
|
+
export declare type ComboboxClearProps = React_2.ComponentProps<typeof Combobox.Clear>;
|
|
439
|
+
|
|
440
|
+
export declare const ComboboxControl: {
|
|
441
|
+
({ className, ...props }: ComboboxControlProps): JSX.Element;
|
|
442
|
+
displayName: string;
|
|
443
|
+
};
|
|
444
|
+
|
|
445
|
+
export declare type ComboboxControlProps = React_2.ComponentProps<'div'>;
|
|
446
|
+
|
|
447
|
+
export declare const ComboboxEmpty: {
|
|
448
|
+
({ className, ...props }: ComboboxEmptyProps): JSX.Element;
|
|
449
|
+
displayName: string;
|
|
450
|
+
};
|
|
451
|
+
|
|
452
|
+
export declare type ComboboxEmptyProps = React_2.ComponentProps<typeof Combobox.Empty>;
|
|
453
|
+
|
|
454
|
+
export declare const ComboboxGroup: {
|
|
455
|
+
({ className, ...props }: ComboboxGroupProps): JSX.Element;
|
|
456
|
+
displayName: string;
|
|
457
|
+
};
|
|
458
|
+
|
|
459
|
+
export declare const ComboboxGroupLabel: {
|
|
460
|
+
({ className, ...props }: ComboboxGroupLabelProps): JSX.Element;
|
|
461
|
+
displayName: string;
|
|
462
|
+
};
|
|
463
|
+
|
|
464
|
+
export declare type ComboboxGroupLabelProps = React_2.ComponentProps<typeof Combobox.GroupLabel>;
|
|
465
|
+
|
|
466
|
+
export declare type ComboboxGroupProps = React_2.ComponentProps<typeof Combobox.Group>;
|
|
467
|
+
|
|
468
|
+
export declare const ComboboxIcon: {
|
|
469
|
+
({ className, ...props }: ComboboxIconProps): JSX.Element;
|
|
470
|
+
displayName: string;
|
|
471
|
+
};
|
|
472
|
+
|
|
473
|
+
export declare type ComboboxIconProps = React_2.ComponentProps<typeof Combobox.Icon>;
|
|
474
|
+
|
|
475
|
+
export declare const ComboboxInput: {
|
|
476
|
+
({ className, ...props }: ComboboxInputProps): JSX.Element;
|
|
477
|
+
displayName: string;
|
|
478
|
+
};
|
|
479
|
+
|
|
480
|
+
export declare type ComboboxInputProps = React_2.ComponentProps<typeof Combobox.Input>;
|
|
481
|
+
|
|
482
|
+
export declare const ComboboxItem: {
|
|
483
|
+
({ className, ...props }: ComboboxItemProps): JSX.Element;
|
|
484
|
+
displayName: string;
|
|
485
|
+
};
|
|
486
|
+
|
|
487
|
+
export declare const ComboboxItemIndicator: {
|
|
488
|
+
({ className, ...props }: ComboboxItemIndicatorProps): JSX.Element;
|
|
489
|
+
displayName: string;
|
|
490
|
+
};
|
|
491
|
+
|
|
492
|
+
export declare type ComboboxItemIndicatorProps = React_2.ComponentProps<typeof Combobox.ItemIndicator>;
|
|
493
|
+
|
|
494
|
+
export declare type ComboboxItemProps = React_2.ComponentProps<typeof Combobox.Item>;
|
|
495
|
+
|
|
496
|
+
export declare const ComboboxItemText: {
|
|
497
|
+
({ className, ...props }: ComboboxItemTextProps): JSX.Element;
|
|
498
|
+
displayName: string;
|
|
499
|
+
};
|
|
500
|
+
|
|
501
|
+
export declare type ComboboxItemTextProps = React_2.ComponentProps<'span'>;
|
|
502
|
+
|
|
503
|
+
export declare const ComboboxList: {
|
|
504
|
+
({ className, ...props }: ComboboxListProps): JSX.Element;
|
|
505
|
+
displayName: string;
|
|
506
|
+
};
|
|
507
|
+
|
|
508
|
+
export declare type ComboboxListProps = React_2.ComponentProps<typeof Combobox.List>;
|
|
509
|
+
|
|
510
|
+
export declare const ComboboxPopup: {
|
|
511
|
+
({ className, ...props }: ComboboxPopupProps): JSX.Element;
|
|
512
|
+
displayName: string;
|
|
513
|
+
};
|
|
514
|
+
|
|
515
|
+
export declare type ComboboxPopupProps = React_2.ComponentProps<typeof Combobox.Popup>;
|
|
516
|
+
|
|
517
|
+
export declare const ComboboxPortal: {
|
|
518
|
+
(props: ComboboxPortalProps): JSX.Element;
|
|
519
|
+
displayName: string;
|
|
520
|
+
};
|
|
521
|
+
|
|
522
|
+
export declare type ComboboxPortalProps = React_2.ComponentProps<typeof Combobox.Portal>;
|
|
523
|
+
|
|
524
|
+
export declare const ComboboxPositioner: {
|
|
525
|
+
({ className, ...props }: ComboboxPositionerProps): JSX.Element;
|
|
526
|
+
displayName: string;
|
|
527
|
+
};
|
|
528
|
+
|
|
529
|
+
export declare type ComboboxPositionerProps = React_2.ComponentProps<typeof Combobox.Positioner>;
|
|
530
|
+
|
|
531
|
+
export declare function ComboboxRoot<Value, Multiple extends boolean | undefined = false>(props: ComboboxRootProps_2<Value, Multiple>): JSX.Element;
|
|
532
|
+
|
|
533
|
+
export declare namespace ComboboxRoot {
|
|
534
|
+
var displayName: string;
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
export declare type ComboboxRootProps<Value, Multiple extends boolean | undefined = false> = ComboboxRootProps_2<Value, Multiple>;
|
|
538
|
+
|
|
539
|
+
export declare const ComboboxSeparator: {
|
|
540
|
+
({ className, ...props }: ComboboxSeparatorProps): JSX.Element;
|
|
541
|
+
displayName: string;
|
|
542
|
+
};
|
|
543
|
+
|
|
544
|
+
export declare type ComboboxSeparatorProps = React_2.ComponentProps<typeof Combobox.Separator>;
|
|
545
|
+
|
|
546
|
+
export declare const ComboboxTrigger: {
|
|
547
|
+
({ className, ...props }: ComboboxTriggerProps): JSX.Element;
|
|
548
|
+
displayName: string;
|
|
549
|
+
};
|
|
550
|
+
|
|
551
|
+
export declare type ComboboxTriggerProps = React_2.ComponentProps<typeof Combobox.Trigger>;
|
|
552
|
+
|
|
553
|
+
export declare const ComboboxValue: {
|
|
554
|
+
(props: ComboboxValueProps): JSX.Element;
|
|
555
|
+
displayName: string;
|
|
556
|
+
};
|
|
557
|
+
|
|
558
|
+
export declare type ComboboxValueProps = React_2.ComponentProps<typeof Combobox.Value>;
|
|
559
|
+
|
|
342
560
|
export declare const ContextMenuArrow: {
|
|
343
561
|
({ className, ...props }: ContextMenuArrowProps): JSX.Element;
|
|
344
562
|
displayName: string;
|
|
@@ -1752,6 +1970,53 @@ export declare type ToggleProps = React_2.ComponentProps<typeof Toggle_2> & {
|
|
|
1752
1970
|
size?: ControlSize;
|
|
1753
1971
|
};
|
|
1754
1972
|
|
|
1973
|
+
export declare const ToolbarButton: {
|
|
1974
|
+
({ className, variant, size, ...props }: ToolbarButtonProps): JSX.Element;
|
|
1975
|
+
displayName: string;
|
|
1976
|
+
};
|
|
1977
|
+
|
|
1978
|
+
export declare type ToolbarButtonProps = React_2.ComponentProps<typeof Toolbar.Button> & {
|
|
1979
|
+
/** Visual style of the toolbar button */
|
|
1980
|
+
variant?: ControlVariant;
|
|
1981
|
+
/** Size of the toolbar button */
|
|
1982
|
+
size?: ControlSize;
|
|
1983
|
+
};
|
|
1984
|
+
|
|
1985
|
+
export declare const ToolbarGroup: {
|
|
1986
|
+
({ className, ...props }: ToolbarGroupProps): JSX.Element;
|
|
1987
|
+
displayName: string;
|
|
1988
|
+
};
|
|
1989
|
+
|
|
1990
|
+
export declare type ToolbarGroupProps = React_2.ComponentProps<typeof Toolbar.Group>;
|
|
1991
|
+
|
|
1992
|
+
export declare const ToolbarInput: {
|
|
1993
|
+
({ className, ...props }: ToolbarInputProps): JSX.Element;
|
|
1994
|
+
displayName: string;
|
|
1995
|
+
};
|
|
1996
|
+
|
|
1997
|
+
export declare type ToolbarInputProps = React_2.ComponentProps<typeof Toolbar.Input>;
|
|
1998
|
+
|
|
1999
|
+
export declare const ToolbarLink: {
|
|
2000
|
+
({ className, ...props }: ToolbarLinkProps): JSX.Element;
|
|
2001
|
+
displayName: string;
|
|
2002
|
+
};
|
|
2003
|
+
|
|
2004
|
+
export declare type ToolbarLinkProps = React_2.ComponentProps<typeof Toolbar.Link>;
|
|
2005
|
+
|
|
2006
|
+
export declare const ToolbarRoot: {
|
|
2007
|
+
({ className, ...props }: ToolbarRootProps): JSX.Element;
|
|
2008
|
+
displayName: string;
|
|
2009
|
+
};
|
|
2010
|
+
|
|
2011
|
+
export declare type ToolbarRootProps = React_2.ComponentProps<typeof Toolbar.Root>;
|
|
2012
|
+
|
|
2013
|
+
export declare const ToolbarSeparator: {
|
|
2014
|
+
({ className, ...props }: ToolbarSeparatorProps): JSX.Element;
|
|
2015
|
+
displayName: string;
|
|
2016
|
+
};
|
|
2017
|
+
|
|
2018
|
+
export declare type ToolbarSeparatorProps = React_2.ComponentProps<typeof Toolbar.Separator>;
|
|
2019
|
+
|
|
1755
2020
|
export declare const TooltipArrow: {
|
|
1756
2021
|
({ className, variant, ...props }: TooltipArrowProps): JSX.Element;
|
|
1757
2022
|
displayName: string;
|