@nutui/nutui-react 2.6.17 → 2.6.18

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,17 +1,32 @@
1
- # v2.6.17
2
- `2024-08-30`
1
+ # v2.6.18
2
+ `2024-09-06`
3
+
4
+
5
+ * 🏡 chore: remove deprecated (#2573)
6
+ * 🏡 chore(deps): update dependency marked to v14 (#2532)
7
+ * :sparkles: feat: demos for popup & dialog (#2574)
8
+ * :sparkles: feat: beforeupload (#2567)
9
+ * :bug: fix: remove icons defaultprops (#2571)
10
+ * :bug: fix(input): type props didnot work when equals number|digit (#2563)
11
+ * :bug: fix: dialog
12
+ * :bug: fix(sticky): should rerender when zIndex changes (#2572)
13
+ * :bug: fix(sticky): rerender sticky when threshold change (#2564)
14
+ * :bug: fix(deps): update dependency jscodeshift to v17 (#2534)
3
15
 
4
16
 
5
- * 🏡 chore(form): form demo (#2528)
6
- * 📖 docs(readme): fix pnpm run dev weapp jd dir (#2514)
7
- * :sparkles: feat(cell): add clickable prop to support click style feedback (#2527)
8
- * :sparkles: feat(image-preview): 增加索引字段,用于预览内容排序 (#2519)
9
- * :bug: fix(tabs.taro.tsx): 解决在不需要滚动的时候,切换tab产生tab位置错乱的问题 (#2554)
10
- * :bug: fix(uploader): beforeUpload should trigger every time before uploading (#2553)
11
- * :bug: fix(PullToRefresh): 修复PullToRefresh组件disabled属性在taro中无效的问题 (#2538)
12
- * :bug: fix(uploader): ios 下无法回显的问题修复 (#2550)
13
- * :bug: fix(uploader): sizeType prop didnot work when weapp || jd (#2526)
17
+ # v2.6.17
18
+
19
+ `2024-08-30`
14
20
 
21
+ - 🏡 chore(form): form demo (#2528)
22
+ - 📖 docs(readme): fix pnpm run dev weapp jd dir (#2514)
23
+ - :sparkles: feat(cell): add clickable prop to support click style feedback (#2527)
24
+ - :sparkles: feat(image-preview): 增加索引字段,用于预览内容排序 (#2519)
25
+ - :bug: fix(tabs.taro.tsx): 解决在不需要滚动的时候,切换tab产生tab位置错乱的问题 (#2554)
26
+ - :bug: fix(uploader): beforeUpload should trigger every time before uploading (#2553)
27
+ - :bug: fix(PullToRefresh): 修复PullToRefresh组件disabled属性在taro中无效的问题 (#2538)
28
+ - :bug: fix(uploader): ios 下无法回显的问题修复 (#2550)
29
+ - :bug: fix(uploader): sizeType prop didnot work when weapp || jd (#2526)
15
30
 
16
31
  # v2.6.16
17
32
 
@@ -38,6 +38,9 @@ const Sticky = (props) => {
38
38
  [position]: `${threshold}px`,
39
39
  zIndex
40
40
  });
41
+ useEffect(() => {
42
+ setStickyStyle(Object.assign(Object.assign({}, stickyStyle), { [position]: `${threshold}px`, zIndex }));
43
+ }, [threshold, position, zIndex]);
41
44
  const [rootStyle, setRootStyle] = useState({});
42
45
  const getElement = useCallback(() => {
43
46
  return getScrollParent(rootRef.current);
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui-react v2.6.17 Fri Aug 30 2024 14:11:49 GMT+0800 (China Standard Time)
2
+ * @nutui/nutui-react v2.6.18 Fri Sep 06 2024 18:47:08 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 v2.6.17 Fri Aug 30 2024 14:11:49 GMT+0800 (China Standard Time)
2
+ * @nutui/nutui-react v2.6.18 Fri Sep 06 2024 18:47:08 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 v2.6.17 Fri Aug 30 2024 14:11:49 GMT+0800 (China Standard Time)
2
+ * @nutui/nutui-react v2.6.18 Fri Sep 06 2024 18:47:08 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 v2.6.17 Fri Aug 30 2024 14:11:49 GMT+0800 (China Standard Time)
2
+ * @nutui/nutui-react v2.6.18 Fri Sep 06 2024 18:47:08 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 v2.6.17 Fri Aug 30 2024 14:11:49 GMT+0800 (China Standard Time)
2
+ * @nutui/nutui-react v2.6.18 Fri Sep 06 2024 18:47:08 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 v2.6.17 Fri Aug 30 2024 14:11:49 GMT+0800 (China Standard Time)
2
+ * @nutui/nutui-react v2.6.18 Fri Sep 06 2024 18:47:08 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 v2.6.17 Fri Aug 30 2024 14:11:49 GMT+0800 (China Standard Time)
2
+ * @nutui/nutui-react v2.6.18 Fri Sep 06 2024 18:47:08 GMT+0800 (China Standard Time)
3
3
  * (c) 2023 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */