Skip to content

Commit

Permalink
chore(release): set package.json to 0.1.4 [skip ci]
Browse files Browse the repository at this point in the history
## [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
semantic-release-bot committed Oct 30, 2022
1 parent 8920627 commit 0f91fcd
Show file tree
Hide file tree
Showing 11 changed files with 80 additions and 499 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## [0.1.4](https://github.com/trejocode/uikit/compare/v0.1.3...v0.1.4) (2022-10-30)


### Bug Fixes

* **Button:** 🩹 Button loader icon fixed ([8920627](https://github.com/trejocode/uikit/commit/89206270ef3ae2c61abeb2e1c8016071b4fefad9))
* **Icons:** ✅ Feather icons instead local icons ([57e45e9](https://github.com/trejocode/uikit/commit/57e45e9c260959163670db5af41108f825b24b08))

## [0.1.3](https://github.com/trejocode/uikit/compare/v0.1.2...v0.1.3) (2022-10-28)


Expand Down
11 changes: 11 additions & 0 deletions dist/atoms/Icons/Feather.d.ts
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;
2 changes: 1 addition & 1 deletion dist/atoms/Icons/Icon.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
*/
/// <reference types="react" />
import { IconProps } from './types';
declare const Icon: ({ icon, size, fillClassName, strokeClassName, spin, ...props }: IconProps) => JSX.Element;
declare const Icon: ({ icon, size, color, ...props }: IconProps) => JSX.Element;
export default Icon;
4 changes: 4 additions & 0 deletions dist/atoms/Icons/icons.types.d.ts
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"];
29 changes: 9 additions & 20 deletions dist/atoms/Icons/types.d.ts
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 {};
Loading

0 comments on commit 0f91fcd

Please sign in to comment.