@nutui/nutui-react-taro 3.0.3-beta.1 → 3.0.4

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.
@@ -428,4 +428,4 @@ var _index100 = /*#__PURE__*/ _interop_require_default._(_export_star._(require(
428
428
  var _index101 = /*#__PURE__*/ _interop_require_default._(_export_star._(require("./timeselect/index"), exports));
429
429
  var _index102 = /*#__PURE__*/ _interop_require_default._(_export_star._(require("./trendarrow/index"), exports));
430
430
  var _index103 = /*#__PURE__*/ _interop_require_default._(_export_star._(require("./watermark/index"), exports));
431
- _export_star._(require("@/types"), exports);
431
+ _export_star._(require("../types"), exports);
@@ -136,7 +136,7 @@ var SideBar = function SideBar(props) {
136
136
  });
137
137
  index = index < 0 ? 0 : index;
138
138
  return {
139
- transform: "translate3d( 0,-".concat(index * 100, "%, 0)"),
139
+ transform: "translateY(-".concat(index * 100, "%)"),
140
140
  transitionDuration: "".concat(contentDuration, "ms")
141
141
  };
142
142
  };
@@ -169,7 +169,6 @@ var SideBar = function SideBar(props) {
169
169
  className: "".concat(classPrefix, "-list"),
170
170
  ref: navRef
171
171
  }, titles.current.map(function(item, index) {
172
- var _obj;
173
172
  return /*#__PURE__*/ _react.default.createElement(_components.View, {
174
173
  ref: function ref(ref) {
175
174
  return titleItemsRef.current.push(ref);
@@ -178,10 +177,10 @@ var SideBar = function SideBar(props) {
178
177
  onClick: function onClick(e) {
179
178
  tabChange(item, index);
180
179
  },
181
- className: (0, _classnames.default)("".concat(classPrefix, "-titles-item"), (_obj = {}, (0, _define_property._)(_obj, "".concat(classPrefix, "-titles-item-active"), !item.disabled && String(item.value) === String(value)), (0, _define_property._)(_obj, "".concat(classPrefix, "-titles-item-disabled"), item.disabled), _obj)),
180
+ className: (0, _classnames.default)("".concat(classPrefix, "-titles-item"), (0, _define_property._)({}, "".concat(classPrefix, "-titles-item-active"), !item.disabled && String(item.value) === String(value))),
182
181
  key: item.value
183
182
  }, /*#__PURE__*/ _react.default.createElement(_components.View, {
184
- className: (0, _classnames.default)("".concat(classPrefix, "-ellipsis"), "".concat(classPrefix, "-titles-item-text"))
183
+ className: (0, _classnames.default)("".concat(classPrefix, "-ellipsis"), "".concat(classPrefix, "-titles-item-text"), (0, _define_property._)({}, "".concat(classPrefix, "-titles-item-disabled"), item.disabled))
185
184
  }, item.title));
186
185
  }))), /*#__PURE__*/ _react.default.createElement(_components.View, {
187
186
  className: "".concat(classPrefix, "-content-wrap")
@@ -206,5 +206,5 @@ import TrendArrow from "./trendarrow/index";
206
206
  export * from "./trendarrow/index";
207
207
  import WaterMark from "./watermark/index";
208
208
  export * from "./watermark/index";
209
- export * from "@/types";
209
+ export * from "../types";
210
210
  export { Button, Cell, CellGroup, ConfigProvider, Image, Overlay, Divider, Grid, GridItem, Layout, Col, Row, SafeArea, Space, Sticky, BackTop, Elevator, FixedNav, HoverButton, HoverButtonItem, NavBar, SideBar, SideBarItem, Tabbar, TabbarItem, TabPane, Tabs, Address, Calendar, CalendarItem, CalendarCard, Cascader, Checkbox, CheckboxGroup, DatePicker, DatePickerView, Form, FormItem, Input, InputNumber, Menu, MenuItem, NumberKeyboard, Picker, PickerView, Radio, RadioGroup, Range, Rate, SearchBar, ShortPassword, Signature, Switch, TextArea, Uploader, ActionSheet, Badge, Dialog, Drag, Empty, InfiniteLoading, Loading, NoticeBar, Notify, Popover, Popup, PullToRefresh, ResultPage, Skeleton, Swipe, Toast, Animate, AnimatingNumbers, Audio, Avatar, AvatarGroup, CircleProgress, Collapse, CollapseItem, CountDown, Ellipsis, ImagePreview, Indicator, Lottie, Pagination, Price, Progress, Segmented, Step, Steps, Swiper, SwiperItem, Table, Tag, Tour, Video, VirtualList, AvatarCropper, Barrage, Card, TimeDetail, TimeSelect, TrendArrow, WaterMark };
@@ -124,7 +124,7 @@ export var SideBar = function(props) {
124
124
  });
125
125
  index = index < 0 ? 0 : index;
126
126
  return {
127
- transform: "translate3d( 0,-".concat(index * 100, "%, 0)"),
127
+ transform: "translateY(-".concat(index * 100, "%)"),
128
128
  transitionDuration: "".concat(contentDuration, "ms")
129
129
  };
130
130
  };
@@ -157,7 +157,6 @@ export var SideBar = function(props) {
157
157
  className: "".concat(classPrefix, "-list"),
158
158
  ref: navRef
159
159
  }, titles.current.map(function(item, index) {
160
- var _obj;
161
160
  return /*#__PURE__*/ React.createElement(View, {
162
161
  ref: function(ref) {
163
162
  return titleItemsRef.current.push(ref);
@@ -166,10 +165,10 @@ export var SideBar = function(props) {
166
165
  onClick: function(e) {
167
166
  tabChange(item, index);
168
167
  },
169
- className: classNames("".concat(classPrefix, "-titles-item"), (_obj = {}, _define_property(_obj, "".concat(classPrefix, "-titles-item-active"), !item.disabled && String(item.value) === String(value)), _define_property(_obj, "".concat(classPrefix, "-titles-item-disabled"), item.disabled), _obj)),
168
+ className: classNames("".concat(classPrefix, "-titles-item"), _define_property({}, "".concat(classPrefix, "-titles-item-active"), !item.disabled && String(item.value) === String(value))),
170
169
  key: item.value
171
170
  }, /*#__PURE__*/ React.createElement(View, {
172
- className: classNames("".concat(classPrefix, "-ellipsis"), "".concat(classPrefix, "-titles-item-text"))
171
+ className: classNames("".concat(classPrefix, "-ellipsis"), "".concat(classPrefix, "-titles-item-text"), _define_property({}, "".concat(classPrefix, "-titles-item-disabled"), item.disabled))
173
172
  }, item.title));
174
173
  }))), /*#__PURE__*/ React.createElement(View, {
175
174
  className: "".concat(classPrefix, "-content-wrap")
@@ -4830,7 +4830,7 @@
4830
4830
  });
4831
4831
  index2 = index2 < 0 ? 0 : index2;
4832
4832
  return {
4833
- transform: "translate3d( 0,-".concat(index2 * 100, "%, 0)"),
4833
+ transform: "translateY(-".concat(index2 * 100, "%)"),
4834
4834
  transitionDuration: "".concat(contentDuration, "ms")
4835
4835
  };
4836
4836
  };
