@nutui/icons-react-taro 2.0.0 → 2.0.1
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/lib/index.umd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(j,h){typeof exports=="object"&&typeof module<"u"?h(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],h):(j=typeof globalThis<"u"?globalThis:j||self,h(j.NutUIIcons={},j.React))})(this,function(j,h){"use strict";const k={useSvg:!0,classPrefix:"nut-icon",tag:"i",fontClassName:"nutui-iconfont"},ZM={name:"",size:"",width:"",height:"",color:"",onClick:g=>{},className:""};function VM(g){return Number.isNaN(Number(g))?String(g):`${g}px`}const cM=g=>{const{name:M,size:G,classPrefix:Q=k.classPrefix,color:o,tag:b=k.tag,children:v,className:m,fontClassName:E=k.fontClassName,style:d,onClick:e,...Y}={...ZM,...g},w=M?M.indexOf("/")!==-1:!1,r=w?"img":b||"i",f=n=>{e&&e(n)},p=()=>w?{src:M}:{},l=VM(G||"");return h.createElement(r,{className:w?`${Q}-img ${m||""} `:`${E} ${Q} ${Q}-${M} ${m||""}`,style:{color:o,...l?{fontSize:l,width:l,height:l}:{},...d},...Y,onClick:f,...p()},v)};cM.displayName="NutIcon";const fM=cM;function PM(g){if(typeof g=="object"&&g!==null){let M;for(M in g)g.hasOwnProperty(M)&&g[M]!==void 0&&(k[M]=g[M])}}const RM={name:"nutui-icon",data:[{name:"V12 Icon",nameEn:"V12 Icon",icons:["add","add-circle","add-rectangle","after-sale-service","agenda","alarm","angle-double-down","angle-double-left","angle-double-right","angle-double-up","apps","arrow-circle-down","arrow-circle-left","arrow-circle-right","arrow-circle-sort","arrow-circle-transfer","arrow-circle-up","arrow-corner-left","arrow-corner-right","arrow-down","arrow-down2","arrow-exchange","arrow-left","arrow-move","arrow-right","arrow-size-6","arrow-size-8","arrow-transfer","arrow-up","arrow-up2","ask","badge-percent","bell","bell-off","bell-ring","bell-unread","board","book","book-mark","
|
|
1
|
+
(function(j,h){typeof exports=="object"&&typeof module<"u"?h(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],h):(j=typeof globalThis<"u"?globalThis:j||self,h(j.NutUIIcons={},j.React))})(this,function(j,h){"use strict";const k={useSvg:!0,classPrefix:"nut-icon",tag:"i",fontClassName:"nutui-iconfont"},ZM={name:"",size:"",width:"",height:"",color:"",onClick:g=>{},className:""};function VM(g){return Number.isNaN(Number(g))?String(g):`${g}px`}const cM=g=>{const{name:M,size:G,classPrefix:Q=k.classPrefix,color:o,tag:b=k.tag,children:v,className:m,fontClassName:E=k.fontClassName,style:d,onClick:e,...Y}={...ZM,...g},w=M?M.indexOf("/")!==-1:!1,r=w?"img":b||"i",f=n=>{e&&e(n)},p=()=>w?{src:M}:{},l=VM(G||"");return h.createElement(r,{className:w?`${Q}-img ${m||""} `:`${E} ${Q} ${Q}-${M} ${m||""}`,style:{color:o,...l?{fontSize:l,width:l,height:l}:{},...d},...Y,onClick:f,...p()},v)};cM.displayName="NutIcon";const fM=cM;function PM(g){if(typeof g=="object"&&g!==null){let M;for(M in g)g.hasOwnProperty(M)&&g[M]!==void 0&&(k[M]=g[M])}}const RM={name:"nutui-icon",data:[{name:"V12 Icon",nameEn:"V12 Icon",icons:["add","add-circle","add-rectangle","after-sale-service","agenda","alarm","angle-double-down","angle-double-left","angle-double-right","angle-double-up","apps","arrow-circle-down","arrow-circle-left","arrow-circle-right","arrow-circle-sort","arrow-circle-transfer","arrow-circle-up","arrow-corner-left","arrow-corner-right","arrow-down","arrow-down2","arrow-exchange","arrow-left","arrow-move","arrow-right","arrow-size-6","arrow-size-8","arrow-transfer","arrow-up","arrow-up2","ask","badge-percent","bell","bell-off","bell-ring","bell-unread","board","book","book-mark","brightness","brush","calculator","calendar","camera","camera-off","cart","cart-add","cart-arrow-down","cart-arrow-up","cart-check","cart-remove","category","check","check-checked","check-disabled","check-normal","checked","checklist","clock","close","cloud","comment","complaint","computer","copy","copy-check","coupon","credit-card","darkness","date","del","disk","dongdong","double-arrow-up","download","download","edit","eye","fabulous","face-angry","face-mild","face-smile","file","filter","filter-h","filter-v","find","flag","follow","follow-add","footprint","gift","github","globe","headphones","health","heart","heart-fill","help-polygon","home","horizontal","image","image-error","image-rectangle","internation","invoice","jd","jdl","jimi","jingdou","joy-smile","layers","link","link","list","loading","loading2","loading1","location","lock","login","logistics-error","logout","lower","mail","marshalling","mask-close","maximize","message","microphone","microphone-mute","minimize","minus","more","mouse","network-error","no-receive","notepad","notice","order","orderlist","package","package-add","package-arrow-down","package-arrow-up","package-check","package-delete","people","phone","photograph","picked-up","pin","play-circle-fill","play-double-back","play-double-forward","play-start","play-stop","plugin","plus","power","poweroff-circle-fill","presentation","processing","purse","qr-code","receipt","received","refresh","refund","reload","remove-rectangle","required","retweet","reward","scan","screen-little","search","service","setting","share","shield","shield-check","shield-warning","shop","shopping","shopping-add","shopping-check","shopping-follow","shopping-minus","shopping-remove","sort-v","star","star-fill","store","success","tag","target","thumbs-down","thumbs-up","ticket","tips","to-pay","to-receive","top","transit","trash","triangle-down","triangle-up","truck","undo","unlink","unlock","upload","user","user-add","video","voice","volume-max","volume-mute","voucher","wait-receive","wallet","warning","warning-polygon","zoom-in","zoom-out"]}],style:[{name:"通用动态样式",nameEn:"Universal Dynamic Style",icons:[{name:"double-arrow-up","animation-name":"am-jump","animation-time":"am-infinite"},{name:"star","animation-name":"am-blink","animation-time":"am-infinite"},{name:"refresh","animation-name":"am-rotate","animation-time":"am-infinite"},{name:"heart-fill","animation-name":"am-breathe","animation-time":"am-infinite"},{name:"microphone","animation-name":"am-flash","animation-time":"am-infinite"},{name:"download","animation-name":"am-bounce","animation-time":"am-infinite"},{name:"message","animation-name":"am-shake","animation-time":"am-infinite"}]}]};var gM={exports:{}},$={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-jsx-runtime.production.min.js
|
|
4
4
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nutui/icons-react-taro",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
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",
|