@qasa/qds-ui 0.10.0-next.13 → 0.10.0-next.14

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.
@@ -21,6 +21,10 @@ interface CheckboxOptions {
21
21
  * ```
22
22
  */
23
23
  label: string | ReactElement<unknown>;
24
+ /**
25
+ * Text that provides additional guidance to the user
26
+ */
27
+ helperText?: string;
24
28
  /**
25
29
  * The checked state of the checkbox when it is initially rendered. Use when you do not need to control its checked state.
26
30
  */
@@ -46,6 +50,10 @@ interface CheckboxOptions {
46
50
  * @default false
47
51
  */
48
52
  isInvalid?: boolean;
53
+ /**
54
+ * The error message to display if `isInvalid` is `true`
55
+ */
56
+ errorMessage?: string;
49
57
  /**
50
58
  * If `true` it prevents the user from interacting with the checkbox.
51
59
  * @default false
package/dist/index.d.ts CHANGED
@@ -2475,6 +2475,10 @@ interface CheckboxOptions {
2475
2475
  * ```
2476
2476
  */
2477
2477
  label: string | ReactElement<unknown>;
2478
+ /**
2479
+ * Text that provides additional guidance to the user
2480
+ */
2481
+ helperText?: string;
2478
2482
  /**
2479
2483
  * The checked state of the checkbox when it is initially rendered. Use when you do not need to control its checked state.
2480
2484
  */
@@ -2500,6 +2504,10 @@ interface CheckboxOptions {
2500
2504
  * @default false
2501
2505
  */
2502
2506
  isInvalid?: boolean;
2507
+ /**
2508
+ * The error message to display if `isInvalid` is `true`
2509
+ */
2510
+ errorMessage?: string;
2503
2511
  /**
2504
2512
  * If `true` it prevents the user from interacting with the checkbox.
2505
2513
  * @default false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qasa/qds-ui",
3
- "version": "0.10.0-next.13",
3
+ "version": "0.10.0-next.14",
4
4
  "license": "UNLICENSED",
5
5
  "repository": {
6
6
  "type": "git",