@nutui/nutui-react-taro 2.7.0 → 2.7.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/CHANGELOG.md +23 -10
- package/dist/esm/ActionSheet.js +1 -1
- package/dist/esm/Address.js +1 -1
- package/dist/esm/Calendar.js +1 -1
- package/dist/esm/Cascader.js +1 -1
- package/dist/esm/DatePicker.js +1 -1
- package/dist/esm/ImagePreview.js +1 -1
- package/dist/esm/NumberKeyboard.js +1 -1
- package/dist/esm/Picker.js +1 -1
- package/dist/esm/Popover.js +1 -1
- package/dist/esm/Popup.js +1 -1
- package/dist/esm/ShortPassword.js +1 -1
- package/dist/esm/SideNavBar.js +1 -1
- package/dist/esm/TextArea.js +1 -1
- package/dist/esm/TimeSelect.js +1 -1
- package/dist/esm/Toast/style/index.js +1 -1
- package/dist/esm/Toast/style/style.css +1 -1
- package/dist/esm/Tour.js +1 -1
- package/dist/esm/{actionsheet.taro-CgfXnK1M.js → actionsheet.taro-kMhbV73n.js} +1 -1
- package/dist/esm/{address.taro-CAikNvuu.js → address.taro-C8CsajMW.js} +2 -2
- package/dist/esm/{calendar.taro-MkErd99P.js → calendar.taro-CM4yWFlF.js} +1 -1
- package/dist/esm/{cascader.taro-DEApf0aF.js → cascader.taro-DRE3asjI.js} +1 -1
- package/dist/esm/{datepicker.taro-DibmSueg.js → datepicker.taro-DU4OSraL.js} +1 -1
- package/dist/esm/{imagepreview.taro-C0yMREHT.js → imagepreview.taro-BE4mZT-S.js} +1 -1
- package/dist/esm/{numberkeyboard.taro-CIlStObb.js → numberkeyboard.taro-BvVO_MyJ.js} +1 -1
- package/dist/esm/nutui-react.es.js +15 -15
- package/dist/esm/{picker.taro-mCnxpFCY.js → picker.taro-CYNZBTE4.js} +1 -1
- package/dist/esm/{popover.taro-BHcidbZG.js → popover.taro-o5vHvHsm.js} +1 -1
- package/dist/esm/{popup.taro-DV32k5dP.js → popup.taro-JynjcLCn.js} +3 -3
- package/dist/esm/{shortpassword.taro-ByEtEDDl.js → shortpassword.taro-CUnXqjab.js} +1 -1
- package/dist/esm/{sidenavbar.taro-DNwoQw9u.js → sidenavbar.taro-C-AoUXLA.js} +1 -1
- package/dist/esm/{textarea.taro-EJQxRHZR.js → textarea.taro-PsaohYay.js} +2 -2
- package/dist/esm/{timeselect.taro-DE_a87DT.js → timeselect.taro-FIl91wiO.js} +1 -1
- package/dist/esm/{tour.taro-BvBZa8nq.js → tour.taro-DfOfyyte.js} +1 -1
- 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 +4 -5
- package/dist/nutui.react.umd.js +4 -5
- package/dist/packages/toast/toast.scss +1 -0
- package/dist/types/packages/infiniteloading/infiniteloading.taro.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,16 +1,29 @@
|
|
|
1
|
-
# v2.7.
|
|
2
|
-
`2024-11-
|
|
1
|
+
# v2.7.1
|
|
2
|
+
`2024-11-22`
|
|
3
|
+
|
|
4
|
+
* :bug: fix(popup): display should not trigger the scrollview to update (#2773)
|
|
5
|
+
* :bug: fix(toast): load dependent CSS (#2776)
|
|
6
|
+
* :bug: fix(Form): Form 组件文档 demo 中 Switch 组件使用问题 (#2774)
|
|
7
|
+
* :bug: fix(textarea): handle undefined placeholder explicitly (#2748)
|
|
8
|
+
* 🏡 chore: jdesign 主题 (#2703)
|
|
9
|
+
* 🏡 chore: ci optimize (#2692)
|
|
10
|
+
* 🏡 chore: ci (#2690)
|
|
11
|
+
* 📖 docs(infiniteLoading): optimize target description (#2770)
|
|
12
|
+
* 📖 docs: 官方主题入口 (#2634)
|
|
3
13
|
|
|
4
14
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
* :sparkles: feat: add plugin to replace icons (#2671)
|
|
9
|
-
* :bug: fix(tabs): clicked tabs should be entirely visible (#2685)
|
|
10
|
-
* :bug: fix(avatarcropper): multi-language support (#2666)
|
|
11
|
-
* :bug: fix: optimize vertical type syntax for divider (#2664)
|
|
12
|
-
* :bug: fix: @nutui/icons-react changed to @nutui/icons-react-taro (#2651)
|
|
15
|
+
# v2.7.0
|
|
16
|
+
|
|
17
|
+
`2024-11-01`
|
|
13
18
|
|
|
19
|
+
- :sparkles: feat: add plugin to remove rtl (#2673)
|
|
20
|
+
- :sparkles: feat: replacing the css paths imported from a specified package (#2675)
|
|
21
|
+
- :sparkles: feat(replace icon): jmapp icon (#2672)
|
|
22
|
+
- :sparkles: feat: add plugin to replace icons (#2671)
|
|
23
|
+
- :bug: fix(tabs): clicked tabs should be entirely visible (#2685)
|
|
24
|
+
- :bug: fix(avatarcropper): multi-language support (#2666)
|
|
25
|
+
- :bug: fix: optimize vertical type syntax for divider (#2664)
|
|
26
|
+
- :bug: fix: @nutui/icons-react changed to @nutui/icons-react-taro (#2651)
|
|
14
27
|
|
|
15
28
|
# v2.6.23
|
|
16
29
|
|
package/dist/esm/ActionSheet.js
CHANGED
package/dist/esm/Address.js
CHANGED
package/dist/esm/Calendar.js
CHANGED
package/dist/esm/Cascader.js
CHANGED
package/dist/esm/DatePicker.js
CHANGED
package/dist/esm/ImagePreview.js
CHANGED
package/dist/esm/Picker.js
CHANGED
package/dist/esm/Popover.js
CHANGED
package/dist/esm/Popup.js
CHANGED
package/dist/esm/SideNavBar.js
CHANGED
package/dist/esm/TextArea.js
CHANGED
package/dist/esm/TimeSelect.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import '../../Overlay/style'
|
|
2
2
|
import '../../../packages/toast/toast.scss'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@keyframes rotation{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.nut-toast{position:fixed;left:0;top:0;width:100%;height:100%;text-align:center;pointer-events:none;z-index:1300}.nut-toast-overlay-default{--nutui-overlay-bg-color: rgba(0, 0, 0, 0);--nutui-overlay-zIndex: 1300}.nut-toast-small .nut-toast-inner{font-size:var(--nutui-font-size-2, 12px)}.nut-toast-large .nut-toast-inner{font-size:var(--nutui-font-size-4, 16px)}.nut-toast-inner{display:inline-block;position:absolute;left:50%;top:var(--nutui-toast-inner-top, 50%);min-width:30%;max-width:95.7%;font-size:var(--nutui-toast-text-font-size, 14px);text-align:var(--nutui-toast-inner-text-align, center);padding:var(--nutui-toast-inner-padding, 16px 24px);word-break:break-all;background:var(--nutui-toast-inner-bg-color, var(--nutui-black-10, rgba(0, 0, 0, .7)));border-radius:var(--nutui-toast-inner-border-radius, 16px);color:var(--nutui-toast-font-color, #ffffff);transform:translate(-50%,-50%)}.nut-toast-inner.normal{word-break:normal;word-wrap:normal}.nut-toast-inner.break-word{word-break:normal;word-wrap:break-word}.nut-toast-center{top:var(--nutui-toast-inner-top, 50%)}.nut-toast-bottom{top:var(--nutui-toast-inner-top, 80%)}.nut-toast-top{top:var(--nutui-toast-inner-top, 20%)}.nut-toast-text:empty{margin-bottom:-8px}.nut-toast-title{font-size:var(--nutui-toast-title-font-size, 16px);font-weight:500}.nut-toast-title:empty{margin-bottom:-8px}.nut-toast-has-icon .nut-toast-icon-wrapper{width:100%;display:flex;align-items:center;justify-content:center;margin-bottom:8px}.nut-toast-has-icon .nut-toast-icon-wrapper .nut-icon{width:24px;height:24px}.nut-toast-loading .nut-toast-inner{display:inline-flex;flex-direction:column;justify-content:center;align-items:center}.nut-toast-loading .nut-toast-icon-wrapper{animation:rotation 2s linear infinite}.nut-toast-loading .nut-toast-icon-wrapper .nut-icon{width:24px;height:24px}[dir=rtl] .nut-toast,.nut-rtl .nut-toast{left:auto;right:0}[dir=rtl] .nut-toast-inner,.nut-rtl .nut-toast-inner{left:auto;right:50%;transform:translate(50%,-50%)}.toast-fade-enter-active,.toast-fade-leave-active{transition:opacity .3s}.toast-fade-enter-from,.toast-fade-leave-to{opacity:0}
|
|
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{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)}@keyframes rotation{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.nut-toast{position:fixed;left:0;top:0;width:100%;height:100%;text-align:center;pointer-events:none;z-index:1300}.nut-toast-overlay-default{--nutui-overlay-bg-color: rgba(0, 0, 0, 0);--nutui-overlay-zIndex: 1300}.nut-toast-small .nut-toast-inner{font-size:var(--nutui-font-size-2, 12px)}.nut-toast-large .nut-toast-inner{font-size:var(--nutui-font-size-4, 16px)}.nut-toast-inner{display:inline-block;position:absolute;left:50%;top:var(--nutui-toast-inner-top, 50%);min-width:30%;max-width:95.7%;font-size:var(--nutui-toast-text-font-size, 14px);text-align:var(--nutui-toast-inner-text-align, center);padding:var(--nutui-toast-inner-padding, 16px 24px);word-break:break-all;background:var(--nutui-toast-inner-bg-color, var(--nutui-black-10, rgba(0, 0, 0, .7)));border-radius:var(--nutui-toast-inner-border-radius, 16px);color:var(--nutui-toast-font-color, #ffffff);transform:translate(-50%,-50%)}.nut-toast-inner.normal{word-break:normal;word-wrap:normal}.nut-toast-inner.break-word{word-break:normal;word-wrap:break-word}.nut-toast-center{top:var(--nutui-toast-inner-top, 50%)}.nut-toast-bottom{top:var(--nutui-toast-inner-top, 80%)}.nut-toast-top{top:var(--nutui-toast-inner-top, 20%)}.nut-toast-text:empty{margin-bottom:-8px}.nut-toast-title{font-size:var(--nutui-toast-title-font-size, 16px);font-weight:500}.nut-toast-title:empty{margin-bottom:-8px}.nut-toast-has-icon .nut-toast-icon-wrapper{width:100%;display:flex;align-items:center;justify-content:center;margin-bottom:8px}.nut-toast-has-icon .nut-toast-icon-wrapper .nut-icon{width:24px;height:24px}.nut-toast-loading .nut-toast-inner{display:inline-flex;flex-direction:column;justify-content:center;align-items:center}.nut-toast-loading .nut-toast-icon-wrapper{animation:rotation 2s linear infinite}.nut-toast-loading .nut-toast-icon-wrapper .nut-icon{width:24px;height:24px}[dir=rtl] .nut-toast,.nut-rtl .nut-toast{left:auto;right:0}[dir=rtl] .nut-toast-inner,.nut-rtl .nut-toast-inner{left:auto;right:50%;transform:translate(50%,-50%)}.toast-fade-enter-active,.toast-fade-leave-active{transition:opacity .3s}.toast-fade-enter-from,.toast-fade-leave-to{opacity:0}
|
package/dist/esm/Tour.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as __rest } from "./tslib.es6-iWu3F_1J.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { P as Popup } from "./popup.taro-
|
|
3
|
+
import { P as Popup } from "./popup.taro-JynjcLCn.js";
|
|
4
4
|
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
5
5
|
import { m as mergeProps } from "./merge-props-2rRqFlJz.js";
|
|
6
6
|
const defaultProps = Object.assign(Object.assign({}, ComponentDefaults), { visible: false, description: "", options: [], optionKey: { name: "name", description: "description" }, cancelText: "", onCancel: () => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { _ as __rest } from "./tslib.es6-iWu3F_1J.js";
|
|
2
2
|
import React__default, { forwardRef, useState, useImperativeHandle } from "react";
|
|
3
3
|
import { Check, Location, ArrowLeft } from "@nutui/icons-react-taro";
|
|
4
|
-
import { P as Popup } from "./popup.taro-
|
|
4
|
+
import { P as Popup } from "./popup.taro-JynjcLCn.js";
|
|
5
5
|
import { ScrollView } from "@tarojs/components";
|
|
6
6
|
import { u as useConfig } from "./configprovider.taro-C3WyeHSO.js";
|
|
7
|
-
import { C as Cascader } from "./cascader.taro-
|
|
7
|
+
import { C as Cascader } from "./cascader.taro-DRE3asjI.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 = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React__default, { useRef } from "react";
|
|
2
|
-
import { P as Popup } from "./popup.taro-
|
|
2
|
+
import { P as Popup } from "./popup.taro-JynjcLCn.js";
|
|
3
3
|
import { C as CalendarItem } from "./calendaritem.taro-BGbbuJOS.js";
|
|
4
4
|
import { U as Utils } from "./date-CYwRNlGq.js";
|
|
5
5
|
import { u as useConfig } from "./configprovider.taro-C3WyeHSO.js";
|
|
@@ -3,7 +3,7 @@ import React__default, { useState, useImperativeHandle, useEffect, isValidElemen
|
|
|
3
3
|
import classNames from "classnames";
|
|
4
4
|
import { Loading, Checklist } from "@nutui/icons-react-taro";
|
|
5
5
|
import { ScrollView } from "@tarojs/components";
|
|
6
|
-
import { P as Popup } from "./popup.taro-
|
|
6
|
+
import { P as Popup } from "./popup.taro-JynjcLCn.js";
|
|
7
7
|
import { T as Tabs } from "./tabs.taro-CY1VxgF-.js";
|
|
8
8
|
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
9
9
|
import { u as usePropsValue } from "./use-props-value-SH9krhkx.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as __rest } from "./tslib.es6-iWu3F_1J.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-CYNZBTE4.js";
|
|
5
5
|
import { u as useConfig } from "./configprovider.taro-C3WyeHSO.js";
|
|
6
6
|
import { u as usePropsValue } from "./use-props-value-SH9krhkx.js";
|
|
7
7
|
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
@@ -3,7 +3,7 @@ import Taro from "@tarojs/taro";
|
|
|
3
3
|
import { Video, Image } from "@tarojs/components";
|
|
4
4
|
import classNames from "classnames";
|
|
5
5
|
import { Close } from "@nutui/icons-react-taro";
|
|
6
|
-
import { P as Popup } from "./popup.taro-
|
|
6
|
+
import { P as Popup } from "./popup.taro-JynjcLCn.js";
|
|
7
7
|
import InnerSwiper from "./Swiper.js";
|
|
8
8
|
import { S as SwiperItem } from "./swiperitem.taro-BleF1EOs.js";
|
|
9
9
|
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
@@ -3,7 +3,7 @@ import React__default, { useMemo, useState } from "react";
|
|
|
3
3
|
import classNames from "classnames";
|
|
4
4
|
import { ArrowDown } from "@nutui/icons-react-taro";
|
|
5
5
|
import { View } from "@tarojs/components";
|
|
6
|
-
import { P as Popup } from "./popup.taro-
|
|
6
|
+
import { P as Popup } from "./popup.taro-JynjcLCn.js";
|
|
7
7
|
import { u as useConfig } from "./configprovider.taro-C3WyeHSO.js";
|
|
8
8
|
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
9
9
|
const defaultProps = Object.assign(Object.assign({}, ComponentDefaults), { visible: false, rightActions: "", type: "default", custom: [], random: false, onClose: () => {
|
|
@@ -17,38 +17,38 @@ import { B as B2 } from "./backtop.taro-D3Lo3jFO.js";
|
|
|
17
17
|
import { E } from "./elevator.taro-Bsc8PcT0.js";
|
|
18
18
|
import { F } from "./fixednav.taro-BodErnYy.js";
|
|
19
19
|
import { N } from "./navbar.taro-HRFRDGii.js";
|
|
20
|
-
import { S as S4 } from "./sidenavbar.taro-
|
|
20
|
+
import { S as S4 } from "./sidenavbar.taro-C-AoUXLA.js";
|
|
21
21
|
import { S as S5 } from "./sidenavbaritem.taro-BKpzXpzG.js";
|
|
22
22
|
import { S as S6 } from "./subsidenavbar.taro-CSU3DhNq.js";
|
|
23
23
|
import { T } from "./tabbar.taro-BiQDgZQF.js";
|
|
24
24
|
import { T as T2 } from "./tabbaritem.taro-BiIVucQz.js";
|
|
25
25
|
import { T as T3 } from "./tabpane.taro-BAe86j3t.js";
|
|
26
26
|
import { T as T4 } from "./tabs.taro-CY1VxgF-.js";
|
|
27
|
-
import { A } from "./address.taro-
|
|
28
|
-
import { C as C5 } from "./calendar.taro-
|
|
27
|
+
import { A } from "./address.taro-C8CsajMW.js";
|
|
28
|
+
import { C as C5 } from "./calendar.taro-CM4yWFlF.js";
|
|
29
29
|
import { C as C6 } from "./calendaritem.taro-BGbbuJOS.js";
|
|
30
30
|
import { C as C7 } from "./calendarcard.taro-CvWyBqnr.js";
|
|
31
|
-
import { C as C8 } from "./cascader.taro-
|
|
31
|
+
import { C as C8 } from "./cascader.taro-DRE3asjI.js";
|
|
32
32
|
import { C as C9, a as a2 } from "./checkbox.taro-CgqJyhrh.js";
|
|
33
|
-
import { D as D2 } from "./datepicker.taro-
|
|
33
|
+
import { D as D2 } from "./datepicker.taro-DU4OSraL.js";
|
|
34
34
|
import { default as default2 } from "./Form.js";
|
|
35
35
|
import { F as F2 } from "./formitem.taro-CEWRz5EJ.js";
|
|
36
36
|
import { I as I2 } from "./input.taro-CA9ZpM9a.js";
|
|
37
37
|
import { I as I3 } from "./inputnumber.taro-CZourWz-.js";
|
|
38
38
|
import { M } from "./menu.taro-BmjnA_YM.js";
|
|
39
39
|
import { M as M2 } from "./menuitem.taro-DCqPC4Nu.js";
|
|
40
|
-
import { N as N2 } from "./numberkeyboard.taro-
|
|
41
|
-
import { P } from "./picker.taro-
|
|
40
|
+
import { N as N2 } from "./numberkeyboard.taro-BvVO_MyJ.js";
|
|
41
|
+
import { P } from "./picker.taro-CYNZBTE4.js";
|
|
42
42
|
import { R as R2, a as a3 } from "./radio.taro-M2in687s.js";
|
|
43
43
|
import { R as R3 } from "./range.taro-D4U2Q7Wx.js";
|
|
44
44
|
import { R as R4 } from "./rate.taro-CPGkjYYu.js";
|
|
45
45
|
import { S as S7 } from "./searchbar.taro-LaO2Xr2t.js";
|
|
46
|
-
import { S as S8 } from "./shortpassword.taro-
|
|
46
|
+
import { S as S8 } from "./shortpassword.taro-CUnXqjab.js";
|
|
47
47
|
import { S as S9 } from "./signature.taro-BW4eiGIR.js";
|
|
48
48
|
import { S as S10 } from "./switch.taro-CdBmDo18.js";
|
|
49
|
-
import { T as T5 } from "./textarea.taro-
|
|
49
|
+
import { T as T5 } from "./textarea.taro-PsaohYay.js";
|
|
50
50
|
import { U } from "./uploader.taro-CceZ5Y4t.js";
|
|
51
|
-
import { A as A2 } from "./actionsheet.taro-
|
|
51
|
+
import { A as A2 } from "./actionsheet.taro-kMhbV73n.js";
|
|
52
52
|
import { B as B3 } from "./badge.taro-B42_7q8v.js";
|
|
53
53
|
import { B as B4 } from "./dialog.taro-yjDaaRHA.js";
|
|
54
54
|
import { D as D3 } from "./drag.taro-B_sfzmtW.js";
|
|
@@ -57,8 +57,8 @@ import { I as I4 } from "./infiniteloading.taro-DzIrZvc0.js";
|
|
|
57
57
|
import { L as L2 } from "./loading.taro-n_qoNgCW.js";
|
|
58
58
|
import { N as N3 } from "./noticebar.taro-BjKDC7We.js";
|
|
59
59
|
import { N as N4 } from "./notify.taro-BVXg7xTI.js";
|
|
60
|
-
import { P as P2 } from "./popover.taro-
|
|
61
|
-
import { P as P3 } from "./popup.taro-
|
|
60
|
+
import { P as P2 } from "./popover.taro-o5vHvHsm.js";
|
|
61
|
+
import { P as P3 } from "./popup.taro-JynjcLCn.js";
|
|
62
62
|
import { P as P4 } from "./pulltorefresh.taro-BiSDwLpA.js";
|
|
63
63
|
import { S as S11 } from "./skeleton.taro-D9Vkgsyx.js";
|
|
64
64
|
import { S as S12 } from "./swipe.taro-Bsk2fnEl.js";
|
|
@@ -73,7 +73,7 @@ import { C as C11 } from "./collapse.taro-wqL6MWZr.js";
|
|
|
73
73
|
import { C as C12 } from "./collapseitem.taro-DjUx5Nx8.js";
|
|
74
74
|
import { C as C13 } from "./countdown.taro-Dyryl4pq.js";
|
|
75
75
|
import { E as E3 } from "./ellipsis.taro-fvcP85Ir.js";
|
|
76
|
-
import { I as I5 } from "./imagepreview.taro-
|
|
76
|
+
import { I as I5 } from "./imagepreview.taro-BE4mZT-S.js";
|
|
77
77
|
import { I as I6 } from "./indicator.taro-k8bxJf86.js";
|
|
78
78
|
import { P as P5 } from "./pagination.taro-BSwytb0-.js";
|
|
79
79
|
import { P as P6 } from "./price.taro-DUW-OR83.js";
|
|
@@ -84,13 +84,13 @@ import { default as default4 } from "./Swiper.js";
|
|
|
84
84
|
import { S as S15 } from "./swiperitem.taro-BleF1EOs.js";
|
|
85
85
|
import { T as T7 } from "./table.taro-1nFkDxbh.js";
|
|
86
86
|
import { T as T8 } from "./tag.taro-CFt28RLm.js";
|
|
87
|
-
import { T as T9 } from "./tour.taro-
|
|
87
|
+
import { T as T9 } from "./tour.taro-DfOfyyte.js";
|
|
88
88
|
import { V } from "./video.taro-CecLv4sr.js";
|
|
89
89
|
import { V as V2 } from "./virtuallist.taro-BlPW8ibd.js";
|
|
90
90
|
import { B as B5 } from "./barrage.taro-D2lmvcB-.js";
|
|
91
91
|
import { C as C14 } from "./card.taro-DxcIi5qH.js";
|
|
92
92
|
import { T as T10 } from "./timedetail.taro-ya5JNy2L.js";
|
|
93
|
-
import { T as T11 } from "./timeselect.taro-
|
|
93
|
+
import { T as T11 } from "./timeselect.taro-FIl91wiO.js";
|
|
94
94
|
import { T as T12 } from "./trendarrow.taro-DKx5cGIh.js";
|
|
95
95
|
import { W } from "./watermark.taro-CbO7mKFD.js";
|
|
96
96
|
import { A as A7 } from "./avatarcropper.taro-meD2sizv.js";
|
|
@@ -3,7 +3,7 @@ import React__default, { useState, useRef, useEffect, useImperativeHandle } from
|
|
|
3
3
|
import classNames from "classnames";
|
|
4
4
|
import Taro from "@tarojs/taro";
|
|
5
5
|
import { View, PickerView, PickerViewColumn } from "@tarojs/components";
|
|
6
|
-
import { P as Popup } from "./popup.taro-
|
|
6
|
+
import { P as Popup } from "./popup.taro-JynjcLCn.js";
|
|
7
7
|
import { u as useTouch } from "./use-touch-BeiLHDO9.js";
|
|
8
8
|
import { g as getRectByTaro } from "./get-rect-by-taro-THaHH07X.js";
|
|
9
9
|
import { p as passiveSupported } from "./overlay.taro-C8eXSsJH.js";
|
|
@@ -2,7 +2,7 @@ import { _ as __rest, a as __awaiter } from "./tslib.es6-iWu3F_1J.js";
|
|
|
2
2
|
import React__default, { useRef, useState, useEffect } from "react";
|
|
3
3
|
import classNames from "classnames";
|
|
4
4
|
import Taro, { createSelectorQuery } from "@tarojs/taro";
|
|
5
|
-
import { P as Popup } from "./popup.taro-
|
|
5
|
+
import { P as Popup } from "./popup.taro-JynjcLCn.js";
|
|
6
6
|
import { a as getRect, g as getRectByTaro } from "./get-rect-by-taro-THaHH07X.js";
|
|
7
7
|
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
8
8
|
import { a as useRtl } from "./configprovider.taro-C3WyeHSO.js";
|
|
@@ -122,10 +122,10 @@ const Popup = (props) => {
|
|
|
122
122
|
};
|
|
123
123
|
const renderNode = () => {
|
|
124
124
|
return React__default.createElement(
|
|
125
|
-
|
|
126
|
-
|
|
125
|
+
View,
|
|
126
|
+
{ catchMove: true },
|
|
127
127
|
overlay ? React__default.createElement(Overlay, { style: overlayStyles, className: overlayClassName, visible: innerVisible, closeOnOverlayClick, lockScroll, duration, onClick: onHandleClickOverlay }) : null,
|
|
128
|
-
|
|
128
|
+
renderPop()
|
|
129
129
|
);
|
|
130
130
|
};
|
|
131
131
|
useEffect(() => {
|
|
@@ -2,7 +2,7 @@ import { _ as __rest } from "./tslib.es6-iWu3F_1J.js";
|
|
|
2
2
|
import React__default, { useMemo, useImperativeHandle, useEffect } from "react";
|
|
3
3
|
import { Tips } from "@nutui/icons-react-taro";
|
|
4
4
|
import classNames from "classnames";
|
|
5
|
-
import { P as Popup } from "./popup.taro-
|
|
5
|
+
import { P as Popup } from "./popup.taro-JynjcLCn.js";
|
|
6
6
|
import { u as useConfig } from "./configprovider.taro-C3WyeHSO.js";
|
|
7
7
|
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
8
8
|
import { u as usePropsValue } from "./use-props-value-SH9krhkx.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as __rest } from "./tslib.es6-iWu3F_1J.js";
|
|
2
2
|
import React__default, { useState } from "react";
|
|
3
3
|
import classNames from "classnames";
|
|
4
|
-
import { P as Popup } from "./popup.taro-
|
|
4
|
+
import { P as Popup } from "./popup.taro-JynjcLCn.js";
|
|
5
5
|
import { O as OffsetContext } from "./context-4T-L2x0_.js";
|
|
6
6
|
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
7
7
|
const defaultProps = Object.assign(Object.assign({}, ComponentDefaults), { position: "left", width: "80%" });
|
|
@@ -6,7 +6,7 @@ import { Textarea } from "@tarojs/components";
|
|
|
6
6
|
import { u as useConfig } from "./configprovider.taro-C3WyeHSO.js";
|
|
7
7
|
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
8
8
|
import { u as usePropsValue } from "./use-props-value-SH9krhkx.js";
|
|
9
|
-
const defaultProps = Object.assign(Object.assign({}, ComponentDefaults), { defaultValue: "", showCount: false, maxLength: 140,
|
|
9
|
+
const defaultProps = Object.assign(Object.assign({}, ComponentDefaults), { defaultValue: "", showCount: false, maxLength: 140, readOnly: false, disabled: false, autoSize: false });
|
|
10
10
|
const TextArea = (props) => {
|
|
11
11
|
const { locale } = useConfig();
|
|
12
12
|
const _a = Object.assign(Object.assign({}, defaultProps), props), { className, value, defaultValue, showCount, maxLength, rows, placeholder, readOnly, disabled, autoSize, style, onChange, onBlur, onFocus } = _a, rest = __rest(_a, ["className", "value", "defaultValue", "showCount", "maxLength", "rows", "placeholder", "readOnly", "disabled", "autoSize", "style", "onChange", "onBlur", "onFocus"]);
|
|
@@ -75,7 +75,7 @@ const TextArea = (props) => {
|
|
|
75
75
|
onFocus: (e) => handleFocus(e),
|
|
76
76
|
autoHeight: autoSize,
|
|
77
77
|
maxlength: maxLength,
|
|
78
|
-
placeholder: placeholder
|
|
78
|
+
placeholder: placeholder === void 0 ? locale.placeholder : placeholder
|
|
79
79
|
}, rest)),
|
|
80
80
|
showCount && React__default.createElement(
|
|
81
81
|
"div",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as __rest } from "./tslib.es6-iWu3F_1J.js";
|
|
2
2
|
import React__default, { useState } from "react";
|
|
3
3
|
import classNames from "classnames";
|
|
4
|
-
import { P as Popup } from "./popup.taro-
|
|
4
|
+
import { P as Popup } from "./popup.taro-JynjcLCn.js";
|
|
5
5
|
import { T as TimeDetail } from "./timedetail.taro-ya5JNy2L.js";
|
|
6
6
|
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
7
7
|
import { u as useConfig } from "./configprovider.taro-C3WyeHSO.js";
|
|
@@ -2,7 +2,7 @@ import { _ as __rest } from "./tslib.es6-iWu3F_1J.js";
|
|
|
2
2
|
import React__default, { useState, useEffect } from "react";
|
|
3
3
|
import { Close } from "@nutui/icons-react-taro";
|
|
4
4
|
import classNames from "classnames";
|
|
5
|
-
import { P as Popover } from "./popover.taro-
|
|
5
|
+
import { P as Popover } from "./popover.taro-o5vHvHsm.js";
|
|
6
6
|
import Taro, { createSelectorQuery } from "@tarojs/taro";
|
|
7
7
|
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
8
8
|
import { useConfig } from "./ConfigProvider.js";
|
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
package/dist/nutui.react.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui-react-taro v2.7.
|
|
2
|
+
* @nutui/nutui-react-taro v2.7.1 Fri Nov 22 2024 15:43:06 GMT+0800 (Central Standard Time)
|
|
3
3
|
* (c) 2023 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -4779,7 +4779,7 @@ const Popup = (props) => {
|
|
|
4779
4779
|
);
|
|
4780
4780
|
};
|
|
4781
4781
|
const renderNode = () => {
|
|
4782
|
-
return /* @__PURE__ */ React__default.createElement(
|
|
4782
|
+
return /* @__PURE__ */ React__default.createElement(View, { catchMove: true }, overlay ? /* @__PURE__ */ React__default.createElement(
|
|
4783
4783
|
Overlay,
|
|
4784
4784
|
{
|
|
4785
4785
|
style: overlayStyles,
|
|
@@ -4790,7 +4790,7 @@ const Popup = (props) => {
|
|
|
4790
4790
|
duration,
|
|
4791
4791
|
onClick: onHandleClickOverlay
|
|
4792
4792
|
}
|
|
4793
|
-
) : null,
|
|
4793
|
+
) : null, renderPop());
|
|
4794
4794
|
};
|
|
4795
4795
|
useEffect(() => {
|
|
4796
4796
|
visible && open2();
|
|
@@ -12416,7 +12416,6 @@ const defaultProps$J = {
|
|
|
12416
12416
|
defaultValue: "",
|
|
12417
12417
|
showCount: false,
|
|
12418
12418
|
maxLength: 140,
|
|
12419
|
-
placeholder: "",
|
|
12420
12419
|
readOnly: false,
|
|
12421
12420
|
disabled: false,
|
|
12422
12421
|
autoSize: false
|
|
@@ -12508,7 +12507,7 @@ const TextArea = (props) => {
|
|
|
12508
12507
|
onFocus: (e2) => handleFocus(e2),
|
|
12509
12508
|
autoHeight: autoSize,
|
|
12510
12509
|
maxlength: maxLength,
|
|
12511
|
-
placeholder: placeholder
|
|
12510
|
+
placeholder: placeholder === void 0 ? locale.placeholder : placeholder,
|
|
12512
12511
|
...rest
|
|
12513
12512
|
}
|
|
12514
12513
|
),
|
package/dist/nutui.react.umd.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("react"), require("@tarojs/taro"), require("@tarojs/components"), require("react-dom")) : typeof define === "function" && define.amd ? define(["exports", "react", "@tarojs/taro", "@tarojs/components", "react-dom"], factory) : (global2 = typeof globalThis !== "undefined" ? globalThis : global2 || self, factory((global2.nutui = global2.nutui || {}, global2.nutui.react = {}), global2.React, global2.Taro, global2.components, global2.ReactDOM));
|
|
3
3
|
})(this, function(exports2, React, Taro, components, ReactDOM) {
|
|
4
4
|
"use strict";/*!
|
|
5
|
-
* @nutui/nutui-react-taro v2.7.
|
|
5
|
+
* @nutui/nutui-react-taro v2.7.1 Fri Nov 22 2024 15:43:06 GMT+0800 (Central Standard Time)
|
|
6
6
|
* (c) 2023 @jdf2e.
|
|
7
7
|
* Released under the MIT License.
|
|
8
8
|
*/
|
|
@@ -4795,7 +4795,7 @@
|
|
|
4795
4795
|
);
|
|
4796
4796
|
};
|
|
4797
4797
|
const renderNode = () => {
|
|
4798
|
-
return /* @__PURE__ */ React.createElement(
|
|
4798
|
+
return /* @__PURE__ */ React.createElement(components.View, { catchMove: true }, overlay ? /* @__PURE__ */ React.createElement(
|
|
4799
4799
|
Overlay,
|
|
4800
4800
|
{
|
|
4801
4801
|
style: overlayStyles,
|
|
@@ -4806,7 +4806,7 @@
|
|
|
4806
4806
|
duration,
|
|
4807
4807
|
onClick: onHandleClickOverlay
|
|
4808
4808
|
}
|
|
4809
|
-
) : null,
|
|
4809
|
+
) : null, renderPop());
|
|
4810
4810
|
};
|
|
4811
4811
|
React.useEffect(() => {
|
|
4812
4812
|
visible && open2();
|
|
@@ -12432,7 +12432,6 @@
|
|
|
12432
12432
|
defaultValue: "",
|
|
12433
12433
|
showCount: false,
|
|
12434
12434
|
maxLength: 140,
|
|
12435
|
-
placeholder: "",
|
|
12436
12435
|
readOnly: false,
|
|
12437
12436
|
disabled: false,
|
|
12438
12437
|
autoSize: false
|
|
@@ -12524,7 +12523,7 @@
|
|
|
12524
12523
|
onFocus: (e2) => handleFocus(e2),
|
|
12525
12524
|
autoHeight: autoSize,
|
|
12526
12525
|
maxlength: maxLength,
|
|
12527
|
-
placeholder: placeholder
|
|
12526
|
+
placeholder: placeholder === void 0 ? locale.placeholder : placeholder,
|
|
12528
12527
|
...rest
|
|
12529
12528
|
}
|
|
12530
12529
|
),
|