@@ -4863,7 +4863,6 @@
4863
4863
  className: "".concat(classPrefix$l, "-list"),
4864
4864
  ref: navRef
4865
4865
  }, titles.current.map(function(item, index2) {
4866
- var _obj;
4867
4866
  return /* @__PURE__ */ React.createElement(components.View, {
4868
4867
  ref: function(ref) {
4869
4868
  return titleItemsRef.current.push(ref);
@@ -4872,10 +4871,10 @@
4872
4871
  onClick: function(e) {
4873
4872
  tabChange(item);
4874
4873
  },
4875
- className: classNames("".concat(classPrefix$l, "-titles-item"), (_obj = {}, _define_property(_obj, "".concat(classPrefix$l, "-titles-item-active"), !item.disabled && String(item.value) === String(value2)), _define_property(_obj, "".concat(classPrefix$l, "-titles-item-disabled"), item.disabled), _obj)),
4874
+ className: classNames("".concat(classPrefix$l, "-titles-item"), _define_property({}, "".concat(classPrefix$l, "-titles-item-active"), !item.disabled && String(item.value) === String(value2))),
4876
4875
  key: item.value
4877
4876
  }, /* @__PURE__ */ React.createElement(components.View, {
4878
- className: classNames("".concat(classPrefix$l, "-ellipsis"), "".concat(classPrefix$l, "-titles-item-text"))
4877
+ className: classNames("".concat(classPrefix$l, "-ellipsis"), "".concat(classPrefix$l, "-titles-item-text"), _define_property({}, "".concat(classPrefix$l, "-titles-item-disabled"), item.disabled))
4879
4878
  }, item.title));
4880
4879
  }))), /* @__PURE__ */ React.createElement(components.View, {
4881
4880
  className: "".concat(classPrefix$l, "-content-wrap")