-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(release): set
package.json
to 0.1.4 [skip ci]
## [0.1.4](v0.1.3...v0.1.4) (2022-10-30) ### Bug Fixes * **Button:** 🩹 Button loader icon fixed ([8920627](8920627)) * **Icons:** ✅ Feather icons instead local icons ([57e45e9](57e45e9))
- Loading branch information
1 parent
8920627
commit 0f91fcd
Showing
11 changed files
with
80 additions
and
499 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/** | ||
* @description Custom Feather icon wrapper | ||
*/ | ||
/// <reference types="react" /> | ||
import { IconProps } from 'react-feather'; | ||
import { Ficons } from './types'; | ||
interface InterfaceProps extends IconProps { | ||
icon: Ficons; | ||
} | ||
declare const Feather: ({ icon, size, color, ...rest }: InterfaceProps) => JSX.Element; | ||
export default Feather; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/** | ||
* @description Feather icons names | ||
*/ | ||
export declare const icons: readonly ["Activity", "Airplay", "AlertCircle", "AlertOctagon", "AlertTriangle", "AlignCenter", "AlignJustify", "AlignLeft", "AlignRight", "Anchor", "Aperture", "Archive", "ArrowDownCircle", "ArrowDownLeft", "ArrowDownRight", "ArrowDown", "ArrowLeftCircle", "ArrowLeft", "ArrowRightCircle", "ArrowRight", "ArrowUpCircle", "ArrowUpLeft", "ArrowUpRight", "ArrowUp", "AtSign", "Award", "BarChart2", "BarChart", "BatteryCharging", "Battery", "BellOff", "Bell", "Bluetooth", "Bold", "BookOpen", "Book", "Bookmark", "Box", "Briefcase", "Calendar", "CameraOff", "Camera", "Cast", "CheckCircle", "CheckSquare", "Check", "ChevronDown", "ChevronLeft", "ChevronRight", "ChevronUp", "ChevronsDown", "ChevronsLeft", "ChevronsRight", "ChevronsUp", "Chrome", "Circle", "Clipboard", "Clock", "CloudDrizzle", "CloudLightning", "CloudOff", "CloudRain", "CloudSnow", "Cloud", "Code", "Codepen", "Codesandbox", "Coffee", "Columns", "Command", "Compass", "Copy", "CornerDownLeft", "CornerDownRight", "CornerLeftDown", "CornerLeftUp", "CornerRightDown", "CornerRightUp", "CornerUpLeft", "CornerUpRight", "Cpu", "CreditCard", "Crop", "Crosshair", "Database", "Delete", "Disc", "DivideCircle", "DivideSquare", "Divide", "DollarSign", "DownloadCloud", "Download", "Dribbble", "Droplet", "Edit2", "Edit3", "Edit", "ExternalLink", "EyeOff", "Eye", "Facebook", "FastForward", "Feather", "Figma", "FileMinus", "FilePlus", "FileText", "File", "Film", "Filter", "Flag", "FolderMinus", "FolderPlus", "Folder", "Framer", "Frown", "Gift", "GitBranch", "GitCommit", "GitMerge", "GitPullRequest", "GitHub", "Gitlab", "Globe", "Grid", "HardDrive", "Hash", "Headphones", "Heart", "HelpCircle", "Hexagon", "Home", "Image", "Inbox", "Info", "Instagram", "Italic", "Key", "Layers", "Layout", "LifeBuoy", "Link2", "Link", "Linkedin", "List", "Loader", "Lock", "LogIn", "LogOut", "Mail", "MapPin", "Map", "Maximize2", "Maximize", "Meh", "Menu", "MessageCircle", "MessageSquare", "MicOff", "Mic", "Minimize2", "Minimize", "MinusCircle", "MinusSquare", "Minus", "Monitor", "Moon", "MoreHorizontal", "MoreVertical", "MousePointer", "Move", "Music", "Navigation2", "Navigation", "Octagon", "Package", "Paperclip", "PauseCircle", "Pause", "PenTool", "Percent", "PhoneCall", "PhoneForwarded", "PhoneIncoming", "PhoneMissed", "PhoneOff", "PhoneOutgoing", "Phone", "PieChart", "PlayCircle", "Play", "PlusCircle", "PlusSquare", "Plus", "Pocket", "Power", "Printer", "Radio", "RefreshCcw", "RefreshCw", "Repeat", "Rewind", "RotateCcw", "RotateCw", "Rss", "Save", "Scissors", "Search", "Send", "Server", "Settings", "Share2", "Share", "ShieldOff", "Shield", "ShoppingBag", "ShoppingCart", "Shuffle", "Sidebar", "SkipBack", "SkipForward", "Slack", "Slash", "Sliders", "Smartphone", "Smile", "Speaker", "Square", "Star", "StopCircle", "Sun", "Sunrise", "Sunset", "Table", "Tablet", "Tag", "Target", "Terminal", "Thermometer", "ThumbsDown", "ThumbsUp", "ToggleLeft", "ToggleRight", "Tool", "Trash2", "Trash", "Trello", "TrendingDown", "TrendingUp", "Triangle", "Truck", "Tv", "Twitch", "Twitter", "Type", "Umbrella", "Underline", "Unlock", "UploadCloud", "Upload", "UserCheck", "UserMinus", "UserPlus", "UserX", "User", "Users", "VideoOff", "Video", "Voicemail", "Volume1", "Volume2", "VolumeX", "Volume", "Watch", "WifiOff", "Wifi", "Wind", "XCircle", "XOctagon", "XSquare", "X", "Youtube", "ZapOff", "Zap", "ZoomIn", "ZoomOut"]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,23 @@ | ||
/** | ||
* Type definition for Icon | ||
*/ | ||
import { icons } from './icons'; | ||
export declare type IconType = keyof typeof icons; | ||
/** | ||
* Size properties | ||
*/ | ||
export declare const sizes: readonly [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 16, 20]; | ||
declare type Sizes = typeof sizes[number]; | ||
export declare const SizesRecord: Record<Sizes, string>; | ||
import { icons } from './icons.types'; | ||
export declare type Ficons = typeof icons[number]; | ||
export interface IconProps { | ||
/** | ||
* Icon component | ||
* Feather icon component name | ||
*/ | ||
icon: IconType; | ||
icon: Ficons; | ||
/** | ||
* How large should the Checkmark be? | ||
*/ | ||
size?: Sizes; | ||
/** | ||
* Fill property classname | ||
*/ | ||
fillClassName?: string; | ||
size?: string | number; | ||
/** | ||
* Stroke property classname | ||
* Add animate spin | ||
*/ | ||
strokeClassName?: string; | ||
color?: string; | ||
/** | ||
* Add animate spin | ||
* Custom classnames | ||
*/ | ||
spin?: boolean; | ||
className: string; | ||
} | ||
export {}; |
Oops, something went wrong.