@tutti-os/ui-system 0.0.197 → 0.0.199
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-OW6744SQ.js → chunk-QSVO3ZI2.js} +375 -278
- package/dist/chunk-QSVO3ZI2.js.map +1 -0
- package/dist/components/index.d.ts +29 -9
- package/dist/components/index.js +3 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -1
- package/dist/metadata/components.json +22 -0
- package/dist/metadata/index.js +22 -0
- package/dist/metadata/index.js.map +1 -1
- package/dist/styles/semantic.css +1 -0
- package/dist/styles/theme.css +3 -0
- package/package.json +1 -1
- package/ui-system.md +12 -0
- package/dist/chunk-OW6744SQ.js.map +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { Avatar as Avatar$1, Checkbox as Checkbox$1, ContextMenu as ContextMenu$1, Dialog as Dialog$1, DropdownMenu as DropdownMenu$1, Popover as Popover$1, Select as Select$1, Separator as Separator$1, Slider as Slider$1, Switch as Switch$1, Toast, Tooltip as Tooltip$1 } from 'radix-ui';
|
|
2
|
+
import * as React$1 from 'react';
|
|
3
|
+
import { ComponentProps, ReactNode, ComponentPropsWithoutRef, JSX, CSSProperties } from 'react';
|
|
1
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
5
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
-
import * as React$1 from 'react';
|
|
4
|
-
import { ReactNode, JSX, CSSProperties } from 'react';
|
|
5
6
|
import { VariantProps } from 'class-variance-authority';
|
|
6
|
-
import { Checkbox as Checkbox$1, ContextMenu as ContextMenu$1, Dialog as Dialog$1, DropdownMenu as DropdownMenu$1, Popover as Popover$1, Select as Select$1, Separator as Separator$1, Slider as Slider$1, Switch as Switch$1, Toast, Tooltip as Tooltip$1 } from 'radix-ui';
|
|
7
7
|
import { Drawer as Drawer$1 } from 'vaul';
|
|
8
8
|
import * as ResizablePrimitive from 'react-resizable-panels';
|
|
9
9
|
import { ToasterProps } from 'sonner';
|
|
@@ -11,9 +11,29 @@ export { ExternalToast, ToasterProps, toast } from 'sonner';
|
|
|
11
11
|
import { DndContextProps, UniqueIdentifier, DragEndEvent, DragOverlay } from '@dnd-kit/core';
|
|
12
12
|
import { SortableContextProps } from '@dnd-kit/sortable';
|
|
13
13
|
|
|
14
|
+
type AvatarFallback = "initial" | "empty";
|
|
15
|
+
type AvatarSize = "xs" | "sm" | "md" | "lg" | number;
|
|
16
|
+
type DataAttributes = {
|
|
17
|
+
[key: `data-${string}`]: boolean | number | string | undefined;
|
|
18
|
+
};
|
|
19
|
+
interface AvatarProps extends Omit<ComponentProps<typeof Avatar$1.Root>, "asChild" | "children"> {
|
|
20
|
+
children?: ReactNode;
|
|
21
|
+
fallback?: AvatarFallback;
|
|
22
|
+
fallbackColor?: string;
|
|
23
|
+
imageClassName?: string;
|
|
24
|
+
imageProps?: Omit<ComponentPropsWithoutRef<typeof Avatar$1.Image>, "alt" | "className" | "src"> & DataAttributes;
|
|
25
|
+
initial?: string;
|
|
26
|
+
label: string;
|
|
27
|
+
loading?: boolean;
|
|
28
|
+
size?: AvatarSize;
|
|
29
|
+
src?: string | null;
|
|
30
|
+
surfaceClassName?: string;
|
|
31
|
+
}
|
|
32
|
+
declare function Avatar({ children, className, fallback, fallbackColor, imageClassName, imageProps, initial, label, loading, size, src, style, surfaceClassName, ...rootProps }: AvatarProps): React.JSX.Element;
|
|
33
|
+
|
|
14
34
|
declare const badgeVariants: (props?: ({
|
|
15
|
-
variant?: "default" | "accent" | "success" | "warning" | "pending" | "muted" | "secondary" | "destructive" | "outline" | "ghost" |
|
|
16
|
-
size?: "
|
|
35
|
+
variant?: "link" | "default" | "accent" | "success" | "warning" | "pending" | "muted" | "secondary" | "destructive" | "outline" | "ghost" | null | undefined;
|
|
36
|
+
size?: "sm" | "default" | null | undefined;
|
|
17
37
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
18
38
|
declare function Badge({ className, variant, size, asChild, ...props }: React$1.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
|
|
19
39
|
asChild?: boolean;
|
|
@@ -32,8 +52,8 @@ type BareIconButtonProps = Omit<React$1.ComponentProps<"button">, "aria-label" |
|
|
|
32
52
|
declare const BareIconButton: React$1.ForwardRefExoticComponent<Omit<BareIconButtonProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
33
53
|
|
|
34
54
|
declare const buttonVariants: (props?: ({
|
|
35
|
-
variant?: "default" | "secondary" | "destructive" | "outline" | "ghost" | "
|
|
36
|
-
size?: "
|
|
55
|
+
variant?: "link" | "default" | "secondary" | "destructive" | "outline" | "ghost" | "chrome" | "destructive-secondary" | null | undefined;
|
|
56
|
+
size?: "xs" | "sm" | "lg" | "dialog" | "default" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
|
|
37
57
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
38
58
|
type ButtonProps = React$1.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
|
|
39
59
|
asChild?: boolean;
|
|
@@ -413,7 +433,7 @@ declare function SortableOverlay(props: SortableOverlayProps): React$1.ReactPort
|
|
|
413
433
|
|
|
414
434
|
declare const statusDotVariants: (props?: ({
|
|
415
435
|
tone?: "blue" | "green" | "red" | "neutral" | "amber" | null | undefined;
|
|
416
|
-
size?: "
|
|
436
|
+
size?: "xs" | "sm" | "md" | null | undefined;
|
|
417
437
|
pulse?: boolean | null | undefined;
|
|
418
438
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
419
439
|
type StatusDotProps = VariantProps<typeof statusDotVariants> & {
|
|
@@ -511,4 +531,4 @@ interface ViewportMenuSurfaceProps extends Omit<React$1.HTMLAttributes<HTMLDivEl
|
|
|
511
531
|
}
|
|
512
532
|
declare const ViewportMenuSurface: React$1.ForwardRefExoticComponent<ViewportMenuSurfaceProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
513
533
|
|
|
514
|
-
export { Badge, BareIconButton, type BareIconButtonProps, Button, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Combobox, type ComboboxOption, ConfirmationDialog, type ConfirmationDialogTone, ContextMenu, ContextMenuContent, ContextMenuItem, ContextMenuSeparator, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DatePicker, type DatePickerLabels, type DatePickerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Input, MentionPill, type MentionPillFileKind, type MentionPillKind, type MentionPillProps, type MenuPoint, type MenuPointAlignment, type MenuSize, MenuSurface, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverPortal, PopoverTrigger, RadioIndicator, type RadioIndicatorProps, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, type SectionTabItem, SectionTabs, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectSplitColumn, SelectSplitColumnItems, SelectSplitColumnLabel, SelectSplitDivider, SelectSplitLayout, SelectTrigger, SelectValue, Separator, ShortcutBadge, Slider, type SliderProps, Sortable, SortableContent, SortableItem, SortableItemHandle, SortableOverlay, type SortableProps, Spinner, type SpinnerProps, StatusDot, Switch, Textarea, ToastClose, ToastDescription, ToastProvider, ToastRoot, ToastTitle, ToastViewport, Toaster, Tooltip, TooltipContent, TooltipPortal, TooltipProvider, TooltipTrigger, TruncatingPillLabel, type TruncatingPillLabelProps, type UnderlineTabItem, UnderlineTabs, type ViewportMenuPlacement, ViewportMenuSurface, type ViewportMenuSurfaceProps, badgeVariants, buttonVariants, menuItemClassName, menuItemIndicatorClassName, menuItemWithIndicatorClassName, menuSurfaceClassName, statusDotVariants, toastVariants, useTextOverflow };
|
|
534
|
+
export { Avatar, type AvatarProps, Badge, BareIconButton, type BareIconButtonProps, Button, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Combobox, type ComboboxOption, ConfirmationDialog, type ConfirmationDialogTone, ContextMenu, ContextMenuContent, ContextMenuItem, ContextMenuSeparator, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DatePicker, type DatePickerLabels, type DatePickerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Input, MentionPill, type MentionPillFileKind, type MentionPillKind, type MentionPillProps, type MenuPoint, type MenuPointAlignment, type MenuSize, MenuSurface, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverPortal, PopoverTrigger, RadioIndicator, type RadioIndicatorProps, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, type SectionTabItem, SectionTabs, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectSplitColumn, SelectSplitColumnItems, SelectSplitColumnLabel, SelectSplitDivider, SelectSplitLayout, SelectTrigger, SelectValue, Separator, ShortcutBadge, Slider, type SliderProps, Sortable, SortableContent, SortableItem, SortableItemHandle, SortableOverlay, type SortableProps, Spinner, type SpinnerProps, StatusDot, Switch, Textarea, ToastClose, ToastDescription, ToastProvider, ToastRoot, ToastTitle, ToastViewport, Toaster, Tooltip, TooltipContent, TooltipPortal, TooltipProvider, TooltipTrigger, TruncatingPillLabel, type TruncatingPillLabelProps, type UnderlineTabItem, UnderlineTabs, type ViewportMenuPlacement, ViewportMenuSurface, type ViewportMenuSurfaceProps, badgeVariants, buttonVariants, menuItemClassName, menuItemIndicatorClassName, menuItemWithIndicatorClassName, menuSurfaceClassName, statusDotVariants, toastVariants, useTextOverflow };
|
package/dist/components/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
|
+
Avatar,
|
|
2
3
|
Badge,
|
|
3
4
|
BareIconButton,
|
|
4
5
|
Button,
|
|
@@ -124,10 +125,11 @@ import {
|
|
|
124
125
|
toast,
|
|
125
126
|
toastVariants,
|
|
126
127
|
useTextOverflow
|
|
127
|
-
} from "../chunk-
|
|
128
|
+
} from "../chunk-QSVO3ZI2.js";
|
|
128
129
|
import "../chunk-LD3MNTUQ.js";
|
|
129
130
|
import "../chunk-DGPY4WP3.js";
|
|
130
131
|
export {
|
|
132
|
+
Avatar,
|
|
131
133
|
Badge,
|
|
132
134
|
BareIconButton,
|
|
133
135
|
Button,
|
package/dist/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export { Badge, BareIconButton, BareIconButtonProps, Button, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Combobox, ComboboxOption, ConfirmationDialog, ConfirmationDialogTone, ContextMenu, ContextMenuContent, ContextMenuItem, ContextMenuSeparator, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DatePicker, DatePickerLabels, DatePickerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Input, MentionPill, MentionPillFileKind, MentionPillKind, MentionPillProps, MenuPoint, MenuPointAlignment, MenuSize, MenuSurface, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverPortal, PopoverTrigger, RadioIndicator, RadioIndicatorProps, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, SectionTabItem, SectionTabs, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectSplitColumn, SelectSplitColumnItems, SelectSplitColumnLabel, SelectSplitDivider, SelectSplitLayout, SelectTrigger, SelectValue, Separator, ShortcutBadge, Slider, SliderProps, Sortable, SortableContent, SortableItem, SortableItemHandle, SortableOverlay, SortableProps, Spinner, SpinnerProps, StatusDot, Switch, Textarea, ToastClose, ToastDescription, ToastProvider, ToastRoot, ToastTitle, ToastViewport, Toaster, Tooltip, TooltipContent, TooltipPortal, TooltipProvider, TooltipTrigger, TruncatingPillLabel, TruncatingPillLabelProps, UnderlineTabItem, UnderlineTabs, ViewportMenuPlacement, ViewportMenuSurface, ViewportMenuSurfaceProps, badgeVariants, buttonVariants, menuItemClassName, menuItemIndicatorClassName, menuItemWithIndicatorClassName, menuSurfaceClassName, statusDotVariants, toastVariants, useTextOverflow } from './components/index.js';
|
|
1
|
+
export { Avatar, AvatarProps, Badge, BareIconButton, BareIconButtonProps, Button, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Combobox, ComboboxOption, ConfirmationDialog, ConfirmationDialogTone, ContextMenu, ContextMenuContent, ContextMenuItem, ContextMenuSeparator, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DatePicker, DatePickerLabels, DatePickerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Input, MentionPill, MentionPillFileKind, MentionPillKind, MentionPillProps, MenuPoint, MenuPointAlignment, MenuSize, MenuSurface, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverPortal, PopoverTrigger, RadioIndicator, RadioIndicatorProps, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, SectionTabItem, SectionTabs, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectSplitColumn, SelectSplitColumnItems, SelectSplitColumnLabel, SelectSplitDivider, SelectSplitLayout, SelectTrigger, SelectValue, Separator, ShortcutBadge, Slider, SliderProps, Sortable, SortableContent, SortableItem, SortableItemHandle, SortableOverlay, SortableProps, Spinner, SpinnerProps, StatusDot, Switch, Textarea, ToastClose, ToastDescription, ToastProvider, ToastRoot, ToastTitle, ToastViewport, Toaster, Tooltip, TooltipContent, TooltipPortal, TooltipProvider, TooltipTrigger, TruncatingPillLabel, TruncatingPillLabelProps, UnderlineTabItem, UnderlineTabs, ViewportMenuPlacement, ViewportMenuSurface, ViewportMenuSurfaceProps, badgeVariants, buttonVariants, menuItemClassName, menuItemIndicatorClassName, menuItemWithIndicatorClassName, menuSurfaceClassName, statusDotVariants, toastVariants, useTextOverflow } from './components/index.js';
|
|
2
2
|
export { AddIcon, AddLinedIcon, AgentSessionsIcon, AppWindowIcon, ArrowLeftIcon, ArrowRightIcon, AskLinedIcon, BillingIcon, CapabilityIcon, ChatIcon, CheckIcon, ChevronDownIcon, ChevronUpIcon, ChromeIcon, CloseEyesIcon, CloseIcon, CollapseLinedIcon, CopyIcon, CreateChatIcon, CreditsIcon, DarkModeIcon, DashboardIcon, DeleteIcon, DirectoryIcon, DiscordIcon, DownloadIcon, EditIcon, EyeIcon, FailedFilledIcon, FailedLinedIcon, FeedbackIcon, FileCodeIcon, FileCreateIcon, FileIcon, FileLinedIcon, FileTextIcon, FolderFailedFilledIcon, FolderFailedIcon, FolderFilledIcon, FolderIcon, FolderOpenLinedIcon, GitHubBrandIcon, GoogleBrandIcon, GridBottomLinedIcon, GridHorizontalLinedIcon, GridLeftLinedIcon, GridRightLinedIcon, GridTopLinedIcon, GridVerticalLinedIcon, GripVerticalIcon, GuideIcon, HealthIcon, IconProps, ImageFileIcon, ImageGenerateIcon, ImportLinedIcon, InspectIcon, IssueIcon, KeyboardFilledIcon, KeyboardIcon, LaunchIcon, LayoutMenuIcon, LayoutPresetIcon, LayoutPresetIconProps, LightModeIcon, LinkIcon, LoadingIcon, LoadingIconProps, LocateFolderIcon, LockGridHorizontalLinedIcon, LockGridVerticalLinedIcon, LockLayoutLinedIcon, MaximizeIcon, MessageSquareTextIcon, MinimizeIcon, MoreHorizontalIcon, NavAgentsIcon, NavApplicationsFilledIcon, NavApplicationsLinedIcon, NavLaunchIcon, NewWorkspaceIcon, NewWorkspaceLinedIcon, NoWorkspaceLinedIcon, OpenLinkLinedIcon, OpenSessionsIcon, OverviewLayoutIcon, PanelIcon, PauseIcon, PinFilledIcon, PinIcon, PlatformIcon, PlayIcon, ProductDocIcon, ProductIcon, RecentLinedIcon, RefreshIcon, RestoreIcon, RoomsHintIcon, SearchIcon, SettingsIcon, SignOutIcon, SuccessFilledIcon, SuccessLinedIcon, TaskIcon, TerminalLinedIcon, ThinkingIcon, ToolsIcon, TuttiMark, UnavailableChatIcon, UninstallIcon, UpgradeArrowIcon, UploadFolderIcon, UploadIcon, UserLinedIcon, VideoFileIcon, ViewGridLinedIcon, ViewListLinedIcon, WarningFilledIcon, WarningLinedIcon, WeChatIcon, WebIcon, WebScrapeIcon, WindowTrafficLightIcon, WindowTrafficLightIconName, WindowTrafficLightIconProps } from './icons/index.js';
|
|
3
3
|
export { TuttiDateLocale, formatTuttiDateTime, formatTuttiShortDateTime, getCurrentTuttiDateLocale } from './date-format.js';
|
|
4
4
|
export { cn } from './utils.js';
|
|
5
5
|
export { ExternalToast, ToasterProps, toast } from 'sonner';
|
|
6
|
+
import 'radix-ui';
|
|
7
|
+
import 'react';
|
|
6
8
|
import 'react/jsx-runtime';
|
|
7
9
|
import 'class-variance-authority/types';
|
|
8
|
-
import 'react';
|
|
9
10
|
import 'class-variance-authority';
|
|
10
|
-
import 'radix-ui';
|
|
11
11
|
import 'vaul';
|
|
12
12
|
import 'react-resizable-panels';
|
|
13
13
|
import '@dnd-kit/core';
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
|
+
Avatar,
|
|
2
3
|
Badge,
|
|
3
4
|
BareIconButton,
|
|
4
5
|
Button,
|
|
@@ -124,7 +125,7 @@ import {
|
|
|
124
125
|
toast,
|
|
125
126
|
toastVariants,
|
|
126
127
|
useTextOverflow
|
|
127
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-QSVO3ZI2.js";
|
|
128
129
|
import {
|
|
129
130
|
formatTuttiDateTime,
|
|
130
131
|
formatTuttiShortDateTime,
|
|
@@ -265,6 +266,7 @@ export {
|
|
|
265
266
|
ArrowLeftIcon,
|
|
266
267
|
ArrowRightIcon,
|
|
267
268
|
AskLinedIcon,
|
|
269
|
+
Avatar,
|
|
268
270
|
Badge,
|
|
269
271
|
BareIconButton,
|
|
270
272
|
BillingIcon,
|
|
@@ -94,6 +94,28 @@
|
|
|
94
94
|
"useCases": ["Drag handles", "Reorder controls"],
|
|
95
95
|
"migrationHints": []
|
|
96
96
|
},
|
|
97
|
+
{
|
|
98
|
+
"id": "avatar",
|
|
99
|
+
"layer": "base",
|
|
100
|
+
"name": "Avatar",
|
|
101
|
+
"export": "Avatar",
|
|
102
|
+
"from": "@tutti-os/ui-system/components",
|
|
103
|
+
"category": "primitive",
|
|
104
|
+
"status": "stable",
|
|
105
|
+
"source": "src/components/avatar/index.tsx",
|
|
106
|
+
"description": "High-level identity image primitive with initial, empty, loading, and broken-image fallback states.",
|
|
107
|
+
"propsType": "AvatarProps",
|
|
108
|
+
"useCases": [
|
|
109
|
+
"People and account identity",
|
|
110
|
+
"Agent identity",
|
|
111
|
+
"Compact image surfaces with caller-owned overlays"
|
|
112
|
+
],
|
|
113
|
+
"migrationHints": [
|
|
114
|
+
"Pass a stable label even when src is available so broken images have a meaningful fallback.",
|
|
115
|
+
"Use children for caller-owned presence badges and other overlays."
|
|
116
|
+
],
|
|
117
|
+
"storyboard": true
|
|
118
|
+
},
|
|
97
119
|
{
|
|
98
120
|
"id": "badge",
|
|
99
121
|
"layer": "base",
|
package/dist/metadata/index.js
CHANGED
|
@@ -95,6 +95,28 @@ var components_default = {
|
|
|
95
95
|
useCases: ["Drag handles", "Reorder controls"],
|
|
96
96
|
migrationHints: []
|
|
97
97
|
},
|
|
98
|
+
{
|
|
99
|
+
id: "avatar",
|
|
100
|
+
layer: "base",
|
|
101
|
+
name: "Avatar",
|
|
102
|
+
export: "Avatar",
|
|
103
|
+
from: "@tutti-os/ui-system/components",
|
|
104
|
+
category: "primitive",
|
|
105
|
+
status: "stable",
|
|
106
|
+
source: "src/components/avatar/index.tsx",
|
|
107
|
+
description: "High-level identity image primitive with initial, empty, loading, and broken-image fallback states.",
|
|
108
|
+
propsType: "AvatarProps",
|
|
109
|
+
useCases: [
|
|
110
|
+
"People and account identity",
|
|
111
|
+
"Agent identity",
|
|
112
|
+
"Compact image surfaces with caller-owned overlays"
|
|
113
|
+
],
|
|
114
|
+
migrationHints: [
|
|
115
|
+
"Pass a stable label even when src is available so broken images have a meaningful fallback.",
|
|
116
|
+
"Use children for caller-owned presence badges and other overlays."
|
|
117
|
+
],
|
|
118
|
+
storyboard: true
|
|
119
|
+
},
|
|
98
120
|
{
|
|
99
121
|
id: "badge",
|
|
100
122
|
layer: "base",
|