@salutejs/plasma-new-hope 0.81.0-canary.1205.9092167838.0 → 0.81.0-canary.1208.9111977682.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Range/Range.css +63 -0
- package/cjs/components/Range/Range.js +146 -0
- package/cjs/components/Range/Range.js.map +1 -0
- package/cjs/components/Range/Range.styles.js +63 -0
- package/cjs/components/Range/Range.styles.js.map +1 -0
- package/cjs/components/Range/Range.styles_mc4w65.css +8 -0
- package/cjs/components/Range/Range.tokens.js +105 -0
- package/cjs/components/Range/Range.tokens.js.map +1 -0
- package/cjs/components/Range/utils/index.js +24 -0
- package/cjs/components/Range/utils/index.js.map +1 -0
- package/cjs/components/Range/variations/_disabled/base.js +9 -0
- package/cjs/components/Range/variations/_disabled/base.js.map +1 -0
- package/cjs/components/Range/variations/_disabled/base_1ufizo4.css +1 -0
- package/cjs/components/Range/variations/_readonly/base.js +9 -0
- package/cjs/components/Range/variations/_readonly/base.js.map +1 -0
- package/cjs/components/Range/variations/_readonly/base_hzmd8h.css +1 -0
- package/cjs/components/Range/variations/_size/base.js +9 -0
- package/cjs/components/Range/variations/_size/base.js.map +1 -0
- package/cjs/components/Range/variations/_size/base_f8ah3.css +1 -0
- package/cjs/components/Range/variations/_view/base.js +9 -0
- package/cjs/components/Range/variations/_view/base.js.map +1 -0
- package/cjs/components/Range/variations/_view/base_5iz3nr.css +1 -0
- package/cjs/components/TextField/TextField.js +10 -4
- package/cjs/components/TextField/TextField.js.map +1 -1
- package/cjs/components/TextField/TextField.styles.js +13 -1
- package/cjs/components/TextField/TextField.styles.js.map +1 -1
- package/cjs/components/TextField/{TextField.styles_1b1mddp.css → TextField.styles_aqmut.css} +2 -0
- package/cjs/components/TextField/TextField.tokens.js +5 -0
- package/cjs/components/TextField/TextField.tokens.js.map +1 -1
- package/cjs/components/TextField/variations/_label-placement/inner.js +1 -1
- package/cjs/components/TextField/variations/_label-placement/inner.js.map +1 -1
- package/cjs/components/TextField/variations/_label-placement/inner_7c08qb.css +1 -0
- package/cjs/components/TextField/variations/_size/base.js +1 -1
- package/cjs/components/TextField/variations/_size/base.js.map +1 -1
- package/{es/components/TextField/variations/_size/base_1khzr9t.css → cjs/components/TextField/variations/_size/base_ntoddv.css} +1 -1
- package/cjs/components/TextField/variations/_view/base.js +1 -1
- package/cjs/components/TextField/variations/_view/base.js.map +1 -1
- package/{es/components/TextField/variations/_view/base_1qd77x6.css → cjs/components/TextField/variations/_view/base_19gxyva.css} +1 -1
- package/cjs/index.css +28 -9
- package/cjs/index.js +5 -0
- package/cjs/index.js.map +1 -1
- package/es/components/Range/Range.css +63 -0
- package/es/components/Range/Range.js +141 -0
- package/es/components/Range/Range.js.map +1 -0
- package/es/components/Range/Range.styles.js +52 -0
- package/es/components/Range/Range.styles.js.map +1 -0
- package/es/components/Range/Range.styles_mc4w65.css +8 -0
- package/es/components/Range/Range.tokens.js +100 -0
- package/es/components/Range/Range.tokens.js.map +1 -0
- package/es/components/Range/utils/index.js +19 -0
- package/es/components/Range/utils/index.js.map +1 -0
- package/es/components/Range/variations/_disabled/base.js +5 -0
- package/es/components/Range/variations/_disabled/base.js.map +1 -0
- package/es/components/Range/variations/_disabled/base_1ufizo4.css +1 -0
- package/es/components/Range/variations/_readonly/base.js +5 -0
- package/es/components/Range/variations/_readonly/base.js.map +1 -0
- package/es/components/Range/variations/_readonly/base_hzmd8h.css +1 -0
- package/es/components/Range/variations/_size/base.js +5 -0
- package/es/components/Range/variations/_size/base.js.map +1 -0
- package/es/components/Range/variations/_size/base_f8ah3.css +1 -0
- package/es/components/Range/variations/_view/base.js +5 -0
- package/es/components/Range/variations/_view/base.js.map +1 -0
- package/es/components/Range/variations/_view/base_5iz3nr.css +1 -0
- package/es/components/TextField/TextField.js +11 -5
- package/es/components/TextField/TextField.js.map +1 -1
- package/es/components/TextField/TextField.styles.js +12 -2
- package/es/components/TextField/TextField.styles.js.map +1 -1
- package/es/components/TextField/{TextField.styles_1b1mddp.css → TextField.styles_aqmut.css} +2 -0
- package/es/components/TextField/TextField.tokens.js +5 -0
- package/es/components/TextField/TextField.tokens.js.map +1 -1
- package/es/components/TextField/variations/_label-placement/inner.js +1 -1
- package/es/components/TextField/variations/_label-placement/inner.js.map +1 -1
- package/es/components/TextField/variations/_label-placement/inner_7c08qb.css +1 -0
- package/es/components/TextField/variations/_size/base.js +1 -1
- package/es/components/TextField/variations/_size/base.js.map +1 -1
- package/{cjs/components/TextField/variations/_size/base_1khzr9t.css → es/components/TextField/variations/_size/base_ntoddv.css} +1 -1
- package/es/components/TextField/variations/_view/base.js +1 -1
- package/es/components/TextField/variations/_view/base.js.map +1 -1
- package/{cjs/components/TextField/variations/_view/base_1qd77x6.css → es/components/TextField/variations/_view/base_19gxyva.css} +1 -1
- package/es/index.css +28 -9
- package/es/index.js +2 -0
- package/es/index.js.map +1 -1
- package/package.json +2 -2
- package/styled-components/cjs/components/Range/Range.js +148 -0
- package/styled-components/cjs/components/Range/Range.styles.js +39 -0
- package/styled-components/cjs/components/Range/Range.tokens.js +103 -0
- package/styled-components/cjs/components/Range/Range.types.js +5 -0
- package/styled-components/cjs/components/Range/index.js +25 -0
- package/styled-components/cjs/components/Range/utils/index.js +22 -0
- package/styled-components/cjs/components/Range/variations/_disabled/base.js +9 -0
- package/styled-components/cjs/components/Range/variations/_disabled/tokens.json +4 -0
- package/styled-components/cjs/components/Range/variations/_readonly/base.js +10 -0
- package/styled-components/cjs/components/Range/variations/_readonly/tokens.json +4 -0
- package/styled-components/cjs/components/Range/variations/_size/base.js +10 -0
- package/styled-components/cjs/components/Range/variations/_size/tokens.json +26 -0
- package/styled-components/cjs/components/Range/variations/_view/base.js +10 -0
- package/styled-components/cjs/components/Range/variations/_view/tokens.json +6 -0
- package/styled-components/cjs/components/TextField/TextField.js +10 -4
- package/styled-components/cjs/components/TextField/TextField.styles.js +7 -1
- package/styled-components/cjs/components/TextField/TextField.tokens.js +5 -0
- package/styled-components/cjs/components/TextField/variations/_label-placement/inner.js +1 -1
- package/styled-components/cjs/components/TextField/variations/_size/base.js +1 -1
- package/styled-components/cjs/components/TextField/variations/_view/base.js +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Range/Range.config.js +31 -0
- package/styled-components/cjs/examples/plasma_b2c/components/Range/Range.js +11 -0
- package/styled-components/cjs/examples/plasma_b2c/components/Range/Range.stories.tsx +312 -0
- package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +8 -8
- package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +2 -0
- package/styled-components/cjs/examples/plasma_web/components/Range/Range.config.js +31 -0
- package/styled-components/cjs/examples/plasma_web/components/Range/Range.js +11 -0
- package/styled-components/cjs/examples/plasma_web/components/Range/Range.stories.tsx +312 -0
- package/styled-components/cjs/index.js +11 -0
- package/styled-components/es/components/Range/Range.js +139 -0
- package/styled-components/es/components/Range/Range.styles.js +31 -0
- package/styled-components/es/components/Range/Range.tokens.js +97 -0
- package/styled-components/es/components/Range/Range.types.js +1 -0
- package/styled-components/es/components/Range/index.js +2 -0
- package/styled-components/es/components/Range/utils/index.js +16 -0
- package/styled-components/es/components/Range/variations/_disabled/base.js +3 -0
- package/styled-components/es/components/Range/variations/_disabled/tokens.json +4 -0
- package/styled-components/es/components/Range/variations/_readonly/base.js +4 -0
- package/styled-components/es/components/Range/variations/_readonly/tokens.json +4 -0
- package/styled-components/es/components/Range/variations/_size/base.js +4 -0
- package/styled-components/es/components/Range/variations/_size/tokens.json +26 -0
- package/styled-components/es/components/Range/variations/_view/base.js +4 -0
- package/styled-components/es/components/Range/variations/_view/tokens.json +6 -0
- package/styled-components/es/components/TextField/TextField.js +11 -5
- package/styled-components/es/components/TextField/TextField.styles.js +6 -0
- package/styled-components/es/components/TextField/TextField.tokens.js +5 -0
- package/styled-components/es/components/TextField/variations/_label-placement/inner.js +2 -2
- package/styled-components/es/components/TextField/variations/_size/base.js +2 -2
- package/styled-components/es/components/TextField/variations/_view/base.js +2 -2
- package/styled-components/es/examples/plasma_b2c/components/Range/Range.config.js +25 -0
- package/styled-components/es/examples/plasma_b2c/components/Range/Range.js +5 -0
- package/styled-components/es/examples/plasma_b2c/components/Range/Range.stories.tsx +312 -0
- package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.config.js +8 -8
- package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +2 -0
- package/styled-components/es/examples/plasma_web/components/Range/Range.config.js +25 -0
- package/styled-components/es/examples/plasma_web/components/Range/Range.js +5 -0
- package/styled-components/es/examples/plasma_web/components/Range/Range.stories.tsx +312 -0
- package/styled-components/es/index.js +2 -1
- package/types/components/Range/Range.d.ts +31 -0
- package/types/components/Range/Range.d.ts.map +1 -0
- package/types/components/Range/Range.styles.d.ts +48 -0
- package/types/components/Range/Range.styles.d.ts.map +1 -0
- package/types/components/Range/Range.tokens.d.ts +98 -0
- package/types/components/Range/Range.tokens.d.ts.map +1 -0
- package/types/components/Range/Range.types.d.ts +143 -0
- package/types/components/Range/Range.types.d.ts.map +1 -0
- package/types/components/Range/index.d.ts +4 -0
- package/types/components/Range/index.d.ts.map +1 -0
- package/types/components/Range/utils/index.d.ts +5 -0
- package/types/components/Range/utils/index.d.ts.map +1 -0
- package/types/components/Range/variations/_disabled/base.d.ts +2 -0
- package/types/components/Range/variations/_disabled/base.d.ts.map +1 -0
- package/types/components/Range/variations/_readonly/base.d.ts +2 -0
- package/types/components/Range/variations/_readonly/base.d.ts.map +1 -0
- package/types/components/Range/variations/_size/base.d.ts +2 -0
- package/types/components/Range/variations/_size/base.d.ts.map +1 -0
- package/types/components/Range/variations/_view/base.d.ts +2 -0
- package/types/components/Range/variations/_view/base.d.ts.map +1 -0
- package/types/components/TextField/TextField.d.ts.map +1 -1
- package/types/components/TextField/TextField.styles.d.ts +2 -0
- package/types/components/TextField/TextField.styles.d.ts.map +1 -1
- package/types/components/TextField/TextField.tokens.d.ts +5 -0
- package/types/components/TextField/TextField.tokens.d.ts.map +1 -1
- package/types/components/TextField/TextField.types.d.ts +8 -0
- package/types/components/TextField/TextField.types.d.ts.map +1 -1
- package/types/components/TextField/variations/_label-placement/inner.d.ts.map +1 -1
- package/types/components/TextField/variations/_size/base.d.ts.map +1 -1
- package/types/components/TextField/variations/_view/base.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Range/Range.config.d.ts +24 -0
- package/types/examples/plasma_b2c/components/Range/Range.config.d.ts.map +1 -0
- package/types/examples/plasma_b2c/components/Range/Range.d.ts +127 -0
- package/types/examples/plasma_b2c/components/Range/Range.d.ts.map +1 -0
- package/types/examples/plasma_b2c/components/TextField/TextField.config.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/TextField/TextField.d.ts +4 -0
- package/types/examples/plasma_b2c/components/TextField/TextField.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Range/Range.config.d.ts +24 -0
- package/types/examples/plasma_web/components/Range/Range.config.d.ts.map +1 -0
- package/types/examples/plasma_web/components/Range/Range.d.ts +127 -0
- package/types/examples/plasma_web/components/Range/Range.d.ts.map +1 -0
- package/types/examples/plasma_web/components/TextField/TextField.d.ts +4 -0
- package/types/examples/plasma_web/components/TextField/TextField.d.ts.map +1 -1
- package/types/examples/sds_engineer/components/TextField/TextField.d.ts +4 -0
- package/types/examples/sds_engineer/components/TextField/TextField.d.ts.map +1 -1
- package/types/index.d.ts +1 -0
- package/types/index.d.ts.map +1 -1
- package/cjs/components/TextField/variations/_label-placement/inner_gqlcj2.css +0 -1
- package/es/components/TextField/variations/_label-placement/inner_gqlcj2.css +0 -1
@@ -0,0 +1,98 @@
|
|
1
|
+
export declare const classes: {
|
2
|
+
rangeError: string;
|
3
|
+
rangeValueError: string;
|
4
|
+
rangeSuccess: string;
|
5
|
+
rangeValueSuccess: string;
|
6
|
+
};
|
7
|
+
export declare const tokens: {
|
8
|
+
background: string;
|
9
|
+
backgroundError: string;
|
10
|
+
backgroundSuccess: string;
|
11
|
+
backgroundReadOnly: string;
|
12
|
+
borderRadius: string;
|
13
|
+
borderWidth: string;
|
14
|
+
borderColor: string;
|
15
|
+
borderColorError: string;
|
16
|
+
borderColorSuccess: string;
|
17
|
+
borderColorReadOnly: string;
|
18
|
+
/** Токены разделителя */
|
19
|
+
dividerColor: string;
|
20
|
+
dividerPadding: string;
|
21
|
+
dividerFontFamily: string;
|
22
|
+
dividerFontStyle: string;
|
23
|
+
dividerFontSize: string;
|
24
|
+
dividerFontWeight: string;
|
25
|
+
dividerLetterSpacing: string;
|
26
|
+
dividerLineHeight: string;
|
27
|
+
/** Токены слотов для контента */
|
28
|
+
leftContentMargin: string;
|
29
|
+
rightContentMargin: string;
|
30
|
+
/** Токены лейбла */
|
31
|
+
labelColor: string;
|
32
|
+
labelColorReadOnly: string;
|
33
|
+
labelOffset: string;
|
34
|
+
labelFontFamily: string;
|
35
|
+
labelFontStyle: string;
|
36
|
+
labelFontSize: string;
|
37
|
+
labelFontWeight: string;
|
38
|
+
labelLetterSpacing: string;
|
39
|
+
labelLineHeight: string;
|
40
|
+
/** Токены вспомогательного текста */
|
41
|
+
leftHelperColor: string;
|
42
|
+
leftHelperColorReadOnly: string;
|
43
|
+
leftHelperOffset: string;
|
44
|
+
leftHelperFontFamily: string;
|
45
|
+
leftHelperFontStyle: string;
|
46
|
+
leftHelperFontSize: string;
|
47
|
+
leftHelperFontWeight: string;
|
48
|
+
leftHelperLetterSpacing: string;
|
49
|
+
leftHelperLineHeight: string;
|
50
|
+
/** Прозрачность для всего компонента в состоянии disabled */
|
51
|
+
disabledOpacity: string;
|
52
|
+
/** Цвет обводки поля ввода при фокусе */
|
53
|
+
focusColor: string;
|
54
|
+
/** Токены полей ввода */
|
55
|
+
textFieldColor: string;
|
56
|
+
textFieldFocusColor: string;
|
57
|
+
textFieldPlaceholderColor: string;
|
58
|
+
textFieldCaretColor: string;
|
59
|
+
textFieldBackgroundColor: string;
|
60
|
+
textFieldBackgroundColorHover: string;
|
61
|
+
textFieldBackgroundColorFocus: string;
|
62
|
+
textFieldBackgroundErrorColor: string;
|
63
|
+
textFieldBackgroundErrorColorHover: string;
|
64
|
+
textFieldBackgroundErrorColorFocus: string;
|
65
|
+
textFieldBackgroundSuccessColor: string;
|
66
|
+
textFieldBackgroundSuccessColorHover: string;
|
67
|
+
textFieldBackgroundSuccessColorFocus: string;
|
68
|
+
textFieldBorderColor: string;
|
69
|
+
textFieldBorderColorHover: string;
|
70
|
+
textFieldBorderColorFocus: string;
|
71
|
+
textFieldBorderColorError: string;
|
72
|
+
textFieldBorderColorErrorHover: string;
|
73
|
+
textFieldBorderColorErrorFocus: string;
|
74
|
+
textFieldBorderColorSuccess: string;
|
75
|
+
textFieldBorderColorSuccessHover: string;
|
76
|
+
textFieldBorderColorSuccessFocus: string;
|
77
|
+
textFieldColorReadOnly: string;
|
78
|
+
textFieldBackgroundColorReadOnly: string;
|
79
|
+
textFieldBorderColorReadOnly: string;
|
80
|
+
textFieldPlaceholderColorReadOnly: string;
|
81
|
+
textFieldHeight: string;
|
82
|
+
textFieldBorderWidth: string;
|
83
|
+
textFieldBorderRadius: string;
|
84
|
+
textFieldPadding: string;
|
85
|
+
textFieldLeftContentMargin: string;
|
86
|
+
textFieldRightContentMargin: string;
|
87
|
+
textFieldFontFamily: string;
|
88
|
+
textFieldFontStyle: string;
|
89
|
+
textFieldFontSize: string;
|
90
|
+
textFieldFontWeight: string;
|
91
|
+
textFieldLetterSpacing: string;
|
92
|
+
textFieldLineHeight: string;
|
93
|
+
textFieldTextBeforeColor: string;
|
94
|
+
textFieldTextAfterColor: string;
|
95
|
+
textFieldTextBeforeMargin: string;
|
96
|
+
textFieldTextAfterMargin: string;
|
97
|
+
};
|
98
|
+
//# sourceMappingURL=Range.tokens.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Range.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Range/Range.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;CAKnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;IAYf,yBAAyB;;;;;;;;;IAUzB,iCAAiC;;;IAIjC,oBAAoB;;;;;;;;;;IAYpB,qCAAqC;;;;;;;;;;IAYrC,6DAA6D;;IAG7D,yCAAyC;;IAGzC,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgD5B,CAAC"}
|
@@ -0,0 +1,143 @@
|
|
1
|
+
import type { KeyboardEvent, ChangeEvent, ReactNode, HTMLAttributes, ReactElement } from 'react';
|
2
|
+
export declare type TextfieldPrimitiveValue = string | number;
|
3
|
+
export declare type RangeDividerVariants = {
|
4
|
+
firstTextfieldTextBefore: string;
|
5
|
+
secondTextfieldTextBefore: string;
|
6
|
+
dividerVariant?: 'none';
|
7
|
+
dividerIcon?: never;
|
8
|
+
} | {
|
9
|
+
dividerVariant?: 'dash';
|
10
|
+
dividerIcon?: never;
|
11
|
+
firstTextfieldTextBefore?: string;
|
12
|
+
secondTextfieldTextBefore?: string;
|
13
|
+
} | {
|
14
|
+
dividerIcon?: ReactNode;
|
15
|
+
dividerVariant?: 'icon';
|
16
|
+
firstTextfieldTextBefore?: string;
|
17
|
+
secondTextfieldTextBefore?: string;
|
18
|
+
};
|
19
|
+
export declare type BaseCallbackChangeInstance = (event: ChangeEvent<HTMLInputElement>, value?: TextfieldPrimitiveValue) => void;
|
20
|
+
export declare type BaseCallbackKeyboardInstance = (event: KeyboardEvent<HTMLInputElement>, value?: TextfieldPrimitiveValue) => void;
|
21
|
+
export declare type RangeProps = {
|
22
|
+
/**
|
23
|
+
* Метка-подпись к элементу
|
24
|
+
*/
|
25
|
+
label?: string;
|
26
|
+
/**
|
27
|
+
* Вспомогательный текст снизу слева для поля ввода.
|
28
|
+
*/
|
29
|
+
leftHelper?: string;
|
30
|
+
/**
|
31
|
+
* Слот для контента слева
|
32
|
+
*/
|
33
|
+
contentLeft?: ReactNode;
|
34
|
+
/**
|
35
|
+
* Слот для контента справа
|
36
|
+
*/
|
37
|
+
contentRight?: ReactNode;
|
38
|
+
/**
|
39
|
+
* Значение первого поля ввода
|
40
|
+
*/
|
41
|
+
firstValue?: TextfieldPrimitiveValue;
|
42
|
+
/**
|
43
|
+
* Значение второго поля ввода
|
44
|
+
*/
|
45
|
+
secondValue?: TextfieldPrimitiveValue;
|
46
|
+
/**
|
47
|
+
* Некорректное значение первого поля ввода
|
48
|
+
*/
|
49
|
+
firstValueError?: boolean;
|
50
|
+
/**
|
51
|
+
* Некорректное значение второго поля ввода
|
52
|
+
*/
|
53
|
+
secondValueError?: boolean;
|
54
|
+
/**
|
55
|
+
* Корректное значение первого поля ввода
|
56
|
+
*/
|
57
|
+
firstValueSuccess?: boolean;
|
58
|
+
/**
|
59
|
+
* Корректное значение второго поля ввода
|
60
|
+
*/
|
61
|
+
secondValueSuccess?: boolean;
|
62
|
+
/**
|
63
|
+
* Значение первого поля ввода
|
64
|
+
*/
|
65
|
+
firstPlaceholder?: string;
|
66
|
+
/**
|
67
|
+
* Значение второго поля ввода
|
68
|
+
*/
|
69
|
+
secondPlaceholder?: string;
|
70
|
+
/**
|
71
|
+
* Слот для контента слева для первого поля ввода
|
72
|
+
*/
|
73
|
+
firstTextfieldContentLeft?: ReactElement;
|
74
|
+
/**
|
75
|
+
* Слот для контента справа для второго поля ввода
|
76
|
+
*/
|
77
|
+
firstTextfieldContentRight?: ReactElement;
|
78
|
+
/**
|
79
|
+
* Слот для контента слева для первого поля ввода
|
80
|
+
*/
|
81
|
+
secondTextfieldContentLeft?: ReactElement;
|
82
|
+
/**
|
83
|
+
* Слот для контента справа для второго поля ввода
|
84
|
+
*/
|
85
|
+
secondTextfieldContentRight?: ReactElement;
|
86
|
+
/**
|
87
|
+
* Слот для вспомогательного текста справа для первого поля ввода
|
88
|
+
*/
|
89
|
+
firstTextfieldTextAfter?: string;
|
90
|
+
/**
|
91
|
+
* Слот для вспомогательного текста справа для второго поля ввода
|
92
|
+
*/
|
93
|
+
secondTextfieldTextAfter?: string;
|
94
|
+
/**
|
95
|
+
* Вариант отображения
|
96
|
+
*/
|
97
|
+
view?: string;
|
98
|
+
/**
|
99
|
+
* Размер компонента
|
100
|
+
*/
|
101
|
+
size?: string;
|
102
|
+
/**
|
103
|
+
* Компонент доступен только для чтения
|
104
|
+
*/
|
105
|
+
readOnly?: boolean;
|
106
|
+
/**
|
107
|
+
* Компонент неактивен
|
108
|
+
*/
|
109
|
+
disabled?: boolean;
|
110
|
+
/**
|
111
|
+
* Коллбэк, вызываемый при изменении первого поля ввода
|
112
|
+
*/
|
113
|
+
onChangeFirstValue?: BaseCallbackChangeInstance;
|
114
|
+
/**
|
115
|
+
* Коллбэк, вызываемый при изменении второго поля ввода
|
116
|
+
*/
|
117
|
+
onChangeSecondValue?: BaseCallbackChangeInstance;
|
118
|
+
/**
|
119
|
+
* Коллбэк, вызываемый при нажатии `Enter` в первом поле ввода
|
120
|
+
*/
|
121
|
+
onSearchFirstValue?: BaseCallbackKeyboardInstance;
|
122
|
+
/**
|
123
|
+
* Коллбэк, вызываемый при нажатии `Enter` во втором поле ввода
|
124
|
+
*/
|
125
|
+
onSearchSecondValue?: BaseCallbackKeyboardInstance;
|
126
|
+
/**
|
127
|
+
* Коллбэк, вызываемый при фокусе на первое поле ввода
|
128
|
+
*/
|
129
|
+
onFocusFirstTextfield?: (event: ChangeEvent<HTMLInputElement>) => void;
|
130
|
+
/**
|
131
|
+
* Коллбэк, вызываемый при фокусе на второе поле ввода
|
132
|
+
*/
|
133
|
+
onFocusSecondTextfield?: (event: ChangeEvent<HTMLInputElement>) => void;
|
134
|
+
/**
|
135
|
+
* Коллбэк, вызываемый при потере фокуса первым полем ввода
|
136
|
+
*/
|
137
|
+
onBlurFirstTextfield?: (event: ChangeEvent<HTMLInputElement>) => void;
|
138
|
+
/**
|
139
|
+
* Коллбэк, вызываемый при потере фокуса вторым полем ввода
|
140
|
+
*/
|
141
|
+
onBlurSecondTextfield?: (event: ChangeEvent<HTMLInputElement>) => void;
|
142
|
+
} & RangeDividerVariants & HTMLAttributes<HTMLDivElement>;
|
143
|
+
//# sourceMappingURL=Range.types.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Range.types.d.ts","sourceRoot":"","sources":["../../../src/components/Range/Range.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,SAAS,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAEjG,oBAAY,uBAAuB,GAAG,MAAM,GAAG,MAAM,CAAC;AAEtD,oBAAY,oBAAoB,GAC1B;IACI,wBAAwB,EAAE,MAAM,CAAC;IACjC,yBAAyB,EAAE,MAAM,CAAC;IAClC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,KAAK,CAAC;CACvB,GACD;IACI,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,KAAK,CAAC;IACpB,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,yBAAyB,CAAC,EAAE,MAAM,CAAC;CACtC,GACD;IACI,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,yBAAyB,CAAC,EAAE,MAAM,CAAC;CACtC,CAAC;AAER,oBAAY,0BAA0B,GAAG,CACrC,KAAK,EAAE,WAAW,CAAC,gBAAgB,CAAC,EACpC,KAAK,CAAC,EAAE,uBAAuB,KAC9B,IAAI,CAAC;AACV,oBAAY,4BAA4B,GAAG,CACvC,KAAK,EAAE,aAAa,CAAC,gBAAgB,CAAC,EACtC,KAAK,CAAC,EAAE,uBAAuB,KAC9B,IAAI,CAAC;AAEV,oBAAY,UAAU,GAAG;IACrB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;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EG;IACH,sBAAsB,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IACxE;;OAEG;IACH,oBAAoB,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IACtE;;OAEG;IACH,qBAAqB,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;CAC1E,GAAG,oBAAoB,GACpB,cAAc,CAAC,cAAc,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Range/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,EAAE,MAAM,IAAI,WAAW,EAAE,MAAM,gBAAgB,CAAC;AACvD,YAAY,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC"}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import type { ChangeEvent, KeyboardEvent } from 'react';
|
2
|
+
import type { BaseCallbackChangeInstance, BaseCallbackKeyboardInstance } from '../Range.types';
|
3
|
+
export declare const getChangeHandler: (changeHandler?: BaseCallbackChangeInstance | undefined, disabled?: boolean | undefined, readOnly?: boolean | undefined) => (event: ChangeEvent<HTMLInputElement>) => void;
|
4
|
+
export declare const getSearchHandler: (searchHandler?: BaseCallbackKeyboardInstance | undefined, disabled?: boolean | undefined, readOnly?: boolean | undefined) => (value: string, event?: KeyboardEvent<HTMLInputElement> | undefined) => void;
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Range/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAExD,OAAO,KAAK,EAAE,0BAA0B,EAAE,4BAA4B,EAAE,MAAM,gBAAgB,CAAC;AAE/F,eAAO,MAAM,gBAAgB,sIAIhB,YAAY,gBAAgB,CAAC,SAMzC,CAAC;AAEF,eAAO,MAAM,gBAAgB,wIAIhB,MAAM,8DAMlB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Range/variations/_disabled/base.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI,0CAKhB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Range/variations/_readonly/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CAiBhB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Range/variations/_size/base.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,IAAI,0CAgDhB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Range/variations/_view/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CA4BhB,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;AAKvE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAG/C,OAAO,KAAK,EAAuC,cAAc,EAAE,MAAM,mBAAmB,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;AAG/C,OAAO,KAAK,EAAuC,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAsB7F,eAAO,MAAM,IAAI,0CAIhB,CAAC;AAEF,eAAO,MAAM,aAAa,SAAU,UAAU,cAAc,EAAE,cAAc,CAAC,4FAyMxE,CAAC;AAEN,eAAO,MAAM,eAAe;;;mBA3MQ,UAAU,cAAc,EAAE,cAAc,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;CAuO5E,CAAC"}
|
@@ -7,4 +7,6 @@ export declare const Label: import("@linaria/react").StyledComponent<import("rea
|
|
7
7
|
export declare const StyledContentLeft: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
8
8
|
export declare const StyledContentRight: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
9
9
|
export declare const LeftHelper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
10
|
+
export declare const StyledTextBefore: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
11
|
+
export declare const StyledTextAfter: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
10
12
|
//# sourceMappingURL=TextField.styles.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TextField.styles.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.styles.ts"],"names":[],"mappings":";AAIA,eAAO,MAAM,YAAY,qKAKxB,CAAC;AAEF,eAAO,MAAM,iBAAiB,qKAoB7B,CAAC;AAEF,eAAO,MAAM,WAAW,qKAKvB,CAAC;AAEF,eAAO,MAAM,KAAK,8KASjB,CAAC;AAEF,eAAO,MAAM,KAAK,8KAAiB,CAAC;AAEpC,eAAO,MAAM,iBAAiB,qKAE7B,CAAC;AAEF,eAAO,MAAM,kBAAkB,qKAE9B,CAAC;AAEF,eAAO,MAAM,UAAU,qKAAe,CAAC"}
|
1
|
+
{"version":3,"file":"TextField.styles.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.styles.ts"],"names":[],"mappings":";AAIA,eAAO,MAAM,YAAY,qKAKxB,CAAC;AAEF,eAAO,MAAM,iBAAiB,qKAoB7B,CAAC;AAEF,eAAO,MAAM,WAAW,qKAKvB,CAAC;AAEF,eAAO,MAAM,KAAK,8KASjB,CAAC;AAEF,eAAO,MAAM,KAAK,8KAAiB,CAAC;AAEpC,eAAO,MAAM,iBAAiB,qKAE7B,CAAC;AAEF,eAAO,MAAM,kBAAkB,qKAE9B,CAAC;AAEF,eAAO,MAAM,UAAU,qKAAe,CAAC;AAEvC,eAAO,MAAM,gBAAgB,qKAAe,CAAC;AAE7C,eAAO,MAAM,eAAe,qKAAe,CAAC"}
|
@@ -60,6 +60,11 @@ export declare const tokens: {
|
|
60
60
|
leftHelperFontWeight: string;
|
61
61
|
leftHelperLetterSpacing: string;
|
62
62
|
leftHelperLineHeight: string;
|
63
|
+
/** Токены вспомогательного текста */
|
64
|
+
textBeforeColor: string;
|
65
|
+
textAfterColor: string;
|
66
|
+
textBeforeMargin: string;
|
67
|
+
textAfterMargin: string;
|
63
68
|
/** Прозрачность для всего компонента в состоянии disabled */
|
64
69
|
disabledOpacity: string;
|
65
70
|
/** Токены чипа */
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TextField.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;CAInB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;IAWf,oCAAoC;;;;;IAMpC,mBAAmB;;;;;;IAQnB,kCAAkC;;;;;;;;;;;IAelC,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;IAkCpB,6DAA6D;;IAG7D,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoCrB,CAAC"}
|
1
|
+
{"version":3,"file":"TextField.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;CAInB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;IAWf,oCAAoC;;;;;IAMpC,mBAAmB;;;;;;IAQnB,kCAAkC;;;;;;;;;;;IAelC,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;IAkCpB,qCAAqC;;;;;IAMrC,6DAA6D;;IAG7D,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoCrB,CAAC"}
|
@@ -63,6 +63,14 @@ export declare type TextFieldPropsBase = {
|
|
63
63
|
* Слот для контента справа.
|
64
64
|
*/
|
65
65
|
contentRight?: React.ReactElement;
|
66
|
+
/**
|
67
|
+
* Слот для вспомогательного текста справа.
|
68
|
+
*/
|
69
|
+
textBefore?: string;
|
70
|
+
/**
|
71
|
+
* Слот для вспомогательного текста слева.
|
72
|
+
*/
|
73
|
+
textAfter?: string;
|
66
74
|
/**
|
67
75
|
* Callback по нажатию Enter
|
68
76
|
*/
|
@@ -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,mBAAmB,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAE/F,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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G;IACzB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB,GAAG,kBAAkB,GAClB,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC,CAAC;AAExD,MAAM,WAAW,cAAc;IAC3B,SAAS,EAAE,gBAAgB,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC;IACtD,QAAQ,CAAC,EAAE,gBAAgB,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC;IACrD,UAAU,CAAC,EAAE,gBAAgB,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;CACxD;AAED,MAAM,WAAW,qBAAqB;IAClC,cAAc,EAAE,cAAc,CAAC;IAC/B,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;IACzB,eAAe,EAAE,eAAe,CAAC;IACjC,WAAW,EAAE,CAAC,QAAQ,EAAE,KAAK,CAAC,UAAU,CAAC,EAAE,SAAS,EAAE,KAAK,CAAC,uBAAuB,CAAC,KAAK,IAAI,CAAC;IAC9F,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,aAAa,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC5E,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;CAC7D"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"inner.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextField/variations/_label-placement/inner.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,oBAAoB,
|
1
|
+
{"version":3,"file":"inner.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextField/variations/_label-placement/inner.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,oBAAoB,0CAgDhC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextField/variations/_size/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextField/variations/_size/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CAiEhB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextField/variations/_view/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextField/variations/_view/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CA2ChB,CAAC"}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
export declare const config: {
|
2
|
+
defaults: {
|
3
|
+
view: string;
|
4
|
+
size: string;
|
5
|
+
};
|
6
|
+
variations: {
|
7
|
+
view: {
|
8
|
+
default: import("@linaria/core").LinariaClassName;
|
9
|
+
};
|
10
|
+
size: {
|
11
|
+
l: import("@linaria/core").LinariaClassName;
|
12
|
+
m: import("@linaria/core").LinariaClassName;
|
13
|
+
s: import("@linaria/core").LinariaClassName;
|
14
|
+
xs: import("@linaria/core").LinariaClassName;
|
15
|
+
};
|
16
|
+
disabled: {
|
17
|
+
true: import("@linaria/core").LinariaClassName;
|
18
|
+
};
|
19
|
+
readOnly: {
|
20
|
+
true: import("@linaria/core").LinariaClassName;
|
21
|
+
};
|
22
|
+
};
|
23
|
+
};
|
24
|
+
//# sourceMappingURL=Range.config.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Range.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Range/Range.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;CA2OlB,CAAC"}
|
@@ -0,0 +1,127 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
export declare const Range: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
|
3
|
+
view: {
|
4
|
+
default: import("@linaria/core").LinariaClassName;
|
5
|
+
};
|
6
|
+
size: {
|
7
|
+
l: import("@linaria/core").LinariaClassName;
|
8
|
+
m: import("@linaria/core").LinariaClassName;
|
9
|
+
s: import("@linaria/core").LinariaClassName;
|
10
|
+
xs: import("@linaria/core").LinariaClassName;
|
11
|
+
};
|
12
|
+
disabled: {
|
13
|
+
true: import("@linaria/core").LinariaClassName;
|
14
|
+
};
|
15
|
+
readOnly: {
|
16
|
+
true: import("@linaria/core").LinariaClassName;
|
17
|
+
};
|
18
|
+
}> & (({
|
19
|
+
label?: string | undefined;
|
20
|
+
leftHelper?: string | undefined;
|
21
|
+
contentLeft?: import("react").ReactNode;
|
22
|
+
contentRight?: import("react").ReactNode;
|
23
|
+
firstValue?: import("../../../../components/Range/Range.types").TextfieldPrimitiveValue | undefined;
|
24
|
+
secondValue?: import("../../../../components/Range/Range.types").TextfieldPrimitiveValue | undefined;
|
25
|
+
firstValueError?: boolean | undefined;
|
26
|
+
secondValueError?: boolean | undefined;
|
27
|
+
firstValueSuccess?: boolean | undefined;
|
28
|
+
secondValueSuccess?: boolean | undefined;
|
29
|
+
firstPlaceholder?: string | undefined;
|
30
|
+
secondPlaceholder?: string | undefined;
|
31
|
+
firstTextfieldContentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
32
|
+
firstTextfieldContentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
33
|
+
secondTextfieldContentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
34
|
+
secondTextfieldContentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
35
|
+
firstTextfieldTextAfter?: string | undefined;
|
36
|
+
secondTextfieldTextAfter?: string | undefined;
|
37
|
+
view?: string | undefined;
|
38
|
+
size?: string | undefined;
|
39
|
+
readOnly?: boolean | undefined;
|
40
|
+
disabled?: boolean | undefined;
|
41
|
+
onChangeFirstValue?: import("../../../../components/Range/Range.types").BaseCallbackChangeInstance | undefined;
|
42
|
+
onChangeSecondValue?: import("../../../../components/Range/Range.types").BaseCallbackChangeInstance | undefined;
|
43
|
+
onSearchFirstValue?: import("../../../../components/Range/Range.types").BaseCallbackKeyboardInstance | undefined;
|
44
|
+
onSearchSecondValue?: import("../../../../components/Range/Range.types").BaseCallbackKeyboardInstance | undefined;
|
45
|
+
onFocusFirstTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
|
46
|
+
onFocusSecondTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
|
47
|
+
onBlurFirstTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
|
48
|
+
onBlurSecondTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
|
49
|
+
} & {
|
50
|
+
firstTextfieldTextBefore: string;
|
51
|
+
secondTextfieldTextBefore: string;
|
52
|
+
dividerVariant?: "none" | undefined;
|
53
|
+
dividerIcon?: undefined;
|
54
|
+
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLInputElement>) | ({
|
55
|
+
label?: string | undefined;
|
56
|
+
leftHelper?: string | undefined;
|
57
|
+
contentLeft?: import("react").ReactNode;
|
58
|
+
contentRight?: import("react").ReactNode;
|
59
|
+
firstValue?: import("../../../../components/Range/Range.types").TextfieldPrimitiveValue | undefined;
|
60
|
+
secondValue?: import("../../../../components/Range/Range.types").TextfieldPrimitiveValue | undefined;
|
61
|
+
firstValueError?: boolean | undefined;
|
62
|
+
secondValueError?: boolean | undefined;
|
63
|
+
firstValueSuccess?: boolean | undefined;
|
64
|
+
secondValueSuccess?: boolean | undefined;
|
65
|
+
firstPlaceholder?: string | undefined;
|
66
|
+
secondPlaceholder?: string | undefined;
|
67
|
+
firstTextfieldContentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
68
|
+
firstTextfieldContentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
69
|
+
secondTextfieldContentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
70
|
+
secondTextfieldContentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
71
|
+
firstTextfieldTextAfter?: string | undefined;
|
72
|
+
secondTextfieldTextAfter?: string | undefined;
|
73
|
+
view?: string | undefined;
|
74
|
+
size?: string | undefined;
|
75
|
+
readOnly?: boolean | undefined;
|
76
|
+
disabled?: boolean | undefined;
|
77
|
+
onChangeFirstValue?: import("../../../../components/Range/Range.types").BaseCallbackChangeInstance | undefined;
|
78
|
+
onChangeSecondValue?: import("../../../../components/Range/Range.types").BaseCallbackChangeInstance | undefined;
|
79
|
+
onSearchFirstValue?: import("../../../../components/Range/Range.types").BaseCallbackKeyboardInstance | undefined;
|
80
|
+
onSearchSecondValue?: import("../../../../components/Range/Range.types").BaseCallbackKeyboardInstance | undefined;
|
81
|
+
onFocusFirstTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
|
82
|
+
onFocusSecondTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
|
83
|
+
onBlurFirstTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
|
84
|
+
onBlurSecondTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
|
85
|
+
} & {
|
86
|
+
dividerVariant?: "dash" | undefined;
|
87
|
+
dividerIcon?: undefined;
|
88
|
+
firstTextfieldTextBefore?: string | undefined;
|
89
|
+
secondTextfieldTextBefore?: string | undefined;
|
90
|
+
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLInputElement>) | ({
|
91
|
+
label?: string | undefined;
|
92
|
+
leftHelper?: string | undefined;
|
93
|
+
contentLeft?: import("react").ReactNode;
|
94
|
+
contentRight?: import("react").ReactNode;
|
95
|
+
firstValue?: import("../../../../components/Range/Range.types").TextfieldPrimitiveValue | undefined;
|
96
|
+
secondValue?: import("../../../../components/Range/Range.types").TextfieldPrimitiveValue | undefined;
|
97
|
+
firstValueError?: boolean | undefined;
|
98
|
+
secondValueError?: boolean | undefined;
|
99
|
+
firstValueSuccess?: boolean | undefined;
|
100
|
+
secondValueSuccess?: boolean | undefined;
|
101
|
+
firstPlaceholder?: string | undefined;
|
102
|
+
secondPlaceholder?: string | undefined;
|
103
|
+
firstTextfieldContentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
104
|
+
firstTextfieldContentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
105
|
+
secondTextfieldContentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
106
|
+
secondTextfieldContentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
107
|
+
firstTextfieldTextAfter?: string | undefined;
|
108
|
+
secondTextfieldTextAfter?: string | undefined;
|
109
|
+
view?: string | undefined;
|
110
|
+
size?: string | undefined;
|
111
|
+
readOnly?: boolean | undefined;
|
112
|
+
disabled?: boolean | undefined;
|
113
|
+
onChangeFirstValue?: import("../../../../components/Range/Range.types").BaseCallbackChangeInstance | undefined;
|
114
|
+
onChangeSecondValue?: import("../../../../components/Range/Range.types").BaseCallbackChangeInstance | undefined;
|
115
|
+
onSearchFirstValue?: import("../../../../components/Range/Range.types").BaseCallbackKeyboardInstance | undefined;
|
116
|
+
onSearchSecondValue?: import("../../../../components/Range/Range.types").BaseCallbackKeyboardInstance | undefined;
|
117
|
+
onFocusFirstTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
|
118
|
+
onFocusSecondTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
|
119
|
+
onBlurFirstTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
|
120
|
+
onBlurSecondTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
|
121
|
+
} & {
|
122
|
+
dividerIcon?: import("react").ReactNode;
|
123
|
+
dividerVariant?: "icon" | undefined;
|
124
|
+
firstTextfieldTextBefore?: string | undefined;
|
125
|
+
secondTextfieldTextBefore?: string | undefined;
|
126
|
+
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLInputElement>))>;
|
127
|
+
//# sourceMappingURL=Range.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Range.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Range/Range.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uGAA0B,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TextField.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/TextField/TextField.config.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"TextField.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/TextField/TextField.config.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqXlB,CAAC"}
|
@@ -33,6 +33,8 @@ export declare const TextField: import("react").FunctionComponent<import("../../
|
|
33
33
|
leftHelper?: string | undefined;
|
34
34
|
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
35
35
|
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
36
|
+
textBefore?: string | undefined;
|
37
|
+
textAfter?: string | undefined;
|
36
38
|
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
37
39
|
} & {
|
38
40
|
chips?: undefined;
|
@@ -50,6 +52,8 @@ export declare const TextField: import("react").FunctionComponent<import("../../
|
|
50
52
|
leftHelper?: string | undefined;
|
51
53
|
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
52
54
|
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
55
|
+
textBefore?: string | undefined;
|
56
|
+
textAfter?: string | undefined;
|
53
57
|
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
54
58
|
} & {
|
55
59
|
enumerationType: "chip";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/TextField/TextField.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,SAAS
|
1
|
+
{"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/TextField/TextField.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4HAA0B,CAAC"}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
export declare const config: {
|
2
|
+
defaults: {
|
3
|
+
view: string;
|
4
|
+
size: string;
|
5
|
+
};
|
6
|
+
variations: {
|
7
|
+
view: {
|
8
|
+
default: import("@linaria/core").LinariaClassName;
|
9
|
+
};
|
10
|
+
size: {
|
11
|
+
l: import("@linaria/core").LinariaClassName;
|
12
|
+
m: import("@linaria/core").LinariaClassName;
|
13
|
+
s: import("@linaria/core").LinariaClassName;
|
14
|
+
xs: import("@linaria/core").LinariaClassName;
|
15
|
+
};
|
16
|
+
disabled: {
|
17
|
+
true: import("@linaria/core").LinariaClassName;
|
18
|
+
};
|
19
|
+
readOnly: {
|
20
|
+
true: import("@linaria/core").LinariaClassName;
|
21
|
+
};
|
22
|
+
};
|
23
|
+
};
|
24
|
+
//# sourceMappingURL=Range.config.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Range.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Range/Range.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;CAqPlB,CAAC"}
|