@nutui/nutui-react-taro 2.6.1 → 2.6.3

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 (49) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/esm/Address/style/style.css +1 -1
  3. package/dist/esm/Address.js +1 -1
  4. package/dist/esm/Badge/style/style.css +1 -1
  5. package/dist/esm/Cascader/style/style.css +1 -1
  6. package/dist/esm/Cascader.js +1 -1
  7. package/dist/esm/Cell/style/style.css +1 -1
  8. package/dist/esm/CellGroup/style/style.css +1 -1
  9. package/dist/esm/DatePicker.js +1 -1
  10. package/dist/esm/Ellipsis.js +1 -1
  11. package/dist/esm/FixedNav/style/style.css +1 -1
  12. package/dist/esm/Form/style/style.css +1 -1
  13. package/dist/esm/InputNumber.js +1 -1
  14. package/dist/esm/NavBar/style/style.css +1 -1
  15. package/dist/esm/Signature.js +1 -1
  16. package/dist/esm/TabPane/style/style.css +1 -1
  17. package/dist/esm/Tabbar/style/style.css +1 -1
  18. package/dist/esm/TabbarItem/style/style.css +1 -1
  19. package/dist/esm/Tabs/style/style.css +1 -1
  20. package/dist/esm/Tabs.js +1 -1
  21. package/dist/esm/{address.taro-C7tIIp3x.js → address.taro-C_wuRkKQ.js} +1 -1
  22. package/dist/esm/{cascader.taro-CFcAyFL-.js → cascader.taro-B06E-RW5.js} +1 -1
  23. package/dist/esm/{datepicker.taro-Bgq3ZNDe.js → datepicker.taro-DEwb5whP.js} +13 -5
  24. package/dist/esm/{ellipsis.taro-uVc3En9l.js → ellipsis.taro-3gDXpBmX.js} +1 -1
  25. package/dist/esm/{inputnumber.taro-CQiAPZgS.js → inputnumber.taro-HU_Ndna2.js} +1 -1
  26. package/dist/esm/nutui-react.es.js +7 -7
  27. package/dist/esm/{signature.taro-KPm_xs66.js → signature.taro-Bn9VNn62.js} +0 -1
  28. package/dist/esm/{tabs.taro-A7pOK9IM.js → tabs.taro-B4XgogPx.js} +9 -6
  29. package/dist/locales/base.js +1 -1
  30. package/dist/locales/en-US.js +1 -1
  31. package/dist/locales/id-ID.js +1 -1
  32. package/dist/locales/tr-TR.js +1 -1
  33. package/dist/locales/zh-CN.js +1 -1
  34. package/dist/locales/zh-TW.js +1 -1
  35. package/dist/locales/zh-UG.js +1 -1
  36. package/dist/nutui.react.es.js +30 -14
  37. package/dist/nutui.react.umd.js +30 -14
  38. package/dist/packages/badge/badge.scss +1 -1
  39. package/dist/packages/cellgroup/cellgroup.scss +1 -1
  40. package/dist/packages/fixednav/fixednav.scss +4 -2
  41. package/dist/packages/navbar/navbar.scss +1 -0
  42. package/dist/packages/tabpane/tabpane.scss +1 -1
  43. package/dist/style.css +1 -1
  44. package/dist/style.mjs +1 -1
  45. package/dist/styles/theme-jmapp.scss +97 -10
  46. package/dist/styles/variables-jmapp.scss +111 -103
  47. package/dist/styles/variables.scss +3 -0
  48. package/dist/types/packages/configprovider/types.d.ts +1 -1
  49. package/package.json +1 -1
@@ -23,18 +23,18 @@ import { S as S6 } from "./subsidenavbar.taro-ByxYpgfP.js";
23
23
  import { T } from "./tabbar.taro-CVp3ZaqP.js";
24
24
  import { T as T2 } from "./tabbaritem.taro-C_90fvMh.js";
25
25
  import { T as T3 } from "./tabpane.taro-BAe86j3t.js";
26
- import { T as T4 } from "./tabs.taro-A7pOK9IM.js";
27
- import { A } from "./address.taro-C7tIIp3x.js";
26
+ import { T as T4 } from "./tabs.taro-B4XgogPx.js";
27
+ import { A } from "./address.taro-C_wuRkKQ.js";
28
28
  import { C as C5 } from "./calendar.taro-DEsLc-lS.js";
29
29
  import { C as C6 } from "./calendaritem.taro-B8tN2DYa.js";
