@zealicsolutions/web-ui 0.3.89 → 0.3.90

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,4 +6,5 @@ export declare const RadioLabelWrapper: import("styled-components").StyledCompon
6
6
  export declare const RadioIconWrapper: import("styled-components").StyledComponent<typeof Radio, import("styled-components").DefaultTheme, StyledTransientProps<{
7
7
  disabled: boolean;
8
8
  isError?: boolean | undefined;
9
+ isEditMode?: boolean | undefined;
9
10
  }> & OverrideStyles, never>;
@@ -31,4 +31,4 @@ export declare type SelectProps = Partial<{
31
31
  selectInternalConfig: SelectInternalConfigurationOptions;
32
32
  isRichText: boolean;
33
33
  }>;
34
- export declare const Select: ({ ref, onBlur, onChange, value, placeholder, options, disabled, optionsPresentation, isError, selectInternalConfig, isRichText, }: SelectProps) => JSX.Element;
34
+ export declare const Select: ({ ref, onBlur, onChange, value, placeholder, options, disabled, optionsPresentation, isError, isEditMode, selectInternalConfig, isRichText, }: SelectProps) => JSX.Element;
@@ -2,7 +2,7 @@ import { StoryFn } from '@storybook/react';
2
2
  import { SelectProps } from './Select';
3
3
  declare const _default: {
4
4
  title: string;
5
- component: ({ ref, onBlur, onChange, value, placeholder, options, disabled, optionsPresentation, isError, selectInternalConfig, isRichText, }: Partial<{
5
+ component: ({ ref, onBlur, onChange, value, placeholder, options, disabled, optionsPresentation, isError, isEditMode, selectInternalConfig, isRichText, }: Partial<{
6
6
  ref: import("react-hook-form").RefCallBack;
7
7
  onBlur: import("../../typescript").Callback;
8
8
  value: string;
@@ -6,6 +6,7 @@ declare type SelectContainerProps = {
6
6
  isOpen: boolean;
7
7
  hasError: boolean;
8
8
  $styles: StylesType;
9
+ isEditMode?: boolean;
9
10
  };
10
11
  export declare const SelectContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, SelectContainerProps, never>;
11
12
  export declare const DropdownMenu: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -74,6 +74,7 @@ export interface DataConnectionAttributes {
74
74
  attributeType: 'data_model_field';
75
75
  dataModelField: {
76
76
  id: string;
77
+ subtype?: string;
77
78
  fieldName: string;
78
79
  code: string;
79
80
  };
@@ -104,4 +104,9 @@ export declare type ConditionConfig = Nullable<{
104
104
  segmentationType: SegmentationType;
105
105
  criteriaList: ConditionCriteria[];
106
106
  }>;
107
- export declare type StateConfigType = Record<string, Nullable<boolean | string>>;
107
+ export declare type FormDataStateConfig = {
108
+ value?: string | number;
109
+ } & Record<string, {
110
+ value?: string | number;
111
+ }>;
112
+ export declare type StateConfigType = Record<string, Nullable<boolean | string | FormDataStateConfig>>;