@nutui/nutui-react 3.0.12 → 3.0.13-beta.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.
Files changed (160) hide show
  1. package/CHANGELOG.md +8 -9
  2. package/dist/cjs/packages/address/style/address.scss +2 -2
  3. package/dist/cjs/packages/address/style/style.css +2 -2
  4. package/dist/cjs/packages/address/style-jmapp/address.scss +2 -2
  5. package/dist/cjs/packages/address/style-jmapp/style.css +2 -2
  6. package/dist/cjs/packages/address/style-jrkf/address.scss +2 -2
  7. package/dist/cjs/packages/address/style-jrkf/style.css +2 -2
  8. package/dist/cjs/packages/button/style/button.scss +3 -3
  9. package/dist/cjs/packages/button/style/style.css +3 -3
  10. package/dist/cjs/packages/button/style-jmapp/button.scss +3 -3
  11. package/dist/cjs/packages/button/style-jmapp/style.css +3 -3
  12. package/dist/cjs/packages/button/style-jrkf/button.scss +3 -3
  13. package/dist/cjs/packages/button/style-jrkf/style.css +3 -3
  14. package/dist/cjs/packages/collapseitem/style/collapseitem.scss +2 -2
  15. package/dist/cjs/packages/collapseitem/style/style.css +2 -2
  16. package/dist/cjs/packages/collapseitem/style-jmapp/collapseitem.scss +2 -2
  17. package/dist/cjs/packages/collapseitem/style-jmapp/style.css +2 -2
  18. package/dist/cjs/packages/collapseitem/style-jrkf/collapseitem.scss +2 -2
  19. package/dist/cjs/packages/collapseitem/style-jrkf/style.css +2 -2
  20. package/dist/cjs/packages/dialog/style/dialog.scss +1 -1
  21. package/dist/cjs/packages/dialog/style/style.css +1 -1
  22. package/dist/cjs/packages/dialog/style-jmapp/dialog.scss +1 -1
  23. package/dist/cjs/packages/dialog/style-jmapp/style.css +1 -1
  24. package/dist/cjs/packages/dialog/style-jrkf/dialog.scss +1 -1
  25. package/dist/cjs/packages/dialog/style-jrkf/style.css +1 -1
  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/swiper/swiper.js +52 -43
  40. package/dist/cjs/packages/tabbaritem/style/style.css +4 -4
  41. package/dist/cjs/packages/tabbaritem/style/tabbaritem.scss +4 -4
  42. package/dist/cjs/packages/tabbaritem/style-jmapp/style.css +4 -4
  43. package/dist/cjs/packages/tabbaritem/style-jmapp/tabbaritem.scss +4 -4
  44. package/dist/cjs/packages/tabbaritem/style-jrkf/style.css +4 -4
  45. package/dist/cjs/packages/tabbaritem/style-jrkf/tabbaritem.scss +4 -4
  46. package/dist/cjs/packages/tabs/style/style.css +2 -2
  47. package/dist/cjs/packages/tabs/style/tabs.scss +2 -2
  48. package/dist/cjs/packages/tabs/style-jmapp/style.css +2 -2
  49. package/dist/cjs/packages/tabs/style-jmapp/tabs.scss +2 -2
  50. package/dist/cjs/packages/tabs/style-jrkf/style.css +2 -2
  51. package/dist/cjs/packages/tabs/style-jrkf/tabs.scss +2 -2
  52. package/dist/cjs/packages/textarea/textarea.d.ts +2 -2
  53. package/dist/cjs/packages/textarea/textarea.js +25 -8
  54. package/dist/cjs/packages/toast/style/style.css +2 -2
  55. package/dist/cjs/packages/toast/style/toast.scss +2 -2
  56. package/dist/cjs/packages/toast/style-jmapp/style.css +2 -2
  57. package/dist/cjs/packages/toast/style-jmapp/toast.scss +2 -2
  58. package/dist/cjs/packages/toast/style-jrkf/style.css +2 -2
  59. package/dist/cjs/packages/toast/style-jrkf/toast.scss +2 -2
  60. package/dist/cjs/packages/uploader/style/style.css +1 -0
  61. package/dist/cjs/packages/uploader/style/uploader.scss +1 -0
  62. package/dist/cjs/packages/uploader/style-jmapp/style.css +1 -0
  63. package/dist/cjs/packages/uploader/style-jmapp/uploader.scss +1 -0
  64. package/dist/cjs/packages/uploader/style-jrkf/style.css +1 -0
  65. package/dist/cjs/packages/uploader/style-jrkf/uploader.scss +1 -0
  66. package/dist/cjs/types/spec/lottie/taro.d.ts +1 -0
  67. package/dist/cjs/types/spec/swiper/base.d.ts +4 -0
  68. package/dist/cjs/types/spec/swiper/taro.d.ts +4 -0
  69. package/dist/cjs/utils/index.d.ts +0 -1
  70. package/dist/cjs/utils/index.js +0 -1
  71. package/dist/cjs/utils/index.taro.js +0 -1
  72. package/dist/cjs/utils/taro/platform.d.ts +1 -0
  73. package/dist/cjs/utils/taro/platform.js +8 -0
  74. package/dist/cjs/utils/taro/px-transform.js +1 -1
  75. package/dist/es/packages/address/style/address.scss +2 -2
  76. package/dist/es/packages/address/style/style.css +2 -2
  77. package/dist/es/packages/address/style-jmapp/address.scss +2 -2
  78. package/dist/es/packages/address/style-jmapp/style.css +2 -2
  79. package/dist/es/packages/address/style-jrkf/address.scss +2 -2
  80. package/dist/es/packages/address/style-jrkf/style.css +2 -2
  81. package/dist/es/packages/button/style/button.scss +3 -3
  82. package/dist/es/packages/button/style/style.css +3 -3
  83. package/dist/es/packages/button/style-jmapp/button.scss +3 -3
  84. package/dist/es/packages/button/style-jmapp/style.css +3 -3
  85. package/dist/es/packages/button/style-jrkf/button.scss +3 -3
  86. package/dist/es/packages/button/style-jrkf/style.css +3 -3
  87. package/dist/es/packages/collapseitem/style/collapseitem.scss +2 -2
  88. package/dist/es/packages/collapseitem/style/style.css +2 -2
  89. package/dist/es/packages/collapseitem/style-jmapp/collapseitem.scss +2 -2
  90. package/dist/es/packages/collapseitem/style-jmapp/style.css +2 -2
  91. package/dist/es/packages/collapseitem/style-jrkf/collapseitem.scss +2 -2
  92. package/dist/es/packages/collapseitem/style-jrkf/style.css +2 -2
  93. package/dist/es/packages/dialog/style/dialog.scss +1 -1
  94. package/dist/es/packages/dialog/style/style.css +1 -1
  95. package/dist/es/packages/dialog/style-jmapp/dialog.scss +1 -1
  96. package/dist/es/packages/dialog/style-jmapp/style.css +1 -1
  97. package/dist/es/packages/dialog/style-jrkf/dialog.scss +1 -1
  98. package/dist/es/packages/dialog/style-jrkf/style.css +1 -1
  99. package/dist/es/packages/loading/loading.js +0 -4
  100. package/dist/es/packages/numberkeyboard/style/numberkeyboard.scss +2 -2
  101. package/dist/es/packages/numberkeyboard/style/style.css +2 -2
  102. package/dist/es/packages/numberkeyboard/style-jmapp/numberkeyboard.scss +2 -2
  103. package/dist/es/packages/numberkeyboard/style-jmapp/style.css +2 -2
  104. package/dist/es/packages/numberkeyboard/style-jrkf/numberkeyboard.scss +2 -2
  105. package/dist/es/packages/numberkeyboard/style-jrkf/style.css +2 -2
  106. package/dist/es/packages/steps/style/steps.scss +1 -1
  107. package/dist/es/packages/steps/style/style.css +1 -1
  108. package/dist/es/packages/steps/style-jmapp/steps.scss +1 -1
  109. package/dist/es/packages/steps/style-jmapp/style.css +1 -1
  110. package/dist/es/packages/steps/style-jrkf/steps.scss +1 -1
  111. package/dist/es/packages/steps/style-jrkf/style.css +1 -1
  112. package/dist/es/packages/swiper/swiper.js +53 -44
  113. package/dist/es/packages/tabbaritem/style/style.css +4 -4
  114. package/dist/es/packages/tabbaritem/style/tabbaritem.scss +4 -4
  115. package/dist/es/packages/tabbaritem/style-jmapp/style.css +4 -4
  116. package/dist/es/packages/tabbaritem/style-jmapp/tabbaritem.scss +4 -4
  117. package/dist/es/packages/tabbaritem/style-jrkf/style.css +4 -4
  118. package/dist/es/packages/tabbaritem/style-jrkf/tabbaritem.scss +4 -4
  119. package/dist/es/packages/tabs/style/style.css +2 -2
  120. package/dist/es/packages/tabs/style/tabs.scss +2 -2
  121. package/dist/es/packages/tabs/style-jmapp/style.css +2 -2
  122. package/dist/es/packages/tabs/style-jmapp/tabs.scss +2 -2
  123. package/dist/es/packages/tabs/style-jrkf/style.css +2 -2
  124. package/dist/es/packages/tabs/style-jrkf/tabs.scss +2 -2
  125. package/dist/es/packages/textarea/textarea.d.ts +2 -2
  126. package/dist/es/packages/textarea/textarea.js +26 -9
  127. package/dist/es/packages/toast/style/style.css +2 -2
  128. package/dist/es/packages/toast/style/toast.scss +2 -2
  129. package/dist/es/packages/toast/style-jmapp/style.css +2 -2
  130. package/dist/es/packages/toast/style-jmapp/toast.scss +2 -2
  131. package/dist/es/packages/toast/style-jrkf/style.css +2 -2
  132. package/dist/es/packages/toast/style-jrkf/toast.scss +2 -2
  133. package/dist/es/packages/uploader/style/style.css +1 -0
  134. package/dist/es/packages/uploader/style/uploader.scss +1 -0
  135. package/dist/es/packages/uploader/style-jmapp/style.css +1 -0
  136. package/dist/es/packages/uploader/style-jmapp/uploader.scss +1 -0
  137. package/dist/es/packages/uploader/style-jrkf/style.css +1 -0
  138. package/dist/es/packages/uploader/style-jrkf/uploader.scss +1 -0
  139. package/dist/es/types/spec/input/base.d.ts +4 -1
  140. package/dist/es/types/spec/lottie/taro.d.ts +1 -0
  141. package/dist/es/types/spec/swiper/base.d.ts +5 -1
  142. package/dist/es/types/spec/swiper/taro.d.ts +4 -0
  143. package/dist/es/utils/index.d.ts +0 -1
  144. package/dist/es/utils/index.js +0 -1
  145. package/dist/es/utils/index.taro.js +0 -1
  146. package/dist/es/utils/taro/platform.d.ts +1 -0
  147. package/dist/es/utils/taro/platform.js +5 -0
  148. package/dist/es/utils/taro/px-transform.js +3 -2
  149. package/dist/nutui.react.umd.js +79 -152
  150. package/dist/style-jmapp.css +1 -1
  151. package/dist/style-jmapp.scss +30 -30
  152. package/dist/style-jrkf.css +1 -1
  153. package/dist/style-jrkf.scss +39 -39
  154. package/dist/style.css +1 -1
  155. package/dist/style.scss +39 -39
  156. package/package.json +1 -1
  157. package/dist/cjs/utils/camel-case.d.ts +0 -1
  158. package/dist/cjs/utils/camel-case.js +0 -106
  159. package/dist/es/utils/camel-case.d.ts +0 -1
  160. package/dist/es/utils/camel-case.js +0 -96
