@nutui/nutui-react 1.2.0-beta.2 → 1.2.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 CHANGED
@@ -1,3 +1,35 @@
1
+ ## v1.2.0
2
+ `2022-07-27`
3
+
4
+ * :bug: fix: html title 文案修改 & button 组件 readme 格式修改 (#126)
5
+ * :zap: feat: 国际化语言支持 (#124)
6
+ * :zap: feat: add empty & review (#130)
7
+ * :bug: fix: 修复 button 组件 demo 中的错误文案 (#134)
8
+ * :zap: feat: cell 单元测试完成 (#132)
9
+ * :bug: fix: 修复 input 组件添加多语言支持后 placeholder 属性设置不生效的问题
10
+ * :bug: fix: fixednav 样式类名优化
11
+ * :bug: fix: 修改Button在服务端不渲染class和style (#133)
12
+ * :bug: fix: 修复自定义地址组件 (#143)
13
+ * :bug: fix: swiper问题修复 (#140)
14
+ * :bug: fix: 修复address组件三级地址切换回来二级地址不同步的问题 (#144)
15
+ * :bug: fix: dialog 组件多语言后props设置出错
16
+ * :zap: feat: 新增collapse组件的单元测试 (#145)
17
+ * :zap: feat: tag + switch 组件测试用例 (#148)
18
+ * :zap: feat: 新增虚拟列表virtuallist (#136)
19
+ * :zap: feat: indicator 组件 (#158)
20
+ * :bug: fix: textarea placeholder 设置不生效
21
+ * :bug: fix: textarea 组件 change、focus、blur 事件改为 onChange、onFocus、onBlur (#163)
22
+ * :zap: feat: popup在线文档接入和国际化支持 (#167)
23
+ * :zap: feat: navbar在线文档接入和国际化支持 (#171)
24
+ * :zap: feat: tabbar在线文档接入和国际化支持 (#169)
25
+ * :bug: fix: empty空状态组件新增国际化文档新增单元测试 (#164)
26
+ * :zap: feat: calendar在线文档接入和国际化支持 (#168)
27
+ * :zap: feat: indicator指示器组件新增国际化文档 (#166)
28
+ * :zap: feat: 弹框增加onClickSelf事件 (#172)
29
+ * :zap: feat: timeselect (#149)
30
+ * :zap: feat: divider组件新增props (#162)
31
+
32
+
1
33
  ## v1.1.4
2
34
  `2022-05-23`
3
35
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui-react v1.2.0-beta.2 Tue Jul 26 2022 15:12:47 GMT+0800 (China Standard Time)
2
+ * @nutui/nutui-react v1.2.0 Wed Jul 27 2022 11:40:41 GMT+0800 (China Standard Time)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui-react v1.2.0-beta.2 Tue Jul 26 2022 15:12:47 GMT+0800 (China Standard Time)
2
+ * @nutui/nutui-react v1.2.0 Wed Jul 27 2022 11:40:41 GMT+0800 (China Standard Time)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui-react v1.2.0-beta.2 Tue Jul 26 2022 15:12:47 GMT+0800 (China Standard Time)
2
+ * @nutui/nutui-react v1.2.0 Wed Jul 27 2022 11:40:41 GMT+0800 (China Standard Time)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui-react v1.2.0-beta.2 Tue Jul 26 2022 15:12:47 GMT+0800 (China Standard Time)
2
+ * @nutui/nutui-react v1.2.0 Wed Jul 27 2022 11:40:41 GMT+0800 (China Standard Time)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui-react v1.2.0-beta.2 Tue Jul 26 2022 15:12:47 GMT+0800 (China Standard Time)
2
+ * @nutui/nutui-react v1.2.0 Wed Jul 27 2022 11:40:41 GMT+0800 (China Standard Time)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui-react v1.2.0-beta.2 Tue Jul 26 2022 15:12:30 GMT+0800 (China Standard Time)
2
+ * @nutui/nutui-react v1.2.0 Wed Jul 27 2022 11:40:25 GMT+0800 (China Standard Time)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui-react v1.2.0-beta.2 Tue Jul 26 2022 15:12:30 GMT+0800 (China Standard Time)
2
+ * @nutui/nutui-react v1.2.0 Wed Jul 27 2022 11:40:25 GMT+0800 (China Standard Time)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  (function(j,h){typeof exports=="object"&&typeof module!="undefined"?h(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],h):(j=typeof globalThis!="undefined"?globalThis:j||self,h((j.nutui=j.nutui||{},j.nutui.react={}),j.React,j.ReactDOM))})(this,function(j,h,Rn){"use strict";*/function qr(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}function Rr(e){if(e&&e.__esModule)return e;var t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});return e&&Object.keys(e).forEach(function(n){if(n!=="default"){var s=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,s.get?s:{enumerable:!0,get:function(){return e[n]}})}}),t.default=e,Object.freeze(t)}var o=qr(h),Ne=Rr(h),it=qr(Rn),Jt=Rr(Rn),Gr={exports:{}},Zt={};function Kr(e){function t(r,a,i,l){var c=a?n+r+e.e+a:n+r,u=c;if(i){var f=" "+u+e.m;for(var d in i)if(i.hasOwnProperty(d)){var g=i[d];g===!0?u+=f+d:g&&(u+=f+d+s+g)}}if(l!==void 0)for(var p=0,N=l.length;p<N;p++){var b=l[p];if(b&&typeof b.valueOf()=="string")for(var C=b.valueOf().split(" "),y=0;y<C.length;y++){var x=C[y];x!==c&&(u+=" "+x)}}return u}var n=e.n||"",s=e.v||e.m;return function(r,a){return function(i,l,c){return typeof i=="string"?Array.isArray(l)?t(r,i,void 0,l):t(r,i,l,c):t(r,a,i,l)}}}Object.defineProperty(Zt,"__esModule",{value:!0});var vl=Kr({e:"-",m:"_"});Zt.cn=vl,Zt.withNaming=Kr,Gr.exports=Zt;const Q=Gr.exports.withNaming({n:"nut-",e:"__",m:"--",v:"-"}),Xr={name:"",size:"",classPrefix:"nutui-iconfont",color:"",tag:"i",click:e=>{},className:""};function Gn(e){return Number.isNaN(Number(e))?String(e):`${e}px`}const se=e=>{const{name:t,size:n,classPrefix:s,color:r,tag:a,children:i,className:l,style:c,click:u,...f}={...Xr,...e},d=t?t.indexOf("/")!==-1:!1,g=d?"img":a,p=Q("icon"),N=C=>{e.click&&e.click(C)},b=()=>d?{src:t}:{};return o.default.createElement(g,{className:d?`${l||""} ${p("img")}`:`${l||""} ${p(null,[s])} nut-icon-${t} `,style:{color:r,fontSize:Gn(n),width:Gn(n),height:Gn(n),...c},...f,onClick:N,...b()},i)};se.defaultProps=Xr,se.displayName="NutIcon";const Qr={className:"",color:"",shape:"round",plain:!1,loading:!1,disabled:!1,type:"default",size:"normal",block:!1,icon:"",style:{},children:void 0,onClick:e=>{}},et=e=>{const{color:t,shape:n,plain:s,loading:r,disabled:a,type:i,size:l,block:c,icon:u,children:f,onClick:d,className:g,style:p,...N}={...Qr,...e},b=h.useCallback(()=>{const E={};return t&&(s?(E.color=t,E.background="#fff",t!=null&&t.includes("gradient")||(E.borderColor=t)):(E.color="#fff",E.background=t)),E},[t,s]),C=h.useCallback(()=>{const E="nut-button";return[E,`${i?`${E}--${i}`:""}`,`${l?`${E}--${l}`:""}`,`${n?`${E}--${n}`:""}`,`${s?`${E}--plain`:""}`,`${c?`${E}--block`:""}`,`${a?`${E}--disabled`:""}`,`${r?`${E}--loading`:""}`].filter(Boolean).join(" ")},[c,a,r,s,n,l,i]),[y,x]=h.useState(C()),[m,S]=h.useState(b());h.useEffect(()=>{x(C()),S(b())},[g,t,n,s,r,a,p,i,l,c,u,f,d,C,b]);const P=E=>{!r&&!a&&d&&d(E)};return o.default.createElement("div",{className:`${y} ${g}`,style:{...m,...p},...N,onClick:E=>P(E)},o.default.createElement("div",{className:"nut-button__warp",style:b()},r&&o.default.createElement(se,{name:"loading"}),!r&&u?o.default.createElement(se,{name:u}):"",f))};et.defaultProps=Qr,et.displayName="NutButton";function Kn(e,t){return Kn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(s,r){return s.__proto__=r,s},Kn(e,t)}function Ve(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Kn(e,t)}var Jr={exports:{}},yl="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",bl=yl,El=bl;function Zr(){}function ea(){}ea.resetWarningCache=Zr;var Nl=function(){function e(s,r,a,i,l,c){if(c!==El){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:ea,resetWarningCache:Zr};return n.PropTypes=n,n};Jr.exports=Nl();var ta=Jr.exports;function ze(){return ze=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(e[s]=n[s])}return e},ze.apply(this,arguments)}function en(e){return e.charAt(0)==="/"}function Xn(e,t){for(var n=t,s=n+1,r=e.length;s<r;n+=1,s+=1)e[n]=e[s];e.pop()}function Cl(e,t){t===void 0&&(t="");var n=e&&e.split("/")||[],s=t&&t.split("/")||[],r=e&&en(e),a=t&&en(t),i=r||a;if(e&&en(e)?s=n:n.length&&(s.pop(),s=s.concat(n)),!s.length)return"/";var l;if(s.length){var c=s[s.length-1];l=c==="."||c===".."||c===""}else l=!1;for(var u=0,f=s.length;f>=0;f--){var d=s[f];d==="."?Xn(s,f):d===".."?(Xn(s,f),u++):u&&(Xn(s,f),u--)}if(!i)for(;u--;u)s.unshift("..");i&&s[0]!==""&&(!s[0]||!en(s[0]))&&s.unshift("");var g=s.join("/");return l&&g.substr(-1)!=="/"&&(g+="/"),g}var xl=!0,Qn="Invariant failed";function Jn(e,t){if(!e){if(xl)throw new Error(Qn);var n=typeof t=="function"?t():t,s=n?Qn+": "+n:Qn;throw new Error(s)}}function Sl(e){var t=e||"/",n="",s="",r=t.indexOf("#");r!==-1&&(s=t.substr(r),t=t.substr(0,r));var a=t.indexOf("?");return a!==-1&&(n=t.substr(a),t=t.substr(0,a)),{pathname:t,search:n==="?"?"":n,hash:s==="#"?"":s}}function na(e){var t=e.pathname,n=e.search,s=e.hash,r=t||"/";return n&&n!=="?"&&(r+=n.charAt(0)==="?"?n:"?"+n),s&&s!=="#"&&(r+=s.charAt(0)==="#"?s:"#"+s),r}function lt(e,t,n,s){var r;typeof e=="string"?(r=Sl(e),r.state=t):(r=ze({},e),r.pathname===void 0&&(r.pathname=""),r.search?r.search.charAt(0)!=="?"&&(r.search="?"+r.search):r.search="",r.hash?r.hash.charAt(0)!=="#"&&(r.hash="#"+r.hash):r.hash="",t!==void 0&&r.state===void 0&&(r.state=t));try{r.pathname=decodeURI(r.pathname)}catch(a){throw a instanceof URIError?new URIError('Pathname "'+r.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):a}return n&&(r.key=n),s?r.pathname?r.pathname.charAt(0)!=="/"&&(r.pathname=Cl(r.pathname,s.pathname)):r.pathname=s.pathname:r.pathname||(r.pathname="/"),r}function wl(){var e=null;function t(i){return e=i,function(){e===i&&(e=null)}}function n(i,l,c,u){if(e!=null){var f=typeof e=="function"?e(i,l):e;typeof f=="string"?typeof c=="function"?c(f,u):u(!0):u(f!==!1)}else u(!0)}var s=[];function r(i){var l=!0;function c(){l&&i.apply(void 0,arguments)}return s.push(c),function(){l=!1,s=s.filter(function(u){return u!==c})}}function a(){for(var i=arguments.length,l=new Array(i),c=0;c<i;c++)l[c]=arguments[c];s.forEach(function(u){return u.apply(void 0,l)})}return{setPrompt:t,confirmTransitionTo:n,appendListener:r,notifyListeners:a}}function sa(e,t,n){return Math.min(Math.max(e,t),n)}function _l(e){e===void 0&&(e={});var t=e,n=t.getUserConfirmation,s=t.initialEntries,r=s===void 0?["/"]:s,a=t.initialIndex,i=a===void 0?0:a,l=t.keyLength,c=l===void 0?6:l,u=wl();function f(_){ze(T,_),T.length=T.entries.length,u.notifyListeners(T.location,T.action)}function d(){return Math.random().toString(36).substr(2,c)}var g=sa(i,0,r.length-1),p=r.map(function(_){return typeof _=="string"?lt(_,void 0,d()):lt(_,void 0,_.key||d())}),N=na;function b(_,D){var $="PUSH",w=lt(_,D,d(),T.location);u.confirmTransitionTo(w,$,n,function(v){if(!!v){var k=T.index,z=k+1,L=T.entries.slice(0);L.length>z?L.splice(z,L.length-z,w):L.push(w),f({action:$,location:w,index:z,entries:L})}})}function C(_,D){var $="REPLACE",w=lt(_,D,d(),T.location);u.confirmTransitionTo(w,$,n,function(v){!v||(T.entries[T.index]=w,f({action:$,location:w}))})}function y(_){var D=sa(T.index+_,0,T.entries.length-1),$="POP",w=T.entries[D];u.confirmTransitionTo(w,$,n,function(v){v?f({action:$,location:w,index:D}):f()})}function x(){y(-1)}function m(){y(1)}function S(_){var D=T.index+_;return D>=0&&D<T.entries.length}function P(_){return _===void 0&&(_=!1),u.setPrompt(_)}function E(_){return u.appendListener(_)}var T={length:p.length,action:"POP",location:p[g],index:g,entries:p,createHref:N,push:b,replace:C,go:y,goBack:x,goForward:m,canGo:S,block:P,listen:E};return T}var Zn=1073741823,ra=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:{};function $l(){var e="__global_unique_id__";return ra[e]=(ra[e]||0)+1}function Tl(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function kl(e){var t=[];return{on:function(s){t.push(s)},off:function(s){t=t.filter(function(r){return r!==s})},get:function(){return e},set:function(s,r){e=s,t.forEach(function(a){return a(e,r)})}}}function Pl(e){return Array.isArray(e)?e[0]:e}function Dl(e,t){var n,s,r="__create-react-context-"+$l()+"__",a=function(l){Ve(c,l);function c(){var f;return f=l.apply(this,arguments)||this,f.emitter=kl(f.props.value),f}var u=c.prototype;return u.getChildContext=function(){var d;return d={},d[r]=this.emitter,d},u.componentWillReceiveProps=function(d){if(this.props.value!==d.value){var g=this.props.value,p=d.value,N;Tl(g,p)?N=0:(N=typeof t=="function"?t(g,p):Zn,N|=0,N!==0&&this.emitter.set(d.value,N))}},u.render=function(){return this.props.children},c}(h.Component);a.childContextTypes=(n={},n[r]=ta.object.isRequired,n);var i=function(l){Ve(c,l);function c(){var f;return f=l.apply(this,arguments)||this,f.state={value:f.getValue()},f.onUpdate=function(d,g){var p=f.observedBits|0;(p&g)!==0&&f.setState({value:f.getValue()})},f}var u=c.prototype;return u.componentWillReceiveProps=function(d){var g=d.observedBits;this.observedBits=g==null?Zn:g},u.componentDidMount=function(){this.context[r]&&this.context[r].on(this.onUpdate);var d=this.props.observedBits;this.observedBits=d==null?Zn:d},u.componentWillUnmount=function(){this.context[r]&&this.context[r].off(this.onUpdate)},u.getValue=function(){return this.context[r]?this.context[r].get():e},u.render=function(){return Pl(this.props.children)(this.state.value)},c}(h.Component);return i.contextTypes=(s={},s[r]=ta.object,s),{Provider:a,Consumer:i}}var Al=o.default.createContext||Dl,ct={exports:{}},Il=Array.isArray||function(e){return Object.prototype.toString.call(e)=="[object Array]"},tn=Il;ct.exports=ia,ct.exports.parse=es,ct.exports.compile=Ol,ct.exports.tokensToFunction=aa,ct.exports.tokensToRegExp=oa;var Fl=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function es(e,t){for(var n=[],s=0,r=0,a="",i=t&&t.delimiter||"/",l;(l=Fl.exec(e))!=null;){var c=l[0],u=l[1],f=l.index;if(a+=e.slice(r,f),r=f+c.length,u){a+=u[1];continue}var d=e[r],g=l[2],p=l[3],N=l[4],b=l[5],C=l[6],y=l[7];a&&(n.push(a),a="");var x=g!=null&&d!=null&&d!==g,m=C==="+"||C==="*",S=C==="?"||C==="*",P=l[2]||i,E=N||b;n.push({name:p||s++,prefix:g||"",delimiter:P,optional:S,repeat:m,partial:x,asterisk:!!y,pattern:E?Bl(E):y?".*":"[^"+nn(P)+"]+?"})}return r<e.length&&(a+=e.substr(r)),a&&n.push(a),n}function Ol(e,t){return aa(es(e,t),t)}function Ml(e){return encodeURI(e).replace(/[\/?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function Ll(e){return encodeURI(e).replace(/[?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function aa(e,t){for(var n=new Array(e.length),s=0;s<e.length;s++)typeof e[s]=="object"&&(n[s]=new RegExp("^(?:"+e[s].pattern+")$",ns(t)));return function(r,a){for(var i="",l=r||{},c=a||{},u=c.pretty?Ml:encodeURIComponent,f=0;f<e.length;f++){var d=e[f];if(typeof d=="string"){i+=d;continue}var g=l[d.name],p;if(g==null)if(d.optional){d.partial&&(i+=d.prefix);continue}else throw new TypeError('Expected "'+d.name+'" to be defined');if(tn(g)){if(!d.repeat)throw new TypeError('Expected "'+d.name+'" to not repeat, but received `'+JSON.stringify(g)+"`");if(g.length===0){if(d.optional)continue;throw new TypeError('Expected "'+d.name+'" to not be empty')}for(var N=0;N<g.length;N++){if(p=u(g[N]),!n[f].test(p))throw new TypeError('Expected all "'+d.name+'" to match "'+d.pattern+'", but received `'+JSON.stringify(p)+"`");i+=(N===0?d.prefix:d.delimiter)+p}continue}if(p=d.asterisk?Ll(g):u(g),!n[f].test(p))throw new TypeError('Expected "'+d.name+'" to match "'+d.pattern+'", but received "'+p+'"');i+=d.prefix+p}return i}}function nn(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function Bl(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function ts(e,t){return e.keys=t,e}function ns(e){return e&&e.sensitive?"":"i"}function Vl(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var s=0;s<n.length;s++)t.push({name:s,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return ts(e,t)}function zl(e,t,n){for(var s=[],r=0;r<e.length;r++)s.push(ia(e[r],t,n).source);var a=new RegExp("(?:"+s.join("|")+")",ns(n));return ts(a,t)}function Ul(e,t,n){return oa(es(e,n),t,n)}function oa(e,t,n){tn(t)||(n=t||n,t=[]),n=n||{};for(var s=n.strict,r=n.end!==!1,a="",i=0;i<e.length;i++){var l=e[i];if(typeof l=="string")a+=nn(l);else{var c=nn(l.prefix),u="(?:"+l.pattern+")";t.push(l),l.repeat&&(u+="(?:"+c+u+")*"),l.optional?l.partial?u=c+"("+u+")?":u="(?:"+c+"("+u+"))?":u=c+"("+u+")",a+=u}}var f=nn(n.delimiter||"/"),d=a.slice(-f.length)===f;return s||(a=(d?a.slice(0,-f.length):a)+"(?:"+f+"(?=$))?"),r?a+="$":a+=s&&d?"":"(?="+f+"|$)",ts(new RegExp("^"+a,ns(n)),t)}function ia(e,t,n){return tn(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?Vl(e,t):tn(e)?zl(e,t,n):Ul(e,t,n)}var jl=ct.exports,la={exports:{}},pe={};/** @license React v16.13.1
package/dist/style.es.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui-react v1.2.0-beta.2 Tue Jul 26 2022 15:12:39 GMT+0800 (China Standard Time)
2
+ * @nutui/nutui-react v1.2.0 Wed Jul 27 2022 11:40:34 GMT+0800 (China Standard Time)
3
3
  * (c) 2021 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nutui/nutui-react",
3
- "version": "1.2.0-beta.2",
3
+ "version": "1.2.0",
4
4
  "style": "dist/style.css",
5
5
  "main": "dist/nutui.react.umd.js",
6
6
  "module": "dist/esm/nutui-react.es.js",