dtable-ui-component 4.3.2 → 4.3.3
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,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './dtable-select-label.css';
|
|
3
|
+
function DTableSelectLabel(_ref) {
|
|
4
|
+
var classname = _ref.classname,
|
|
5
|
+
name = _ref.name,
|
|
6
|
+
isSelect = _ref.isSelect;
|
|
7
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
8
|
+
className: "".concat(classname, " w-100 d-flex justify-content-between")
|
|
9
|
+
}, /*#__PURE__*/React.createElement("span", null, name), isSelect && /*#__PURE__*/React.createElement("div", {
|
|
10
|
+
className: "dtable-select-check-icon"
|
|
11
|
+
}, /*#__PURE__*/React.createElement("i", {
|
|
12
|
+
className: "dtable-font dtable-icon-check-mark"
|
|
13
|
+
})));
|
|
14
|
+
}
|
|
15
|
+
DTableSelectLabel.defaultProps = {
|
|
16
|
+
classname: '',
|
|
17
|
+
name: '',
|
|
18
|
+
isSelect: false
|
|
19
|
+
};
|
|
20
|
+
export default DTableSelectLabel;
|
package/lib/index.js
CHANGED
|
@@ -61,6 +61,7 @@ export { default as LinkEditor } from './LinkEditor';
|
|
|
61
61
|
export { default as DTablePopover } from './DTablePopover';
|
|
62
62
|
export { default as NotificationPopover } from './NotificationPopover';
|
|
63
63
|
export { default as DTableSelect } from './DTableSelect';
|
|
64
|
+
export { default as DTableSelectLabel } from './DTableSelect/dtable-select-label';
|
|
64
65
|
export { default as DTableSwitch } from './DTableSwitch';
|
|
65
66
|
export { default as DTableCustomizeSelect } from './DTableCustomizeSelect';
|
|
66
67
|
export { default as DTableCustomizeCollaboratorSelect } from './DTableCustomizeCollaboratorSelect';
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dtable-ui-component",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.3",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@seafile/react-image-lightbox": "2.0.5",
|
|
7
7
|
"@seafile/seafile-calendar": "0.0.24",
|
|
8
|
-
"@seafile/seafile-editor": "0.3.
|
|
8
|
+
"@seafile/seafile-editor": "0.3.140",
|
|
9
9
|
"antd-mobile": "2.3.1",
|
|
10
10
|
"bail": "1.0.5",
|
|
11
11
|
"classnames": "^2.3.2",
|
|
12
12
|
"dayjs": "1.10.7",
|
|
13
13
|
"deepmerge": "^2.1.0",
|
|
14
|
-
"dtable-utils": "4.3.
|
|
14
|
+
"dtable-utils": "4.3.5",
|
|
15
15
|
"glamor": "^2.20.40",
|
|
16
16
|
"hast-util-sanitize": "^1.1.2",
|
|
17
17
|
"hast-util-to-html": "3.1.0",
|