@nutui/nutui-react 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.
Files changed (149) hide show
  1. package/dist/cjs/packages/address/style/address.scss +2 -2
  2. package/dist/cjs/packages/address/style/style.css +2 -2
  3. package/dist/cjs/packages/address/style-jmapp/address.scss +2 -2
  4. package/dist/cjs/packages/address/style-jmapp/style.css +2 -2
  5. package/dist/cjs/packages/address/style-jrkf/address.scss +2 -2
  6. package/dist/cjs/packages/address/style-jrkf/style.css +2 -2
  7. package/dist/cjs/packages/button/style/button.scss +3 -3
  8. package/dist/cjs/packages/button/style/style.css +3 -3
  9. package/dist/cjs/packages/button/style-jmapp/button.scss +3 -3
  10. package/dist/cjs/packages/button/style-jmapp/style.css +3 -3
  11. package/dist/cjs/packages/button/style-jrkf/button.scss +3 -3
  12. package/dist/cjs/packages/button/style-jrkf/style.css +3 -3
  13. package/dist/cjs/packages/collapseitem/style/collapseitem.scss +2 -2
  14. package/dist/cjs/packages/collapseitem/style/style.css +2 -2
  15. package/dist/cjs/packages/collapseitem/style-jmapp/collapseitem.scss +2 -2
  16. package/dist/cjs/packages/collapseitem/style-jmapp/style.css +2 -2
  17. package/dist/cjs/packages/collapseitem/style-jrkf/collapseitem.scss +2 -2
  18. package/dist/cjs/packages/collapseitem/style-jrkf/style.css +2 -2
  19. package/dist/cjs/packages/dialog/style/dialog.scss +1 -1
  20. package/dist/cjs/packages/dialog/style/style.css +1 -1
  21. package/dist/cjs/packages/dialog/style-jmapp/dialog.scss +1 -1
  22. package/dist/cjs/packages/dialog/style-jmapp/style.css +1 -1
  23. package/dist/cjs/packages/dialog/style-jrkf/dialog.scss +1 -1
  24. package/dist/cjs/packages/dialog/style-jrkf/style.css +1 -1
  25. package/dist/cjs/packages/input/input.js +0 -3
  26. package/dist/cjs/packages/loading/loading.js +0 -4
  27. package/dist/cjs/packages/numberkeyboard/style/numberkeyboard.scss +2 -2
  28. package/dist/cjs/packages/numberkeyboard/style/style.css +2 -2
  29. package/dist/cjs/packages/numberkeyboard/style-jmapp/numberkeyboard.scss +2 -2
  30. package/dist/cjs/packages/numberkeyboard/style-jmapp/style.css +2 -2
  31. package/dist/cjs/packages/numberkeyboard/style-jrkf/numberkeyboard.scss +2 -2
  32. package/dist/cjs/packages/numberkeyboard/style-jrkf/style.css +2 -2
  33. package/dist/cjs/packages/steps/style/steps.scss +1 -1
  34. package/dist/cjs/packages/steps/style/style.css +1 -1
  35. package/dist/cjs/packages/steps/style-jmapp/steps.scss +1 -1
  36. package/dist/cjs/packages/steps/style-jmapp/style.css +1 -1
  37. package/dist/cjs/packages/steps/style-jrkf/steps.scss +1 -1
  38. package/dist/cjs/packages/steps/style-jrkf/style.css +1 -1
  39. package/dist/cjs/packages/tabbaritem/style/style.css +4 -4
  40. package/dist/cjs/packages/tabbaritem/style/tabbaritem.scss +4 -4
  41. package/dist/cjs/packages/tabbaritem/style-jmapp/style.css +4 -4
  42. package/dist/cjs/packages/tabbaritem/style-jmapp/tabbaritem.scss +4 -4
  43. package/dist/cjs/packages/tabbaritem/style-jrkf/style.css +4 -4
  44. package/dist/cjs/packages/tabbaritem/style-jrkf/tabbaritem.scss +4 -4
  45. package/dist/cjs/packages/tabs/style/style.css +2 -2
  46. package/dist/cjs/packages/tabs/style/tabs.scss +2 -2
  47. package/dist/cjs/packages/tabs/style-jmapp/style.css +2 -2
  48. package/dist/cjs/packages/tabs/style-jmapp/tabs.scss +2 -2
  49. package/dist/cjs/packages/tabs/style-jrkf/style.css +2 -2
  50. package/dist/cjs/packages/tabs/style-jrkf/tabs.scss +2 -2
  51. package/dist/cjs/packages/toast/style/style.css +2 -2
  52. package/dist/cjs/packages/toast/style/toast.scss +2 -2
  53. package/dist/cjs/packages/toast/style-jmapp/style.css +2 -2
  54. package/dist/cjs/packages/toast/style-jmapp/toast.scss +2 -2
  55. package/dist/cjs/packages/toast/style-jrkf/style.css +2 -2
  56. package/dist/cjs/packages/toast/style-jrkf/toast.scss +2 -2
  57. package/dist/cjs/packages/uploader/style/style.css +1 -0
  58. package/dist/cjs/packages/uploader/style/uploader.scss +1 -0
  59. package/dist/cjs/packages/uploader/style-jmapp/style.css +1 -0
  60. package/dist/cjs/packages/uploader/style-jmapp/uploader.scss +1 -0
  61. package/dist/cjs/packages/uploader/style-jrkf/style.css +1 -0
  62. package/dist/cjs/packages/uploader/style-jrkf/uploader.scss +1 -0
  63. package/dist/cjs/utils/index.d.ts +0 -1
  64. package/dist/cjs/utils/index.js +0 -1
  65. package/dist/cjs/utils/index.taro.js +0 -1
  66. package/dist/cjs/utils/taro/platform.d.ts +1 -0
  67. package/dist/cjs/utils/taro/platform.js +8 -0
  68. package/dist/cjs/utils/taro/px-transform.js +1 -1
  69. package/dist/es/packages/address/style/address.scss +2 -2
  70. package/dist/es/packages/address/style/style.css +2 -2
  71. package/dist/es/packages/address/style-jmapp/address.scss +2 -2
  72. package/dist/es/packages/address/style-jmapp/style.css +2 -2
  73. package/dist/es/packages/address/style-jrkf/address.scss +2 -2
  74. package/dist/es/packages/address/style-jrkf/style.css +2 -2
  75. package/dist/es/packages/button/style/button.scss +3 -3
  76. package/dist/es/packages/button/style/style.css +3 -3
  77. package/dist/es/packages/button/style-jmapp/button.scss +3 -3
  78. package/dist/es/packages/button/style-jmapp/style.css +3 -3
  79. package/dist/es/packages/button/style-jrkf/button.scss +3 -3
  80. package/dist/es/packages/button/style-jrkf/style.css +3 -3
  81. package/dist/es/packages/collapseitem/style/collapseitem.scss +2 -2
  82. package/dist/es/packages/collapseitem/style/style.css +2 -2
  83. package/dist/es/packages/collapseitem/style-jmapp/collapseitem.scss +2 -2
  84. package/dist/es/packages/collapseitem/style-jmapp/style.css +2 -2
  85. package/dist/es/packages/collapseitem/style-jrkf/collapseitem.scss +2 -2
  86. package/dist/es/packages/collapseitem/style-jrkf/style.css +2 -2
  87. package/dist/es/packages/dialog/style/dialog.scss +1 -1
  88. package/dist/es/packages/dialog/style/style.css +1 -1
  89. package/dist/es/packages/dialog/style-jmapp/dialog.scss +1 -1
  90. package/dist/es/packages/dialog/style-jmapp/style.css +1 -1
  91. package/dist/es/packages/dialog/style-jrkf/dialog.scss +1 -1
  92. package/dist/es/packages/dialog/style-jrkf/style.css +1 -1
  93. package/dist/es/packages/input/input.js +0 -3
  94. package/dist/es/packages/loading/loading.js +0 -4
  95. package/dist/es/packages/numberkeyboard/style/numberkeyboard.scss +2 -2
  96. package/dist/es/packages/numberkeyboard/style/style.css +2 -2
  97. package/dist/es/packages/numberkeyboard/style-jmapp/numberkeyboard.scss +2 -2
  98. package/dist/es/packages/numberkeyboard/style-jmapp/style.css +2 -2
  99. package/dist/es/packages/numberkeyboard/style-jrkf/numberkeyboard.scss +2 -2
  100. package/dist/es/packages/numberkeyboard/style-jrkf/style.css +2 -2
  101. package/dist/es/packages/steps/style/steps.scss +1 -1
  102. package/dist/es/packages/steps/style/style.css +1 -1
  103. package/dist/es/packages/steps/style-jmapp/steps.scss +1 -1
  104. package/dist/es/packages/steps/style-jmapp/style.css +1 -1
  105. package/dist/es/packages/steps/style-jrkf/steps.scss +1 -1
  106. package/dist/es/packages/steps/style-jrkf/style.css +1 -1
  107. package/dist/es/packages/tabbaritem/style/style.css +4 -4
  108. package/dist/es/packages/tabbaritem/style/tabbaritem.scss +4 -4
  109. package/dist/es/packages/tabbaritem/style-jmapp/style.css +4 -4
  110. package/dist/es/packages/tabbaritem/style-jmapp/tabbaritem.scss +4 -4
  111. package/dist/es/packages/tabbaritem/style-jrkf/style.css +4 -4
  112. package/dist/es/packages/tabbaritem/style-jrkf/tabbaritem.scss +4 -4
  113. package/dist/es/packages/tabs/style/style.css +2 -2
  114. package/dist/es/packages/tabs/style/tabs.scss +2 -2
  115. package/dist/es/packages/tabs/style-jmapp/style.css +2 -2
  116. package/dist/es/packages/tabs/style-jmapp/tabs.scss +2 -2
  117. package/dist/es/packages/tabs/style-jrkf/style.css +2 -2
  118. package/dist/es/packages/tabs/style-jrkf/tabs.scss +2 -2
  119. package/dist/es/packages/toast/style/style.css +2 -2
  120. package/dist/es/packages/toast/style/toast.scss +2 -2
  121. package/dist/es/packages/toast/style-jmapp/style.css +2 -2
  122. package/dist/es/packages/toast/style-jmapp/toast.scss +2 -2
  123. package/dist/es/packages/toast/style-jrkf/style.css +2 -2
  124. package/dist/es/packages/toast/style-jrkf/toast.scss +2 -2
  125. package/dist/es/packages/uploader/style/style.css +1 -0
  126. package/dist/es/packages/uploader/style/uploader.scss +1 -0
  127. package/dist/es/packages/uploader/style-jmapp/style.css +1 -0
  128. package/dist/es/packages/uploader/style-jmapp/uploader.scss +1 -0
  129. package/dist/es/packages/uploader/style-jrkf/style.css +1 -0
  130. package/dist/es/packages/uploader/style-jrkf/uploader.scss +1 -0
  131. package/dist/es/types/spec/input/base.d.ts +4 -1
  132. package/dist/es/utils/index.d.ts +0 -1
  133. package/dist/es/utils/index.js +0 -1
  134. package/dist/es/utils/index.taro.js +0 -1
  135. package/dist/es/utils/taro/platform.d.ts +1 -0
  136. package/dist/es/utils/taro/platform.js +5 -0
  137. package/dist/es/utils/taro/px-transform.js +3 -2
  138. package/dist/nutui.react.umd.js +0 -99
  139. package/dist/style-jmapp.css +1 -1
  140. package/dist/style-jmapp.scss +38 -38
  141. package/dist/style-jrkf.css +1 -1
  142. package/dist/style-jrkf.scss +27 -27
  143. package/dist/style.css +1 -1
  144. package/dist/style.scss +31 -31
  145. package/package.json +1 -1
  146. package/dist/cjs/utils/camel-case.d.ts +0 -1
  147. package/dist/cjs/utils/camel-case.js +0 -106
  148. package/dist/es/utils/camel-case.d.ts +0 -1
  149. package/dist/es/utils/camel-case.js +0 -96
