@aws/mynah-ui 4.35.1 → 4.35.2
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.
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/static.d.ts +2 -0
- package/docs/DATAMODEL.md +3 -0
- package/package.json +1 -1
package/dist/static.d.ts
CHANGED
|
@@ -412,6 +412,7 @@ export interface ValidationPattern {
|
|
|
412
412
|
interface BaseFormItem {
|
|
413
413
|
id: string;
|
|
414
414
|
mandatory?: boolean;
|
|
415
|
+
hideMandatoryIcon?: boolean;
|
|
415
416
|
title?: string;
|
|
416
417
|
placeholder?: string;
|
|
417
418
|
value?: string;
|
|
@@ -466,6 +467,7 @@ export interface ListFormItem {
|
|
|
466
467
|
type: 'list';
|
|
467
468
|
id: string;
|
|
468
469
|
mandatory?: boolean;
|
|
470
|
+
hideMandatoryIcon?: boolean;
|
|
469
471
|
title?: string;
|
|
470
472
|
description?: string;
|
|
471
473
|
tooltip?: string;
|
package/docs/DATAMODEL.md
CHANGED
|
@@ -1073,6 +1073,7 @@ export interface ValidationPattern {
|
|
|
1073
1073
|
interface BaseFormItem {
|
|
1074
1074
|
id: string;
|
|
1075
1075
|
mandatory?: boolean;
|
|
1076
|
+
hideMandatoryIcon?: boolean;
|
|
1076
1077
|
title?: string;
|
|
1077
1078
|
placeholder?: string;
|
|
1078
1079
|
value?: string;
|
|
@@ -1130,6 +1131,7 @@ export interface ListFormItem {
|
|
|
1130
1131
|
type: 'list';
|
|
1131
1132
|
id: string;
|
|
1132
1133
|
mandatory?: boolean;
|
|
1134
|
+
hideMandatoryIcon?: boolean;
|
|
1133
1135
|
title?: string;
|
|
1134
1136
|
description?: string;
|
|
1135
1137
|
tooltip?: string;
|
|
@@ -2696,6 +2698,7 @@ interface ChatItemFormItem {
|
|
|
2696
2698
|
id: string; // id is mandatory to understand to get the specific values for each form item when a button is clicked
|
|
2697
2699
|
type: 'select' | 'textarea' | 'textinput' | 'numericinput' | 'stars' | 'radiogroup' | 'toggle' | 'checkbox' | 'switch' ; // type (see below for each of them)
|
|
2698
2700
|
mandatory?: boolean; // If it is set to true, buttons in the same card with waitMandatoryFormItems set to true will wait them to be filled
|
|
2701
|
+
hideMandatoryIcon?: boolean; // If it is set to true, it won't render an asterisk icon next to the form label
|
|
2699
2702
|
title?: string; // Label of the input
|
|
2700
2703
|
autoFocus: boolean; // focus to the input when it is created, default=> false. (Only for textual form items)
|
|
2701
2704
|
description?: string; // The description, showing under the input field itself
|
package/package.json
CHANGED