@salutejs/plasma-new-hope 0.194.0-canary.1565.11870784206.0 → 0.194.0-dev.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Switch/Switch.css +2 -2
- package/cjs/components/Switch/Switch.tokens.js +7 -1
- package/cjs/components/Switch/Switch.tokens.js.map +1 -1
- package/cjs/components/Switch/_toggleSize/base.js +1 -1
- package/cjs/components/Switch/_toggleSize/base.js.map +1 -1
- package/cjs/components/Switch/_toggleSize/base_1d0b3t4.css +1 -0
- package/cjs/components/Switch/_view/base.js +1 -1
- package/cjs/components/Switch/_view/base.js.map +1 -1
- package/cjs/components/Switch/_view/base_15atbyp.css +1 -0
- package/cjs/components/TextField/TextField.js +3 -27
- package/cjs/components/TextField/TextField.js.map +1 -1
- package/cjs/index.css +2 -2
- package/cjs/utils/constants.js +0 -4
- package/cjs/utils/constants.js.map +1 -1
- package/emotion/cjs/components/Switch/Switch.tokens.js +7 -1
- package/emotion/cjs/components/Switch/_toggleSize/base.js +1 -1
- package/emotion/cjs/components/Switch/_view/base.js +1 -1
- package/emotion/cjs/components/TextField/TextField.js +4 -27
- package/emotion/cjs/components/TextField/TextField.template-doc.mdx +0 -330
- package/emotion/cjs/components/TextField/hooks/index.js +1 -8
- package/emotion/cjs/examples/plasma_b2c/components/Switch/Switch.config.js +8 -8
- package/emotion/cjs/examples/plasma_b2c/components/Switch/Switch.js +5 -2
- package/emotion/cjs/examples/plasma_b2c/components/Switch/Switch.outline.config.js +37 -0
- package/emotion/cjs/examples/plasma_b2c/components/Switch/Switch.stories.tsx +33 -1
- package/emotion/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +1 -253
- package/emotion/cjs/examples/plasma_web/components/Switch/Switch.config.js +8 -8
- package/emotion/cjs/examples/plasma_web/components/Switch/Switch.js +5 -2
- package/emotion/cjs/examples/plasma_web/components/Switch/Switch.outline.config.js +37 -0
- package/emotion/cjs/examples/plasma_web/components/Switch/Switch.stories.tsx +33 -1
- package/emotion/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +0 -252
- package/emotion/cjs/utils/constants.js +2 -4
- package/emotion/es/components/Switch/Switch.tokens.js +7 -1
- package/emotion/es/components/Switch/_toggleSize/base.js +1 -1
- package/emotion/es/components/Switch/_view/base.js +1 -1
- package/emotion/es/components/TextField/TextField.js +5 -28
- package/emotion/es/components/TextField/TextField.template-doc.mdx +0 -330
- package/emotion/es/components/TextField/hooks/index.js +1 -2
- package/emotion/es/examples/plasma_b2c/components/Switch/Switch.config.js +8 -8
- package/emotion/es/examples/plasma_b2c/components/Switch/Switch.js +4 -1
- package/emotion/es/examples/plasma_b2c/components/Switch/Switch.outline.config.js +31 -0
- package/emotion/es/examples/plasma_b2c/components/Switch/Switch.stories.tsx +33 -1
- package/emotion/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +1 -253
- package/emotion/es/examples/plasma_web/components/Switch/Switch.config.js +8 -8
- package/emotion/es/examples/plasma_web/components/Switch/Switch.js +4 -1
- package/emotion/es/examples/plasma_web/components/Switch/Switch.outline.config.js +31 -0
- package/emotion/es/examples/plasma_web/components/Switch/Switch.stories.tsx +33 -1
- package/emotion/es/examples/plasma_web/components/TextField/TextField.stories.tsx +0 -252
- package/emotion/es/utils/constants.js +1 -3
- package/es/components/Switch/Switch.css +2 -2
- package/es/components/Switch/Switch.tokens.js +7 -1
- package/es/components/Switch/Switch.tokens.js.map +1 -1
- package/es/components/Switch/_toggleSize/base.js +1 -1
- package/es/components/Switch/_toggleSize/base.js.map +1 -1
- package/es/components/Switch/_toggleSize/base_1d0b3t4.css +1 -0
- package/es/components/Switch/_view/base.js +1 -1
- package/es/components/Switch/_view/base.js.map +1 -1
- package/es/components/Switch/_view/base_15atbyp.css +1 -0
- package/es/components/TextField/TextField.js +3 -27
- package/es/components/TextField/TextField.js.map +1 -1
- package/es/index.css +2 -2
- package/es/utils/constants.js +1 -3
- package/es/utils/constants.js.map +1 -1
- package/package.json +2 -2
- package/styled-components/cjs/components/Switch/Switch.tokens.js +7 -1
- package/styled-components/cjs/components/Switch/_toggleSize/base.js +1 -1
- package/styled-components/cjs/components/Switch/_view/base.js +1 -1
- package/styled-components/cjs/components/TextField/TextField.js +3 -26
- package/styled-components/cjs/components/TextField/TextField.template-doc.mdx +0 -330
- package/styled-components/cjs/components/TextField/hooks/index.js +1 -8
- package/styled-components/cjs/examples/plasma_b2c/components/Switch/Switch.config.js +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Switch/Switch.js +5 -2
- package/styled-components/cjs/examples/plasma_b2c/components/Switch/Switch.outline.config.js +37 -0
- package/styled-components/cjs/examples/plasma_b2c/components/Switch/Switch.stories.tsx +33 -1
- package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +1 -253
- package/styled-components/cjs/examples/plasma_web/components/Switch/Switch.config.js +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Switch/Switch.js +5 -2
- package/styled-components/cjs/examples/plasma_web/components/Switch/Switch.outline.config.js +37 -0
- package/styled-components/cjs/examples/plasma_web/components/Switch/Switch.stories.tsx +33 -1
- package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +0 -252
- package/styled-components/cjs/utils/constants.js +2 -4
- package/styled-components/es/components/Switch/Switch.tokens.js +7 -1
- package/styled-components/es/components/Switch/_toggleSize/base.js +1 -1
- package/styled-components/es/components/Switch/_view/base.js +1 -1
- package/styled-components/es/components/TextField/TextField.js +4 -27
- package/styled-components/es/components/TextField/TextField.template-doc.mdx +0 -330
- package/styled-components/es/components/TextField/hooks/index.js +1 -2
- package/styled-components/es/examples/plasma_b2c/components/Switch/Switch.config.js +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Switch/Switch.js +4 -1
- package/styled-components/es/examples/plasma_b2c/components/Switch/Switch.outline.config.js +31 -0
- package/styled-components/es/examples/plasma_b2c/components/Switch/Switch.stories.tsx +33 -1
- package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +1 -253
- package/styled-components/es/examples/plasma_web/components/Switch/Switch.config.js +1 -1
- package/styled-components/es/examples/plasma_web/components/Switch/Switch.js +4 -1
- package/styled-components/es/examples/plasma_web/components/Switch/Switch.outline.config.js +31 -0
- package/styled-components/es/examples/plasma_web/components/Switch/Switch.stories.tsx +33 -1
- package/styled-components/es/examples/plasma_web/components/TextField/TextField.stories.tsx +0 -252
- package/styled-components/es/utils/constants.js +1 -3
- package/types/components/Autocomplete/Autocomplete.types.d.ts +2 -2
- package/types/components/Autocomplete/Autocomplete.types.d.ts.map +1 -1
- package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts +92 -1676
- package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts +92 -1676
- package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts.map +1 -1
- package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts +92 -1676
- package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -1
- package/types/components/Range/Range.styles.d.ts +92 -1676
- package/types/components/Range/Range.styles.d.ts.map +1 -1
- package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts +92 -1676
- package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts.map +1 -1
- package/types/components/Slider/components/Double/Double.styles.d.ts +92 -1676
- package/types/components/Slider/components/Double/Double.styles.d.ts.map +1 -1
- package/types/components/Switch/Switch.tokens.d.ts +7 -1
- package/types/components/Switch/Switch.tokens.d.ts.map +1 -1
- package/types/components/Switch/_toggleSize/base.d.ts.map +1 -1
- package/types/components/Switch/_view/base.d.ts.map +1 -1
- package/types/components/TextField/TextField.d.ts.map +1 -1
- package/types/components/TextField/TextField.types.d.ts +1 -51
- package/types/components/TextField/TextField.types.d.ts.map +1 -1
- package/types/components/TextField/hooks/index.d.ts +0 -1
- package/types/components/TextField/hooks/index.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Autocomplete/Autocomplete.d.ts +2 -64
- package/types/examples/plasma_b2c/components/Autocomplete/Autocomplete.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Mask/Mask.d.ts +92 -2732
- package/types/examples/plasma_b2c/components/Mask/Mask.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Switch/Switch.config.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Switch/Switch.d.ts +20 -0
- package/types/examples/plasma_b2c/components/Switch/Switch.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Switch/Switch.outline.config.d.ts +30 -0
- package/types/examples/plasma_b2c/components/Switch/Switch.outline.config.d.ts.map +1 -0
- package/types/examples/plasma_b2c/components/TextField/TextField.d.ts +92 -1676
- package/types/examples/plasma_b2c/components/TextField/TextField.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Autocomplete/Autocomplete.d.ts +2 -64
- package/types/examples/plasma_web/components/Autocomplete/Autocomplete.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Mask/Mask.d.ts +92 -2732
- package/types/examples/plasma_web/components/Mask/Mask.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Switch/Switch.config.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Switch/Switch.d.ts +20 -0
- package/types/examples/plasma_web/components/Switch/Switch.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Switch/Switch.outline.config.d.ts +30 -0
- package/types/examples/plasma_web/components/Switch/Switch.outline.config.d.ts.map +1 -0
- package/types/examples/plasma_web/components/TextField/TextField.d.ts +92 -1676
- package/types/examples/plasma_web/components/TextField/TextField.d.ts.map +1 -1
- package/types/utils/constants.d.ts +0 -2
- package/types/utils/constants.d.ts.map +1 -1
- package/cjs/components/Switch/_toggleSize/base_6i0904.css +0 -1
- package/cjs/components/Switch/_view/base_yxkf3s.css +0 -1
- package/cjs/components/TextField/hooks/useValidation.js +0 -273
- package/cjs/components/TextField/hooks/useValidation.js.map +0 -1
- package/emotion/cjs/components/TextField/hooks/useValidation.js +0 -276
- package/emotion/es/components/TextField/hooks/useValidation.js +0 -270
- package/es/components/Switch/_toggleSize/base_6i0904.css +0 -1
- package/es/components/Switch/_view/base_yxkf3s.css +0 -1
- package/es/components/TextField/hooks/useValidation.js +0 -269
- package/es/components/TextField/hooks/useValidation.js.map +0 -1
- package/styled-components/cjs/components/TextField/hooks/useValidation.js +0 -276
- package/styled-components/es/components/TextField/hooks/useValidation.js +0 -270
- package/types/components/TextField/hooks/useValidation.d.ts +0 -7
- package/types/components/TextField/hooks/useValidation.d.ts.map +0 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Double.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Slider/components/Double/Double.styles.ts"],"names":[],"mappings":";AASA,eAAO,MAAM,YAAY,qKAMxB,CAAC;AAEF,eAAO,MAAM,gBAAgB,qKAAe,CAAC;AAE7C,eAAO,MAAM,KAAK,8KAOjB,CAAC;AAEF,eAAO,MAAM,aAAa,qKAIzB,CAAC;AAGF,eAAO,MAAM,WAAW
|
1
|
+
{"version":3,"file":"Double.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Slider/components/Double/Double.styles.ts"],"names":[],"mappings":";AASA,eAAO,MAAM,YAAY,qKAMxB,CAAC;AAEF,eAAO,MAAM,gBAAgB,qKAAe,CAAC;AAE7C,eAAO,MAAM,KAAK,8KAOjB,CAAC;AAEF,eAAO,MAAM,aAAa,qKAIzB,CAAC;AAGF,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+IAiCvB,CAAC;AAEF,eAAO,MAAM,aAAa,qKAEzB,CAAC;AAEF,eAAO,MAAM,aAAa,qKAAe,CAAC"}
|
@@ -20,6 +20,11 @@ export declare const tokens: {
|
|
20
20
|
verticalGap: string;
|
21
21
|
trackWidth: string;
|
22
22
|
trackHeight: string;
|
23
|
+
trackBorderWidth: string;
|
24
|
+
trackBorderColorOn: string;
|
25
|
+
trackBorderColorOnHover: string;
|
26
|
+
trackBorderColorOff: string;
|
27
|
+
trackBorderColorOffHover: string;
|
23
28
|
trackBorderRadius: string;
|
24
29
|
trackBackgroundColorOn: string;
|
25
30
|
trackBackgroundColorOnHover: string;
|
@@ -30,7 +35,8 @@ export declare const tokens: {
|
|
30
35
|
thumbOffset: string;
|
31
36
|
thumbBorderRadius: string;
|
32
37
|
thumbPressScale: string;
|
33
|
-
|
38
|
+
thumbBackgroundColorOn: string;
|
39
|
+
thumbBackgroundColorOff: string;
|
34
40
|
thumbBoxShadow: string;
|
35
41
|
thumbBoxShadowOn: string;
|
36
42
|
labelOffsetPrivate: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Switch.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;IAwBf,6DAA6D
|
1
|
+
{"version":3,"file":"Switch.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;IAwBf,6DAA6D;;;;;;;;;;;;;;;;;;;;;;;;;CAiChE,CAAC;AAEF,eAAO,MAAM,OAAO;;;CAGnB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../src/components/Switch/_toggleSize/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../src/components/Switch/_toggleSize/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CAuBhB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../src/components/Switch/_view/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../src/components/Switch/_view/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CAsChB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAKvE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAI/C,OAAO,KAAK,EAAuC,cAAc,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAoCjH,eAAO,MAAM,IAAI,0CAGhB,CAAC;AAIF,eAAO,MAAM,aAAa,SAAU,UAAU,cAAc,EAAE,kBAAkB,CAAC,4FAgZ5E,CAAC;AAEN,eAAO,MAAM,eAAe;;;mBAlZQ,UAAU,cAAc,EAAE,kBAAkB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwbhF,CAAC"}
|
@@ -7,51 +7,6 @@ export declare type ChipValues = {
|
|
7
7
|
text: TextFieldPrimitiveValue;
|
8
8
|
};
|
9
9
|
export declare type EnumerationType = 'plain' | 'chip';
|
10
|
-
declare type ValidationOption<T> = {
|
11
|
-
value?: T;
|
12
|
-
errorMessage?: string;
|
13
|
-
};
|
14
|
-
export declare type PasswordValidationOptions = {
|
15
|
-
minLength?: ValidationOption<number>;
|
16
|
-
maxLength?: ValidationOption<number>;
|
17
|
-
includeUppercase?: ValidationOption<boolean>;
|
18
|
-
includeLowercase?: ValidationOption<boolean>;
|
19
|
-
includeDigits?: ValidationOption<boolean>;
|
20
|
-
includeSpecialSymbols?: ValidationOption<boolean>;
|
21
|
-
};
|
22
|
-
export declare type EmailValidationOptions = {
|
23
|
-
customEmailRegex?: ValidationOption<RegExp>;
|
24
|
-
minLength?: ValidationOption<number>;
|
25
|
-
maxLength?: ValidationOption<number>;
|
26
|
-
minHostLength?: ValidationOption<number>;
|
27
|
-
maxHostLength?: ValidationOption<number>;
|
28
|
-
minDomainLength?: ValidationOption<number>;
|
29
|
-
maxDomainLength?: ValidationOption<number>;
|
30
|
-
minZoneLength?: ValidationOption<number>;
|
31
|
-
maxZoneLength?: ValidationOption<number>;
|
32
|
-
whitelistDomains?: ValidationOption<string[]>;
|
33
|
-
blacklistDomains?: ValidationOption<string[]>;
|
34
|
-
};
|
35
|
-
declare type OnValidateArgs = {
|
36
|
-
isValid: boolean;
|
37
|
-
errorMessage?: string;
|
38
|
-
};
|
39
|
-
export declare type ValidationProps = {
|
40
|
-
validationType?: never;
|
41
|
-
options?: never;
|
42
|
-
passwordHidden?: never;
|
43
|
-
onValidate?: never;
|
44
|
-
} | {
|
45
|
-
validationType: 'password';
|
46
|
-
options?: PasswordValidationOptions;
|
47
|
-
passwordHidden?: boolean;
|
48
|
-
onValidate?: (args: OnValidateArgs) => void;
|
49
|
-
} | {
|
50
|
-
validationType: 'email';
|
51
|
-
options?: EmailValidationOptions;
|
52
|
-
passwordHidden?: never;
|
53
|
-
onValidate?: (args: OnValidateArgs) => void;
|
54
|
-
};
|
55
10
|
declare type TextFieldChipProps = {
|
56
11
|
/**
|
57
12
|
* Выбранные значения.
|
@@ -226,7 +181,7 @@ export declare type TextFieldPropsBase = {
|
|
226
181
|
* Callback по нажатию Enter
|
227
182
|
*/
|
228
183
|
onSearch?: (value: string, event?: KeyboardEvent<HTMLInputElement>) => void;
|
229
|
-
} & RequiredProps & ClearProps & HintProps & TextFieldChipProps
|
184
|
+
} & RequiredProps & ClearProps & HintProps & TextFieldChipProps;
|
230
185
|
export declare type TextFieldProps = {
|
231
186
|
/**
|
232
187
|
* Размер контрола.
|
@@ -270,10 +225,5 @@ export interface UseKeyNavigationProps {
|
|
270
225
|
onSearch?: (value: string, event?: KeyboardEvent<HTMLInputElement>) => void;
|
271
226
|
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
272
227
|
}
|
273
|
-
export declare type UseValidationArgs = {
|
274
|
-
validationType?: 'password' | 'email';
|
275
|
-
options?: PasswordValidationOptions | EmailValidationOptions;
|
276
|
-
onValidate?: (args: OnValidateArgs) => void;
|
277
|
-
};
|
278
228
|
export {};
|
279
229
|
//# sourceMappingURL=TextField.types.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TextField.types.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,aAAa,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAErF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,KAAK,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAE1E,oBAAY,uBAAuB,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;AAEhE,oBAAY,UAAU,GAAG;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,uBAAuB,CAAC;CACjC,CAAC;AAEF,oBAAY,eAAe,GAAG,OAAO,GAAG,MAAM,CAAC;AAE/C,aAAK,
|
1
|
+
{"version":3,"file":"TextField.types.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,aAAa,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAErF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,KAAK,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAE1E,oBAAY,uBAAuB,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;AAEhE,oBAAY,UAAU,GAAG;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,uBAAuB,CAAC;CACjC,CAAC;AAEF,oBAAY,eAAe,GAAG,OAAO,GAAG,MAAM,CAAC;AAE/C,aAAK,kBAAkB,GACjB;IACI;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;IACd;;OAEG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC;IACtB;;;OAGG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,aAAa,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;CAC/E,GACD;IACI;;;OAGG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,uBAAuB,CAAC,CAAC;IACvC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C,KAAK,IAAI,CAAC;IAC5E,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;CAC7D"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/TextField/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/TextField/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC"}
|
@@ -27,72 +27,10 @@ export declare const Autocomplete: import("react").FunctionComponent<import("../
|
|
27
27
|
} & {
|
28
28
|
required: true;
|
29
29
|
optional?: false | undefined;
|
30
|
-
} & {
|
31
|
-
validationType?: undefined;
|
32
|
-
options?: undefined;
|
33
|
-
passwordHidden?: undefined;
|
34
|
-
onValidate?: undefined;
|
35
|
-
} & Omit<import("../../../../components/TextField/TextField.types").TextFieldPropsBase, "required" | "options" | "optional" | "requiredPlacement" | "chips" | "enumerationType" | "validationType" | "onValidate" | "passwordHidden" | "onChangeChips"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | (import("../../../../components/Autocomplete/Autocomplete.types").BaseProps & {
|
36
|
-
requiredPlacement?: "left" | "right" | undefined;
|
37
|
-
} & {
|
38
|
-
required: true;
|
39
|
-
optional?: false | undefined;
|
40
|
-
} & {
|
41
|
-
validationType: "password";
|
42
|
-
options?: import("../../../../components/TextField/TextField.types").PasswordValidationOptions | undefined;
|
43
|
-
passwordHidden?: boolean | undefined;
|
44
|
-
onValidate?: ((args: {
|
45
|
-
isValid: boolean;
|
46
|
-
errorMessage?: string | undefined;
|
47
|
-
}) => void) | undefined;
|
48
|
-
} & Omit<import("../../../../components/TextField/TextField.types").TextFieldPropsBase, "required" | "options" | "optional" | "requiredPlacement" | "chips" | "enumerationType" | "validationType" | "onValidate" | "passwordHidden" | "onChangeChips"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | (import("../../../../components/Autocomplete/Autocomplete.types").BaseProps & {
|
49
|
-
requiredPlacement?: "left" | "right" | undefined;
|
50
|
-
} & {
|
51
|
-
required: true;
|
52
|
-
optional?: false | undefined;
|
53
|
-
} & {
|
54
|
-
validationType: "email";
|
55
|
-
options?: import("../../../../components/TextField/TextField.types").EmailValidationOptions | undefined;
|
56
|
-
passwordHidden?: undefined;
|
57
|
-
onValidate?: ((args: {
|
58
|
-
isValid: boolean;
|
59
|
-
errorMessage?: string | undefined;
|
60
|
-
}) => void) | undefined;
|
61
|
-
} & Omit<import("../../../../components/TextField/TextField.types").TextFieldPropsBase, "required" | "options" | "optional" | "requiredPlacement" | "chips" | "enumerationType" | "validationType" | "onValidate" | "passwordHidden" | "onChangeChips"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | (import("../../../../components/Autocomplete/Autocomplete.types").BaseProps & {
|
30
|
+
} & Omit<import("../../../../components/TextField/TextField.types").TextFieldPropsBase, "required" | "optional" | "requiredPlacement" | "chips" | "enumerationType" | "onChangeChips"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | (import("../../../../components/Autocomplete/Autocomplete.types").BaseProps & {
|
62
31
|
requiredPlacement?: "left" | "right" | undefined;
|
63
32
|
} & {
|
64
33
|
optional?: true | undefined;
|
65
34
|
required?: false | undefined;
|
66
|
-
} &
|
67
|
-
validationType?: undefined;
|
68
|
-
options?: undefined;
|
69
|
-
passwordHidden?: undefined;
|
70
|
-
onValidate?: undefined;
|
71
|
-
} & Omit<import("../../../../components/TextField/TextField.types").TextFieldPropsBase, "required" | "options" | "optional" | "requiredPlacement" | "chips" | "enumerationType" | "validationType" | "onValidate" | "passwordHidden" | "onChangeChips"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | (import("../../../../components/Autocomplete/Autocomplete.types").BaseProps & {
|
72
|
-
requiredPlacement?: "left" | "right" | undefined;
|
73
|
-
} & {
|
74
|
-
optional?: true | undefined;
|
75
|
-
required?: false | undefined;
|
76
|
-
} & {
|
77
|
-
validationType: "password";
|
78
|
-
options?: import("../../../../components/TextField/TextField.types").PasswordValidationOptions | undefined;
|
79
|
-
passwordHidden?: boolean | undefined;
|
80
|
-
onValidate?: ((args: {
|
81
|
-
isValid: boolean;
|
82
|
-
errorMessage?: string | undefined;
|
83
|
-
}) => void) | undefined;
|
84
|
-
} & Omit<import("../../../../components/TextField/TextField.types").TextFieldPropsBase, "required" | "options" | "optional" | "requiredPlacement" | "chips" | "enumerationType" | "validationType" | "onValidate" | "passwordHidden" | "onChangeChips"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | (import("../../../../components/Autocomplete/Autocomplete.types").BaseProps & {
|
85
|
-
requiredPlacement?: "left" | "right" | undefined;
|
86
|
-
} & {
|
87
|
-
optional?: true | undefined;
|
88
|
-
required?: false | undefined;
|
89
|
-
} & {
|
90
|
-
validationType: "email";
|
91
|
-
options?: import("../../../../components/TextField/TextField.types").EmailValidationOptions | undefined;
|
92
|
-
passwordHidden?: undefined;
|
93
|
-
onValidate?: ((args: {
|
94
|
-
isValid: boolean;
|
95
|
-
errorMessage?: string | undefined;
|
96
|
-
}) => void) | undefined;
|
97
|
-
} & Omit<import("../../../../components/TextField/TextField.types").TextFieldPropsBase, "required" | "options" | "optional" | "requiredPlacement" | "chips" | "enumerationType" | "validationType" | "onValidate" | "passwordHidden" | "onChangeChips"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>))>;
|
35
|
+
} & Omit<import("../../../../components/TextField/TextField.types").TextFieldPropsBase, "required" | "optional" | "requiredPlacement" | "chips" | "enumerationType" | "onChangeChips"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>))>;
|
98
36
|
//# sourceMappingURL=Autocomplete.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Autocomplete.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Autocomplete/Autocomplete.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,YAAY
|
1
|
+
{"version":3,"file":"Autocomplete.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Autocomplete/Autocomplete.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8TAA0B,CAAC"}
|