@lax-wp/design-system 0.3.43 → 0.3.45
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.
|
@@ -13,7 +13,7 @@ export interface RiskDetails {
|
|
|
13
13
|
/**
|
|
14
14
|
* Risk details card component props
|
|
15
15
|
*/
|
|
16
|
-
export interface RiskDetailsCardProps {
|
|
16
|
+
export interface RiskDetailsCardProps<T = any> {
|
|
17
17
|
riskDetails: RiskDetails;
|
|
18
18
|
maxWidth?: string;
|
|
19
19
|
showAllRisksSuggestions?: boolean;
|
|
@@ -88,7 +88,7 @@ export interface CurrencyInputFieldProps {
|
|
|
88
88
|
/** Whether risk analysis is open */
|
|
89
89
|
isRiskAnalysisOpen?: boolean;
|
|
90
90
|
/** Custom risk details card component */
|
|
91
|
-
RiskDetailsCard?: React.ComponentType<RiskDetailsCardProps
|
|
91
|
+
RiskDetailsCard?: React.ComponentType<RiskDetailsCardProps<any>>;
|
|
92
92
|
/** Translation function */
|
|
93
93
|
t?: (key: string) => string;
|
|
94
94
|
/** Function to get flag component for currency */
|
|
@@ -12,7 +12,7 @@ export interface RiskDetails {
|
|
|
12
12
|
/**
|
|
13
13
|
* Risk details card component props
|
|
14
14
|
*/
|
|
15
|
-
export interface RiskDetailsCardProps {
|
|
15
|
+
export interface RiskDetailsCardProps<T = any> {
|
|
16
16
|
riskDetails: RiskDetails;
|
|
17
17
|
maxWidth?: string;
|
|
18
18
|
showAllRisksSuggestions?: boolean;
|
|
@@ -83,7 +83,7 @@ export interface DynamicDataInputFieldProps {
|
|
|
83
83
|
/** Whether risk analysis is open */
|
|
84
84
|
isRiskAnalysisOpen?: boolean;
|
|
85
85
|
/** Custom risk details card component */
|
|
86
|
-
RiskDetailsCard?: React.ComponentType<RiskDetailsCardProps
|
|
86
|
+
RiskDetailsCard?: React.ComponentType<RiskDetailsCardProps<any>>;
|
|
87
87
|
/** Primary color shades for styling */
|
|
88
88
|
primaryColorShades?: Record<number, string>;
|
|
89
89
|
/** Translation function */
|
|
@@ -12,7 +12,7 @@ export interface RiskDetails {
|
|
|
12
12
|
/**
|
|
13
13
|
* Risk details card component props
|
|
14
14
|
*/
|
|
15
|
-
export interface RiskDetailsCardProps {
|
|
15
|
+
export interface RiskDetailsCardProps<T = any> {
|
|
16
16
|
riskDetails: RiskDetails;
|
|
17
17
|
maxWidth?: string;
|
|
18
18
|
showAllRisksSuggestions?: boolean;
|
|
@@ -85,7 +85,7 @@ export interface PercentageInputFieldProps {
|
|
|
85
85
|
/** Whether risk analysis is open */
|
|
86
86
|
isRiskAnalysisOpen?: boolean;
|
|
87
87
|
/** Custom risk details card component */
|
|
88
|
-
RiskDetailsCard?: React.ComponentType<RiskDetailsCardProps
|
|
88
|
+
RiskDetailsCard?: React.ComponentType<RiskDetailsCardProps<any>>;
|
|
89
89
|
/** Translation function */
|
|
90
90
|
t?: (key: string) => string;
|
|
91
91
|
}
|