@zealicsolutions/web-ui 0.2.138 → 0.2.140
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/cjs/index.js +2 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/src/atoms/Input/helpers.d.ts +1 -1
- package/dist/cjs/src/atoms/Select/Select.d.ts +3 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/atoms/Input/helpers.d.ts +1 -1
- package/dist/esm/src/atoms/Select/Select.d.ts +3 -1
- package/dist/index.d.ts +4 -2
- package/package.json +1 -1
@@ -6,7 +6,7 @@ import { InputFieldTypes } from '../../fieldsConfiguration';
|
|
6
6
|
export declare type MaskConfig = Partial<{
|
7
7
|
maskPlaceholder: string;
|
8
8
|
dataModelFieldType: InputFieldTypes;
|
9
|
-
maskPattern: Array<string | RegExp
|
9
|
+
maskPattern: Array<string | RegExp>;
|
10
10
|
}>;
|
11
11
|
export declare const getSpecificInputProps: (type: InputFieldTypes) => {
|
12
12
|
type?: HTMLInputTypeAttribute | undefined;
|
@@ -1,10 +1,12 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
import { ThemeColors } from 'theme';
|
3
|
-
import type { Callback, StylesType } from 'typescript';
|
3
|
+
import type { AnyObject, Callback, StylesType } from 'typescript';
|
4
4
|
import { RefCallBack } from 'react-hook-form/dist/types';
|
5
5
|
export declare type SelectOption = {
|
6
6
|
id: string;
|
7
7
|
label: string;
|
8
|
+
value?: string;
|
9
|
+
config?: AnyObject;
|
8
10
|
};
|
9
11
|
export declare type SelectInternalConfigurationOptions = {
|
10
12
|
placeholderTextColor: ThemeColors | string;
|
package/dist/index.d.ts
CHANGED
@@ -5,7 +5,7 @@ import * as styled_components from 'styled-components';
|
|
5
5
|
import { CSSProperties, DefaultTheme } from 'styled-components';
|
6
6
|
import { ThemeColors as ThemeColors$1, SizesTypes as SizesTypes$1, FontSizesTypes as FontSizesTypes$2 } from 'theme';
|
7
7
|
import * as typescript from 'typescript';
|
8
|
-
import { StylesType, Callback as Callback$1, OverrideStyles, StyledTransientProps, Nullable,
|
8
|
+
import { StylesType, AnyObject, Callback as Callback$1, OverrideStyles, StyledTransientProps, Nullable, StrictUnion } from 'typescript';
|
9
9
|
import { RefCallBack, Control as Control$1, ControllerProps as ControllerProps$1 } from 'react-hook-form/dist/types';
|
10
10
|
import { IconNames as IconNames$1 } from 'atoms/Icon/Icon';
|
11
11
|
import { FieldTypes as FieldTypes$1, UIFields as UIFields$1, InputFieldTypes as InputFieldTypes$1 } from 'fieldsConfiguration/types';
|
@@ -83,6 +83,8 @@ declare const Checkbox: ({ id, onClick, label, isError, disabled, isEditMode, is
|
|
83
83
|
declare type SelectOption = {
|
84
84
|
id: string;
|
85
85
|
label: string;
|
86
|
+
value?: string;
|
87
|
+
config?: AnyObject;
|
86
88
|
};
|
87
89
|
declare type SelectInternalConfigurationOptions = {
|
88
90
|
placeholderTextColor: ThemeColors$1 | string;
|
@@ -154,7 +156,7 @@ declare const profileInformationMockForm: {
|
|
154
156
|
declare type MaskConfig = Partial<{
|
155
157
|
maskPlaceholder: string;
|
156
158
|
dataModelFieldType: InputFieldTypes;
|
157
|
-
maskPattern: Array<string | RegExp
|
159
|
+
maskPattern: Array<string | RegExp>;
|
158
160
|
}>;
|
159
161
|
|
160
162
|
declare type InputFieldInternalConfigProps = Partial<{
|