synos-helena 21.14.0-beta.0 → 21.14.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/index.d.ts CHANGED
@@ -119,7 +119,7 @@ export interface HLCardPropTypes {
119
119
  extra?: string | React.ReactNode;
120
120
  loading?: boolean;
121
121
  size?: 'default' | 'small';
122
- type?: 'inner' | 'button';
122
+ type?: 'inner' | 'button' | 'hover';
123
123
  cover?: React.ReactNode;
124
124
  actions?: React.ReactNode[];
125
125
  tabList?: CardTabListType[];
@@ -365,7 +365,7 @@ export interface HLFromToProps<L, R, T> {
365
365
  onDisassociate: (to?: T | T[]) => void;
366
366
  disabledAssociate?: (fromL?: L | L[], fromR?: R | R[], customL?: string, customR?: string) => boolean;
367
367
  disabledDisassociate?: (to?: T | T[]) => boolean;
368
- permissions?: any;
368
+ permissions?: PermissionsType;
369
369
  }
370
370
 
371
371
  export type HLFromToPanelTypes<P> = {
@@ -585,9 +585,9 @@ interface ContextInfo {
585
585
  }
586
586
 
587
587
  interface Path {
588
- link: string;
588
+ link?: string;
589
589
  title: string;
590
- icon: string;
590
+ icon?: string;
591
591
  }
592
592
 
593
593
  interface BreadcrumbPath {
@@ -918,7 +918,7 @@ export interface HLCardPropTypes {
918
918
  extra?: string | React.ReactNode;
919
919
  loading?: boolean;
920
920
  size?: 'default' | 'small';
921
- type?: 'inner' | 'button';
921
+ type?: 'inner' | 'button' | 'hover';
922
922
  cover?: React.ReactNode;
923
923
  actions?: React.ReactNode[];
924
924
  tabList?: CardTabListType[];
@@ -1086,7 +1086,7 @@ export interface HLFromToProps<L, R, T> {
1086
1086
  onDisassociate: (to?: T | T[]) => void;
1087
1087
  disabledAssociate?: (fromL?: L | L[], fromR?: R | R[], customL?: string, customR?: string) => boolean;
1088
1088
  disabledDisassociate?: (to?: T | T[]) => boolean;
1089
- permissions?: any;
1089
+ permissions?: PermissionsType;
1090
1090
  }
1091
1091
 
1092
1092
  export type HLFromToPanelTypes<P> = {
@@ -1180,9 +1180,9 @@ interface ContextInfo {
1180
1180
  }
1181
1181
 
1182
1182
  interface Path {
1183
- link: string;
1183
+ link?: string;
1184
1184
  title: string;
1185
- icon: string;
1185
+ icon?: string;
1186
1186
  }
1187
1187
 
1188
1188
  interface BreadcrumbPath {