naive-icons 1.6.0 → 1.7.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/CHANGELOG.md +38 -0
- package/README.md +48 -1
- package/README.zh-CN.md +44 -1
- package/dist/ArrowJumpIcon.d.mts +6 -0
- package/dist/ArrowJumpIcon.d.ts +6 -0
- package/dist/ArrowJumpIcon.js +19 -0
- package/dist/ArrowJumpIcon.mjs +4 -0
- package/dist/ArrowUpDownIcon.d.mts +6 -0
- package/dist/ArrowUpDownIcon.d.ts +6 -0
- package/dist/ArrowUpDownIcon.js +19 -0
- package/dist/ArrowUpDownIcon.mjs +4 -0
- package/dist/BatteryIcon.d.mts +6 -0
- package/dist/BatteryIcon.d.ts +6 -0
- package/dist/BatteryIcon.js +19 -0
- package/dist/BatteryIcon.mjs +4 -0
- package/dist/BoldIcon.d.mts +6 -0
- package/dist/BoldIcon.d.ts +6 -0
- package/dist/BoldIcon.js +19 -0
- package/dist/BoldIcon.mjs +4 -0
- package/dist/ButterflyIcon.js +3 -3
- package/dist/ButterflyIcon.mjs +1 -1
- package/dist/CactusIcon.js +3 -3
- package/dist/CactusIcon.mjs +1 -1
- package/dist/CakeIcon.js +3 -3
- package/dist/CakeIcon.mjs +1 -1
- package/dist/CandleIcon.js +3 -3
- package/dist/CandleIcon.mjs +1 -1
- package/dist/CarIcon.js +3 -3
- package/dist/CarIcon.mjs +1 -1
- package/dist/CartIcon.js +3 -3
- package/dist/CartIcon.mjs +1 -1
- package/dist/CatIcon.js +3 -3
- package/dist/CatIcon.mjs +1 -1
- package/dist/ClipboardIcon.d.mts +6 -0
- package/dist/ClipboardIcon.d.ts +6 -0
- package/dist/ClipboardIcon.js +19 -0
- package/dist/ClipboardIcon.mjs +4 -0
- package/dist/CoffeeCupIcon.js +3 -3
- package/dist/CoffeeCupIcon.mjs +1 -1
- package/dist/DogIcon.js +3 -3
- package/dist/DogIcon.mjs +1 -1
- package/dist/DownloadIcon.js +3 -3
- package/dist/DownloadIcon.mjs +1 -1
- package/dist/EditIcon.js +3 -3
- package/dist/EditIcon.mjs +1 -1
- package/dist/FlagIcon.js +3 -3
- package/dist/FlagIcon.mjs +1 -1
- package/dist/FolderMinusIcon.d.mts +6 -0
- package/dist/FolderMinusIcon.d.ts +6 -0
- package/dist/FolderMinusIcon.js +19 -0
- package/dist/FolderMinusIcon.mjs +4 -0
- package/dist/FolderPlusIcon.d.mts +6 -0
- package/dist/FolderPlusIcon.d.ts +6 -0
- package/dist/FolderPlusIcon.js +19 -0
- package/dist/FolderPlusIcon.mjs +4 -0
- package/dist/GoogleChromeIcon.js +3 -3
- package/dist/GoogleChromeIcon.mjs +1 -1
- package/dist/IcecreamIcon.js +3 -3
- package/dist/IcecreamIcon.mjs +1 -1
- package/dist/ItalicIcon.d.mts +6 -0
- package/dist/ItalicIcon.d.ts +6 -0
- package/dist/ItalicIcon.js +19 -0
- package/dist/ItalicIcon.mjs +4 -0
- package/dist/KeyIcon.js +3 -3
- package/dist/KeyIcon.mjs +1 -1
- package/dist/MountainIcon.js +3 -3
- package/dist/MountainIcon.mjs +1 -1
- package/dist/MusicIcon.js +3 -3
- package/dist/MusicIcon.mjs +1 -1
- package/dist/OwlIcon.js +3 -3
- package/dist/OwlIcon.mjs +1 -1
- package/dist/PauseIcon.js +3 -3
- package/dist/PauseIcon.mjs +1 -1
- package/dist/PenguinIcon.js +3 -3
- package/dist/PenguinIcon.mjs +1 -1
- package/dist/PlayIcon.js +3 -3
- package/dist/PlayIcon.mjs +1 -1
- package/dist/PowerIcon.d.mts +6 -0
- package/dist/PowerIcon.d.ts +6 -0
- package/dist/PowerIcon.js +19 -0
- package/dist/PowerIcon.mjs +4 -0
- package/dist/PrinterIcon.d.mts +6 -0
- package/dist/PrinterIcon.d.ts +6 -0
- package/dist/PrinterIcon.js +19 -0
- package/dist/PrinterIcon.mjs +4 -0
- package/dist/RabbitIcon.js +3 -3
- package/dist/RabbitIcon.mjs +1 -1
- package/dist/RainbowIcon.js +3 -3
- package/dist/RainbowIcon.mjs +1 -1
- package/dist/RssIcon.d.mts +6 -0
- package/dist/RssIcon.d.ts +6 -0
- package/dist/RssIcon.js +19 -0
- package/dist/RssIcon.mjs +4 -0
- package/dist/SailboatIcon.js +3 -3
- package/dist/SailboatIcon.mjs +1 -1
- package/dist/ScissorsIcon.d.mts +6 -0
- package/dist/ScissorsIcon.d.ts +6 -0
- package/dist/ScissorsIcon.js +19 -0
- package/dist/ScissorsIcon.mjs +4 -0
- package/dist/ScooterIcon.js +3 -3
- package/dist/ScooterIcon.mjs +1 -1
- package/dist/SearchIcon.js +3 -3
- package/dist/SearchIcon.mjs +1 -1
- package/dist/StopIcon.js +3 -3
- package/dist/StopIcon.mjs +1 -1
- package/dist/StrawberryIcon.js +3 -3
- package/dist/StrawberryIcon.mjs +1 -1
- package/dist/SunIcon.js +3 -3
- package/dist/SunIcon.mjs +1 -1
- package/dist/TrainIcon.js +3 -3
- package/dist/TrainIcon.mjs +1 -1
- package/dist/TreeIcon.js +3 -3
- package/dist/TreeIcon.mjs +1 -1
- package/dist/TruckIcon.d.mts +6 -0
- package/dist/TruckIcon.d.ts +6 -0
- package/dist/TruckIcon.js +19 -0
- package/dist/TruckIcon.mjs +4 -0
- package/dist/UnderlineIcon.d.mts +6 -0
- package/dist/UnderlineIcon.d.ts +6 -0
- package/dist/UnderlineIcon.js +19 -0
- package/dist/UnderlineIcon.mjs +4 -0
- package/dist/UploadIcon.js +3 -3
- package/dist/UploadIcon.mjs +1 -1
- package/dist/UserMinusIcon.d.mts +6 -0
- package/dist/UserMinusIcon.d.ts +6 -0
- package/dist/UserMinusIcon.js +19 -0
- package/dist/UserMinusIcon.mjs +4 -0
- package/dist/VideoIcon.js +3 -3
- package/dist/VideoIcon.mjs +1 -1
- package/dist/WaterCupIcon.js +3 -3
- package/dist/WaterCupIcon.mjs +1 -1
- package/dist/chunk-224JSLII.js +39 -0
- package/dist/{chunk-5H4YHUWM.js → chunk-23CM6IGH.js} +5 -5
- package/dist/chunk-2AARZEOF.mjs +39 -0
- package/dist/chunk-2H4NFSBO.mjs +39 -0
- package/dist/chunk-3CAA5PQJ.mjs +41 -0
- package/dist/chunk-3F7SVY4D.mjs +35 -0
- package/dist/chunk-3W4OVAU7.mjs +35 -0
- package/dist/{chunk-QQQKDHBY.mjs → chunk-3XRBY4MA.mjs} +7 -7
- package/dist/chunk-4CGZ5J67.js +37 -0
- package/dist/chunk-4E2YNF7H.mjs +34 -0
- package/dist/chunk-4G5QCQZ3.js +38 -0
- package/dist/chunk-4MBEY7UI.js +41 -0
- package/dist/chunk-4SEMNAGE.mjs +43 -0
- package/dist/chunk-534KUJKC.js +36 -0
- package/dist/chunk-6JSVRWGU.mjs +43 -0
- package/dist/{chunk-47J45L44.mjs → chunk-73YBHYZS.mjs} +5 -5
- package/dist/{chunk-BN2R4FY5.js → chunk-77DHAZKK.js} +5 -5
- package/dist/chunk-7D33SWJU.mjs +45 -0
- package/dist/chunk-7SG4E6NB.js +48 -0
- package/dist/{chunk-UY63P7OL.mjs → chunk-AAZ5NCP5.mjs} +6 -6
- package/dist/chunk-AGEDUKQY.mjs +37 -0
- package/dist/chunk-AIBUCCI2.mjs +42 -0
- package/dist/{chunk-DH3HKTP2.mjs → chunk-ARDM7H7F.mjs} +5 -5
- package/dist/chunk-ASQZDSGJ.js +38 -0
- package/dist/chunk-B3FBN573.mjs +42 -0
- package/dist/chunk-BL4RAHCL.js +46 -0
- package/dist/chunk-BM4WF7KF.js +37 -0
- package/dist/{chunk-5NNXR3CP.js → chunk-C5OEBU2H.js} +11 -11
- package/dist/{chunk-QU72QRCH.js → chunk-CUWORBZS.js} +5 -5
- package/dist/{chunk-FOF5UTTF.mjs → chunk-CW6WFY3Q.mjs} +8 -8
- package/dist/{chunk-D2YGFBSH.js → chunk-DHSJJUS3.js} +5 -5
- package/dist/{chunk-ULBZN2AJ.js → chunk-DJR4VLAO.js} +6 -6
- package/dist/{chunk-H3OVHS7N.mjs → chunk-DN7KKFWO.mjs} +11 -11
- package/dist/{chunk-NZM6HZLC.js → chunk-DYZE5PJA.js} +8 -8
- package/dist/{chunk-3WJDGWQ3.mjs → chunk-EOQ56XOE.mjs} +8 -8
- package/dist/chunk-ES2QVGTP.mjs +42 -0
- package/dist/chunk-F22QXG5C.mjs +35 -0
- package/dist/{chunk-Y6HTCED3.js → chunk-FJR75Z7S.js} +10 -10
- package/dist/{chunk-NEEBZKYF.mjs → chunk-FNQW2XLW.mjs} +4 -4
- package/dist/{chunk-IV7FEAOJ.js → chunk-FQEGCLSD.js} +13 -11
- package/dist/{chunk-MSWSXJFO.mjs → chunk-FUQA7V5H.mjs} +7 -7
- package/dist/chunk-G77MYI6D.mjs +37 -0
- package/dist/{chunk-6VDMLS3R.mjs → chunk-GFSWHRX4.mjs} +7 -7
- package/dist/chunk-GR2LAIH4.js +40 -0
- package/dist/{chunk-T2TCJ2WU.js → chunk-GXDREMDT.js} +7 -5
- package/dist/{chunk-OCSKC2K6.mjs → chunk-HEZFIITM.mjs} +5 -5
- package/dist/{chunk-GS2KTHQ7.mjs → chunk-HLIPOW77.mjs} +8 -8
- package/dist/{chunk-VGOV34ZE.js → chunk-IM5JDJDT.js} +9 -9
- package/dist/{chunk-VAYGGZJR.js → chunk-J35Z5DUD.js} +4 -4
- package/dist/chunk-JB5BSTKH.js +45 -0
- package/dist/chunk-JC56VFYH.js +45 -0
- package/dist/{chunk-NNTUGLKM.js → chunk-JJWKAL44.js} +5 -5
- package/dist/chunk-K5353MLO.js +45 -0
- package/dist/{chunk-HBO6J6LD.js → chunk-L225FQQC.js} +9 -9
- package/dist/chunk-LRXDZSBX.js +37 -0
- package/dist/chunk-ML4L76NN.mjs +34 -0
- package/dist/{chunk-GABUVLMB.js → chunk-MVU5FYBV.js} +4 -4
- package/dist/{chunk-DWOFKRUH.js → chunk-NJ5Q42AX.js} +8 -8
- package/dist/{chunk-ES44LHJC.mjs → chunk-NRZ5ZLZL.mjs} +5 -5
- package/dist/{chunk-CNOR4CPK.js → chunk-NVJ72MOH.js} +7 -7
- package/dist/{chunk-LL37QOZ2.js → chunk-NWJ7QIHU.js} +5 -5
- package/dist/{chunk-PCIOYBFL.mjs → chunk-O4XE7V4Y.mjs} +5 -5
- package/dist/chunk-OBNNEZ7J.js +38 -0
- package/dist/chunk-OEJZVRKD.js +40 -0
- package/dist/chunk-OITR62HV.mjs +34 -0
- package/dist/chunk-OOSQ5G3N.mjs +35 -0
- package/dist/chunk-OVCAZMZY.js +46 -0
- package/dist/chunk-PBMBS3EW.mjs +36 -0
- package/dist/{chunk-F4VNZI4U.mjs → chunk-PCG5V6FN.mjs} +7 -5
- package/dist/chunk-PPZW7NO3.mjs +34 -0
- package/dist/chunk-PYCPFD7S.mjs +34 -0
- package/dist/{chunk-QZDFTHPI.js → chunk-QCJUBA6E.js} +7 -7
- package/dist/chunk-QKRNQGDG.mjs +45 -0
- package/dist/chunk-RITW437A.mjs +34 -0
- package/dist/chunk-RQIPXLSN.js +37 -0
- package/dist/{chunk-YGPGGNLS.mjs → chunk-RQOXQNE2.mjs} +5 -5
- package/dist/chunk-S3RSN576.js +47 -0
- package/dist/chunk-SFS6H2ZW.js +37 -0
- package/dist/{chunk-IMDG5QRJ.mjs → chunk-SJTVSB2D.mjs} +12 -10
- package/dist/chunk-TFA45XZT.js +37 -0
- package/dist/{chunk-DVDR6ZMZ.mjs → chunk-TP2DBEE5.mjs} +9 -9
- package/dist/chunk-TSTUB63M.js +41 -0
- package/dist/{chunk-APRVN7PT.js → chunk-UEDNTM2J.js} +10 -10
- package/dist/chunk-UN57Q3AC.mjs +38 -0
- package/dist/{chunk-VFLSUBN3.js → chunk-VGEXCYKD.js} +5 -5
- package/dist/{chunk-QGZB7I7Q.mjs → chunk-VGFGYAAC.mjs} +9 -9
- package/dist/chunk-VJBVB36V.mjs +38 -0
- package/dist/{chunk-HXWBDYX2.mjs → chunk-VTL22ZMU.mjs} +4 -4
- package/dist/{chunk-MJ5WQFF7.js → chunk-W3DKFBF7.js} +8 -8
- package/dist/chunk-WQELY36B.mjs +37 -0
- package/dist/{chunk-FHR6UDDB.js → chunk-WQZYK7G4.js} +5 -5
- package/dist/chunk-XMS7PT7Z.js +38 -0
- package/dist/chunk-XO35C56K.mjs +33 -0
- package/dist/{chunk-5ALB2XSX.mjs → chunk-XQDRX5BZ.mjs} +5 -5
- package/dist/{chunk-INZCKDQ5.js → chunk-Y6V4UTJ5.js} +8 -8
- package/dist/{chunk-VAD3NGBV.js → chunk-YPMWLM7C.js} +7 -7
- package/dist/chunk-ZFO2YXSG.js +48 -0
- package/dist/chunk-ZIYZYMMW.js +44 -0
- package/dist/chunk-ZJZFB5NM.mjs +44 -0
- package/dist/{chunk-O6IFQKWF.mjs → chunk-ZRWZRAGX.mjs} +5 -5
- package/dist/createIcon.d.mts +35 -0
- package/dist/createIcon.d.ts +35 -0
- package/dist/createIcon.js +17 -0
- package/dist/createIcon.mjs +4 -0
- package/dist/index.d.mts +41 -3
- package/dist/index.d.ts +41 -3
- package/dist/index.js +487 -219
- package/dist/index.mjs +271 -72
- package/package.json +1 -1
- package/skills/naive-icons/SKILL.md +14 -9
- package/skills/naive-icons/reference/catalog.md +21 -6
- package/skills/naive-icons/reference/design-spec.md +5 -5
- package/skills/naive-icons/reference/patterns.md +2 -2
- package/skills/naive-icons/scripts/emit.py +3 -3
- package/skills/naive-icons/scripts/icons.json +49 -34
- package/skills/naive-icons/scripts/search.py +36 -2
- package/svg/arrow-jump.svg +3 -0
- package/svg/arrow-up-down.svg +3 -0
- package/svg/battery.svg +3 -0
- package/svg/bold.svg +3 -0
- package/svg/butterfly.svg +10 -10
- package/svg/cactus.svg +11 -11
- package/svg/cake.svg +6 -6
- package/svg/candle.svg +6 -6
- package/svg/car.svg +7 -4
- package/svg/cart.svg +3 -3
- package/svg/cat.svg +11 -9
- package/svg/clipboard.svg +3 -0
- package/svg/coffee-cup.svg +6 -6
- package/svg/dog.svg +8 -8
- package/svg/download.svg +3 -3
- package/svg/edit.svg +3 -3
- package/svg/flag.svg +3 -3
- package/svg/folder-minus.svg +3 -0
- package/svg/folder-plus.svg +3 -0
- package/svg/google-chrome.svg +6 -6
- package/svg/icecream.svg +7 -7
- package/svg/italic.svg +3 -0
- package/svg/key.svg +5 -5
- package/svg/mountain.svg +5 -5
- package/svg/music.svg +3 -3
- package/svg/owl.svg +12 -12
- package/svg/pause.svg +3 -3
- package/svg/penguin.svg +11 -11
- package/svg/play.svg +2 -2
- package/svg/power.svg +3 -0
- package/svg/printer.svg +7 -0
- package/svg/rabbit.svg +14 -14
- package/svg/rainbow.svg +7 -7
- package/svg/rss.svg +3 -0
- package/svg/sailboat.svg +6 -6
- package/svg/scissors.svg +3 -0
- package/svg/scooter.svg +11 -11
- package/svg/search.svg +5 -3
- package/svg/stop.svg +2 -2
- package/svg/strawberry.svg +8 -8
- package/svg/sun.svg +9 -9
- package/svg/train.svg +12 -12
- package/svg/tree.svg +4 -4
- package/svg/truck.svg +3 -0
- package/svg/underline.svg +3 -0
- package/svg/upload.svg +3 -3
- package/svg/user-minus.svg +3 -0
- package/svg/video.svg +3 -3
- package/svg/water-cup.svg +5 -5
- package/dist/chunk-2UBLKM6Z.mjs +0 -42
- package/dist/chunk-6X32T4LA.mjs +0 -39
- package/dist/chunk-7PDWOWQ2.mjs +0 -43
- package/dist/chunk-7TPTNPXW.mjs +0 -37
- package/dist/chunk-B4ZDGVYU.js +0 -47
- package/dist/chunk-CMD527EA.js +0 -40
- package/dist/chunk-DTQB2LTS.mjs +0 -41
- package/dist/chunk-DV6YSEJQ.mjs +0 -40
- package/dist/chunk-FFMY3YYC.js +0 -45
- package/dist/chunk-HBE3Y3Z2.mjs +0 -42
- package/dist/chunk-M7IWZBGB.js +0 -46
- package/dist/chunk-OI32TOYE.mjs +0 -37
- package/dist/chunk-OJMTH6DW.mjs +0 -45
- package/dist/chunk-OR5C7V7F.mjs +0 -44
- package/dist/chunk-OWUPQCNY.js +0 -45
- package/dist/chunk-QXDSFUQ2.js +0 -46
- package/dist/chunk-T7VV4BTQ.mjs +0 -39
- package/dist/chunk-TDICEJHS.mjs +0 -43
- package/dist/chunk-UI4WXWKB.js +0 -44
- package/dist/chunk-UJINWFMC.js +0 -48
- package/dist/chunk-ZJXNGSSY.js +0 -43
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,44 @@
|
|
|
2
2
|
|
|
3
3
|
本文件记录 Naive Icons 的每个版本变更。版本号遵循语义化版本规范(SemVer)。
|
|
4
4
|
|
|
5
|
+
## 1.7.0
|
|
6
|
+
|
|
7
|
+
新增
|
|
8
|
+
|
|
9
|
+
- **15 枚图标**(163 → **178**):
|
|
10
|
+
- 导航方位 2 枚 —— `arrow-up-down` 上下双箭头(竖直 ⇅,两支箭头共轴、尖端朝外,
|
|
11
|
+
对应「切换日期 / 切换月份与年份」)、`arrow-jump` 单箭头(上箭头 + 时间轴基线 +
|
|
12
|
+
奶油色当前段,语义是「跳到时间轴某点」)
|
|
13
|
+
- 界面基础 4 枚 —— `bold` 加粗、`italic` 斜体、`underline` 下划线、`user-minus` 移除成员
|
|
14
|
+
- 日常物品 3 枚 —— `printer` 打印机、`clipboard` 剪贴板、`battery` 电池
|
|
15
|
+
- 文件与媒体 3 枚 —— `rss` 订阅、`folder-plus` 新建文件夹、`folder-minus` 删除文件夹
|
|
16
|
+
- 操作 2 枚 —— `scissors` 剪刀、`power` 电源
|
|
17
|
+
- 交通工具 1 枚 —— `truck` 卡车
|
|
18
|
+
- **两个新 API**:
|
|
19
|
+
- `iconNames` —— 178 个 kebab id 的**运行时数组**,外加类型 `IconId`。
|
|
20
|
+
此前 `IconName` 只是纯类型、编译后即消失,运行时按名字取图标只能 `import * as naive`,
|
|
21
|
+
那会把全部图标打进包、tree-shaking 直接归零;现在可以拿 `iconNames` 配动态 import,
|
|
22
|
+
只拉真正用到的几枚
|
|
23
|
+
- `createIcon(name, body)` —— 自建图标的工厂。根节点、无障碍属性、描边缩放与内置 178 枚一致;
|
|
24
|
+
body 可以是普通节点,也可以是接收 `sw(designed)` 的函数——把设计时的描边宽度交给 `sw()`,
|
|
25
|
+
整体加粗时层次才不会散
|
|
26
|
+
- `tests/createIcon.test.tsx` 12 条用例,钉住工厂产出与内置图标逐项一致
|
|
27
|
+
|
|
28
|
+
修复
|
|
29
|
+
|
|
30
|
+
- **30 枚既有图标的描边外缘边距不足 3 单位**,违反设计规范第 2 节。最严重的 `rainbow`
|
|
31
|
+
与 `flag` 只有 **0.75**,`scooter` 只有 **0.25**——内容几乎贴边。
|
|
32
|
+
统一按「绕画布中心 (24,24) 均匀缩放几何、保持描边宽度不变」修正,缩放幅度 0.4% ~ 12.7%,
|
|
33
|
+
改完全库 178 枚都落在 3.05 ~ 15.65
|
|
34
|
+
- 新增 `tests/margin.test.ts` 回归测试:按描边外缘计算四边边距并要求 ≥ 3。
|
|
35
|
+
这条规则以前只靠肉眼把关,攒到 30 枚违规都没被发现;而补图时最容易照着现有图标描,
|
|
36
|
+
也就最容易继续复制违规——现在由代码钉住
|
|
37
|
+
|
|
38
|
+
其他
|
|
39
|
+
|
|
40
|
+
- `build_website.py` 清掉一处重复的 `'printer'` 键(同键同值,删除不影响行为)
|
|
41
|
+
- 文档、注释与 skill 资产里的图标总数同步到 178
|
|
42
|
+
|
|
5
43
|
## 1.6.0
|
|
6
44
|
|
|
7
45
|
新增
|
package/README.md
CHANGED
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
<img src="https://img.shields.io/badge/React-61DAFB?style=flat-square&logo=react&logoColor=black" alt="React">
|
|
20
20
|
<img src="https://img.shields.io/badge/TypeScript-3178C6?style=flat-square&logo=typescript&logoColor=white" alt="TypeScript">
|
|
21
21
|
<img src="https://img.shields.io/badge/SVG-FFB13B?style=flat-square&logoColor=black" alt="SVG">
|
|
22
|
+
<a href="https://hub.xerj.org/contributors/guokaigdg"><img src="https://hub.xerj.org/contributors/guokaigdg/badge.svg" alt="Contributors"></a>
|
|
22
23
|
</p>
|
|
23
24
|
|
|
24
25
|
<p align="center">
|
|
@@ -35,6 +36,8 @@ Each icon is drawn on a 48x48 grid with a 3.5 stroke, rounded line caps, and a r
|
|
|
35
36
|
- Every icon ships as both an SVG source file and a React TSX component
|
|
36
37
|
- Full TypeScript types: IconProps, IconName, IconComponent, PaletteColor, NAIVE_PALETTE
|
|
37
38
|
- Exports `scaledStroke` / `resolveStrokeWidth` / `normalizeIconProps` for building your own icons
|
|
39
|
+
- `iconNames` — the runtime list of all icon ids, for lookups by name without giving up tree-shaking
|
|
40
|
+
- `createIcon` — a factory that gives your own icons the same root node, a11y and stroke scaling as the built-ins
|
|
38
41
|
- Supports `currentColor` to follow the surrounding text color
|
|
39
42
|
- Official Agent Skill: one command installs it into your AI coding agent, which can then pick icons by meaning and emit ready-to-paste code
|
|
40
43
|
|
|
@@ -178,6 +181,49 @@ To follow the surrounding text color when inlining, replace `stroke="#2A2A2A"` w
|
|
|
178
181
|
|
|
179
182
|
You can also build an SVG sprite or icon font — the source files are simple enough to work with.
|
|
180
183
|
|
|
184
|
+
## Dynamic Icons & Custom Icons
|
|
185
|
+
|
|
186
|
+
`IconName` is a type only — it disappears at compile time. When you have to look an icon up by
|
|
187
|
+
name at runtime (a theme picker, an icon field coming from a CMS), use `iconNames`:
|
|
188
|
+
|
|
189
|
+
```tsx
|
|
190
|
+
import { iconNames } from 'naive-icons';
|
|
191
|
+
import type { IconId } from 'naive-icons';
|
|
192
|
+
|
|
193
|
+
const map: Record<IconId, () => Promise<unknown>> = {
|
|
194
|
+
// only the icons you list are ever loaded
|
|
195
|
+
'arrow-up-down': () => import('naive-icons/icons/ArrowUpDownIcon').then((m) => m.ArrowUpDownIcon),
|
|
196
|
+
'arrow-jump': () => import('naive-icons/icons/ArrowJumpIcon').then((m) => m.ArrowJumpIcon),
|
|
197
|
+
};
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
Importing the package as a namespace (`import * as icons`) also lets you look icons up by name,
|
|
201
|
+
but it pulls all 178 icons into the bundle and zeroes out tree-shaking. `iconNames` lets you
|
|
202
|
+
build a lookup that only loads the icons you actually reach for.
|
|
203
|
+
|
|
204
|
+
To draw an icon of your own in the same style, use the `createIcon` factory. It produces the
|
|
205
|
+
exact same root node, accessibility attributes and stroke scaling as the 178 built-in icons:
|
|
206
|
+
|
|
207
|
+
```tsx
|
|
208
|
+
import { createIcon } from 'naive-icons';
|
|
209
|
+
|
|
210
|
+
const MyIcon = createIcon('my-icon', (sw) => (
|
|
211
|
+
<>
|
|
212
|
+
<path d="M12 12 L36 36" stroke="#2A2A2A" strokeWidth={sw(3.5)} />
|
|
213
|
+
<path d="M14 20 L20 26" stroke="#E76F51" strokeWidth={sw(2)} />
|
|
214
|
+
</>
|
|
215
|
+
));
|
|
216
|
+
|
|
217
|
+
<MyIcon size={24} strokeWidth={7} title="My icon" />;
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
The body can be a plain node, or a function that receives `sw(designed)`. Pass the designed
|
|
221
|
+
stroke width through `sw()` and the whole icon thickens together when you set `strokeWidth` —
|
|
222
|
+
otherwise the outer frame scales while the inner details stay at 3.5.
|
|
223
|
+
|
|
224
|
+
The display name is derived from the id: `my-icon` becomes `MyIcon`, `arrow-up-down` becomes
|
|
225
|
+
`ArrowUpDownIcon`.
|
|
226
|
+
|
|
181
227
|
## Palette
|
|
182
228
|
|
|
183
229
|
```typescript
|
|
@@ -195,6 +241,7 @@ import { NAIVE_PALETTE } from 'naive-icons';
|
|
|
195
241
|
| teal | #2A9D8F | Secondary |
|
|
196
242
|
| brown | #8B5E3C | Wood and earth |
|
|
197
243
|
| cream | #FAEDCD | Light background |
|
|
244
|
+
| white | #FFFFFF | Cut-out shapes on solid fills |
|
|
198
245
|
|
|
199
246
|
## Design Principles
|
|
200
247
|
|
|
@@ -202,7 +249,7 @@ Naive Icons follows four fixed rules. They should be respected when adding new i
|
|
|
202
249
|
|
|
203
250
|
1. **Grid & bleed**: All graphics are drawn on a 48x48 canvas, keeping at least 3 units between the main body and the canvas edge.
|
|
204
251
|
2. **Stroke**: A unified 3.5 width with round caps and joins, and no dashed lines.
|
|
205
|
-
3. **Color**: The
|
|
252
|
+
3. **Color**: The 10 palette colors set the default tone; other solid colors are allowed when genuinely needed (e.g. brand colors) — no gradients, shadows, or semi-transparent overlays.
|
|
206
253
|
4. **Personality**: Slight asymmetry is welcome; encourage dot eyes and a smile on living subjects to keep the hand-drawn clumsiness.
|
|
207
254
|
|
|
208
255
|
## Local Development
|
package/README.zh-CN.md
CHANGED
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
<img src="https://img.shields.io/badge/React-61DAFB?style=flat-square&logo=react&logoColor=black" alt="React">
|
|
20
20
|
<img src="https://img.shields.io/badge/TypeScript-3178C6?style=flat-square&logo=typescript&logoColor=white" alt="TypeScript">
|
|
21
21
|
<img src="https://img.shields.io/badge/SVG-FFB13B?style=flat-square&logoColor=black" alt="SVG">
|
|
22
|
+
<a href="https://hub.xerj.org/contributors/guokaigdg"><img src="https://hub.xerj.org/contributors/guokaigdg/badge.svg" alt="Contributors"></a>
|
|
22
23
|
</p>
|
|
23
24
|
|
|
24
25
|
<p align="center">
|
|
@@ -35,6 +36,8 @@
|
|
|
35
36
|
- 每个图标同时提供 SVG 源文件与 React TSX 组件
|
|
36
37
|
- 完整 TypeScript 类型:IconProps、IconName、IconComponent、PaletteColor、NAIVE_PALETTE
|
|
37
38
|
- 导出 `scaledStroke` / `resolveStrokeWidth` / `normalizeIconProps`,需要自建图标时用得上
|
|
39
|
+
- `iconNames`——全部图标的运行时 id 列表,按名字取图标时不用牺牲 tree-shaking
|
|
40
|
+
- `createIcon`——图标工厂,自建图标能拿到与内置图标完全一致的根节点、无障碍与描边缩放
|
|
38
41
|
- 支持 currentColor,传入后图标跟随文字颜色
|
|
39
42
|
- 官方 Agent Skill:一条命令装到 AI 编码助手,按语义帮你挑图标并生成代码
|
|
40
43
|
|
|
@@ -172,6 +175,46 @@ interface IconProps extends SVGProps<SVGSVGElement> {
|
|
|
172
175
|
|
|
173
176
|
也可以做成 SVG sprite 或 Icon Font,源文件结构足够简单,便于二次加工。
|
|
174
177
|
|
|
178
|
+
## 动态取图标与自建图标
|
|
179
|
+
|
|
180
|
+
`IconName` 是纯类型,编译后就不存在了。需要运行时按名字取图标(主题选择器、后台配置的
|
|
181
|
+
图标字段),用 `iconNames`:
|
|
182
|
+
|
|
183
|
+
```tsx
|
|
184
|
+
import { iconNames } from 'naive-icons';
|
|
185
|
+
import type { IconId } from 'naive-icons';
|
|
186
|
+
|
|
187
|
+
const map: Record<IconId, () => Promise<unknown>> = {
|
|
188
|
+
// 只有列出来的图标才会被加载
|
|
189
|
+
'arrow-up-down': () => import('naive-icons/icons/ArrowUpDownIcon').then((m) => m.ArrowUpDownIcon),
|
|
190
|
+
'arrow-jump': () => import('naive-icons/icons/ArrowJumpIcon').then((m) => m.ArrowJumpIcon),
|
|
191
|
+
};
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
用 `import * as icons` 也能按名字取,但会把全部 178 枚都打进包,tree-shaking 直接归零。
|
|
195
|
+
`iconNames` 让你搭一张只加载真正用得到的图标的查找表。
|
|
196
|
+
|
|
197
|
+
想自己画一个同样风格的图标,用 `createIcon` 工厂。它产出的根节点、无障碍属性和描边缩放
|
|
198
|
+
与内置的 178 枚完全一致:
|
|
199
|
+
|
|
200
|
+
```tsx
|
|
201
|
+
import { createIcon } from 'naive-icons';
|
|
202
|
+
|
|
203
|
+
const MyIcon = createIcon('my-icon', (sw) => (
|
|
204
|
+
<>
|
|
205
|
+
<path d="M12 12 L36 36" stroke="#2A2A2A" strokeWidth={sw(3.5)} />
|
|
206
|
+
<path d="M14 20 L20 26" stroke="#E76F51" strokeWidth={sw(2)} />
|
|
207
|
+
</>
|
|
208
|
+
));
|
|
209
|
+
|
|
210
|
+
<MyIcon size={24} strokeWidth={7} title="我的图标" />;
|
|
211
|
+
```
|
|
212
|
+
|
|
213
|
+
图形部分既可以是一个普通节点,也可以是接收 `sw(designed)` 的函数。把设计时的描边宽度交给
|
|
214
|
+
`sw()`,传 `strokeWidth` 时整枚图标会一起加粗——不然就只剩外框变粗、内层细节还停在 3.5。
|
|
215
|
+
|
|
216
|
+
displayName 由 id 自动推导:`my-icon` 变成 `MyIcon`,`arrow-up-down` 变成 `ArrowUpDownIcon`。
|
|
217
|
+
|
|
175
218
|
## 调色板
|
|
176
219
|
|
|
177
220
|
```typescript
|
|
@@ -196,7 +239,7 @@ Naive Icons 遵循四条固定规则,新增图标时也应保持一致。
|
|
|
196
239
|
|
|
197
240
|
1. **网格与出血**:全部图形绘制在 48x48 画布内,主体距离画布边缘至少保留 3 个单位。
|
|
198
241
|
2. **描边**:统一 3.5 宽度,端点与转角均为 round,不使用虚线。
|
|
199
|
-
3. **配色**:以调色板的
|
|
242
|
+
3. **配色**:以调色板的 10 色为默认基调,确有必要时可用其他实色(如品牌色),不使用渐变、阴影与半透明叠加。
|
|
200
243
|
4. **性格**:允许线条轻微不对称,鼓励给有生命的图形加上圆点眼睛与微笑,保留手绘的笨拙感。
|
|
201
244
|
|
|
202
245
|
## 本地开发
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { I as IconProps } from './iconProps-DkJsiWq5.mjs';
|
|
3
|
+
|
|
4
|
+
declare const ArrowJumpIcon: react.ForwardRefExoticComponent<Omit<IconProps, "ref"> & react.RefAttributes<SVGSVGElement>>;
|
|
5
|
+
|
|
6
|
+
export { ArrowJumpIcon, ArrowJumpIcon as default };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { I as IconProps } from './iconProps-DkJsiWq5.js';
|
|
3
|
+
|
|
4
|
+
declare const ArrowJumpIcon: react.ForwardRefExoticComponent<Omit<IconProps, "ref"> & react.RefAttributes<SVGSVGElement>>;
|
|
5
|
+
|
|
6
|
+
export { ArrowJumpIcon, ArrowJumpIcon as default };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var chunkASQZDSGJ_js = require('./chunk-ASQZDSGJ.js');
|
|
6
|
+
require('./chunk-22RDL32P.js');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Object.defineProperty(exports, "ArrowJumpIcon", {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () { return chunkASQZDSGJ_js.ArrowJumpIcon; }
|
|
13
|
+
});
|
|
14
|
+
Object.defineProperty(exports, "default", {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () { return chunkASQZDSGJ_js.ArrowJumpIcon_default; }
|
|
17
|
+
});
|
|
18
|
+
//# sourceMappingURL=ArrowJumpIcon.js.map
|
|
19
|
+
//# sourceMappingURL=ArrowJumpIcon.js.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { I as IconProps } from './iconProps-DkJsiWq5.mjs';
|
|
3
|
+
|
|
4
|
+
declare const ArrowUpDownIcon: react.ForwardRefExoticComponent<Omit<IconProps, "ref"> & react.RefAttributes<SVGSVGElement>>;
|
|
5
|
+
|
|
6
|
+
export { ArrowUpDownIcon, ArrowUpDownIcon as default };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { I as IconProps } from './iconProps-DkJsiWq5.js';
|
|
3
|
+
|
|
4
|
+
declare const ArrowUpDownIcon: react.ForwardRefExoticComponent<Omit<IconProps, "ref"> & react.RefAttributes<SVGSVGElement>>;
|
|
5
|
+
|
|
6
|
+
export { ArrowUpDownIcon, ArrowUpDownIcon as default };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var chunkTFA45XZT_js = require('./chunk-TFA45XZT.js');
|
|
6
|
+
require('./chunk-22RDL32P.js');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Object.defineProperty(exports, "ArrowUpDownIcon", {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () { return chunkTFA45XZT_js.ArrowUpDownIcon; }
|
|
13
|
+
});
|
|
14
|
+
Object.defineProperty(exports, "default", {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () { return chunkTFA45XZT_js.ArrowUpDownIcon_default; }
|
|
17
|
+
});
|
|
18
|
+
//# sourceMappingURL=ArrowUpDownIcon.js.map
|
|
19
|
+
//# sourceMappingURL=ArrowUpDownIcon.js.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var chunkSFS6H2ZW_js = require('./chunk-SFS6H2ZW.js');
|
|
6
|
+
require('./chunk-22RDL32P.js');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Object.defineProperty(exports, "BatteryIcon", {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () { return chunkSFS6H2ZW_js.BatteryIcon; }
|
|
13
|
+
});
|
|
14
|
+
Object.defineProperty(exports, "default", {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () { return chunkSFS6H2ZW_js.BatteryIcon_default; }
|
|
17
|
+
});
|
|
18
|
+
//# sourceMappingURL=BatteryIcon.js.map
|
|
19
|
+
//# sourceMappingURL=BatteryIcon.js.map
|
package/dist/BoldIcon.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var chunk4G5QCQZ3_js = require('./chunk-4G5QCQZ3.js');
|
|
6
|
+
require('./chunk-22RDL32P.js');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Object.defineProperty(exports, "BoldIcon", {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () { return chunk4G5QCQZ3_js.BoldIcon; }
|
|
13
|
+
});
|
|
14
|
+
Object.defineProperty(exports, "default", {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () { return chunk4G5QCQZ3_js.BoldIcon_default; }
|
|
17
|
+
});
|
|
18
|
+
//# sourceMappingURL=BoldIcon.js.map
|
|
19
|
+
//# sourceMappingURL=BoldIcon.js.map
|
package/dist/ButterflyIcon.js
CHANGED
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var chunkZIYZYMMW_js = require('./chunk-ZIYZYMMW.js');
|
|
6
6
|
require('./chunk-22RDL32P.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "ButterflyIcon", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkZIYZYMMW_js.ButterflyIcon; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "default", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkZIYZYMMW_js.ButterflyIcon_default; }
|
|
17
17
|
});
|
|
18
18
|
//# sourceMappingURL=ButterflyIcon.js.map
|
|
19
19
|
//# sourceMappingURL=ButterflyIcon.js.map
|
package/dist/ButterflyIcon.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ButterflyIcon, ButterflyIcon_default as default } from './chunk-
|
|
1
|
+
export { ButterflyIcon, ButterflyIcon_default as default } from './chunk-3CAA5PQJ.mjs';
|
|
2
2
|
import './chunk-LKQOGPEA.mjs';
|
|
3
3
|
//# sourceMappingURL=ButterflyIcon.mjs.map
|
|
4
4
|
//# sourceMappingURL=ButterflyIcon.mjs.map
|
package/dist/CactusIcon.js
CHANGED
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var chunkJC56VFYH_js = require('./chunk-JC56VFYH.js');
|
|
6
6
|
require('./chunk-22RDL32P.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "CactusIcon", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkJC56VFYH_js.CactusIcon; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "default", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkJC56VFYH_js.CactusIcon_default; }
|
|
17
17
|
});
|
|
18
18
|
//# sourceMappingURL=CactusIcon.js.map
|
|
19
19
|
//# sourceMappingURL=CactusIcon.js.map
|
package/dist/CactusIcon.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { CactusIcon, CactusIcon_default as default } from './chunk-
|
|
1
|
+
export { CactusIcon, CactusIcon_default as default } from './chunk-ES2QVGTP.mjs';
|
|
2
2
|
import './chunk-LKQOGPEA.mjs';
|
|
3
3
|
//# sourceMappingURL=CactusIcon.mjs.map
|
|
4
4
|
//# sourceMappingURL=CactusIcon.mjs.map
|
package/dist/CakeIcon.js
CHANGED
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var chunkOEJZVRKD_js = require('./chunk-OEJZVRKD.js');
|
|
6
6
|
require('./chunk-22RDL32P.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "CakeIcon", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkOEJZVRKD_js.CakeIcon; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "default", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkOEJZVRKD_js.CakeIcon_default; }
|
|
17
17
|
});
|
|
18
18
|
//# sourceMappingURL=CakeIcon.js.map
|
|
19
19
|
//# sourceMappingURL=CakeIcon.js.map
|
package/dist/CakeIcon.mjs
CHANGED
package/dist/CandleIcon.js
CHANGED
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var chunkY6V4UTJ5_js = require('./chunk-Y6V4UTJ5.js');
|
|
6
6
|
require('./chunk-22RDL32P.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "CandleIcon", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkY6V4UTJ5_js.CandleIcon; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "default", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkY6V4UTJ5_js.CandleIcon_default; }
|
|
17
17
|
});
|
|
18
18
|
//# sourceMappingURL=CandleIcon.js.map
|
|
19
19
|
//# sourceMappingURL=CandleIcon.js.map
|
package/dist/CandleIcon.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { CandleIcon, CandleIcon_default as default } from './chunk-
|
|
1
|
+
export { CandleIcon, CandleIcon_default as default } from './chunk-CW6WFY3Q.mjs';
|
|
2
2
|
import './chunk-LKQOGPEA.mjs';
|
|
3
3
|
//# sourceMappingURL=CandleIcon.mjs.map
|
|
4
4
|
//# sourceMappingURL=CandleIcon.mjs.map
|
package/dist/CarIcon.js
CHANGED
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var chunk4MBEY7UI_js = require('./chunk-4MBEY7UI.js');
|
|
6
6
|
require('./chunk-22RDL32P.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "CarIcon", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunk4MBEY7UI_js.CarIcon; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "default", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunk4MBEY7UI_js.CarIcon_default; }
|
|
17
17
|
});
|
|
18
18
|
//# sourceMappingURL=CarIcon.js.map
|
|
19
19
|
//# sourceMappingURL=CarIcon.js.map
|
package/dist/CarIcon.mjs
CHANGED
package/dist/CartIcon.js
CHANGED
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var chunkNWJ7QIHU_js = require('./chunk-NWJ7QIHU.js');
|
|
6
6
|
require('./chunk-22RDL32P.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "CartIcon", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkNWJ7QIHU_js.CartIcon; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "default", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkNWJ7QIHU_js.CartIcon_default; }
|
|
17
17
|
});
|
|
18
18
|
//# sourceMappingURL=CartIcon.js.map
|
|
19
19
|
//# sourceMappingURL=CartIcon.js.map
|
package/dist/CartIcon.mjs
CHANGED
package/dist/CatIcon.js
CHANGED
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var chunkK5353MLO_js = require('./chunk-K5353MLO.js');
|
|
6
6
|
require('./chunk-22RDL32P.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "CatIcon", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkK5353MLO_js.CatIcon; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "default", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkK5353MLO_js.CatIcon_default; }
|
|
17
17
|
});
|
|
18
18
|
//# sourceMappingURL=CatIcon.js.map
|
|
19
19
|
//# sourceMappingURL=CatIcon.js.map
|
package/dist/CatIcon.mjs
CHANGED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { I as IconProps } from './iconProps-DkJsiWq5.mjs';
|
|
3
|
+
|
|
4
|
+
declare const ClipboardIcon: react.ForwardRefExoticComponent<Omit<IconProps, "ref"> & react.RefAttributes<SVGSVGElement>>;
|
|
5
|
+
|
|
6
|
+
export { ClipboardIcon, ClipboardIcon as default };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { I as IconProps } from './iconProps-DkJsiWq5.js';
|
|
3
|
+
|
|
4
|
+
declare const ClipboardIcon: react.ForwardRefExoticComponent<Omit<IconProps, "ref"> & react.RefAttributes<SVGSVGElement>>;
|
|
5
|
+
|
|
6
|
+
export { ClipboardIcon, ClipboardIcon as default };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var chunkOBNNEZ7J_js = require('./chunk-OBNNEZ7J.js');
|
|
6
|
+
require('./chunk-22RDL32P.js');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Object.defineProperty(exports, "ClipboardIcon", {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () { return chunkOBNNEZ7J_js.ClipboardIcon; }
|
|
13
|
+
});
|
|
14
|
+
Object.defineProperty(exports, "default", {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () { return chunkOBNNEZ7J_js.ClipboardIcon_default; }
|
|
17
|
+
});
|
|
18
|
+
//# sourceMappingURL=ClipboardIcon.js.map
|
|
19
|
+
//# sourceMappingURL=ClipboardIcon.js.map
|