@lemon-fe/components 1.4.15 → 1.4.17-alpha.0
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/data-grid/index.d.ts +1 -1
- package/es/data-grid/index.js +1 -1
- package/es/data-grid/index.less +2 -1
- package/es/icons/collapse.d.ts +5 -0
- package/es/icons/collapse.js +17 -0
- package/es/icons/expand.d.ts +5 -0
- package/es/icons/expand.js +17 -0
- package/es/icons/index.d.ts +4 -0
- package/es/icons/index.js +5 -1
- package/package.json +2 -2
package/es/data-grid/index.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ declare const Editors: {
|
|
|
17
17
|
Text: React.ForwardRefExoticComponent<import("ag-grid-community").ICellEditorParams<any, any, any> & import("..").TextEditorParams<any> & React.RefAttributes<import("ag-grid-react").ICellEditorReactComp>>;
|
|
18
18
|
Date: React.ForwardRefExoticComponent<import("ag-grid-community").ICellEditorParams<any, any, any> & import("..").DateEditorParams<any> & React.RefAttributes<import("ag-grid-react").ICellEditorReactComp>>;
|
|
19
19
|
Number: React.ForwardRefExoticComponent<import("ag-grid-community").ICellEditorParams<any, any, any> & import("..").NumberEditorParams<any> & React.RefAttributes<import("ag-grid-react").ICellEditorReactComp>>;
|
|
20
|
-
Select: React.ForwardRefExoticComponent<import("ag-grid-community").ICellEditorParams<any, any, any> & Pick<import("antd").SelectProps<any, import("antd/lib/select").BaseOptionType>, "disabled" | "
|
|
20
|
+
Select: React.ForwardRefExoticComponent<import("ag-grid-community").ICellEditorParams<any, any, any> & Pick<import("antd").SelectProps<any, import("antd/lib/select").BaseOptionType>, "disabled" | "mode" | "virtual" | "allowClear" | "showSearch" | "optionFilterProp" | "options" | "listHeight"> & {
|
|
21
21
|
fieldNames?: {
|
|
22
22
|
label: string;
|
|
23
23
|
value: string;
|
package/es/data-grid/index.js
CHANGED
|
@@ -1817,7 +1817,7 @@ var InternalDataGrid = /*#__PURE__*/function (_Component) {
|
|
|
1817
1817
|
suppressExcelExport: true,
|
|
1818
1818
|
noRowsOverlayComponent: this.NoRowsOverlay,
|
|
1819
1819
|
getMainMenuItems: this.getMainMenuItems,
|
|
1820
|
-
rowBuffer:
|
|
1820
|
+
rowBuffer: 25,
|
|
1821
1821
|
rowData: this.emptyRowData,
|
|
1822
1822
|
sideBar: sideBarProp === true ? this.sideBarDef : sideBarProp,
|
|
1823
1823
|
pinnedBottomRowData: this.getSummaryRowData(summary),
|
package/es/data-grid/index.less
CHANGED
|
@@ -552,7 +552,7 @@
|
|
|
552
552
|
--ag-header-column-resize-handle-display: block;
|
|
553
553
|
--ag-header-column-resize-handle-width: 1px;
|
|
554
554
|
--ag-header-column-resize-handle-height: 12px;
|
|
555
|
-
--ag-header-column-resize-handle-color: #
|
|
555
|
+
--ag-header-column-resize-handle-color: #a8aebb;
|
|
556
556
|
--ag-cell-horizontal-padding: 8px;
|
|
557
557
|
--ag-icon-font-family: 'agGridAlpine';
|
|
558
558
|
// --ag-selected-row-background-color: ~'var(--@{ant-prefix}-primary-1)';
|
|
@@ -569,6 +569,7 @@
|
|
|
569
569
|
|
|
570
570
|
.ag-header {
|
|
571
571
|
border-bottom: none;
|
|
572
|
+
--ag-border-color: #c8cbd1;
|
|
572
573
|
}
|
|
573
574
|
|
|
574
575
|
.ag-root-wrapper {
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from '@ant-design/icons';
|
|
4
|
+
var Svg = function Svg(props) {
|
|
5
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
6
|
+
viewBox: "0 0 16 16",
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
8
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
9
|
+
d: "M10.167 5.5v4.861a.667.667 0 1 0 1.333 0V5.5h1.018a.5.5 0 0 0 .332-.874L11.166 3.13a.5.5 0 0 0-.665 0L8.816 4.626a.5.5 0 0 0 .332.874h1.019Zm-7.5 7.833h10.666a.667.667 0 1 0 0-1.333H2.667a.667.667 0 1 0 0 1.333ZM7 4a.667.667 0 0 0-.667-.667H2.667a.667.667 0 1 0 0 1.334h3.666A.667.667 0 0 0 7 4Zm0 4.167a.667.667 0 0 0-.667-.667H2.667a.667.667 0 1 0 0 1.333h3.666A.667.667 0 0 0 7 8.167Z",
|
|
10
|
+
fillRule: "evenodd"
|
|
11
|
+
}));
|
|
12
|
+
};
|
|
13
|
+
export default function Collapse(props) {
|
|
14
|
+
return /*#__PURE__*/React.createElement(Icon, _extends({
|
|
15
|
+
component: Svg
|
|
16
|
+
}, props));
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from '@ant-design/icons';
|
|
4
|
+
var Svg = function Svg(props) {
|
|
5
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
6
|
+
viewBox: "0 0 16 16",
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
8
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
9
|
+
d: "M10.167 10.5V5.639a.667.667 0 1 1 1.333 0V10.5h1.018a.5.5 0 0 1 .332.874l-1.684 1.497a.5.5 0 0 1-.665 0l-1.685-1.497a.5.5 0 0 1 .332-.874h1.019Zm-7.5-7.833h10.666a.667.667 0 1 1 0 1.333H2.667a.667.667 0 1 1 0-1.333ZM7 12a.667.667 0 0 1-.667.667H2.667a.667.667 0 1 1 0-1.334h3.666c.369 0 .667.299.667.667Zm0-4.167a.667.667 0 0 1-.667.667H2.667a.667.667 0 1 1 0-1.333h3.666c.369 0 .667.298.667.666Z",
|
|
10
|
+
fillRule: "evenodd"
|
|
11
|
+
}));
|
|
12
|
+
};
|
|
13
|
+
export default function Expand(props) {
|
|
14
|
+
return /*#__PURE__*/React.createElement(Icon, _extends({
|
|
15
|
+
component: Svg
|
|
16
|
+
}, props));
|
|
17
|
+
}
|
package/es/icons/index.d.ts
CHANGED
|
@@ -6,11 +6,13 @@ import Clear from './clear';
|
|
|
6
6
|
import Clock from './clock';
|
|
7
7
|
import Close from './close';
|
|
8
8
|
import CloseLight from './close-light';
|
|
9
|
+
import Collapse from './collapse';
|
|
9
10
|
import CollapseUp from './collapse-up';
|
|
10
11
|
import DarkSearch from './dark-search';
|
|
11
12
|
import Delete from './delete';
|
|
12
13
|
import Down from './down';
|
|
13
14
|
import Drag from './drag';
|
|
15
|
+
import Expand from './expand';
|
|
14
16
|
import LookUp from './look-up';
|
|
15
17
|
import More from './more';
|
|
16
18
|
import NewTag from './new-tag';
|
|
@@ -43,5 +45,7 @@ declare const Icons: {
|
|
|
43
45
|
Drag: typeof Drag;
|
|
44
46
|
Plus: typeof Plus;
|
|
45
47
|
Warn: typeof Warn;
|
|
48
|
+
Collapse: typeof Collapse;
|
|
49
|
+
Expand: typeof Expand;
|
|
46
50
|
};
|
|
47
51
|
export default Icons;
|
package/es/icons/index.js
CHANGED
|
@@ -5,12 +5,14 @@ import Clear from "./clear";
|
|
|
5
5
|
import Clock from "./clock";
|
|
6
6
|
import Close from "./close";
|
|
7
7
|
import CloseLight from "./close-light";
|
|
8
|
+
import Collapse from "./collapse";
|
|
8
9
|
import CollapseUp from "./collapse-up";
|
|
9
10
|
import DarkSearch from "./dark-search";
|
|
10
11
|
import Delete from "./delete";
|
|
11
12
|
import Down from "./down";
|
|
12
13
|
import Drag from "./drag";
|
|
13
14
|
import Empty from "./empty";
|
|
15
|
+
import Expand from "./expand";
|
|
14
16
|
import LookUp from "./look-up";
|
|
15
17
|
import More from "./more";
|
|
16
18
|
import NewTag from "./new-tag";
|
|
@@ -42,6 +44,8 @@ var Icons = {
|
|
|
42
44
|
NewTag: NewTag,
|
|
43
45
|
Drag: Drag,
|
|
44
46
|
Plus: Plus,
|
|
45
|
-
Warn: Warn
|
|
47
|
+
Warn: Warn,
|
|
48
|
+
Collapse: Collapse,
|
|
49
|
+
Expand: Expand
|
|
46
50
|
};
|
|
47
51
|
export default Icons;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lemon-fe/components",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.17-alpha.0",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"license": "MIT",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"publishConfig": {
|
|
59
59
|
"registry": "https://registry.npmjs.org"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "f6be5d166796ba535cd2759db280a58be898f27f"
|
|
62
62
|
}
|