@zealicsolutions/web-ui 0.3.88 → 0.3.90

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.
@@ -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>>;
@@ -4,9 +4,11 @@ export declare type AccountButtonContextType = Partial<{
4
4
  userInitials: string;
5
5
  logOutHandler: Callback;
6
6
  goToAccountInfo: Callback;
7
+ username: string;
7
8
  }>;
8
9
  export declare const AccountButtonContext: import("react").Context<Partial<{
9
10
  userInitials: string;
10
11
  logOutHandler: Callback;
11
12
  goToAccountInfo: Callback;
13
+ username: string;
12
14
  }>>;
@@ -4,5 +4,6 @@ export declare type AccountButtonProviderProps = PropsWithChildren<Partial<{
4
4
  userInitials: string;
5
5
  logOutHandler: Callback;
6
6
  goToAccountInfo: Callback;
7
+ username: string;
7
8
  }>>;
8
- export declare const AccountButtonProvider: ({ children, goToAccountInfo, userInitials, logOutHandler, }: AccountButtonProviderProps) => JSX.Element;
9
+ export declare const AccountButtonProvider: ({ children, goToAccountInfo, userInitials, logOutHandler, username, }: AccountButtonProviderProps) => JSX.Element;
@@ -2,4 +2,5 @@ export declare const useAccountButtonContext: () => Partial<{
2
2
  userInitials: string;
3
3
  logOutHandler: import("../../typescript").Callback;
4
4
  goToAccountInfo: import("../../typescript").Callback;
5
+ username: string;
5
6
  }>;