@ray-js/smart-ui 2.1.1-beta-6 → 2.1.1

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.
@@ -1,7 +1,7 @@
1
1
  declare const _default: ({ children, inactiveDestroy, active, ...rest }: {
2
2
  [x: string]: any;
3
3
  children: any;
4
- inactiveDestroy: any;
4
+ inactiveDestroy?: boolean;
5
5
  active: any;
6
6
  }) => import("react/jsx-runtime").JSX.Element;
7
7
  export default _default;
package/dist/tabs/Tabs.js CHANGED
@@ -32,7 +32,7 @@ var react_1 = require("react");
32
32
  var withReactProps_1 = require("../common/withReactProps");
33
33
  var TabsComp = (0, withReactProps_1.withReactProps)(index_1["default"]);
34
34
  exports["default"] = (function (_a) {
35
- var children = _a.children, inactiveDestroy = _a.inactiveDestroy, active = _a.active, rest = __rest(_a, ["children", "inactiveDestroy", "active"]);
35
+ var children = _a.children, _b = _a.inactiveDestroy, inactiveDestroy = _b === void 0 ? false : _b, active = _a.active, rest = __rest(_a, ["children", "inactiveDestroy", "active"]);
36
36
  return ((0, jsx_runtime_1.jsx)(TabsComp, __assign({}, rest, { inactiveDestroy: inactiveDestroy, active: active }, { children: children &&
37
37
  react_1.Children.map(children, function (child, index) {
38
38
  var _a, _b;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/smart-ui",
3
- "version": "2.1.1-beta-6",
3
+ "version": "2.1.1",
4
4
  "author": "睦海(李利民)",
5
5
  "description": "轻量、可靠的智能小程序 UI 组件库",
6
6
  "scripts": {