@lemon-fe/components 1.4.14-alpha.2 → 1.4.15-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.
@@ -16,7 +16,7 @@ export declare type SelectEditorParams = Pick<SelectProps<any, BaseOptionType>,
16
16
  */
17
17
  action?: 'next' | 'stop' | 'none';
18
18
  };
19
- declare const _default: React.ForwardRefExoticComponent<ICellEditorParams<any, any, any> & Pick<SelectProps<any, BaseOptionType>, "disabled" | "allowClear" | "mode" | "showSearch" | "optionFilterProp" | "options" | "virtual" | "listHeight"> & {
19
+ declare const _default: React.ForwardRefExoticComponent<ICellEditorParams<any, any, any> & Pick<SelectProps<any, BaseOptionType>, "disabled" | "allowClear" | "mode" | "showSearch" | "virtual" | "optionFilterProp" | "options" | "listHeight"> & {
20
20
  fieldNames?: {
21
21
  label: string;
22
22
  value: string;
@@ -12,5 +12,5 @@ declare const Modal: Pick<React.FC<AntdModalProps> & import("antd/lib/modal/conf
12
12
  useModal: typeof import("antd/lib/modal/useModal").default;
13
13
  destroyAll: () => void;
14
14
  config: typeof import("antd/lib/modal/confirm").modalGlobalConfig;
15
- }, "warning" | "error" | "success" | "info" | "warn" | "confirm" | "useModal" | "destroyAll" | "config"> & typeof LemonModal;
15
+ }, "warning" | "error" | "success" | "info" | "warn" | "confirm" | "useModal" | "config" | "destroyAll"> & typeof LemonModal;
16
16
  export default Modal;
@@ -115,7 +115,7 @@ export default function SiderTree(props) {
115
115
  if (addedNodes.has(node)) {
116
116
  return;
117
117
  }
118
- parent = node.parent ? map.get(node.parent) : undefined;
118
+ parent = node.parent !== undefined ? map.get(node.parent) : undefined;
119
119
  if (parent) {
120
120
  parent.children = parent.children || [];
121
121
  parent.children.push(node);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lemon-fe/components",
3
- "version": "1.4.14-alpha.2",
3
+ "version": "1.4.15-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": "a28302dbd6045eceae1f473b0d09583b7d737303"
61
+ "gitHead": "c53c6796b18cca8adbddb18ce4e2f6fa81b48e53"
62
62
  }