@dust-tt/sparkle 0.2.48 → 0.2.49-pr
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/cjs/_index.d.ts +4 -4
- package/dist/cjs/components/Button.d.ts +1 -2
- package/dist/cjs/icons/solid/index.d.ts +0 -3
- package/dist/cjs/icons/stroke/index.d.ts +0 -3
- package/dist/cjs/index.js +6 -30
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/stories/Button.stories.d.ts +0 -1
- package/dist/esm/_index.d.ts +4 -4
- package/dist/esm/components/Button.d.ts +1 -2
- package/dist/esm/icons/solid/index.d.ts +0 -3
- package/dist/esm/icons/stroke/index.d.ts +0 -3
- package/dist/esm/index.js +7 -25
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/stories/Button.stories.d.ts +0 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/cjs/icons/solid/ArrowDown.d.ts +0 -4
- package/dist/cjs/icons/solid/ArrowLeft.d.ts +0 -4
- package/dist/cjs/icons/solid/ArrowUp.d.ts +0 -4
- package/dist/cjs/icons/stroke/ArrowDown.d.ts +0 -4
- package/dist/cjs/icons/stroke/ArrowLeft.d.ts +0 -4
- package/dist/cjs/icons/stroke/ArrowUp.d.ts +0 -4
- package/dist/esm/icons/solid/ArrowDown.d.ts +0 -4
- package/dist/esm/icons/solid/ArrowLeft.d.ts +0 -4
- package/dist/esm/icons/solid/ArrowUp.d.ts +0 -4
- package/dist/esm/icons/stroke/ArrowDown.d.ts +0 -4
- package/dist/esm/icons/stroke/ArrowLeft.d.ts +0 -4
- package/dist/esm/icons/stroke/ArrowUp.d.ts +0 -4
package/dist/cjs/_index.d.ts
CHANGED
|
@@ -64,7 +64,7 @@ import { LogoHorizontalColor as LogoHorizontalColorLogo, LogoHorizontalColorLaye
|
|
|
64
64
|
export { LogoHorizontalColorLogo, LogoHorizontalColorLogoLayer1, LogoHorizontalColorLogoLayer2, LogoHorizontalDarkLogo, LogoHorizontalWhiteLogo, LogoSquareColorLogo, LogoSquareColorLogoLayer1, LogoSquareColorLogoLayer2, LogoSquareDarkLogo, LogoSquareWhiteLogo, };
|
|
65
65
|
import { Ai21 as Ai21Logo, Anthropic as AnthropicLogo, AnthropicWhite as AnthropicWhiteLogo, Claude as ClaudeLogo, Cohere as CohereLogo, Drive as DriveLogo, Github as GithubLogo, GithubWhite as GithubWhiteLogo, Google as GoogleLogo, Gpt3 as Gpt3Logo, Gpt4 as Gpt4Logo, HuggingFace as HuggingFaceLogo, Intercom as IntercomLogo, Microsoft as MicrosoftLogo, Mistral as MistralLogo, Notion as NotionLogo, Openai as OpenaiLogo, OpenaiWhite as OpenaiWhiteLogo, Replicate as ReplicateLogo, Slack as SlackLogo } from "./logo/platforms";
|
|
66
66
|
export { Ai21Logo, AnthropicLogo, AnthropicWhiteLogo, ClaudeLogo, CohereLogo, DriveLogo, GithubLogo, GithubWhiteLogo, GoogleLogo, Gpt3Logo, Gpt4Logo, HuggingFaceLogo, IntercomLogo, MicrosoftLogo, MistralLogo, NotionLogo, OpenaiLogo, OpenaiWhiteLogo, ReplicateLogo, SlackLogo, };
|
|
67
|
-
import {
|
|
68
|
-
export { ArrowDownCircleIcon,
|
|
69
|
-
import {
|
|
70
|
-
export { ArrowDownCircleStrokeIcon, ArrowDownOnSquareStrokeIcon,
|
|
67
|
+
import { ArrowDownCircle as ArrowDownCircleIcon, ArrowDownOnSquare as ArrowDownOnSquareIcon, ArrowPath as ArrowPathIcon, ArrowRight as ArrowRightIcon, ArrowUpOnSquare as ArrowUpOnSquareIcon, Attachment as AttachmentIcon, Backspace as BackspaceIcon, Bookmark as BookmarkIcon, BookOpen as BookOpenIcon, Braces as BracesIcon, Card as CardIcon, ChatBubbleBottomCenterPlus as ChatBubbleBottomCenterPlusIcon, ChatBubbleBottomCenterText as ChatBubbleBottomCenterTextIcon, ChatBubbleLeftRight as ChatBubbleLeftRightIcon, Check as CheckIcon, CheckCircle as CheckCircleIcon, ChevronDown as ChevronDownIcon, ChevronLeft as ChevronLeftIcon, ChevronRight as ChevronRightIcon, ChevronUp as ChevronUpIcon, ChevronUpDown as ChevronUpDownIcon, Circle as CircleIcon, Clipboard as ClipboardIcon, ClipboardCheck as ClipboardCheckIcon, Clock as ClockIcon, CloudArrowDown as CloudArrowDownIcon, CloudArrowLeftRight as CloudArrowLeftRightIcon, CloudX as CloudXIcon, Cog6Tooth as Cog6ToothIcon, CommandLine as CommandLineIcon, Cube as CubeIcon, Dash as DashIcon, DocumentDuplicate as DocumentDuplicateIcon, DocumentPile as DocumentPileIcon, DocumentPlus as DocumentPlusIcon, DocumentText as DocumentTextIcon, EmotionLaugh as EmotionLaughIcon, Equalizer as EqualizerIcon, ExclamationCircle as ExclamationCircleIcon, ExternalLink as ExternalLinkIcon, Eye as EyeIcon, EyeSlash as EyeSlashIcon, Flag as FlagIcon, FolderOpen as FolderOpenIcon, Fullscreen as FullscreenIcon, FullscreenExit as FullscreenExitIcon, GlobeAlt as GlobeAltIcon, HandThumbDown as HandThumbDownIcon, HandThumbUp as HandThumbUpIcon, Hexagon as HexagonIcon, Image as ImageIcon, InformationCircle as InformationCircleIcon, Key as KeyIcon, Lightbulb as LightbulbIcon, Link as LinkIcon, ListCheck as ListCheckIcon, Lock as LockIcon, Login as LoginIcon, Logout as LogoutIcon, MagnifyingGlass as MagnifyingGlassIcon, Menu as MenuIcon, More as MoreIcon, MovingMail as MovingMailIcon, Paint as PaintIcon, PaperAirplane as PaperAirplaneIcon, Pause as PauseIcon, PencilSquare as PencilSquareIcon, Planet as PlanetIcon, Play as PlayIcon, Plus as PlusIcon, PlusCircle as PlusCircleIcon, QuestionMarkCircle as QuestionMarkCircleIcon, Reaction as ReactionIcon, Rectangle as RectangleIcon, Robot as RobotIcon, RobotShared as RobotSharedIcon, Rocket as RocketIcon, Server as ServerIcon, ShakeHands as ShakeHandsIcon, Shapes as ShapesIcon, Sparkles as SparklesIcon, Square as SquareIcon, Square3Stack3D as Square3Stack3DIcon, Stop as StopIcon, TestTube as TestTubeIcon, Trash as TrashIcon, Triangle as TriangleIcon, User as UserIcon, UserArrow as UserArrowIcon, UserGroup as UserGroupIcon, UserPlus as UserPlusIcon, Wrench as WrenchIcon, XCircle as XCircleIcon, XMark as XMarkIcon } from "./icons/solid";
|
|
68
|
+
export { ArrowDownCircleIcon, ArrowDownOnSquareIcon, ArrowPathIcon, ArrowRightIcon, ArrowUpOnSquareIcon, AttachmentIcon, BackspaceIcon, BookmarkIcon, BookOpenIcon, BracesIcon, CardIcon, ChatBubbleBottomCenterPlusIcon, ChatBubbleBottomCenterTextIcon, ChatBubbleLeftRightIcon, CheckCircleIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpDownIcon, ChevronUpIcon, CircleIcon, ClipboardCheckIcon, ClipboardIcon, ClockIcon, CloudArrowDownIcon, CloudArrowLeftRightIcon, CloudXIcon, Cog6ToothIcon, CommandLineIcon, CubeIcon, DashIcon, DocumentDuplicateIcon, DocumentPileIcon, DocumentPlusIcon, DocumentTextIcon, EmotionLaughIcon, EqualizerIcon, ExclamationCircleIcon, ExternalLinkIcon, EyeIcon, EyeSlashIcon, FlagIcon, FolderOpenIcon, FullscreenExitIcon, FullscreenIcon, GlobeAltIcon, HandThumbDownIcon, HandThumbUpIcon, HexagonIcon, ImageIcon, InformationCircleIcon, KeyIcon, LightbulbIcon, LinkIcon, ListCheckIcon, LockIcon, LoginIcon, LogoutIcon, MagnifyingGlassIcon, MenuIcon, MoreIcon, MovingMailIcon, PaintIcon, PaperAirplaneIcon, PauseIcon, PencilSquareIcon, PlanetIcon, PlayIcon, PlusCircleIcon, PlusIcon, QuestionMarkCircleIcon, ReactionIcon, RectangleIcon, RobotIcon, RobotSharedIcon, RocketIcon, ServerIcon, ShakeHandsIcon, ShapesIcon, SparklesIcon, Square3Stack3DIcon, SquareIcon, StopIcon, TestTubeIcon, TrashIcon, TriangleIcon, UserArrowIcon, UserGroupIcon, UserIcon, UserPlusIcon, WrenchIcon, XCircleIcon, XMarkIcon, };
|
|
69
|
+
import { ArrowDownCircle as ArrowDownCircleStrokeIcon, ArrowDownOnSquare as ArrowDownOnSquareStrokeIcon, ArrowPath as ArrowPathStrokeIcon, ArrowRight as ArrowRightStrokeIcon, ArrowUpOnSquare as ArrowUpOnSquareStrokeIcon, Attachment as AttachmentStrokeIcon, Backspace as BackspaceStrokeIcon, Bookmark as BookmarkStrokeIcon, BookOpen as BookOpenStrokeIcon, Braces as BracesStrokeIcon, Card as CardStrokeIcon, ChatBubbleBottomCenterPlus as ChatBubbleBottomCenterPlusStrokeIcon, ChatBubbleBottomCenterText as ChatBubbleBottomCenterTextStrokeIcon, ChatBubbleLeftRight as ChatBubbleLeftRightStrokeIcon, Check as CheckStrokeIcon, CheckCircle as CheckCircleStrokeIcon, ChevronDown as ChevronDownStrokeIcon, ChevronLeft as ChevronLeftStrokeIcon, ChevronRight as ChevronRightStrokeIcon, ChevronUp as ChevronUpStrokeIcon, ChevronUpDown as ChevronUpDownStrokeIcon, Circle as CircleStrokeIcon, Clipboard as ClipboardStrokeIcon, ClipboardCheck as ClipboardCheckStrokeIcon, Clock as ClockStrokeIcon, CloudArrowDown as CloudArrowDownStrokeIcon, CloudArrowLeftRight as CloudArrowLeftRightStrokeIcon, CloudX as CloudXStrokeIcon, Cog6Tooth as Cog6ToothStrokeIcon, CommandLine as CommandLineStrokeIcon, Cube as CubeStrokeIcon, Dash as DashStrokeIcon, DocumentDuplicate as DocumentDuplicateStrokeIcon, DocumentPile as DocumentPileStrokeIcon, DocumentPlus as DocumentPlusStrokeIcon, DocumentText as DocumentTextStrokeIcon, EmotionLaugh as EmotionLaughStrokeIcon, Equalizer as EqualizerStrokeIcon, ExclamationCircle as ExclamationCircleStrokeIcon, ExternalLink as ExternalLinkStrokeIcon, Eye as EyeStrokeIcon, EyeSlash as EyeSlashStrokeIcon, Flag as FlagStrokeIcon, FolderOpen as FolderOpenStrokeIcon, Fullscreen as FullscreenStrokeIcon, FullscreenExit as FullscreenExitStrokeIcon, GlobeAlt as GlobeAltStrokeIcon, HandThumbDown as HandThumbDownStrokeIcon, HandThumbUp as HandThumbUpStrokeIcon, Hexagon as HexagonStrokeIcon, Image as ImageStrokeIcon, InformationCircle as InformationCircleStrokeIcon, Key as KeyStrokeIcon, Lightbulb as LightbulbStrokeIcon, Link as LinkStrokeIcon, ListCheck as ListCheckStrokeIcon, Lock as LockStrokeIcon, Login as LoginStrokeIcon, Logout as LogoutStrokeIcon, MagnifyingGlass as MagnifyingGlassStrokeIcon, Menu as MenuStrokeIcon, More as MoreStrokeIcon, MovingMail as MovingMailStrokeIcon, Paint as PaintStrokeIcon, PaperAirplane as PaperAirplaneStrokeIcon, Pause as PauseStrokeIcon, PencilSquare as PencilSquareStrokeIcon, Planet as PlanetStrokeIcon, Play as PlayStrokeIcon, Plus as PlusStrokeIcon, PlusCircle as PlusCircleStrokeIcon, QuestionMarkCircle as QuestionMarkCircleStrokeIcon, Reaction as ReactionStrokeIcon, Rectangle as RectangleStrokeIcon, Robot as RobotStrokeIcon, RobotShared as RobotSharedStrokeIcon, Rocket as RocketStrokeIcon, Server as ServerStrokeIcon, ShakeHands as ShakeHandsStrokeIcon, Shapes as ShapesStrokeIcon, Sparkles as SparklesStrokeIcon, Square as SquareStrokeIcon, Square3Stack3D as Square3Stack3DStrokeIcon, Stop as StopStrokeIcon, TestTube as TestTubeStrokeIcon, Trash as TrashStrokeIcon, Triangle as TriangleStrokeIcon, User as UserStrokeIcon, UserArrow as UserArrowStrokeIcon, UserGroup as UserGroupStrokeIcon, UserPlus as UserPlusStrokeIcon, Wrench as WrenchStrokeIcon, XCircle as XCircleStrokeIcon, XMark as XMarkStrokeIcon } from "./icons/stroke";
|
|
70
|
+
export { ArrowDownCircleStrokeIcon, ArrowDownOnSquareStrokeIcon, ArrowPathStrokeIcon, ArrowRightStrokeIcon, ArrowUpOnSquareStrokeIcon, AttachmentStrokeIcon, BackspaceStrokeIcon, BookmarkStrokeIcon, BookOpenStrokeIcon, BracesStrokeIcon, CardStrokeIcon, ChatBubbleBottomCenterPlusStrokeIcon, ChatBubbleBottomCenterTextStrokeIcon, ChatBubbleLeftRightStrokeIcon, CheckCircleStrokeIcon, CheckStrokeIcon, ChevronDownStrokeIcon, ChevronLeftStrokeIcon, ChevronRightStrokeIcon, ChevronUpDownStrokeIcon, ChevronUpStrokeIcon, CircleStrokeIcon, ClipboardCheckStrokeIcon, ClipboardStrokeIcon, ClockStrokeIcon, CloudArrowDownStrokeIcon, CloudArrowLeftRightStrokeIcon, CloudXStrokeIcon, Cog6ToothStrokeIcon, CommandLineStrokeIcon, CubeStrokeIcon, DashStrokeIcon, DocumentDuplicateStrokeIcon, DocumentPileStrokeIcon, DocumentPlusStrokeIcon, DocumentTextStrokeIcon, EmotionLaughStrokeIcon, EqualizerStrokeIcon, ExclamationCircleStrokeIcon, ExternalLinkStrokeIcon, EyeSlashStrokeIcon, EyeStrokeIcon, FlagStrokeIcon, FolderOpenStrokeIcon, FullscreenExitStrokeIcon, FullscreenStrokeIcon, GlobeAltStrokeIcon, HandThumbDownStrokeIcon, HandThumbUpStrokeIcon, HexagonStrokeIcon, ImageStrokeIcon, InformationCircleStrokeIcon, KeyStrokeIcon, LightbulbStrokeIcon, LinkStrokeIcon, ListCheckStrokeIcon, LockStrokeIcon, LoginStrokeIcon, LogoutStrokeIcon, MagnifyingGlassStrokeIcon, MenuStrokeIcon, MoreStrokeIcon, MovingMailStrokeIcon, PaintStrokeIcon, PaperAirplaneStrokeIcon, PauseStrokeIcon, PencilSquareStrokeIcon, PlanetStrokeIcon, PlayStrokeIcon, PlusCircleStrokeIcon, PlusStrokeIcon, QuestionMarkCircleStrokeIcon, ReactionStrokeIcon, RectangleStrokeIcon, RobotSharedStrokeIcon, RobotStrokeIcon, RocketStrokeIcon, ServerStrokeIcon, ShakeHandsStrokeIcon, ShapesStrokeIcon, SparklesStrokeIcon, Square3Stack3DStrokeIcon, SquareStrokeIcon, StopStrokeIcon, TestTubeStrokeIcon, TrashStrokeIcon, TriangleStrokeIcon, UserArrowStrokeIcon, UserGroupStrokeIcon, UserPlusStrokeIcon, UserStrokeIcon, WrenchStrokeIcon, XCircleStrokeIcon, XMarkStrokeIcon, };
|
|
@@ -13,9 +13,8 @@ export type ButtonProps = {
|
|
|
13
13
|
avatar?: string;
|
|
14
14
|
className?: string;
|
|
15
15
|
tooltipPosition?: TooltipProps["position"];
|
|
16
|
-
disabledTooltip?: boolean;
|
|
17
16
|
};
|
|
18
|
-
export declare function Button({ variant, type, size, onClick, disabled, labelVisible, label, icon, className, tooltipPosition, hasMagnifying,
|
|
17
|
+
export declare function Button({ variant, type, size, onClick, disabled, labelVisible, label, icon, className, tooltipPosition, hasMagnifying, avatar, }: ButtonProps): React.JSX.Element;
|
|
19
18
|
export declare namespace Button {
|
|
20
19
|
var List: ({ children, isWrapping, className, }: ButtonListProps) => React.JSX.Element;
|
|
21
20
|
}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
export { default as ArrowDown } from "./ArrowDown";
|
|
2
1
|
export { default as ArrowDownCircle } from "./ArrowDownCircle";
|
|
3
2
|
export { default as ArrowDownOnSquare } from "./ArrowDownOnSquare";
|
|
4
|
-
export { default as ArrowLeft } from "./ArrowLeft";
|
|
5
3
|
export { default as ArrowPath } from "./ArrowPath";
|
|
6
4
|
export { default as ArrowRight } from "./ArrowRight";
|
|
7
|
-
export { default as ArrowUp } from "./ArrowUp";
|
|
8
5
|
export { default as ArrowUpOnSquare } from "./ArrowUpOnSquare";
|
|
9
6
|
export { default as Attachment } from "./Attachment";
|
|
10
7
|
export { default as Backspace } from "./Backspace";
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
export { default as ArrowDown } from "./ArrowDown";
|
|
2
1
|
export { default as ArrowDownCircle } from "./ArrowDownCircle";
|
|
3
2
|
export { default as ArrowDownOnSquare } from "./ArrowDownOnSquare";
|
|
4
|
-
export { default as ArrowLeft } from "./ArrowLeft";
|
|
5
3
|
export { default as ArrowPath } from "./ArrowPath";
|
|
6
4
|
export { default as ArrowRight } from "./ArrowRight";
|
|
7
|
-
export { default as ArrowUp } from "./ArrowUp";
|
|
8
5
|
export { default as ArrowUpOnSquare } from "./ArrowUpOnSquare";
|
|
9
6
|
export { default as Attachment } from "./Attachment";
|
|
10
7
|
export { default as Backspace } from "./Backspace";
|
package/dist/cjs/index.js
CHANGED
|
@@ -197,26 +197,17 @@ var Div3D = function (_a) {
|
|
|
197
197
|
return (React.createElement("div", { style: style, className: className }, children));
|
|
198
198
|
};
|
|
199
199
|
|
|
200
|
-
var SvgArrowDown$1 = function (props) { return (React__namespace.createElement("svg", __assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24" }, props),
|
|
201
|
-
React__namespace.createElement("path", { fill: "currentColor", d: "m13.5 15.5 5-5 2 2L12 21l-8.5-8.5 2-2 5 5V3h3v12.5Z" }))); };
|
|
202
|
-
|
|
203
200
|
var SvgArrowDownCircle$1 = function (props) { return (React__namespace.createElement("svg", __assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24" }, props),
|
|
204
201
|
React__namespace.createElement("path", { fill: "currentColor", d: "M12 2c5.52 0 10 4.48 10 10s-4.48 10-10 10S2 17.52 2 12 6.48 2 12 2Zm1 10V8h-2v4H8l4 4 4-4h-3Z" }))); };
|
|
205
202
|
|
|
206
203
|
var SvgArrowDownOnSquare$1 = function (props) { return (React__namespace.createElement("svg", __assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24" }, props),
|
|
207
204
|
React__namespace.createElement("path", { fill: "currentColor", d: "M13.5 10H18l-6 6-6-6h4.5V3h3v7ZM4 19h16v-7h2v8a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1v-8h2v7Z" }))); };
|
|
208
205
|
|
|
209
|
-
var SvgArrowLeft$1 = function (props) { return (React__namespace.createElement("svg", __assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24" }, props),
|
|
210
|
-
React__namespace.createElement("path", { fill: "currentColor", d: "m8.5 13.5 5 5-2 2L3 12l8.5-8.5 2 2-5 5H21v3H8.5Z" }))); };
|
|
211
|
-
|
|
212
206
|
var SvgArrowPath$1 = function (props) { return (React__namespace.createElement("svg", __assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24" }, props),
|
|
213
207
|
React__namespace.createElement("path", { fill: "currentColor", d: "M12 5.5A6.5 6.5 0 0 0 5.5 12h-3a9.5 9.5 0 0 1 16.218-6.718L21 3v6.5h-6.5l2.096-2.096A6.48 6.48 0 0 0 12 5.5ZM7.404 16.596 9.5 14.5H3V21l2.282-2.282A9.5 9.5 0 0 0 21.5 12h-3a6.5 6.5 0 0 1-11.096 4.596Z" }))); };
|
|
214
208
|
|
|
215
209
|
var SvgArrowRight$1 = function (props) { return (React__namespace.createElement("svg", __assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24" }, props),
|
|
216
|
-
React__namespace.createElement("path", { fill: "currentColor", d: "
|
|
217
|
-
|
|
218
|
-
var SvgArrowUp$1 = function (props) { return (React__namespace.createElement("svg", __assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24" }, props),
|
|
219
|
-
React__namespace.createElement("path", { fill: "currentColor", d: "m10.5 8.5-5 5-2-2L12 3l8.5 8.5-2 2-5-5V21h-3V8.5Z" }))); };
|
|
210
|
+
React__namespace.createElement("path", { fill: "currentColor", d: "M12 13.5H4v-3h8V4l8 8-8 8v-6.5Z" }))); };
|
|
220
211
|
|
|
221
212
|
var SvgArrowUpOnSquare$1 = function (props) { return (React__namespace.createElement("svg", __assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24" }, props),
|
|
222
213
|
React__namespace.createElement("path", { fill: "currentColor", d: "m6 8 6-6 6 6h-4.5v7h-3V8H6Z" }),
|
|
@@ -822,7 +813,7 @@ var transitionClasses = "s-transition-all s-ease-out s-duration-200 s-cursor-poi
|
|
|
822
813
|
var magnifyingClasses = "hover:s-scale-105 hover:s-drop-shadow-md active:s-scale-100 active:s-drop-shadow-none";
|
|
823
814
|
function Button(_a) {
|
|
824
815
|
var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
825
|
-
var _o = _a.variant, variant = _o === void 0 ? "primary" : _o, _p = _a.type, type = _p === void 0 ? "button" : _p, _q = _a.size, size = _q === void 0 ? "sm" : _q, onClick = _a.onClick, _r = _a.disabled, disabled = _r === void 0 ? false : _r, _s = _a.labelVisible, labelVisible = _s === void 0 ? true : _s, label = _a.label, icon = _a.icon, _t = _a.className, className = _t === void 0 ? "" : _t, _u = _a.tooltipPosition, tooltipPosition = _u === void 0 ? "above" : _u, _v = _a.hasMagnifying, hasMagnifying = _v === void 0 ? true : _v,
|
|
816
|
+
var _o = _a.variant, variant = _o === void 0 ? "primary" : _o, _p = _a.type, type = _p === void 0 ? "button" : _p, _q = _a.size, size = _q === void 0 ? "sm" : _q, onClick = _a.onClick, _r = _a.disabled, disabled = _r === void 0 ? false : _r, _s = _a.labelVisible, labelVisible = _s === void 0 ? true : _s, label = _a.label, icon = _a.icon, _t = _a.className, className = _t === void 0 ? "" : _t, _u = _a.tooltipPosition, tooltipPosition = _u === void 0 ? "above" : _u, _v = _a.hasMagnifying, hasMagnifying = _v === void 0 ? true : _v, avatar = _a.avatar;
|
|
826
817
|
var buttonClasses = classNames("s-inline-flex s-items-center s-border s-scale-100 s-box-border s-rounded-full s-whitespace-nowrap", !avatar ? sizeClasses$2[size] : sizeAvatarClasses[size], textClasses[size], className);
|
|
827
818
|
if (disabled) {
|
|
828
819
|
buttonClasses = classNames(buttonClasses, (_b = variantClasses[variant]) === null || _b === void 0 ? void 0 : _b.disabled, (_c = variantClasses[variant]) === null || _c === void 0 ? void 0 : _c.dark.disabled, disabled ? "s-cursor-default" : "");
|
|
@@ -837,7 +828,7 @@ function Button(_a) {
|
|
|
837
828
|
labelVisible ? (React.createElement("div", { className: finalContainerClasses }, label)) : null,
|
|
838
829
|
type === "menu" && (React.createElement(Icon, { className: "s-opacity-50", visual: SvgChevronDown$1, size: size })),
|
|
839
830
|
type === "select" && (React.createElement(Icon, { className: "s-opacity-60", visual: SvgChevronUpDown$1, size: size }))));
|
|
840
|
-
return labelVisible
|
|
831
|
+
return labelVisible ? (buttonBase) : (React.createElement(Tooltip, { label: label, position: tooltipPosition }, buttonBase));
|
|
841
832
|
}
|
|
842
833
|
Button.List = function (_a) {
|
|
843
834
|
var children = _a.children, _b = _a.isWrapping, isWrapping = _b === void 0 ? false : _b, className = _a.className;
|
|
@@ -32233,27 +32224,18 @@ Chip.List = function (_a) {
|
|
|
32233
32224
|
React.createElement("div", { className: classNames("s-flex s-flex-row s-gap-2", isWrapping ? "s-flex-wrap" : "") }, children)));
|
|
32234
32225
|
};
|
|
32235
32226
|
|
|
32236
|
-
var SvgArrowDown = function (props) { return (React__namespace.createElement("svg", __assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24" }, props),
|
|
32237
|
-
React__namespace.createElement("path", { fill: "currentColor", d: "m13 16.171 5.364-5.364 1.414 1.415L12 20l-7.778-7.778 1.414-1.415L11 16.171V4h2V16.17Z" }))); };
|
|
32238
|
-
|
|
32239
32227
|
var SvgArrowDownCircle = function (props) { return (React__namespace.createElement("svg", __assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24" }, props),
|
|
32240
32228
|
React__namespace.createElement("path", { fill: "currentColor", d: "M12 2c5.52 0 10 4.48 10 10s-4.48 10-10 10S2 17.52 2 12 6.48 2 12 2Zm0 18c4.42 0 8-3.58 8-8s-3.58-8-8-8-8 3.58-8 8 3.58 8 8 8Zm1-8h3l-4 4-4-4h3V8h2v4Z" }))); };
|
|
32241
32229
|
|
|
32242
32230
|
var SvgArrowDownOnSquare = function (props) { return (React__namespace.createElement("svg", __assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24" }, props),
|
|
32243
32231
|
React__namespace.createElement("path", { fill: "currentColor", d: "M13 10h4l-5 5-5-5h4V3h2v7Zm-9 9h16v-7h2v8a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1v-8h2v7Z" }))); };
|
|
32244
32232
|
|
|
32245
|
-
var SvgArrowLeft = function (props) { return (React__namespace.createElement("svg", __assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24" }, props),
|
|
32246
|
-
React__namespace.createElement("path", { fill: "currentColor", d: "m7.828 13 5.364 5.364-1.414 1.414L4 12l7.778-7.778 1.414 1.414L7.828 11H20v2H7.828Z" }))); };
|
|
32247
|
-
|
|
32248
32233
|
var SvgArrowPath = function (props) { return (React__namespace.createElement("svg", __assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24" }, props),
|
|
32249
32234
|
React__namespace.createElement("path", { fill: "currentColor", d: "M12 5a7 7 0 0 0-6.93 8H3.056a9 9 0 0 1 15.554-7.11L20.5 4v5h-5l1.694-1.693A6.982 6.982 0 0 0 12 5ZM6.807 16.694 8.5 15h-5v5l1.89-1.89A9 9 0 0 0 20.945 11H18.93a7 7 0 0 1-12.123 5.694Z" }))); };
|
|
32250
32235
|
|
|
32251
32236
|
var SvgArrowRight = function (props) { return (React__namespace.createElement("svg", __assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24" }, props),
|
|
32252
32237
|
React__namespace.createElement("path", { fill: "currentColor", d: "m16.172 11-5.364-5.364 1.414-1.414L20 12l-7.778 7.778-1.414-1.414L16.172 13H4v-2h12.172Z" }))); };
|
|
32253
32238
|
|
|
32254
|
-
var SvgArrowUp = function (props) { return (React__namespace.createElement("svg", __assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24" }, props),
|
|
32255
|
-
React__namespace.createElement("path", { fill: "currentColor", d: "m11 7.828-5.364 5.364-1.414-1.414L12 4l7.778 7.778-1.414 1.414L13 7.828V20h-2V7.828Z" }))); };
|
|
32256
|
-
|
|
32257
32239
|
var SvgArrowUpOnSquare = function (props) { return (React__namespace.createElement("svg", __assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24" }, props),
|
|
32258
32240
|
React__namespace.createElement("path", { fill: "currentColor", d: "m7 8 5-5 5 5h-4v7h-2V8H7Z" }),
|
|
32259
32241
|
React__namespace.createElement("path", { fill: "currentColor", d: "M20 19H4v-7H2v8a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1v-8h-2v7Z" }))); };
|
|
@@ -33307,13 +33289,13 @@ function Modal(_a) {
|
|
|
33307
33289
|
onClose: onClose,
|
|
33308
33290
|
};
|
|
33309
33291
|
var _d = getModalClasses(type), containerClasses = _d.containerClasses, transitionEnterFrom = _d.transitionEnterFrom, transitionLeaveFrom = _d.transitionLeaveFrom, transitionEnterTo = _d.transitionEnterTo, transitionLeaveTo = _d.transitionLeaveTo, panelClasses = _d.panelClasses, innerContainerClasses = _d.innerContainerClasses;
|
|
33310
|
-
return (React.createElement(tt
|
|
33292
|
+
return (React.createElement(tt, { show: isOpen, as: React.Fragment, appear: true },
|
|
33311
33293
|
React.createElement(_t, { as: "div", className: "s-relative s-z-50", onClose: onClose },
|
|
33312
|
-
React.createElement(tt.Child, { as: React.Fragment, enter: "s-ease-out s-duration-150", enterFrom: "s-opacity-0", enterTo: "s-opacity-100", leave: "s-ease-in s-duration-150", leaveFrom: "s-opacity-100", leaveTo: "s-opacity-0" },
|
|
33294
|
+
React.createElement(tt.Child, { as: React.Fragment, enter: "s-ease-out s-duration-150", enterFrom: "s-opacity-0", enterTo: "s-opacity-100", leave: "s-ease-in s-duration-150", leaveFrom: "s-opacity-100", leaveTo: "s-opacity-0", appear: true },
|
|
33313
33295
|
React.createElement("div", { className: "s-fixed s-inset-0 s-bg-white/80 s-backdrop-blur-sm s-transition-opacity" })),
|
|
33314
33296
|
React.createElement("div", { className: "s-fixed s-inset-0 s-z-50 s-overflow-y-auto" },
|
|
33315
33297
|
React.createElement("div", { className: containerClasses },
|
|
33316
|
-
React.createElement(tt.Child, { as: React.Fragment, enter: "s-ease-out s-duration-300", enterFrom: transitionEnterFrom, enterTo: transitionEnterTo, leave: "s-ease-in s-duration-200", leaveFrom: transitionLeaveFrom, leaveTo: transitionLeaveTo },
|
|
33298
|
+
React.createElement(tt.Child, { as: React.Fragment, enter: "s-ease-out s-duration-300", enterFrom: transitionEnterFrom, enterTo: transitionEnterTo, leave: "s-ease-in s-duration-200", leaveFrom: transitionLeaveFrom, leaveTo: transitionLeaveTo, appear: true },
|
|
33317
33299
|
React.createElement(_t.Panel, { className: classNames("s-relative s-transform s-overflow-hidden s-bg-structure-0 s-px-3 s-transition-all sm:s-px-4", panelClasses, variantSize[variant]) },
|
|
33318
33300
|
React.createElement(BarHeader, { title: title || "", leftActions: action ? React.createElement(Button, __assign({}, action)) : undefined, rightActions: React.createElement(BarHeader.ButtonBar, __assign({}, buttonBarProps)) }),
|
|
33319
33301
|
React.createElement("div", { className: classNames("s-pb-6 s-pt-14", innerContainerClasses) }, children))))))));
|
|
@@ -33469,20 +33451,14 @@ exports.AnthropicLogo = SvgAnthropic;
|
|
|
33469
33451
|
exports.AnthropicWhiteLogo = SvgAnthropicWhite;
|
|
33470
33452
|
exports.ArrowDownCircleIcon = SvgArrowDownCircle$1;
|
|
33471
33453
|
exports.ArrowDownCircleStrokeIcon = SvgArrowDownCircle;
|
|
33472
|
-
exports.ArrowDownIcon = SvgArrowDown$1;
|
|
33473
33454
|
exports.ArrowDownOnSquareIcon = SvgArrowDownOnSquare$1;
|
|
33474
33455
|
exports.ArrowDownOnSquareStrokeIcon = SvgArrowDownOnSquare;
|
|
33475
|
-
exports.ArrowDownStrokeIcon = SvgArrowDown;
|
|
33476
|
-
exports.ArrowLeftIcon = SvgArrowLeft$1;
|
|
33477
|
-
exports.ArrowLeftStrokeIcon = SvgArrowLeft;
|
|
33478
33456
|
exports.ArrowPathIcon = SvgArrowPath$1;
|
|
33479
33457
|
exports.ArrowPathStrokeIcon = SvgArrowPath;
|
|
33480
33458
|
exports.ArrowRightIcon = SvgArrowRight$1;
|
|
33481
33459
|
exports.ArrowRightStrokeIcon = SvgArrowRight;
|
|
33482
|
-
exports.ArrowUpIcon = SvgArrowUp$1;
|
|
33483
33460
|
exports.ArrowUpOnSquareIcon = SvgArrowUpOnSquare$1;
|
|
33484
33461
|
exports.ArrowUpOnSquareStrokeIcon = SvgArrowUpOnSquare;
|
|
33485
|
-
exports.ArrowUpStrokeIcon = SvgArrowUp;
|
|
33486
33462
|
exports.AttachmentIcon = SvgAttachment$1;
|
|
33487
33463
|
exports.AttachmentStrokeIcon = SvgAttachment;
|
|
33488
33464
|
exports.Avatar = Avatar;
|