@wow-two-beta/ui 0.0.39 → 0.0.41
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/{chunk-6QEYZJGE.js → chunk-F6R2IOQV.js} +98 -8
- package/dist/chunk-F6R2IOQV.js.map +1 -0
- package/dist/display/avatar/Avatar.d.ts +1 -8
- package/dist/display/avatar/Avatar.d.ts.map +1 -1
- package/dist/display/avatar/Avatar.variants.d.ts +170 -2
- package/dist/display/avatar/Avatar.variants.d.ts.map +1 -1
- package/dist/display/index.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-6QEYZJGE.js.map +0 -1
|
@@ -1,18 +1,11 @@
|
|
|
1
1
|
import { type ComponentPropsWithoutRef, type ReactNode } from 'react';
|
|
2
2
|
import { type AvatarVariants } from './Avatar.variants';
|
|
3
3
|
export interface AvatarProps extends Omit<ComponentPropsWithoutRef<'span'>, 'children'>, AvatarVariants {
|
|
4
|
-
/** Image source. Falls back to `name` initials or `fallback` on error. */
|
|
5
4
|
src?: string;
|
|
6
|
-
/** Person/entity name — used to derive initials when no image. */
|
|
7
5
|
name?: string;
|
|
8
|
-
/** Custom fallback (overrides initials). */
|
|
9
6
|
fallback?: ReactNode;
|
|
10
|
-
/** Alt text for the underlying `<img>`. Defaults to `name`. */
|
|
11
7
|
alt?: string;
|
|
8
|
+
autoColor?: boolean;
|
|
12
9
|
}
|
|
13
|
-
/**
|
|
14
|
-
* Image avatar with initials fallback. Strict atom — fallback is rendered
|
|
15
|
-
* inline (raw text), not via the `Text` atom, to keep this self-contained.
|
|
16
|
-
*/
|
|
17
10
|
export declare const Avatar: import("react").ForwardRefExoticComponent<AvatarProps & import("react").RefAttributes<HTMLSpanElement>>;
|
|
18
11
|
//# sourceMappingURL=Avatar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../src/display/avatar/Avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,wBAAwB,EAC7B,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAEf,OAAO,EAAkB,KAAK,cAAc,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../src/display/avatar/Avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,wBAAwB,EAC7B,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAEf,OAAO,EAAkB,KAAK,cAAc,EAAE,MAAM,mBAAmB,CAAC;AA6CxE,MAAM,WAAW,WACf,SAAQ,IAAI,CAAC,wBAAwB,CAAC,MAAM,CAAC,EAAE,UAAU,CAAC,EACxD,cAAc;IAEhB,GAAG,CAAC,EAAE,MAAM,CAAC;IAGb,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,QAAQ,CAAC,EAAE,SAAS,CAAC;IAGrB,GAAG,CAAC,EAAE,MAAM,CAAC;IAGb,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAGD,eAAO,MAAM,MAAM,yGA2DlB,CAAC"}
|
|
@@ -12,7 +12,31 @@ export declare const avatarVariants: import("tailwind-variants").TVReturnType<{
|
|
|
12
12
|
circle: string;
|
|
13
13
|
square: string;
|
|
14
14
|
};
|
|
15
|
-
|
|
15
|
+
tone: {
|
|
16
|
+
none: string;
|
|
17
|
+
neutral: string;
|
|
18
|
+
primary: string;
|
|
19
|
+
danger: string;
|
|
20
|
+
success: string;
|
|
21
|
+
warning: string;
|
|
22
|
+
};
|
|
23
|
+
bgStyle: {
|
|
24
|
+
solid: string;
|
|
25
|
+
gradient: string;
|
|
26
|
+
};
|
|
27
|
+
ring: {
|
|
28
|
+
none: string;
|
|
29
|
+
neutral: string;
|
|
30
|
+
primary: string;
|
|
31
|
+
danger: string;
|
|
32
|
+
success: string;
|
|
33
|
+
warning: string;
|
|
34
|
+
};
|
|
35
|
+
isLoading: {
|
|
36
|
+
true: string;
|
|
37
|
+
false: string;
|
|
38
|
+
};
|
|
39
|
+
}, undefined, "inline-flex shrink-0 select-none items-center justify-center overflow-hidden font-medium", import("tailwind-variants/dist/config.js").TVConfig<{
|
|
16
40
|
size: {
|
|
17
41
|
xs: string;
|
|
18
42
|
sm: string;
|
|
@@ -25,6 +49,30 @@ export declare const avatarVariants: import("tailwind-variants").TVReturnType<{
|
|
|
25
49
|
circle: string;
|
|
26
50
|
square: string;
|
|
27
51
|
};
|
|
52
|
+
tone: {
|
|
53
|
+
none: string;
|
|
54
|
+
neutral: string;
|
|
55
|
+
primary: string;
|
|
56
|
+
danger: string;
|
|
57
|
+
success: string;
|
|
58
|
+
warning: string;
|
|
59
|
+
};
|
|
60
|
+
bgStyle: {
|
|
61
|
+
solid: string;
|
|
62
|
+
gradient: string;
|
|
63
|
+
};
|
|
64
|
+
ring: {
|
|
65
|
+
none: string;
|
|
66
|
+
neutral: string;
|
|
67
|
+
primary: string;
|
|
68
|
+
danger: string;
|
|
69
|
+
success: string;
|
|
70
|
+
warning: string;
|
|
71
|
+
};
|
|
72
|
+
isLoading: {
|
|
73
|
+
true: string;
|
|
74
|
+
false: string;
|
|
75
|
+
};
|
|
28
76
|
}, {
|
|
29
77
|
size: {
|
|
30
78
|
xs: string;
|
|
@@ -38,6 +86,30 @@ export declare const avatarVariants: import("tailwind-variants").TVReturnType<{
|
|
|
38
86
|
circle: string;
|
|
39
87
|
square: string;
|
|
40
88
|
};
|
|
89
|
+
tone: {
|
|
90
|
+
none: string;
|
|
91
|
+
neutral: string;
|
|
92
|
+
primary: string;
|
|
93
|
+
danger: string;
|
|
94
|
+
success: string;
|
|
95
|
+
warning: string;
|
|
96
|
+
};
|
|
97
|
+
bgStyle: {
|
|
98
|
+
solid: string;
|
|
99
|
+
gradient: string;
|
|
100
|
+
};
|
|
101
|
+
ring: {
|
|
102
|
+
none: string;
|
|
103
|
+
neutral: string;
|
|
104
|
+
primary: string;
|
|
105
|
+
danger: string;
|
|
106
|
+
success: string;
|
|
107
|
+
warning: string;
|
|
108
|
+
};
|
|
109
|
+
isLoading: {
|
|
110
|
+
true: string;
|
|
111
|
+
false: string;
|
|
112
|
+
};
|
|
41
113
|
}>, {
|
|
42
114
|
size: {
|
|
43
115
|
xs: string;
|
|
@@ -51,6 +123,30 @@ export declare const avatarVariants: import("tailwind-variants").TVReturnType<{
|
|
|
51
123
|
circle: string;
|
|
52
124
|
square: string;
|
|
53
125
|
};
|
|
126
|
+
tone: {
|
|
127
|
+
none: string;
|
|
128
|
+
neutral: string;
|
|
129
|
+
primary: string;
|
|
130
|
+
danger: string;
|
|
131
|
+
success: string;
|
|
132
|
+
warning: string;
|
|
133
|
+
};
|
|
134
|
+
bgStyle: {
|
|
135
|
+
solid: string;
|
|
136
|
+
gradient: string;
|
|
137
|
+
};
|
|
138
|
+
ring: {
|
|
139
|
+
none: string;
|
|
140
|
+
neutral: string;
|
|
141
|
+
primary: string;
|
|
142
|
+
danger: string;
|
|
143
|
+
success: string;
|
|
144
|
+
warning: string;
|
|
145
|
+
};
|
|
146
|
+
isLoading: {
|
|
147
|
+
true: string;
|
|
148
|
+
false: string;
|
|
149
|
+
};
|
|
54
150
|
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
55
151
|
size: {
|
|
56
152
|
xs: string;
|
|
@@ -64,7 +160,31 @@ export declare const avatarVariants: import("tailwind-variants").TVReturnType<{
|
|
|
64
160
|
circle: string;
|
|
65
161
|
square: string;
|
|
66
162
|
};
|
|
67
|
-
|
|
163
|
+
tone: {
|
|
164
|
+
none: string;
|
|
165
|
+
neutral: string;
|
|
166
|
+
primary: string;
|
|
167
|
+
danger: string;
|
|
168
|
+
success: string;
|
|
169
|
+
warning: string;
|
|
170
|
+
};
|
|
171
|
+
bgStyle: {
|
|
172
|
+
solid: string;
|
|
173
|
+
gradient: string;
|
|
174
|
+
};
|
|
175
|
+
ring: {
|
|
176
|
+
none: string;
|
|
177
|
+
neutral: string;
|
|
178
|
+
primary: string;
|
|
179
|
+
danger: string;
|
|
180
|
+
success: string;
|
|
181
|
+
warning: string;
|
|
182
|
+
};
|
|
183
|
+
isLoading: {
|
|
184
|
+
true: string;
|
|
185
|
+
false: string;
|
|
186
|
+
};
|
|
187
|
+
}, undefined, "inline-flex shrink-0 select-none items-center justify-center overflow-hidden font-medium", import("tailwind-variants/dist/config.js").TVConfig<{
|
|
68
188
|
size: {
|
|
69
189
|
xs: string;
|
|
70
190
|
sm: string;
|
|
@@ -77,6 +197,30 @@ export declare const avatarVariants: import("tailwind-variants").TVReturnType<{
|
|
|
77
197
|
circle: string;
|
|
78
198
|
square: string;
|
|
79
199
|
};
|
|
200
|
+
tone: {
|
|
201
|
+
none: string;
|
|
202
|
+
neutral: string;
|
|
203
|
+
primary: string;
|
|
204
|
+
danger: string;
|
|
205
|
+
success: string;
|
|
206
|
+
warning: string;
|
|
207
|
+
};
|
|
208
|
+
bgStyle: {
|
|
209
|
+
solid: string;
|
|
210
|
+
gradient: string;
|
|
211
|
+
};
|
|
212
|
+
ring: {
|
|
213
|
+
none: string;
|
|
214
|
+
neutral: string;
|
|
215
|
+
primary: string;
|
|
216
|
+
danger: string;
|
|
217
|
+
success: string;
|
|
218
|
+
warning: string;
|
|
219
|
+
};
|
|
220
|
+
isLoading: {
|
|
221
|
+
true: string;
|
|
222
|
+
false: string;
|
|
223
|
+
};
|
|
80
224
|
}, {
|
|
81
225
|
size: {
|
|
82
226
|
xs: string;
|
|
@@ -90,6 +234,30 @@ export declare const avatarVariants: import("tailwind-variants").TVReturnType<{
|
|
|
90
234
|
circle: string;
|
|
91
235
|
square: string;
|
|
92
236
|
};
|
|
237
|
+
tone: {
|
|
238
|
+
none: string;
|
|
239
|
+
neutral: string;
|
|
240
|
+
primary: string;
|
|
241
|
+
danger: string;
|
|
242
|
+
success: string;
|
|
243
|
+
warning: string;
|
|
244
|
+
};
|
|
245
|
+
bgStyle: {
|
|
246
|
+
solid: string;
|
|
247
|
+
gradient: string;
|
|
248
|
+
};
|
|
249
|
+
ring: {
|
|
250
|
+
none: string;
|
|
251
|
+
neutral: string;
|
|
252
|
+
primary: string;
|
|
253
|
+
danger: string;
|
|
254
|
+
success: string;
|
|
255
|
+
warning: string;
|
|
256
|
+
};
|
|
257
|
+
isLoading: {
|
|
258
|
+
true: string;
|
|
259
|
+
false: string;
|
|
260
|
+
};
|
|
93
261
|
}>, unknown, unknown, undefined>>;
|
|
94
262
|
export type AvatarVariants = VariantProps<typeof avatarVariants>;
|
|
95
263
|
//# sourceMappingURL=Avatar.variants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Avatar.variants.d.ts","sourceRoot":"","sources":["../../../src/display/avatar/Avatar.variants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,aAAa,CAAC;AAEpD,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"Avatar.variants.d.ts","sourceRoot":"","sources":["../../../src/display/avatar/Avatar.variants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,aAAa,CAAC;AAEpD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCA0DzB,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,YAAY,CAAC,OAAO,cAAc,CAAC,CAAC"}
|
package/dist/display/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActivityFeed, ActivityItem, AnimatedNumber, AnnotationMarker, AudioPlayer, AudioWaveform, Avatar, AvatarGroup, Badge, BadgeOverlay, Card, Carousel, CarouselDot, CarouselDots, CarouselNext, CarouselPrev, CarouselSlide, CarouselSlides, CarouselViewport, ChatBubble, Code, Collapsible, CollapsibleContent, CollapsibleTrigger, Comment, CommentThread, Confetti, CountBadge, CountUp, DataGrid, DataTable, DaySeparator, DescriptionList, DiffViewer, EmptyState, EventCalendar, Gantt, GradientText, Heading, HeatmapCalendar, Highlight, Image, InfoRow, KeyboardShortcut, List, ListItem, Mark, Marquee, MessageList, NodeEditor, NotificationDot, PDFViewer, Quote, ReactionBar, ScheduleView, ScrollReveal, SectionHeader, Separator, Snippet, Sparkline, Stat, Status, SwipeActions, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeaderCell, TableRow, Tabs, TabsList, TabsPanel, TabsTab, Text, ThreadView, Tilt, Timeline, TimelineDescription, TimelineItem, TimelineTitle, Tooltip, Tree, TreeGroup, TreeItem, Typewriter, VideoPlayer, avatarVariants, badgeVariants, codeVariants, headingVariants, textVariants } from '../chunk-
|
|
1
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActivityFeed, ActivityItem, AnimatedNumber, AnnotationMarker, AudioPlayer, AudioWaveform, Avatar, AvatarGroup, Badge, BadgeOverlay, Card, Carousel, CarouselDot, CarouselDots, CarouselNext, CarouselPrev, CarouselSlide, CarouselSlides, CarouselViewport, ChatBubble, Code, Collapsible, CollapsibleContent, CollapsibleTrigger, Comment, CommentThread, Confetti, CountBadge, CountUp, DataGrid, DataTable, DaySeparator, DescriptionList, DiffViewer, EmptyState, EventCalendar, Gantt, GradientText, Heading, HeatmapCalendar, Highlight, Image, InfoRow, KeyboardShortcut, List, ListItem, Mark, Marquee, MessageList, NodeEditor, NotificationDot, PDFViewer, Quote, ReactionBar, ScheduleView, ScrollReveal, SectionHeader, Separator, Snippet, Sparkline, Stat, Status, SwipeActions, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeaderCell, TableRow, Tabs, TabsList, TabsPanel, TabsTab, Text, ThreadView, Tilt, Timeline, TimelineDescription, TimelineItem, TimelineTitle, Tooltip, Tree, TreeGroup, TreeItem, Typewriter, VideoPlayer, avatarVariants, badgeVariants, codeVariants, headingVariants, textVariants } from '../chunk-F6R2IOQV.js';
|
|
2
2
|
export { Kbd, Tag, tagVariants } from '../chunk-LFZV2XTZ.js';
|
|
3
3
|
import '../chunk-NUMFGKPY.js';
|
|
4
4
|
import '../chunk-F227LKWK.js';
|
package/dist/index.js
CHANGED
|
@@ -7,7 +7,7 @@ export { Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, Draw
|
|
|
7
7
|
export { Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger } from './chunk-D3CGJMKB.js';
|
|
8
8
|
import './chunk-526AMQXZ.js';
|
|
9
9
|
export { BackToTopButton, Button, ButtonGroup, CopyButton, DisclosureButton, FAB, Link, SegmentedControl, SpeedDial, SpeedDialAction, SpeedDialTrigger, ToggleButton, ToggleButtonGroup, Toolbar, ToolbarButton, ToolbarLink, ToolbarSeparator, buttonVariants, fabVariants, linkVariants, toggleButtonVariants } from './chunk-ZQP4ZYQV.js';
|
|
10
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActivityFeed, ActivityItem, AnimatedNumber, AnnotationMarker, AudioPlayer, AudioWaveform, Avatar, AvatarGroup, Badge, BadgeOverlay, Card, Carousel, CarouselDot, CarouselDots, CarouselNext, CarouselPrev, CarouselSlide, CarouselSlides, CarouselViewport, ChatBubble, Code, Collapsible, CollapsibleContent, CollapsibleTrigger, Comment, CommentThread, Confetti, CountBadge, CountUp, DataGrid, DataTable, DaySeparator, DescriptionList, DiffViewer, EmptyState, EventCalendar, Gantt, GradientText, Heading, HeatmapCalendar, Highlight, Image, InfoRow, KeyboardShortcut, List, ListItem, Mark, Marquee, MessageList, NodeEditor, NotificationDot, PDFViewer, Quote, ReactionBar, ScheduleView, ScrollReveal, SectionHeader, Separator, Snippet, Sparkline, Stat, Status, SwipeActions, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeaderCell, TableRow, Tabs, TabsList, TabsPanel, TabsTab, Text, ThreadView, Tilt, Timeline, TimelineDescription, TimelineItem, TimelineTitle, Tooltip, Tree, TreeGroup, TreeItem, Typewriter, VideoPlayer, avatarVariants, badgeVariants, codeVariants, headingVariants, textVariants } from './chunk-
|
|
10
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActivityFeed, ActivityItem, AnimatedNumber, AnnotationMarker, AudioPlayer, AudioWaveform, Avatar, AvatarGroup, Badge, BadgeOverlay, Card, Carousel, CarouselDot, CarouselDots, CarouselNext, CarouselPrev, CarouselSlide, CarouselSlides, CarouselViewport, ChatBubble, Code, Collapsible, CollapsibleContent, CollapsibleTrigger, Comment, CommentThread, Confetti, CountBadge, CountUp, DataGrid, DataTable, DaySeparator, DescriptionList, DiffViewer, EmptyState, EventCalendar, Gantt, GradientText, Heading, HeatmapCalendar, Highlight, Image, InfoRow, KeyboardShortcut, List, ListItem, Mark, Marquee, MessageList, NodeEditor, NotificationDot, PDFViewer, Quote, ReactionBar, ScheduleView, ScrollReveal, SectionHeader, Separator, Snippet, Sparkline, Stat, Status, SwipeActions, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeaderCell, TableRow, Tabs, TabsList, TabsPanel, TabsTab, Text, ThreadView, Tilt, Timeline, TimelineDescription, TimelineItem, TimelineTitle, Tooltip, Tree, TreeGroup, TreeItem, Typewriter, VideoPlayer, avatarVariants, badgeVariants, codeVariants, headingVariants, textVariants } from './chunk-F6R2IOQV.js';
|
|
11
11
|
export { Kbd, Tag, tagVariants } from './chunk-LFZV2XTZ.js';
|
|
12
12
|
export { Alert, AlertSimple, Banner, BannerSimple, Callout, InlineSpinner, LiveCursor, LoadingOverlay, LoadingState, MeterBar, NotificationCenter, NotificationItem, OnboardingChecklist, OnboardingChecklistTask, PresenceIndicator, ProgressBar, ProgressCircle, ProgressSteps, Skeleton, StatusIndicator, Toast, ToastSimple, Toaster, Tour, TrendIndicator, TypingIndicator, UndoBar, alertSimpleVariants, bannerSimpleVariants, progressFillVariants, progressTrackVariants, skeletonVariants, toastSimpleVariants, toaster, useOnboardingChecklist, useToaster } from './chunk-POIA4HIH.js';
|
|
13
13
|
export { Spinner, spinnerVariants } from './chunk-NCISNWMA.js';
|