@nutui/nutui-react-taro 2.3.3 → 2.3.5

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 (93) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/dist/esm/Address/style/style.css +1 -1
  3. package/dist/esm/Audio/style/style.css +1 -1
  4. package/dist/esm/Audio.js +2 -2
  5. package/dist/esm/AvatarCropper/style/style.css +1 -1
  6. package/dist/esm/AvatarCropper.js +1 -1
  7. package/dist/esm/Cascader/style/style.css +1 -1
  8. package/dist/esm/DatePicker/style/style.css +1 -1
  9. package/dist/esm/DatePicker.js +2 -2
  10. package/dist/esm/Dialog/style/style.css +1 -1
  11. package/dist/esm/Empty.js +4 -1
  12. package/dist/esm/InfiniteLoading/style/style.css +1 -1
  13. package/dist/esm/InfiniteLoading.js +1 -1
  14. package/dist/esm/Picker/style/style.css +1 -1
  15. package/dist/esm/Picker.js +1 -1
  16. package/dist/esm/Popover/style/style.css +1 -1
  17. package/dist/esm/Popover.js +1 -1
  18. package/dist/esm/PullToRefresh.js +2 -1
  19. package/dist/esm/Range/style/style.css +1 -1
  20. package/dist/esm/Range.js +1 -1
  21. package/dist/esm/Tabbar/style/style.css +1 -1
  22. package/dist/esm/TabbarItem/style/style.css +1 -1
  23. package/dist/esm/Tabs/style/style.css +1 -1
  24. package/dist/esm/Tour/style/style.css +1 -1
  25. package/dist/esm/Tour.js +2 -2
  26. package/dist/esm/VirtualList.js +1 -1
  27. package/dist/esm/{audio.taro-Z23xRUZF.js → audio.taro-ixcoTq7M.js} +1 -1
  28. package/dist/esm/{avatarcropper.taro-H77gHZmo.js → avatarcropper.taro-OjudqSeT.js} +6 -4
  29. package/dist/esm/{datepicker.taro-7xNSgNRT.js → datepicker.taro-OrqtwJFM.js} +2 -4
  30. package/dist/esm/empty.taro-vxcxYcB5.js +70 -0
  31. package/dist/esm/{infiniteloading.taro-eSS7cIsT.js → infiniteloading.taro-sl41Ddeh.js} +8 -6
  32. package/dist/esm/nutui-react.es.js +11 -11
  33. package/dist/esm/{picker.taro-pRzPNgyZ.js → picker.taro-_bT5c-BS.js} +3 -3
  34. package/dist/esm/{popover.taro-N1dZfUxf.js → popover.taro-ScQymuJC.js} +2 -2
  35. package/dist/esm/{pulltorefresh.taro-h0P58sPG.js → pulltorefresh.taro-VbzsD_HC.js} +3 -1
  36. package/dist/esm/{range.taro-S6WTiP1X.js → range.taro-mDYY3SXA.js} +16 -7
  37. package/dist/esm/{tour.taro-_3C-szH1.js → tour.taro-GabSljal.js} +1 -1
  38. package/dist/esm/types/src/packages/avatarcropper/avatarcropper.d.ts +2 -0
  39. package/dist/esm/types/src/packages/avatarcropper/avatarcropper.taro.d.ts +2 -0
  40. package/dist/esm/types/src/packages/avatarcropper/index.d.ts +1 -1
  41. package/dist/esm/types/src/packages/avatarcropper/index.taro.d.ts +1 -1
  42. package/dist/esm/types/src/packages/configprovider/types.d.ts +1 -1
  43. package/dist/esm/types/src/packages/empty/empty.taro.d.ts +1 -1
  44. package/dist/esm/types/src/packages/infiniteloading/infiniteloading.d.ts +2 -2
  45. package/dist/esm/types/src/packages/infiniteloading/infiniteloading.taro.d.ts +2 -2
  46. package/dist/esm/types/src/packages/range/index.d.ts +2 -1
  47. package/dist/esm/types/src/packages/range/index.taro.d.ts +2 -1
  48. package/dist/esm/types/src/packages/range/range.d.ts +2 -2
  49. package/dist/esm/types/src/packages/range/range.taro.d.ts +2 -2
  50. package/dist/esm/types/src/packages/range/types.d.ts +6 -0
  51. package/dist/esm/types/src/packages/virtuallist/utils.d.ts +1 -1
  52. package/dist/esm/types/src/packages/virtuallist/virtuallist.taro.d.ts +1 -0
  53. package/dist/esm/{virtuallist.taro-vrNBr0zS.js → virtuallist.taro-AeTVtFFa.js} +34 -60
  54. package/dist/locales/base.js +1 -1
  55. package/dist/locales/en-US.js +1 -1
  56. package/dist/locales/id-ID.js +1 -1
  57. package/dist/locales/tr-TR.js +1 -1
  58. package/dist/locales/zh-CN.js +1 -1
  59. package/dist/locales/zh-TW.js +1 -1
  60. package/dist/locales/zh-UG.js +1 -1
  61. package/dist/nutui.react.es.js +496 -1272
  62. package/dist/nutui.react.umd.js +496 -1272
  63. package/dist/packages/avatarcropper/avatarcropper.scss +5 -0
  64. package/dist/packages/dialog/dialog.scss +1 -1
  65. package/dist/packages/infiniteloading/infiniteloading.scss +2 -6
  66. package/dist/packages/picker/picker.scss +1 -0
  67. package/dist/packages/popover/popover.scss +21 -15
  68. package/dist/packages/range/range.scss +2 -2
  69. package/dist/packages/tabbaritem/tabbaritem.scss +10 -4
  70. package/dist/packages/tabs/tabs.scss +2 -2
  71. package/dist/style.css +1 -1
  72. package/dist/style.mjs +1 -1
  73. package/dist/styles/variables-jmapp.scss +9 -0
  74. package/dist/styles/variables.scss +9 -0
  75. package/dist/types/packages/avatarcropper/avatarcropper.d.ts +2 -0
  76. package/dist/types/packages/avatarcropper/avatarcropper.taro.d.ts +6 -0
  77. package/dist/types/packages/avatarcropper/index.d.ts +1 -1
  78. package/dist/types/packages/avatarcropper/index.taro.d.ts +1 -1
  79. package/dist/types/packages/configprovider/types.d.ts +1 -1
  80. package/dist/types/packages/empty/empty.taro.d.ts +1 -1
  81. package/dist/types/packages/infiniteloading/infiniteloading.d.ts +2 -2
  82. package/dist/types/packages/infiniteloading/infiniteloading.taro.d.ts +2 -2
  83. package/dist/types/packages/range/index.d.ts +2 -1
  84. package/dist/types/packages/range/index.taro.d.ts +2 -1
  85. package/dist/types/packages/range/range.d.ts +2 -2
  86. package/dist/types/packages/range/range.taro.d.ts +2 -2
  87. package/dist/types/packages/range/types.d.ts +6 -0
  88. package/dist/types/packages/virtuallist/utils.d.ts +1 -1
  89. package/dist/types/packages/virtuallist/virtuallist.taro.d.ts +1 -0
  90. package/package.json +2 -2
  91. package/dist/esm/css.js +0 -1
  92. package/dist/esm/empty.taro-CE-H96el.js +0 -805
  93. package/dist/esm/style.css +0 -1
