@nutui/icons-react-taro
Advanced tools
Comparing version 0.0.1 to 0.0.2-beta.1
import $ from "react"; | ||
const r = { | ||
name: "Check", | ||
name: "check", | ||
size: "", | ||
@@ -32,7 +32,7 @@ classPrefix: "nut-icon", | ||
...e | ||
}, s = t ? t.indexOf("/") !== -1 : !1, C = s ? "img" : u, k = (x) => { | ||
}, s = t ? t.indexOf("/") !== -1 : !1, k = s ? "img" : u, g = (x) => { | ||
o && o(x); | ||
}, g = () => s ? { src: t } : {}, n = {}, c = y(l); | ||
}, C = () => s ? { src: t } : {}, n = {}, c = y(l); | ||
return c && (n.fontSize = c, n.width = c, n.height = c), $.createElement( | ||
C, | ||
k, | ||
{ | ||
@@ -46,4 +46,4 @@ className: s ? `nut-icon__img ${i || ""} ` : `${h} nut-icon ${f}-${t} ${i || ""}`, | ||
...d, | ||
onClick: k, | ||
...g() | ||
onClick: g, | ||
...C() | ||
}, | ||
@@ -54,5 +54,5 @@ N | ||
a.defaultProps = r; | ||
a.displayName = "NutIconCheck"; | ||
a.displayName = "NutIconcheck"; | ||
export { | ||
a as default | ||
}; |
@@ -1,136 +0,119 @@ | ||
const a = "nutui-icon", e = [ | ||
const e = "nutui-icon", a = [ | ||
{ | ||
name: "粗体 Icon", | ||
nameEn: "Bold Icon", | ||
name: "v12 Icon", | ||
nameEn: "v12 Icon", | ||
icons: [ | ||
"order", | ||
"refresh", | ||
"add", | ||
"JD", | ||
"eye", | ||
"dshop", | ||
"my2", | ||
"star", | ||
"del2", | ||
"more-x", | ||
"addfollow", | ||
"after-sale-service", | ||
"arrow-6", | ||
"arrow-8", | ||
"arrow-down", | ||
"arrow-down2", | ||
"arrow-left", | ||
"arrow-right", | ||
"arrow-up", | ||
"arrow-up2", | ||
"ask", | ||
"cart", | ||
"category", | ||
"check-checked", | ||
"check-disabled", | ||
"check-normal", | ||
"check", | ||
"checked", | ||
"checklist", | ||
"clock", | ||
"close", | ||
"comment", | ||
"microphone", | ||
"people", | ||
"service", | ||
"cart2", | ||
"location2", | ||
"marshalling", | ||
"fabulous", | ||
"s-follow", | ||
"shop", | ||
"jdl" | ||
] | ||
}, | ||
{ | ||
name: "细体 Icon", | ||
nameEn: "Thin Icon", | ||
icons: [ | ||
"ask", | ||
"tips", | ||
"notice", | ||
"lower", | ||
"top", | ||
"complaint", | ||
"coupon", | ||
"date", | ||
"del", | ||
"dongdong", | ||
"dou-arrow-up", | ||
"download", | ||
"dongdong", | ||
"JIMI40", | ||
"location", | ||
"scan", | ||
"addfollow", | ||
"search", | ||
"share", | ||
"follow", | ||
"del", | ||
"edit", | ||
"cart", | ||
"home", | ||
"eye", | ||
"fabulous", | ||
"filter", | ||
"find", | ||
"category", | ||
"my", | ||
"follow", | ||
"footprint", | ||
"github", | ||
"health", | ||
"heart-fill", | ||
"heart", | ||
"home", | ||
"horizontal", | ||
"image", | ||
"image-error", | ||
"internation", | ||
"jd", | ||
"jdl", | ||
"jimi40", | ||
"jingdou", | ||
"joy-smile", | ||
"link", | ||
"scan2", | ||
"left", | ||
"close", | ||
"locationg3", | ||
"share", | ||
"shop3", | ||
"list", | ||
"loading", | ||
"loading1", | ||
"location", | ||
"logistics-error", | ||
"lower", | ||
"mail", | ||
"marshalling", | ||
"mask-close", | ||
"message", | ||
"ask2", | ||
"search2", | ||
"clock", | ||
"setting", | ||
"refresh2", | ||
"horizontal", | ||
"date", | ||
"microphone", | ||
"minus", | ||
"more", | ||
"my", | ||
"network-error", | ||
"no-receive", | ||
"notice", | ||
"order", | ||
"orderlist", | ||
"people", | ||
"phone", | ||
"photograph", | ||
"more-s", | ||
"play-stop", | ||
"play-start", | ||
"picked-up", | ||
"play-circle-fill", | ||
"play-double-back", | ||
"play-double-forward", | ||
"voice", | ||
"image", | ||
"image-error" | ||
] | ||
}, | ||
{ | ||
name: "应用图标", | ||
nameEn: "Application Icon", | ||
icons: [ | ||
"arrow-up", | ||
"arrow-down", | ||
"arrow-up2", | ||
"arrow-down2", | ||
"down-arrow", | ||
"joy-smile", | ||
"close-little", | ||
"horizontal-n", | ||
"share-n", | ||
"heart1", | ||
"heart-fill", | ||
"star-n", | ||
"star-fill-n", | ||
"play-start", | ||
"play-stop", | ||
"plus", | ||
"poweroff-circle-fill", | ||
"processing", | ||
"qr-code", | ||
"received", | ||
"refresh", | ||
"refresh2", | ||
"retweet", | ||
"scan", | ||
"screen-little", | ||
"search", | ||
"service", | ||
"setting", | ||
"share", | ||
"shop", | ||
"star", | ||
"star-fill", | ||
"success", | ||
"tips", | ||
"to-pay", | ||
"to-receive", | ||
"top", | ||
"transit", | ||
"triangle-down", | ||
"triangle-up" | ||
] | ||
}, | ||
{ | ||
name: "基础图标", | ||
nameEn: "Basic Icon", | ||
icons: [ | ||
"rect-up", | ||
"rect-down", | ||
"rect-left", | ||
"rect-right", | ||
"triangle-up", | ||
"uploader", | ||
"mask-close", | ||
"circle-close", | ||
"right", | ||
"arrow-right", | ||
"github", | ||
"screen-little", | ||
"plus", | ||
"minus", | ||
"Check", | ||
"issue", | ||
"failure", | ||
"success", | ||
"retweet", | ||
"poweroff-circle-fill", | ||
"play-circle-fill", | ||
"checked", | ||
"checklist", | ||
"check-disabled", | ||
"check-normal", | ||
"check-checked", | ||
"loading", | ||
"loading1" | ||
"voice", | ||
"wait-receive", | ||
"wallet", | ||
"warning" | ||
] | ||
} | ||
], n = [ | ||
], i = [ | ||
{ | ||
@@ -177,9 +160,9 @@ name: "通用动态样式", | ||
} | ||
], i = { | ||
name: a, | ||
data: e, | ||
style: n | ||
], n = { | ||
name: e, | ||
data: a, | ||
style: i | ||
}; | ||
export { | ||
i as config | ||
n as config | ||
}; |
@@ -1,4 +0,4 @@ | ||
const e = ["Add", "Addfollow", "ArrowDown", "ArrowDown2", "ArrowRight", "ArrowRight2", "ArrowUp", "ArrowUp2", "Ask", "Ask2", "Cart", "Cart2", "Category", "CheckChecked", "CheckDisabled", "CheckNormal", "Check", "Checked", "Checklist", "CircleClose", "Clock", "CloseLittle", "Close", "Comment", "Date", "Del", "Del2", "Dongdong", "DouArrowUp", "DownArrow", "Download", "Dshop", "Edit", "Eye", "Fabulous", "Failure", "Find", "Follow", "Footprint", "Github", "HeartFillN", "HeartFill", "HeartFill1", "HeartFill2", "HeartFill3", "HeartN", "Heart", "Heart1", "Heart2", "Home", "HorizontalN", "Horizontal", "ImageError", "Image", "Issue", "Jd", "Jdl", "Jimi40", "JoySmile", "Left", "Link", "Loading", "Loading1", "Location", "Location2", "Locationg3", "Lower", "Marshalling", "MaskClose", "Message", "Microphone", "Minus", "MoreS", "MoreX", "More", "My", "My2", "Notice", "Order", "People", "Photograph", "PlayCircleFill", "PlayDoubleBack", "PlayDoubleForward", "PlayStart", "PlayStop", "Plus", "PoweroffCircleFill", "RectDown", "RectLeft", "RectRight", "RectUp", "Refresh", "Refresh2", "Retweet", "Right", "SFollow", "Scan", "Scan2", "ScreenLittle", "Search", "Search2", "Service", "Setting", "ShareN", "Share", "Share1", "Shop", "Shop3", "StarFillN", "StarFill", "StarFill1", "StarFill2", "StarN", "Star", "Star1", "Star11", "Star2", "Success", "Tips", "Top", "TriangleDown", "TriangleUp", "Uploader", "Voice"]; | ||
const e = ["Add", "Addfollow", "AfterSaleService", "Arrow6", "Arrow8", "ArrowDown", "ArrowDown2", "ArrowLeft", "ArrowRight", "ArrowUp", "ArrowUp2", "Ask", "Cart", "Category", "CheckChecked", "CheckDisabled", "CheckNormal", "Check", "Checked", "Checklist", "Clock", "Close", "Comment", "Complaint", "Coupon", "Date", "Del", "Dongdong", "DouArrowUp", "Download", "Edit", "Eye", "Fabulous", "Failure", "Filter", "Find", "Follow", "Footprint", "Github", "Health", "HeartFill", "Heart", "Home", "Horizontal", "ImageError", "Image", "Internation", "Jd", "Jdl", "Jimi40", "Jingdou", "JoySmile", "Link", "List", "Loading", "Loading1", "Location", "LogisticsError", "Lower", "Mail", "Marshalling", "MaskClose", "Message", "Microphone", "Minus", "More", "My", "NetworkError", "NoReceive", "Notice", "Order", "Orderlist", "People", "Phone", "Photograph", "PickedUp", "PlayCircleFill", "PlayDoubleBack", "PlayDoubleForward", "PlayStart", "PlayStop", "Plus", "PoweroffCircleFill", "Processing", "QrCode", "Received", "Refresh", "Refresh2", "Retweet", "Scan", "ScreenLittle", "Search", "Service", "Setting", "Share", "Shop", "StarFill", "Star", "Success", "Tips", "ToPay", "ToReceive", "Top", "Transit", "TriangleDown", "TriangleUp", "Uploader", "Voice", "WaitReceive", "Wallet", "Warning"]; | ||
export { | ||
e as iconsConfig | ||
}; |
@@ -7,12 +7,13 @@ /** 此文件由 script generate 脚本生成 */ | ||
export { default as Addfollow } from "./icons/Addfollow.js"; | ||
export { default as AfterSaleService } from "./icons/AfterSaleService.js"; | ||
export { default as Arrow6 } from "./icons/Arrow6.js"; | ||
export { default as Arrow8 } from "./icons/Arrow8.js"; | ||
export { default as ArrowDown } from "./icons/ArrowDown.js"; | ||
export { default as ArrowDown2 } from "./icons/ArrowDown2.js"; | ||
export { default as ArrowLeft } from "./icons/ArrowLeft.js"; | ||
export { default as ArrowRight } from "./icons/ArrowRight.js"; | ||
export { default as ArrowRight2 } from "./icons/ArrowRight2.js"; | ||
export { default as ArrowUp } from "./icons/ArrowUp.js"; | ||
export { default as ArrowUp2 } from "./icons/ArrowUp2.js"; | ||
export { default as Ask } from "./icons/Ask.js"; | ||
export { default as Ask2 } from "./icons/Ask2.js"; | ||
export { default as Cart } from "./icons/Cart.js"; | ||
export { default as Cart2 } from "./icons/Cart2.js"; | ||
export { default as Category } from "./icons/Category.js"; | ||
@@ -25,15 +26,12 @@ export { default as CheckChecked } from "./icons/CheckChecked.js"; | ||
export { default as Checklist } from "./icons/Checklist.js"; | ||
export { default as CircleClose } from "./icons/CircleClose.js"; | ||
export { default as Clock } from "./icons/Clock.js"; | ||
export { default as CloseLittle } from "./icons/CloseLittle.js"; | ||
export { default as Close } from "./icons/Close.js"; | ||
export { default as Comment } from "./icons/Comment.js"; | ||
export { default as Complaint } from "./icons/Complaint.js"; | ||
export { default as Coupon } from "./icons/Coupon.js"; | ||
export { default as Date } from "./icons/Date.js"; | ||
export { default as Del } from "./icons/Del.js"; | ||
export { default as Del2 } from "./icons/Del2.js"; | ||
export { default as Dongdong } from "./icons/Dongdong.js"; | ||
export { default as DouArrowUp } from "./icons/DouArrowUp.js"; | ||
export { default as DownArrow } from "./icons/DownArrow.js"; | ||
export { default as Download } from "./icons/Download.js"; | ||
export { default as Dshop } from "./icons/Dshop.js"; | ||
export { default as Edit } from "./icons/Edit.js"; | ||
@@ -43,2 +41,3 @@ export { default as Eye } from "./icons/Eye.js"; | ||
export { default as Failure } from "./icons/Failure.js"; | ||
export { default as Filter } from "./icons/Filter.js"; | ||
export { default as Find } from "./icons/Find.js"; | ||
@@ -48,29 +47,23 @@ export { default as Follow } from "./icons/Follow.js"; | ||
export { default as Github } from "./icons/Github.js"; | ||
export { default as HeartFillN } from "./icons/HeartFillN.js"; | ||
export { default as Health } from "./icons/Health.js"; | ||
export { default as HeartFill } from "./icons/HeartFill.js"; | ||
export { default as HeartFill1 } from "./icons/HeartFill1.js"; | ||
export { default as HeartFill2 } from "./icons/HeartFill2.js"; | ||
export { default as HeartFill3 } from "./icons/HeartFill3.js"; | ||
export { default as HeartN } from "./icons/HeartN.js"; | ||
export { default as Heart } from "./icons/Heart.js"; | ||
export { default as Heart1 } from "./icons/Heart1.js"; | ||
export { default as Heart2 } from "./icons/Heart2.js"; | ||
export { default as Home } from "./icons/Home.js"; | ||
export { default as HorizontalN } from "./icons/HorizontalN.js"; | ||
export { default as Horizontal } from "./icons/Horizontal.js"; | ||
export { default as ImageError } from "./icons/ImageError.js"; | ||
export { default as Image } from "./icons/Image.js"; | ||
export { default as Issue } from "./icons/Issue.js"; | ||
export { default as Internation } from "./icons/Internation.js"; | ||
export { default as Jd } from "./icons/Jd.js"; | ||
export { default as Jdl } from "./icons/Jdl.js"; | ||
export { default as Jimi40 } from "./icons/Jimi40.js"; | ||
export { default as Jingdou } from "./icons/Jingdou.js"; | ||
export { default as JoySmile } from "./icons/JoySmile.js"; | ||
export { default as Left } from "./icons/Left.js"; | ||
export { default as Link } from "./icons/Link.js"; | ||
export { default as List } from "./icons/List.js"; | ||
export { default as Loading } from "./icons/Loading.js"; | ||
export { default as Loading1 } from "./icons/Loading1.js"; | ||
export { default as Location } from "./icons/Location.js"; | ||
export { default as Location2 } from "./icons/Location2.js"; | ||
export { default as Locationg3 } from "./icons/Locationg3.js"; | ||
export { default as LogisticsError } from "./icons/LogisticsError.js"; | ||
export { default as Lower } from "./icons/Lower.js"; | ||
export { default as Mail } from "./icons/Mail.js"; | ||
export { default as Marshalling } from "./icons/Marshalling.js"; | ||
@@ -81,11 +74,13 @@ export { default as MaskClose } from "./icons/MaskClose.js"; | ||
export { default as Minus } from "./icons/Minus.js"; | ||
export { default as MoreS } from "./icons/MoreS.js"; | ||
export { default as MoreX } from "./icons/MoreX.js"; | ||
export { default as More } from "./icons/More.js"; | ||
export { default as My } from "./icons/My.js"; | ||
export { default as My2 } from "./icons/My2.js"; | ||
export { default as NetworkError } from "./icons/NetworkError.js"; | ||
export { default as NoReceive } from "./icons/NoReceive.js"; | ||
export { default as Notice } from "./icons/Notice.js"; | ||
export { default as Order } from "./icons/Order.js"; | ||
export { default as Orderlist } from "./icons/Orderlist.js"; | ||
export { default as People } from "./icons/People.js"; | ||
export { default as Phone } from "./icons/Phone.js"; | ||
export { default as Photograph } from "./icons/Photograph.js"; | ||
export { default as PickedUp } from "./icons/PickedUp.js"; | ||
export { default as PlayCircleFill } from "./icons/PlayCircleFill.js"; | ||
@@ -98,35 +93,23 @@ export { default as PlayDoubleBack } from "./icons/PlayDoubleBack.js"; | ||
export { default as PoweroffCircleFill } from "./icons/PoweroffCircleFill.js"; | ||
export { default as RectDown } from "./icons/RectDown.js"; | ||
export { default as RectLeft } from "./icons/RectLeft.js"; | ||
export { default as RectRight } from "./icons/RectRight.js"; | ||
export { default as RectUp } from "./icons/RectUp.js"; | ||
export { default as Processing } from "./icons/Processing.js"; | ||
export { default as QrCode } from "./icons/QrCode.js"; | ||
export { default as Received } from "./icons/Received.js"; | ||
export { default as Refresh } from "./icons/Refresh.js"; | ||
export { default as Refresh2 } from "./icons/Refresh2.js"; | ||
export { default as Retweet } from "./icons/Retweet.js"; | ||
export { default as Right } from "./icons/Right.js"; | ||
export { default as SFollow } from "./icons/SFollow.js"; | ||
export { default as Scan } from "./icons/Scan.js"; | ||
export { default as Scan2 } from "./icons/Scan2.js"; | ||
export { default as ScreenLittle } from "./icons/ScreenLittle.js"; | ||
export { default as Search } from "./icons/Search.js"; | ||
export { default as Search2 } from "./icons/Search2.js"; | ||
export { default as Service } from "./icons/Service.js"; | ||
export { default as Setting } from "./icons/Setting.js"; | ||
export { default as ShareN } from "./icons/ShareN.js"; | ||
export { default as Share } from "./icons/Share.js"; | ||
export { default as Share1 } from "./icons/Share1.js"; | ||
export { default as Shop } from "./icons/Shop.js"; | ||
export { default as Shop3 } from "./icons/Shop3.js"; | ||
export { default as StarFillN } from "./icons/StarFillN.js"; | ||
export { default as StarFill } from "./icons/StarFill.js"; | ||
export { default as StarFill1 } from "./icons/StarFill1.js"; | ||
export { default as StarFill2 } from "./icons/StarFill2.js"; | ||
export { default as StarN } from "./icons/StarN.js"; | ||
export { default as Star } from "./icons/Star.js"; | ||
export { default as Star1 } from "./icons/Star1.js"; | ||
export { default as Star11 } from "./icons/Star11.js"; | ||
export { default as Star2 } from "./icons/Star2.js"; | ||
export { default as Success } from "./icons/Success.js"; | ||
export { default as Tips } from "./icons/Tips.js"; | ||
export { default as ToPay } from "./icons/ToPay.js"; | ||
export { default as ToReceive } from "./icons/ToReceive.js"; | ||
export { default as Top } from "./icons/Top.js"; | ||
export { default as Transit } from "./icons/Transit.js"; | ||
export { default as TriangleDown } from "./icons/TriangleDown.js"; | ||
@@ -136,2 +119,5 @@ export { default as TriangleUp } from "./icons/TriangleUp.js"; | ||
export { default as Voice } from "./icons/Voice.js"; | ||
export { default as WaitReceive } from "./icons/WaitReceive.js"; | ||
export { default as Wallet } from "./icons/Wallet.js"; | ||
export { default as Warning } from "./icons/Warning.js"; | ||
import "../style_iconfont.css"; |
{ | ||
"name": "@nutui/icons-react-taro", | ||
"version": "0.0.1", | ||
"version": "0.0.2-beta.1", | ||
"scripts": { | ||
@@ -5,0 +5,0 @@ "dev": "vite", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
626262
122
16431