synos-helena 21.13.1-beta.1 → 21.13.2
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/CHANGELOG.md +9 -1
- package/lib/dark.css +2 -0
- package/lib/dark.css.map +1 -0
- package/lib/dark.js +2 -61
- package/lib/dark.js.map +1 -0
- package/lib/helena.css +2 -0
- package/lib/helena.css.map +1 -0
- package/lib/helena.js +2 -61
- package/lib/helena.js.map +1 -0
- package/lib/index.css +2 -0
- package/lib/index.css.map +1 -0
- package/lib/index.d.ts +14 -12
- package/lib/index.js +3 -34398
- package/lib/index.js.LICENSE.txt +70 -0
- package/lib/index.js.map +1 -0
- package/lib/light.css +2 -0
- package/lib/light.css.map +1 -0
- package/lib/light.js +2 -61
- package/lib/light.js.map +1 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
// ../antd/lib/checkbox
|
|
9
9
|
// ../react-syntax-highlighter
|
|
10
10
|
// ../antd/lib/collapse
|
|
11
|
+
// ../HLCollapse
|
|
11
12
|
// util/constants
|
|
12
13
|
// HLInput
|
|
13
14
|
// ../antd/lib/config-provider/SizeContext
|
|
@@ -45,6 +46,7 @@ import { SyntaxHighlighterProps } from 'react-syntax-highlighter';
|
|
|
45
46
|
import { CollapseProps } from 'antd/lib/collapse';
|
|
46
47
|
import { CollapsePanelProps } from 'antd/lib/collapse';
|
|
47
48
|
import React from 'react';
|
|
49
|
+
import { HLCollapsePropTypes } from 'HLCollapse';
|
|
48
50
|
import { DATE_TIME, DATE } from 'src/util/constants';
|
|
49
51
|
import { HLInputPropTypes } from 'src/HLInput';
|
|
50
52
|
import { SizeType } from 'antd/lib/config-provider/SizeContext';
|
|
@@ -117,7 +119,7 @@ export interface HLCardPropTypes {
|
|
|
117
119
|
extra?: string | React.ReactNode;
|
|
118
120
|
loading?: boolean;
|
|
119
121
|
size?: 'default' | 'small';
|
|
120
|
-
type?: 'inner' | 'button';
|
|
122
|
+
type?: 'inner' | 'button' | 'hover';
|
|
121
123
|
cover?: React.ReactNode;
|
|
122
124
|
actions?: React.ReactNode[];
|
|
123
125
|
tabList?: CardTabListType[];
|
|
@@ -167,13 +169,13 @@ export type PanelPropTypes = CollapsePanelProps;
|
|
|
167
169
|
export const Panel: React.FC<PanelPropTypes>;
|
|
168
170
|
|
|
169
171
|
|
|
170
|
-
export
|
|
171
|
-
attributes: string
|
|
172
|
+
export type HLCollapseInfoPanelPropTypes = HLCollapsePropTypes & {
|
|
173
|
+
attributes: Array<{ [key: string]: any } | string>;
|
|
172
174
|
object: any;
|
|
173
175
|
title: React.ReactNode;
|
|
174
176
|
columns?: number;
|
|
175
177
|
isOpen?: boolean;
|
|
176
|
-
}
|
|
178
|
+
};
|
|
177
179
|
|
|
178
180
|
export const HLCollapseInfoPanel: React.FC<HLCollapseInfoPanelPropTypes>;
|
|
179
181
|
|
|
@@ -582,9 +584,9 @@ interface ContextInfo {
|
|
|
582
584
|
}
|
|
583
585
|
|
|
584
586
|
interface Path {
|
|
585
|
-
link
|
|
587
|
+
link?: string;
|
|
586
588
|
title: string;
|
|
587
|
-
icon
|
|
589
|
+
icon?: string;
|
|
588
590
|
}
|
|
589
591
|
|
|
590
592
|
interface BreadcrumbPath {
|
|
@@ -915,7 +917,7 @@ export interface HLCardPropTypes {
|
|
|
915
917
|
extra?: string | React.ReactNode;
|
|
916
918
|
loading?: boolean;
|
|
917
919
|
size?: 'default' | 'small';
|
|
918
|
-
type?: 'inner' | 'button';
|
|
920
|
+
type?: 'inner' | 'button' | 'hover';
|
|
919
921
|
cover?: React.ReactNode;
|
|
920
922
|
actions?: React.ReactNode[];
|
|
921
923
|
tabList?: CardTabListType[];
|
|
@@ -960,13 +962,13 @@ export type HLCollapsePropTypes = CollapseProps;
|
|
|
960
962
|
export const HLCollapse: React.FC<HLCollapsePropTypes> & { Panel: typeof Panel };
|
|
961
963
|
|
|
962
964
|
|
|
963
|
-
export
|
|
964
|
-
attributes: string
|
|
965
|
+
export type HLCollapseInfoPanelPropTypes = HLCollapsePropTypes & {
|
|
966
|
+
attributes: Array<{ [key: string]: any } | string>;
|
|
965
967
|
object: any;
|
|
966
968
|
title: React.ReactNode;
|
|
967
969
|
columns?: number;
|
|
968
970
|
isOpen?: boolean;
|
|
969
|
-
}
|
|
971
|
+
};
|
|
970
972
|
|
|
971
973
|
export const HLCollapseInfoPanel: React.FC<HLCollapseInfoPanelPropTypes>;
|
|
972
974
|
|
|
@@ -1176,9 +1178,9 @@ interface ContextInfo {
|
|
|
1176
1178
|
}
|
|
1177
1179
|
|
|
1178
1180
|
interface Path {
|
|
1179
|
-
link
|
|
1181
|
+
link?: string;
|
|
1180
1182
|
title: string;
|
|
1181
|
-
icon
|
|
1183
|
+
icon?: string;
|
|
1182
1184
|
}
|
|
1183
1185
|
|
|
1184
1186
|
interface BreadcrumbPath {
|