export { AirplaneIcon } from './AirplaneIcon.js'; export { AlertCircleIcon } from './AlertCircleIcon.js'; export { AlertTriangleIcon } from './AlertTriangleIcon.js'; export { AnchorIcon } from './AnchorIcon.js'; export { AppleIcon } from './AppleIcon.js'; export { ArrowDownIcon } from './ArrowDownIcon.js'; export { ArrowDownCircleIcon } from './ArrowDownCircleIcon.js'; export { ArrowDownLeftIcon } from './ArrowDownLeftIcon.js'; export { ArrowDownRightIcon } from './ArrowDownRightIcon.js'; export { ArrowJumpIcon } from './ArrowJumpIcon.js'; export { ArrowLeftIcon } from './ArrowLeftIcon.js'; export { ArrowLeftCircleIcon } from './ArrowLeftCircleIcon.js'; export { ArrowRightIcon } from './ArrowRightIcon.js'; export { ArrowRightCircleIcon } from './ArrowRightCircleIcon.js'; export { ArrowUpIcon } from './ArrowUpIcon.js'; export { ArrowUpCircleIcon } from './ArrowUpCircleIcon.js'; export { ArrowUpDownIcon } from './ArrowUpDownIcon.js'; export { ArrowUpLeftIcon } from './ArrowUpLeftIcon.js'; export { ArrowUpRightIcon } from './ArrowUpRightIcon.js'; export { BadgeCheckIcon } from './BadgeCheckIcon.js'; export { BalloonIcon } from './BalloonIcon.js'; export { BanIcon } from './BanIcon.js'; export { BasketballIcon } from './BasketballIcon.js'; export { BatteryIcon } from './BatteryIcon.js'; export { BearIcon } from './BearIcon.js'; export { BeeIcon } from './BeeIcon.js'; export { BellIcon } from './BellIcon.js'; export { BellOffIcon } from './BellOffIcon.js'; export { BicycleIcon } from './BicycleIcon.js'; export { BirdIcon } from './BirdIcon.js'; export { BoldIcon } from './BoldIcon.js'; export { BoltIcon } from './BoltIcon.js'; export { BookIcon } from './BookIcon.js'; export { BookmarkIcon } from './BookmarkIcon.js'; export { BulbIcon } from './BulbIcon.js'; export { ButterflyIcon } from './ButterflyIcon.js'; export { CactusIcon } from './CactusIcon.js'; export { CakeIcon } from './CakeIcon.js'; export { CalculatorIcon } from './CalculatorIcon.js'; export { CalendarIcon } from './CalendarIcon.js'; export { CameraIcon } from './CameraIcon.js'; export { CandleIcon } from './CandleIcon.js'; export { CarIcon } from './CarIcon.js'; export { CartIcon } from './CartIcon.js'; export { CatIcon } from './CatIcon.js'; export { ChargerIcon } from './ChargerIcon.js'; export { ChatIcon } from './ChatIcon.js'; export { CheckIcon } from './CheckIcon.js'; export { CheckCircleIcon } from './CheckCircleIcon.js'; export { CheckSquareIcon } from './CheckSquareIcon.js'; export { CherryIcon } from './CherryIcon.js'; export { ChevronDownIcon } from './ChevronDownIcon.js'; export { ChevronLeftIcon } from './ChevronLeftIcon.js'; export { ChevronRightIcon } from './ChevronRightIcon.js'; export { ChevronUpIcon } from './ChevronUpIcon.js'; export { ClipboardIcon } from './ClipboardIcon.js'; export { ClockIcon } from './ClockIcon.js'; export { CloseIcon } from './CloseIcon.js'; export { CloudIcon } from './CloudIcon.js'; export { CodeIcon } from './CodeIcon.js'; export { CoffeeIcon } from './CoffeeIcon.js'; export { CoffeeCupIcon } from './CoffeeCupIcon.js'; export { CompassIcon } from './CompassIcon.js'; export { CopyIcon } from './CopyIcon.js'; export { CreditCardIcon } from './CreditCardIcon.js'; export { DogIcon } from './DogIcon.js'; export { DonutIcon } from './DonutIcon.js'; export { DownloadIcon } from './DownloadIcon.js'; export { DumbbellIcon } from './DumbbellIcon.js'; export { EditIcon } from './EditIcon.js'; export { EllipsisIcon } from './EllipsisIcon.js'; export { ExternalLinkIcon } from './ExternalLinkIcon.js'; export { EyeIcon } from './EyeIcon.js'; export { EyeOffIcon } from './EyeOffIcon.js'; export { FileIcon } from './FileIcon.js'; export { FilterIcon } from './FilterIcon.js'; export { FishIcon } from './FishIcon.js'; export { FlagIcon } from './FlagIcon.js'; export { FlameIcon } from './FlameIcon.js'; export { FlowerIcon } from './FlowerIcon.js'; export { FolderIcon } from './FolderIcon.js'; export { FolderMinusIcon } from './FolderMinusIcon.js'; export { FolderPlusIcon } from './FolderPlusIcon.js'; export { FoxIcon } from './FoxIcon.js'; export { FrogIcon } from './FrogIcon.js'; export { GiftIcon } from './GiftIcon.js'; export { GlobeIcon } from './GlobeIcon.js'; export { GoogleChromeIcon } from './GoogleChromeIcon.js'; export { GridIcon } from './GridIcon.js'; export { HeadphonesIcon } from './HeadphonesIcon.js'; export { HeartIcon } from './HeartIcon.js'; export { HelpCircleIcon } from './HelpCircleIcon.js'; export { HomeIcon } from './HomeIcon.js'; export { IcecreamIcon } from './IcecreamIcon.js'; export { ImageIcon } from './ImageIcon.js'; export { InboxIcon } from './InboxIcon.js'; export { InfoIcon } from './InfoIcon.js'; export { ItalicIcon } from './ItalicIcon.js'; export { KeyIcon } from './KeyIcon.js'; export { KeyboardIcon } from './KeyboardIcon.js'; export { LadybugIcon } from './LadybugIcon.js'; export { LampIcon } from './LampIcon.js'; export { LeafIcon } from './LeafIcon.js'; export { LemonIcon } from './LemonIcon.js'; export { LinkIcon } from './LinkIcon.js'; export { ListIcon } from './ListIcon.js'; export { LocationIcon } from './LocationIcon.js'; export { LockIcon } from './LockIcon.js'; export { LockOpenIcon } from './LockOpenIcon.js'; export { MagnetIcon } from './MagnetIcon.js'; export { MailIcon } from './MailIcon.js'; export { MapIcon } from './MapIcon.js'; export { MapPinIcon } from './MapPinIcon.js'; export { MaximizeIcon } from './MaximizeIcon.js'; export { MenuIcon } from './MenuIcon.js'; export { MicIcon } from './MicIcon.js'; export { MinusIcon } from './MinusIcon.js'; export { MinusCircleIcon } from './MinusCircleIcon.js'; export { MonitorIcon } from './MonitorIcon.js'; export { MoonIcon } from './MoonIcon.js'; export { MoreVerticalIcon } from './MoreVerticalIcon.js'; export { MountainIcon } from './MountainIcon.js'; export { MouseIcon } from './MouseIcon.js'; export { MushroomIcon } from './MushroomIcon.js'; export { MusicIcon } from './MusicIcon.js'; export { NewspaperIcon } from './NewspaperIcon.js'; export { OwlIcon } from './OwlIcon.js'; export { PaintbrushIcon } from './PaintbrushIcon.js'; export { PaletteIcon } from './PaletteIcon.js'; export { PaperclipIcon } from './PaperclipIcon.js'; export { PauseIcon } from './PauseIcon.js'; export { PauseCircleIcon } from './PauseCircleIcon.js'; export { PencilIcon } from './PencilIcon.js'; export { PenguinIcon } from './PenguinIcon.js'; export { PhoneIcon } from './PhoneIcon.js'; export { PlayIcon } from './PlayIcon.js'; export { PlayCircleIcon } from './PlayCircleIcon.js'; export { PlusIcon } from './PlusIcon.js'; export { PlusCircleIcon } from './PlusCircleIcon.js'; export { PowerIcon } from './PowerIcon.js'; export { PrinterIcon } from './PrinterIcon.js'; export { RabbitIcon } from './RabbitIcon.js'; export { RadioIcon } from './RadioIcon.js'; export { RainbowIcon } from './RainbowIcon.js'; export { RedoIcon } from './RedoIcon.js'; export { RefreshIcon } from './RefreshIcon.js'; export { RocketIcon } from './RocketIcon.js'; export { RssIcon } from './RssIcon.js'; export { SailboatIcon } from './SailboatIcon.js'; export { SaveIcon } from './SaveIcon.js'; export { ScissorsIcon } from './ScissorsIcon.js'; export { ScooterIcon } from './ScooterIcon.js'; export { SearchIcon } from './SearchIcon.js'; export { SendIcon } from './SendIcon.js'; export { SettingsIcon } from './SettingsIcon.js'; export { ShareIcon } from './ShareIcon.js'; export { ShieldIcon } from './ShieldIcon.js'; export { ShoppingBagIcon } from './ShoppingBagIcon.js'; export { ShoppingCartIcon } from './ShoppingCartIcon.js'; export { SlidersIcon } from './SlidersIcon.js'; export { SmileIcon } from './SmileIcon.js'; export { SnailIcon } from './SnailIcon.js'; export { SnowflakeIcon } from './SnowflakeIcon.js'; export { SortIcon } from './SortIcon.js'; export { SparklesIcon } from './SparklesIcon.js'; export { SpinnerIcon } from './SpinnerIcon.js'; export { StarIcon } from './StarIcon.js'; export { StopIcon } from './StopIcon.js'; export { StopCircleIcon } from './StopCircleIcon.js'; export { StrawberryIcon } from './StrawberryIcon.js'; export { SunIcon } from './SunIcon.js'; export { TagIcon } from './TagIcon.js'; export { TentIcon } from './TentIcon.js'; export { ThermometerIcon } from './ThermometerIcon.js'; export { ThumbsUpIcon } from './ThumbsUpIcon.js'; export { TrainIcon } from './TrainIcon.js'; export { TrashIcon } from './TrashIcon.js'; export { TreeIcon } from './TreeIcon.js'; export { TrophyIcon } from './TrophyIcon.js'; export { TruckIcon } from './TruckIcon.js'; export { TvIcon } from './TvIcon.js'; export { UmbrellaIcon } from './UmbrellaIcon.js'; export { UnderlineIcon } from './UnderlineIcon.js'; export { UndoIcon } from './UndoIcon.js'; export { UnlinkIcon } from './UnlinkIcon.js'; export { UploadIcon } from './UploadIcon.js'; export { UserIcon } from './UserIcon.js'; export { UserCircleIcon } from './UserCircleIcon.js'; export { UserMinusIcon } from './UserMinusIcon.js'; export { UserPlusIcon } from './UserPlusIcon.js'; export { UsersIcon } from './UsersIcon.js'; export { VideoIcon } from './VideoIcon.js'; export { VolumeIcon } from './VolumeIcon.js'; export { VolumeXIcon } from './VolumeXIcon.js'; export { WaterCupIcon } from './WaterCupIcon.js'; export { WatermelonIcon } from './WatermelonIcon.js'; export { WifiIcon } from './WifiIcon.js'; export { WifiOffIcon } from './WifiOffIcon.js'; export { XCircleIcon } from './XCircleIcon.js'; export { ZoomInIcon } from './ZoomInIcon.js'; export { ZoomOutIcon } from './ZoomOutIcon.js'; import { FC } from 'react'; import { I as IconProps$1 } from './iconProps-Cp-AJELp.js'; export { n as normalizeIconProps } from './iconProps-Cp-AJELp.js'; export { IconBody, NAIVE_ROOT, createIcon } from './createIcon.js'; /** * 把 strokeWidth 归一成合法数值。字符串要能缩放("7" 与 7 等价), * 非法值('abc' / NaN / Infinity / 负数)回落基准。0 合法,表示不描边。 */ declare function resolveStrokeWidth(strokeWidth?: number | string | null): number; /** * 把 strokeWidth 当作相对 BASE_STROKE_WIDTH 的缩放系数,返回内层描边的计算函数。 * * 必须这样而不能只改根 :SVG 的 stroke-width 可继承,但子元素一旦自带值 * 就不再继承。库里有 220 处内层自带 stroke-width,其中 182 处是刻意的粗细层次, * 只改根节点会让 变成「外框 7、内层还是 3.5 与 4」。 * * 默认 3.5 → scale 1,设计值一根线都不变;传 7 → scale 2,整体加倍且层次保持。 */ declare function scaledStroke(strokeWidth?: number | string | null): (designed: number) => number; /** 所有图标的通用 Props(继承原生 SVG 属性),完整定义见 ./iconProps */ type IconProps = IconProps$1; /** naive 风格调色板 */ declare const NAIVE_PALETTE: { readonly ink: "#2A2A2A"; readonly navy: "#264653"; readonly orange: "#E76F51"; readonly yellow: "#E9C46A"; readonly pink: "#F4A6A4"; readonly green: "#588157"; readonly teal: "#2A9D8F"; readonly brown: "#8B5E3C"; readonly cream: "#FAEDCD"; readonly white: "#FFFFFF"; }; type PaletteColor = keyof typeof NAIVE_PALETTE; /** 所有图标组件名 */ type IconName = 'AirplaneIcon' | 'AlertCircleIcon' | 'AlertTriangleIcon' | 'AnchorIcon' | 'AppleIcon' | 'ArrowDownIcon' | 'ArrowDownCircleIcon' | 'ArrowDownLeftIcon' | 'ArrowDownRightIcon' | 'ArrowJumpIcon' | 'ArrowLeftIcon' | 'ArrowLeftCircleIcon' | 'ArrowRightIcon' | 'ArrowRightCircleIcon' | 'ArrowUpIcon' | 'ArrowUpCircleIcon' | 'ArrowUpDownIcon' | 'ArrowUpLeftIcon' | 'ArrowUpRightIcon' | 'BadgeCheckIcon' | 'BalloonIcon' | 'BanIcon' | 'BasketballIcon' | 'BatteryIcon' | 'BearIcon' | 'BeeIcon' | 'BellIcon' | 'BellOffIcon' | 'BicycleIcon' | 'BirdIcon' | 'BoldIcon' | 'BoltIcon' | 'BookIcon' | 'BookmarkIcon' | 'BulbIcon' | 'ButterflyIcon' | 'CactusIcon' | 'CakeIcon' | 'CalculatorIcon' | 'CalendarIcon' | 'CameraIcon' | 'CandleIcon' | 'CarIcon' | 'CartIcon' | 'CatIcon' | 'ChargerIcon' | 'ChatIcon' | 'CheckIcon' | 'CheckCircleIcon' | 'CheckSquareIcon' | 'CherryIcon' | 'ChevronDownIcon' | 'ChevronLeftIcon' | 'ChevronRightIcon' | 'ChevronUpIcon' | 'ClipboardIcon' | 'ClockIcon' | 'CloseIcon' | 'CloudIcon' | 'CodeIcon' | 'CoffeeIcon' | 'CoffeeCupIcon' | 'CompassIcon' | 'CopyIcon' | 'CreditCardIcon' | 'DogIcon' | 'DonutIcon' | 'DownloadIcon' | 'DumbbellIcon' | 'EditIcon' | 'EllipsisIcon' | 'ExternalLinkIcon' | 'EyeIcon' | 'EyeOffIcon' | 'FileIcon' | 'FilterIcon' | 'FishIcon' | 'FlagIcon' | 'FlameIcon' | 'FlowerIcon' | 'FolderIcon' | 'FolderMinusIcon' | 'FolderPlusIcon' | 'FoxIcon' | 'FrogIcon' | 'GiftIcon' | 'GlobeIcon' | 'GoogleChromeIcon' | 'GridIcon' | 'HeadphonesIcon' | 'HeartIcon' | 'HelpCircleIcon' | 'HomeIcon' | 'IcecreamIcon' | 'ImageIcon' | 'InboxIcon' | 'InfoIcon' | 'ItalicIcon' | 'KeyIcon' | 'KeyboardIcon' | 'LadybugIcon' | 'LampIcon' | 'LeafIcon' | 'LemonIcon' | 'LinkIcon' | 'ListIcon' | 'LocationIcon' | 'LockIcon' | 'LockOpenIcon' | 'MagnetIcon' | 'MailIcon' | 'MapIcon' | 'MapPinIcon' | 'MaximizeIcon' | 'MenuIcon' | 'MicIcon' | 'MinusIcon' | 'MinusCircleIcon' | 'MonitorIcon' | 'MoonIcon' | 'MoreVerticalIcon' | 'MountainIcon' | 'MouseIcon' | 'MushroomIcon' | 'MusicIcon' | 'NewspaperIcon' | 'OwlIcon' | 'PaintbrushIcon' | 'PaletteIcon' | 'PaperclipIcon' | 'PauseIcon' | 'PauseCircleIcon' | 'PencilIcon' | 'PenguinIcon' | 'PhoneIcon' | 'PlayIcon' | 'PlayCircleIcon' | 'PlusIcon' | 'PlusCircleIcon' | 'PowerIcon' | 'PrinterIcon' | 'RabbitIcon' | 'RadioIcon' | 'RainbowIcon' | 'RedoIcon' | 'RefreshIcon' | 'RocketIcon' | 'RssIcon' | 'SailboatIcon' | 'SaveIcon' | 'ScissorsIcon' | 'ScooterIcon' | 'SearchIcon' | 'SendIcon' | 'SettingsIcon' | 'ShareIcon' | 'ShieldIcon' | 'ShoppingBagIcon' | 'ShoppingCartIcon' | 'SlidersIcon' | 'SmileIcon' | 'SnailIcon' | 'SnowflakeIcon' | 'SortIcon' | 'SparklesIcon' | 'SpinnerIcon' | 'StarIcon' | 'StopIcon' | 'StopCircleIcon' | 'StrawberryIcon' | 'SunIcon' | 'TagIcon' | 'TentIcon' | 'ThermometerIcon' | 'ThumbsUpIcon' | 'TrainIcon' | 'TrashIcon' | 'TreeIcon' | 'TrophyIcon' | 'TruckIcon' | 'TvIcon' | 'UmbrellaIcon' | 'UnderlineIcon' | 'UndoIcon' | 'UnlinkIcon' | 'UploadIcon' | 'UserIcon' | 'UserCircleIcon' | 'UserMinusIcon' | 'UserPlusIcon' | 'UsersIcon' | 'VideoIcon' | 'VolumeIcon' | 'VolumeXIcon' | 'WaterCupIcon' | 'WatermelonIcon' | 'WifiIcon' | 'WifiOffIcon' | 'XCircleIcon' | 'ZoomInIcon' | 'ZoomOutIcon'; /** 图标组件类型 */ type IconComponent = FC; /** * 所有内置图标的 id(kebab-case),运行时数组。 * * IconName 只是纯类型,编译后不存在;需要「按名字动态取图标」时用这个数组: * * ```tsx * import { iconNames } from 'naive-icons'; * * const map = { * 'arrow-up-down': () => import('./ArrowUpDownIcon').then(m => m.ArrowUpDownIcon), * 'arrow-jump': () => import('./ArrowJumpIcon').then(m => m.ArrowJumpIcon), * }; * ``` * * 直接 `import * as icons` 也能按名字取,但会把全部 201 枚打进包里, * tree-shaking 归零;用这个数组配动态 import 才能只拉用到的几枚。 */ declare const iconNames: readonly ["airplane", "alert-circle", "alert-triangle", "anchor", "apple", "arrow-down", "arrow-down-circle", "arrow-down-left", "arrow-down-right", "arrow-jump", "arrow-left", "arrow-left-circle", "arrow-right", "arrow-right-circle", "arrow-up", "arrow-up-circle", "arrow-up-down", "arrow-up-left", "arrow-up-right", "badge-check", "balloon", "ban", "basketball", "battery", "bear", "bee", "bell", "bell-off", "bicycle", "bird", "bold", "bolt", "book", "bookmark", "bulb", "butterfly", "cactus", "cake", "calculator", "calendar", "camera", "candle", "car", "cart", "cat", "charger", "chat", "check", "check-circle", "check-square", "cherry", "chevron-down", "chevron-left", "chevron-right", "chevron-up", "clipboard", "clock", "close", "cloud", "code", "coffee", "coffee-cup", "compass", "copy", "credit-card", "dog", "donut", "download", "dumbbell", "edit", "ellipsis", "external-link", "eye", "eye-off", "file", "filter", "fish", "flag", "flame", "flower", "folder", "folder-minus", "folder-plus", "fox", "frog", "gift", "globe", "google-chrome", "grid", "headphones", "heart", "help-circle", "home", "icecream", "image", "inbox", "info", "italic", "key", "keyboard", "ladybug", "lamp", "leaf", "lemon", "link", "list", "location", "lock", "lock-open", "magnet", "mail", "map", "map-pin", "maximize", "menu", "mic", "minus", "minus-circle", "monitor", "moon", "more-vertical", "mountain", "mouse", "mushroom", "music", "newspaper", "owl", "paintbrush", "palette", "paperclip", "pause", "pause-circle", "pencil", "penguin", "phone", "play", "play-circle", "plus", "plus-circle", "power", "printer", "rabbit", "radio", "rainbow", "redo", "refresh", "rocket", "rss", "sailboat", "save", "scissors", "scooter", "search", "send", "settings", "share", "shield", "shopping-bag", "shopping-cart", "sliders", "smile", "snail", "snowflake", "sort", "sparkles", "spinner", "star", "stop", "stop-circle", "strawberry", "sun", "tag", "tent", "thermometer", "thumbs-up", "train", "trash", "tree", "trophy", "truck", "tv", "umbrella", "underline", "undo", "unlink", "upload", "user", "user-circle", "user-minus", "user-plus", "users", "video", "volume", "volume-x", "water-cup", "watermelon", "wifi", "wifi-off", "x-circle", "zoom-in", "zoom-out"]; /** 所有内置图标的 id 类型,与 iconNames 一一对应 */ type IconId = (typeof iconNames)[number]; export { type IconComponent, type IconId, type IconName, type IconProps, NAIVE_PALETTE, type PaletteColor, iconNames, resolveStrokeWidth, scaledStroke };