@@ -89,4 +89,9 @@
89
89
  }
90
90
  }
91
91
  }
92
+ &.round {
93
+ .nut-avatar-cropper-edit-text {
94
+ border-radius: 50%;
95
+ }
96
+ }
92
97
  }
@@ -35,7 +35,7 @@
35
35
  &-header {
36
36
  display: block;
37
37
  text-align: center;
38
- font-size: $font-size-large;
38
+ font-size: $dialog-header-font-size;
39
39
  font-weight: $dialog-header-font-weight;
40
40
  color: $color-title;
41
41
  @include oneline-ellipsis();
@@ -11,7 +11,7 @@
11
11
  font-size: $font-size-small;
12
12
  color: $infiniteloading-color;
13
13
 
14
- .top-box {
14
+ &-tips {
15
15
  width: 100%;
16
16
  display: flex;
17
17
  flex-direction: column;
@@ -21,8 +21,6 @@
21
21
  display: flex;
22
22
  justify-content: center;
23
23
  align-items: center;
24
- width: $pulltorefresh-icon-width;
25
- height: $pulltorefresh-icon-height;
26
24
  margin-bottom: 4px;
27
25
  }
28
26
  }
@@ -38,14 +36,12 @@
38
36
  color: $infiniteloading-color;
39
37
  text-align: center;
40
38
 
41
- .bottom-box {
39
+ &-tips {
42
40
  display: flex;
43
41
  justify-content: center;
44
42
  align-items: center;
45
43
 
46
44
  &-icons {
47
- width: $infiniteloading-icon-size;
48
- height: $infiniteloading-icon-size;
49
45
  margin-right: 8px;
50
46
  }
51
47
  }
@@ -85,6 +85,7 @@
85
85
  background-position: top, bottom;
86
86
  background-size: 100% 108px;
87
87
  background-repeat: no-repeat;
88
+ transform: translateZ(0);
88
89
  z-index: 3;
89
90
  }
90
91
 
@@ -22,21 +22,6 @@
22
22
  border-bottom-color: $popover-border-color;
23
23
  border-top-width: 0;
24
24
  margin-top: -8px;
25
-
26
- &.nut-popover-arrow-bottom {
27
- left: 50%;
28
- transform: translateX(-50%);
29
- }
30
-
31
- &.nut-popover-arrow-bottom-start {
32
- left: 16px;
33
- transform: translateX(0%);
34
- }
35
-
36
- &.nut-popover-arrow-bottom-end {
37
- right: 16px;
38
- transform: translateX(0%);
39
- }
40
25
  }
