assui 3.1.59 → 3.1.61

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.
@@ -0,0 +1,8 @@
1
+ .table-col-cls {
2
+ background-color: red;
3
+ }
4
+
5
+ .align-center {
6
+ text-align: 'center';
7
+ background-color: 'pink';
8
+ }
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import classNames from 'classnames';
2
3
  var TableCol = function TableCol(_a) {
3
4
  var children = _a.children,
4
5
  width = _a.width,
@@ -7,7 +8,7 @@ var TableCol = function TableCol(_a) {
7
8
  style: {
8
9
  width: "".concat(width, "px")
9
10
  },
10
- className: className
11
+ className: classNames('a-table-col', className)
11
12
  }, children);
12
13
  };
13
14
  export default TableCol;
@@ -0,0 +1,3 @@
1
+ .a-table-col {
2
+ display: inline-block;
3
+ }
@@ -1 +1 @@
1
-
1
+ import './index.less';
@@ -0,0 +1 @@
1
+ import './index.less';
@@ -0,0 +1,5 @@
1
+ @import '../../style/variables.less';
2
+
3
+ .a-table-col {
4
+ display: inline-block;
5
+ }
@@ -0,0 +1,8 @@
1
+ .table-col-cls {
2
+ background-color: red;
3
+ }
4
+
5
+ .align-center {
6
+ text-align: 'center';
7
+ background-color: 'pink';
8
+ }
@@ -9,6 +9,7 @@ Object.defineProperty(exports, "__esModule", {
9
9
  value: true
10
10
  });
11
11
  var react_1 = __importDefault(require("react"));
12
+ var classnames_1 = __importDefault(require("classnames"));
12
13
  var TableCol = function TableCol(_a) {
13
14
  var children = _a.children,
14
15
  width = _a.width,
@@ -17,7 +18,7 @@ var TableCol = function TableCol(_a) {
17
18
  style: {
18
19
  width: "".concat(width, "px")
19
20
  },
20
- className: className
21
+ className: (0, classnames_1["default"])('a-table-col', className)
21
22
  }, children);
22
23
  };
23
24
  exports["default"] = TableCol;
@@ -0,0 +1,3 @@
1
+ .a-table-col {
2
+ display: inline-block;
3
+ }
@@ -1 +1 @@
1
-
1
+ import './index.less';
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ require("./index.less");
@@ -0,0 +1,5 @@
1
+ @import '../../style/variables.less';
2
+
3
+ .a-table-col {
4
+ display: inline-block;
5
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "assui",
3
- "version": "3.1.59",
3
+ "version": "3.1.61",
4
4
  "description": "react ui library",
5
5
  "author": "jason <usochen@gmail.com>",
6
6
  "main": "./lib/index.js",
@@ -36,7 +36,7 @@
36
36
  "@types/react-color": "^3.0.6",
37
37
  "@types/react-resizable": "^3.0.0",
38
38
  "a-icons": "^1.1.62",
39
- "aa-utils": "^2.1.23",
39
+ "aa-utils": "^2.1.24",
40
40
  "ahooks": "^3.0.8",
41
41
  "bignumber.js": "^9.0.1",
42
42
  "copy-to-clipboard": "^3.3.1",
@@ -80,5 +80,5 @@
80
80
  "node": ">=10.0.0"
81
81
  },
82
82
  "license": "MIT",
83
- "gitHead": "71d9787c866d6d86563d56940f9fde1784c14011"
83
+ "gitHead": "961f09fb509b6443877433e48fbb012605fc971a"
84
84
  }