@kashi-ui/icons 0.0.0-stage → 0.16.0
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/LICENSE +21 -0
- package/README.md +26 -2
- package/dist/index.d.ts +9 -0
- package/dist/index.js +26 -0
- package/dist/react.d.ts +84 -0
- package/dist/react.js +109 -0
- package/dist/sprite.svg +72 -0
- package/dist/svg/arrow-left.svg +1 -0
- package/dist/svg/arrow-right.svg +1 -0
- package/dist/svg/bank.svg +1 -0
- package/dist/svg/bell.svg +1 -0
- package/dist/svg/building.svg +1 -0
- package/dist/svg/calendar.svg +1 -0
- package/dist/svg/car.svg +1 -0
- package/dist/svg/cart.svg +1 -0
- package/dist/svg/chart.svg +1 -0
- package/dist/svg/check.svg +1 -0
- package/dist/svg/chevron-down.svg +1 -0
- package/dist/svg/chevron-left.svg +1 -0
- package/dist/svg/chevron-right.svg +1 -0
- package/dist/svg/chevron-up.svg +1 -0
- package/dist/svg/clock.svg +1 -0
- package/dist/svg/close.svg +1 -0
- package/dist/svg/command.svg +1 -0
- package/dist/svg/copy.svg +1 -0
- package/dist/svg/credit-card.svg +1 -0
- package/dist/svg/download.svg +1 -0
- package/dist/svg/edit.svg +1 -0
- package/dist/svg/error.svg +1 -0
- package/dist/svg/eye-off.svg +1 -0
- package/dist/svg/eye.svg +1 -0
- package/dist/svg/file.svg +1 -0
- package/dist/svg/filter.svg +1 -0
- package/dist/svg/folder.svg +1 -0
- package/dist/svg/globe.svg +1 -0
- package/dist/svg/grid.svg +1 -0
- package/dist/svg/grip.svg +1 -0
- package/dist/svg/heart.svg +1 -0
- package/dist/svg/home.svg +1 -0
- package/dist/svg/id-card.svg +1 -0
- package/dist/svg/image.svg +1 -0
- package/dist/svg/inbox.svg +1 -0
- package/dist/svg/info.svg +1 -0
- package/dist/svg/keyboard.svg +1 -0
- package/dist/svg/landline.svg +1 -0
- package/dist/svg/link.svg +1 -0
- package/dist/svg/list.svg +1 -0
- package/dist/svg/lock.svg +1 -0
- package/dist/svg/logout.svg +1 -0
- package/dist/svg/mail.svg +1 -0
- package/dist/svg/map-pin.svg +1 -0
- package/dist/svg/menu.svg +1 -0
- package/dist/svg/minus.svg +1 -0
- package/dist/svg/moon.svg +1 -0
- package/dist/svg/more-vertical.svg +1 -0
- package/dist/svg/more.svg +1 -0
- package/dist/svg/percent.svg +1 -0
- package/dist/svg/phone.svg +1 -0
- package/dist/svg/plus.svg +1 -0
- package/dist/svg/receipt.svg +1 -0
- package/dist/svg/refresh.svg +1 -0
- package/dist/svg/search.svg +1 -0
- package/dist/svg/send.svg +1 -0
- package/dist/svg/settings.svg +1 -0
- package/dist/svg/shield.svg +1 -0
- package/dist/svg/sidebar.svg +1 -0
- package/dist/svg/sparkle.svg +1 -0
- package/dist/svg/star.svg +1 -0
- package/dist/svg/success.svg +1 -0
- package/dist/svg/sun.svg +1 -0
- package/dist/svg/tag.svg +1 -0
- package/dist/svg/trash.svg +1 -0
- package/dist/svg/upload.svg +1 -0
- package/dist/svg/user.svg +1 -0
- package/dist/svg/users.svg +1 -0
- package/dist/svg/wallet.svg +1 -0
- package/dist/svg/warning.svg +1 -0
- package/package.json +28 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Kashi contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @kashi-ui/icons
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
۷۰ آیکون خطی کاشی روی شبکهٔ ۲۰×۲۰ با خط ۱٫۷؛ برای React، HTML و هر فریمورک دیگر. فهرست کامل و نحوهٔ استفادهٔ هر آیکون: https://kashi.sepantapouya.com/docs/icons/
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
npm i @kashi-ui/icons
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
```tsx
|
|
10
|
+
import { IconSearch, Icon } from "@kashi-ui/icons/react";
|
|
11
|
+
|
|
12
|
+
<IconSearch size={20} />
|
|
13
|
+
<Icon name="trash" title="حذف" />
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
```js
|
|
17
|
+
import { iconSvg, searchIcons } from "@kashi-ui/icons";
|
|
18
|
+
|
|
19
|
+
el.innerHTML = iconSvg("calendar", { size: 16 });
|
|
20
|
+
searchIcons("کارت"); // ["credit-card", "id-card", ...]
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
- اسپرایت: `@kashi-ui/icons/sprite.svg` و `<use href="sprite.svg#k-search">`
|
|
24
|
+
- فایل جدا: `@kashi-ui/icons/svg/search.svg`
|
|
25
|
+
- همهٔ آیکونها در پلاگین فیگمای کاشی هم هستند (`Icon / search`).
|
|
26
|
+
|
|
27
|
+
طراحیشده برای کاشی، با مجوز MIT.
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export type IconName = "info" | "success" | "warning" | "error" | "close" | "check" | "chevron-down" | "chevron-up" | "chevron-left" | "chevron-right" | "arrow-left" | "arrow-right" | "search" | "plus" | "minus" | "calendar" | "clock" | "user" | "users" | "home" | "settings" | "bell" | "mail" | "phone" | "landline" | "lock" | "eye" | "eye-off" | "upload" | "download" | "file" | "trash" | "edit" | "copy" | "filter" | "more" | "more-vertical" | "grip" | "star" | "heart" | "credit-card" | "bank" | "wallet" | "chart" | "map-pin" | "link" | "refresh" | "logout" | "menu" | "folder" | "image" | "sun" | "moon" | "globe" | "shield" | "sparkle" | "grid" | "list" | "cart" | "tag" | "inbox" | "send" | "receipt" | "building" | "id-card" | "car" | "keyboard" | "percent" | "sidebar" | "command";
|
|
2
|
+
export type IconCategory = "status" | "actions" | "arrows" | "navigation" | "people" | "communication" | "files" | "finance" | "time" | "security" | "interface";
|
|
3
|
+
export interface IconData { title: string; category: IconCategory; keywords: string[]; directional?: boolean; body: string; component: string }
|
|
4
|
+
export declare const categories: Record<IconCategory, string>;
|
|
5
|
+
export declare const icons: Record<IconName, IconData>;
|
|
6
|
+
export declare const iconNames: IconName[];
|
|
7
|
+
export interface IconSvgOptions { size?: number | string; strokeWidth?: number; title?: string; className?: string; mirror?: boolean }
|
|
8
|
+
export declare function iconSvg(name: IconName | (string & {}), options?: IconSvgOptions): string | null;
|
|
9
|
+
export declare function searchIcons(query: string): IconName[];
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// @kashi-ui/icons — این فایل خودکار ساخته شده است
|
|
2
|
+
export const categories = {"status":"وضعیت","actions":"عملیات","arrows":"جهت","navigation":"ناوبری","people":"افراد","communication":"ارتباط","files":"فایل","finance":"مالی و خرید","time":"زمان","security":"امنیت و هویت","interface":"رابط کاربری"};
|
|
3
|
+
export const icons = {"info":{"component":"IconInfo","title":"اطلاعات","category":"status","keywords":["راهنما","توضیح","information","help"],"body":"<circle cx=\"10\" cy=\"10\" r=\"7.5\"/><path d=\"M10 13.5V9.5M10 6.5h.01\"/>"},"success":{"component":"IconSuccess","title":"موفق","category":"status","keywords":["تیک","تایید","درست","انجام","شد","check","ok","done"],"body":"<circle cx=\"10\" cy=\"10\" r=\"7.5\"/><path d=\"m6.75 10 2.25 2.25 4.25-4.5\"/>"},"warning":{"component":"IconWarning","title":"هشدار","category":"status","keywords":["اخطار","خطر","توجه","alert","caution"],"body":"<path d=\"M8.6 3.4 2.4 14a1.6 1.6 0 0 0 1.4 2.4h12.4a1.6 1.6 0 0 0 1.4-2.4L11.4 3.4a1.6 1.6 0 0 0-2.8 0Z\"/><path d=\"M10 7.5v3.25M10 13.5h.01\"/>"},"error":{"component":"IconError","title":"خطا","category":"status","keywords":["اشتباه","ناموفق","مشکل","danger","fail"],"body":"<circle cx=\"10\" cy=\"10\" r=\"7.5\"/><path d=\"M10 6.5v4M10 13.5h.01\"/>"},"close":{"component":"IconClose","title":"بستن","category":"actions","keywords":["ضربدر","حذف","لغو","x","cancel","dismiss"],"body":"<path d=\"m5 5 10 10M15 5 5 15\"/>"},"check":{"component":"IconCheck","title":"تیک","category":"actions","keywords":["تایید","درست","انتخاب","done","ok"],"body":"<path d=\"m4.5 10.5 3.5 3.5 7.5-8\"/>"},"chevron-down":{"component":"IconChevronDown","title":"پایین","category":"arrows","keywords":["باز","کردن","فهرست","کشویی","expand"],"body":"<path d=\"m6 8 4 4 4-4\"/>"},"chevron-up":{"component":"IconChevronUp","title":"بالا","category":"arrows","keywords":["بستن","جمع","کردن","collapse"],"body":"<path d=\"m6 12 4-4 4 4\"/>"},"chevron-left":{"component":"IconChevronLeft","title":"چپ","category":"arrows","keywords":["بعدی","در","راستبهچپ","قبلی","next","back"],"directional":true,"body":"<path d=\"m12 6-4 4 4 4\"/>"},"chevron-right":{"component":"IconChevronRight","title":"راست","category":"arrows","keywords":["قبلی","در","راستبهچپ","previous","forward"],"directional":true,"body":"<path d=\"m8 6 4 4-4 4\"/>"},"arrow-left":{"component":"IconArrowLeft","title":"فلش چپ","category":"arrows","keywords":["بعدی","ادامه","رفتن","next"],"directional":true,"body":"<path d=\"M16 10H4M8.5 5.5 4 10l4.5 4.5\"/>"},"arrow-right":{"component":"IconArrowRight","title":"فلش راست","category":"arrows","keywords":["قبلی","بازگشت","back","previous"],"directional":true,"body":"<path d=\"M4 10h12M11.5 5.5 16 10l-4.5 4.5\"/>"},"search":{"component":"IconSearch","title":"جستجو","category":"actions","keywords":["پیدا","کردن","ذرهبین","find","magnifier"],"body":"<circle cx=\"9\" cy=\"9\" r=\"5.5\"/><path d=\"m13 13 3.5 3.5\"/>"},"plus":{"component":"IconPlus","title":"افزودن","category":"actions","keywords":["جدید","اضافه","بهعلاوه","add","new","create"],"body":"<path d=\"M10 4.5v11M4.5 10h11\"/>"},"minus":{"component":"IconMinus","title":"کم کردن","category":"actions","keywords":["منها","کاهش","remove","subtract"],"body":"<path d=\"M4.5 10h11\"/>"},"calendar":{"component":"IconCalendar","title":"تقویم","category":"time","keywords":["تاریخ","روز","برنامه","date","schedule"],"body":"<rect x=\"3\" y=\"4\" width=\"14\" height=\"13\" rx=\"2.5\"/><path d=\"M3 8.5h14M7 2.5v3M13 2.5v3\"/>"},"clock":{"component":"IconClock","title":"ساعت","category":"time","keywords":["زمان","وقت","time","duration"],"body":"<circle cx=\"10\" cy=\"10\" r=\"7.5\"/><path d=\"M10 6v4l2.5 2\"/>"},"user":{"component":"IconUser","title":"کاربر","category":"people","keywords":["حساب","پروفایل","شخص","account","profile","person"],"body":"<circle cx=\"10\" cy=\"7\" r=\"3.25\"/><path d=\"M3.75 17c.8-3 3.3-4.75 6.25-4.75s5.45 1.75 6.25 4.75\"/>"},"users":{"component":"IconUsers","title":"کاربران","category":"people","keywords":["تیم","گروه","اعضا","team","group","members"],"body":"<circle cx=\"7.5\" cy=\"7.5\" r=\"2.75\"/><path d=\"M2.5 16.5c.6-2.6 2.6-4 5-4s4.4 1.4 5 4M13 4.9a2.75 2.75 0 0 1 0 5.2M14.5 12.7c1.6.5 2.7 1.8 3 3.8\"/>"},"home":{"component":"IconHome","title":"خانه","category":"navigation","keywords":["صفحهٔ","اصلی","داشبورد","home","dashboard"],"body":"<path d=\"M3.5 8.5 10 3.5l6.5 5V16a1 1 0 0 1-1 1H12v-5H8v5H4.5a1 1 0 0 1-1-1Z\"/>"},"settings":{"component":"IconSettings","title":"تنظیمات","category":"navigation","keywords":["پیکربندی","گزینهها","preferences","options","sliders"],"body":"<path d=\"M4 6h7M15 6h1M4 14h1M9 14h7\"/><circle cx=\"13\" cy=\"6\" r=\"2\"/><circle cx=\"7\" cy=\"14\" r=\"2\"/>"},"bell":{"component":"IconBell","title":"اعلان","category":"communication","keywords":["زنگ","نوتیفیکیشن","خبر","notification","alert"],"body":"<path d=\"M5.5 8a4.5 4.5 0 0 1 9 0c0 4.5 2 5.5 2 5.5h-13s2-1 2-5.5ZM8.5 16.5a1.6 1.6 0 0 0 3 0\"/>"},"mail":{"component":"IconMail","title":"ایمیل","category":"communication","keywords":["نامه","پیام","پست","email","message"],"body":"<rect x=\"2.5\" y=\"4.5\" width=\"15\" height=\"11\" rx=\"2\"/><path d=\"m3 5.5 7 5.5 7-5.5\"/>"},"phone":{"component":"IconPhone","title":"موبایل","category":"communication","keywords":["گوشی","تلفن","همراه","mobile","smartphone"],"body":"<rect x=\"5.5\" y=\"2.5\" width=\"9\" height=\"15\" rx=\"2\"/><path d=\"M9 14.5h2\"/>"},"landline":{"component":"IconLandline","title":"تلفن","category":"communication","keywords":["تماس","تلفن","ثابت","call","landline"],"body":"<path d=\"M6.5 3h-2A1.5 1.5 0 0 0 3 4.6C3.3 11.3 8.7 16.7 15.4 17a1.5 1.5 0 0 0 1.6-1.5v-2l-3.5-1.5-1.8 1.8a10 10 0 0 1-4.5-4.5L9 7.5 7.5 4Z\"/>"},"lock":{"component":"IconLock","title":"قفل","category":"security","keywords":["رمز","امنیت","خصوصی","password","secure","private"],"body":"<rect x=\"4\" y=\"9\" width=\"12\" height=\"8.5\" rx=\"2\"/><path d=\"M6.75 9V6.5a3.25 3.25 0 0 1 6.5 0V9\"/>"},"eye":{"component":"IconEye","title":"نمایش","category":"actions","keywords":["دیدن","مشاهده","رمز","show","view","visible"],"body":"<path d=\"M1.8 10S4.8 4.5 10 4.5 18.2 10 18.2 10 15.2 15.5 10 15.5 1.8 10 1.8 10Z\"/><circle cx=\"10\" cy=\"10\" r=\"2.5\"/>"},"eye-off":{"component":"IconEyeOff","title":"پنهان","category":"actions","keywords":["مخفی","کردن","رمز","hide","hidden"],"body":"<path d=\"M1.8 10S4.8 4.5 10 4.5 18.2 10 18.2 10 15.2 15.5 10 15.5 1.8 10 1.8 10Z\"/><circle cx=\"10\" cy=\"10\" r=\"2.5\"/><path d=\"m3 3 14 14\"/>"},"upload":{"component":"IconUpload","title":"آپلود","category":"files","keywords":["بارگذاری","ارسال","فایل","upload"],"body":"<path d=\"M10 13V3.5M6.5 7 10 3.5 13.5 7M3.5 13v2.5A1.5 1.5 0 0 0 5 17h10a1.5 1.5 0 0 0 1.5-1.5V13\"/>"},"download":{"component":"IconDownload","title":"دانلود","category":"files","keywords":["دریافت","خروجی","download","export"],"body":"<path d=\"M10 3.5V13M6.5 9.5 10 13l3.5-3.5M3.5 13v2.5A1.5 1.5 0 0 0 5 17h10a1.5 1.5 0 0 0 1.5-1.5V13\"/>"},"file":{"component":"IconFile","title":"فایل","category":"files","keywords":["سند","پرونده","document"],"body":"<path d=\"M11.5 2.5H6A1.5 1.5 0 0 0 4.5 4v12A1.5 1.5 0 0 0 6 17.5h8a1.5 1.5 0 0 0 1.5-1.5V6.5ZM11.5 2.5v4h4\"/>"},"trash":{"component":"IconTrash","title":"حذف","category":"actions","keywords":["سطل","زباله","پاک","کردن","delete","remove","bin"],"body":"<path d=\"M3.5 5.5h13M8 5.5V4a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v1.5M5 5.5l.8 10.6a1.5 1.5 0 0 0 1.5 1.4h5.4a1.5 1.5 0 0 0 1.5-1.4L15 5.5\"/>"},"edit":{"component":"IconEdit","title":"ویرایش","category":"actions","keywords":["مداد","تغییر","edit","pencil"],"body":"<path d=\"M13.5 3.5a1.8 1.8 0 0 1 2.5 2.5L7 15l-3.5 1 1-3.5Z\"/>"},"copy":{"component":"IconCopy","title":"کپی","category":"actions","keywords":["رونوشت","تکثیر","duplicate","clipboard"],"body":"<rect x=\"7\" y=\"7\" width=\"10\" height=\"10\" rx=\"2\"/><path d=\"M13 7V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2\"/>"},"filter":{"component":"IconFilter","title":"فیلتر","category":"actions","keywords":["پالایش","مرتبسازی","filter","funnel"],"body":"<path d=\"M3 4.5h14l-5.5 6.5v5l-3 1.5v-6.5Z\"/>"},"more":{"component":"IconMore","title":"بیشتر","category":"actions","keywords":["سه","نقطه","گزینهها","menu","more","dots"],"body":"<path d=\"M5 10h.01M10 10h.01M15 10h.01\" stroke-width=\"2.6\"/>"},"more-vertical":{"component":"IconMoreVertical","title":"بیشتر عمودی","category":"actions","keywords":["سه","نقطه","منو","کباب","more","kebab"],"body":"<path d=\"M10 5h.01M10 10h.01M10 15h.01\" stroke-width=\"2.6\"/>"},"grip":{"component":"IconGrip","title":"دستگیره","category":"actions","keywords":["کشیدن","جابهجایی","drag","handle"],"body":"<path d=\"M7.5 5h.01M12.5 5h.01M7.5 10h.01M12.5 10h.01M7.5 15h.01M12.5 15h.01\" stroke-width=\"2.4\"/>"},"star":{"component":"IconStar","title":"ستاره","category":"status","keywords":["امتیاز","علاقهمندی","favorite","rating"],"body":"<path d=\"m10 2.8 2.2 4.6 5 .7-3.6 3.5.9 5L10 14.2l-4.5 2.4.9-5-3.6-3.5 5-.7Z\"/>"},"heart":{"component":"IconHeart","title":"قلب","category":"status","keywords":["پسند","علاقه","like","love"],"body":"<path d=\"M10 16.5S3 12.5 3 7.5A3.5 3.5 0 0 1 10 6a3.5 3.5 0 0 1 7 1.5c0 5-7 9-7 9Z\"/>"},"credit-card":{"component":"IconCreditCard","title":"کارت بانکی","category":"finance","keywords":["پرداخت","کارت","عابربانک","card","payment"],"body":"<rect x=\"2.5\" y=\"4.5\" width=\"15\" height=\"11\" rx=\"2\"/><path d=\"M2.5 8.5h15M5.5 12.5h3\"/>"},"bank":{"component":"IconBank","title":"بانک","category":"finance","keywords":["بانکداری","حساب","bank"],"body":"<path d=\"M3 8 10 3.5 17 8ZM4.5 8v6.5M8 8v6.5M12 8v6.5M15.5 8v6.5M3 16.5h14\"/>"},"wallet":{"component":"IconWallet","title":"کیف پول","category":"finance","keywords":["موجودی","اعتبار","wallet","balance"],"body":"<rect x=\"3\" y=\"5.5\" width=\"14\" height=\"11\" rx=\"2\"/><path d=\"M13 11h1.5M5 5.5l7-2.5 1 2.5\"/>"},"chart":{"component":"IconChart","title":"نمودار","category":"finance","keywords":["آمار","گزارش","chart","stats","analytics"],"body":"<path d=\"M3.5 16.5h13M6 13.5V9M10 13.5V5M14 13.5v-6\"/>"},"map-pin":{"component":"IconMapPin","title":"مکان","category":"navigation","keywords":["آدرس","نقشه","موقعیت","location","address"],"body":"<path d=\"M10 17.5s5.5-5 5.5-9.5a5.5 5.5 0 0 0-11 0c0 4.5 5.5 9.5 5.5 9.5Z\"/><circle cx=\"10\" cy=\"8\" r=\"2\"/>"},"link":{"component":"IconLink","title":"لینک","category":"actions","keywords":["پیوند","آدرس","url","link"],"body":"<path d=\"M8.5 11.5a3 3 0 0 0 4.2 0l2.6-2.6a3 3 0 0 0-4.2-4.2l-.9.9M11.5 8.5a3 3 0 0 0-4.2 0l-2.6 2.6a3 3 0 0 0 4.2 4.2l.9-.9\"/>"},"refresh":{"component":"IconRefresh","title":"بارگذاری دوباره","category":"actions","keywords":["تازهسازی","بهروزرسانی","reload","sync"],"body":"<path d=\"M16 10a6 6 0 1 1-1.8-4.3M16 3.5V7h-3.5\"/>"},"logout":{"component":"IconLogout","title":"خروج","category":"navigation","keywords":["خروج","از","حساب","sign","out","logout"],"directional":true,"body":"<path d=\"M8 17H5a1.5 1.5 0 0 1-1.5-1.5v-11A1.5 1.5 0 0 1 5 3h3M13 13.5 16.5 10 13 6.5M16.5 10H8\"/>"},"menu":{"component":"IconMenu","title":"منو","category":"navigation","keywords":["همبرگر","فهرست","menu","hamburger"],"body":"<path d=\"M3.5 5.5h13M3.5 10h13M3.5 14.5h13\"/>"},"folder":{"component":"IconFolder","title":"پوشه","category":"files","keywords":["دسته","فولدر","folder","directory"],"body":"<path d=\"M2.5 6A1.5 1.5 0 0 1 4 4.5h3.5l1.5 2h7A1.5 1.5 0 0 1 17.5 8v7a1.5 1.5 0 0 1-1.5 1.5H4A1.5 1.5 0 0 1 2.5 15Z\"/>"},"image":{"component":"IconImage","title":"تصویر","category":"files","keywords":["عکس","گالری","image","photo"],"body":"<rect x=\"2.5\" y=\"3.5\" width=\"15\" height=\"13\" rx=\"2\"/><circle cx=\"7\" cy=\"8\" r=\"1.5\"/><path d=\"m17.5 13-4-4-8.5 7.5\"/>"},"sun":{"component":"IconSun","title":"روشن","category":"interface","keywords":["تم","روشن","خورشید","light","theme"],"body":"<circle cx=\"10\" cy=\"10\" r=\"3.5\"/><path d=\"M10 2v1.5M10 16.5V18M2 10h1.5M16.5 10H18M4.3 4.3l1.1 1.1M14.6 14.6l1.1 1.1M4.3 15.7l1.1-1.1M14.6 5.4l1.1-1.1\"/>"},"moon":{"component":"IconMoon","title":"تیره","category":"interface","keywords":["تم","تیره","ماه","شب","dark","theme"],"body":"<path d=\"M16.5 12A7 7 0 1 1 8 3.5a5.5 5.5 0 0 0 8.5 8.5Z\"/>"},"globe":{"component":"IconGlobe","title":"زبان","category":"interface","keywords":["جهان","وبسایت","بینالملل","language","web"],"body":"<circle cx=\"10\" cy=\"10\" r=\"7.5\"/><path d=\"M2.5 10h15M10 2.5c2 2.2 3 4.7 3 7.5s-1 5.3-3 7.5c-2-2.2-3-4.7-3-7.5s1-5.3 3-7.5Z\"/>"},"shield":{"component":"IconShield","title":"امنیت","category":"security","keywords":["محافظت","سپر","حریم","security","protect"],"body":"<path d=\"M10 2.5 16 5v4.5c0 4-2.6 6.7-6 8-3.4-1.3-6-4-6-8V5Z\"/>"},"sparkle":{"component":"IconSparkle","title":"ویژه","category":"interface","keywords":["جدید","هوش","مصنوعی","درخشان","new","ai","magic"],"body":"<path d=\"m10 2.5 1.6 4.4 4.4 1.6-4.4 1.6-1.6 4.4-1.6-4.4L4 8.5l4.4-1.6Z\"/>"},"grid":{"component":"IconGrid","title":"شبکه","category":"interface","keywords":["نمای","کارتی","چیدمان","grid","layout"],"body":"<rect x=\"3\" y=\"3\" width=\"5.5\" height=\"5.5\" rx=\"1\"/><rect x=\"11.5\" y=\"3\" width=\"5.5\" height=\"5.5\" rx=\"1\"/><rect x=\"3\" y=\"11.5\" width=\"5.5\" height=\"5.5\" rx=\"1\"/><rect x=\"11.5\" y=\"11.5\" width=\"5.5\" height=\"5.5\" rx=\"1\"/>"},"list":{"component":"IconList","title":"فهرست","category":"interface","keywords":["لیست","نمای","فهرستی","list"],"body":"<path d=\"M7.5 5.5h9M7.5 10h9M7.5 14.5h9M3.5 5.5h.01M3.5 10h.01M3.5 14.5h.01\"/>"},"cart":{"component":"IconCart","title":"سبد خرید","category":"finance","keywords":["خرید","فروشگاه","cart","shop"],"body":"<path d=\"M2.5 3h2l2 10h9l1.5-7H5.5\"/><circle cx=\"8\" cy=\"16.5\" r=\"1\"/><circle cx=\"14.5\" cy=\"16.5\" r=\"1\"/>"},"tag":{"component":"IconTag","title":"برچسب","category":"finance","keywords":["قیمت","تخفیف","تگ","tag","price"],"body":"<path d=\"M3 3h6.5l7.5 7.5-6.5 6.5L3 9.5Z\"/><path d=\"M6.5 6.5h.01\" stroke-width=\"2.4\"/>"},"inbox":{"component":"IconInbox","title":"صندوق","category":"communication","keywords":["پیامها","خالی","ورودی","inbox","empty"],"body":"<path d=\"M2.5 11h4l1.5 2.5h4l1.5-2.5h4M4.5 4.5h11l2 6.5v4.5a1.5 1.5 0 0 1-1.5 1.5H4a1.5 1.5 0 0 1-1.5-1.5V11Z\"/>"},"send":{"component":"IconSend","title":"ارسال","category":"communication","keywords":["فرستادن","پیام","send"],"directional":true,"body":"<path d=\"M17.5 2.5 9 11M17.5 2.5 12 17.5l-3-6.5-6.5-3Z\"/>"},"receipt":{"component":"IconReceipt","title":"رسید","category":"finance","keywords":["فاکتور","صورتحساب","invoice","receipt"],"body":"<path d=\"M5 2.5h10v15l-2-1.5-1.5 1.5L10 16l-1.5 1.5L7 16l-2 1.5ZM7.5 7h5M7.5 10h5\"/>"},"building":{"component":"IconBuilding","title":"شرکت","category":"people","keywords":["سازمان","ساختمان","کسبوکار","company","organization"],"body":"<path d=\"M4 17.5V4a1.5 1.5 0 0 1 1.5-1.5h6A1.5 1.5 0 0 1 13 4v13.5M13 8h2.5A1.5 1.5 0 0 1 17 9.5v8M2.5 17.5h15M7 6h2M7 9.5h2M7 13h2\"/>"},"id-card":{"component":"IconIdCard","title":"کارت ملی","category":"security","keywords":["هویت","شناسایی","کد","ملی","id","identity"],"body":"<rect x=\"2.5\" y=\"4\" width=\"15\" height=\"12\" rx=\"2\"/><circle cx=\"7\" cy=\"9\" r=\"1.75\"/><path d=\"M4.5 13.5c.4-1.3 1.3-2 2.5-2s2.1.7 2.5 2M11.5 8.5h4M11.5 11.5h3\"/>"},"car":{"component":"IconCar","title":"خودرو","category":"navigation","keywords":["ماشین","پلاک","car","vehicle"],"body":"<path d=\"M4 12.5 5.5 7.5A1.5 1.5 0 0 1 7 6.5h6a1.5 1.5 0 0 1 1.4 1l1.6 5M3 12.5h14v3H3ZM5.5 15.5v1.5M14.5 15.5v1.5\"/>"},"keyboard":{"component":"IconKeyboard","title":"کیبورد","category":"interface","keywords":["صفحهکلید","تایپ","keyboard"],"body":"<rect x=\"2\" y=\"5\" width=\"16\" height=\"10\" rx=\"2\"/><path d=\"M5 8.5h.01M8 8.5h.01M11 8.5h.01M14 8.5h.01M6 12h8\"/>"},"percent":{"component":"IconPercent","title":"درصد","category":"finance","keywords":["تخفیف","کارمزد","percent","discount"],"body":"<path d=\"M15 5 5 15\"/><circle cx=\"6\" cy=\"6\" r=\"1.75\"/><circle cx=\"14\" cy=\"14\" r=\"1.75\"/>"},"sidebar":{"component":"IconSidebar","title":"منوی کناری","category":"interface","keywords":["نوار","کناری","پنل","sidebar","panel"],"body":"<rect x=\"2.5\" y=\"3.5\" width=\"15\" height=\"13\" rx=\"2\"/><path d=\"M12.5 3.5v13\"/>"},"command":{"component":"IconCommand","title":"فرمان","category":"interface","keywords":["کلید","میانبر","command","shortcut"],"body":"<path d=\"M7.5 7.5h5v5h-5ZM7.5 7.5V5.5a2 2 0 1 0-2 2Zm5 0V5.5a2 2 0 1 1 2 2Zm0 5v2a2 2 0 1 0 2-2Zm-5 0v2a2 2 0 1 1-2-2Z\"/>"}};
|
|
4
|
+
export const iconNames = Object.keys(icons);
|
|
5
|
+
|
|
6
|
+
const esc = (s) => String(s).replace(/&/g, "&").replace(/</g, "<").replace(/"/g, """);
|
|
7
|
+
|
|
8
|
+
/** کد SVG یک آیکون؛ بدون title برای صفحهخوان پنهان است */
|
|
9
|
+
export function iconSvg(name, { size = 20, strokeWidth = 1.7, title, className, mirror = false } = {}) {
|
|
10
|
+
const icon = icons[name];
|
|
11
|
+
if (!icon) return null;
|
|
12
|
+
const a11y = title ? ` role="img" aria-label="${esc(title)}"` : ' aria-hidden="true"';
|
|
13
|
+
const cls = className ? ` class="${esc(className)}"` : "";
|
|
14
|
+
const flip = mirror ? ' style="transform:scaleX(-1)"' : "";
|
|
15
|
+
return `<svg xmlns="http://www.w3.org/2000/svg" width="${size}" height="${size}" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="${strokeWidth}" stroke-linecap="round" stroke-linejoin="round"${cls}${a11y}${flip} data-kashi-icon="${name}">${title ? `<title>${esc(title)}</title>` : ""}${icon.body}</svg>`;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/** جستجوی فارسی و انگلیسی در نام، عنوان و کلیدواژهها */
|
|
19
|
+
export function searchIcons(query) {
|
|
20
|
+
const q = String(query || "").trim().toLowerCase().replace(/ي/g, "ی").replace(/ك/g, "ک");
|
|
21
|
+
if (!q) return iconNames;
|
|
22
|
+
return iconNames.filter((n) => {
|
|
23
|
+
const i = icons[n];
|
|
24
|
+
return [n, i.title, ...i.keywords].some((t) => t.toLowerCase().includes(q));
|
|
25
|
+
});
|
|
26
|
+
}
|
package/dist/react.d.ts
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import type { ForwardRefExoticComponent, RefAttributes, SVGProps } from "react";
|
|
2
|
+
import type { IconName } from "./index.js";
|
|
3
|
+
export interface IconProps extends Omit<SVGProps<SVGSVGElement>, "ref"> {
|
|
4
|
+
/** اندازه به پیکسل یا هر واحد CSS @default 20 */
|
|
5
|
+
size?: number | string;
|
|
6
|
+
/** ضخامت خط @default 1.7 */
|
|
7
|
+
strokeWidth?: number;
|
|
8
|
+
/** متن برای صفحهخوان؛ بدون آن آیکون تزئینی و پنهان است */
|
|
9
|
+
title?: string;
|
|
10
|
+
/** قرینهٔ افقی؛ برای فلشها در طرحهای دوجهته */
|
|
11
|
+
mirror?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export type KashiIcon = ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
14
|
+
export declare const IconInfo: KashiIcon;
|
|
15
|
+
export declare const IconSuccess: KashiIcon;
|
|
16
|
+
export declare const IconWarning: KashiIcon;
|
|
17
|
+
export declare const IconError: KashiIcon;
|
|
18
|
+
export declare const IconClose: KashiIcon;
|
|
19
|
+
export declare const IconCheck: KashiIcon;
|
|
20
|
+
export declare const IconChevronDown: KashiIcon;
|
|
21
|
+
export declare const IconChevronUp: KashiIcon;
|
|
22
|
+
export declare const IconChevronLeft: KashiIcon;
|
|
23
|
+
export declare const IconChevronRight: KashiIcon;
|
|
24
|
+
export declare const IconArrowLeft: KashiIcon;
|
|
25
|
+
export declare const IconArrowRight: KashiIcon;
|
|
26
|
+
export declare const IconSearch: KashiIcon;
|
|
27
|
+
export declare const IconPlus: KashiIcon;
|
|
28
|
+
export declare const IconMinus: KashiIcon;
|
|
29
|
+
export declare const IconCalendar: KashiIcon;
|
|
30
|
+
export declare const IconClock: KashiIcon;
|
|
31
|
+
export declare const IconUser: KashiIcon;
|
|
32
|
+
export declare const IconUsers: KashiIcon;
|
|
33
|
+
export declare const IconHome: KashiIcon;
|
|
34
|
+
export declare const IconSettings: KashiIcon;
|
|
35
|
+
export declare const IconBell: KashiIcon;
|
|
36
|
+
export declare const IconMail: KashiIcon;
|
|
37
|
+
export declare const IconPhone: KashiIcon;
|
|
38
|
+
export declare const IconLandline: KashiIcon;
|
|
39
|
+
export declare const IconLock: KashiIcon;
|
|
40
|
+
export declare const IconEye: KashiIcon;
|
|
41
|
+
export declare const IconEyeOff: KashiIcon;
|
|
42
|
+
export declare const IconUpload: KashiIcon;
|
|
43
|
+
export declare const IconDownload: KashiIcon;
|
|
44
|
+
export declare const IconFile: KashiIcon;
|
|
45
|
+
export declare const IconTrash: KashiIcon;
|
|
46
|
+
export declare const IconEdit: KashiIcon;
|
|
47
|
+
export declare const IconCopy: KashiIcon;
|
|
48
|
+
export declare const IconFilter: KashiIcon;
|
|
49
|
+
export declare const IconMore: KashiIcon;
|
|
50
|
+
export declare const IconMoreVertical: KashiIcon;
|
|
51
|
+
export declare const IconGrip: KashiIcon;
|
|
52
|
+
export declare const IconStar: KashiIcon;
|
|
53
|
+
export declare const IconHeart: KashiIcon;
|
|
54
|
+
export declare const IconCreditCard: KashiIcon;
|
|
55
|
+
export declare const IconBank: KashiIcon;
|
|
56
|
+
export declare const IconWallet: KashiIcon;
|
|
57
|
+
export declare const IconChart: KashiIcon;
|
|
58
|
+
export declare const IconMapPin: KashiIcon;
|
|
59
|
+
export declare const IconLink: KashiIcon;
|
|
60
|
+
export declare const IconRefresh: KashiIcon;
|
|
61
|
+
export declare const IconLogout: KashiIcon;
|
|
62
|
+
export declare const IconMenu: KashiIcon;
|
|
63
|
+
export declare const IconFolder: KashiIcon;
|
|
64
|
+
export declare const IconImage: KashiIcon;
|
|
65
|
+
export declare const IconSun: KashiIcon;
|
|
66
|
+
export declare const IconMoon: KashiIcon;
|
|
67
|
+
export declare const IconGlobe: KashiIcon;
|
|
68
|
+
export declare const IconShield: KashiIcon;
|
|
69
|
+
export declare const IconSparkle: KashiIcon;
|
|
70
|
+
export declare const IconGrid: KashiIcon;
|
|
71
|
+
export declare const IconList: KashiIcon;
|
|
72
|
+
export declare const IconCart: KashiIcon;
|
|
73
|
+
export declare const IconTag: KashiIcon;
|
|
74
|
+
export declare const IconInbox: KashiIcon;
|
|
75
|
+
export declare const IconSend: KashiIcon;
|
|
76
|
+
export declare const IconReceipt: KashiIcon;
|
|
77
|
+
export declare const IconBuilding: KashiIcon;
|
|
78
|
+
export declare const IconIdCard: KashiIcon;
|
|
79
|
+
export declare const IconCar: KashiIcon;
|
|
80
|
+
export declare const IconKeyboard: KashiIcon;
|
|
81
|
+
export declare const IconPercent: KashiIcon;
|
|
82
|
+
export declare const IconSidebar: KashiIcon;
|
|
83
|
+
export declare const IconCommand: KashiIcon;
|
|
84
|
+
export declare const Icon: ForwardRefExoticComponent<IconProps & { name: IconName } & RefAttributes<SVGSVGElement>>;
|
package/dist/react.js
ADDED
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
// @kashi-ui/icons/react — این فایل خودکار ساخته شده است
|
|
2
|
+
import { createElement, forwardRef } from "react";
|
|
3
|
+
import { icons } from "./index.js";
|
|
4
|
+
|
|
5
|
+
function create(name, displayName) {
|
|
6
|
+
const body = { __html: icons[name].body };
|
|
7
|
+
const C = forwardRef(function KashiIcon({ size = 20, strokeWidth = 1.7, title, mirror = false, style, ...rest }, ref) {
|
|
8
|
+
return createElement("svg", Object.assign({
|
|
9
|
+
ref,
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
+
width: size,
|
|
12
|
+
height: size,
|
|
13
|
+
viewBox: "0 0 20 20",
|
|
14
|
+
fill: "none",
|
|
15
|
+
stroke: "currentColor",
|
|
16
|
+
strokeWidth,
|
|
17
|
+
strokeLinecap: "round",
|
|
18
|
+
strokeLinejoin: "round",
|
|
19
|
+
role: title ? "img" : undefined,
|
|
20
|
+
"aria-label": title || undefined,
|
|
21
|
+
"aria-hidden": title ? undefined : true,
|
|
22
|
+
focusable: "false",
|
|
23
|
+
"data-kashi-icon": name,
|
|
24
|
+
style: mirror ? Object.assign({ transform: "scaleX(-1)" }, style) : style,
|
|
25
|
+
}, rest, { dangerouslySetInnerHTML: body }));
|
|
26
|
+
});
|
|
27
|
+
C.displayName = displayName;
|
|
28
|
+
return C;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export const IconInfo = create("info", "IconInfo");
|
|
32
|
+
export const IconSuccess = create("success", "IconSuccess");
|
|
33
|
+
export const IconWarning = create("warning", "IconWarning");
|
|
34
|
+
export const IconError = create("error", "IconError");
|
|
35
|
+
export const IconClose = create("close", "IconClose");
|
|
36
|
+
export const IconCheck = create("check", "IconCheck");
|
|
37
|
+
export const IconChevronDown = create("chevron-down", "IconChevronDown");
|
|
38
|
+
export const IconChevronUp = create("chevron-up", "IconChevronUp");
|
|
39
|
+
export const IconChevronLeft = create("chevron-left", "IconChevronLeft");
|
|
40
|
+
export const IconChevronRight = create("chevron-right", "IconChevronRight");
|
|
41
|
+
export const IconArrowLeft = create("arrow-left", "IconArrowLeft");
|
|
42
|
+
export const IconArrowRight = create("arrow-right", "IconArrowRight");
|
|
43
|
+
export const IconSearch = create("search", "IconSearch");
|
|
44
|
+
export const IconPlus = create("plus", "IconPlus");
|
|
45
|
+
export const IconMinus = create("minus", "IconMinus");
|
|
46
|
+
export const IconCalendar = create("calendar", "IconCalendar");
|
|
47
|
+
export const IconClock = create("clock", "IconClock");
|
|
48
|
+
export const IconUser = create("user", "IconUser");
|
|
49
|
+
export const IconUsers = create("users", "IconUsers");
|
|
50
|
+
export const IconHome = create("home", "IconHome");
|
|
51
|
+
export const IconSettings = create("settings", "IconSettings");
|
|
52
|
+
export const IconBell = create("bell", "IconBell");
|
|
53
|
+
export const IconMail = create("mail", "IconMail");
|
|
54
|
+
export const IconPhone = create("phone", "IconPhone");
|
|
55
|
+
export const IconLandline = create("landline", "IconLandline");
|
|
56
|
+
export const IconLock = create("lock", "IconLock");
|
|
57
|
+
export const IconEye = create("eye", "IconEye");
|
|
58
|
+
export const IconEyeOff = create("eye-off", "IconEyeOff");
|
|
59
|
+
export const IconUpload = create("upload", "IconUpload");
|
|
60
|
+
export const IconDownload = create("download", "IconDownload");
|
|
61
|
+
export const IconFile = create("file", "IconFile");
|
|
62
|
+
export const IconTrash = create("trash", "IconTrash");
|
|
63
|
+
export const IconEdit = create("edit", "IconEdit");
|
|
64
|
+
export const IconCopy = create("copy", "IconCopy");
|
|
65
|
+
export const IconFilter = create("filter", "IconFilter");
|
|
66
|
+
export const IconMore = create("more", "IconMore");
|
|
67
|
+
export const IconMoreVertical = create("more-vertical", "IconMoreVertical");
|
|
68
|
+
export const IconGrip = create("grip", "IconGrip");
|
|
69
|
+
export const IconStar = create("star", "IconStar");
|
|
70
|
+
export const IconHeart = create("heart", "IconHeart");
|
|
71
|
+
export const IconCreditCard = create("credit-card", "IconCreditCard");
|
|
72
|
+
export const IconBank = create("bank", "IconBank");
|
|
73
|
+
export const IconWallet = create("wallet", "IconWallet");
|
|
74
|
+
export const IconChart = create("chart", "IconChart");
|
|
75
|
+
export const IconMapPin = create("map-pin", "IconMapPin");
|
|
76
|
+
export const IconLink = create("link", "IconLink");
|
|
77
|
+
export const IconRefresh = create("refresh", "IconRefresh");
|
|
78
|
+
export const IconLogout = create("logout", "IconLogout");
|
|
79
|
+
export const IconMenu = create("menu", "IconMenu");
|
|
80
|
+
export const IconFolder = create("folder", "IconFolder");
|
|
81
|
+
export const IconImage = create("image", "IconImage");
|
|
82
|
+
export const IconSun = create("sun", "IconSun");
|
|
83
|
+
export const IconMoon = create("moon", "IconMoon");
|
|
84
|
+
export const IconGlobe = create("globe", "IconGlobe");
|
|
85
|
+
export const IconShield = create("shield", "IconShield");
|
|
86
|
+
export const IconSparkle = create("sparkle", "IconSparkle");
|
|
87
|
+
export const IconGrid = create("grid", "IconGrid");
|
|
88
|
+
export const IconList = create("list", "IconList");
|
|
89
|
+
export const IconCart = create("cart", "IconCart");
|
|
90
|
+
export const IconTag = create("tag", "IconTag");
|
|
91
|
+
export const IconInbox = create("inbox", "IconInbox");
|
|
92
|
+
export const IconSend = create("send", "IconSend");
|
|
93
|
+
export const IconReceipt = create("receipt", "IconReceipt");
|
|
94
|
+
export const IconBuilding = create("building", "IconBuilding");
|
|
95
|
+
export const IconIdCard = create("id-card", "IconIdCard");
|
|
96
|
+
export const IconCar = create("car", "IconCar");
|
|
97
|
+
export const IconKeyboard = create("keyboard", "IconKeyboard");
|
|
98
|
+
export const IconPercent = create("percent", "IconPercent");
|
|
99
|
+
export const IconSidebar = create("sidebar", "IconSidebar");
|
|
100
|
+
export const IconCommand = create("command", "IconCommand");
|
|
101
|
+
|
|
102
|
+
const byName = { "info": IconInfo, "success": IconSuccess, "warning": IconWarning, "error": IconError, "close": IconClose, "check": IconCheck, "chevron-down": IconChevronDown, "chevron-up": IconChevronUp, "chevron-left": IconChevronLeft, "chevron-right": IconChevronRight, "arrow-left": IconArrowLeft, "arrow-right": IconArrowRight, "search": IconSearch, "plus": IconPlus, "minus": IconMinus, "calendar": IconCalendar, "clock": IconClock, "user": IconUser, "users": IconUsers, "home": IconHome, "settings": IconSettings, "bell": IconBell, "mail": IconMail, "phone": IconPhone, "landline": IconLandline, "lock": IconLock, "eye": IconEye, "eye-off": IconEyeOff, "upload": IconUpload, "download": IconDownload, "file": IconFile, "trash": IconTrash, "edit": IconEdit, "copy": IconCopy, "filter": IconFilter, "more": IconMore, "more-vertical": IconMoreVertical, "grip": IconGrip, "star": IconStar, "heart": IconHeart, "credit-card": IconCreditCard, "bank": IconBank, "wallet": IconWallet, "chart": IconChart, "map-pin": IconMapPin, "link": IconLink, "refresh": IconRefresh, "logout": IconLogout, "menu": IconMenu, "folder": IconFolder, "image": IconImage, "sun": IconSun, "moon": IconMoon, "globe": IconGlobe, "shield": IconShield, "sparkle": IconSparkle, "grid": IconGrid, "list": IconList, "cart": IconCart, "tag": IconTag, "inbox": IconInbox, "send": IconSend, "receipt": IconReceipt, "building": IconBuilding, "id-card": IconIdCard, "car": IconCar, "keyboard": IconKeyboard, "percent": IconPercent, "sidebar": IconSidebar, "command": IconCommand };
|
|
103
|
+
|
|
104
|
+
/** آیکون با نام: <Icon name="search" /> */
|
|
105
|
+
export const Icon = forwardRef(function Icon({ name, ...rest }, ref) {
|
|
106
|
+
const C = byName[name];
|
|
107
|
+
return C ? createElement(C, Object.assign({ ref }, rest)) : null;
|
|
108
|
+
});
|
|
109
|
+
Icon.displayName = "Icon";
|
package/dist/sprite.svg
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" style="display:none">
|
|
2
|
+
<symbol id="k-info" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><circle cx="10" cy="10" r="7.5"/><path d="M10 13.5V9.5M10 6.5h.01"/></symbol>
|
|
3
|
+
<symbol id="k-success" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><circle cx="10" cy="10" r="7.5"/><path d="m6.75 10 2.25 2.25 4.25-4.5"/></symbol>
|
|
4
|
+
<symbol id="k-warning" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M8.6 3.4 2.4 14a1.6 1.6 0 0 0 1.4 2.4h12.4a1.6 1.6 0 0 0 1.4-2.4L11.4 3.4a1.6 1.6 0 0 0-2.8 0Z"/><path d="M10 7.5v3.25M10 13.5h.01"/></symbol>
|
|
5
|
+
<symbol id="k-error" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><circle cx="10" cy="10" r="7.5"/><path d="M10 6.5v4M10 13.5h.01"/></symbol>
|
|
6
|
+
<symbol id="k-close" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="m5 5 10 10M15 5 5 15"/></symbol>
|
|
7
|
+
<symbol id="k-check" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="m4.5 10.5 3.5 3.5 7.5-8"/></symbol>
|
|
8
|
+
<symbol id="k-chevron-down" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="m6 8 4 4 4-4"/></symbol>
|
|
9
|
+
<symbol id="k-chevron-up" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="m6 12 4-4 4 4"/></symbol>
|
|
10
|
+
<symbol id="k-chevron-left" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="m12 6-4 4 4 4"/></symbol>
|
|
11
|
+
<symbol id="k-chevron-right" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="m8 6 4 4-4 4"/></symbol>
|
|
12
|
+
<symbol id="k-arrow-left" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M16 10H4M8.5 5.5 4 10l4.5 4.5"/></symbol>
|
|
13
|
+
<symbol id="k-arrow-right" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M4 10h12M11.5 5.5 16 10l-4.5 4.5"/></symbol>
|
|
14
|
+
<symbol id="k-search" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><circle cx="9" cy="9" r="5.5"/><path d="m13 13 3.5 3.5"/></symbol>
|
|
15
|
+
<symbol id="k-plus" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M10 4.5v11M4.5 10h11"/></symbol>
|
|
16
|
+
<symbol id="k-minus" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M4.5 10h11"/></symbol>
|
|
17
|
+
<symbol id="k-calendar" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="14" height="13" rx="2.5"/><path d="M3 8.5h14M7 2.5v3M13 2.5v3"/></symbol>
|
|
18
|
+
<symbol id="k-clock" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><circle cx="10" cy="10" r="7.5"/><path d="M10 6v4l2.5 2"/></symbol>
|
|
19
|
+
<symbol id="k-user" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><circle cx="10" cy="7" r="3.25"/><path d="M3.75 17c.8-3 3.3-4.75 6.25-4.75s5.45 1.75 6.25 4.75"/></symbol>
|
|
20
|
+
<symbol id="k-users" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><circle cx="7.5" cy="7.5" r="2.75"/><path d="M2.5 16.5c.6-2.6 2.6-4 5-4s4.4 1.4 5 4M13 4.9a2.75 2.75 0 0 1 0 5.2M14.5 12.7c1.6.5 2.7 1.8 3 3.8"/></symbol>
|
|
21
|
+
<symbol id="k-home" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M3.5 8.5 10 3.5l6.5 5V16a1 1 0 0 1-1 1H12v-5H8v5H4.5a1 1 0 0 1-1-1Z"/></symbol>
|
|
22
|
+
<symbol id="k-settings" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M4 6h7M15 6h1M4 14h1M9 14h7"/><circle cx="13" cy="6" r="2"/><circle cx="7" cy="14" r="2"/></symbol>
|
|
23
|
+
<symbol id="k-bell" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M5.5 8a4.5 4.5 0 0 1 9 0c0 4.5 2 5.5 2 5.5h-13s2-1 2-5.5ZM8.5 16.5a1.6 1.6 0 0 0 3 0"/></symbol>
|
|
24
|
+
<symbol id="k-mail" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><rect x="2.5" y="4.5" width="15" height="11" rx="2"/><path d="m3 5.5 7 5.5 7-5.5"/></symbol>
|
|
25
|
+
<symbol id="k-phone" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><rect x="5.5" y="2.5" width="9" height="15" rx="2"/><path d="M9 14.5h2"/></symbol>
|
|
26
|
+
<symbol id="k-landline" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M6.5 3h-2A1.5 1.5 0 0 0 3 4.6C3.3 11.3 8.7 16.7 15.4 17a1.5 1.5 0 0 0 1.6-1.5v-2l-3.5-1.5-1.8 1.8a10 10 0 0 1-4.5-4.5L9 7.5 7.5 4Z"/></symbol>
|
|
27
|
+
<symbol id="k-lock" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><rect x="4" y="9" width="12" height="8.5" rx="2"/><path d="M6.75 9V6.5a3.25 3.25 0 0 1 6.5 0V9"/></symbol>
|
|
28
|
+
<symbol id="k-eye" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M1.8 10S4.8 4.5 10 4.5 18.2 10 18.2 10 15.2 15.5 10 15.5 1.8 10 1.8 10Z"/><circle cx="10" cy="10" r="2.5"/></symbol>
|
|
29
|
+
<symbol id="k-eye-off" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M1.8 10S4.8 4.5 10 4.5 18.2 10 18.2 10 15.2 15.5 10 15.5 1.8 10 1.8 10Z"/><circle cx="10" cy="10" r="2.5"/><path d="m3 3 14 14"/></symbol>
|
|
30
|
+
<symbol id="k-upload" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M10 13V3.5M6.5 7 10 3.5 13.5 7M3.5 13v2.5A1.5 1.5 0 0 0 5 17h10a1.5 1.5 0 0 0 1.5-1.5V13"/></symbol>
|
|
31
|
+
<symbol id="k-download" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M10 3.5V13M6.5 9.5 10 13l3.5-3.5M3.5 13v2.5A1.5 1.5 0 0 0 5 17h10a1.5 1.5 0 0 0 1.5-1.5V13"/></symbol>
|
|
32
|
+
<symbol id="k-file" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M11.5 2.5H6A1.5 1.5 0 0 0 4.5 4v12A1.5 1.5 0 0 0 6 17.5h8a1.5 1.5 0 0 0 1.5-1.5V6.5ZM11.5 2.5v4h4"/></symbol>
|
|
33
|
+
<symbol id="k-trash" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M3.5 5.5h13M8 5.5V4a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v1.5M5 5.5l.8 10.6a1.5 1.5 0 0 0 1.5 1.4h5.4a1.5 1.5 0 0 0 1.5-1.4L15 5.5"/></symbol>
|
|
34
|
+
<symbol id="k-edit" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M13.5 3.5a1.8 1.8 0 0 1 2.5 2.5L7 15l-3.5 1 1-3.5Z"/></symbol>
|
|
35
|
+
<symbol id="k-copy" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><rect x="7" y="7" width="10" height="10" rx="2"/><path d="M13 7V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2"/></symbol>
|
|
36
|
+
<symbol id="k-filter" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M3 4.5h14l-5.5 6.5v5l-3 1.5v-6.5Z"/></symbol>
|
|
37
|
+
<symbol id="k-more" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M5 10h.01M10 10h.01M15 10h.01" stroke-width="2.6"/></symbol>
|
|
38
|
+
<symbol id="k-more-vertical" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M10 5h.01M10 10h.01M10 15h.01" stroke-width="2.6"/></symbol>
|
|
39
|
+
<symbol id="k-grip" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M7.5 5h.01M12.5 5h.01M7.5 10h.01M12.5 10h.01M7.5 15h.01M12.5 15h.01" stroke-width="2.4"/></symbol>
|
|
40
|
+
<symbol id="k-star" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="m10 2.8 2.2 4.6 5 .7-3.6 3.5.9 5L10 14.2l-4.5 2.4.9-5-3.6-3.5 5-.7Z"/></symbol>
|
|
41
|
+
<symbol id="k-heart" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M10 16.5S3 12.5 3 7.5A3.5 3.5 0 0 1 10 6a3.5 3.5 0 0 1 7 1.5c0 5-7 9-7 9Z"/></symbol>
|
|
42
|
+
<symbol id="k-credit-card" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><rect x="2.5" y="4.5" width="15" height="11" rx="2"/><path d="M2.5 8.5h15M5.5 12.5h3"/></symbol>
|
|
43
|
+
<symbol id="k-bank" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M3 8 10 3.5 17 8ZM4.5 8v6.5M8 8v6.5M12 8v6.5M15.5 8v6.5M3 16.5h14"/></symbol>
|
|
44
|
+
<symbol id="k-wallet" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="5.5" width="14" height="11" rx="2"/><path d="M13 11h1.5M5 5.5l7-2.5 1 2.5"/></symbol>
|
|
45
|
+
<symbol id="k-chart" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M3.5 16.5h13M6 13.5V9M10 13.5V5M14 13.5v-6"/></symbol>
|
|
46
|
+
<symbol id="k-map-pin" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M10 17.5s5.5-5 5.5-9.5a5.5 5.5 0 0 0-11 0c0 4.5 5.5 9.5 5.5 9.5Z"/><circle cx="10" cy="8" r="2"/></symbol>
|
|
47
|
+
<symbol id="k-link" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M8.5 11.5a3 3 0 0 0 4.2 0l2.6-2.6a3 3 0 0 0-4.2-4.2l-.9.9M11.5 8.5a3 3 0 0 0-4.2 0l-2.6 2.6a3 3 0 0 0 4.2 4.2l.9-.9"/></symbol>
|
|
48
|
+
<symbol id="k-refresh" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M16 10a6 6 0 1 1-1.8-4.3M16 3.5V7h-3.5"/></symbol>
|
|
49
|
+
<symbol id="k-logout" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M8 17H5a1.5 1.5 0 0 1-1.5-1.5v-11A1.5 1.5 0 0 1 5 3h3M13 13.5 16.5 10 13 6.5M16.5 10H8"/></symbol>
|
|
50
|
+
<symbol id="k-menu" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M3.5 5.5h13M3.5 10h13M3.5 14.5h13"/></symbol>
|
|
51
|
+
<symbol id="k-folder" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M2.5 6A1.5 1.5 0 0 1 4 4.5h3.5l1.5 2h7A1.5 1.5 0 0 1 17.5 8v7a1.5 1.5 0 0 1-1.5 1.5H4A1.5 1.5 0 0 1 2.5 15Z"/></symbol>
|
|
52
|
+
<symbol id="k-image" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><rect x="2.5" y="3.5" width="15" height="13" rx="2"/><circle cx="7" cy="8" r="1.5"/><path d="m17.5 13-4-4-8.5 7.5"/></symbol>
|
|
53
|
+
<symbol id="k-sun" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><circle cx="10" cy="10" r="3.5"/><path d="M10 2v1.5M10 16.5V18M2 10h1.5M16.5 10H18M4.3 4.3l1.1 1.1M14.6 14.6l1.1 1.1M4.3 15.7l1.1-1.1M14.6 5.4l1.1-1.1"/></symbol>
|
|
54
|
+
<symbol id="k-moon" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M16.5 12A7 7 0 1 1 8 3.5a5.5 5.5 0 0 0 8.5 8.5Z"/></symbol>
|
|
55
|
+
<symbol id="k-globe" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><circle cx="10" cy="10" r="7.5"/><path d="M2.5 10h15M10 2.5c2 2.2 3 4.7 3 7.5s-1 5.3-3 7.5c-2-2.2-3-4.7-3-7.5s1-5.3 3-7.5Z"/></symbol>
|
|
56
|
+
<symbol id="k-shield" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M10 2.5 16 5v4.5c0 4-2.6 6.7-6 8-3.4-1.3-6-4-6-8V5Z"/></symbol>
|
|
57
|
+
<symbol id="k-sparkle" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="m10 2.5 1.6 4.4 4.4 1.6-4.4 1.6-1.6 4.4-1.6-4.4L4 8.5l4.4-1.6Z"/></symbol>
|
|
58
|
+
<symbol id="k-grid" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="5.5" height="5.5" rx="1"/><rect x="11.5" y="3" width="5.5" height="5.5" rx="1"/><rect x="3" y="11.5" width="5.5" height="5.5" rx="1"/><rect x="11.5" y="11.5" width="5.5" height="5.5" rx="1"/></symbol>
|
|
59
|
+
<symbol id="k-list" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M7.5 5.5h9M7.5 10h9M7.5 14.5h9M3.5 5.5h.01M3.5 10h.01M3.5 14.5h.01"/></symbol>
|
|
60
|
+
<symbol id="k-cart" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M2.5 3h2l2 10h9l1.5-7H5.5"/><circle cx="8" cy="16.5" r="1"/><circle cx="14.5" cy="16.5" r="1"/></symbol>
|
|
61
|
+
<symbol id="k-tag" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M3 3h6.5l7.5 7.5-6.5 6.5L3 9.5Z"/><path d="M6.5 6.5h.01" stroke-width="2.4"/></symbol>
|
|
62
|
+
<symbol id="k-inbox" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M2.5 11h4l1.5 2.5h4l1.5-2.5h4M4.5 4.5h11l2 6.5v4.5a1.5 1.5 0 0 1-1.5 1.5H4a1.5 1.5 0 0 1-1.5-1.5V11Z"/></symbol>
|
|
63
|
+
<symbol id="k-send" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M17.5 2.5 9 11M17.5 2.5 12 17.5l-3-6.5-6.5-3Z"/></symbol>
|
|
64
|
+
<symbol id="k-receipt" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M5 2.5h10v15l-2-1.5-1.5 1.5L10 16l-1.5 1.5L7 16l-2 1.5ZM7.5 7h5M7.5 10h5"/></symbol>
|
|
65
|
+
<symbol id="k-building" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M4 17.5V4a1.5 1.5 0 0 1 1.5-1.5h6A1.5 1.5 0 0 1 13 4v13.5M13 8h2.5A1.5 1.5 0 0 1 17 9.5v8M2.5 17.5h15M7 6h2M7 9.5h2M7 13h2"/></symbol>
|
|
66
|
+
<symbol id="k-id-card" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><rect x="2.5" y="4" width="15" height="12" rx="2"/><circle cx="7" cy="9" r="1.75"/><path d="M4.5 13.5c.4-1.3 1.3-2 2.5-2s2.1.7 2.5 2M11.5 8.5h4M11.5 11.5h3"/></symbol>
|
|
67
|
+
<symbol id="k-car" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M4 12.5 5.5 7.5A1.5 1.5 0 0 1 7 6.5h6a1.5 1.5 0 0 1 1.4 1l1.6 5M3 12.5h14v3H3ZM5.5 15.5v1.5M14.5 15.5v1.5"/></symbol>
|
|
68
|
+
<symbol id="k-keyboard" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><rect x="2" y="5" width="16" height="10" rx="2"/><path d="M5 8.5h.01M8 8.5h.01M11 8.5h.01M14 8.5h.01M6 12h8"/></symbol>
|
|
69
|
+
<symbol id="k-percent" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M15 5 5 15"/><circle cx="6" cy="6" r="1.75"/><circle cx="14" cy="14" r="1.75"/></symbol>
|
|
70
|
+
<symbol id="k-sidebar" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><rect x="2.5" y="3.5" width="15" height="13" rx="2"/><path d="M12.5 3.5v13"/></symbol>
|
|
71
|
+
<symbol id="k-command" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M7.5 7.5h5v5h-5ZM7.5 7.5V5.5a2 2 0 1 0-2 2Zm5 0V5.5a2 2 0 1 1 2 2Zm0 5v2a2 2 0 1 0 2-2Zm-5 0v2a2 2 0 1 1-2-2Z"/></symbol>
|
|
72
|
+
</svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><path d="M16 10H4M8.5 5.5 4 10l4.5 4.5"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><path d="M4 10h12M11.5 5.5 16 10l-4.5 4.5"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><path d="M3 8 10 3.5 17 8ZM4.5 8v6.5M8 8v6.5M12 8v6.5M15.5 8v6.5M3 16.5h14"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><path d="M5.5 8a4.5 4.5 0 0 1 9 0c0 4.5 2 5.5 2 5.5h-13s2-1 2-5.5ZM8.5 16.5a1.6 1.6 0 0 0 3 0"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><path d="M4 17.5V4a1.5 1.5 0 0 1 1.5-1.5h6A1.5 1.5 0 0 1 13 4v13.5M13 8h2.5A1.5 1.5 0 0 1 17 9.5v8M2.5 17.5h15M7 6h2M7 9.5h2M7 13h2"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><rect x="3" y="4" width="14" height="13" rx="2.5"/><path d="M3 8.5h14M7 2.5v3M13 2.5v3"/></svg>
|
package/dist/svg/car.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><path d="M4 12.5 5.5 7.5A1.5 1.5 0 0 1 7 6.5h6a1.5 1.5 0 0 1 1.4 1l1.6 5M3 12.5h14v3H3ZM5.5 15.5v1.5M14.5 15.5v1.5"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><path d="M2.5 3h2l2 10h9l1.5-7H5.5"/><circle cx="8" cy="16.5" r="1"/><circle cx="14.5" cy="16.5" r="1"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><path d="M3.5 16.5h13M6 13.5V9M10 13.5V5M14 13.5v-6"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><path d="m4.5 10.5 3.5 3.5 7.5-8"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><path d="m6 8 4 4 4-4"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><path d="m12 6-4 4 4 4"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><path d="m8 6 4 4-4 4"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><path d="m6 12 4-4 4 4"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><circle cx="10" cy="10" r="7.5"/><path d="M10 6v4l2.5 2"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><path d="m5 5 10 10M15 5 5 15"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><path d="M7.5 7.5h5v5h-5ZM7.5 7.5V5.5a2 2 0 1 0-2 2Zm5 0V5.5a2 2 0 1 1 2 2Zm0 5v2a2 2 0 1 0 2-2Zm-5 0v2a2 2 0 1 1-2-2Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><rect x="7" y="7" width="10" height="10" rx="2"/><path d="M13 7V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><rect x="2.5" y="4.5" width="15" height="11" rx="2"/><path d="M2.5 8.5h15M5.5 12.5h3"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><path d="M10 3.5V13M6.5 9.5 10 13l3.5-3.5M3.5 13v2.5A1.5 1.5 0 0 0 5 17h10a1.5 1.5 0 0 0 1.5-1.5V13"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><path d="M13.5 3.5a1.8 1.8 0 0 1 2.5 2.5L7 15l-3.5 1 1-3.5Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><circle cx="10" cy="10" r="7.5"/><path d="M10 6.5v4M10 13.5h.01"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><path d="M1.8 10S4.8 4.5 10 4.5 18.2 10 18.2 10 15.2 15.5 10 15.5 1.8 10 1.8 10Z"/><circle cx="10" cy="10" r="2.5"/><path d="m3 3 14 14"/></svg>
|
package/dist/svg/eye.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><path d="M1.8 10S4.8 4.5 10 4.5 18.2 10 18.2 10 15.2 15.5 10 15.5 1.8 10 1.8 10Z"/><circle cx="10" cy="10" r="2.5"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><path d="M11.5 2.5H6A1.5 1.5 0 0 0 4.5 4v12A1.5 1.5 0 0 0 6 17.5h8a1.5 1.5 0 0 0 1.5-1.5V6.5ZM11.5 2.5v4h4"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><path d="M3 4.5h14l-5.5 6.5v5l-3 1.5v-6.5Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><path d="M2.5 6A1.5 1.5 0 0 1 4 4.5h3.5l1.5 2h7A1.5 1.5 0 0 1 17.5 8v7a1.5 1.5 0 0 1-1.5 1.5H4A1.5 1.5 0 0 1 2.5 15Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><circle cx="10" cy="10" r="7.5"/><path d="M2.5 10h15M10 2.5c2 2.2 3 4.7 3 7.5s-1 5.3-3 7.5c-2-2.2-3-4.7-3-7.5s1-5.3 3-7.5Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><rect x="3" y="3" width="5.5" height="5.5" rx="1"/><rect x="11.5" y="3" width="5.5" height="5.5" rx="1"/><rect x="3" y="11.5" width="5.5" height="5.5" rx="1"/><rect x="11.5" y="11.5" width="5.5" height="5.5" rx="1"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><path d="M7.5 5h.01M12.5 5h.01M7.5 10h.01M12.5 10h.01M7.5 15h.01M12.5 15h.01" stroke-width="2.4"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><path d="M10 16.5S3 12.5 3 7.5A3.5 3.5 0 0 1 10 6a3.5 3.5 0 0 1 7 1.5c0 5-7 9-7 9Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><path d="M3.5 8.5 10 3.5l6.5 5V16a1 1 0 0 1-1 1H12v-5H8v5H4.5a1 1 0 0 1-1-1Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><rect x="2.5" y="4" width="15" height="12" rx="2"/><circle cx="7" cy="9" r="1.75"/><path d="M4.5 13.5c.4-1.3 1.3-2 2.5-2s2.1.7 2.5 2M11.5 8.5h4M11.5 11.5h3"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><rect x="2.5" y="3.5" width="15" height="13" rx="2"/><circle cx="7" cy="8" r="1.5"/><path d="m17.5 13-4-4-8.5 7.5"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><path d="M2.5 11h4l1.5 2.5h4l1.5-2.5h4M4.5 4.5h11l2 6.5v4.5a1.5 1.5 0 0 1-1.5 1.5H4a1.5 1.5 0 0 1-1.5-1.5V11Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><circle cx="10" cy="10" r="7.5"/><path d="M10 13.5V9.5M10 6.5h.01"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><rect x="2" y="5" width="16" height="10" rx="2"/><path d="M5 8.5h.01M8 8.5h.01M11 8.5h.01M14 8.5h.01M6 12h8"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><path d="M6.5 3h-2A1.5 1.5 0 0 0 3 4.6C3.3 11.3 8.7 16.7 15.4 17a1.5 1.5 0 0 0 1.6-1.5v-2l-3.5-1.5-1.8 1.8a10 10 0 0 1-4.5-4.5L9 7.5 7.5 4Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><path d="M8.5 11.5a3 3 0 0 0 4.2 0l2.6-2.6a3 3 0 0 0-4.2-4.2l-.9.9M11.5 8.5a3 3 0 0 0-4.2 0l-2.6 2.6a3 3 0 0 0 4.2 4.2l.9-.9"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><path d="M7.5 5.5h9M7.5 10h9M7.5 14.5h9M3.5 5.5h.01M3.5 10h.01M3.5 14.5h.01"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><rect x="4" y="9" width="12" height="8.5" rx="2"/><path d="M6.75 9V6.5a3.25 3.25 0 0 1 6.5 0V9"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><path d="M8 17H5a1.5 1.5 0 0 1-1.5-1.5v-11A1.5 1.5 0 0 1 5 3h3M13 13.5 16.5 10 13 6.5M16.5 10H8"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><rect x="2.5" y="4.5" width="15" height="11" rx="2"/><path d="m3 5.5 7 5.5 7-5.5"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><path d="M10 17.5s5.5-5 5.5-9.5a5.5 5.5 0 0 0-11 0c0 4.5 5.5 9.5 5.5 9.5Z"/><circle cx="10" cy="8" r="2"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><path d="M3.5 5.5h13M3.5 10h13M3.5 14.5h13"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><path d="M4.5 10h11"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><path d="M16.5 12A7 7 0 1 1 8 3.5a5.5 5.5 0 0 0 8.5 8.5Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><path d="M10 5h.01M10 10h.01M10 15h.01" stroke-width="2.6"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><path d="M5 10h.01M10 10h.01M15 10h.01" stroke-width="2.6"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><path d="M15 5 5 15"/><circle cx="6" cy="6" r="1.75"/><circle cx="14" cy="14" r="1.75"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><rect x="5.5" y="2.5" width="9" height="15" rx="2"/><path d="M9 14.5h2"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><path d="M10 4.5v11M4.5 10h11"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><path d="M5 2.5h10v15l-2-1.5-1.5 1.5L10 16l-1.5 1.5L7 16l-2 1.5ZM7.5 7h5M7.5 10h5"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><path d="M16 10a6 6 0 1 1-1.8-4.3M16 3.5V7h-3.5"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><circle cx="9" cy="9" r="5.5"/><path d="m13 13 3.5 3.5"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><path d="M17.5 2.5 9 11M17.5 2.5 12 17.5l-3-6.5-6.5-3Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><path d="M4 6h7M15 6h1M4 14h1M9 14h7"/><circle cx="13" cy="6" r="2"/><circle cx="7" cy="14" r="2"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><path d="M10 2.5 16 5v4.5c0 4-2.6 6.7-6 8-3.4-1.3-6-4-6-8V5Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><rect x="2.5" y="3.5" width="15" height="13" rx="2"/><path d="M12.5 3.5v13"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><path d="m10 2.5 1.6 4.4 4.4 1.6-4.4 1.6-1.6 4.4-1.6-4.4L4 8.5l4.4-1.6Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><path d="m10 2.8 2.2 4.6 5 .7-3.6 3.5.9 5L10 14.2l-4.5 2.4.9-5-3.6-3.5 5-.7Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><circle cx="10" cy="10" r="7.5"/><path d="m6.75 10 2.25 2.25 4.25-4.5"/></svg>
|
package/dist/svg/sun.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><circle cx="10" cy="10" r="3.5"/><path d="M10 2v1.5M10 16.5V18M2 10h1.5M16.5 10H18M4.3 4.3l1.1 1.1M14.6 14.6l1.1 1.1M4.3 15.7l1.1-1.1M14.6 5.4l1.1-1.1"/></svg>
|
package/dist/svg/tag.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><path d="M3 3h6.5l7.5 7.5-6.5 6.5L3 9.5Z"/><path d="M6.5 6.5h.01" stroke-width="2.4"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><path d="M3.5 5.5h13M8 5.5V4a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v1.5M5 5.5l.8 10.6a1.5 1.5 0 0 0 1.5 1.4h5.4a1.5 1.5 0 0 0 1.5-1.4L15 5.5"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><path d="M10 13V3.5M6.5 7 10 3.5 13.5 7M3.5 13v2.5A1.5 1.5 0 0 0 5 17h10a1.5 1.5 0 0 0 1.5-1.5V13"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><circle cx="10" cy="7" r="3.25"/><path d="M3.75 17c.8-3 3.3-4.75 6.25-4.75s5.45 1.75 6.25 4.75"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><circle cx="7.5" cy="7.5" r="2.75"/><path d="M2.5 16.5c.6-2.6 2.6-4 5-4s4.4 1.4 5 4M13 4.9a2.75 2.75 0 0 1 0 5.2M14.5 12.7c1.6.5 2.7 1.8 3 3.8"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><rect x="3" y="5.5" width="14" height="11" rx="2"/><path d="M13 11h1.5M5 5.5l7-2.5 1 2.5"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" width="20" height="20"><path d="M8.6 3.4 2.4 14a1.6 1.6 0 0 0 1.4 2.4h12.4a1.6 1.6 0 0 0 1.4-2.4L11.4 3.4a1.6 1.6 0 0 0-2.8 0Z"/><path d="M10 7.5v3.25M10 13.5h.01"/></svg>
|
package/package.json
CHANGED
|
@@ -1,6 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kashi-ui/icons",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.16.0",
|
|
4
|
+
"description": "آیکونهای خطی کاشی؛ SVG، کامپوننت React و اسپرایت",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": { "types": "./dist/index.d.ts", "default": "./dist/index.js" },
|
|
10
|
+
"./react": { "types": "./dist/react.d.ts", "default": "./dist/react.js" },
|
|
11
|
+
"./svg/*": "./dist/svg/*",
|
|
12
|
+
"./sprite.svg": "./dist/sprite.svg",
|
|
13
|
+
"./package.json": "./package.json"
|
|
14
|
+
},
|
|
15
|
+
"files": ["dist", "README.md", "LICENSE"],
|
|
16
|
+
"sideEffects": false,
|
|
17
|
+
"scripts": {
|
|
18
|
+
"build": "node build.mjs",
|
|
19
|
+
"test": "node --test test/*.test.mjs"
|
|
20
|
+
},
|
|
21
|
+
"peerDependencies": { "react": ">=18" },
|
|
22
|
+
"peerDependenciesMeta": { "react": { "optional": true } },
|
|
23
|
+
"publishConfig": { "access": "public" },
|
|
24
|
+
"keywords": ["icons", "svg", "react", "persian", "rtl", "kashi"],
|
|
25
|
+
"repository": { "type": "git", "url": "git+https://github.com/Sepantapouya/Kashi.git", "directory": "packages/icons" },
|
|
26
|
+
"homepage": "https://kashi.sepantapouya.com/docs/icons/",
|
|
27
|
+
"bugs": "https://github.com/Sepantapouya/Kashi/issues",
|
|
28
|
+
"author": "Sepanta Pouya (https://sepantapouya.com)",
|
|
29
|
+
"license": "MIT"
|
|
30
|
+
}
|