@@ -8,7 +8,7 @@
8
8
  align-items: center;
9
9
  width: var(--nutui-dialog-width, 295px);
10
10
  min-width: var(--nutui-dialog-min-width, 240px);
11
- /* #ifndef harmony*/
11
+ /* #ifndef harmony dynamic*/
12
12
  max-height: 67%;
13
13
  /* #endif */
14
14
  min-height: var(--nutui-dialog-min-height, 124px);
@@ -6,7 +6,7 @@
6
6
  align-items: center;
7
7
  width: $dialog-width;
8
8
  min-width: $dialog-min-width;
9
- /* #ifndef harmony*/
9
+ /* #ifndef harmony dynamic*/
10
10
  max-height: 67%;
11
11
  /* #endif */
12
12
  min-height: $dialog-min-height;
@@ -8,7 +8,7 @@
8
8
  align-items: center;
9
9
  width: var(--nutui-dialog-width, 295px);
10
10
  min-width: var(--nutui-dialog-min-width, 240px);
11
- /* #ifndef harmony*/
11
+ /* #ifndef harmony dynamic*/
12
12
  max-height: 67%;
13
13
  /* #endif */
14
14
  min-height: var(--nutui-dialog-min-height, 60px);
@@ -6,7 +6,7 @@
6
6
  align-items: center;
