@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.
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/src/atoms/RadioButtons/styles.d.ts +1 -0
- package/dist/cjs/src/atoms/Select/Select.d.ts +1 -1
- package/dist/cjs/src/atoms/Select/Select.stories.d.ts +1 -1
- package/dist/cjs/src/atoms/Select/styles.d.ts +1 -0
- package/dist/cjs/src/containers/types/moleculeTypes.d.ts +1 -0
- package/dist/cjs/src/containers/types/types.d.ts +6 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/atoms/RadioButtons/styles.d.ts +1 -0
- package/dist/esm/src/atoms/Select/Select.d.ts +1 -1
- package/dist/esm/src/atoms/Select/Select.stories.d.ts +1 -1
- package/dist/esm/src/atoms/Select/styles.d.ts +1 -0
- package/dist/esm/src/containers/types/moleculeTypes.d.ts +1 -0
- package/dist/esm/src/containers/types/types.d.ts +6 -1
- package/dist/index.d.ts +9 -3
- package/package.json +1 -1
@@ -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>;
|
@@ -104,4 +104,9 @@ export declare type ConditionConfig = Nullable<{
|
|
104
104
|
segmentationType: SegmentationType;
|
105
105
|
criteriaList: ConditionCriteria[];
|
106
106
|
}>;
|
107
|
-
export declare type
|
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>>;
|