@dust-tt/sparkle 0.2.47 → 0.2.48
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 +2 -1
- package/dist/cjs/icons/solid/ArrowDown.d.ts +4 -0
- package/dist/cjs/icons/solid/ArrowLeft.d.ts +4 -0
- package/dist/cjs/icons/solid/ArrowUp.d.ts +4 -0
- package/dist/cjs/icons/solid/index.d.ts +3 -0
- package/dist/cjs/icons/stroke/ArrowDown.d.ts +4 -0
- package/dist/cjs/icons/stroke/ArrowLeft.d.ts +4 -0
- package/dist/cjs/icons/stroke/ArrowUp.d.ts +4 -0
- package/dist/cjs/icons/stroke/index.d.ts +3 -0
- package/dist/cjs/index.js +27 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/stories/Button.stories.d.ts +1 -0
- package/dist/esm/_index.d.ts +4 -4
- package/dist/esm/components/Button.d.ts +2 -1
- package/dist/esm/icons/solid/ArrowDown.d.ts +4 -0
- package/dist/esm/icons/solid/ArrowLeft.d.ts +4 -0
- package/dist/esm/icons/solid/ArrowUp.d.ts +4 -0
- package/dist/esm/icons/solid/index.d.ts +3 -0
- package/dist/esm/icons/stroke/ArrowDown.d.ts +4 -0
- package/dist/esm/icons/stroke/ArrowLeft.d.ts +4 -0
- package/dist/esm/icons/stroke/ArrowUp.d.ts +4 -0
- package/dist/esm/icons/stroke/index.d.ts +3 -0
- package/dist/esm/index.js +22 -4
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/stories/Button.stories.d.ts +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
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 { 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, };
|
|
67
|
+
import { ArrowDown as ArrowDownIcon, ArrowDownCircle as ArrowDownCircleIcon, ArrowDownOnSquare as ArrowDownOnSquareIcon, ArrowLeft as ArrowLeftIcon, ArrowPath as ArrowPathIcon, ArrowRight as ArrowRightIcon, ArrowUp as ArrowUpIcon, 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, ArrowDownIcon, ArrowDownOnSquareIcon, ArrowLeftIcon, ArrowPathIcon, ArrowRightIcon, ArrowUpIcon, 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 { ArrowDown as ArrowDownStrokeIcon, ArrowDownCircle as ArrowDownCircleStrokeIcon, ArrowDownOnSquare as ArrowDownOnSquareStrokeIcon, ArrowLeft as ArrowLeftStrokeIcon, ArrowPath as ArrowPathStrokeIcon, ArrowRight as ArrowRightStrokeIcon, ArrowUp as ArrowUpStrokeIcon, 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, ArrowDownStrokeIcon, ArrowLeftStrokeIcon, ArrowPathStrokeIcon, ArrowRightStrokeIcon, ArrowUpOnSquareStrokeIcon, ArrowUpStrokeIcon, 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,8 +13,9 @@ export type ButtonProps = {
|
|
|
13
13
|
avatar?: string;
|
|
14
14
|
className?: string;
|
|
15
15
|
tooltipPosition?: TooltipProps["position"];
|
|
16
|
+
disabledTooltip?: boolean;
|
|
16
17
|
};
|
|
17
|
-
export declare function Button({ variant, type, size, onClick, disabled, labelVisible, label, icon, className, tooltipPosition, hasMagnifying, avatar, }: ButtonProps): React.JSX.Element;
|
|
18
|
+
export declare function Button({ variant, type, size, onClick, disabled, labelVisible, label, icon, className, tooltipPosition, hasMagnifying, disabledTooltip, avatar, }: ButtonProps): React.JSX.Element;
|
|
18
19
|
export declare namespace Button {
|
|
19
20
|
var List: ({ children, isWrapping, className, }: ButtonListProps) => React.JSX.Element;
|
|
20
21
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
export { default as ArrowDown } from "./ArrowDown";
|
|
1
2
|
export { default as ArrowDownCircle } from "./ArrowDownCircle";
|
|
2
3
|
export { default as ArrowDownOnSquare } from "./ArrowDownOnSquare";
|
|
4
|
+
export { default as ArrowLeft } from "./ArrowLeft";
|
|
3
5
|
export { default as ArrowPath } from "./ArrowPath";
|
|
4
6
|
export { default as ArrowRight } from "./ArrowRight";
|
|
7
|
+
export { default as ArrowUp } from "./ArrowUp";
|
|
5
8
|
export { default as ArrowUpOnSquare } from "./ArrowUpOnSquare";
|
|
6
9
|
export { default as Attachment } from "./Attachment";
|
|
7
10
|
export { default as Backspace } from "./Backspace";
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
export { default as ArrowDown } from "./ArrowDown";
|
|
1
2
|
export { default as ArrowDownCircle } from "./ArrowDownCircle";
|
|
2
3
|
export { default as ArrowDownOnSquare } from "./ArrowDownOnSquare";
|
|
4
|
+
export { default as ArrowLeft } from "./ArrowLeft";
|
|
3
5
|
export { default as ArrowPath } from "./ArrowPath";
|
|
4
6
|
export { default as ArrowRight } from "./ArrowRight";
|
|
7
|
+
export { default as ArrowUp } from "./ArrowUp";
|
|
5
8
|
export { default as ArrowUpOnSquare } from "./ArrowUpOnSquare";
|
|
6
9
|
export { default as Attachment } from "./Attachment";
|
|
7
10
|
export { default as Backspace } from "./Backspace";
|
package/dist/cjs/index.js
CHANGED
|
@@ -197,17 +197,26 @@ 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
|
+
|
|
200
203
|
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),
|
|
201
204
|
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" }))); };
|
|
202
205
|
|
|
203
206
|
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),
|
|
204
207
|
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" }))); };
|
|
205
208
|
|
|
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
|
+
|
|
206
212
|
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),
|
|
207
213
|
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" }))); };
|
|
208
214
|
|
|
209
215
|
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),
|
|
210
|
-
React__namespace.createElement("path", { fill: "currentColor", d: "
|
|
216
|
+
React__namespace.createElement("path", { fill: "currentColor", d: "m15.5 10.5-5-5 2-2L21 12l-8.5 8.5-2-2 5-5H3v-3h12.5Z" }))); };
|
|
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" }))); };
|
|
211
220
|
|
|
212
221
|
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),
|
|
213
222
|
React__namespace.createElement("path", { fill: "currentColor", d: "m6 8 6-6 6 6h-4.5v7h-3V8H6Z" }),
|
|
@@ -813,7 +822,7 @@ var transitionClasses = "s-transition-all s-ease-out s-duration-200 s-cursor-poi
|
|
|
813
822
|
var magnifyingClasses = "hover:s-scale-105 hover:s-drop-shadow-md active:s-scale-100 active:s-drop-shadow-none";
|
|
814
823
|
function Button(_a) {
|
|
815
824
|
var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
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;
|
|
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, _w = _a.disabledTooltip, disabledTooltip = _w === void 0 ? false : _w, avatar = _a.avatar;
|
|
817
826
|
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);
|
|
818
827
|
if (disabled) {
|
|
819
828
|
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" : "");
|
|
@@ -828,7 +837,7 @@ function Button(_a) {
|
|
|
828
837
|
labelVisible ? (React.createElement("div", { className: finalContainerClasses }, label)) : null,
|
|
829
838
|
type === "menu" && (React.createElement(Icon, { className: "s-opacity-50", visual: SvgChevronDown$1, size: size })),
|
|
830
839
|
type === "select" && (React.createElement(Icon, { className: "s-opacity-60", visual: SvgChevronUpDown$1, size: size }))));
|
|
831
|
-
return labelVisible ? (buttonBase) : (React.createElement(Tooltip, { label: label, position: tooltipPosition }, buttonBase));
|
|
840
|
+
return labelVisible || disabledTooltip ? (buttonBase) : (React.createElement(Tooltip, { label: label, position: tooltipPosition }, buttonBase));
|
|
832
841
|
}
|
|
833
842
|
Button.List = function (_a) {
|
|
834
843
|
var children = _a.children, _b = _a.isWrapping, isWrapping = _b === void 0 ? false : _b, className = _a.className;
|
|
@@ -32224,18 +32233,27 @@ Chip.List = function (_a) {
|
|
|
32224
32233
|
React.createElement("div", { className: classNames("s-flex s-flex-row s-gap-2", isWrapping ? "s-flex-wrap" : "") }, children)));
|
|
32225
32234
|
};
|
|
32226
32235
|
|
|
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
|
+
|
|
32227
32239
|
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),
|
|
32228
32240
|
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" }))); };
|
|
32229
32241
|
|
|
32230
32242
|
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),
|
|
32231
32243
|
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" }))); };
|
|
32232
32244
|
|
|
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
|
+
|
|
32233
32248
|
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),
|
|
32234
32249
|
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" }))); };
|
|
32235
32250
|
|
|
32236
32251
|
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),
|
|
32237
32252
|
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" }))); };
|
|
32238
32253
|
|
|
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
|
+
|
|
32239
32257
|
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),
|
|
32240
32258
|
React__namespace.createElement("path", { fill: "currentColor", d: "m7 8 5-5 5 5h-4v7h-2V8H7Z" }),
|
|
32241
32259
|
React__namespace.createElement("path", { fill: "currentColor", d: "M20 19H4v-7H2v8a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1v-8h-2v7Z" }))); };
|
|
@@ -33451,14 +33469,20 @@ exports.AnthropicLogo = SvgAnthropic;
|
|
|
33451
33469
|
exports.AnthropicWhiteLogo = SvgAnthropicWhite;
|
|
33452
33470
|
exports.ArrowDownCircleIcon = SvgArrowDownCircle$1;
|
|
33453
33471
|
exports.ArrowDownCircleStrokeIcon = SvgArrowDownCircle;
|
|
33472
|
+
exports.ArrowDownIcon = SvgArrowDown$1;
|
|
33454
33473
|
exports.ArrowDownOnSquareIcon = SvgArrowDownOnSquare$1;
|
|
33455
33474
|
exports.ArrowDownOnSquareStrokeIcon = SvgArrowDownOnSquare;
|
|
33475
|
+
exports.ArrowDownStrokeIcon = SvgArrowDown;
|
|
33476
|
+
exports.ArrowLeftIcon = SvgArrowLeft$1;
|
|
33477
|
+
exports.ArrowLeftStrokeIcon = SvgArrowLeft;
|
|
33456
33478
|
exports.ArrowPathIcon = SvgArrowPath$1;
|
|
33457
33479
|
exports.ArrowPathStrokeIcon = SvgArrowPath;
|
|
33458
33480
|
exports.ArrowRightIcon = SvgArrowRight$1;
|
|
33459
33481
|
exports.ArrowRightStrokeIcon = SvgArrowRight;
|
|
33482
|
+
exports.ArrowUpIcon = SvgArrowUp$1;
|
|
33460
33483
|
exports.ArrowUpOnSquareIcon = SvgArrowUpOnSquare$1;
|
|
33461
33484
|
exports.ArrowUpOnSquareStrokeIcon = SvgArrowUpOnSquare;
|
|
33485
|
+
exports.ArrowUpStrokeIcon = SvgArrowUp;
|
|
33462
33486
|
exports.AttachmentIcon = SvgAttachment$1;
|
|
33463
33487
|
exports.AttachmentStrokeIcon = SvgAttachment;
|
|
33464
33488
|
exports.Avatar = Avatar;
|