@tutti-os/ui-system 0.0.99 → 0.0.101
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-XVAQEGXC.js → chunk-5BWNLF4L.js} +70 -56
- package/dist/chunk-5BWNLF4L.js.map +1 -0
- package/dist/{chunk-KBF64EIF.js → chunk-AL2NBJNO.js} +11 -1
- package/dist/{chunk-KBF64EIF.js.map → chunk-AL2NBJNO.js.map} +1 -1
- package/dist/components/index.d.ts +2 -2
- package/dist/components/index.js +2 -2
- package/dist/icons/index.d.ts +2 -1
- package/dist/icons/index.js +3 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -2
- package/dist/metadata/components.json +14 -0
- package/dist/metadata/index.js +14 -0
- package/dist/metadata/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-XVAQEGXC.js.map +0 -1
|
@@ -187,10 +187,10 @@ interface MentionPillProps extends Omit<React$1.ComponentProps<"span">, "childre
|
|
|
187
187
|
declare function MentionPill({ className, fileKind, iconUrl, kind, label, removable, removeButtonProps, style, summary, withTooltipProvider, ...props }: MentionPillProps): React$1.JSX.Element;
|
|
188
188
|
|
|
189
189
|
/**
|
|
190
|
-
*
|
|
190
|
+
* 监测元素或指定后代是否因 overflow 被截断(scrollWidth > clientWidth)。
|
|
191
191
|
* 返回要挂到「截断元素」上的 ref,以及是否正在溢出。随容器尺寸变化实时更新。
|
|
192
192
|
*/
|
|
193
|
-
declare function useTextOverflow<T extends HTMLElement = HTMLElement>(watch: unknown): {
|
|
193
|
+
declare function useTextOverflow<T extends HTMLElement = HTMLElement>(watch: unknown, descendantSelector?: string): {
|
|
194
194
|
ref: React$1.RefObject<T | null>;
|
|
195
195
|
overflowing: boolean;
|
|
196
196
|
};
|
package/dist/components/index.js
CHANGED
|
@@ -113,8 +113,8 @@ import {
|
|
|
113
113
|
toast,
|
|
114
114
|
toastVariants,
|
|
115
115
|
useTextOverflow
|
|
116
|
-
} from "../chunk-
|
|
117
|
-
import "../chunk-
|
|
116
|
+
} from "../chunk-5BWNLF4L.js";
|
|
117
|
+
import "../chunk-AL2NBJNO.js";
|
|
118
118
|
import "../chunk-DGPY4WP3.js";
|
|
119
119
|
export {
|
|
120
120
|
Badge,
|
package/dist/icons/index.d.ts
CHANGED
|
@@ -115,6 +115,7 @@ declare function WebIcon(props: IconProps): react_jsx_runtime.JSX.Element;
|
|
|
115
115
|
declare function CapabilityIcon(props: IconProps): react_jsx_runtime.JSX.Element;
|
|
116
116
|
declare function TaskIcon(props: IconProps): react_jsx_runtime.JSX.Element;
|
|
117
117
|
declare function ThinkingIcon(props: IconProps): react_jsx_runtime.JSX.Element;
|
|
118
|
+
declare function InspectIcon(props: IconProps): react_jsx_runtime.JSX.Element;
|
|
118
119
|
declare function WebScrapeIcon(props: IconProps): react_jsx_runtime.JSX.Element;
|
|
119
120
|
declare function ChatIcon(props: IconProps): react_jsx_runtime.JSX.Element;
|
|
120
121
|
declare function RoomsHintIcon(props: IconProps): react_jsx_runtime.JSX.Element;
|
|
@@ -139,4 +140,4 @@ declare function CreditsIcon(props: IconProps): react_jsx_runtime.JSX.Element;
|
|
|
139
140
|
declare function BillingIcon(props: IconProps): react_jsx_runtime.JSX.Element;
|
|
140
141
|
declare function SignOutIcon(props: IconProps): react_jsx_runtime.JSX.Element;
|
|
141
142
|
|
|
142
|
-
export { AddIcon, AddLinedIcon, AgentSessionsIcon, AppWindowIcon, ArrowLeftIcon, ArrowRightIcon, AskLinedIcon, BillingIcon, CapabilityIcon, ChatIcon, CheckIcon, ChevronDownIcon, ChevronUpIcon, 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, GuideIcon, HealthIcon, type IconProps, ImageFileIcon, ImageGenerateIcon, ImportLinedIcon, IssueIcon, KeyboardFilledIcon, KeyboardIcon, LaunchIcon, LayoutMenuIcon, LayoutPresetIcon, type LayoutPresetIconProps, LightModeIcon, LinkIcon, LoadingIcon, type LoadingIconProps, LocateFolderIcon, LockGridHorizontalLinedIcon, LockGridVerticalLinedIcon, LockLayoutLinedIcon, MaximizeIcon, 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, type WindowTrafficLightIconName, type WindowTrafficLightIconProps };
|
|
143
|
+
export { AddIcon, AddLinedIcon, AgentSessionsIcon, AppWindowIcon, ArrowLeftIcon, ArrowRightIcon, AskLinedIcon, BillingIcon, CapabilityIcon, ChatIcon, CheckIcon, ChevronDownIcon, ChevronUpIcon, 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, GuideIcon, HealthIcon, type IconProps, ImageFileIcon, ImageGenerateIcon, ImportLinedIcon, InspectIcon, IssueIcon, KeyboardFilledIcon, KeyboardIcon, LaunchIcon, LayoutMenuIcon, LayoutPresetIcon, type LayoutPresetIconProps, LightModeIcon, LinkIcon, LoadingIcon, type LoadingIconProps, LocateFolderIcon, LockGridHorizontalLinedIcon, LockGridVerticalLinedIcon, LockLayoutLinedIcon, MaximizeIcon, 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, type WindowTrafficLightIconName, type WindowTrafficLightIconProps };
|
package/dist/icons/index.js
CHANGED
|
@@ -56,6 +56,7 @@ import {
|
|
|
56
56
|
ImageFileIcon,
|
|
57
57
|
ImageGenerateIcon,
|
|
58
58
|
ImportLinedIcon,
|
|
59
|
+
InspectIcon,
|
|
59
60
|
IssueIcon,
|
|
60
61
|
KeyboardFilledIcon,
|
|
61
62
|
KeyboardIcon,
|
|
@@ -117,7 +118,7 @@ import {
|
|
|
117
118
|
WebIcon,
|
|
118
119
|
WebScrapeIcon,
|
|
119
120
|
WindowTrafficLightIcon
|
|
120
|
-
} from "../chunk-
|
|
121
|
+
} from "../chunk-AL2NBJNO.js";
|
|
121
122
|
export {
|
|
122
123
|
AddIcon,
|
|
123
124
|
AddLinedIcon,
|
|
@@ -172,6 +173,7 @@ export {
|
|
|
172
173
|
ImageFileIcon,
|
|
173
174
|
ImageGenerateIcon,
|
|
174
175
|
ImportLinedIcon,
|
|
176
|
+
InspectIcon,
|
|
175
177
|
IssueIcon,
|
|
176
178
|
KeyboardFilledIcon,
|
|
177
179
|
KeyboardIcon,
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { Badge, BareIconButton, BareIconButtonProps, Button, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, ConfirmationDialog, ConfirmationDialogTone, ContextMenu, ContextMenuContent, ContextMenuItem, 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, 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
|
-
export { AddIcon, AddLinedIcon, AgentSessionsIcon, AppWindowIcon, ArrowLeftIcon, ArrowRightIcon, AskLinedIcon, BillingIcon, CapabilityIcon, ChatIcon, CheckIcon, ChevronDownIcon, ChevronUpIcon, 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, GuideIcon, HealthIcon, IconProps, ImageFileIcon, ImageGenerateIcon, ImportLinedIcon, IssueIcon, KeyboardFilledIcon, KeyboardIcon, LaunchIcon, LayoutMenuIcon, LayoutPresetIcon, LayoutPresetIconProps, LightModeIcon, LinkIcon, LoadingIcon, LoadingIconProps, LocateFolderIcon, LockGridHorizontalLinedIcon, LockGridVerticalLinedIcon, LockLayoutLinedIcon, MaximizeIcon, 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';
|
|
2
|
+
export { AddIcon, AddLinedIcon, AgentSessionsIcon, AppWindowIcon, ArrowLeftIcon, ArrowRightIcon, AskLinedIcon, BillingIcon, CapabilityIcon, ChatIcon, CheckIcon, ChevronDownIcon, ChevronUpIcon, 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, GuideIcon, HealthIcon, IconProps, ImageFileIcon, ImageGenerateIcon, ImportLinedIcon, InspectIcon, IssueIcon, KeyboardFilledIcon, KeyboardIcon, LaunchIcon, LayoutMenuIcon, LayoutPresetIcon, LayoutPresetIconProps, LightModeIcon, LinkIcon, LoadingIcon, LoadingIconProps, LocateFolderIcon, LockGridHorizontalLinedIcon, LockGridVerticalLinedIcon, LockLayoutLinedIcon, MaximizeIcon, 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';
|
package/dist/index.js
CHANGED
|
@@ -113,7 +113,7 @@ import {
|
|
|
113
113
|
toast,
|
|
114
114
|
toastVariants,
|
|
115
115
|
useTextOverflow
|
|
116
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-5BWNLF4L.js";
|
|
117
117
|
import {
|
|
118
118
|
formatTuttiDateTime,
|
|
119
119
|
formatTuttiShortDateTime,
|
|
@@ -177,6 +177,7 @@ import {
|
|
|
177
177
|
ImageFileIcon,
|
|
178
178
|
ImageGenerateIcon,
|
|
179
179
|
ImportLinedIcon,
|
|
180
|
+
InspectIcon,
|
|
180
181
|
IssueIcon,
|
|
181
182
|
KeyboardFilledIcon,
|
|
182
183
|
KeyboardIcon,
|
|
@@ -238,7 +239,7 @@ import {
|
|
|
238
239
|
WebIcon,
|
|
239
240
|
WebScrapeIcon,
|
|
240
241
|
WindowTrafficLightIcon
|
|
241
|
-
} from "./chunk-
|
|
242
|
+
} from "./chunk-AL2NBJNO.js";
|
|
242
243
|
import {
|
|
243
244
|
cn
|
|
244
245
|
} from "./chunk-DGPY4WP3.js";
|
|
@@ -349,6 +350,7 @@ export {
|
|
|
349
350
|
ImageGenerateIcon,
|
|
350
351
|
ImportLinedIcon,
|
|
351
352
|
Input,
|
|
353
|
+
InspectIcon,
|
|
352
354
|
IssueIcon,
|
|
353
355
|
KeyboardFilledIcon,
|
|
354
356
|
KeyboardIcon,
|
|
@@ -2935,6 +2935,20 @@
|
|
|
2935
2935
|
"migrationHints": [],
|
|
2936
2936
|
"iconVariant": "lined"
|
|
2937
2937
|
},
|
|
2938
|
+
{
|
|
2939
|
+
"id": "inspect-lined-icon",
|
|
2940
|
+
"layer": "base",
|
|
2941
|
+
"name": "InspectIcon",
|
|
2942
|
+
"export": "InspectIcon",
|
|
2943
|
+
"from": "@tutti-os/ui-system/icons",
|
|
2944
|
+
"category": "icon",
|
|
2945
|
+
"status": "stable",
|
|
2946
|
+
"source": "src/icons/system-icons.tsx",
|
|
2947
|
+
"description": "System icon for selecting and inspecting interface elements.",
|
|
2948
|
+
"useCases": ["Element selection", "Interface inspection"],
|
|
2949
|
+
"migrationHints": [],
|
|
2950
|
+
"iconVariant": "lined"
|
|
2951
|
+
},
|
|
2938
2952
|
{
|
|
2939
2953
|
"id": "web-scrape-lined-icon",
|
|
2940
2954
|
"layer": "base",
|
package/dist/metadata/index.js
CHANGED
|
@@ -2936,6 +2936,20 @@ var components_default = {
|
|
|
2936
2936
|
migrationHints: [],
|
|
2937
2937
|
iconVariant: "lined"
|
|
2938
2938
|
},
|
|
2939
|
+
{
|
|
2940
|
+
id: "inspect-lined-icon",
|
|
2941
|
+
layer: "base",
|
|
2942
|
+
name: "InspectIcon",
|
|
2943
|
+
export: "InspectIcon",
|
|
2944
|
+
from: "@tutti-os/ui-system/icons",
|
|
2945
|
+
category: "icon",
|
|
2946
|
+
status: "stable",
|
|
2947
|
+
source: "src/icons/system-icons.tsx",
|
|
2948
|
+
description: "System icon for selecting and inspecting interface elements.",
|
|
2949
|
+
useCases: ["Element selection", "Interface inspection"],
|
|
2950
|
+
migrationHints: [],
|
|
2951
|
+
iconVariant: "lined"
|
|
2952
|
+
},
|
|
2939
2953
|
{
|
|
2940
2954
|
id: "web-scrape-lined-icon",
|
|
2941
2955
|
layer: "base",
|