30
30
  import { C as C7 } from "./calendarcard.taro-C7P3oqAL.js";
31
- import { C as C8 } from "./cascader.taro-CFcAyFL-.js";
31
+ import { C as C8 } from "./cascader.taro-B06E-RW5.js";
32
32
  import { C as C9, a as a2 } from "./checkbox.taro-CUpF7Afr.js";
33
- import { D as D2 } from "./datepicker.taro-Bgq3ZNDe.js";
33
+ import { D as D2 } from "./datepicker.taro-DEwb5whP.js";
34
34
  import { default as default2 } from "./Form.js";
35
35
  import { F as F2 } from "./formitem.taro-DDNlpN_O.js";
36
36
  import { I as I2 } from "./input.taro-CAZ-rRMH.js";
37
- import { I as I3 } from "./inputnumber.taro-CQiAPZgS.js";
37
+ import { I as I3 } from "./inputnumber.taro-HU_Ndna2.js";
38
38
  import { M } from "./menu.taro-J7oZoaGM.js";
39
39
  import { M as M2 } from "./menuitem.taro-CaI5vTha.js";
40
40
  import { N as N2 } from "./numberkeyboard.taro-DjxjkImT.js";
@@ -44,7 +44,7 @@ import { R as R3 } from "./range.taro-CsC41L60.js";
44
44
  import { R as R4 } from "./rate.taro-BABLqt4h.js";
45
45
  import { S as S7 } from "./searchbar.taro-PfVx6o-6.js";
46
46
  import { S as S8 } from "./shortpassword.taro-GkcE-e__.js";
47
- import { S as S9 } from "./signature.taro-KPm_xs66.js";
47
+ import { S as S9 } from "./signature.taro-Bn9VNn62.js";
48
48
  import { S as S10 } from "./switch.taro-D1HgJoJz.js";
49
49
  import { T as T5 } from "./textarea.taro-BJIFCpKb.js";
50
50
  import { U } from "./uploader.taro-DMmTl0Cp.js";
@@ -72,7 +72,7 @@ import { C as C10 } from "./circleprogress.taro-CKSrzt8Q.js";
72
72
  import { C as C11 } from "./collapse.taro-BM0BsN30.js";
73
73
  import { C as C12 } from "./collapseitem.taro-D_m4VEdG.js";
74
74
  import { C as C13 } from "./countdown.taro-wopKr1Il.js";
75
- import { E as E3 } from "./ellipsis.taro-uVc3En9l.js";
75
+ import { E as E3 } from "./ellipsis.taro-3gDXpBmX.js";
76
76
  import { I as I5 } from "./imagepreview.taro-BMlwAhT0.js";
77
77
  import { I as I6 } from "./indicator.taro-CpHZtD9p.js";
78
78
  import { P as P5 } from "./pagination.taro-DAK6ddag.js";
@@ -55,7 +55,6 @@ const InternalSignature = (props, ref) => {
55
55
  fileType: props.type,
56
56
  canvasId: `${canvasId}`,
57
57
  success: (res2) => {
58
- handleClearBtn();
59
58
  onConfirm && onConfirm(res2.tempFilePath);
60
59
  },
61
60
  fail: (res2) => {
@@ -1,5 +1,5 @@
1
1
  import { _ as __rest } from "./tslib.es6-BZ8i9Q6l.js";
2
- import React__default, { useState, useRef, useEffect } from "react";
2
+ import React__default, { useRef, useEffect, useState } from "react";
3
3
  import { View, ScrollView } from "@tarojs/components";
4
4
  import classNames from "classnames";
5
5
  import { JoySmile } from "@nutui/icons-react-taro";
@@ -23,7 +23,6 @@ const Tabs = (props) => {
23
23
  finalValue: 0,
24
24
  onChange
25
25
  });
26
- const [contentStyle, setContentStyle] = useState({});
27
26
  const titleItemsRef = useRef([]);
28
27
  const navRef = useRef(null);
29
28
  const getTitles = () => {
@@ -129,13 +128,17 @@ const Tabs = (props) => {
129
128
  });
130
129
  });
131
130
  };
