@nutui/nutui-react-taro 3.0.13-beta.0 → 3.0.13
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 +17 -0
- package/dist/cjs/packages/address/style/address.scss +2 -2
- package/dist/cjs/packages/address/style/style.css +2 -2
- package/dist/cjs/packages/address/style/style.harmony.css +2 -2
- package/dist/cjs/packages/address/style-jmapp/address.scss +2 -2
- package/dist/cjs/packages/address/style-jmapp/style.css +2 -2
- package/dist/cjs/packages/address/style-jrkf/address.scss +2 -2
- package/dist/cjs/packages/address/style-jrkf/style.css +2 -2
- package/dist/cjs/packages/avatar/avatar.js +1 -1
- package/dist/cjs/packages/button/style/button.scss +3 -3
- package/dist/cjs/packages/button/style/style.css +3 -3
- package/dist/cjs/packages/button/style/style.harmony.css +3 -3
- package/dist/cjs/packages/button/style-jmapp/button.scss +3 -3
- package/dist/cjs/packages/button/style-jmapp/style.css +3 -3
- package/dist/cjs/packages/button/style-jrkf/button.scss +3 -3
- package/dist/cjs/packages/button/style-jrkf/style.css +3 -3
- package/dist/cjs/packages/collapseitem/style/collapseitem.scss +2 -2
- package/dist/cjs/packages/collapseitem/style/style.css +2 -2
- package/dist/cjs/packages/collapseitem/style/style.harmony.css +2 -2
- package/dist/cjs/packages/collapseitem/style-jmapp/collapseitem.scss +2 -2
- package/dist/cjs/packages/collapseitem/style-jmapp/style.css +2 -2
- package/dist/cjs/packages/collapseitem/style-jrkf/collapseitem.scss +2 -2
- package/dist/cjs/packages/collapseitem/style-jrkf/style.css +2 -2
- package/dist/cjs/packages/dialog/style/dialog.scss +1 -1
- package/dist/cjs/packages/dialog/style/style.css +1 -1
- package/dist/cjs/packages/dialog/style/style.harmony.css +1 -1
- package/dist/cjs/packages/dialog/style-jmapp/dialog.scss +1 -1
- package/dist/cjs/packages/dialog/style-jmapp/style.css +1 -1
- package/dist/cjs/packages/dialog/style-jrkf/dialog.scss +1 -1
- package/dist/cjs/packages/dialog/style-jrkf/style.css +1 -1
- package/dist/cjs/packages/input/input.js +0 -3
- package/dist/cjs/packages/loading/loading.js +0 -4
- package/dist/cjs/packages/numberkeyboard/style/numberkeyboard.scss +2 -2
- package/dist/cjs/packages/numberkeyboard/style/style.css +2 -2
- package/dist/cjs/packages/numberkeyboard/style/style.harmony.css +2 -2
- package/dist/cjs/packages/numberkeyboard/style-jmapp/numberkeyboard.scss +2 -2
- package/dist/cjs/packages/numberkeyboard/style-jmapp/style.css +2 -2
- package/dist/cjs/packages/numberkeyboard/style-jrkf/numberkeyboard.scss +2 -2
- package/dist/cjs/packages/numberkeyboard/style-jrkf/style.css +2 -2
- package/dist/cjs/packages/pagination/pagination.js +3 -3
- package/dist/cjs/packages/pickerview/pickerroller.js +3 -3
- package/dist/cjs/packages/price/style/price.scss +9 -0
- package/dist/cjs/packages/price/style/style.css +9 -0
- package/dist/cjs/packages/price/style/style.harmony.css +9 -0
- package/dist/cjs/packages/price/style-jmapp/price.scss +9 -0
- package/dist/cjs/packages/price/style-jmapp/style.css +9 -0
- package/dist/cjs/packages/price/style-jrkf/price.scss +9 -0
- package/dist/cjs/packages/price/style-jrkf/style.css +9 -0
- package/dist/cjs/packages/steps/style/steps.scss +1 -1
- package/dist/cjs/packages/steps/style/style.css +1 -1
- package/dist/cjs/packages/steps/style/style.harmony.css +1 -1
- package/dist/cjs/packages/steps/style-jmapp/steps.scss +1 -1
- package/dist/cjs/packages/steps/style-jmapp/style.css +1 -1
- package/dist/cjs/packages/steps/style-jrkf/steps.scss +1 -1
- package/dist/cjs/packages/steps/style-jrkf/style.css +1 -1
- package/dist/cjs/packages/tabbaritem/style/style.css +4 -4
- package/dist/cjs/packages/tabbaritem/style/style.harmony.css +6 -6
- package/dist/cjs/packages/tabbaritem/style/tabbaritem.scss +4 -4
- package/dist/cjs/packages/tabbaritem/style-jmapp/style.css +4 -4
- package/dist/cjs/packages/tabbaritem/style-jmapp/tabbaritem.scss +4 -4
- package/dist/cjs/packages/tabbaritem/style-jrkf/style.css +4 -4
- package/dist/cjs/packages/tabbaritem/style-jrkf/tabbaritem.scss +4 -4
- package/dist/cjs/packages/tabs/style/style.css +2 -2
- package/dist/cjs/packages/tabs/style/style.harmony.css +2 -2
- package/dist/cjs/packages/tabs/style/tabs.scss +2 -2
- package/dist/cjs/packages/tabs/style-jmapp/style.css +2 -2
- package/dist/cjs/packages/tabs/style-jmapp/tabs.scss +2 -2
- package/dist/cjs/packages/tabs/style-jrkf/style.css +2 -2
- package/dist/cjs/packages/tabs/style-jrkf/tabs.scss +2 -2
- package/dist/cjs/packages/toast/style/style.css +2 -2
- package/dist/cjs/packages/toast/style/style.harmony.css +2 -2
- package/dist/cjs/packages/toast/style/toast.scss +2 -2
- package/dist/cjs/packages/toast/style-jmapp/style.css +2 -2
- package/dist/cjs/packages/toast/style-jmapp/toast.scss +2 -2
- package/dist/cjs/packages/toast/style-jrkf/style.css +2 -2
- package/dist/cjs/packages/toast/style-jrkf/toast.scss +2 -2
- package/dist/cjs/packages/uploader/style/style.css +1 -0
- package/dist/cjs/packages/uploader/style/style.harmony.css +1 -0
- package/dist/cjs/packages/uploader/style/uploader.scss +1 -0
- package/dist/cjs/packages/uploader/style-jmapp/style.css +1 -0
- package/dist/cjs/packages/uploader/style-jmapp/uploader.scss +1 -0
- package/dist/cjs/packages/uploader/style-jrkf/style.css +1 -0
- package/dist/cjs/packages/uploader/style-jrkf/uploader.scss +1 -0
- package/dist/cjs/utils/index.d.ts +0 -1
- package/dist/cjs/utils/index.js +0 -1
- package/dist/cjs/utils/taro/platform.d.ts +1 -0
- package/dist/cjs/utils/taro/platform.js +8 -0
- package/dist/cjs/utils/taro/px-transform.js +1 -1
- package/dist/es/packages/address/style/address.scss +2 -2
- package/dist/es/packages/address/style/style.css +2 -2
- package/dist/es/packages/address/style/style.harmony.css +2 -2
- package/dist/es/packages/address/style-jmapp/address.scss +2 -2
- package/dist/es/packages/address/style-jmapp/style.css +2 -2
- package/dist/es/packages/address/style-jrkf/address.scss +2 -2
- package/dist/es/packages/address/style-jrkf/style.css +2 -2
- package/dist/es/packages/avatar/avatar.js +2 -2
- package/dist/es/packages/button/style/button.scss +3 -3
- package/dist/es/packages/button/style/style.css +3 -3
- package/dist/es/packages/button/style/style.harmony.css +3 -3
- package/dist/es/packages/button/style-jmapp/button.scss +3 -3
- package/dist/es/packages/button/style-jmapp/style.css +3 -3
- package/dist/es/packages/button/style-jrkf/button.scss +3 -3
- package/dist/es/packages/button/style-jrkf/style.css +3 -3
- package/dist/es/packages/collapseitem/style/collapseitem.scss +2 -2
- package/dist/es/packages/collapseitem/style/style.css +2 -2
- package/dist/es/packages/collapseitem/style/style.harmony.css +2 -2
- package/dist/es/packages/collapseitem/style-jmapp/collapseitem.scss +2 -2
- package/dist/es/packages/collapseitem/style-jmapp/style.css +2 -2
- package/dist/es/packages/collapseitem/style-jrkf/collapseitem.scss +2 -2
- package/dist/es/packages/collapseitem/style-jrkf/style.css +2 -2
- package/dist/es/packages/dialog/style/dialog.scss +1 -1
- package/dist/es/packages/dialog/style/style.css +1 -1
- package/dist/es/packages/dialog/style/style.harmony.css +1 -1
- package/dist/es/packages/dialog/style-jmapp/dialog.scss +1 -1
- package/dist/es/packages/dialog/style-jmapp/style.css +1 -1
- package/dist/es/packages/dialog/style-jrkf/dialog.scss +1 -1
- package/dist/es/packages/dialog/style-jrkf/style.css +1 -1
- package/dist/es/packages/input/input.js +0 -3
- package/dist/es/packages/loading/loading.js +0 -4
- package/dist/es/packages/numberkeyboard/style/numberkeyboard.scss +2 -2
- package/dist/es/packages/numberkeyboard/style/style.css +2 -2
- package/dist/es/packages/numberkeyboard/style/style.harmony.css +2 -2
- package/dist/es/packages/numberkeyboard/style-jmapp/numberkeyboard.scss +2 -2
- package/dist/es/packages/numberkeyboard/style-jmapp/style.css +2 -2
- package/dist/es/packages/numberkeyboard/style-jrkf/numberkeyboard.scss +2 -2
- package/dist/es/packages/numberkeyboard/style-jrkf/style.css +2 -2
- package/dist/es/packages/pagination/pagination.js +4 -4
- package/dist/es/packages/pickerview/pickerroller.js +3 -3
- package/dist/es/packages/price/style/price.scss +9 -0
- package/dist/es/packages/price/style/style.css +9 -0
- package/dist/es/packages/price/style/style.harmony.css +9 -0
- package/dist/es/packages/price/style-jmapp/price.scss +9 -0
- package/dist/es/packages/price/style-jmapp/style.css +9 -0
- package/dist/es/packages/price/style-jrkf/price.scss +9 -0
- package/dist/es/packages/price/style-jrkf/style.css +9 -0
- package/dist/es/packages/steps/style/steps.scss +1 -1
- package/dist/es/packages/steps/style/style.css +1 -1
- package/dist/es/packages/steps/style/style.harmony.css +1 -1
- package/dist/es/packages/steps/style-jmapp/steps.scss +1 -1
- package/dist/es/packages/steps/style-jmapp/style.css +1 -1
- package/dist/es/packages/steps/style-jrkf/steps.scss +1 -1
- package/dist/es/packages/steps/style-jrkf/style.css +1 -1
- package/dist/es/packages/tabbaritem/style/style.css +4 -4
- package/dist/es/packages/tabbaritem/style/style.harmony.css +6 -6
- package/dist/es/packages/tabbaritem/style/tabbaritem.scss +4 -4
- package/dist/es/packages/tabbaritem/style-jmapp/style.css +4 -4
- package/dist/es/packages/tabbaritem/style-jmapp/tabbaritem.scss +4 -4
- package/dist/es/packages/tabbaritem/style-jrkf/style.css +4 -4
- package/dist/es/packages/tabbaritem/style-jrkf/tabbaritem.scss +4 -4
- package/dist/es/packages/tabs/style/style.css +2 -2
- package/dist/es/packages/tabs/style/style.harmony.css +2 -2
- package/dist/es/packages/tabs/style/tabs.scss +2 -2
- package/dist/es/packages/tabs/style-jmapp/style.css +2 -2
- package/dist/es/packages/tabs/style-jmapp/tabs.scss +2 -2
- package/dist/es/packages/tabs/style-jrkf/style.css +2 -2
- package/dist/es/packages/tabs/style-jrkf/tabs.scss +2 -2
- package/dist/es/packages/toast/style/style.css +2 -2
- package/dist/es/packages/toast/style/style.harmony.css +2 -2
- package/dist/es/packages/toast/style/toast.scss +2 -2
- package/dist/es/packages/toast/style-jmapp/style.css +2 -2
- package/dist/es/packages/toast/style-jmapp/toast.scss +2 -2
- package/dist/es/packages/toast/style-jrkf/style.css +2 -2
- package/dist/es/packages/toast/style-jrkf/toast.scss +2 -2
- package/dist/es/packages/uploader/style/style.css +1 -0
- package/dist/es/packages/uploader/style/style.harmony.css +1 -0
- package/dist/es/packages/uploader/style/uploader.scss +1 -0
- package/dist/es/packages/uploader/style-jmapp/style.css +1 -0
- package/dist/es/packages/uploader/style-jmapp/uploader.scss +1 -0
- package/dist/es/packages/uploader/style-jrkf/style.css +1 -0
- package/dist/es/packages/uploader/style-jrkf/uploader.scss +1 -0
- package/dist/es/types/spec/input/base.d.ts +4 -1
- package/dist/es/utils/index.d.ts +0 -1
- package/dist/es/utils/index.js +0 -1
- package/dist/es/utils/taro/platform.d.ts +1 -0
- package/dist/es/utils/taro/platform.js +5 -0
- package/dist/es/utils/taro/px-transform.js +3 -2
- package/dist/nutui.react.umd.js +14 -107
- package/dist/style-jmapp.css +1 -1
- package/dist/style-jmapp.scss +27 -27
- package/dist/style-jrkf.css +1 -1
- package/dist/style-jrkf.scss +31 -31
- package/dist/style.css +1 -1
- package/dist/style.scss +27 -27
- package/package.json +1 -1
- package/dist/cjs/utils/camel-case.d.ts +0 -1
- package/dist/cjs/utils/camel-case.js +0 -106
- package/dist/es/utils/camel-case.d.ts +0 -1
- package/dist/es/utils/camel-case.js +0 -96
package/dist/cjs/utils/index.js
CHANGED
|
@@ -5,7 +5,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
var _export_star = require("@swc/helpers/_/_export_star");
|
|
6
6
|
_export_star._(require("./taro/add-color-for-harmony"), exports);
|
|
7
7
|
_export_star._(require("./bound"), exports);
|
|
8
|
-
_export_star._(require("./camel-case"), exports);
|
|
9
8
|
_export_star._(require("./can-use-dom"), exports);
|
|
10
9
|
_export_star._(require("./clamp"), exports);
|
|
11
10
|
_export_star._(require("./date"), exports);
|
|
@@ -15,6 +15,9 @@ _export(exports, {
|
|
|
15
15
|
miniprogram: function() {
|
|
16
16
|
return miniprogram;
|
|
17
17
|
},
|
|
18
|
+
td: function() {
|
|
19
|
+
return td;
|
|
20
|
+
},
|
|
18
21
|
web: function() {
|
|
19
22
|
return web;
|
|
20
23
|
}
|
|
@@ -37,3 +40,8 @@ var miniprogram = function miniprogram() {
|
|
|
37
40
|
'mini'
|
|
38
41
|
].includes((0, _taro.getEnv)().toLowerCase());
|
|
39
42
|
};
|
|
43
|
+
var td = function td() {
|
|
44
|
+
return [
|
|
45
|
+
'dynamic'
|
|
46
|
+
].includes((0, _taro.getEnv)().toLowerCase());
|
|
47
|
+
};
|
|
@@ -12,6 +12,6 @@ var _taro = require("@tarojs/taro");
|
|
|
12
12
|
var _platform = require("./platform");
|
|
13
13
|
function pxTransform(value, radix) {
|
|
14
14
|
// @ts-ignore
|
|
15
|
-
if ((0, _platform.harmony)()) return (0, _taro.pxTransform)(value, radix || 375);
|
|
15
|
+
if ((0, _platform.harmony)() || (0, _platform.td)()) return (0, _taro.pxTransform)(value, radix || 375);
|
|
16
16
|
return "".concat(value, "px");
|
|
17
17
|
}
|
|
@@ -64,10 +64,10 @@
|
|
|
64
64
|
font-size: 12px;
|
|
65
65
|
border-radius: 4px;
|
|
66
66
|
margin-bottom: 7px;
|
|
67
|
-
/* #ifdef harmony*/
|
|
67
|
+
/* #ifdef harmony dynamic*/
|
|
68
68
|
margin-right: 6px;
|
|
69
69
|
/* #endif */
|
|
70
|
-
/* #ifndef harmony*/
|
|
70
|
+
/* #ifndef harmony dynamic*/
|
|
71
71
|
margin-right: 7px;
|
|
72
72
|
/* #endif */
|
|
73
73
|
background-color: $color-background-sunken;
|
|
@@ -61,10 +61,10 @@
|
|
|
61
61
|
font-size: 12px;
|
|
62
62
|
border-radius: 4px;
|
|
63
63
|
margin-bottom: 7px;
|
|
64
|
-
/* #ifdef harmony*/
|
|
64
|
+
/* #ifdef harmony dynamic*/
|
|
65
65
|
margin-right: 6px;
|
|
66
66
|
/* #endif */
|
|
67
|
-
/* #ifndef harmony*/
|
|
67
|
+
/* #ifndef harmony dynamic*/
|
|
68
68
|
margin-right: 7px;
|
|
69
69
|
/* #endif */
|
|
70
70
|
background-color: var(--nutui-color-background-sunken, #f7f8fc);
|
|
@@ -61,10 +61,10 @@
|
|
|
61
61
|
font-size: 12px;
|
|
62
62
|
border-radius: 4px;
|
|
63
63
|
margin-bottom: 7px;
|
|
64
|
-
/* #ifdef harmony*/
|
|
64
|
+
/* #ifdef harmony dynamic*/
|
|
65
65
|
margin-right: 6px;
|
|
66
66
|
/* #endif */
|
|
67
|
-
/* #ifndef harmony*/
|
|
67
|
+
/* #ifndef harmony dynamic*/
|
|
68
68
|
margin-right: 7px;
|
|
69
69
|
/* #endif */
|
|
70
70
|
background-color: #f7f8fc;
|
|
@@ -64,10 +64,10 @@
|
|
|
64
64
|
font-size: 12px;
|
|
65
65
|
border-radius: 4px;
|
|
66
66
|
margin-bottom: 7px;
|
|
67
|
-
/* #ifdef harmony*/
|
|
67
|
+
/* #ifdef harmony dynamic*/
|
|
68
68
|
margin-right: 6px;
|
|
69
69
|
/* #endif */
|
|
70
|
-
/* #ifndef harmony*/
|
|
70
|
+
/* #ifndef harmony dynamic*/
|
|
71
71
|
margin-right: 7px;
|
|
72
72
|
/* #endif */
|
|
73
73
|
background-color: $color-background-sunken;
|
|
@@ -61,10 +61,10 @@
|
|
|
61
61
|
font-size: 12px;
|
|
62
62
|
border-radius: 4px;
|
|
63
63
|
margin-bottom: 7px;
|
|
64
|
-
/* #ifdef harmony*/
|
|
64
|
+
/* #ifdef harmony dynamic*/
|
|
65
65
|
margin-right: 6px;
|
|
66
66
|
/* #endif */
|
|
67
|
-
/* #ifndef harmony*/
|
|
67
|
+
/* #ifndef harmony dynamic*/
|
|
68
68
|
margin-right: 7px;
|
|
69
69
|
/* #endif */
|
|
70
70
|
background-color: var(--nutui-gray-2, #f8f8f8);
|
|
@@ -64,10 +64,10 @@
|
|
|
64
64
|
font-size: 12px;
|
|
65
65
|
border-radius: 4px;
|
|
66
66
|
margin-bottom: 7px;
|
|
67
|
-
/* #ifdef harmony*/
|
|
67
|
+
/* #ifdef harmony dynamic*/
|
|
68
68
|
margin-right: 6px;
|
|
69
69
|
/* #endif */
|
|
70
|
-
/* #ifndef harmony*/
|
|
70
|
+
/* #ifndef harmony dynamic*/
|
|
71
71
|
margin-right: 7px;
|
|
72
72
|
/* #endif */
|
|
73
73
|
background-color: $color-background-sunken;
|
|
@@ -61,10 +61,10 @@
|
|
|
61
61
|
font-size: 12px;
|
|
62
62
|
border-radius: 4px;
|
|
63
63
|
margin-bottom: 7px;
|
|
64
|
-
/* #ifdef harmony*/
|
|
64
|
+
/* #ifdef harmony dynamic*/
|
|
65
65
|
margin-right: 6px;
|
|
66
66
|
/* #endif */
|
|
67
|
-
/* #ifndef harmony*/
|
|
67
|
+
/* #ifndef harmony dynamic*/
|
|
68
68
|
margin-right: 7px;
|
|
69
69
|
/* #endif */
|
|
70
70
|
background-color: var(--nutui-gray-2, #f0f0f0);
|
|
@@ -8,11 +8,11 @@ import classNames from "classnames";
|
|
|
8
8
|
import { User } from "@nutui/icons-react-taro";
|
|
9
9
|
import { AvatarContext } from "../avatargroup/context";
|
|
10
10
|
import { ComponentDefaults } from "../../utils/typings";
|
|
11
|
-
import { harmony } from "../../utils/taro/platform";
|
|
11
|
+
import { harmony, td } from "../../utils/taro/platform";
|
|
12
12
|
import AvatarGroup from "../avatargroup/index";
|
|
13
13
|
import { pxTransform } from "../../utils/taro/px-transform";
|
|
14
14
|
var defaultProps = _object_spread_props(_object_spread({}, ComponentDefaults), {
|
|
15
|
-
size: harmony() ? '40' : '',
|
|
15
|
+
size: harmony() || td() ? '40' : '',
|
|
16
16
|
shape: 'round',
|
|
17
17
|
icon: '',
|
|
18
18
|
background: '#eee',
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
position: relative;
|
|
3
3
|
display: flex;
|
|
4
4
|
display: inline-block;
|
|
5
|
-
/* #ifdef harmony*/
|
|
5
|
+
/* #ifdef harmony dynamic*/
|
|
6
6
|
width: 80px;
|
|
7
7
|
/* #endif */
|
|
8
|
-
/* #ifndef harmony*/
|
|
8
|
+
/* #ifndef harmony dynamic*/
|
|
9
9
|
width: auto;
|
|
10
10
|
/* #endif */
|
|
11
11
|
flex-direction: row;
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
flex-direction: row;
|
|
73
73
|
align-items: center;
|
|
74
74
|
justify-content: center;
|
|
75
|
-
/* #ifndef harmony */
|
|
75
|
+
/* #ifndef harmony dynamic*/
|
|
76
76
|
background: initial;
|
|
77
77
|
/* #endif */
|
|
78
78
|
.nut-icon {
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
position: relative;
|
|
7
7
|
display: flex;
|
|
8
8
|
display: inline-block;
|
|
9
|
-
/* #ifdef harmony*/
|
|
9
|
+
/* #ifdef harmony dynamic*/
|
|
10
10
|
width: 80px;
|
|
11
11
|
/* #endif */
|
|
12
|
-
/* #ifndef harmony*/
|
|
12
|
+
/* #ifndef harmony dynamic*/
|
|
13
13
|
width: auto;
|
|
14
14
|
/* #endif */
|
|
15
15
|
flex-direction: row;
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
flex-direction: row;
|
|
72
72
|
align-items: center;
|
|
73
73
|
justify-content: center;
|
|
74
|
-
/* #ifndef harmony */
|
|
74
|
+
/* #ifndef harmony dynamic*/
|
|
75
75
|
background: initial;
|
|
76
76
|
/* #endif */
|
|
77
77
|
}
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
position: relative;
|
|
7
7
|
display: flex;
|
|
8
8
|
display: inline-block;
|
|
9
|
-
/* #ifdef harmony*/
|
|
9
|
+
/* #ifdef harmony dynamic*/
|
|
10
10
|
width: 80px;
|
|
11
11
|
/* #endif */
|
|
12
|
-
/* #ifndef harmony*/
|
|
12
|
+
/* #ifndef harmony dynamic*/
|
|
13
13
|
width: auto;
|
|
14
14
|
/* #endif */
|
|
15
15
|
flex-direction: row;
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
flex-direction: row;
|
|
72
72
|
align-items: center;
|
|
73
73
|
justify-content: center;
|
|
74
|
-
/* #ifndef harmony */
|
|
74
|
+
/* #ifndef harmony dynamic*/
|
|
75
75
|
background: initial;
|
|
76
76
|
/* #endif */
|
|
77
77
|
}
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
position: relative;
|
|
3
3
|
display: flex;
|
|
4
4
|
display: inline-block;
|
|
5
|
-
/* #ifdef harmony*/
|
|
5
|
+
/* #ifdef harmony dynamic*/
|
|
6
6
|
width: 80px;
|
|
7
7
|
/* #endif */
|
|
8
|
-
/* #ifndef harmony*/
|
|
8
|
+
/* #ifndef harmony dynamic*/
|
|
9
9
|
width: auto;
|
|
10
10
|
/* #endif */
|
|
11
11
|
flex-direction: row;
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
flex-direction: row;
|
|
73
73
|
align-items: center;
|
|
74
74
|
justify-content: center;
|
|
75
|
-
/* #ifndef harmony */
|
|
75
|
+
/* #ifndef harmony dynamic*/
|
|
76
76
|
background: initial;
|
|
77
77
|
/* #endif */
|
|
78
78
|
.nut-icon {
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
position: relative;
|
|
7
7
|
display: flex;
|
|
8
8
|
display: inline-block;
|
|
9
|
-
/* #ifdef harmony*/
|
|
9
|
+
/* #ifdef harmony dynamic*/
|
|
10
10
|
width: 80px;
|
|
11
11
|
/* #endif */
|
|
12
|
-
/* #ifndef harmony*/
|
|
12
|
+
/* #ifndef harmony dynamic*/
|
|
13
13
|
width: auto;
|
|
14
14
|
/* #endif */
|
|
15
15
|
flex-direction: row;
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
flex-direction: row;
|
|
72
72
|
align-items: center;
|
|
73
73
|
justify-content: center;
|
|
74
|
-
/* #ifndef harmony */
|
|
74
|
+
/* #ifndef harmony dynamic*/
|
|
75
75
|
background: initial;
|
|
76
76
|
/* #endif */
|
|
77
77
|
}
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
position: relative;
|
|
3
3
|
display: flex;
|
|
4
4
|
display: inline-block;
|
|
5
|
-
/* #ifdef harmony*/
|
|
5
|
+
/* #ifdef harmony dynamic*/
|
|
6
6
|
width: 80px;
|
|
7
7
|
/* #endif */
|
|
8
|
-
/* #ifndef harmony*/
|
|
8
|
+
/* #ifndef harmony dynamic*/
|
|
9
9
|
width: auto;
|
|
10
10
|
/* #endif */
|
|
11
11
|
flex-direction: row;
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
flex-direction: row;
|
|
73
73
|
align-items: center;
|
|
74
74
|
justify-content: center;
|
|
75
|
-
/* #ifndef harmony */
|
|
75
|
+
/* #ifndef harmony dynamic*/
|
|
76
76
|
background: initial;
|
|
77
77
|
/* #endif */
|
|
78
78
|
.nut-icon {
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
position: relative;
|
|
7
7
|
display: flex;
|
|
8
8
|
display: inline-block;
|
|
9
|
-
/* #ifdef harmony*/
|
|
9
|
+
/* #ifdef harmony dynamic*/
|
|
10
10
|
width: 80px;
|
|
11
11
|
/* #endif */
|
|
12
|
-
/* #ifndef harmony*/
|
|
12
|
+
/* #ifndef harmony dynamic*/
|
|
13
13
|
width: auto;
|
|
14
14
|
/* #endif */
|
|
15
15
|
flex-direction: row;
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
flex-direction: row;
|
|
72
72
|
align-items: center;
|
|
73
73
|
justify-content: center;
|
|
74
|
-
/* #ifndef harmony */
|
|
74
|
+
/* #ifndef harmony dynamic*/
|
|
75
75
|
background: initial;
|
|
76
76
|
/* #endif */
|
|
77
77
|
}
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
left: 16px;
|
|
39
39
|
bottom: 0;
|
|
40
40
|
border-bottom: $collapse-item-header-border-bottom;
|
|
41
|
-
/* #ifdef harmony */
|
|
41
|
+
/* #ifdef harmony dynamic*/
|
|
42
42
|
transform: scale(1, 1);
|
|
43
43
|
/* #endif */
|
|
44
|
-
/* #ifndef harmony */
|
|
44
|
+
/* #ifndef harmony dynamic*/
|
|
45
45
|
transform: scale(1, 0.5);
|
|
46
46
|
/* #endif */
|
|
47
47
|
}
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
left: 16px;
|
|
41
41
|
bottom: 0;
|
|
42
42
|
border-bottom: var(--nutui-collapse-item-header-border-bottom, 1px solid var(--nutui-color-border, rgba(0, 0, 0, 0.06)));
|
|
43
|
-
/* #ifdef harmony */
|
|
43
|
+
/* #ifdef harmony dynamic*/
|
|
44
44
|
transform: scale(1, 1);
|
|
45
45
|
/* #endif */
|
|
46
|
-
/* #ifndef harmony */
|
|
46
|
+
/* #ifndef harmony dynamic*/
|
|
47
47
|
transform: scale(1, 0.5);
|
|
48
48
|
/* #endif */
|
|
49
49
|
}
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
left: 16px;
|
|
41
41
|
bottom: 0;
|
|
42
42
|
border-bottom: 1px solid rgba(0, 0, 0, 0.06);
|
|
43
|
-
/* #ifdef harmony */
|
|
43
|
+
/* #ifdef harmony dynamic*/
|
|
44
44
|
transform: scale(1, 1);
|
|
45
45
|
/* #endif */
|
|
46
|
-
/* #ifndef harmony */
|
|
46
|
+
/* #ifndef harmony dynamic*/
|
|
47
47
|
transform: scale(1, 0.5);
|
|
48
48
|
/* #endif */
|
|
49
49
|
}
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
left: 16px;
|
|
39
39
|
bottom: 0;
|
|
40
40
|
border-bottom: $collapse-item-header-border-bottom;
|
|
41
|
-
/* #ifdef harmony */
|
|
41
|
+
/* #ifdef harmony dynamic*/
|
|
42
42
|
transform: scale(1, 1);
|
|
43
43
|
/* #endif */
|
|
44
|
-
/* #ifndef harmony */
|
|
44
|
+
/* #ifndef harmony dynamic*/
|
|
45
45
|
transform: scale(1, 0.5);
|
|
46
46
|
/* #endif */
|
|
47
47
|
}
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
left: 16px;
|
|
41
41
|
bottom: 0;
|
|
42
42
|
border-bottom: var(--nutui-collapse-item-header-border-bottom, none);
|
|
43
|
-
/* #ifdef harmony */
|
|
43
|
+
/* #ifdef harmony dynamic*/
|
|
44
44
|
transform: scale(1, 1);
|
|
45
45
|
/* #endif */
|
|
46
|
-
/* #ifndef harmony */
|
|
46
|
+
/* #ifndef harmony dynamic*/
|
|
47
47
|
transform: scale(1, 0.5);
|
|
48
48
|
/* #endif */
|
|
49
49
|
}
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
left: 16px;
|
|
39
39
|
bottom: 0;
|
|
40
40
|
border-bottom: $collapse-item-header-border-bottom;
|
|
41
|
-
/* #ifdef harmony */
|
|
41
|
+
/* #ifdef harmony dynamic*/
|
|
42
42
|
transform: scale(1, 1);
|
|
43
43
|
/* #endif */
|
|
44
|
-
/* #ifndef harmony */
|
|
44
|
+
/* #ifndef harmony dynamic*/
|
|
45
45
|
transform: scale(1, 0.5);
|
|
46
46
|
/* #endif */
|
|
47
47
|
}
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
left: 16px;
|
|
41
41
|
bottom: 0;
|
|
42
42
|
border-bottom: var(--nutui-collapse-item-header-border-bottom, none);
|
|
43
|
-
/* #ifdef harmony */
|
|
43
|
+
/* #ifdef harmony dynamic*/
|
|
44
44
|
transform: scale(1, 1);
|
|
45
45
|
/* #endif */
|
|
46
|
-
/* #ifndef harmony */
|
|
46
|
+
/* #ifndef harmony dynamic*/
|
|
47
47
|
transform: scale(1, 0.5);
|
|
48
48
|
/* #endif */
|
|
49
49
|
}
|
|
@@ -77,9 +77,6 @@ export var Input = /*#__PURE__*/ forwardRef(function(props, ref) {
|
|
|
77
77
|
var _inputRef_current;
|
|
78
78
|
(_inputRef_current = inputRef.current) === null || _inputRef_current === void 0 ? void 0 : _inputRef_current.blur();
|
|
79
79
|
},
|
|
80
|
-
get: function() {
|
|
81
|
-
return inputRef.current;
|
|
82
|
-
},
|
|
83
80
|
get nativeElement () {
|
|
84
81
|
return inputRef.current;
|
|
85
82
|
}
|
|
@@ -16,10 +16,6 @@ var defaultProps = _object_spread_props(_object_spread({}, ComponentDefaults), {
|
|
|
16
16
|
type: 'circular',
|
|
17
17
|
direction: 'horizontal'
|
|
18
18
|
});
|
|
19
|
-
var defaultLottieProps = {
|
|
20
|
-
loop: true,
|
|
21
|
-
autoplay: true
|
|
22
|
-
};
|
|
23
19
|
export var Loading = /*#__PURE__*/ React.forwardRef(function(props, ref) {
|
|
24
20
|
var _ref = _object_spread({}, defaultProps, props), className = _ref.className, style = _ref.style, children = _ref.children, direction = _ref.direction, icon = _ref.icon, rest = _object_without_properties(_ref, [
|
|
25
21
|
"className",
|
|
@@ -48,10 +48,10 @@
|
|
|
48
48
|
&-wrapper {
|
|
49
49
|
position: relative;
|
|
50
50
|
flex: 1;
|
|
51
|
-
/* #ifdef harmony */
|
|
51
|
+
/* #ifdef harmony dynamic*/
|
|
52
52
|
width: 33%;
|
|
53
53
|
/* #endif */
|
|
54
|
-
/* #ifndef harmony */
|
|
54
|
+
/* #ifndef harmony dynamic*/
|
|
55
55
|
flex-basis: 33%;
|
|
56
56
|
/* #endif */
|
|
57
57
|
box-sizing: border-box;
|
|
@@ -48,10 +48,10 @@
|
|
|
48
48
|
.nut-numberkeyboard-body-wrapper {
|
|
49
49
|
position: relative;
|
|
50
50
|
flex: 1;
|
|
51
|
-
/* #ifdef harmony */
|
|
51
|
+
/* #ifdef harmony dynamic*/
|
|
52
52
|
width: 33%;
|
|
53
53
|
/* #endif */
|
|
54
|
-
/* #ifndef harmony */
|
|
54
|
+
/* #ifndef harmony dynamic*/
|
|
55
55
|
flex-basis: 33%;
|
|
56
56
|
/* #endif */
|
|
57
57
|
box-sizing: border-box;
|
|
@@ -48,10 +48,10 @@
|
|
|
48
48
|
.nut-numberkeyboard-body-wrapper {
|
|
49
49
|
position: relative;
|
|
50
50
|
flex: 1;
|
|
51
|
-
/* #ifdef harmony */
|
|
51
|
+
/* #ifdef harmony dynamic*/
|
|
52
52
|
width: 33%;
|
|
53
53
|
/* #endif */
|
|
54
|
-
/* #ifndef harmony */
|
|
54
|
+
/* #ifndef harmony dynamic*/
|
|
55
55
|
flex-basis: 33%;
|
|
56
56
|
/* #endif */
|
|
57
57
|
box-sizing: border-box;
|
|
@@ -48,10 +48,10 @@
|
|
|
48
48
|
&-wrapper {
|
|
49
49
|
position: relative;
|
|
50
50
|
flex: 1;
|
|
51
|
-
/* #ifdef harmony */
|
|
51
|
+
/* #ifdef harmony dynamic*/
|
|
52
52
|
width: 33%;
|
|
53
53
|
/* #endif */
|
|
54
|
-
/* #ifndef harmony */
|
|
54
|
+
/* #ifndef harmony dynamic*/
|
|
55
55
|
flex-basis: 33%;
|
|
56
56
|
/* #endif */
|
|
57
57
|
box-sizing: border-box;
|
|
@@ -48,10 +48,10 @@
|
|
|
48
48
|
.nut-numberkeyboard-body-wrapper {
|
|
49
49
|
position: relative;
|
|
50
50
|
flex: 1;
|
|
51
|
-
/* #ifdef harmony */
|
|
51
|
+
/* #ifdef harmony dynamic*/
|
|
52
52
|
width: 33%;
|
|
53
53
|
/* #endif */
|
|
54
|
-
/* #ifndef harmony */
|
|
54
|
+
/* #ifndef harmony dynamic*/
|
|
55
55
|
flex-basis: 33%;
|
|
56
56
|
/* #endif */
|
|
57
57
|
box-sizing: border-box;
|
|
@@ -48,10 +48,10 @@
|
|
|
48
48
|
&-wrapper {
|
|
49
49
|
position: relative;
|
|
50
50
|
flex: 1;
|
|
51
|
-
/* #ifdef harmony */
|
|
51
|
+
/* #ifdef harmony dynamic*/
|
|
52
52
|
width: 33%;
|
|
53
53
|
/* #endif */
|
|
54
|
-
/* #ifndef harmony */
|
|
54
|
+
/* #ifndef harmony dynamic*/
|
|
55
55
|
flex-basis: 33%;
|
|
56
56
|
/* #endif */
|
|
57
57
|
box-sizing: border-box;
|
|
@@ -48,10 +48,10 @@
|
|
|
48
48
|
.nut-numberkeyboard-body-wrapper {
|
|
49
49
|
position: relative;
|
|
50
50
|
flex: 1;
|
|
51
|
-
/* #ifdef harmony */
|
|
51
|
+
/* #ifdef harmony dynamic*/
|
|
52
52
|
width: 33%;
|
|
53
53
|
/* #endif */
|
|
54
|
-
/* #ifndef harmony */
|
|
54
|
+
/* #ifndef harmony dynamic*/
|
|
55
55
|
flex-basis: 33%;
|
|
56
56
|
/* #endif */
|
|
57
57
|
box-sizing: border-box;
|
|
@@ -5,7 +5,7 @@ import { _ as _object_without_properties } from "@swc/helpers/_/_object_without_
|
|
|
5
5
|
import { _ as _sliced_to_array } from "@swc/helpers/_/_sliced_to_array";
|
|
6
6
|
import React from "react";
|
|
7
7
|
import classNames from "classnames";
|
|
8
|
-
import { View } from "@tarojs/components";
|
|
8
|
+
import { View, Text } from "@tarojs/components";
|
|
9
9
|
import { useConfig } from "../configprovider/index";
|
|
10
10
|
import { usePropsValue } from "../../hooks/use-props-value";
|
|
11
11
|
import { ComponentDefaults } from "../../utils/typings";
|
|
@@ -96,11 +96,11 @@ export var Pagination = function(props) {
|
|
|
96
96
|
}
|
|
97
97
|
}, addColorForHarmony(next || locale.pagination.next, current >= pageCount ? '#c2c4cc' : '#ff0f23'))), mode === 'lite' && /*#__PURE__*/ React.createElement(View, {
|
|
98
98
|
className: "".concat(classPrefix, "-lite")
|
|
99
|
-
}, /*#__PURE__*/ React.createElement(
|
|
99
|
+
}, /*#__PURE__*/ React.createElement(Text, {
|
|
100
100
|
className: "".concat(classPrefix, "-lite-active")
|
|
101
|
-
}, current), /*#__PURE__*/ React.createElement(
|
|
101
|
+
}, current), /*#__PURE__*/ React.createElement(Text, {
|
|
102
102
|
className: "".concat(classPrefix, "-lite-spliterator")
|
|
103
|
-
}, "/"), /*#__PURE__*/ React.createElement(
|
|
103
|
+
}, "/"), /*#__PURE__*/ React.createElement(Text, {
|
|
104
104
|
className: "".concat(classPrefix, "-lite-default")
|
|
105
105
|
}, pageCount)));
|
|
106
106
|
};
|