@nutui/icons-react-taro 1.0.2 → 1.0.3
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/dist/es/icons/Add.js +5 -4
- package/dist/es/icons/AddCircle.js +2 -1
- package/dist/es/icons/AddRectangle.js +2 -1
- package/dist/es/icons/AfterSaleService.js +2 -1
- package/dist/es/icons/Agenda.js +2 -1
- package/dist/es/icons/Alarm.js +2 -1
- package/dist/es/icons/AngleDoubleDown.js +2 -1
- package/dist/es/icons/AngleDoubleLeft.js +2 -1
- package/dist/es/icons/AngleDoubleRight.js +2 -1
- package/dist/es/icons/AngleDoubleUp.js +2 -1
- package/dist/es/icons/Apps.js +2 -1
- package/dist/es/icons/ArrowCircleDown.js +2 -1
- package/dist/es/icons/ArrowCircleLeft.js +2 -1
- package/dist/es/icons/ArrowCircleRight.js +2 -1
- package/dist/es/icons/ArrowCircleSort.js +2 -1
- package/dist/es/icons/ArrowCircleTransfer.js +2 -1
- package/dist/es/icons/ArrowCircleUp.js +2 -1
- package/dist/es/icons/ArrowCornerLeft.js +2 -1
- package/dist/es/icons/ArrowCornerRight.js +2 -1
- package/dist/es/icons/ArrowDown.js +2 -1
- package/dist/es/icons/ArrowDown2.js +2 -1
- package/dist/es/icons/ArrowExchange.js +2 -1
- package/dist/es/icons/ArrowLeft.js +2 -1
- package/dist/es/icons/ArrowMove.js +2 -1
- package/dist/es/icons/ArrowRight.js +2 -1
- package/dist/es/icons/ArrowSize6.js +2 -1
- package/dist/es/icons/ArrowSize8.js +2 -1
- package/dist/es/icons/ArrowTransfer.js +2 -1
- package/dist/es/icons/ArrowUp.js +2 -1
- package/dist/es/icons/ArrowUp2.js +2 -1
- package/dist/es/icons/Ask.js +2 -1
- package/dist/es/icons/BadgePercent.js +2 -1
- package/dist/es/icons/Bell.js +2 -1
- package/dist/es/icons/BellOff.js +2 -1
- package/dist/es/icons/BellRing.js +2 -1
- package/dist/es/icons/BellUnread.js +2 -1
- package/dist/es/icons/Board.js +2 -1
- package/dist/es/icons/Book.js +2 -1
- package/dist/es/icons/BookMark.js +2 -1
- package/dist/es/icons/Brightness.js +2 -1
- package/dist/es/icons/Brush.js +2 -1
- package/dist/es/icons/Calculator.js +2 -1
- package/dist/es/icons/Calendar.js +2 -1
- package/dist/es/icons/Camera.js +2 -1
- package/dist/es/icons/CameraOff.js +2 -1
- package/dist/es/icons/Cart.js +2 -1
- package/dist/es/icons/CartAdd.js +2 -1
- package/dist/es/icons/CartArrowDown.js +2 -1
- package/dist/es/icons/CartArrowUp.js +2 -1
- package/dist/es/icons/CartCheck.js +2 -1
- package/dist/es/icons/CartRemove.js +2 -1
- package/dist/es/icons/Category.js +2 -1
- package/dist/es/icons/Check.js +2 -1
- package/dist/es/icons/CheckChecked.js +2 -1
- package/dist/es/icons/CheckDisabled.js +2 -1
- package/dist/es/icons/CheckNormal.js +2 -1
- package/dist/es/icons/Checked.js +2 -1
- package/dist/es/icons/Checklist.js +2 -1
- package/dist/es/icons/Clock.js +2 -1
- package/dist/es/icons/Close.js +2 -1
- package/dist/es/icons/Cloud.js +2 -1
- package/dist/es/icons/Comment.js +2 -1
- package/dist/es/icons/Complaint.js +2 -1
- package/dist/es/icons/Computer.js +2 -1
- package/dist/es/icons/Copy.js +2 -1
- package/dist/es/icons/CopyCheck.js +2 -1
- package/dist/es/icons/Coupon.js +2 -1
- package/dist/es/icons/CreditCard.js +2 -1
- package/dist/es/icons/Darkness.js +2 -1
- package/dist/es/icons/Date.js +2 -1
- package/dist/es/icons/Del.js +2 -1
- package/dist/es/icons/Disk.js +2 -1
- package/dist/es/icons/Dongdong.js +2 -1
- package/dist/es/icons/DoubleArrowUp.js +2 -1
- package/dist/es/icons/Download.js +2 -1
- package/dist/es/icons/Download2.js +2 -1
- package/dist/es/icons/Edit.js +2 -1
- package/dist/es/icons/Eye.js +2 -1
- package/dist/es/icons/Fabulous.js +2 -1
- package/dist/es/icons/FaceAngry.js +2 -1
- package/dist/es/icons/FaceMild.js +2 -1
- package/dist/es/icons/FaceSmile.js +2 -1
- package/dist/es/icons/Failure.js +2 -1
- package/dist/es/icons/File.js +2 -1
- package/dist/es/icons/Filter.js +5 -4
- package/dist/es/icons/FilterH.js +2 -1
- package/dist/es/icons/FilterV.js +2 -1
- package/dist/es/icons/Find.js +2 -1
- package/dist/es/icons/Flag.js +2 -1
- package/dist/es/icons/Follow.js +2 -1
- package/dist/es/icons/FollowAdd.js +2 -1
- package/dist/es/icons/Footprint.js +2 -1
- package/dist/es/icons/Gift.js +2 -1
- package/dist/es/icons/Github.js +2 -1
- package/dist/es/icons/Globe.js +2 -1
- package/dist/es/icons/Headphones.js +2 -1
- package/dist/es/icons/Health.js +2 -1
- package/dist/es/icons/Heart.js +2 -1
- package/dist/es/icons/HeartFill.js +2 -1
- package/dist/es/icons/HelpPolygon.js +2 -1
- package/dist/es/icons/Home.js +2 -1
- package/dist/es/icons/Horizontal.js +2 -1
- package/dist/es/icons/IconFont.js +31 -33
- package/dist/es/icons/IconTemplate-7b40424f.mjs +53 -0
- package/dist/es/icons/Image.js +2 -1
- package/dist/es/icons/ImageError.js +2 -1
- package/dist/es/icons/ImageRectangle.js +2 -1
- package/dist/es/icons/Internation.js +2 -1
- package/dist/es/icons/Invoice.js +2 -1
- package/dist/es/icons/Jd.js +2 -1
- package/dist/es/icons/Jdl.js +2 -1
- package/dist/es/icons/Jimi.js +2 -1
- package/dist/es/icons/Jingdou.js +2 -1
- package/dist/es/icons/JoySmile.js +2 -1
- package/dist/es/icons/Layers.js +2 -1
- package/dist/es/icons/Link.js +2 -1
- package/dist/es/icons/List.js +2 -1
- package/dist/es/icons/Loading.js +2 -1
- package/dist/es/icons/Loading1.js +2 -1
- package/dist/es/icons/Loading2.js +2 -1
- package/dist/es/icons/Location.js +2 -1
- package/dist/es/icons/Lock.js +2 -1
- package/dist/es/icons/Login.js +2 -1
- package/dist/es/icons/LogisticsError.js +2 -1
- package/dist/es/icons/Logout.js +2 -1
- package/dist/es/icons/Lower.js +2 -1
- package/dist/es/icons/Mail.js +2 -1
- package/dist/es/icons/Marshalling.js +2 -1
- package/dist/es/icons/MaskClose.js +2 -1
- package/dist/es/icons/Maximize.js +2 -1
- package/dist/es/icons/Message.js +2 -1
- package/dist/es/icons/Microphone.js +2 -1
- package/dist/es/icons/MicrophoneMute.js +2 -1
- package/dist/es/icons/Minimize.js +2 -1
- package/dist/es/icons/Minus.js +5 -4
- package/dist/es/icons/More.js +2 -1
- package/dist/es/icons/Mouse.js +2 -1
- package/dist/es/icons/NetworkError.js +2 -1
- package/dist/es/icons/NoReceive.js +2 -1
- package/dist/es/icons/Notepad.js +2 -1
- package/dist/es/icons/Notice.js +2 -1
- package/dist/es/icons/Order.js +2 -1
- package/dist/es/icons/Orderlist.js +2 -1
- package/dist/es/icons/Package.js +2 -1
- package/dist/es/icons/PackageAdd.js +2 -1
- package/dist/es/icons/PackageArrowDown.js +2 -1
- package/dist/es/icons/PackageArrowUp.js +2 -1
- package/dist/es/icons/PackageCheck.js +2 -1
- package/dist/es/icons/PackageDelete.js +2 -1
- package/dist/es/icons/People.js +2 -1
- package/dist/es/icons/Phone.js +2 -1
- package/dist/es/icons/Photograph.js +2 -1
- package/dist/es/icons/PickedUp.js +2 -1
- package/dist/es/icons/Pin.js +2 -1
- package/dist/es/icons/PlayCircleFill.js +2 -1
- package/dist/es/icons/PlayDoubleBack.js +2 -1
- package/dist/es/icons/PlayDoubleForward.js +5 -4
- package/dist/es/icons/PlayStart.js +2 -1
- package/dist/es/icons/PlayStop.js +2 -1
- package/dist/es/icons/Plugin.js +2 -1
- package/dist/es/icons/Plus.js +5 -4
- package/dist/es/icons/Power.js +2 -1
- package/dist/es/icons/PoweroffCircleFill.js +5 -4
- package/dist/es/icons/Presentation.js +2 -1
- package/dist/es/icons/Processing.js +2 -1
- package/dist/es/icons/Purse.js +2 -1
- package/dist/es/icons/QrCode.js +2 -1
- package/dist/es/icons/Receipt.js +2 -1
- package/dist/es/icons/Received.js +2 -1
- package/dist/es/icons/Refresh.js +2 -1
- package/dist/es/icons/Refund.js +2 -1
- package/dist/es/icons/Reload.js +2 -1
- package/dist/es/icons/RemoveRectangle.js +2 -1
- package/dist/es/icons/Required.js +2 -1
- package/dist/es/icons/Retweet.js +2 -1
- package/dist/es/icons/Reward.js +2 -1
- package/dist/es/icons/Scan.js +2 -1
- package/dist/es/icons/ScreenLittle.js +2 -1
- package/dist/es/icons/Search.js +2 -1
- package/dist/es/icons/Service.js +2 -1
- package/dist/es/icons/Setting.js +2 -1
- package/dist/es/icons/Share.js +2 -1
- package/dist/es/icons/Shield.js +2 -1
- package/dist/es/icons/ShieldCheck.js +2 -1
- package/dist/es/icons/ShieldWarning.js +2 -1
- package/dist/es/icons/Shop.js +2 -1
- package/dist/es/icons/Shopping.js +2 -1
- package/dist/es/icons/ShoppingAdd.js +2 -1
- package/dist/es/icons/ShoppingCheck.js +2 -1
- package/dist/es/icons/ShoppingFollow.js +2 -1
- package/dist/es/icons/ShoppingMinus.js +2 -1
- package/dist/es/icons/ShoppingRemove.js +2 -1
- package/dist/es/icons/SortV.js +2 -1
- package/dist/es/icons/Star.js +2 -1
- package/dist/es/icons/StarFill.js +2 -1
- package/dist/es/icons/Store.js +2 -1
- package/dist/es/icons/Success.js +2 -1
- package/dist/es/icons/Tag.js +2 -1
- package/dist/es/icons/Target.js +2 -1
- package/dist/es/icons/ThumbsDown.js +2 -1
- package/dist/es/icons/ThumbsUp.js +2 -1
- package/dist/es/icons/Ticket.js +2 -1
- package/dist/es/icons/Tips.js +2 -1
- package/dist/es/icons/ToPay.js +2 -1
- package/dist/es/icons/ToReceive.js +2 -1
- package/dist/es/icons/Top.js +2 -1
- package/dist/es/icons/Transit.js +2 -1
- package/dist/es/icons/Trash.js +2 -1
- package/dist/es/icons/TriangleDown.js +2 -1
- package/dist/es/icons/TriangleUp.js +2 -1
- package/dist/es/icons/Truck.js +2 -1
- package/dist/es/icons/Undo.js +2 -1
- package/dist/es/icons/Unlink.js +2 -1
- package/dist/es/icons/Unlock.js +2 -1
- package/dist/es/icons/Upload.js +2 -1
- package/dist/es/icons/User.js +2 -1
- package/dist/es/icons/UserAdd.js +2 -1
- package/dist/es/icons/Video.js +2 -1
- package/dist/es/icons/Voice.js +2 -1
- package/dist/es/icons/VolumeMax.js +2 -1
- package/dist/es/icons/VolumeMute.js +2 -1
- package/dist/es/icons/Voucher.js +2 -1
- package/dist/es/icons/WaitReceive.js +2 -1
- package/dist/es/icons/Wallet.js +2 -1
- package/dist/es/icons/Warning.js +2 -1
- package/dist/es/icons/WarningPolygon.js +2 -1
- package/dist/es/icons/ZoomIn.js +2 -1
- package/dist/es/icons/ZoomOut.js +2 -1
- package/dist/es/icons/configure.js +11 -0
- package/dist/es/icons/internal.js +9 -0
- package/dist/es/index.es.js +1 -0
- package/dist/lib/index.umd.js +10 -10
- package/dist/types/icons-react-taro.mjs +1306 -1284
- package/dist/types/index.d.ts +13 -3
- package/package.json +1 -1
- package/dist/es/icons/IconTemplate-d114f190.mjs +0 -40
package/dist/types/index.d.ts
CHANGED
|
@@ -131,6 +131,15 @@ export declare const Complaint: FunctionComponent<SVG_IconProps>;
|
|
|
131
131
|
|
|
132
132
|
export declare const Computer: FunctionComponent<SVG_IconProps>;
|
|
133
133
|
|
|
134
|
+
declare type Configure = {
|
|
135
|
+
useSvg?: boolean;
|
|
136
|
+
classPrefix?: string;
|
|
137
|
+
tag?: string;
|
|
138
|
+
fontClassName?: string;
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
export declare function configure(config: Configure): void;
|
|
142
|
+
|
|
134
143
|
export declare const Copy: FunctionComponent<SVG_IconProps>;
|
|
135
144
|
|
|
136
145
|
export declare const CopyCheck: FunctionComponent<SVG_IconProps>;
|
|
@@ -419,7 +428,7 @@ export declare const Success: FunctionComponent<SVG_IconProps>;
|
|
|
419
428
|
|
|
420
429
|
declare interface SVG_IconProps {
|
|
421
430
|
className?: string;
|
|
422
|
-
style?:
|
|
431
|
+
style?: React_2.CSSProperties;
|
|
423
432
|
viewBox?: string;
|
|
424
433
|
name?: string;
|
|
425
434
|
color?: string;
|
|
@@ -427,8 +436,9 @@ declare interface SVG_IconProps {
|
|
|
427
436
|
height?: string | number;
|
|
428
437
|
size?: string | number;
|
|
429
438
|
svg64?: string;
|
|
430
|
-
onClick?: (event:
|
|
431
|
-
children?:
|
|
439
|
+
onClick?: (event: React_2.MouseEvent) => void;
|
|
440
|
+
children?: React_2.ReactNode;
|
|
441
|
+
fallback?: boolean;
|
|
432
442
|
}
|
|
433
443
|
|
|
434
444
|
export declare const Tag: FunctionComponent<SVG_IconProps>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nutui/icons-react-taro",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"dev": "vite",
|
|
6
6
|
"build": "vite build --config vite.config.build.es.ts && vite build --config vite.config.build.umd.ts && vite build --config vite.config.build.css.ts && vite build --config vite.config.dts.ts",
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import y from "react";
|
|
2
|
-
const h = {
|
|
3
|
-
className: "",
|
|
4
|
-
style: void 0,
|
|
5
|
-
name: "",
|
|
6
|
-
width: "",
|
|
7
|
-
height: "",
|
|
8
|
-
size: "",
|
|
9
|
-
svg64: "",
|
|
10
|
-
onClick: () => {
|
|
11
|
-
}
|
|
12
|
-
}, d = (n) => {
|
|
13
|
-
const { className: k, style: u, name: m, color: s, width: g, height: p, size: c, svg64: o, onClick: r } = { ...h, ...n }, C = (t) => {
|
|
14
|
-
r && r(t);
|
|
15
|
-
}, i = (t) => t === "" ? "" : isNaN(Number(t)) ? String(t) : t + "px", f = () => `nut-icon nut-icon-${m} ${k}`, e = {}, a = i(g || c || ""), l = i(p || c || "");
|
|
16
|
-
a && (e.width = a), l && (e.height = l);
|
|
17
|
-
const N = () => ({
|
|
18
|
-
...u,
|
|
19
|
-
backgroundColor: s || "currentColor",
|
|
20
|
-
mask: `url('${o}') 0 0/100% 100% no-repeat`,
|
|
21
|
-
"-webkitMask": `url('${o}') 0 0/100% 100% no-repeat`,
|
|
22
|
-
...e
|
|
23
|
-
});
|
|
24
|
-
return /* @__PURE__ */ y.createElement(
|
|
25
|
-
"span",
|
|
26
|
-
{
|
|
27
|
-
className: f(),
|
|
28
|
-
style: N(),
|
|
29
|
-
onClick: C,
|
|
30
|
-
color: s
|
|
31
|
-
},
|
|
32
|
-
n.children
|
|
33
|
-
);
|
|
34
|
-
};
|
|
35
|
-
d.defaultProps = h;
|
|
36
|
-
const w = d;
|
|
37
|
-
export {
|
|
38
|
-
w as I,
|
|
39
|
-
h as d
|
|
40
|
-
};
|