@gingkoo/pandora-explorer 0.0.1-alpha.99 → 0.1.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/lib/es/components/icons/index.d.ts +3 -0
- package/lib/es/components/menu/index.d.ts +1 -0
- package/lib/es/components/menu/menulist.d.ts +0 -1
- package/lib/es/components/select-box/index.d.ts +2 -0
- package/lib/es/components/tree/components/utils/diffUtil.d.ts +0 -1
- package/lib/es/components/tree/index.d.ts +3 -3
- package/lib/es/components/tree/tree-item.d.ts +1 -2
- package/lib/es/css.d.ts +7 -7
- package/lib/es/explorer.d.ts +0 -2
- package/lib/es/index.js +338 -152
- package/lib/es/index.js.map +1 -1
- package/lib/es/store.d.ts +6 -0
- package/lib/es/types.d.ts +18 -3
- package/package.json +4 -5
|
@@ -33,5 +33,8 @@ export declare function SuffixIcon({ className, suffix, status, }: {
|
|
|
33
33
|
suffix: string;
|
|
34
34
|
status?: 'done' | 'processing';
|
|
35
35
|
}): import("react/jsx-runtime").JSX.Element;
|
|
36
|
+
export declare function StatusIcon({ status }: {
|
|
37
|
+
status: string | React.ReactNode;
|
|
38
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
36
39
|
export declare function UnknownSvg(): import("react/jsx-runtime").JSX.Element;
|
|
37
40
|
export declare function UploadSvg(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -15,6 +15,8 @@ interface SelectBoxProps {
|
|
|
15
15
|
isSelectBoxes: boolean;
|
|
16
16
|
action?: 'stack' | 'rotate';
|
|
17
17
|
checkType?: 'file' | 'folder';
|
|
18
|
+
startDrag: (key: string[]) => void;
|
|
19
|
+
endDrag: () => void;
|
|
18
20
|
onChange: (v: any) => any;
|
|
19
21
|
children: ReactNode;
|
|
20
22
|
onMouseup: (v: any) => void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import './index.less';
|
|
2
2
|
import React, { ReactNode } from 'react';
|
|
3
3
|
export interface TreeItem {
|
|
4
|
-
key
|
|
5
|
-
title
|
|
4
|
+
key?: string;
|
|
5
|
+
title?: string;
|
|
6
6
|
icon?: boolean;
|
|
7
7
|
suffix?: string;
|
|
8
8
|
api?: boolean;
|
|
@@ -39,5 +39,5 @@ export interface TreeProps {
|
|
|
39
39
|
onExpand?: (data: string[]) => void;
|
|
40
40
|
[key: string]: any;
|
|
41
41
|
}
|
|
42
|
-
declare const _default: React.ForwardRefExoticComponent<
|
|
42
|
+
declare const _default: React.ForwardRefExoticComponent<React.RefAttributes<unknown>>;
|
|
43
43
|
export default _default;
|
package/lib/es/css.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export declare const flush: () => void, hydrate: (ids: string
|
|
2
|
-
(template: TemplateStringsArray, ...args: import("@emotion/css/create-instance").CSSInterpolation
|
|
3
|
-
(...args: import("@emotion/css/create-instance").CSSInterpolation
|
|
1
|
+
export declare const flush: () => void, hydrate: (ids: Array<string>) => void, cx: (...classNames: Array<import("@emotion/css/create-instance").ClassNamesArg>) => string, merge: (className: string) => string, getRegisteredStyles: (registeredStyles: Array<string>, className: string) => string, injectGlobal: {
|
|
2
|
+
(template: TemplateStringsArray, ...args: Array<import("@emotion/css/create-instance").CSSInterpolation>): void;
|
|
3
|
+
(...args: Array<import("@emotion/css/create-instance").CSSInterpolation>): void;
|
|
4
4
|
}, keyframes: {
|
|
5
|
-
(template: TemplateStringsArray, ...args: import("@emotion/css/create-instance").CSSInterpolation
|
|
6
|
-
(...args: import("@emotion/css/create-instance").CSSInterpolation
|
|
5
|
+
(template: TemplateStringsArray, ...args: Array<import("@emotion/css/create-instance").CSSInterpolation>): string;
|
|
6
|
+
(...args: Array<import("@emotion/css/create-instance").CSSInterpolation>): string;
|
|
7
7
|
}, css: {
|
|
8
|
-
(template: TemplateStringsArray, ...args: import("@emotion/css/create-instance").CSSInterpolation
|
|
9
|
-
(...args: import("@emotion/css/create-instance").CSSInterpolation
|
|
8
|
+
(template: TemplateStringsArray, ...args: Array<import("@emotion/css/create-instance").CSSInterpolation>): string;
|
|
9
|
+
(...args: Array<import("@emotion/css/create-instance").CSSInterpolation>): string;
|
|
10
10
|
}, sheet: import("@emotion/css/create-instance").CSSStyleSheet, cache: import("@emotion/css/create-instance").EmotionCache;
|
package/lib/es/explorer.d.ts
CHANGED
|
@@ -2,8 +2,6 @@ import './index.less';
|
|
|
2
2
|
import './components/tree/css/index.less';
|
|
3
3
|
import { FC } from 'react';
|
|
4
4
|
import { ExplorerProps } from './types';
|
|
5
|
-
import '@gingkoo/pandora/lib/umd/index.min.css';
|
|
6
|
-
import '@gingkoo/pandora-icons/fonts/css/all.min.css';
|
|
7
5
|
export declare const Icons: (v: any, className: string, style?: any) => import("react/jsx-runtime").JSX.Element;
|
|
8
6
|
declare const Explorer: FC<ExplorerProps>;
|
|
9
7
|
export default Explorer;
|