raft-ui 0.0.4 → 0.0.6
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/CHANGELOG.md +11 -0
- package/README.md +5 -1
- package/dist/button-CJqMhTPQ.mjs +621 -0
- package/dist/index-CpGciYPW.d.mts +267 -0
- package/dist/index.d.mts +90 -254
- package/dist/index.mjs +121 -628
- package/dist/wip.d.mts +133 -15
- package/dist/wip.mjs +289 -16
- package/package.json +5 -9
- package/src/components/alert-dialog/alert-dialog.tsx +215 -0
- package/src/components/alert-dialog/index.ts +30 -0
- package/src/components/avatar/avatar.tsx +3 -3
- package/src/components/avatar/index.ts +2 -2
- package/src/components/badge/badge.tsx +2 -2
- package/src/components/badge/index.ts +2 -2
- package/src/components/banner/banner.tsx +2 -2
- package/src/components/banner/index.ts +2 -2
- package/src/components/bottom-sheet/bottom-sheet.tsx +3 -3
- package/src/components/bottom-sheet/index.ts +2 -2
- package/src/components/button/button.tsx +7 -5
- package/src/components/button/index.ts +2 -2
- package/src/components/checkbox/checkbox-indicator.tsx +2 -2
- package/src/components/checkbox/checkbox.tsx +4 -4
- package/src/components/checkbox/index.ts +2 -2
- package/src/components/combobox/combobox.tsx +4 -4
- package/src/components/combobox/index.ts +1 -1
- package/src/components/context-menu/context-menu.tsx +4 -4
- package/src/components/context-menu/index.ts +2 -2
- package/src/components/conversation-preview-card/conversation-preview-card.tsx +2 -2
- package/src/components/conversation-preview-card/index.ts +2 -2
- package/src/components/description-list/description-list.tsx +2 -2
- package/src/components/description-list/index.ts +2 -2
- package/src/components/dialog/dialog.tsx +152 -0
- package/src/components/dialog/index.ts +26 -0
- package/src/components/dropdown-menu/dropdown-menu.tsx +7 -7
- package/src/components/dropdown-menu/index.ts +2 -2
- package/src/components/empty-state/empty-state.tsx +2 -2
- package/src/components/empty-state/index.ts +2 -2
- package/src/components/field/field.tsx +4 -4
- package/src/components/field/index.ts +2 -2
- package/src/components/inline-code/index.ts +2 -2
- package/src/components/inline-code/inline-code.tsx +9 -7
- package/src/components/input/index.ts +2 -2
- package/src/components/input/input.tsx +4 -4
- package/src/components/input-group/index.ts +2 -2
- package/src/components/input-group/input-group.tsx +5 -5
- package/src/components/kbd/index.ts +2 -2
- package/src/components/kbd/kbd.tsx +2 -2
- package/src/components/label/index.ts +2 -7
- package/src/components/label/label.tsx +2 -2
- package/src/components/lightbox/index.ts +2 -2
- package/src/components/lightbox/lightbox.tsx +3 -3
- package/src/components/list-item/index.ts +2 -2
- package/src/components/list-item/list-item.tsx +2 -2
- package/src/components/media-list-item/index.ts +2 -2
- package/src/components/media-list-item/media-list-item.tsx +4 -4
- package/src/components/notification-center/index.ts +2 -2
- package/src/components/notification-center/notification-center.tsx +5 -5
- package/src/components/panel-header/index.ts +2 -2
- package/src/components/panel-header/panel-header.tsx +2 -2
- package/src/components/popover/index.ts +2 -2
- package/src/components/popover/popover.tsx +3 -3
- package/src/components/preview-shell/index.ts +2 -2
- package/src/components/preview-shell/preview-shell.tsx +2 -2
- package/src/components/quoted-message-card/index.ts +2 -2
- package/src/components/quoted-message-card/quoted-message-card.tsx +3 -3
- package/src/components/radio-group/index.ts +2 -6
- package/src/components/radio-group/radio-group.tsx +4 -4
- package/src/components/section-header/index.ts +2 -2
- package/src/components/section-header/section-header.tsx +2 -2
- package/src/components/section-label/index.ts +2 -2
- package/src/components/section-label/section-label.tsx +2 -2
- package/src/components/segmented-control/index.ts +2 -2
- package/src/components/segmented-control/segmented-control.tsx +3 -3
- package/src/components/select/index.ts +2 -2
- package/src/components/select/select.tsx +4 -4
- package/src/components/separator/index.ts +2 -0
- package/src/components/separator/separator.tsx +40 -0
- package/src/components/spinner/index.ts +2 -2
- package/src/components/spinner/spinner.tsx +3 -3
- package/src/components/status/index.ts +2 -2
- package/src/components/status/status.tsx +2 -2
- package/src/components/tabs/index.ts +2 -2
- package/src/components/tabs/tabs.tsx +43 -9
- package/src/components/text/index.ts +2 -2
- package/src/components/text/text.tsx +2 -1
- package/src/components/textarea/index.ts +2 -2
- package/src/components/textarea/textarea.tsx +3 -3
- package/src/components/toggle-group/index.ts +2 -7
- package/src/components/toggle-group/toggle-group.tsx +3 -3
- package/src/components/tooltip/index.ts +2 -8
- package/src/components/tooltip/tooltip.tsx +42 -16
- package/src/index.ts +60 -57
- package/src/legacy/AvatarListRow.tsx +1 -1
- package/src/legacy/Checkbox.tsx +1 -1
- package/src/legacy/ConversationPreviewCard.tsx +1 -1
- package/src/legacy/DismissBackdrop.tsx +1 -1
- package/src/legacy/ExperimentalBadge.tsx +1 -1
- package/src/legacy/NotificationCenter.tsx +2 -2
- package/src/legacy/PanelHeader.tsx +1 -1
- package/src/legacy/QuotedMessageCard.tsx +1 -1
- package/src/legacy/ReorderablePanelTabs.tsx +6 -1
- package/src/legacy/SectionHeader.tsx +1 -1
- package/src/legacy/Spinner.tsx +1 -1
- package/src/legacy/SurfaceListItem.tsx +1 -1
- package/src/legacy/selection-popover.tsx +2 -2
- package/src/legacy/server-switcher-menu.tsx +2 -2
- package/src/lib/theme/theme-provider.tsx +1 -1
- package/src/lib/theme/use-theme.ts +1 -1
- package/src/styles.css +5 -6
- package/src/wip.ts +82 -24
- package/dist/styled-props-B3SNekJg.d.mts +0 -16
- package/dist/use-theme-Y_h1DKll.mjs +0 -34
- package/src/fonts/brutal.css +0 -2
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as VariantProps, i as StyledProps, n as ButtonProps, r as buttonVariants, t as Button } from "./index-CpGciYPW.mjs";
|
|
2
2
|
import { cn } from "./cn.mjs";
|
|
3
|
-
import { Button as Button$1 } from "@base-ui/react/button";
|
|
4
3
|
import { ComponentPropsWithRef, ReactNode } from "react";
|
|
5
4
|
import { useRender } from "@base-ui/react/use-render";
|
|
6
5
|
import { Checkbox as Checkbox$1 } from "@base-ui/react/checkbox";
|
|
@@ -15,257 +14,8 @@ import { Select as Select$1 } from "@base-ui/react/select";
|
|
|
15
14
|
import { Radio } from "@base-ui/react/radio";
|
|
16
15
|
import { RadioGroup as RadioGroup$1 } from "@base-ui/react/radio-group";
|
|
17
16
|
import { Tabs as Tabs$1 } from "@base-ui/react/tabs";
|
|
17
|
+
import { Separator as Separator$1 } from "@base-ui/react/separator";
|
|
18
18
|
|
|
19
|
-
//#region src/components/button/button.d.ts
|
|
20
|
-
declare const buttonVariants: import("tailwind-variants/lite").TVReturnType<{
|
|
21
|
-
theme: {
|
|
22
|
-
brutal: {
|
|
23
|
-
root: string[];
|
|
24
|
-
};
|
|
25
|
-
elegant: {
|
|
26
|
-
root: string[];
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
variant: {
|
|
30
|
-
primary: {
|
|
31
|
-
root: string[];
|
|
32
|
-
};
|
|
33
|
-
default: {
|
|
34
|
-
root: string[];
|
|
35
|
-
};
|
|
36
|
-
information: {
|
|
37
|
-
root: string[];
|
|
38
|
-
};
|
|
39
|
-
muted: {
|
|
40
|
-
root: string[];
|
|
41
|
-
};
|
|
42
|
-
accent: {
|
|
43
|
-
root: string[];
|
|
44
|
-
};
|
|
45
|
-
warning: {
|
|
46
|
-
root: string[];
|
|
47
|
-
};
|
|
48
|
-
outline: {
|
|
49
|
-
root: string[];
|
|
50
|
-
};
|
|
51
|
-
ghost: {
|
|
52
|
-
root: string[];
|
|
53
|
-
};
|
|
54
|
-
link: {
|
|
55
|
-
root: string[];
|
|
56
|
-
};
|
|
57
|
-
"danger-secondary": {
|
|
58
|
-
root: string[];
|
|
59
|
-
};
|
|
60
|
-
danger: {
|
|
61
|
-
root: string[];
|
|
62
|
-
};
|
|
63
|
-
"danger-outline": {
|
|
64
|
-
root: string[];
|
|
65
|
-
};
|
|
66
|
-
};
|
|
67
|
-
size: {
|
|
68
|
-
xs: {
|
|
69
|
-
root: string[];
|
|
70
|
-
};
|
|
71
|
-
sm: {
|
|
72
|
-
root: string[];
|
|
73
|
-
};
|
|
74
|
-
md: {
|
|
75
|
-
root: string[];
|
|
76
|
-
};
|
|
77
|
-
lg: {
|
|
78
|
-
root: string[];
|
|
79
|
-
};
|
|
80
|
-
"icon-xs": {
|
|
81
|
-
root: string[];
|
|
82
|
-
};
|
|
83
|
-
"icon-sm": {
|
|
84
|
-
root: string[];
|
|
85
|
-
};
|
|
86
|
-
"icon-md": {
|
|
87
|
-
root: string[];
|
|
88
|
-
};
|
|
89
|
-
"icon-lg": {
|
|
90
|
-
root: string[];
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
|
-
}, {
|
|
94
|
-
root: string[];
|
|
95
|
-
content: string;
|
|
96
|
-
loadingIndicator: string;
|
|
97
|
-
}, undefined, {
|
|
98
|
-
theme: {
|
|
99
|
-
brutal: {
|
|
100
|
-
root: string[];
|
|
101
|
-
};
|
|
102
|
-
elegant: {
|
|
103
|
-
root: string[];
|
|
104
|
-
};
|
|
105
|
-
};
|
|
106
|
-
variant: {
|
|
107
|
-
primary: {
|
|
108
|
-
root: string[];
|
|
109
|
-
};
|
|
110
|
-
default: {
|
|
111
|
-
root: string[];
|
|
112
|
-
};
|
|
113
|
-
information: {
|
|
114
|
-
root: string[];
|
|
115
|
-
};
|
|
116
|
-
muted: {
|
|
117
|
-
root: string[];
|
|
118
|
-
};
|
|
119
|
-
accent: {
|
|
120
|
-
root: string[];
|
|
121
|
-
};
|
|
122
|
-
warning: {
|
|
123
|
-
root: string[];
|
|
124
|
-
};
|
|
125
|
-
outline: {
|
|
126
|
-
root: string[];
|
|
127
|
-
};
|
|
128
|
-
ghost: {
|
|
129
|
-
root: string[];
|
|
130
|
-
};
|
|
131
|
-
link: {
|
|
132
|
-
root: string[];
|
|
133
|
-
};
|
|
134
|
-
"danger-secondary": {
|
|
135
|
-
root: string[];
|
|
136
|
-
};
|
|
137
|
-
danger: {
|
|
138
|
-
root: string[];
|
|
139
|
-
};
|
|
140
|
-
"danger-outline": {
|
|
141
|
-
root: string[];
|
|
142
|
-
};
|
|
143
|
-
};
|
|
144
|
-
size: {
|
|
145
|
-
xs: {
|
|
146
|
-
root: string[];
|
|
147
|
-
};
|
|
148
|
-
sm: {
|
|
149
|
-
root: string[];
|
|
150
|
-
};
|
|
151
|
-
md: {
|
|
152
|
-
root: string[];
|
|
153
|
-
};
|
|
154
|
-
lg: {
|
|
155
|
-
root: string[];
|
|
156
|
-
};
|
|
157
|
-
"icon-xs": {
|
|
158
|
-
root: string[];
|
|
159
|
-
};
|
|
160
|
-
"icon-sm": {
|
|
161
|
-
root: string[];
|
|
162
|
-
};
|
|
163
|
-
"icon-md": {
|
|
164
|
-
root: string[];
|
|
165
|
-
};
|
|
166
|
-
"icon-lg": {
|
|
167
|
-
root: string[];
|
|
168
|
-
};
|
|
169
|
-
};
|
|
170
|
-
}, {
|
|
171
|
-
root: string[];
|
|
172
|
-
content: string;
|
|
173
|
-
loadingIndicator: string;
|
|
174
|
-
}, import("tailwind-variants/lite").TVReturnType<{
|
|
175
|
-
theme: {
|
|
176
|
-
brutal: {
|
|
177
|
-
root: string[];
|
|
178
|
-
};
|
|
179
|
-
elegant: {
|
|
180
|
-
root: string[];
|
|
181
|
-
};
|
|
182
|
-
};
|
|
183
|
-
variant: {
|
|
184
|
-
primary: {
|
|
185
|
-
root: string[];
|
|
186
|
-
};
|
|
187
|
-
default: {
|
|
188
|
-
root: string[];
|
|
189
|
-
};
|
|
190
|
-
information: {
|
|
191
|
-
root: string[];
|
|
192
|
-
};
|
|
193
|
-
muted: {
|
|
194
|
-
root: string[];
|
|
195
|
-
};
|
|
196
|
-
accent: {
|
|
197
|
-
root: string[];
|
|
198
|
-
};
|
|
199
|
-
warning: {
|
|
200
|
-
root: string[];
|
|
201
|
-
};
|
|
202
|
-
outline: {
|
|
203
|
-
root: string[];
|
|
204
|
-
};
|
|
205
|
-
ghost: {
|
|
206
|
-
root: string[];
|
|
207
|
-
};
|
|
208
|
-
link: {
|
|
209
|
-
root: string[];
|
|
210
|
-
};
|
|
211
|
-
"danger-secondary": {
|
|
212
|
-
root: string[];
|
|
213
|
-
};
|
|
214
|
-
danger: {
|
|
215
|
-
root: string[];
|
|
216
|
-
};
|
|
217
|
-
"danger-outline": {
|
|
218
|
-
root: string[];
|
|
219
|
-
};
|
|
220
|
-
};
|
|
221
|
-
size: {
|
|
222
|
-
xs: {
|
|
223
|
-
root: string[];
|
|
224
|
-
};
|
|
225
|
-
sm: {
|
|
226
|
-
root: string[];
|
|
227
|
-
};
|
|
228
|
-
md: {
|
|
229
|
-
root: string[];
|
|
230
|
-
};
|
|
231
|
-
lg: {
|
|
232
|
-
root: string[];
|
|
233
|
-
};
|
|
234
|
-
"icon-xs": {
|
|
235
|
-
root: string[];
|
|
236
|
-
};
|
|
237
|
-
"icon-sm": {
|
|
238
|
-
root: string[];
|
|
239
|
-
};
|
|
240
|
-
"icon-md": {
|
|
241
|
-
root: string[];
|
|
242
|
-
};
|
|
243
|
-
"icon-lg": {
|
|
244
|
-
root: string[];
|
|
245
|
-
};
|
|
246
|
-
};
|
|
247
|
-
}, {
|
|
248
|
-
root: string[];
|
|
249
|
-
content: string;
|
|
250
|
-
loadingIndicator: string;
|
|
251
|
-
}, undefined, unknown, unknown, undefined>>;
|
|
252
|
-
type ButtonProps = StyledProps<Button$1.Props> & Omit<VariantProps<typeof buttonVariants>, "theme"> & {
|
|
253
|
-
loading?: boolean;
|
|
254
|
-
loadingLabel?: string;
|
|
255
|
-
};
|
|
256
|
-
declare function Button({
|
|
257
|
-
variant,
|
|
258
|
-
size,
|
|
259
|
-
loading,
|
|
260
|
-
loadingLabel,
|
|
261
|
-
disabled,
|
|
262
|
-
className,
|
|
263
|
-
children,
|
|
264
|
-
render,
|
|
265
|
-
nativeButton,
|
|
266
|
-
...props
|
|
267
|
-
}: ButtonProps): import("react").JSX.Element;
|
|
268
|
-
//#endregion
|
|
269
19
|
//#region src/components/checkbox/checkbox.d.ts
|
|
270
20
|
declare const checkbox: import("tailwind-variants/lite").TVReturnType<{
|
|
271
21
|
theme: {
|
|
@@ -751,6 +501,74 @@ declare function DropdownMenuCheckboxItemIndicator({
|
|
|
751
501
|
}: DropdownMenuCheckboxItemIndicatorProps): import("react").JSX.Element;
|
|
752
502
|
//#endregion
|
|
753
503
|
//#region src/components/tooltip/tooltip.d.ts
|
|
504
|
+
declare const tooltip: import("tailwind-variants/lite").TVReturnType<{
|
|
505
|
+
theme: {
|
|
506
|
+
brutal: {
|
|
507
|
+
content: string[];
|
|
508
|
+
arrow: string[];
|
|
509
|
+
};
|
|
510
|
+
elegant: {
|
|
511
|
+
content: string[];
|
|
512
|
+
arrow: never[];
|
|
513
|
+
};
|
|
514
|
+
};
|
|
515
|
+
variant: {
|
|
516
|
+
default: {};
|
|
517
|
+
inverse: {
|
|
518
|
+
content: string[];
|
|
519
|
+
};
|
|
520
|
+
};
|
|
521
|
+
}, {
|
|
522
|
+
trigger: string[];
|
|
523
|
+
positioner: string[];
|
|
524
|
+
content: string[];
|
|
525
|
+
arrow: string[];
|
|
526
|
+
}, undefined, {
|
|
527
|
+
theme: {
|
|
528
|
+
brutal: {
|
|
529
|
+
content: string[];
|
|
530
|
+
arrow: string[];
|
|
531
|
+
};
|
|
532
|
+
elegant: {
|
|
533
|
+
content: string[];
|
|
534
|
+
arrow: never[];
|
|
535
|
+
};
|
|
536
|
+
};
|
|
537
|
+
variant: {
|
|
538
|
+
default: {};
|
|
539
|
+
inverse: {
|
|
540
|
+
content: string[];
|
|
541
|
+
};
|
|
542
|
+
};
|
|
543
|
+
}, {
|
|
544
|
+
trigger: string[];
|
|
545
|
+
positioner: string[];
|
|
546
|
+
content: string[];
|
|
547
|
+
arrow: string[];
|
|
548
|
+
}, import("tailwind-variants/lite").TVReturnType<{
|
|
549
|
+
theme: {
|
|
550
|
+
brutal: {
|
|
551
|
+
content: string[];
|
|
552
|
+
arrow: string[];
|
|
553
|
+
};
|
|
554
|
+
elegant: {
|
|
555
|
+
content: string[];
|
|
556
|
+
arrow: never[];
|
|
557
|
+
};
|
|
558
|
+
};
|
|
559
|
+
variant: {
|
|
560
|
+
default: {};
|
|
561
|
+
inverse: {
|
|
562
|
+
content: string[];
|
|
563
|
+
};
|
|
564
|
+
};
|
|
565
|
+
}, {
|
|
566
|
+
trigger: string[];
|
|
567
|
+
positioner: string[];
|
|
568
|
+
content: string[];
|
|
569
|
+
arrow: string[];
|
|
570
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
571
|
+
type TooltipStyleProps = VariantProps<typeof tooltip>;
|
|
754
572
|
type TooltipProviderProps = Tooltip$1.Provider.Props;
|
|
755
573
|
declare function TooltipProvider({
|
|
756
574
|
delay,
|
|
@@ -767,7 +585,7 @@ type TooltipPortalProps = Tooltip$1.Portal.Props;
|
|
|
767
585
|
declare function TooltipPortal(props: TooltipPortalProps): import("react").JSX.Element;
|
|
768
586
|
type TooltipContentProps = StyledProps<Tooltip$1.Popup.Props> & Pick<Tooltip$1.Positioner.Props, "align" | "alignOffset" | "anchor" | "arrowPadding" | "collisionAvoidance" | "collisionBoundary" | "collisionPadding" | "disableAnchorTracking" | "positionMethod" | "side" | "sideOffset" | "sticky"> & {
|
|
769
587
|
portalProps?: TooltipPortalProps;
|
|
770
|
-
}
|
|
588
|
+
} & Pick<TooltipStyleProps, "variant">;
|
|
771
589
|
declare function TooltipContent({
|
|
772
590
|
align,
|
|
773
591
|
alignOffset,
|
|
@@ -782,6 +600,7 @@ declare function TooltipContent({
|
|
|
782
600
|
sideOffset,
|
|
783
601
|
sticky,
|
|
784
602
|
portalProps,
|
|
603
|
+
variant,
|
|
785
604
|
className,
|
|
786
605
|
children,
|
|
787
606
|
...props
|
|
@@ -1871,6 +1690,7 @@ declare const heading: import("tailwind-variants/lite").TVReturnType<{
|
|
|
1871
1690
|
primary: string[];
|
|
1872
1691
|
information: string[];
|
|
1873
1692
|
muted: string[];
|
|
1693
|
+
placeholder: string[];
|
|
1874
1694
|
accent: string[];
|
|
1875
1695
|
success: string[];
|
|
1876
1696
|
warning: string[];
|
|
@@ -1890,6 +1710,7 @@ declare const heading: import("tailwind-variants/lite").TVReturnType<{
|
|
|
1890
1710
|
primary: string[];
|
|
1891
1711
|
information: string[];
|
|
1892
1712
|
muted: string[];
|
|
1713
|
+
placeholder: string[];
|
|
1893
1714
|
accent: string[];
|
|
1894
1715
|
success: string[];
|
|
1895
1716
|
warning: string[];
|
|
@@ -1909,6 +1730,7 @@ declare const heading: import("tailwind-variants/lite").TVReturnType<{
|
|
|
1909
1730
|
primary: string[];
|
|
1910
1731
|
information: string[];
|
|
1911
1732
|
muted: string[];
|
|
1733
|
+
placeholder: string[];
|
|
1912
1734
|
accent: string[];
|
|
1913
1735
|
success: string[];
|
|
1914
1736
|
warning: string[];
|
|
@@ -1927,6 +1749,7 @@ declare const sans: import("tailwind-variants/lite").TVReturnType<{
|
|
|
1927
1749
|
primary: string[];
|
|
1928
1750
|
information: string[];
|
|
1929
1751
|
muted: string[];
|
|
1752
|
+
placeholder: string[];
|
|
1930
1753
|
accent: string[];
|
|
1931
1754
|
success: string[];
|
|
1932
1755
|
warning: string[];
|
|
@@ -1944,6 +1767,7 @@ declare const sans: import("tailwind-variants/lite").TVReturnType<{
|
|
|
1944
1767
|
primary: string[];
|
|
1945
1768
|
information: string[];
|
|
1946
1769
|
muted: string[];
|
|
1770
|
+
placeholder: string[];
|
|
1947
1771
|
accent: string[];
|
|
1948
1772
|
success: string[];
|
|
1949
1773
|
warning: string[];
|
|
@@ -1961,6 +1785,7 @@ declare const sans: import("tailwind-variants/lite").TVReturnType<{
|
|
|
1961
1785
|
primary: string[];
|
|
1962
1786
|
information: string[];
|
|
1963
1787
|
muted: string[];
|
|
1788
|
+
placeholder: string[];
|
|
1964
1789
|
accent: string[];
|
|
1965
1790
|
success: string[];
|
|
1966
1791
|
warning: string[];
|
|
@@ -1979,6 +1804,7 @@ declare const mono: import("tailwind-variants/lite").TVReturnType<{
|
|
|
1979
1804
|
primary: string[];
|
|
1980
1805
|
information: string[];
|
|
1981
1806
|
muted: string[];
|
|
1807
|
+
placeholder: string[];
|
|
1982
1808
|
accent: string[];
|
|
1983
1809
|
success: string[];
|
|
1984
1810
|
warning: string[];
|
|
@@ -1996,6 +1822,7 @@ declare const mono: import("tailwind-variants/lite").TVReturnType<{
|
|
|
1996
1822
|
primary: string[];
|
|
1997
1823
|
information: string[];
|
|
1998
1824
|
muted: string[];
|
|
1825
|
+
placeholder: string[];
|
|
1999
1826
|
accent: string[];
|
|
2000
1827
|
success: string[];
|
|
2001
1828
|
warning: string[];
|
|
@@ -2013,6 +1840,7 @@ declare const mono: import("tailwind-variants/lite").TVReturnType<{
|
|
|
2013
1840
|
primary: string[];
|
|
2014
1841
|
information: string[];
|
|
2015
1842
|
muted: string[];
|
|
1843
|
+
placeholder: string[];
|
|
2016
1844
|
accent: string[];
|
|
2017
1845
|
success: string[];
|
|
2018
1846
|
warning: string[];
|
|
@@ -2964,6 +2792,14 @@ type OrderedTabItem<T extends string = string> = {
|
|
|
2964
2792
|
};
|
|
2965
2793
|
declare function useOrderedTabs<T extends OrderedTabItem<string>>(items: readonly T[], storedOrder: readonly string[]): T[];
|
|
2966
2794
|
//#endregion
|
|
2795
|
+
//#region src/components/separator/separator.d.ts
|
|
2796
|
+
type SeparatorProps = StyledProps<Separator$1.Props>;
|
|
2797
|
+
declare function Separator({
|
|
2798
|
+
className,
|
|
2799
|
+
orientation,
|
|
2800
|
+
...props
|
|
2801
|
+
}: SeparatorProps): import("react").JSX.Element;
|
|
2802
|
+
//#endregion
|
|
2967
2803
|
//#region src/lib/theme/theme-context.d.ts
|
|
2968
2804
|
/** Visual style family. Mode (light/dark/system) is a separate axis. */
|
|
2969
2805
|
type Theme = "brutal" | "elegant";
|
|
@@ -3029,4 +2865,4 @@ declare function useThemeFamily(): Theme;
|
|
|
3029
2865
|
/** Read and update the application-level RUI theme selection. */
|
|
3030
2866
|
declare function useTheme(): ThemeState;
|
|
3031
2867
|
//#endregion
|
|
3032
|
-
export { Avatar, AvatarBadge, type AvatarBadgeProps, AvatarFallback, type AvatarFallbackProps, AvatarGroup, AvatarGroupCount, type AvatarGroupCountProps, type AvatarGroupProps, AvatarImage, type AvatarImageProps, type AvatarProps, type AvatarSize, Badge, type BadgeProps, Banner, BannerAction, type BannerActionProps, BannerDescription, type BannerDescriptionProps, type BannerProps, type BannerStatus, BannerTitle, type BannerTitleProps, Button, type ButtonProps, Checkbox, type CheckboxProps, Combobox, ComboboxChip, type ComboboxChipProps, ComboboxChipRemove, type ComboboxChipRemoveProps, ComboboxChips, type ComboboxChipsProps, ComboboxClear, type ComboboxClearProps, ComboboxCollection, type ComboboxCollectionProps, ComboboxContent, type ComboboxContentProps, ComboboxControl, type ComboboxControlProps, ComboboxEmpty, type ComboboxEmptyProps, ComboboxGroup, ComboboxGroupLabel, type ComboboxGroupLabelProps, type ComboboxGroupProps, ComboboxHeader, type ComboboxHeaderProps, ComboboxInput, ComboboxInputGroup, type ComboboxInputGroupProps, type ComboboxInputProps, ComboboxItem, ComboboxItemIndicator, type ComboboxItemIndicatorProps, type ComboboxItemProps, ComboboxLabel, type ComboboxLabelProps, ComboboxList, type ComboboxListProps, ComboboxPopup, type ComboboxPopupProps, ComboboxPortal, type ComboboxPortalProps, type ComboboxProps, ComboboxRow, type ComboboxRowProps, ComboboxSeparator, type ComboboxSeparatorProps, ComboboxTrigger, ComboboxTriggerIndicator, type ComboboxTriggerIndicatorProps, type ComboboxTriggerProps, ComboboxValue, type ComboboxValueProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuCheckboxItemIndicator, type ContextMenuCheckboxItemIndicatorProps, type ContextMenuCheckboxItemProps, ContextMenuContent, type ContextMenuContentProps, ContextMenuItem, type ContextMenuItemProps, ContextMenuLabel, type ContextMenuLabelProps, ContextMenuPortal, type ContextMenuPortalProps, type ContextMenuProps, ContextMenuRadioGroup, type ContextMenuRadioGroupProps, ContextMenuRadioItem, ContextMenuRadioItemIndicator, type ContextMenuRadioItemIndicatorProps, type ContextMenuRadioItemProps, ContextMenuSeparator, type ContextMenuSeparatorProps, ContextMenuShortcut, type ContextMenuShortcutProps, ContextMenuSubmenu, type ContextMenuSubmenuProps, ContextMenuSubmenuTrigger, type ContextMenuSubmenuTriggerProps, ContextMenuTrigger, type ContextMenuTriggerProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuCheckboxItemIndicator, type DropdownMenuCheckboxItemIndicatorProps, type DropdownMenuCheckboxItemProps, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuItem, DropdownMenuItemCount, type DropdownMenuItemCountProps, type DropdownMenuItemProps, DropdownMenuLabel, type DropdownMenuLabelProps, DropdownMenuPopup, type DropdownMenuPopupProps, DropdownMenuPortal, type DropdownMenuPortalProps, type DropdownMenuProps, DropdownMenuRadioGroup, type DropdownMenuRadioGroupProps, DropdownMenuRadioItem, DropdownMenuRadioItemIndicator, type DropdownMenuRadioItemIndicatorProps, type DropdownMenuRadioItemProps, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuShortcut, type DropdownMenuShortcutProps, DropdownMenuSubmenu, type DropdownMenuSubmenuProps, DropdownMenuSubmenuTrigger, type DropdownMenuSubmenuTriggerProps, DropdownMenuTrigger, type DropdownMenuTriggerProps, EmptyState, EmptyStateActions, type EmptyStateActionsProps, EmptyStateContent, type EmptyStateContentProps, EmptyStateDescription, type EmptyStateDescriptionProps, EmptyStateIcon, type EmptyStateIconProps, type EmptyStateProps, EmptyStateTitle, type EmptyStateTitleProps, Field, FieldControl, type FieldControlProps, FieldDescription, type FieldDescriptionProps, FieldError, type FieldErrorProps, FieldItem, type FieldItemProps, FieldLabel, type FieldLabelProps, type FieldProps, FieldValidity, type FieldValidityProps, InlineCode, type InlineCodeProps, Input, InputGroup, InputGroupAddon, type InputGroupAddonProps, type InputGroupAddonTextProps, InputGroupInput, type InputGroupInputProps, type InputGroupProps, type InputProps, Kbd, KbdGroup, type KbdGroupProps, type KbdProps, Label, LabelAsterisk, type LabelAsteriskProps, LabelOptional, type LabelOptionalProps, type LabelProps, LabelSub, type LabelSubProps, NotificationCenter, NotificationCenterActionButton, type NotificationCenterActionButtonProps, NotificationCenterCount, type NotificationCenterCountProps, NotificationCenterEmptyState, type NotificationCenterEmptyStateProps, NotificationCenterHeader, type NotificationCenterHeaderProps, NotificationCenterItem, NotificationCenterItemActions, type NotificationCenterItemActionsProps, NotificationCenterItemBody, type NotificationCenterItemBodyProps, NotificationCenterItemContent, type NotificationCenterItemContentProps, NotificationCenterItemIcon, type NotificationCenterItemIconProps, type NotificationCenterItemProps, NotificationCenterItemRow, type NotificationCenterItemRowProps, NotificationCenterItemTitle, type NotificationCenterItemTitleProps, NotificationCenterList, type NotificationCenterListProps, NotificationCenterPopup, type NotificationCenterPopupProps, type NotificationCenterPortalProps, type NotificationCenterProps, NotificationCenterScroller, type NotificationCenterScrollerProps, NotificationCenterTitle, type NotificationCenterTitleProps, NotificationCenterTrigger, type NotificationCenterTriggerProps, type OrderedTabItem, Popover, PopoverArrow, type PopoverArrowProps, PopoverBackdrop, type PopoverBackdropProps, PopoverClose, type PopoverCloseProps, PopoverContent, type PopoverContentProps, PopoverDescription, type PopoverDescriptionProps, PopoverHeader, type PopoverHeaderProps, PopoverPopup, type PopoverPopupProps, PopoverPortal, type PopoverPortalProps, type PopoverProps, PopoverSeparator, type PopoverSeparatorProps, PopoverTitle, type PopoverTitleProps, PopoverTrigger, type PopoverTriggerProps, PopoverViewport, type PopoverViewportProps, RadioGroup, RadioGroupIndicator, type RadioGroupIndicatorProps, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, type ResolvedThemeMode, SegmentedControl, SegmentedControlCount, type SegmentedControlCountProps, SegmentedControlItem, type SegmentedControlItemProps, SegmentedControlLabel, type SegmentedControlLabelProps, type SegmentedControlProps, Select, SelectArrow, type SelectArrowProps, SelectContent, type SelectContentProps, SelectGroup, SelectGroupLabel, type SelectGroupLabelProps, type SelectGroupProps, SelectIcon, type SelectIconProps, SelectItem, SelectItemIndicator, type SelectItemIndicatorProps, type SelectItemProps, SelectItemText, type SelectItemTextProps, SelectLabel, type SelectLabelProps, SelectList, type SelectListProps, SelectPopup, type SelectPopupProps, SelectPortal, type SelectPortalProps, type SelectProps, SelectScrollDownArrow, type SelectScrollDownArrowProps, SelectScrollUpArrow, type SelectScrollUpArrowProps, SelectSeparator, type SelectSeparatorProps, SelectTrigger, type SelectTriggerProps, SelectValue, type SelectValueProps, type SetTheme, type SetThemeOptions, SortableTabsList, type SortableTabsListProps, SortableTabsTab, type SortableTabsTabProps, Spinner, type SpinnerProps, Status, type StatusProps, Tabs, TabsBackground, type TabsBackgroundProps, TabsIndicator, type TabsIndicatorProps, TabsLabel, type TabsLabelProps, TabsList, type TabsListProps, TabsPanel, type TabsPanelProps, type TabsProps, TabsTab, type TabsTabProps, Text, TextHeading, type TextHeadingProps, TextMono, type TextMonoProps, TextSans, type TextSansProps, Textarea, TextareaCounter, type TextareaCounterProps, TextareaGroup, type TextareaGroupProps, type TextareaProps, type Theme, type ThemeMode, ThemeProvider, type ThemeProviderProps, type ThemeState, Tooltip, TooltipContent, type TooltipContentProps, TooltipPortal, type TooltipPortalProps, type TooltipProps, TooltipProvider, type TooltipProviderProps, TooltipTrigger, type TooltipTriggerProps, buttonVariants, cn, useOrderedTabs, useTheme, useThemeFamily };
|
|
2868
|
+
export { Avatar, AvatarBadge, type AvatarBadgeProps, AvatarFallback, type AvatarFallbackProps, AvatarGroup, AvatarGroupCount, type AvatarGroupCountProps, type AvatarGroupProps, AvatarImage, type AvatarImageProps, type AvatarProps, type AvatarSize, Badge, type BadgeProps, Banner, BannerAction, type BannerActionProps, BannerDescription, type BannerDescriptionProps, type BannerProps, type BannerStatus, BannerTitle, type BannerTitleProps, Button, type ButtonProps, Checkbox, type CheckboxProps, Combobox, ComboboxChip, type ComboboxChipProps, ComboboxChipRemove, type ComboboxChipRemoveProps, ComboboxChips, type ComboboxChipsProps, ComboboxClear, type ComboboxClearProps, ComboboxCollection, type ComboboxCollectionProps, ComboboxContent, type ComboboxContentProps, ComboboxControl, type ComboboxControlProps, ComboboxEmpty, type ComboboxEmptyProps, ComboboxGroup, ComboboxGroupLabel, type ComboboxGroupLabelProps, type ComboboxGroupProps, ComboboxHeader, type ComboboxHeaderProps, ComboboxInput, ComboboxInputGroup, type ComboboxInputGroupProps, type ComboboxInputProps, ComboboxItem, ComboboxItemIndicator, type ComboboxItemIndicatorProps, type ComboboxItemProps, ComboboxLabel, type ComboboxLabelProps, ComboboxList, type ComboboxListProps, ComboboxPopup, type ComboboxPopupProps, ComboboxPortal, type ComboboxPortalProps, type ComboboxProps, ComboboxRow, type ComboboxRowProps, ComboboxSeparator, type ComboboxSeparatorProps, ComboboxTrigger, ComboboxTriggerIndicator, type ComboboxTriggerIndicatorProps, type ComboboxTriggerProps, ComboboxValue, type ComboboxValueProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuCheckboxItemIndicator, type ContextMenuCheckboxItemIndicatorProps, type ContextMenuCheckboxItemProps, ContextMenuContent, type ContextMenuContentProps, ContextMenuItem, type ContextMenuItemProps, ContextMenuLabel, type ContextMenuLabelProps, ContextMenuPortal, type ContextMenuPortalProps, type ContextMenuProps, ContextMenuRadioGroup, type ContextMenuRadioGroupProps, ContextMenuRadioItem, ContextMenuRadioItemIndicator, type ContextMenuRadioItemIndicatorProps, type ContextMenuRadioItemProps, ContextMenuSeparator, type ContextMenuSeparatorProps, ContextMenuShortcut, type ContextMenuShortcutProps, ContextMenuSubmenu, type ContextMenuSubmenuProps, ContextMenuSubmenuTrigger, type ContextMenuSubmenuTriggerProps, ContextMenuTrigger, type ContextMenuTriggerProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuCheckboxItemIndicator, type DropdownMenuCheckboxItemIndicatorProps, type DropdownMenuCheckboxItemProps, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuItem, DropdownMenuItemCount, type DropdownMenuItemCountProps, type DropdownMenuItemProps, DropdownMenuLabel, type DropdownMenuLabelProps, DropdownMenuPopup, type DropdownMenuPopupProps, DropdownMenuPortal, type DropdownMenuPortalProps, type DropdownMenuProps, DropdownMenuRadioGroup, type DropdownMenuRadioGroupProps, DropdownMenuRadioItem, DropdownMenuRadioItemIndicator, type DropdownMenuRadioItemIndicatorProps, type DropdownMenuRadioItemProps, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuShortcut, type DropdownMenuShortcutProps, DropdownMenuSubmenu, type DropdownMenuSubmenuProps, DropdownMenuSubmenuTrigger, type DropdownMenuSubmenuTriggerProps, DropdownMenuTrigger, type DropdownMenuTriggerProps, EmptyState, EmptyStateActions, type EmptyStateActionsProps, EmptyStateContent, type EmptyStateContentProps, EmptyStateDescription, type EmptyStateDescriptionProps, EmptyStateIcon, type EmptyStateIconProps, type EmptyStateProps, EmptyStateTitle, type EmptyStateTitleProps, Field, FieldControl, type FieldControlProps, FieldDescription, type FieldDescriptionProps, FieldError, type FieldErrorProps, FieldItem, type FieldItemProps, FieldLabel, type FieldLabelProps, type FieldProps, FieldValidity, type FieldValidityProps, InlineCode, type InlineCodeProps, Input, InputGroup, InputGroupAddon, type InputGroupAddonProps, type InputGroupAddonTextProps, InputGroupInput, type InputGroupInputProps, type InputGroupProps, type InputProps, Kbd, KbdGroup, type KbdGroupProps, type KbdProps, Label, LabelAsterisk, type LabelAsteriskProps, LabelOptional, type LabelOptionalProps, type LabelProps, LabelSub, type LabelSubProps, NotificationCenter, NotificationCenterActionButton, type NotificationCenterActionButtonProps, NotificationCenterCount, type NotificationCenterCountProps, NotificationCenterEmptyState, type NotificationCenterEmptyStateProps, NotificationCenterHeader, type NotificationCenterHeaderProps, NotificationCenterItem, NotificationCenterItemActions, type NotificationCenterItemActionsProps, NotificationCenterItemBody, type NotificationCenterItemBodyProps, NotificationCenterItemContent, type NotificationCenterItemContentProps, NotificationCenterItemIcon, type NotificationCenterItemIconProps, type NotificationCenterItemProps, NotificationCenterItemRow, type NotificationCenterItemRowProps, NotificationCenterItemTitle, type NotificationCenterItemTitleProps, NotificationCenterList, type NotificationCenterListProps, NotificationCenterPopup, type NotificationCenterPopupProps, type NotificationCenterPortalProps, type NotificationCenterProps, NotificationCenterScroller, type NotificationCenterScrollerProps, NotificationCenterTitle, type NotificationCenterTitleProps, NotificationCenterTrigger, type NotificationCenterTriggerProps, type OrderedTabItem, Popover, PopoverArrow, type PopoverArrowProps, PopoverBackdrop, type PopoverBackdropProps, PopoverClose, type PopoverCloseProps, PopoverContent, type PopoverContentProps, PopoverDescription, type PopoverDescriptionProps, PopoverHeader, type PopoverHeaderProps, PopoverPopup, type PopoverPopupProps, PopoverPortal, type PopoverPortalProps, type PopoverProps, PopoverSeparator, type PopoverSeparatorProps, PopoverTitle, type PopoverTitleProps, PopoverTrigger, type PopoverTriggerProps, PopoverViewport, type PopoverViewportProps, RadioGroup, RadioGroupIndicator, type RadioGroupIndicatorProps, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, type ResolvedThemeMode, SegmentedControl, SegmentedControlCount, type SegmentedControlCountProps, SegmentedControlItem, type SegmentedControlItemProps, SegmentedControlLabel, type SegmentedControlLabelProps, type SegmentedControlProps, Select, SelectArrow, type SelectArrowProps, SelectContent, type SelectContentProps, SelectGroup, SelectGroupLabel, type SelectGroupLabelProps, type SelectGroupProps, SelectIcon, type SelectIconProps, SelectItem, SelectItemIndicator, type SelectItemIndicatorProps, type SelectItemProps, SelectItemText, type SelectItemTextProps, SelectLabel, type SelectLabelProps, SelectList, type SelectListProps, SelectPopup, type SelectPopupProps, SelectPortal, type SelectPortalProps, type SelectProps, SelectScrollDownArrow, type SelectScrollDownArrowProps, SelectScrollUpArrow, type SelectScrollUpArrowProps, SelectSeparator, type SelectSeparatorProps, SelectTrigger, type SelectTriggerProps, SelectValue, type SelectValueProps, Separator, type SeparatorProps, type SetTheme, type SetThemeOptions, SortableTabsList, type SortableTabsListProps, SortableTabsTab, type SortableTabsTabProps, Spinner, type SpinnerProps, Status, type StatusProps, Tabs, TabsBackground, type TabsBackgroundProps, TabsIndicator, type TabsIndicatorProps, TabsLabel, type TabsLabelProps, TabsList, type TabsListProps, TabsPanel, type TabsPanelProps, type TabsProps, TabsTab, type TabsTabProps, Text, TextHeading, type TextHeadingProps, TextMono, type TextMonoProps, TextSans, type TextSansProps, Textarea, TextareaCounter, type TextareaCounterProps, TextareaGroup, type TextareaGroupProps, type TextareaProps, type Theme, type ThemeMode, ThemeProvider, type ThemeProviderProps, type ThemeState, Tooltip, TooltipContent, type TooltipContentProps, TooltipPortal, type TooltipPortalProps, type TooltipProps, TooltipProvider, type TooltipProviderProps, TooltipTrigger, type TooltipTriggerProps, buttonVariants, cn, useOrderedTabs, useTheme, useThemeFamily };
|