@aws/mynah-ui 4.35.0-beta.5 → 4.35.0-beta.6

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/static.d.ts CHANGED
@@ -429,8 +429,17 @@ export type TextBasedFormItem = BaseFormItem & {
429
429
  patterns: ValidationPattern[];
430
430
  };
431
431
  };
432
- type OtherFormItem = BaseFormItem & {
433
- type: 'select' | 'stars';
432
+ type DropdownFormItem = BaseFormItem & {
433
+ type: 'select';
434
+ border?: boolean;
435
+ autoWidth?: boolean;
436
+ options?: Array<{
437
+ value: string;
438
+ label: string;
439
+ }>;
440
+ };
441
+ type Stars = BaseFormItem & {
442
+ type: 'stars';
434
443
  options?: Array<{
435
444
  value: string;
436
445
  label: string;
@@ -450,8 +459,8 @@ type CheckboxFormItem = BaseFormItem & {
450
459
  label?: string;
451
460
  alternateTooltip?: string;
452
461
  };
453
- export type SingularFormItem = TextBasedFormItem | OtherFormItem | RadioGroupFormItem | CheckboxFormItem;
454
- export type ChatItemFormItem = TextBasedFormItem | OtherFormItem | RadioGroupFormItem | CheckboxFormItem | ListFormItem;
462
+ export type SingularFormItem = TextBasedFormItem | DropdownFormItem | RadioGroupFormItem | CheckboxFormItem | Stars;
463
+ export type ChatItemFormItem = TextBasedFormItem | DropdownFormItem | RadioGroupFormItem | CheckboxFormItem | ListFormItem | Stars;
455
464
  export type FilterOption = ChatItemFormItem;
456
465
  export interface ListFormItem {
457
466
  type: 'list';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws/mynah-ui",
3
3
  "displayName": "AWS Mynah UI",
4
- "version": "4.35.0-beta.5",
4
+ "version": "4.35.0-beta.6",
5
5
  "description": "AWS Toolkit VSCode and Intellij IDE Extension Mynah UI",
6
6
  "publisher": "Amazon Web Services",
7
7
  "license": "Apache License 2.0",