@lax-wp/design-system 0.3.45 → 0.3.46

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.
@@ -11,10 +11,10 @@ export interface RiskDetails {
11
11
  [key: string]: any;
12
12
  }
13
13
  /**
14
- * Risk details card component props
14
+ * Risk details card component props - generic to allow consumer-specific risk types
15
15
  */
16
16
  export interface RiskDetailsCardProps<T = any> {
17
- riskDetails: RiskDetails;
17
+ riskDetails: T;
18
18
  maxWidth?: string;
19
19
  showAllRisksSuggestions?: boolean;
20
20
  }
@@ -10,10 +10,10 @@ export interface RiskDetails {
10
10
  [key: string]: any;
11
11
  }
12
12
  /**
13
- * Risk details card component props
13
+ * Risk details card component props - generic to allow consumer-specific risk types
14
14
  */
15
15
  export interface RiskDetailsCardProps<T = any> {
16
- riskDetails: RiskDetails;
16
+ riskDetails: T;
17
17
  maxWidth?: string;
18
18
  showAllRisksSuggestions?: boolean;
19
19
  }
@@ -10,10 +10,10 @@ export interface RiskDetails {
10
10
  [key: string]: any;
11
11
  }
12
12
  /**
13
- * Risk details card component props
13
+ * Risk details card component props - generic to allow consumer-specific risk types
14
14
  */
15
15
  export interface RiskDetailsCardProps<T = any> {
16
- riskDetails: RiskDetails;
16
+ riskDetails: T;
17
17
  maxWidth?: string;
18
18
  showAllRisksSuggestions?: boolean;
19
19
  }
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.45",
4
+ "version": "0.3.46",
5
5
  "type": "module",
6
6
  "main": "dist/index.umd.js",
7
7
  "module": "dist/index.es.js",