@nutui/nutui-react-taro 2.6.7 → 2.6.9
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 +23 -0
- package/dist/esm/ActionSheet/style/style.css +1 -1
- package/dist/esm/Address.js +1 -1
- package/dist/esm/Audio.js +1 -1
- package/dist/esm/AvatarCropper.js +1 -1
- package/dist/esm/Button.js +1 -1
- package/dist/esm/Card.js +1 -1
- package/dist/esm/Cascader.js +1 -1
- package/dist/esm/DatePicker.js +1 -1
- package/dist/esm/Dialog.js +1 -1
- package/dist/esm/Drag/style/style.css +1 -1
- package/dist/esm/Drag.js +1 -1
- package/dist/esm/Empty.js +1 -1
- package/dist/esm/Form.js +1 -1
- package/dist/esm/InputNumber.js +1 -1
- package/dist/esm/Picker.js +1 -1
- package/dist/esm/SearchBar.js +1 -1
- package/dist/esm/Uploader.js +1 -1
- package/dist/esm/{address.taro-6VS1YZ0V.js → address.taro-D0tjP5C1.js} +1 -1
- package/dist/esm/{audio.taro-4ixA5lb2.js → audio.taro-BlniN99d.js} +1 -1
- package/dist/esm/{avatarcropper.taro-C9BoO5Lp.js → avatarcropper.taro-D6yiXZM5.js} +1 -1
- package/dist/esm/{button.taro-CjH840d8.js → button.taro-KHyp8jxX.js} +2 -2
- package/dist/esm/{card.taro-Co0BZGJI.js → card.taro-CC0SLA0p.js} +5 -5
- package/dist/esm/{cascader.taro-CZkUgupN.js → cascader.taro-c6WPcYsc.js} +2 -2
- package/dist/esm/{datepicker.taro-B7H4b8TO.js → datepicker.taro-CcP4XLtj.js} +1 -1
- package/dist/esm/{dialog.taro-Du4bNKvD.js → dialog.taro-jZ6_EUiF.js} +1 -1
- package/dist/esm/{drag.taro-D6xGnWqk.js → drag.taro-CBNVFciU.js} +10 -5
- package/dist/esm/{empty.taro-DgmUYpBc.js → empty.taro-ek_1_FoA.js} +1 -1
- package/dist/esm/{inputnumber.taro-ByJ9DlU2.js → inputnumber.taro-CzuJKfES.js} +4 -4
- package/dist/esm/nutui-react.es.js +14 -14
- package/dist/esm/{picker.taro-CHsDIw4C.js → picker.taro-D3G6mJ-I.js} +1 -1
- package/dist/esm/{searchbar.taro-B31m8apz.js → searchbar.taro-BptyG-eR.js} +1 -0
- package/dist/esm/{uploader.taro-BE4c5x9T.js → uploader.taro-CAKO74Mg.js} +4 -4
- package/dist/locales/base.js +1 -1
- package/dist/locales/en-US.js +1 -1
- package/dist/locales/id-ID.js +1 -1
- package/dist/locales/tr-TR.js +1 -1
- package/dist/locales/zh-CN.js +1 -1
- package/dist/locales/zh-TW.js +1 -1
- package/dist/locales/zh-UG.js +1 -1
- package/dist/nutui.react.es.js +52 -20
- package/dist/nutui.react.umd.js +52 -20
- package/dist/packages/actionsheet/actionsheet.scss +0 -3
- package/dist/packages/drag/drag.scss +7 -3
- package/dist/style.css +1 -1
- package/dist/style.mjs +1 -1
- package/dist/types/packages/button/button.taro.d.ts +5 -0
- package/dist/types/packages/searchbar/searchbar.d.ts +1 -1
- package/dist/types/packages/searchbar/searchbar.taro.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,26 @@
|
|
|
1
|
+
# v2.6.9
|
|
2
|
+
`2024-06-14`
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
* :sparkles: feat(form): footer 容器增加 className (#2345) @oasis-cloud
|
|
6
|
+
* :bug: fix: 解决Drag组件拖拽后会在原地留一个遮挡元素问题+解决weapp/taro-h5多个demo拖拽位置不正确问题 (#2330) @irisSong
|
|
7
|
+
* :bug: fix(searchbar): 修复 clear 时未触发 change 的问题 (#2262) @eiinu
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
# v2.6.8
|
|
11
|
+
`2024-05-31`
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
* :sparkles: feat(button): 新增 button 原始类型属性 (#2195) @Jiankian
|
|
15
|
+
* :sparkles: feat(card): add card hide price and shop usage (#2292) @wick
|
|
16
|
+
* :bug: fix(cascader): onPathChange is not a function (#2308) @oasis-cloud
|
|
17
|
+
* :bug: fix: safearea for ac (#2293) @xiaoyatong
|
|
18
|
+
* :bug: fix(InputNumber): 扩大点击区域 (#2302) @xiaoyatong
|
|
19
|
+
* :bug: fix(picker): 函数调用之前检查 locale 是否已经定义 (#2259) @Alex-huxiyang
|
|
20
|
+
* 🏡 chore(demo): 更新组件引用方式 (#2304) @oasis-cloud
|
|
21
|
+
* 🏡 chore: fix typos (#2300) @Snoppy
|
|
22
|
+
|
|
23
|
+
|
|
1
24
|
# v2.6.7
|
|
2
25
|
`2024-05-28`
|
|
3
26
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.nut-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:var(--nutui-overlay-bg-color, var(--nutui-black-10, rgba(0, 0, 0, .7)));z-index:var(--nutui-overlay-zIndex, 1000)}.nut-overlay .wrapper .content{background-color:var(--nutui-overlay-content-bg-color, var(--nutui-gray-1, #ffffff));color:var(--nutui-overlay-content-color, var(--nutui-gray-7, #1a1a1a))}[dir=rtl] .nut-overlay,.nut-rtl .nut-overlay{left:auto;right:0}.nut-overflow-hidden,.nut-overflow-hidden .taro_page{overflow:hidden!important}@keyframes nut-fade-in{0%{opacity:0}1%{opacity:0}to{opacity:1}}@keyframes nut-fade-out{0%{opacity:1}1%{opacity:1}to{opacity:0}}.nut-overlay-slide-enter-active,.nut-overlay-slide-appear-active{animation-fill-mode:both;animation-name:nut-fade-in;animation-duration:var(--nutui-overlay-animation-duration, .3s)}.nut-overlay-slide-exit-active{animation-fill-mode:both;animation-name:nut-fade-out;animation-duration:var(--nutui-overlay-animation-duration, .3s)}.nut-popup{position:fixed;min-height:26%;max-height:100%;overflow-y:auto;background-color:var(--nutui-overlay-content-bg-color, var(--nutui-gray-1, #ffffff));color:var(--nutui-gray-7, #1a1a1a);-webkit-overflow-scrolling:touch;font-size:var(--nutui-font-size-3, 14px)}.nut-popup-title{display:flex;align-items:center;justify-content:center;border-bottom:var(--nutui-popup-title-border-bottom, 0);padding:var(--nutui-popup-title-padding, 16px);position:relative}.nut-popup-title-left{position:absolute;left:var(--nutui-popup-title-padding, 16px)}.nut-popup-title-title{font-weight:var(--nutui-font-weight-bold, 500);font-size:var(--nutui-popup-title-font-size, var(--nutui-font-size-5, 18px))}.nut-popup-title-description{color:var(--nutui-gray-5, #8c8c8c);font-size:var(--nutui-popup-description-font-size, var(--nutui-font-size-1, 10px));font-weight:var(--nutui-font-weight, 400)}.nut-popup-title-right{position:absolute!important;z-index:1;cursor:pointer;width:var(--nutui-popup-icon-size, var(--nutui-font-size-5, 18px));height:var(--nutui-popup-icon-size, var(--nutui-font-size-5, 18px));display:flex;justify-content:center;align-items:center;top:var(--nutui-popup-title-padding, 16px);right:var(--nutui-popup-title-padding, 16px);color:var(--nutui-gray-5, #8c8c8c)}.nut-popup-title-right:active{opacity:.7}.nut-popup-title-right-top-left{top:var(--nutui-popup-title-padding, 16px);left:var(--nutui-popup-title-padding, 16px)}.nut-popup-title-right-bottom-left{bottom:var(--nutui-popup-title-padding, 16px);left:var(--nutui-popup-title-padding, 16px)}.nut-popup-title-right-bottom-right{right:var(--nutui-popup-title-padding, 16px);bottom:var(--nutui-popup-title-padding, 16px)}.nut-popup-center{top:50%;left:50%;min-height:10%;transform:translate(-50%,-50%)}.nut-popup-center.nut-popup-round{border-radius:var(--nutui-popup-border-radius, 24px)}.nut-popup-bottom,.nut-popup-top{max-height:83%}.nut-popup-bottom{bottom:0;left:0;width:100%}.nut-popup-bottom.nut-popup-round{border-radius:var(--nutui-popup-border-radius, 24px) var(--nutui-popup-border-radius, 24px) 0 0}.nut-popup-right{top:0;right:0}.nut-popup-right.nut-popup-round{border-radius:var(--nutui-popup-border-radius, 24px) 0 0 var(--nutui-popup-border-radius, 24px)}.nut-popup-left{top:0;left:0}.nut-popup-left.nut-popup-round{border-radius:0 var(--nutui-popup-border-radius, 24px) var(--nutui-popup-border-radius, 24px) 0}.nut-popup-top{top:0;left:0;width:100%}.nut-popup-top.nut-popup-round{border-radius:0 0 var(--nutui-popup-border-radius, 24px) var(--nutui-popup-border-radius, 24px)}@keyframes popup-scale-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes popup-scale-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}.nut-popup-slide-default-enter-active{animation-fill-mode:both;animation-name:popup-scale-fade-in;animation-duration:var(--nutui-popup-animation-duration, .3s)}.nut-popup-slide-default-exit-active{animation-fill-mode:both;animation-name:popup-scale-fade-out;animation-duration:var(--nutui-popup-animation-duration, .3s)}@keyframes popup-fade-in{0%{opacity:0}to{opacity:1}}@keyframes popup-fade-out{0%{opacity:1}to{opacity:0}}.nut-popup-slide-center-enter-active{animation-fill-mode:both;animation-name:popup-fade-in;animation-duration:var(--nutui-popup-animation-duration, .3s)}.nut-popup-slide-center-exit-active{animation-fill-mode:both;animation-name:popup-fade-out;animation-duration:var(--nutui-popup-animation-duration, .3s)}@keyframes popup-slide-top-enter{0%{transform:translate3d(0,-100%,0)}}@keyframes popup-slide-top-exit{to{transform:translate3d(0,-100%,0)}}.nut-popup-slide-top-enter-active,.nut-popup-slide-top-appear-active{transform:translateZ(0);animation-fill-mode:both;animation-name:popup-slide-top-enter;animation-duration:var(--nutui-popup-animation-duration, .3s)}.nut-popup-slide-top-exit-active{animation-fill-mode:both;animation-name:popup-slide-top-exit;animation-duration:var(--nutui-popup-animation-duration, .3s)}@keyframes popup-slide-right-enter{0%{transform:translate3d(100%,0,0)}}@keyframes popup-slide-right-exit{to{transform:translate3d(100%,0,0)}}.nut-popup-slide-right-enter-active,.nut-popup-slide-right-appear-active{transform:translateZ(0);animation-fill-mode:both;animation-name:popup-slide-right-enter;animation-duration:var(--nutui-popup-animation-duration, .3s)}.nut-popup-slide-right-exit{animation-fill-mode:both;animation-name:popup-slide-right-exit;animation-duration:var(--nutui-popup-animation-duration, .3s)}@keyframes popup-slide-bottom-enter{0%{transform:translate3d(0,100%,0)}}@keyframes slide-bottom-exit{to{transform:translate3d(0,100%,0)}}.nut-popup-slide-bottom-enter-active,.nut-popup-slide-bottom-appear-active{transform:translate(0);animation-fill-mode:both;animation-name:popup-slide-bottom-enter;animation-duration:var(--nutui-popup-animation-duration, .3s)}.nut-popup-slide-bottom-exit{animation-fill-mode:both;animation-name:slide-bottom-exit;animation-duration:var(--nutui-popup-animation-duration, .3s)}@keyframes popup-slide-left-enter{0%{transform:translate3d(-100%,0,0)}}@keyframes popup-slide-left-exit{to{transform:translate3d(-100%,0,0)}}.nut-popup-slide-left-enter-active,.nut-popup-slide-left-appear-active{transform:translate(0);animation-fill-mode:both;animation-name:popup-slide-left-enter;animation-duration:var(--nutui-popup-animation-duration, .3s)}.nut-popup-slide-left-exit-active,.nut-popup-slide-left-exit-done{animation-fill-mode:both;animation-name:popup-slide-left-exit;animation-duration:var(--nutui-popup-animation-duration, .3s)}.nut-popup-slide-default-exit-done.nut-popup,.nut-popup-slide-center-exit-done.nut-popup,.nut-popup-slide-left-exit-done.nut-popup,.nut-popup-slide-right-exit-done.nut-popup,.nut-popup-slide-top-exit-done.nut-popup,.nut-popup-slide-bottom-exit-done.nut-popup{display:none}.nut-popup .nut-overflow-hidden{overflow:hidden!important}[dir=rtl] .nut-popup-title-left,.nut-rtl .nut-popup-title-left{left:auto;right:var(--nutui-popup-title-padding, 16px)}[dir=rtl] .nut-popup-title-right,.nut-rtl .nut-popup-title-right{right:auto;left:var(--nutui-popup-title-padding, 16px)}[dir=rtl] .nut-popup-title-right-top-left,.nut-rtl .nut-popup-title-right-top-left,[dir=rtl] .nut-popup-title-right-bottom-left,.nut-rtl .nut-popup-title-right-bottom-left{left:auto;right:var(--nutui-popup-title-padding, 16px)}[dir=rtl] .nut-popup-title-right-bottom-right,.nut-rtl .nut-popup-title-right-bottom-right{right:auto;left:var(--nutui-popup-title-padding, 16px)}[dir=rtl] .nut-popup-title .nut-icon-ArrowLeft,.nut-rtl .nut-popup-title .nut-icon-ArrowLeft{transform:rotate(180deg)}[dir=rtl] .nut-popup-center,.nut-rtl .nut-popup-center{left:auto;right:50%;transform:translate(50%,-50%)}[dir=rtl] .nut-popup-bottom,.nut-rtl .nut-popup-bottom,[dir=rtl] .nut-popup-top,.nut-rtl .nut-popup-top{left:auto;right:0}.nut-actionsheet{
|
|
1
|
+
.nut-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:var(--nutui-overlay-bg-color, var(--nutui-black-10, rgba(0, 0, 0, .7)));z-index:var(--nutui-overlay-zIndex, 1000)}.nut-overlay .wrapper .content{background-color:var(--nutui-overlay-content-bg-color, var(--nutui-gray-1, #ffffff));color:var(--nutui-overlay-content-color, var(--nutui-gray-7, #1a1a1a))}[dir=rtl] .nut-overlay,.nut-rtl .nut-overlay{left:auto;right:0}.nut-overflow-hidden,.nut-overflow-hidden .taro_page{overflow:hidden!important}@keyframes nut-fade-in{0%{opacity:0}1%{opacity:0}to{opacity:1}}@keyframes nut-fade-out{0%{opacity:1}1%{opacity:1}to{opacity:0}}.nut-overlay-slide-enter-active,.nut-overlay-slide-appear-active{animation-fill-mode:both;animation-name:nut-fade-in;animation-duration:var(--nutui-overlay-animation-duration, .3s)}.nut-overlay-slide-exit-active{animation-fill-mode:both;animation-name:nut-fade-out;animation-duration:var(--nutui-overlay-animation-duration, .3s)}.nut-popup{position:fixed;min-height:26%;max-height:100%;overflow-y:auto;background-color:var(--nutui-overlay-content-bg-color, var(--nutui-gray-1, #ffffff));color:var(--nutui-gray-7, #1a1a1a);-webkit-overflow-scrolling:touch;font-size:var(--nutui-font-size-3, 14px)}.nut-popup-title{display:flex;align-items:center;justify-content:center;border-bottom:var(--nutui-popup-title-border-bottom, 0);padding:var(--nutui-popup-title-padding, 16px);position:relative}.nut-popup-title-left{position:absolute;left:var(--nutui-popup-title-padding, 16px)}.nut-popup-title-title{font-weight:var(--nutui-font-weight-bold, 500);font-size:var(--nutui-popup-title-font-size, var(--nutui-font-size-5, 18px))}.nut-popup-title-description{color:var(--nutui-gray-5, #8c8c8c);font-size:var(--nutui-popup-description-font-size, var(--nutui-font-size-1, 10px));font-weight:var(--nutui-font-weight, 400)}.nut-popup-title-right{position:absolute!important;z-index:1;cursor:pointer;width:var(--nutui-popup-icon-size, var(--nutui-font-size-5, 18px));height:var(--nutui-popup-icon-size, var(--nutui-font-size-5, 18px));display:flex;justify-content:center;align-items:center;top:var(--nutui-popup-title-padding, 16px);right:var(--nutui-popup-title-padding, 16px);color:var(--nutui-gray-5, #8c8c8c)}.nut-popup-title-right:active{opacity:.7}.nut-popup-title-right-top-left{top:var(--nutui-popup-title-padding, 16px);left:var(--nutui-popup-title-padding, 16px)}.nut-popup-title-right-bottom-left{bottom:var(--nutui-popup-title-padding, 16px);left:var(--nutui-popup-title-padding, 16px)}.nut-popup-title-right-bottom-right{right:var(--nutui-popup-title-padding, 16px);bottom:var(--nutui-popup-title-padding, 16px)}.nut-popup-center{top:50%;left:50%;min-height:10%;transform:translate(-50%,-50%)}.nut-popup-center.nut-popup-round{border-radius:var(--nutui-popup-border-radius, 24px)}.nut-popup-bottom,.nut-popup-top{max-height:83%}.nut-popup-bottom{bottom:0;left:0;width:100%}.nut-popup-bottom.nut-popup-round{border-radius:var(--nutui-popup-border-radius, 24px) var(--nutui-popup-border-radius, 24px) 0 0}.nut-popup-right{top:0;right:0}.nut-popup-right.nut-popup-round{border-radius:var(--nutui-popup-border-radius, 24px) 0 0 var(--nutui-popup-border-radius, 24px)}.nut-popup-left{top:0;left:0}.nut-popup-left.nut-popup-round{border-radius:0 var(--nutui-popup-border-radius, 24px) var(--nutui-popup-border-radius, 24px) 0}.nut-popup-top{top:0;left:0;width:100%}.nut-popup-top.nut-popup-round{border-radius:0 0 var(--nutui-popup-border-radius, 24px) var(--nutui-popup-border-radius, 24px)}@keyframes popup-scale-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes popup-scale-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}.nut-popup-slide-default-enter-active{animation-fill-mode:both;animation-name:popup-scale-fade-in;animation-duration:var(--nutui-popup-animation-duration, .3s)}.nut-popup-slide-default-exit-active{animation-fill-mode:both;animation-name:popup-scale-fade-out;animation-duration:var(--nutui-popup-animation-duration, .3s)}@keyframes popup-fade-in{0%{opacity:0}to{opacity:1}}@keyframes popup-fade-out{0%{opacity:1}to{opacity:0}}.nut-popup-slide-center-enter-active{animation-fill-mode:both;animation-name:popup-fade-in;animation-duration:var(--nutui-popup-animation-duration, .3s)}.nut-popup-slide-center-exit-active{animation-fill-mode:both;animation-name:popup-fade-out;animation-duration:var(--nutui-popup-animation-duration, .3s)}@keyframes popup-slide-top-enter{0%{transform:translate3d(0,-100%,0)}}@keyframes popup-slide-top-exit{to{transform:translate3d(0,-100%,0)}}.nut-popup-slide-top-enter-active,.nut-popup-slide-top-appear-active{transform:translateZ(0);animation-fill-mode:both;animation-name:popup-slide-top-enter;animation-duration:var(--nutui-popup-animation-duration, .3s)}.nut-popup-slide-top-exit-active{animation-fill-mode:both;animation-name:popup-slide-top-exit;animation-duration:var(--nutui-popup-animation-duration, .3s)}@keyframes popup-slide-right-enter{0%{transform:translate3d(100%,0,0)}}@keyframes popup-slide-right-exit{to{transform:translate3d(100%,0,0)}}.nut-popup-slide-right-enter-active,.nut-popup-slide-right-appear-active{transform:translateZ(0);animation-fill-mode:both;animation-name:popup-slide-right-enter;animation-duration:var(--nutui-popup-animation-duration, .3s)}.nut-popup-slide-right-exit{animation-fill-mode:both;animation-name:popup-slide-right-exit;animation-duration:var(--nutui-popup-animation-duration, .3s)}@keyframes popup-slide-bottom-enter{0%{transform:translate3d(0,100%,0)}}@keyframes slide-bottom-exit{to{transform:translate3d(0,100%,0)}}.nut-popup-slide-bottom-enter-active,.nut-popup-slide-bottom-appear-active{transform:translate(0);animation-fill-mode:both;animation-name:popup-slide-bottom-enter;animation-duration:var(--nutui-popup-animation-duration, .3s)}.nut-popup-slide-bottom-exit{animation-fill-mode:both;animation-name:slide-bottom-exit;animation-duration:var(--nutui-popup-animation-duration, .3s)}@keyframes popup-slide-left-enter{0%{transform:translate3d(-100%,0,0)}}@keyframes popup-slide-left-exit{to{transform:translate3d(-100%,0,0)}}.nut-popup-slide-left-enter-active,.nut-popup-slide-left-appear-active{transform:translate(0);animation-fill-mode:both;animation-name:popup-slide-left-enter;animation-duration:var(--nutui-popup-animation-duration, .3s)}.nut-popup-slide-left-exit-active,.nut-popup-slide-left-exit-done{animation-fill-mode:both;animation-name:popup-slide-left-exit;animation-duration:var(--nutui-popup-animation-duration, .3s)}.nut-popup-slide-default-exit-done.nut-popup,.nut-popup-slide-center-exit-done.nut-popup,.nut-popup-slide-left-exit-done.nut-popup,.nut-popup-slide-right-exit-done.nut-popup,.nut-popup-slide-top-exit-done.nut-popup,.nut-popup-slide-bottom-exit-done.nut-popup{display:none}.nut-popup .nut-overflow-hidden{overflow:hidden!important}[dir=rtl] .nut-popup-title-left,.nut-rtl .nut-popup-title-left{left:auto;right:var(--nutui-popup-title-padding, 16px)}[dir=rtl] .nut-popup-title-right,.nut-rtl .nut-popup-title-right{right:auto;left:var(--nutui-popup-title-padding, 16px)}[dir=rtl] .nut-popup-title-right-top-left,.nut-rtl .nut-popup-title-right-top-left,[dir=rtl] .nut-popup-title-right-bottom-left,.nut-rtl .nut-popup-title-right-bottom-left{left:auto;right:var(--nutui-popup-title-padding, 16px)}[dir=rtl] .nut-popup-title-right-bottom-right,.nut-rtl .nut-popup-title-right-bottom-right{right:auto;left:var(--nutui-popup-title-padding, 16px)}[dir=rtl] .nut-popup-title .nut-icon-ArrowLeft,.nut-rtl .nut-popup-title .nut-icon-ArrowLeft{transform:rotate(180deg)}[dir=rtl] .nut-popup-center,.nut-rtl .nut-popup-center{left:auto;right:50%;transform:translate(50%,-50%)}[dir=rtl] .nut-popup-bottom,.nut-rtl .nut-popup-bottom,[dir=rtl] .nut-popup-top,.nut-rtl .nut-popup-top{left:auto;right:0}.nut-actionsheet{text-align:center}.nut-actionsheet.nut-popup{min-height:10%;background-color:var(--nutui-actionsheet-background-color, var(--nutui-gray-1, #ffffff))}.nut-actionsheet .nut-popup-title{border-bottom:1px solid var(--nutui-actionsheet-border-color, var(--nutui-black-3, rgba(0, 0, 0, .06)))}.nut-actionsheet-list{display:block;list-style:none;padding:0;margin:0;border-radius:var(--nutui-actionsheet-border-radius, 0)}.nut-actionsheet-cancel,.nut-actionsheet-item{display:block;padding:10px;text-align:var(--nutui-actionsheet-item-text-align, center);line-height:var(--nutui-actionsheet-item-line-height, 24px);font-size:var(--nutui-font-size-3, 14px);color:var(--nutui-actionsheet-item-color, var(--nutui-gray-7, #1a1a1a));background-color:var(--nutui-gray-1, #ffffff);cursor:pointer}.nut-actionsheet-cancel-description,.nut-actionsheet-item-description{display:block;font-size:var(--nutui-font-size-2, 12px);color:var(--nutui-gray-6, #595959)}.nut-actionsheet-cancel.danger,.nut-actionsheet-item.danger{color:var(--nutui-actionsheet-item-danger, var(--nutui-color-danger, #fa2c19))}.nut-actionsheet-cancel.disabled,.nut-actionsheet-item.disabled{color:var(--nutui-color-text-disabled, #bfbfbf)!important;cursor:not-allowed}.nut-actionsheet-cancel{margin-top:5px;border-top:1px solid var(--nutui-actionsheet-border-color, var(--nutui-black-3, rgba(0, 0, 0, .06)));border-radius:var(--nutui-actionsheet-border-radius, 0)}.nut-actionsheet-safe-area{display:block;width:100%;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}
|
package/dist/esm/Address.js
CHANGED
package/dist/esm/Audio.js
CHANGED
package/dist/esm/Button.js
CHANGED
package/dist/esm/Card.js
CHANGED
package/dist/esm/Cascader.js
CHANGED
package/dist/esm/DatePicker.js
CHANGED
package/dist/esm/Dialog.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.nut-drag{position:fixed;
|
|
1
|
+
.nut-drag{position:fixed;z-index:9997!important;width:0;height:0;touch-action:none;-webkit-user-select:none;user-select:none;font-size:0}.nut-drag-inner{display:inline-flex;width:fit-content;height:fit-content}
|
package/dist/esm/Drag.js
CHANGED
package/dist/esm/Empty.js
CHANGED
package/dist/esm/Form.js
CHANGED
|
@@ -48,7 +48,7 @@ const Form = React__default.forwardRef((props, ref) => {
|
|
|
48
48
|
Cell.Group,
|
|
49
49
|
{ divider },
|
|
50
50
|
React__default.createElement(Context.Provider, { value: formInstance }, children),
|
|
51
|
-
footer ? React__default.createElement(Cell,
|
|
51
|
+
footer ? React__default.createElement(Cell, { className: `${classPrefix}-footer` }, footer) : null
|
|
52
52
|
)
|
|
53
53
|
);
|
|
54
54
|
});
|
package/dist/esm/InputNumber.js
CHANGED
package/dist/esm/Picker.js
CHANGED
package/dist/esm/SearchBar.js
CHANGED
package/dist/esm/Uploader.js
CHANGED
|
@@ -4,7 +4,7 @@ import { Check, Location, ArrowLeft } from "@nutui/icons-react-taro";
|
|
|
4
4
|
import { P as Popup } from "./popup.taro-cT6cbAxw.js";
|
|
5
5
|
import { ScrollView } from "@tarojs/components";
|
|
6
6
|
import { u as useConfig } from "./configprovider.taro-CyU_tvNJ.js";
|
|
7
|
-
import { C as Cascader } from "./cascader.taro-
|
|
7
|
+
import { C as Cascader } from "./cascader.taro-c6WPcYsc.js";
|
|
8
8
|
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
9
9
|
import { u as usePropsValue } from "./use-props-value-SH9krhkx.js";
|
|
10
10
|
const defaultProps$2 = {
|
|
@@ -3,7 +3,7 @@ import React__default, { useState, useRef } from "react";
|
|
|
3
3
|
import { createInnerAudioContext } from "@tarojs/taro";
|
|
4
4
|
import { Service } from "@nutui/icons-react-taro";
|
|
5
5
|
import { R as Range } from "./range.taro-BeVCaZ4r.js";
|
|
6
|
-
import { B as Button } from "./button.taro-
|
|
6
|
+
import { B as Button } from "./button.taro-KHyp8jxX.js";
|
|
7
7
|
import { u as useConfig } from "./configprovider.taro-CyU_tvNJ.js";
|
|
8
8
|
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
9
9
|
const defaultProps = Object.assign(Object.assign({}, ComponentDefaults), { className: "", url: "", style: {}, autoplay: false, loop: false, type: "progress", onFastBack: (ctx) => {
|
|
@@ -3,7 +3,7 @@ import React__default, { useState, useMemo, useEffect, useCallback } from "react
|
|
|
3
3
|
import Taro, { useReady, createSelectorQuery } from "@tarojs/taro";
|
|
4
4
|
import classNames from "classnames";
|
|
5
5
|
import { Canvas } from "@tarojs/components";
|
|
6
|
-
import { B as Button } from "./button.taro-
|
|
6
|
+
import { B as Button } from "./button.taro-KHyp8jxX.js";
|
|
7
7
|
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
8
8
|
import { u as useTouch } from "./use-touch-BeiLHDO9.js";
|
|
9
9
|
import { p as preventDefault, c as clamp } from "./index-DeNfBlua.js";
|
|
@@ -8,7 +8,7 @@ const prefixCls = "nut-button";
|
|
|
8
8
|
const defaultProps = Object.assign(Object.assign({}, ComponentDefaults), { color: "", type: "default", size: "normal", shape: "round", fill: "outline", loading: false, disabled: false, block: false, icon: null, rightIcon: null, onClick: (e) => {
|
|
9
9
|
} });
|
|
10
10
|
const Button = React__default.forwardRef((props, ref) => {
|
|
11
|
-
const _a = Object.assign(Object.assign({}, defaultProps), props), { color, shape, fill, loading, disabled, type, size, block, icon, rightIcon, children, className, style, onClick } = _a, rest = __rest(_a, ["color", "shape", "fill", "loading", "disabled", "type", "size", "block", "icon", "rightIcon", "children", "className", "style", "onClick"]);
|
|
11
|
+
const _a = Object.assign(Object.assign({}, defaultProps), props), { color, shape, fill, loading, disabled, type, size, block, icon, rightIcon, children, className, style, nativeType, onClick } = _a, rest = __rest(_a, ["color", "shape", "fill", "loading", "disabled", "type", "size", "block", "icon", "rightIcon", "children", "className", "style", "nativeType", "onClick"]);
|
|
12
12
|
const getStyle = useCallback(() => {
|
|
13
13
|
const style2 = {};
|
|
14
14
|
if (props.color) {
|
|
@@ -39,7 +39,7 @@ const Button = React__default.forwardRef((props, ref) => {
|
|
|
39
39
|
// eslint-disable-next-line react/button-has-type
|
|
40
40
|
React__default.createElement(
|
|
41
41
|
"button",
|
|
42
|
-
Object.assign({}, rest, { ref, className: classNames(prefixCls, `${prefixCls}-${type}`, props.fill ? `${prefixCls}-${fill}` : null, children ? "" : `${prefixCls}-icononly`, {
|
|
42
|
+
Object.assign({}, rest, { ref, type: nativeType, className: classNames(prefixCls, `${prefixCls}-${type}`, props.fill ? `${prefixCls}-${fill}` : null, children ? "" : `${prefixCls}-icononly`, {
|
|
43
43
|
[`${prefixCls}-${size}`]: size,
|
|
44
44
|
[`${prefixCls}-${shape}`]: shape,
|
|
45
45
|
[`${prefixCls}-block`]: block,
|
|
@@ -24,19 +24,19 @@ const Card = (props) => {
|
|
|
24
24
|
React__default.createElement(
|
|
25
25
|
"div",
|
|
26
26
|
{ className: `${classPrefix}-right-price` },
|
|
27
|
-
React__default.createElement(Price, { size: "normal", price }),
|
|
28
|
-
priceTag || React__default.createElement(Price, { size: "normal", className: `${classPrefix}-right-price-origin`, price: vipPrice })
|
|
27
|
+
price && React__default.createElement(Price, { size: "normal", price }),
|
|
28
|
+
priceTag || vipPrice && React__default.createElement(Price, { size: "normal", className: `${classPrefix}-right-price-origin`, price: vipPrice })
|
|
29
29
|
),
|
|
30
30
|
React__default.createElement("div", { className: `${classPrefix}-right-other` }, tag || React__default.createElement(
|
|
31
31
|
React__default.Fragment,
|
|
32
32
|
null,
|
|
33
|
-
React__default.createElement(Tag, { type: "danger" }, shopDescription),
|
|
34
|
-
React__default.createElement(Tag, { plain: true }, delivery)
|
|
33
|
+
shopDescription && React__default.createElement(Tag, { type: "danger" }, shopDescription),
|
|
34
|
+
delivery && React__default.createElement(Tag, { plain: true }, delivery)
|
|
35
35
|
)),
|
|
36
36
|
React__default.createElement(
|
|
37
37
|
"div",
|
|
38
38
|
{ className: `${classPrefix}-right-shop` },
|
|
39
|
-
React__default.createElement("div", { className: `${classPrefix}-right-shop-name` }, shopName),
|
|
39
|
+
shopName && React__default.createElement("div", { className: `${classPrefix}-right-shop-name` }, shopName),
|
|
40
40
|
extra
|
|
41
41
|
)
|
|
42
42
|
)
|
|
@@ -294,7 +294,7 @@ const InternalCascader = (props, ref) => {
|
|
|
294
294
|
const pathNodes = state.panes.map((item) => item.selectedNode);
|
|
295
295
|
const optionParams = pathNodes.map((item) => item.value);
|
|
296
296
|
onChange(optionParams, pathNodes);
|
|
297
|
-
onPathChange(optionParams, pathNodes);
|
|
297
|
+
onPathChange === null || onPathChange === void 0 ? void 0 : onPathChange(optionParams, pathNodes);
|
|
298
298
|
setInnerValue(optionParams);
|
|
299
299
|
}
|
|
300
300
|
setOptionsData(state.panes);
|
|
@@ -316,7 +316,7 @@ const InternalCascader = (props, ref) => {
|
|
|
316
316
|
if (!type) {
|
|
317
317
|
const pathNodes = state.panes.map((item) => item.selectedNode);
|
|
318
318
|
const optionParams = pathNodes.map((item) => item === null || item === void 0 ? void 0 : item.value);
|
|
319
|
-
onPathChange(optionParams, pathNodes);
|
|
319
|
+
onPathChange === null || onPathChange === void 0 ? void 0 : onPathChange(optionParams, pathNodes);
|
|
320
320
|
}
|
|
321
321
|
return;
|
|
322
322
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as __rest } from "./tslib.es6-BZ8i9Q6l.js";
|
|
2
2
|
import React__default, { useState, useEffect } from "react";
|
|
3
3
|
import { View } from "@tarojs/components";
|
|
4
|
-
import { P as Picker } from "./picker.taro-
|
|
4
|
+
import { P as Picker } from "./picker.taro-D3G6mJ-I.js";
|
|
5
5
|
import { u as useConfig } from "./configprovider.taro-CyU_tvNJ.js";
|
|
6
6
|
import { u as usePropsValue } from "./use-props-value-SH9krhkx.js";
|
|
7
7
|
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
@@ -4,7 +4,7 @@ import classNames from "classnames";
|
|
|
4
4
|
import { CSSTransition } from "react-transition-group";
|
|
5
5
|
import { View } from "@tarojs/components";
|
|
6
6
|
import { Close } from "@nutui/icons-react-taro";
|
|
7
|
-
import { B as Button } from "./button.taro-
|
|
7
|
+
import { B as Button } from "./button.taro-KHyp8jxX.js";
|
|
8
8
|
import { u as useConfig } from "./configprovider.taro-CyU_tvNJ.js";
|
|
9
9
|
import { u as useLockScrollTaro, O as Overlay } from "./overlay.taro-BJ3twlP0.js";
|
|
10
10
|
import { b as useParams, u as useCustomEvent, a as useCustomEventsPath, c as customEvents } from "./use-custom-event-DuP4onEm.js";
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { _ as __rest } from "./tslib.es6-BZ8i9Q6l.js";
|
|
1
|
+
import { _ as __rest, a as __awaiter } from "./tslib.es6-BZ8i9Q6l.js";
|
|
2
2
|
import React__default, { useState, useRef, useEffect } from "react";
|
|
3
3
|
import { getSystemInfoSync, createSelectorQuery } from "@tarojs/taro";
|
|
4
4
|
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
5
|
+
import { g as getRectByTaro } from "./get-rect-by-taro-CSN0TGnD.js";
|
|
5
6
|
const defaultProps = Object.assign(Object.assign({}, ComponentDefaults), { attract: false, direction: void 0, boundary: {
|
|
6
7
|
top: 0,
|
|
7
8
|
left: 0,
|
|
@@ -21,22 +22,25 @@ const Drag = (props) => {
|
|
|
21
22
|
const translateX = useRef(0);
|
|
22
23
|
const translateY = useRef(0);
|
|
23
24
|
const middleLine = useRef(0);
|
|
24
|
-
const getInfo = () => {
|
|
25
|
+
const getInfo = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
26
|
+
var _b;
|
|
25
27
|
const el = myDrag.current;
|
|
26
28
|
if (el) {
|
|
27
29
|
const { top, left, bottom, right } = boundary;
|
|
28
30
|
const { screenWidth, windowHeight } = getSystemInfoSync();
|
|
31
|
+
const { width, height } = yield getRectByTaro(dragRef.current);
|
|
32
|
+
(_b = dragRef.current) === null || _b === void 0 ? void 0 : _b.getBoundingClientRect();
|
|
29
33
|
createSelectorQuery().select(`.${className}`).boundingClientRect((rec) => {
|
|
30
34
|
setBoundaryState({
|
|
31
35
|
top: -rec.top + top,
|
|
32
36
|
left: -rec.left + left,
|
|
33
|
-
bottom: windowHeight - rec.
|
|
34
|
-
right: screenWidth - rec.
|
|
37
|
+
bottom: windowHeight - rec.top - bottom - Math.ceil(height),
|
|
38
|
+
right: screenWidth - rec.left - right - Math.ceil(width)
|
|
35
39
|
});
|
|
36
40
|
middleLine.current = screenWidth - rec.width - rec.left - (screenWidth - rec.width) / 2;
|
|
37
41
|
}).exec();
|
|
38
42
|
}
|
|
39
|
-
};
|
|
43
|
+
});
|
|
40
44
|
const touchStart = (e) => {
|
|
41
45
|
e.currentTarget;
|
|
42
46
|
const touches = e.touches[0];
|
|
@@ -87,6 +91,7 @@ const Drag = (props) => {
|
|
|
87
91
|
"div",
|
|
88
92
|
Object.assign({ style, className: `${classPrefix} ${className}` }, reset, { ref: myDrag }),
|
|
89
93
|
React__default.createElement("div", {
|
|
94
|
+
className: `${classPrefix}-inner`,
|
|
90
95
|
onTouchStart: (event) => touchStart(event),
|
|
91
96
|
ref: dragRef,
|
|
92
97
|
onTouchMove: touchMove,
|
|
@@ -3,7 +3,7 @@ import React__default, { useState, useEffect } from "react";
|
|
|
3
3
|
import classNames from "classnames";
|
|
4
4
|
import { u as useConfig } from "./configprovider.taro-CyU_tvNJ.js";
|
|
5
5
|
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
6
|
-
import { B as Button } from "./button.taro-
|
|
6
|
+
import { B as Button } from "./button.taro-KHyp8jxX.js";
|
|
7
7
|
const defaultStatus = {
|
|
8
8
|
empty: "https://storage.360buyimg.com/imgtools/30186cfda0-0d3eee40-c0ac-11ee-9382-9125782aa3b8.png",
|
|
9
9
|
error: "https://storage.360buyimg.com/imgtools/f3278d0ebb-0ce360c0-c0ac-11ee-8375-193101bb1a46.png",
|
|
@@ -132,10 +132,10 @@ const InputNumber = (props) => {
|
|
|
132
132
|
Object.assign({ className: classes, style }, restProps),
|
|
133
133
|
React__default.createElement(
|
|
134
134
|
"div",
|
|
135
|
-
{ className: "nut-input-minus" },
|
|
135
|
+
{ className: "nut-input-minus", onClick: handleReduce },
|
|
136
136
|
React__default.createElement(Minus, { className: classNames("nut-inputnumber-icon icon-minus", {
|
|
137
137
|
[`${classPrefix}-icon-disabled`]: shadowValue === min || disabled
|
|
138
|
-
})
|
|
138
|
+
}) })
|
|
139
139
|
),
|
|
140
140
|
React__default.createElement(
|
|
141
141
|
React__default.Fragment,
|
|
@@ -144,10 +144,10 @@ const InputNumber = (props) => {
|
|
|
144
144
|
),
|
|
145
145
|
React__default.createElement(
|
|
146
146
|
"div",
|
|
147
|
-
{ className: "nut-input-add" },
|
|
147
|
+
{ className: "nut-input-add", onClick: handlePlus },
|
|
148
148
|
React__default.createElement(Plus, { className: classNames("nut-inputnumber-icon icon-plus", {
|
|
149
149
|
[`${classPrefix}-icon-disabled`]: shadowValue === max || disabled
|
|
150
|
-
})
|
|
150
|
+
}) })
|
|
151
151
|
)
|
|
152
152
|
);
|
|
153
153
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B } from "./button.taro-
|
|
1
|
+
import { B } from "./button.taro-KHyp8jxX.js";
|
|
2
2
|
import { C } from "./cell.taro-kOgCGbyn.js";
|
|
3
3
|
import { C as C2 } from "./cellgroup.taro-BskBIgql.js";
|
|
4
4
|
import { C as C3, g, s, u, a } from "./configprovider.taro-CyU_tvNJ.js";
|
|
@@ -24,35 +24,35 @@ import { T } from "./tabbar.taro-DD5HcQgp.js";
|
|
|
24
24
|
import { T as T2 } from "./tabbaritem.taro-ptdJI0xv.js";
|
|
25
25
|
import { T as T3 } from "./tabpane.taro-BAe86j3t.js";
|
|
26
26
|
import { T as T4 } from "./tabs.taro-gcyv8qGG.js";
|
|
27
|
-
import { A } from "./address.taro-
|
|
27
|
+
import { A } from "./address.taro-D0tjP5C1.js";
|
|
28
28
|
import { C as C5 } from "./calendar.taro-CDZqFYlk.js";
|
|
29
29
|
import { C as C6 } from "./calendaritem.taro-DuEKmnsT.js";
|
|
30
30
|
import { C as C7 } from "./calendarcard.taro-CHDg3k5D.js";
|
|
31
|
-
import { C as C8 } from "./cascader.taro-
|
|
31
|
+
import { C as C8 } from "./cascader.taro-c6WPcYsc.js";
|
|
32
32
|
import { C as C9, a as a2 } from "./checkbox.taro-DOSOI351.js";
|
|
33
|
-
import { D as D2 } from "./datepicker.taro-
|
|
33
|
+
import { D as D2 } from "./datepicker.taro-CcP4XLtj.js";
|
|
34
34
|
import { default as default2 } from "./Form.js";
|
|
35
35
|
import { F as F2 } from "./formitem.taro-CAib1i9_.js";
|
|
36
36
|
import { I as I2 } from "./input.taro-CLMPZ7Wg.js";
|
|
37
|
-
import { I as I3 } from "./inputnumber.taro-
|
|
37
|
+
import { I as I3 } from "./inputnumber.taro-CzuJKfES.js";
|
|
38
38
|
import { M } from "./menu.taro-DkKY62ym.js";
|
|
39
39
|
import { M as M2 } from "./menuitem.taro-CKjl8_Cl.js";
|
|
40
40
|
import { N as N2 } from "./numberkeyboard.taro-CFJtMOew.js";
|
|
41
|
-
import { P } from "./picker.taro-
|
|
41
|
+
import { P } from "./picker.taro-D3G6mJ-I.js";
|
|
42
42
|
import { R as R2, a as a3 } from "./radio.taro-CjJgX9o2.js";
|
|
43
43
|
import { R as R3 } from "./range.taro-BeVCaZ4r.js";
|
|
44
44
|
import { R as R4 } from "./rate.taro-lOoACxLq.js";
|
|
45
|
-
import { S as S7 } from "./searchbar.taro-
|
|
45
|
+
import { S as S7 } from "./searchbar.taro-BptyG-eR.js";
|
|
46
46
|
import { S as S8 } from "./shortpassword.taro-BVp4BrTs.js";
|
|
47
47
|
import { S as S9 } from "./signature.taro-Dq6JO2XJ.js";
|
|
48
48
|
import { S as S10 } from "./switch.taro-Mq1wBEGz.js";
|
|
49
49
|
import { T as T5 } from "./textarea.taro-DLS0EQeJ.js";
|
|
50
|
-
import { U } from "./uploader.taro-
|
|
50
|
+
import { U } from "./uploader.taro-CAKO74Mg.js";
|
|
51
51
|
import { A as A2 } from "./actionsheet.taro-Cla34tFO.js";
|
|
52
52
|
import { B as B3 } from "./badge.taro-DK_UFQ5Y.js";
|
|
53
|
-
import { B as B4 } from "./dialog.taro-
|
|
54
|
-
import { D as D3 } from "./drag.taro-
|
|
55
|
-
import { E as E2 } from "./empty.taro-
|
|
53
|
+
import { B as B4 } from "./dialog.taro-jZ6_EUiF.js";
|
|
54
|
+
import { D as D3 } from "./drag.taro-CBNVFciU.js";
|
|
55
|
+
import { E as E2 } from "./empty.taro-ek_1_FoA.js";
|
|
56
56
|
import { I as I4 } from "./infiniteloading.taro-Bnm-LVHC.js";
|
|
57
57
|
import { L as L2 } from "./loading.taro-BfHqvYhy.js";
|
|
58
58
|
import { N as N3 } from "./noticebar.taro-cjVGemZE.js";
|
|
@@ -65,7 +65,7 @@ import { S as S12 } from "./swipe.taro-CavqgBEb.js";
|
|
|
65
65
|
import { T as T6 } from "./toast.taro-CSqE0aIO.js";
|
|
66
66
|
import { A as A3 } from "./animate.taro-D-A6ORRZ.js";
|
|
67
67
|
import { default as default3 } from "./AnimatingNumbers.js";
|
|
68
|
-
import { A as A4 } from "./audio.taro-
|
|
68
|
+
import { A as A4 } from "./audio.taro-BlniN99d.js";
|
|
69
69
|
import { A as A5 } from "./avatar.taro-Dx8hhvFI.js";
|
|
70
70
|
import { A as A6 } from "./avatargroup.taro-ScakjsY1.js";
|
|
71
71
|
import { C as C10 } from "./circleprogress.taro-BuVTD1iY.js";
|
|
@@ -88,12 +88,12 @@ import { T as T9 } from "./tour.taro-DegQCG1T.js";
|
|
|
88
88
|
import { V } from "./video.taro-Bm5bDmIG.js";
|
|
89
89
|
import { V as V2 } from "./virtuallist.taro-GLen2Ay5.js";
|
|
90
90
|
import { B as B5 } from "./barrage.taro-DEJGSmY5.js";
|
|
91
|
-
import { C as C14 } from "./card.taro-
|
|
91
|
+
import { C as C14 } from "./card.taro-CC0SLA0p.js";
|
|
92
92
|
import { T as T10 } from "./timedetail.taro-ya5JNy2L.js";
|
|
93
93
|
import { T as T11 } from "./timeselect.taro-C64SUiXS.js";
|
|
94
94
|
import { T as T12 } from "./trendarrow.taro-B2QGvXG0.js";
|
|
95
95
|
import { W } from "./watermark.taro-BL5bLewc.js";
|
|
96
|
-
import { A as A7 } from "./avatarcropper.taro-
|
|
96
|
+
import { A as A7 } from "./avatarcropper.taro-D6yiXZM5.js";
|
|
97
97
|
export {
|
|
98
98
|
A2 as ActionSheet,
|
|
99
99
|
A as Address,
|
|
@@ -426,7 +426,7 @@ const InternalPicker = (props, ref) => {
|
|
|
426
426
|
e.stopPropagation();
|
|
427
427
|
onCancel === null || onCancel === void 0 ? void 0 : onCancel();
|
|
428
428
|
setInnerVisible(false);
|
|
429
|
-
} }, locale.cancel),
|
|
429
|
+
} }, locale === null || locale === void 0 ? void 0 : locale.cancel),
|
|
430
430
|
React__default.createElement("div", { className: `${classPrefix}-title` }, title || ""),
|
|
431
431
|
React__default.createElement("span", { className: `${classPrefix}-confirm-btn`, onClick: (e) => {
|
|
432
432
|
e.stopPropagation();
|
|
@@ -3,7 +3,7 @@ import React__default, { useState, useImperativeHandle } from "react";
|
|
|
3
3
|
import classNames from "classnames";
|
|
4
4
|
import Taro, { uploadFile, getEnv, chooseMedia, chooseImage } from "@tarojs/taro";
|
|
5
5
|
import { Failure, Link, Del, Loading, Photograph } from "@nutui/icons-react-taro";
|
|
6
|
-
import { B as Button } from "./button.taro-
|
|
6
|
+
import { B as Button } from "./button.taro-KHyp8jxX.js";
|
|
7
7
|
import { u as useConfig } from "./configprovider.taro-CyU_tvNJ.js";
|
|
8
8
|
import { a as isPromise } from "./index-DeNfBlua.js";
|
|
9
9
|
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
@@ -457,8 +457,8 @@ const InternalUploader = (props, ref) => {
|
|
|
457
457
|
React__default.createElement(
|
|
458
458
|
React__default.Fragment,
|
|
459
459
|
null,
|
|
460
|
-
children || React__default.createElement(Button, { size: "small", type: "primary" }, "上传文件"),
|
|
461
|
-
Number(maxCount) > fileList.length && React__default.createElement(Button, { className: "nut-uploader-input", onClick: _chooseImage })
|
|
460
|
+
children || React__default.createElement(Button, { nativeType: "button", size: "small", type: "primary" }, "上传文件"),
|
|
461
|
+
Number(maxCount) > fileList.length && React__default.createElement(Button, { nativeType: "button", className: "nut-uploader-input", onClick: _chooseImage })
|
|
462
462
|
)
|
|
463
463
|
),
|
|
464
464
|
React__default.createElement(Preview, {
|
|
@@ -479,7 +479,7 @@ const InternalUploader = (props, ref) => {
|
|
|
479
479
|
uploadIcon,
|
|
480
480
|
React__default.createElement("span", { className: "nut-uploader-icon-tip" }, uploadLabel)
|
|
481
481
|
),
|
|
482
|
-
React__default.createElement(Button, { className: "nut-uploader-input", onClick: _chooseImage })
|
|
482
|
+
React__default.createElement(Button, { nativeType: "button", className: "nut-uploader-input", onClick: _chooseImage })
|
|
483
483
|
)
|
|
484
484
|
);
|
|
485
485
|
};
|
package/dist/locales/base.js
CHANGED
package/dist/locales/en-US.js
CHANGED
package/dist/locales/id-ID.js
CHANGED
package/dist/locales/tr-TR.js
CHANGED
package/dist/locales/zh-CN.js
CHANGED
package/dist/locales/zh-TW.js
CHANGED
package/dist/locales/zh-UG.js
CHANGED