@@ -1,4 +1,5 @@
1
1
  import { LottieOptions } from 'lottie-react';
2
2
  import { BaseLottie } from './base';
3
3
  export interface TaroLottieProps extends BaseLottie<Omit<LottieOptions, 'animationData'>> {
4
+ dpr: boolean;
4
5
  }
@@ -15,7 +15,11 @@ export interface BaseSwiper extends BaseProps {
15
15
  indicator: ReactNode;
16
16
  loop: boolean;
17
17
  duration: SimpleValue;
18
+ /**
19
+ * @deprecated Please use `autoplay` prop instead.
20
+ */
18
21
  autoPlay: boolean | number;
22
+ autoplay: boolean | number;
19
23
  defaultValue: number;
20
24
  touchable: boolean;
21
25
  effect: FocusEffect | undefined;
@@ -9,7 +9,11 @@ export type TaroSwiperProps = Omit<BaseSwiper, OmittedKeys> & OmittedSwiperProps
9
9
  height?: SimpleValue;
10
10
  direction: Direction;
11
11
  indicator: ReactNode;
12
+ /**
13
+ * @deprecated Please use `autoplay` prop instead.
14
+ */
12
15
  autoPlay: boolean;
16
+ autoplay: boolean;
13
17
  loop: boolean;
14
18
  defaultValue: number;
15
19
  };
@@ -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';
@@ -4,7 +4,6 @@ Object.defineProperty(exports, "__esModule", {
4
4
  });
5
5
  var _export_star = require("@swc/helpers/_/_export_star");
6
6
  _export_star._(require("./bound"), exports);
7
- _export_star._(require("./camel-case"), exports);
8
7
  _export_star._(require("./can-use-dom"), exports);
9
8
  _export_star._(require("./clamp"), exports);
10
9
  _export_star._(require("./date"), exports);
@@ -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);
@@ -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;
@@ -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);
@@ -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);
@@ -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
  }
@@ -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
  }
@@ -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
  }
@@ -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, 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);
@@ -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 */