41
26
 
42
27
  &-left {
@@ -189,10 +174,31 @@
189
174
  }
190
175
  }
191
176
 
177
+ &-bottom {
178
+ .nut-popover-arrow-bottom {
179
+ left: 50%;
180
+ transform: translateX(-50%);
181
+ }
182
+ }
183
+
192
184
  &-bottom-end {
185
+ .nut-popover-arrow-bottom-end {
186
+ right: 16px;
187
+ transform: translateX(0%);
188
+ }
189
+
193
190
  right: 0;
194
191
  }
195
192
 
193
+ &-bottom-start {
194
+ left: 0;
195
+
196
+ .nut-popover-arrow-bottom-start {
197
+ left: 16px;
198
+ transform: translateX(0%);
199
+ }
200
+ }
201
+
196
202
  &-left-end {
197
203
  bottom: 0;
198
204
  }
@@ -69,7 +69,7 @@
69
69
  text-align: center;
70
70
  word-break: keep-all;
71
71
  user-select: none;
72
- transform: translateY(-50%);
72
+ transform: translateY(-11px);
73
73
  }
74
74
 
75
75
  &-tick {
@@ -191,7 +191,7 @@
191
191
  text-align: center;
192
192
  word-break: keep-all;
193
193
  user-select: none;
194
- transform: translateX(-50%);
194
+ transform: translateX(-10px);
195
195
  }
196
196
 
197
197
  &-tick {
@@ -10,10 +10,6 @@
10
10
  color: $tabbar-inactive-color;
11
11
  height: 100%;
12
12
 
13
- &-active {
14
- color: $tabbar-active-color;
15
- }
16
-
17
13
  &-icon-box {
18
14
  padding: 0px;
19
15
  display: flex;
@@ -40,4 +36,14 @@
40
36
  font-weight: $tabbar-text-large-font-weight;
41
37
  }
42
38
  }
39
+
40
+ &-active {
41
+ color: $tabbar-active-color;
42
+ .nut-tabbar-item-icon-box {
43
+ color: inherit;
44
+ .nut-icon {
45
+ color: inherit;
46
+ }
47
+ }
48
+ }
43
49
  }
@@ -8,7 +8,7 @@
8
8
  display: flex;
9
9
  box-sizing: border-box;
10
10
  height: $tabs-titles-height;
11
- padding: 0 16px;
11
+ padding: $tabs-titles-padding;
12
12
  user-select: none;
13
13
  overflow: hidden;
14
14
  background: $tabs-titles-background-color;
@@ -49,7 +49,7 @@
49
49
  margin: 0 $tabs-titles-gap;
50
50
  min-width: $tabs-titles-item-min-width;
51
51
  font-size: $tabs-titles-font-size;
52
- color: $color-title;
52
+ color: $tabs-titles-item-color;
53
53
  text-overflow: ellipsis;
54
54
  white-space: nowrap;
55
55