@wise/dynamic-flow-types 3.18.0 → 3.19.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.
@@ -23,11 +23,8 @@ export type DecisionOption = {
23
23
  tag?: string;
24
24
  tags?: string[];
25
25
  title: string;
26
- /** @experimental This feature may be changed in the future without notice. */
27
26
  additionalText?: string;
28
- /** @experimental This feature may be changed in the future without notice. */
29
27
  supportingValues?: SupportingValues;
30
- /** @experimental This feature may be changed in the future without notice. */
31
28
  inlineAlert?: InlineAlert;
32
29
  onClick: () => void;
33
30
  };
@@ -4,6 +4,7 @@ import { Icon } from './Icon';
4
4
  import { Image } from './Image';
5
5
  import { RendererProps } from './RendererProps';
6
6
  import { Media } from '.';
7
+ import { InlineAlert, SupportingValues } from './constants';
7
8
  export type SelectInputRendererProps = BaseInputRendererProps & {
8
9
  type: 'input-select';
9
10
  autoComplete: string;
@@ -14,13 +15,16 @@ export type SelectInputRendererProps = BaseInputRendererProps & {
14
15
  onSelect: (index: number | null) => void;
15
16
  };
16
17
  export type SelectInputRendererOption = {
18
+ additionalText?: string;
17
19
  analyticsId?: string;
18
20
  description?: string;
19
21
  disabled: boolean;
20
22
  icon?: Icon;
21
23
  image?: Image;
22
- media?: Media;
24
+ inlineAlert?: InlineAlert;
23
25
  keywords: string[];
24
- title: string;
26
+ media?: Media;
27
+ supportingValues?: SupportingValues;
25
28
  tags?: string[];
29
+ title: string;
26
30
  };