132
- useEffect(() => {
131
+ const getContentStyle = () => {
133
132
  let index = titles.current.findIndex((t) => String(t.value) === String(value));
134
133
  index = index < 0 ? 0 : index;
135
- setContentStyle({
134
+ return {
136
135
  transform: direction === "horizontal" ? `translate3d(${rtl ? "" : "-"}${index * 100}%, 0, 0)` : `translate3d( 0,-${index * 100}%, 0)`,
137
136
  transitionDuration: `${duration}ms`
138
- });
137
+ };
138
+ };
139
+ useEffect(() => {
140
+ let index = titles.current.findIndex((t) => String(t.value) === String(value));
141
+ index = index < 0 ? 0 : index;
139
142
  scrollIntoView(index);
140
143
  }, [value]);
141
144
  const tabChange = (item, index) => {
@@ -176,7 +179,7 @@ const Tabs = (props) => {
176
179
  React__default.createElement(
177
180
  View,
178
181
  { className: `${classPrefix}-content-wrap` },
179
- React__default.createElement(View, { className: `${classPrefix}-content`, style: contentStyle }, React__default.Children.map(children, (child, idx) => {
182
+ React__default.createElement(View, { className: `${classPrefix}-content`, style: getContentStyle() }, React__default.Children.map(children, (child, idx) => {
180
183
  if (!React__default.isValidElement(child)) {
181
184
  return null;
182
185
  }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui-react-taro v2.6.1 Fri Apr 19 2024 14:47:41 GMT+0800 (China Standard Time)
2
+ * @nutui/nutui-react-taro v2.6.3 Tue Apr 30 2024 14:13:52 GMT+0800 (China Standard Time)
3
3
  * (c) 2023 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui-react-taro v2.6.1 Fri Apr 19 2024 14:47:41 GMT+0800 (China Standard Time)
2
+ * @nutui/nutui-react-taro v2.6.3 Tue Apr 30 2024 14:13:52 GMT+0800 (China Standard Time)
3
3
  * (c) 2023 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui-react-taro v2.6.1 Fri Apr 19 2024 14:47:41 GMT+0800 (China Standard Time)
2
+ * @nutui/nutui-react-taro v2.6.3 Tue Apr 30 2024 14:13:52 GMT+0800 (China Standard Time)
3
3
  * (c) 2023 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui-react-taro v2.6.1 Fri Apr 19 2024 14:47:41 GMT+0800 (China Standard Time)
2
+ * @nutui/nutui-react-taro v2.6.3 Tue Apr 30 2024 14:13:52 GMT+0800 (China Standard Time)
3
3
  * (c) 2023 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui-react-taro v2.6.1 Fri Apr 19 2024 14:47:41 GMT+0800 (China Standard Time)
2
+ * @nutui/nutui-react-taro v2.6.3 Tue Apr 30 2024 14:13:52 GMT+0800 (China Standard Time)
3
3
  * (c) 2023 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui-react-taro v2.6.1 Fri Apr 19 2024 14:47:41 GMT+0800 (China Standard Time)
2
+ * @nutui/nutui-react-taro v2.6.3 Tue Apr 30 2024 14:13:52 GMT+0800 (China Standard Time)
3
3
  * (c) 2023 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui-react-taro v2.6.1 Fri Apr 19 2024 14:47:41 GMT+0800 (China Standard Time)
2
+ * @nutui/nutui-react-taro v2.6.3 Tue Apr 30 2024 14:13:52 GMT+0800 (China Standard Time)
3
3
  * (c) 2023 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui-react-taro v2.6.1 Fri Apr 19 2024 14:47:10 GMT+0800 (China Standard Time)
2
+ * @nutui/nutui-react-taro v2.6.3 Tue Apr 30 2024 14:13:14 GMT+0800 (China Standard Time)
3
3
  * (c) 2023 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -5256,7 +5256,6 @@ const Tabs = (props) => {
5256
5256
  finalValue: 0,
5257
5257
  onChange
5258
5258
  });
5259
- const [contentStyle, setContentStyle] = useState({});
5260
5259
  const titleItemsRef = useRef([]);
5261
5260
  const navRef = useRef(null);
5262
5261
  const getTitles = () => {
@@ -5366,15 +5365,21 @@ const Tabs = (props) => {
5366
5365
  });
5367
5366
  });
5368
5367
  };
5369
- useEffect(() => {
5368
+ const getContentStyle = () => {
5370
5369
  let index = titles.current.findIndex(
5371
5370
  (t) => String(t.value) === String(value)
5372
5371
  );
5373
5372
  index = index < 0 ? 0 : index;
5374
- setContentStyle({
5373
+ return {
5375
5374
  transform: direction === "horizontal" ? `translate3d(${rtl ? "" : "-"}${index * 100}%, 0, 0)` : `translate3d( 0,-${index * 100}%, 0)`,
5376
5375
  transitionDuration: `${duration}ms`
5377
- });
5376
+ };
5377
+ };
5378
+ useEffect(() => {
5379
+ let index = titles.current.findIndex(
5380
+ (t) => String(t.value) === String(value)
5381
+ );
5382
+ index = index < 0 ? 0 : index;
5378
5383
  scrollIntoView(index);
5379
5384
  }, [value]);
5380
5385
  const tabChange = (item, index) => {
@@ -5446,7 +5451,7 @@ const Tabs = (props) => {
5446
5451
  )
5447
5452
  );
5448
5453
  }))
5449
- ), /* @__PURE__ */ React__default.createElement(View, { className: `${classPrefix$k}-content-wrap` }, /* @__PURE__ */ React__default.createElement(View, { className: `${classPrefix$k}-content`, style: contentStyle }, React__default.Children.map(children, (child, idx) => {
5454
+ ), /* @__PURE__ */ React__default.createElement(View, { className: `${classPrefix$k}-content-wrap` }, /* @__PURE__ */ React__default.createElement(View, { className: `${classPrefix$k}-content`, style: getContentStyle() }, React__default.Children.map(children, (child, idx) => {
5450
5455
  if (!React__default.isValidElement(child)) {
5451
5456
  return null;
5452
5457
  }
@@ -8619,10 +8624,23 @@ const DatePicker = (props) => {
8619
8624
  return result;
8620
8625
  }
8621
8626
  };
8622
- const compareDateChange = (currentDate, newDate) => {
8627
+ const compareDateChange = (currentDate, newDate, selectedOptions, index) => {
8623
8628
  var _a;
8624
8629
  const isEqual = ((_a = new Date(currentDate)) == null ? void 0 : _a.getTime()) === (newDate == null ? void 0 : newDate.getTime());
8625
- newDate && isDate(newDate) && !isEqual && setSelectedDate(formatValue(newDate));
8630
+ if (newDate && isDate(newDate)) {
8631
+ if (!isEqual) {
8632
+ setSelectedDate(formatValue(newDate));
8633
+ }
8634
+ props.onChange && props.onChange(
8635
+ selectedOptions,
8636
+ [
8637
+ String(newDate.getFullYear()),
8638
+ String(newDate.getMonth() + 1),
8639
+ String(newDate.getDate())
8640
+ ],
8641
+ index
8642
+ );
8643
+ }
8626
8644
  };
8627
8645
  const handlePickerChange = (selectedOptions, selectedValue, index) => {
8628
8646
  const rangeType = type4.toLocaleLowerCase();
@@ -8663,7 +8681,7 @@ const DatePicker = (props) => {
8663
8681
  } else if (rangeType === "datehour") {
8664
8682
  date4 = new Date(year, month, day, Number(formatDate[3]));
8665
8683
  }
8666
- compareDateChange(selectedDate, date4);
8684
+ compareDateChange(selectedDate, date4, selectedOptions, index);
8667
8685
  } else {
8668
8686
  const [hour, minute, seconds] = selectedValue;
8669
8687
  const currentDate = new Date(selectedDate);
@@ -8678,9 +8696,8 @@ const DatePicker = (props) => {
8678
8696
  Number(minute),
8679
8697
  rangeType === "time" ? Number(seconds) : 0
8680
8698
  );
8681
- compareDateChange(selectedDate, date4);
8699
+ compareDateChange(selectedDate, date4, selectedOptions, index);
8682
8700
  }
8683
- props.onChange && props.onChange(selectedOptions, selectedValue, index);
8684
8701
  };
8685
8702
  const formatOption = (type22, value) => {
8686
8703
  if (formatter) {
@@ -10541,7 +10558,7 @@ const InputNumber = (props) => {
10541
10558
  ...defaultProps$W,
10542
10559
  ...props
10543
10560
  };
10544
- const classes = classNames(classPrefix$h, {
10561
+ const classes = classNames(classPrefix$h, className, {
10545
10562
  [`${classPrefix$h}-disabled`]: disabled
10546
10563
  });
10547
10564
  const [focused, setFocused] = useState(false);
@@ -12261,7 +12278,6 @@ const InternalSignature = (props, ref) => {
12261
12278
  fileType: props.type,
12262
12279
  canvasId: `${canvasId}`,
12263
12280
  success: (res2) => {
12264
- handleClearBtn();
12265
12281
  onConfirm && onConfirm(res2.tempFilePath);
12266
12282
  },
12267
12283
  fail: (res2) => {
@@ -16547,7 +16563,7 @@ const Ellipsis = (props) => {
16547
16563
  bsize * 0.4,
16548
16564
  bsize * 0.75
16549
16565
  ];
16550
- if (rootContain.current) {
16566
+ if (rootContain.current && rootContain.current.style) {
16551
16567
  rootContain.current.style.fontSize = `${bsize}px`;
16552
16568
  }
16553
16569
  calcEllipse();
@@ -2,7 +2,7 @@
2
2
  typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("react"), require("@tarojs/taro"), require("@tarojs/components"), require("react-dom")) : typeof define === "function" && define.amd ? define(["exports", "react", "@tarojs/taro", "@tarojs/components", "react-dom"], factory) : (global2 = typeof globalThis !== "undefined" ? globalThis : global2 || self, factory((global2.nutui = global2.nutui || {}, global2.nutui.react = {}), global2.React, global2.Taro, global2.components, global2.ReactDOM));
3
3
  })(this, function(exports2, React, Taro, components, ReactDOM) {
4
4
  "use strict";/*!
5
- * @nutui/nutui-react-taro v2.6.1 Fri Apr 19 2024 14:47:10 GMT+0800 (China Standard Time)
5
+ * @nutui/nutui-react-taro v2.6.3 Tue Apr 30 2024 14:13:14 GMT+0800 (China Standard Time)
6
6
  * (c) 2023 @jdf2e.
7
7
  * Released under the MIT License.
8
8
  */
@@ -5272,7 +5272,6 @@
5272
5272
  finalValue: 0,
5273
5273
  onChange
5274
5274
  });
5275
- const [contentStyle, setContentStyle] = React.useState({});
5276
5275
  const titleItemsRef = React.useRef([]);
5277
5276
  const navRef = React.useRef(null);
5278
5277
  const getTitles = () => {
@@ -5382,15 +5381,21 @@
5382
5381
  });
5383
5382
  });
5384
5383
  };
5385
- React.useEffect(() => {
5384
+ const getContentStyle = () => {
5386
5385
  let index = titles.current.findIndex(
5387
5386
  (t) => String(t.value) === String(value)
5388
5387
  );
5389
5388
  index = index < 0 ? 0 : index;
5390
- setContentStyle({
5389
+ return {
5391
5390
  transform: direction === "horizontal" ? `translate3d(${rtl ? "" : "-"}${index * 100}%, 0, 0)` : `translate3d( 0,-${index * 100}%, 0)`,
5392
5391
  transitionDuration: `${duration}ms`
5393
- });
5392
+ };
5393
+ };
5394
+ React.useEffect(() => {
5395
+ let index = titles.current.findIndex(
5396
+ (t) => String(t.value) === String(value)
5397
+ );
5398
+ index = index < 0 ? 0 : index;
5394
5399
  scrollIntoView(index);
5395
5400
  }, [value]);
5396
5401
  const tabChange = (item, index) => {
@@ -5462,7 +5467,7 @@
5462
5467
  )
5463
5468
  );
5464
5469
  }))
5465
- ), /* @__PURE__ */ React.createElement(components.View, { className: `${classPrefix$k}-content-wrap` }, /* @__PURE__ */ React.createElement(components.View, { className: `${classPrefix$k}-content`, style: contentStyle }, React.Children.map(children, (child, idx) => {
5470
+ ), /* @__PURE__ */ React.createElement(components.View, { className: `${classPrefix$k}-content-wrap` }, /* @__PURE__ */ React.createElement(components.View, { className: `${classPrefix$k}-content`, style: getContentStyle() }, React.Children.map(children, (child, idx) => {
5466
5471
  if (!React.isValidElement(child)) {
5467
5472
  return null;
5468
5473
  }
@@ -8635,10 +8640,23 @@
8635
8640
  return result;
8636
8641
  }
8637
8642
  };
8638
- const compareDateChange = (currentDate, newDate) => {
8643
+ const compareDateChange = (currentDate, newDate, selectedOptions, index) => {
8639
8644
  var _a;
8640
8645
  const isEqual = ((_a = new Date(currentDate)) == null ? void 0 : _a.getTime()) === (newDate == null ? void 0 : newDate.getTime());
8641
- newDate && isDate(newDate) && !isEqual && setSelectedDate(formatValue(newDate));
8646
+ if (newDate && isDate(newDate)) {
8647
+ if (!isEqual) {
8648
+ setSelectedDate(formatValue(newDate));
8649
+ }
8650
+ props.onChange && props.onChange(
8651
+ selectedOptions,
8652
+ [
8653
+ String(newDate.getFullYear()),
8654
+ String(newDate.getMonth() + 1),
8655
+ String(newDate.getDate())
8656
+ ],
8657
+ index
8658
+ );
8659
+ }
8642
8660
  };
8643
8661
  const handlePickerChange = (selectedOptions, selectedValue, index) => {
8644
8662
  const rangeType = type2.toLocaleLowerCase();
@@ -8679,7 +8697,7 @@
8679
8697
  } else if (rangeType === "datehour") {
8680
8698
  date2 = new Date(year, month, day, Number(formatDate[3]));
8681
8699
  }
8682
- compareDateChange(selectedDate, date2);
8700
+ compareDateChange(selectedDate, date2, selectedOptions, index);
8683
8701
  } else {
8684
8702
  const [hour, minute, seconds] = selectedValue;
8685
8703
  const currentDate = new Date(selectedDate);
@@ -8694,9 +8712,8 @@
8694
8712
  Number(minute),
8695
8713
  rangeType === "time" ? Number(seconds) : 0
8696
8714
  );
8697
- compareDateChange(selectedDate, date2);
8715
+ compareDateChange(selectedDate, date2, selectedOptions, index);
8698
8716
  }
8699
- props.onChange && props.onChange(selectedOptions, selectedValue, index);
8700
8717
  };
8701
8718
  const formatOption = (type22, value) => {
8702
8719
  if (formatter) {
@@ -10557,7 +10574,7 @@
10557
10574
  ...defaultProps$W,
10558
10575
  ...props
10559
10576
  };
10560
- const classes = classNames(classPrefix$h, {
10577
+ const classes = classNames(classPrefix$h, className, {
10561
10578
  [`${classPrefix$h}-disabled`]: disabled
10562
10579
  });
10563
10580
  const [focused, setFocused] = React.useState(false);
@@ -12277,7 +12294,6 @@
12277
12294
  fileType: props.type,
12278
12295
  canvasId: `${canvasId}`,
12279
12296
  success: (res2) => {
12280
- handleClearBtn();
12281
12297
  onConfirm && onConfirm(res2.tempFilePath);
12282
12298
  },
12283
12299
  fail: (res2) => {
@@ -16563,7 +16579,7 @@
16563
16579
  bsize * 0.4,
16564
16580
  bsize * 0.75
16565
16581
  ];
16566
- if (rootContain.current) {
16582
+ if (rootContain.current && rootContain.current.style) {
16567
16583
  rootContain.current.style.fontSize = `${bsize}px`;
16568
16584
  }
16569
16585
  calcEllipse();
@@ -55,7 +55,7 @@
55
55
  &-dot {
56
56
  width: $badge-dot-width;
57
57
  height: $badge-dot-width;
58
- border: $badge-border;
58
+ border: $badge-dot-border;
59
59
  border-radius: $badge-dot-width;
60
60
  padding: 0;
61
61
  }
@@ -26,7 +26,7 @@
26
26
  border-radius: $cell-border-radius;
27
27
  overflow: hidden;
28
28
  background-color: $cell-group-background-color;
29
- margin: 10px 0;
29
+ margin: $cell-group-wrap-margin;
30
30
 
31
31
  .nut-cell {
32
32
  margin: 0;
@@ -7,8 +7,10 @@
7
7
  right: 0;
8
8
 
9
9
  &.active {
10
- .nut-icon {
11
- transform: rotate(180deg);
10
+ .nut-fixednav-btn{
11
+ .nut-icon {
12
+ transform: rotate(180deg);
13
+ }
12
14
  }
13
15
 
14
16
  .nut-fixednav-list {
@@ -129,6 +129,7 @@
129
129
  flex: 1;
130
130
  justify-content: flex-start;
131
131
  padding: 0 8px;
132
+ text-align: left;
132
133
  }
133
134
  }
134
135
  }
@@ -4,7 +4,7 @@
4
4
  display: block;
5
5
  background-color: $color-background-overlay;
6
6
  color: $color-title;
7
- padding: 24px 20px;
7
+ padding: $tabs-tabpane-padding;
8
8
  box-sizing: border-box;
9
9
  overflow: auto;
10
10