assui 3.1.59 → 3.1.60
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/es/table-col/demo/index.less +8 -0
- package/es/table-col/index.js +2 -1
- package/es/table-col/style/index.css +3 -0
- package/es/table-col/style/index.d.ts +1 -1
- package/es/table-col/style/index.js +1 -0
- package/es/table-col/style/index.less +5 -0
- package/lib/table-col/demo/index.less +8 -0
- package/lib/table-col/index.js +2 -1
- package/lib/table-col/style/index.css +3 -0
- package/lib/table-col/style/index.d.ts +1 -1
- package/lib/table-col/style/index.js +6 -0
- package/lib/table-col/style/index.less +5 -0
- package/package.json +2 -2
package/es/table-col/index.js
CHANGED
|
@@ -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;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import './index.less';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
package/lib/table-col/index.js
CHANGED
|
@@ -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;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import './index.less';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "assui",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.60",
|
|
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": "
|
|
83
|
+
"gitHead": "004de3d80594f82f62678d8183c8d5dc0fcb3bb0"
|
|
84
84
|
}
|