7
7
  width: $dialog-width;
8
8
  min-width: $dialog-min-width;
9
- /* #ifndef harmony*/
9
+ /* #ifndef harmony dynamic*/
10
10
  max-height: 67%;
11
11
  /* #endif */
12
12
  min-height: $dialog-min-height;
@@ -8,7 +8,7 @@
8
8
  align-items: center;
9
9
  width: var(--nutui-dialog-width, 295px);
10
10
  min-width: var(--nutui-dialog-min-width, 240px);
11
- /* #ifndef harmony*/
11
+ /* #ifndef harmony dynamic*/
12
12
  max-height: 67%;
13
13
  /* #endif */
14
14
  min-height: var(--nutui-dialog-min-height, 60px);
@@ -75,9 +75,6 @@ export var Input = /*#__PURE__*/ forwardRef(function(props, ref) {
75
75
  var _inputRef_current;
76
76
  return (_inputRef_current = inputRef.current) === null || _inputRef_current === void 0 ? void 0 : _inputRef_current.blur();
77
77
  },
78
- get: function() {
79
- return inputRef.current;
80
- },
81
78
  get nativeElement () {
82
79
  return inputRef.current;
83
80
  }
@@ -16,10 +16,6 @@ var defaultProps = _object_spread_props(_object_spread({}, ComponentDefaults), {
16
16
  direction: 'horizontal',
17
17
  lottieProps: {}
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
  &-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;
@@ -179,7 +179,7 @@
179
179
 
180
180
  // 纵向滚动条
181
181
  &-vertical {
182
- /* #ifdef harmony*/
182
+ /* #ifdef harmony dynamic*/
183
183
  flex: 1;
184
184
  min-width: 0;
185
185
  /* #endif */
@@ -117,7 +117,7 @@
117
117
  height: var(--nutui-steps-base-head-text-size, 12px);
118
118
  }
119
119
  .nut-steps-vertical {
120
- /* #ifdef harmony*/
120
+ /* #ifdef harmony dynamic*/
121
121
  flex: 1;
122
122
  min-width: 0;
123
123
  /* #endif */
@@ -179,7 +179,7 @@
179
179
 
180
180
  // 纵向滚动条
181
181
  &-vertical {
182
- /* #ifdef harmony*/
182
+ /* #ifdef harmony dynamic*/
183
183
  flex: 1;
184
184
  min-width: 0;
185
185
  /* #endif */
@@ -117,7 +117,7 @@
117
117
  height: var(--nutui-steps-base-head-text-size, 12px);
118
118
  }
119
119
  .nut-steps-vertical {
120
- /* #ifdef harmony*/
120
+ /* #ifdef harmony dynamic*/
121
121
  flex: 1;
122
122
  min-width: 0;
123
123
  /* #endif */
@@ -179,7 +179,7 @@
179
179
 
180
180
  // 纵向滚动条
181
181
  &-vertical {
182
- /* #ifdef harmony*/
182
+ /* #ifdef harmony dynamic*/
183
183
  flex: 1;
184
184
  min-width: 0;
185
185
  /* #endif */
@@ -117,7 +117,7 @@
117
117
  height: var(--nutui-steps-base-head-text-size, 12px);
118
118
  }
119
119
  .nut-steps-vertical {
120
- /* #ifdef harmony*/
120
+ /* #ifdef harmony dynamic*/
121
121
  flex: 1;
122
122
  min-width: 0;
123
123
  /* #endif */
@@ -15,10 +15,10 @@
15
15
  width: 24px;
16
16
  height: 24px;
17
17
  font-size: 24px;
18
- /* #ifdef harmony*/
18
+ /* #ifdef harmony dynamic*/
19
19
  color: var(--nutui-tabbar-inactive-color, var(--nutui-color-title, #1a1a1a));
20
20
  /* #endif*/
21
- /* #ifndef harmony*/
21
+ /* #ifndef harmony dynamic*/
22
22
  color: inherit;
23
23
  /* #endif*/
24
24
  }
@@ -49,10 +49,10 @@
49
49
  }
50
50
  .nut-tabbar-item-active .nut-tabbar-item-text,
51
51
  .nut-tabbar-item-active .nut-icon {
52
- /* #ifdef harmony*/
52
+ /* #ifdef harmony dynamic*/
53
53
  color: var(--nutui-tabbar-active-color, var(--nutui-color-primary, #ff0f23));
54
54
  /* #endif*/
55
- /* #ifndef harmony*/
55
+ /* #ifndef harmony dynamic*/
56
56
  color: inherit;
57
57
  /* #endif*/
58
58
  }
@@ -11,10 +11,10 @@
11
11
  width: 24px;
12
12
  height: 24px;
13
13
  font-size: 24px;
14
- /* #ifdef harmony*/
14
+ /* #ifdef harmony dynamic*/
15
15
  color: $tabbar-inactive-color;
16
16
  /* #endif*/
17
- /* #ifndef harmony*/
17
+ /* #ifndef harmony dynamic*/
18
18
  color: inherit;
19
19
  /* #endif*/
20
20
  }
@@ -52,10 +52,10 @@
52
52
 
53
53
  .nut-tabbar-item-text,
54
54
  .nut-icon {
55
- /* #ifdef harmony*/
55
+ /* #ifdef harmony dynamic*/
56
56
  color: $tabbar-active-color;
57
57
  /* #endif*/
58
- /* #ifndef harmony*/
58
+ /* #ifndef harmony dynamic*/
59
59
  color: inherit;
60
60
  /* #endif*/
61
61
  }
@@ -15,10 +15,10 @@
15
15
  width: 24px;
16
16
  height: 24px;
17
17
  font-size: 24px;
18
- /* #ifdef harmony*/
18
+ /* #ifdef harmony dynamic*/
19
19
  color: var(--nutui-tabbar-inactive-color, var(--nutui-color-text));
20
20
  /* #endif*/
21
- /* #ifndef harmony*/
21
+ /* #ifndef harmony dynamic*/
22
22
  color: inherit;
23
23
  /* #endif*/
24
24
  }
@@ -49,10 +49,10 @@
49
49
  }
50
50
  .nut-tabbar-item-active .nut-tabbar-item-text,
51
51
  .nut-tabbar-item-active .nut-icon {
52
- /* #ifdef harmony*/
52
+ /* #ifdef harmony dynamic*/
53
53
  color: var(--nutui-tabbar-active-color, var(--nutui-color-primary));
54
54
  /* #endif*/
55
- /* #ifndef harmony*/
55
+ /* #ifndef harmony dynamic*/
56
56
  color: inherit;
57
57
  /* #endif*/
58
58
  }
@@ -11,10 +11,10 @@
11
11
  width: 24px;
12
12
  height: 24px;
13
13
  font-size: 24px;
14
- /* #ifdef harmony*/
14
+ /* #ifdef harmony dynamic*/
15
15
  color: $tabbar-inactive-color;
16
16
  /* #endif*/
17
- /* #ifndef harmony*/
17
+ /* #ifndef harmony dynamic*/
18
18
  color: inherit;
19
19
  /* #endif*/
20
20
  }
@@ -52,10 +52,10 @@
52
52
 
53
53
  .nut-tabbar-item-text,
54
54
  .nut-icon {
55
- /* #ifdef harmony*/
55
+ /* #ifdef harmony dynamic*/
56
56
  color: $tabbar-active-color;
57
57
  /* #endif*/
58
- /* #ifndef harmony*/
58
+ /* #ifndef harmony dynamic*/
59
59
  color: inherit;
60
60
  /* #endif*/
61
61
  }
@@ -15,10 +15,10 @@
15
15
  width: 24px;
16
16
  height: 24px;
17
17
  font-size: 24px;
18
- /* #ifdef harmony*/
18
+ /* #ifdef harmony dynamic*/
19
19
  color: var(--nutui-tabbar-inactive-color, var(--nutui-color-text));
20
20
  /* #endif*/
21
- /* #ifndef harmony*/
21
+ /* #ifndef harmony dynamic*/
22
22
  color: inherit;
23
23
  /* #endif*/
24
24
  }
@@ -49,10 +49,10 @@
49
49
  }
50
50
  .nut-tabbar-item-active .nut-tabbar-item-text,
51
51
  .nut-tabbar-item-active .nut-icon {
52
- /* #ifdef harmony*/
52
+ /* #ifdef harmony dynamic*/
53
53
  color: var(--nutui-tabbar-active-color, var(--nutui-color-primary, #ff6666));
54
54
  /* #endif*/
55
- /* #ifndef harmony*/
55
+ /* #ifndef harmony dynamic*/
56
56
  color: inherit;
57
57
  /* #endif*/
58
58
  }
@@ -11,10 +11,10 @@
11
11
  width: 24px;
12
12
  height: 24px;
13
13
  font-size: 24px;
14
- /* #ifdef harmony*/
14
+ /* #ifdef harmony dynamic*/
15
15
  color: $tabbar-inactive-color;
16
16
  /* #endif*/
17
- /* #ifndef harmony*/
17
+ /* #ifndef harmony dynamic*/
18
18
  color: inherit;
19
19
  /* #endif*/
20
20
  }
@@ -52,10 +52,10 @@
52
52
 
53
53
  .nut-tabbar-item-text,
54
54
  .nut-icon {
55
- /* #ifdef harmony*/
55
+ /* #ifdef harmony dynamic*/
56
56
  color: $tabbar-active-color;
57
57
  /* #endif*/
58
- /* #ifndef harmony*/
58
+ /* #ifndef harmony dynamic*/
59
59
  color: inherit;
60
60
  /* #endif*/
61
61
  }
@@ -170,10 +170,10 @@
170
170
 
171
171
  .nut-tabs-vertical .nut-tabs-ellipsis {
172
172
  white-space: break-spaces;
173
- /* #ifdef harmony */
173
+ /* #ifdef harmony dynamic*/
174
174
  padding-left: 12px;
175
175
  /* #endif */
176
- /* #ifndef harmony */
176
+ /* #ifndef harmony dynamic*/
177
177
  padding-left: 6px;
178
178
  /* #endif */
179
179
  width: 90px;
@@ -213,10 +213,10 @@
213
213
  .nut-tabs-vertical {
214
214
  .nut-tabs-ellipsis {
215
215
  white-space: break-spaces;
216
- /* #ifdef harmony */
216
+ /* #ifdef harmony dynamic*/
217
217
  padding-left: 12px;
218
218
  /* #endif */
219
- /* #ifndef harmony */
219
+ /* #ifndef harmony dynamic*/
220
220
  padding-left: 6px;
221
221
  /* #endif */
222
222
  width: 90px;
@@ -170,10 +170,10 @@
170
170
 
171
171
  .nut-tabs-vertical .nut-tabs-ellipsis {
172
172
  white-space: break-spaces;
173
- /* #ifdef harmony */
173
+ /* #ifdef harmony dynamic*/
174
174
  padding-left: 12px;
175
175
  /* #endif */
176
- /* #ifndef harmony */
176
+ /* #ifndef harmony dynamic*/
177
177
  padding-left: 6px;
178
178
  /* #endif */
179
179
  width: 90px;
@@ -213,10 +213,10 @@
213
213
  .nut-tabs-vertical {
214
214
  .nut-tabs-ellipsis {
215
215
  white-space: break-spaces;
216
- /* #ifdef harmony */
216
+ /* #ifdef harmony dynamic*/
217
217
  padding-left: 12px;
218
218
  /* #endif */
219
- /* #ifndef harmony */
219
+ /* #ifndef harmony dynamic*/
220
220
  padding-left: 6px;
221
221
  /* #endif */
222
222
  width: 90px;
@@ -170,10 +170,10 @@
170
170
 
171
171
  .nut-tabs-vertical .nut-tabs-ellipsis {
172
172
  white-space: break-spaces;
173
- /* #ifdef harmony */
173
+ /* #ifdef harmony dynamic*/
174
174
  padding-left: 12px;
175
175
  /* #endif */
176
- /* #ifndef harmony */
176
+ /* #ifndef harmony dynamic*/
177
177
  padding-left: 6px;
178
178
  /* #endif */
179
179
  width: 90px;
@@ -213,10 +213,10 @@
213
213
  .nut-tabs-vertical {
214
214
  .nut-tabs-ellipsis {
215
215
  white-space: break-spaces;
216
- /* #ifdef harmony */
216
+ /* #ifdef harmony dynamic*/
217
217
  padding-left: 12px;
218
218
  /* #endif */
219
- /* #ifndef harmony */
219
+ /* #ifndef harmony dynamic*/
220
220
  padding-left: 6px;
221
221
  /* #endif */
222
222
  width: 90px;
@@ -27,10 +27,10 @@
27
27
  --nutui-overlay-bg-color: rgba(0, 0, 0, 0);
28
28
  }
29
29
  .nut-toast-overlay-default-taro {
30
- /* #ifdef harmony */
30
+ /* #ifdef harmony dynamic*/
31
31
  background-color: rgba(0, 0, 0, 0);
32
32
  /* #endif */
33
- /* #ifndef harmony */
33
+ /* #ifndef harmony dynamic*/
34
34
  --nutui-overlay-bg-color: rgba(0, 0, 0, 0);
35
35
  /* #endif */
36
36
  }
@@ -26,10 +26,10 @@
26
26
  }
27
27
 
28
28
  &-overlay-default-taro {
29
- /* #ifdef harmony */
29
+ /* #ifdef harmony dynamic*/
30
30
  background-color: rgba(0, 0, 0, 0);
31
31
  /* #endif */
32
- /* #ifndef harmony */
32
+ /* #ifndef harmony dynamic*/
33
33
  --nutui-overlay-bg-color: rgba(0, 0, 0, 0);
34
34
  /* #endif */
35
35
  }
@@ -27,10 +27,10 @@
27
27
  --nutui-overlay-bg-color: rgba(0, 0, 0, 0);
28
28
  }
29
29
  .nut-toast-overlay-default-taro {
30
- /* #ifdef harmony */
30
+ /* #ifdef harmony dynamic*/
31
31
  background-color: rgba(0, 0, 0, 0);
32
32
  /* #endif */
33
- /* #ifndef harmony */
33
+ /* #ifndef harmony dynamic*/
34
34
  --nutui-overlay-bg-color: rgba(0, 0, 0, 0);
35
35
  /* #endif */
36
36
  }
@@ -26,10 +26,10 @@
26
26
  }
27
27
 
28
28
  &-overlay-default-taro {
29
- /* #ifdef harmony */
29
+ /* #ifdef harmony dynamic*/
30
30
  background-color: rgba(0, 0, 0, 0);
31
31
  /* #endif */
32
- /* #ifndef harmony */
32
+ /* #ifndef harmony dynamic*/
33
33
  --nutui-overlay-bg-color: rgba(0, 0, 0, 0);
34
34
  /* #endif */
35
35
  }
@@ -27,10 +27,10 @@
27
27
  --nutui-overlay-bg-color: rgba(0, 0, 0, 0);
28
28
  }
29
29
  .nut-toast-overlay-default-taro {
30
- /* #ifdef harmony */
30
+ /* #ifdef harmony dynamic*/
31
31
  background-color: rgba(0, 0, 0, 0);
32
32
  /* #endif */
33
- /* #ifndef harmony */
33
+ /* #ifndef harmony dynamic*/
34
34
  --nutui-overlay-bg-color: rgba(0, 0, 0, 0);
35
35
  /* #endif */
36
36
  }
@@ -26,10 +26,10 @@
26
26
  }
27
27
 
28
28
  &-overlay-default-taro {
29
- /* #ifdef harmony */
29
+ /* #ifdef harmony dynamic*/
30
30
  background-color: rgba(0, 0, 0, 0);
31
31
  /* #endif */
32
- /* #ifndef harmony */
32
+ /* #ifndef harmony dynamic*/
33
33
  --nutui-overlay-bg-color: rgba(0, 0, 0, 0);
34
34
  /* #endif */
35
35
  }
@@ -77,6 +77,7 @@
77
77
  height: 100%;
78
78
  background: var(--nutui-uploader-preview-progress-background, var(--nutui-color-mask, rgba(0, 0, 0, 0.7)));
79
79
  border-radius: var(--nutui-uploader-image-border-radius, 4px);
80
+ z-index: 10;
80
81
  }
81
82
  .nut-uploader-preview-progress i {
82
83
  margin-bottom: var(--nutui-uploader-image-icon-margin-bottom, 6px);
@@ -86,6 +86,7 @@
86
86
  height: 100%;
87
87
  background: $uploader-preview-progress-background;
88
88
  border-radius: $uploader-image-border-radius;
89
+ z-index: 10;
89
90
 
90
91
  i {
91
92
  margin-bottom: $uploader-image-icon-margin-bottom;
@@ -77,6 +77,7 @@
77
77
  height: 100%;
78
78
  background: var(--nutui-uploader-preview-progress-background, var(--nutui-color-surface-overlay));
79
79
  border-radius: var(--nutui-uploader-image-border-radius, var(--nutui-radius-xs));
80
+ z-index: 10;
80
81
  }
81
82
  .nut-uploader-preview-progress i {
82
83
  margin-bottom: var(--nutui-uploader-image-icon-margin-bottom, 6px);
@@ -86,6 +86,7 @@
86
86
  height: 100%;
87
87
  background: $uploader-preview-progress-background;
88
88
  border-radius: $uploader-image-border-radius;
89
+ z-index: 10;
89
90
 
90
91
  i {
91
92
  margin-bottom: $uploader-image-icon-margin-bottom;
@@ -77,6 +77,7 @@
77
77
  height: 100%;
78
78
  background: var(--nutui-uploader-preview-progress-background, var(--nutui-color-surface-overlay));
79
79
  border-radius: var(--nutui-uploader-image-border-radius, var(--nutui-radius-xs));
80
+ z-index: 10;
80
81
  }
81
82
  .nut-uploader-preview-progress i {
82
83
  margin-bottom: var(--nutui-uploader-image-icon-margin-bottom, 6px);
@@ -86,6 +86,7 @@
86
86
  height: 100%;
87
87
  background: $uploader-preview-progress-background;
88
88
  border-radius: $uploader-image-border-radius;
89
+ z-index: 10;
89
90
 
90
91
  i {
91
92
  margin-bottom: $uploader-image-icon-margin-bottom;
@@ -60,7 +60,10 @@ export interface BaseInput<INPUT_TYPE, CONFIRM_TYPE = InputConfirmType> extends
60
60
  * 键盘右下角按钮的文字,仅在type='text'时生效,可选值 send:发送、search:搜索、next:下一个、go:前往、done:完成
61
61
  */
62
62
  confirmType: CONFIRM_TYPE
63
- plain: boolean;
63
+ /**
64
+ * 输入框是容器型还是文本型,容器型一般都是带外边框的
65
+ */
66
+ plain: boolean
64
67
  /**
65
68
  * 输入内容格式化函数
66
69
  */
@@ -1,5 +1,4 @@
1
1
  export * from './bound';
2
- export * from './camel-case';
3
2
  export * from './can-use-dom';
4
3
  export * from './clamp';
5
4
  export * from './date';
@@ -1,5 +1,4 @@
1
1
  export * from "./bound";
2
- export * from "./camel-case";
3
2
  export * from "./can-use-dom";
4
3
  export * from "./clamp";
5
4
  export * from "./date";
@@ -1,6 +1,5 @@
1
1
  export * from "./taro/add-color-for-harmony";
2
2
  export * from "./bound";
3
- export * from "./camel-case";
4
3
  export * from "./can-use-dom";
5
4
  export * from "./clamp";
6
5
  export * from "./date";
@@ -1,3 +1,4 @@
1
1
  export declare const harmony: () => boolean;
2
2
  export declare const web: () => boolean;
3
3
  export declare const miniprogram: () => boolean;
4
+ export declare const td: () => boolean;
@@ -16,3 +16,8 @@ export var miniprogram = function() {
16
16
  'mini'
17
17
  ].includes(getEnv().toLowerCase());
18
18
  };
19
+ export var td = function() {
20
+ return [
21
+ 'dynamic'
22
+ ].includes(getEnv().toLowerCase());
23
+ };