@nutui/nutui-react 2.7.12 → 2.7.13

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,9 +1,8 @@
1
1
  # v2.7.12
2
- `2025-03-28`
3
-
4
2
 
5
- * :sparkles: feat: 构建主题的css文件 (#3133)
3
+ `2025-03-28`
6
4
 
5
+ - :sparkles: feat: 构建主题的css文件 (#3133)
7
6
 
8
7
  # v2.7.11
9
8
 
@@ -11,7 +11,7 @@ const TabPane = (props) => {
11
11
  const classes = classNames(classPrefix, {
12
12
  active: !disabled && props.active
13
13
  }, autoHeightClassName, className);
14
- return children && React__default.createElement("div", { className: classes }, !disabled && children);
14
+ return children ? React__default.createElement("div", { className: classes }, !disabled && children) : null;
15
15
  };
16
16
  export {
17
17
  TabPane as default
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui-react v2.7.12 Fri Mar 28 2025 17:51:39 GMT+0800 (China Standard Time)
2
+ * @nutui/nutui-react-taro v2.7.13 Thu Apr 03 2025 16:01:31 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.7.12 Fri Mar 28 2025 17:51:39 GMT+0800 (China Standard Time)
2
+ * @nutui/nutui-react-taro v2.7.13 Thu Apr 03 2025 16:01:31 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.7.12 Fri Mar 28 2025 17:51:39 GMT+0800 (China Standard Time)
2
+ * @nutui/nutui-react-taro v2.7.13 Thu Apr 03 2025 16:01:31 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.7.12 Fri Mar 28 2025 17:51:39 GMT+0800 (China Standard Time)
2
+ * @nutui/nutui-react-taro v2.7.13 Thu Apr 03 2025 16:01:31 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.7.12 Fri Mar 28 2025 17:51:39 GMT+0800 (China Standard Time)
2
+ * @nutui/nutui-react-taro v2.7.13 Thu Apr 03 2025 16:01:31 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.7.12 Fri Mar 28 2025 17:51:39 GMT+0800 (China Standard Time)
2
+ * @nutui/nutui-react-taro v2.7.13 Thu Apr 03 2025 16:01:31 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.7.12 Fri Mar 28 2025 17:51:39 GMT+0800 (China Standard Time)
2
+ * @nutui/nutui-react-taro v2.7.13 Thu Apr 03 2025 16:01:31 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.7.12 Fri Mar 28 2025 17:50:50 GMT+0800 (China Standard Time)
2
+ * @nutui/nutui-react-taro v2.7.13 Thu Apr 03 2025 16:01:04 GMT+0800 (China Standard Time)
3
3
  * (c) 2023 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -9208,7 +9208,7 @@ const TabPane = (props) => {
9208
9208
  autoHeightClassName,
9209
9209
  className
9210
9210
  );
9211
- return children && /* @__PURE__ */ React__default.createElement("div", { className: classes }, !disabled && children);
9211
+ return children ? /* @__PURE__ */ React__default.createElement("div", { className: classes }, !disabled && children) : null;
9212
9212
  };
9213
9213
  const defaultProps$18 = {
9214
9214
  ...ComponentDefaults,
@@ -2,7 +2,7 @@
2
2
  typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("react"), require("react-dom")) : typeof define === "function" && define.amd ? define(["exports", "react", "react-dom"], factory) : (global2 = typeof globalThis !== "undefined" ? globalThis : global2 || self, factory(global2.nutui = {}, global2.React, global2.ReactDOM));
3
3
  })(this, function(exports2, React, ReactDOM) {
4
4
  "use strict";/*!
5
- * @nutui/nutui-react v2.7.12 Fri Mar 28 2025 17:50:50 GMT+0800 (China Standard Time)
5
+ * @nutui/nutui-react-taro v2.7.13 Thu Apr 03 2025 16:01:04 GMT+0800 (China Standard Time)
6
6
  * (c) 2023 @jdf2e.
7
7
  * Released under the MIT License.
8
8
  */
@@ -9226,7 +9226,7 @@
9226
9226
  autoHeightClassName,
9227
9227
  className
9228
9228
  );
9229
- return children && /* @__PURE__ */ React.createElement("div", { className: classes }, !disabled && children);
9229
+ return children ? /* @__PURE__ */ React.createElement("div", { className: classes }, !disabled && children) : null;
9230
9230
  };
9231
9231
  const defaultProps$18 = {
9232
9232
  ...ComponentDefaults,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nutui/nutui-react",
3
- "version": "2.7.12",
3
+ "version": "2.7.13",
4
4
  "style": "dist/style.css",
5
5
  "main": "dist/nutui.react.umd.js",
6
6
  "module": "dist/esm/nutui-react.es.js",
@@ -8,6 +8,7 @@
8
8
  "sideEffects": [
9
9
  "*.scss",
10
10
  "dist/esm/**/style/*",
11
+ "dist/styles/*",
11
12
  "dist/style.css",
12
13
  "dist/styles/font/*",
13
14
  "dist/styles/font-jmapp/*"