@nutui/nutui-react-taro 3.0.16 → 3.0.17-beta.0

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 CHANGED
@@ -1,11 +1,10 @@
1
1
  # v3.0.16
2
- `2025-07-04`
3
-
4
2
 
5
- * :bug: fix(calendar): 类型修订 (#3292)
6
- * :bug: fix(swiper): 修改初始值时不生效问题 (#3293)
7
- * :bug: fix(noticebar): children cannot update responsively in vertical mode (#3251)
3
+ `2025-07-04`
8
4
 
5
+ - :bug: fix(calendar): 类型修订 (#3292)
6
+ - :bug: fix(swiper): 修改初始值时不生效问题 (#3293)
7
+ - :bug: fix(noticebar): children cannot update responsively in vertical mode (#3251)
9
8
 
10
9
  # v3.0.15
11
10
 
@@ -175,7 +175,7 @@ var CalendarItem = /*#__PURE__*/ _react.default.forwardRef(function(props, ref)
175
175
  if (yearNum > 0) {
176
176
  monthNum += 12 * yearNum;
177
177
  }
178
- if (monthNum <= 0) {
178
+ if (monthNum < 0) {
179
179
  monthNum = 1;
180
180
  }
181
181
  setMonthsNum(monthNum);
@@ -178,7 +178,7 @@ var PullToRefresh = function PullToRefresh(p) {
178
178
  return /*#__PURE__*/ _react.default.createElement(_components.View, {
179
179
  className: classes,
180
180
  style: props.style,
181
- catchMove: true,
181
+ catchMove: props.catchMove,
182
182
  onTouchStart: handleTouchStart,
183
183
  onTouchMove: handleTouchMove,
184
184
  onTouchEnd: handleTouchEnd
@@ -1,4 +1,5 @@
1
1
  import { BasePullToRefresh } from './base';
2
2
  export interface TaroPullToRefreshProps extends BasePullToRefresh {
3
3
  scrollTop: number;
4
+ catchMove: boolean;
4
5
  }
@@ -163,7 +163,7 @@ export var CalendarItem = /*#__PURE__*/ React.forwardRef(function(props, ref) {
163
163
  if (yearNum > 0) {
164
164
  monthNum += 12 * yearNum;
165
165
  }
166
- if (monthNum <= 0) {
166
+ if (monthNum < 0) {
167
167
  monthNum = 1;
168
168
  }
169
169
  setMonthsNum(monthNum);
@@ -166,7 +166,7 @@ export var PullToRefresh = function(p) {
166
166
  return /*#__PURE__*/ React.createElement(View, {
167
167
  className: classes,
168
168
  style: props.style,
169
- catchMove: true,
169
+ catchMove: props.catchMove,
170
170
  onTouchStart: handleTouchStart,
171
171
  onTouchMove: handleTouchMove,
172
172
  onTouchEnd: handleTouchEnd
@@ -1,4 +1,5 @@
1
1
  import { BasePullToRefresh } from './base';
2
2
  export interface TaroPullToRefreshProps extends BasePullToRefresh {
3
3
  scrollTop: number;
4
+ catchMove: boolean;
4
5
  }
@@ -7418,7 +7418,7 @@
7418
7418
  if (yearNum > 0) {
7419
7419
  monthNum += 12 * yearNum;
7420
7420
  }
7421
- if (monthNum <= 0) {
7421
+ if (monthNum < 0) {
7422
7422
  monthNum = 1;
7423
7423
  }
7424
7424
  setMonthsNum(monthNum);
@@ -16724,7 +16724,7 @@
16724
16724
  return /* @__PURE__ */ React.createElement(components.View, {
16725
16725
  className: classes,
16726
16726
  style: props.style,
16727
- catchMove: true,
16727
+ catchMove: props.catchMove,
16728
16728
  onTouchStart: handleTouchStart,
16729
16729
  onTouchMove: handleTouchMove,
16730
16730
  onTouchEnd: handleTouchEnd