From 879595146bd9bdfefa0329cf8b96b82c851e4a34 Mon Sep 17 00:00:00 2001 From: immi Date: Sun, 18 Aug 2024 01:39:44 +0500 Subject: [PATCH] v1.2.0alpha.1 --- app/src/components/icons.tsx | 179 +++++++++++++++++++++++++++++++++++ package.json | 2 +- 2 files changed, 180 insertions(+), 1 deletion(-) create mode 100644 app/src/components/icons.tsx diff --git a/app/src/components/icons.tsx b/app/src/components/icons.tsx new file mode 100644 index 0000000..373f346 --- /dev/null +++ b/app/src/components/icons.tsx @@ -0,0 +1,179 @@ +// https://vercel.com/blog/how-we-optimized-package-imports-in-next-js + +import { + IconBrandApple, + IconBrandDiscord, + IconBrandGithub, + IconBrandGoogleFilled, + IconBrandLinkedin, + IconBrandPaypalFilled, + IconBrandX, + IconCopy, + } from "@tabler/icons-react"; + import { + ArrowBigLeftDashIcon, + ArrowLeftIcon, + ArrowRightIcon, + BellIcon, + CalendarIcon, + CheckIcon, + ChevronDownIcon, + ChevronLeftIcon, + ChevronRightIcon, + ChevronUpIcon, + CircleIcon, + CommandIcon, + Laptop, + DicesIcon, + ExternalLinkIcon, + EyeIcon, + EyeOffIcon, + FlagIcon, + GlobeIcon, + GripVerticalIcon, + Loader2Icon, + LockIcon, + LogInIcon, + LogOutIcon, + MailIcon, + // MessageSquareText, + MinusIcon, + MoonIcon, + MoreHorizontalIcon, + PaintbrushIcon, + PaletteIcon, + PlusIcon, + RocketIcon, + RotateCcwIcon, + SaveIcon, + SearchIcon, + SettingsIcon, + ShareIcon, + StarIcon, + // StarsIcon, + SunIcon, + Trash2Icon, + UnlockIcon, + UserIcon, + XIcon, + } from "lucide-react"; + + // Brands + const Discord = IconBrandDiscord; + const GitHub = IconBrandGithub; + const LinkedIn = IconBrandLinkedin; + const Google = IconBrandGoogleFilled; + const Xcom = IconBrandX; + const Paypal = IconBrandPaypalFilled; + const Apple = IconBrandApple; + + // Icons used by shadcn + const ArrowLeft = ArrowLeftIcon; + const ArrowRight = ArrowRightIcon; + const Check = CheckIcon; + const ChevronDown = ChevronDownIcon; + const ChevronLeft = ChevronLeftIcon; + const ChevronRight = ChevronRightIcon; + const ChevronUp = ChevronUpIcon; + const Circle = CircleIcon; + const GripVertical = GripVerticalIcon; + const MoreHorizontal = MoreHorizontalIcon; + const Search = SearchIcon; + const X = XIcon; + + // Theme + const Dark = MoonIcon; + const Light = SunIcon; + const System = Laptop; + + // Auth + const LogOut = LogOutIcon; + const User = UserIcon; + const LogIn = LogInIcon; + + // Common + const Copy = IconCopy; + const External = ExternalLinkIcon; + const EyeClosed = EyeOffIcon; + const EyeOpened = EyeIcon; + const Flag = FlagIcon; + const Globe = GlobeIcon; + const Loader = Loader2Icon; + const Lock = LockIcon; + const Unlock = UnlockIcon; + const Mail = MailIcon; + const Minus = MinusIcon; + const Plus = PlusIcon; + const Settings = SettingsIcon; + const Trash = Trash2Icon; + + // Project-specific + const Paintbrush = PaintbrushIcon; + const Calendar = CalendarIcon; +// const Emoji = MessageSquareTextIcon; + const Rocket = RocketIcon; + const Bell = BellIcon; + const Save = SaveIcon; + const Palette = PaletteIcon; +// const Favorites = StarsIcon; + const Reset = RotateCcwIcon; + const Star = StarIcon; + const Share = ShareIcon; + const Dices = DicesIcon; + const Previous = ArrowBigLeftDashIcon; + + export { + Apple, + ArrowLeft, + ArrowRight, + Bell, + Calendar, + Check, + ChevronDown, + ChevronLeft, + ChevronRight, + ChevronUp, + Circle, + CommandIcon, + Copy, + Dark, + Dices, + Discord, + // Emoji, + External, + EyeClosed, + EyeOpened, + // Favorites, + Flag, + GitHub, + Globe, + Google, + GripVertical, + Light, + LinkedIn, + Loader, + Lock, + LogIn, + LogOut, + Mail, + Minus, + MoreHorizontal, + Paintbrush, + Palette, + Paypal, + Plus, + Previous, + Reset, + Rocket, + Save, + Search, + Settings, + Share, + Star, + System, + Trash, + Unlock, + User, + X, + Xcom, + }; \ No newline at end of file diff --git a/package.json b/package.json index c9d9ccd..d596edb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "shadcn-theme-editor", - "version": "1.1.0", + "version": "1.2.0-alpha.1", "description": "Shadcn Theme Editor", "main": "dist/index.js", "module": "dist/index.mjs",