@lax-wp/design-system 0.3.44 → 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.
@@ -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 */
@@ -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 */
@@ -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
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lax-wp/design-system",
3
3
  "private": false,
4
- "version": "0.3.44",
4
+ "version": "0.3.45",
5
5
  "type": "module",
6
6
  "main": "dist/index.umd.js",
7
7
  "module": "dist/index.es.js",