assui 3.1.50 → 3.1.51

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,9 @@
1
- import * as React from 'react';
2
- export declare type Size = string | number;
3
- export declare type Split = 'vertical' | 'horizontal';
4
- export declare type SplitPaneProps = {
1
+ /// <reference types="react" />
2
+ import SplitPane, { SplitPaneProps, Size, Split, SplitPaneState, PaneProps, Pane } from 'react-split-pane';
3
+ export { SplitPaneProps, Size, Split, SplitPaneState, PaneProps, Pane };
4
+ export default SplitPane;
5
+ /** 只做描述 */
6
+ export declare type SplitPaneDescProps = {
5
7
  /**
6
8
  * 是否允许拖动
7
9
  * @default true
@@ -55,5 +57,3 @@ export declare type SplitPaneProps = {
55
57
  /** 拖动固定步进值 */
56
58
  step?: number;
57
59
  };
58
- declare const _default: (props: SplitPaneProps) => JSX.Element;
59
- export default _default;
@@ -1,17 +1,3 @@
1
- var __assign = this && this.__assign || function () {
2
- __assign = Object.assign || function (t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) {
6
- if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
7
- }
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- import * as React from 'react';
14
- import SplitPane from 'react-split-pane';
15
- export default (function (props) {
16
- return /*#__PURE__*/React.createElement(SplitPane, __assign({}, props));
17
- });
1
+ import SplitPane, { Pane } from 'react-split-pane';
2
+ export { Pane };
3
+ export default SplitPane;
@@ -1,7 +1,9 @@
1
- import * as React from 'react';
2
- export declare type Size = string | number;
3
- export declare type Split = 'vertical' | 'horizontal';
4
- export declare type SplitPaneProps = {
1
+ /// <reference types="react" />
2
+ import SplitPane, { SplitPaneProps, Size, Split, SplitPaneState, PaneProps, Pane } from 'react-split-pane';
3
+ export { SplitPaneProps, Size, Split, SplitPaneState, PaneProps, Pane };
4
+ export default SplitPane;
5
+ /** 只做描述 */
6
+ export declare type SplitPaneDescProps = {
5
7
  /**
6
8
  * 是否允许拖动
7
9
  * @default true
@@ -55,5 +57,3 @@ export declare type SplitPaneProps = {
55
57
  /** 拖动固定步进值 */
56
58
  step?: number;
57
59
  };
58
- declare const _default: (props: SplitPaneProps) => JSX.Element;
59
- export default _default;
@@ -1,17 +1,5 @@
1
1
  "use strict";
2
2
 
3
- var __assign = this && this.__assign || function () {
4
- __assign = Object.assign || function (t) {
5
- for (var s, i = 1, n = arguments.length; i < n; i++) {
6
- s = arguments[i];
7
- for (var p in s) {
8
- if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
9
- }
10
- }
11
- return t;
12
- };
13
- return __assign.apply(this, arguments);
14
- };
15
3
  var __createBinding = this && this.__createBinding || (Object.create ? function (o, m, k, k2) {
16
4
  if (k2 === undefined) k2 = k;
17
5
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -45,16 +33,15 @@ var __importStar = this && this.__importStar || function (mod) {
45
33
  __setModuleDefault(result, mod);
46
34
  return result;
47
35
  };
48
- var __importDefault = this && this.__importDefault || function (mod) {
49
- return mod && mod.__esModule ? mod : {
50
- "default": mod
51
- };
52
- };
53
36
  Object.defineProperty(exports, "__esModule", {
54
37
  value: true
55
38
  });
56
- var React = __importStar(require("react"));
57
- var react_split_pane_1 = __importDefault(require("react-split-pane"));
58
- exports["default"] = function (props) {
59
- return React.createElement(react_split_pane_1["default"], __assign({}, props));
60
- };
39
+ exports.Pane = void 0;
40
+ var react_split_pane_1 = __importStar(require("react-split-pane"));
41
+ Object.defineProperty(exports, "Pane", {
42
+ enumerable: true,
43
+ get: function get() {
44
+ return react_split_pane_1.Pane;
45
+ }
46
+ });
47
+ exports["default"] = react_split_pane_1["default"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "assui",
3
- "version": "3.1.50",
3
+ "version": "3.1.51",
4
4
  "description": "react ui library",
5
5
  "author": "jason <usochen@gmail.com>",
6
6
  "main": "./lib/index.js",
@@ -80,5 +80,5 @@
80
80
  "node": ">=10.0.0"
81
81
  },
82
82
  "license": "MIT",
83
- "gitHead": "bf41a61bc29c0515cb310670dab1790cdc94c35e"
83
+ "gitHead": "aa1a2e37c50a8f7fe0e4dc0e497b231343298067"
84
84
  }