@veevarts/design-system 2.19.0 → 2.20.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.
@@ -9,6 +9,8 @@ export interface MetaCardRowProps {
9
9
  label: string;
10
10
  /** Associates the caption with the control it labels. */
11
11
  htmlFor?: string;
12
+ /** Marks the caption with a red asterisk; pair it with the control's own required state. */
13
+ required?: boolean;
12
14
  children: ReactNode;
13
15
  className?: string;
14
16
  'data-testid'?: string;
@@ -11,6 +11,7 @@ export interface ReasonSelectProps {
11
11
  value: string | null;
12
12
  onChange: (id: string) => void;
13
13
  error?: string;
14
+ isRequired?: boolean;
14
15
  labels?: ReasonSelectLabels;
15
16
  className?: string;
16
17
  'data-testid'?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@veevarts/design-system",
3
3
  "private": false,
4
- "version": "2.19.0",
4
+ "version": "2.20.0",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",