@salutejs/plasma-new-hope 0.345.0-canary.2422.20906430475.0 → 0.345.0-canary.2423.20958341938.0
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/css/cjs/components/Combobox/ComboboxNew/Combobox.js +4 -0
- package/dist/css/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
- package/dist/css/cjs/components/TextArea/TextArea.js +49 -53
- package/dist/css/cjs/components/TextArea/TextArea.js.map +1 -1
- package/dist/css/cjs/components/TextArea/TextArea.styles.js +27 -27
- package/dist/css/cjs/components/TextArea/TextArea.styles.js.map +1 -1
- package/dist/css/cjs/components/TextArea/{TextArea.styles_j6drga.css → TextArea.styles_1tn1ff1.css} +2 -2
- package/dist/css/cjs/components/TextArea/TextArea.tokens.js +49 -123
- package/dist/css/cjs/components/TextArea/TextArea.tokens.js.map +1 -1
- package/dist/css/cjs/components/TextArea/ui/Hint/Hint.css +22 -22
- package/dist/css/cjs/components/TextArea/variations/_disabled/base.js +1 -1
- package/dist/css/cjs/components/TextArea/variations/_disabled/base.js.map +1 -1
- package/dist/css/cjs/components/TextArea/variations/_disabled/base_1vc9ple.css +1 -0
- package/dist/css/cjs/components/TextArea/variations/_read-only/base.js +1 -1
- package/dist/css/cjs/components/TextArea/variations/_read-only/base.js.map +1 -1
- package/dist/css/cjs/components/TextArea/variations/_read-only/base_l5o3oz.css +1 -0
- package/dist/css/cjs/components/TextArea/variations/_size/base.js +1 -1
- package/dist/css/cjs/components/TextArea/variations/_size/base.js.map +1 -1
- package/dist/css/cjs/components/TextArea/variations/_size/base_15qflyx.css +1 -0
- package/dist/css/cjs/components/TextArea/variations/_view/base.js +1 -1
- package/dist/css/cjs/components/TextArea/variations/_view/base.js.map +1 -1
- package/dist/css/cjs/components/TextArea/variations/_view/{base_1hvnv2t.css → base_l2axzd.css} +1 -1
- package/dist/css/cjs/index.css +31 -33
- package/dist/css/es/components/Combobox/ComboboxNew/Combobox.js +4 -0
- package/dist/css/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
- package/dist/css/es/components/TextArea/TextArea.js +49 -53
- package/dist/css/es/components/TextArea/TextArea.js.map +1 -1
- package/dist/css/es/components/TextArea/TextArea.styles.js +27 -27
- package/dist/css/es/components/TextArea/TextArea.styles.js.map +1 -1
- package/dist/css/es/components/TextArea/{TextArea.styles_j6drga.css → TextArea.styles_1tn1ff1.css} +2 -2
- package/dist/css/es/components/TextArea/TextArea.tokens.js +49 -123
- package/dist/css/es/components/TextArea/TextArea.tokens.js.map +1 -1
- package/dist/css/es/components/TextArea/ui/Hint/Hint.css +22 -22
- package/dist/css/es/components/TextArea/variations/_disabled/base.js +1 -1
- package/dist/css/es/components/TextArea/variations/_disabled/base.js.map +1 -1
- package/dist/css/es/components/TextArea/variations/_disabled/base_1vc9ple.css +1 -0
- package/dist/css/es/components/TextArea/variations/_read-only/base.js +1 -1
- package/dist/css/es/components/TextArea/variations/_read-only/base.js.map +1 -1
- package/dist/css/es/components/TextArea/variations/_read-only/base_l5o3oz.css +1 -0
- package/dist/css/es/components/TextArea/variations/_size/base.js +1 -1
- package/dist/css/es/components/TextArea/variations/_size/base.js.map +1 -1
- package/dist/css/es/components/TextArea/variations/_size/base_15qflyx.css +1 -0
- package/dist/css/es/components/TextArea/variations/_view/base.js +1 -1
- package/dist/css/es/components/TextArea/variations/_view/base.js.map +1 -1
- package/dist/css/es/components/TextArea/variations/_view/{base_1hvnv2t.css → base_l2axzd.css} +1 -1
- package/dist/css/es/index.css +31 -33
- package/dist/emotion/cjs/components/Combobox/ComboboxNew/Combobox.js +3 -0
- package/dist/emotion/cjs/components/TextArea/TextArea.js +52 -49
- package/dist/emotion/cjs/components/TextArea/TextArea.styles.js +49 -49
- package/dist/emotion/cjs/components/TextArea/TextArea.tokens.js +106 -112
- package/dist/emotion/cjs/components/TextArea/variations/_disabled/base.js +1 -2
- package/dist/emotion/cjs/components/TextArea/variations/_read-only/base.js +1 -1
- package/dist/emotion/cjs/components/TextArea/variations/_size/base.js +2 -1
- package/dist/emotion/cjs/components/TextArea/variations/_view/base.js +1 -1
- package/dist/emotion/cjs/examples/components/TextArea/TextArea.clear.config.js +47 -0
- package/dist/emotion/cjs/examples/components/TextArea/TextArea.config.js +16 -19
- package/dist/emotion/cjs/examples/components/TextArea/TextArea.js +29 -5
- package/dist/emotion/es/components/Combobox/ComboboxNew/Combobox.js +3 -0
- package/dist/emotion/es/components/TextArea/TextArea.js +44 -41
- package/dist/emotion/es/components/TextArea/TextArea.styles.js +49 -49
- package/dist/emotion/es/components/TextArea/TextArea.tokens.js +106 -112
- package/dist/emotion/es/components/TextArea/variations/_disabled/base.js +1 -2
- package/dist/emotion/es/components/TextArea/variations/_read-only/base.js +1 -1
- package/dist/emotion/es/components/TextArea/variations/_size/base.js +3 -2
- package/dist/emotion/es/components/TextArea/variations/_view/base.js +2 -2
- package/dist/emotion/es/examples/components/Combobox/Combobox.js +0 -7
- package/dist/emotion/es/examples/components/TextArea/TextArea.clear.config.js +37 -0
- package/dist/emotion/es/examples/components/TextArea/TextArea.config.js +16 -19
- package/dist/emotion/es/examples/components/TextArea/TextArea.js +15 -2
- package/dist/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.js +3 -0
- package/dist/styled-components/cjs/components/TextArea/TextArea.js +51 -48
- package/dist/styled-components/cjs/components/TextArea/TextArea.styles.js +33 -31
- package/dist/styled-components/cjs/components/TextArea/TextArea.tokens.js +106 -112
- package/dist/styled-components/cjs/components/TextArea/variations/_disabled/base.js +3 -13
- package/dist/styled-components/cjs/components/TextArea/variations/_read-only/base.js +4 -2
- package/dist/styled-components/cjs/components/TextArea/variations/_size/base.js +9 -2
- package/dist/styled-components/cjs/components/TextArea/variations/_view/base.js +11 -2
- package/dist/styled-components/cjs/examples/components/Combobox/Combobox.js +15 -0
- package/dist/styled-components/cjs/examples/components/TextArea/TextArea.clear.config.js +520 -0
- package/dist/styled-components/cjs/examples/components/TextArea/TextArea.config.js +258 -290
- package/dist/styled-components/cjs/examples/components/TextArea/TextArea.js +29 -5
- package/dist/styled-components/es/components/Combobox/ComboboxNew/Combobox.js +3 -0
- package/dist/styled-components/es/components/TextArea/TextArea.js +43 -40
- package/dist/styled-components/es/components/TextArea/TextArea.styles.js +33 -31
- package/dist/styled-components/es/components/TextArea/TextArea.tokens.js +106 -112
- package/dist/styled-components/es/components/TextArea/variations/_disabled/base.js +3 -13
- package/dist/styled-components/es/components/TextArea/variations/_read-only/base.js +4 -2
- package/dist/styled-components/es/components/TextArea/variations/_size/base.js +10 -3
- package/dist/styled-components/es/components/TextArea/variations/_view/base.js +12 -3
- package/dist/styled-components/es/examples/components/TextArea/TextArea.clear.config.js +510 -0
- package/dist/styled-components/es/examples/components/TextArea/TextArea.config.js +258 -290
- package/dist/styled-components/es/examples/components/TextArea/TextArea.js +15 -2
- package/package.json +6 -6
- package/types/components/Combobox/ComboboxNew/Combobox.d.ts.map +1 -1
- package/types/components/TextArea/TextArea.d.ts +0 -4
- package/types/components/TextArea/TextArea.d.ts.map +1 -1
- package/types/components/TextArea/TextArea.styles.d.ts.map +1 -1
- package/types/components/TextArea/TextArea.tokens.d.ts +45 -123
- package/types/components/TextArea/TextArea.tokens.d.ts.map +1 -1
- package/types/components/TextArea/TextArea.types.d.ts +8 -1
- package/types/components/TextArea/TextArea.types.d.ts.map +1 -1
- package/types/components/TextArea/variations/_disabled/base.d.ts.map +1 -1
- package/types/components/TextArea/variations/_read-only/base.d.ts.map +1 -1
- package/types/components/TextArea/variations/_size/base.d.ts.map +1 -1
- package/types/components/TextArea/variations/_view/base.d.ts.map +1 -1
- package/types/examples/components/TextArea/TextArea.clear.config.d.ts +36 -0
- package/types/examples/components/TextArea/TextArea.clear.config.d.ts.map +1 -0
- package/types/examples/components/TextArea/TextArea.config.d.ts +7 -10
- package/types/examples/components/TextArea/TextArea.config.d.ts.map +1 -1
- package/types/examples/components/TextArea/TextArea.d.ts +1045 -11
- package/types/examples/components/TextArea/TextArea.d.ts.map +1 -1
- package/dist/css/cjs/components/TextArea/variations/_clear/base.js +0 -9
- package/dist/css/cjs/components/TextArea/variations/_clear/base.js.map +0 -1
- package/dist/css/cjs/components/TextArea/variations/_clear/base_1vo4ba5.css +0 -1
- package/dist/css/cjs/components/TextArea/variations/_disabled/base_s6ttw.css +0 -1
- package/dist/css/cjs/components/TextArea/variations/_read-only/base_pgwr5c.css +0 -1
- package/dist/css/cjs/components/TextArea/variations/_size/base_1mq4sb2.css +0 -1
- package/dist/css/es/components/TextArea/variations/_clear/base.js +0 -5
- package/dist/css/es/components/TextArea/variations/_clear/base.js.map +0 -1
- package/dist/css/es/components/TextArea/variations/_clear/base_1vo4ba5.css +0 -1
- package/dist/css/es/components/TextArea/variations/_disabled/base_s6ttw.css +0 -1
- package/dist/css/es/components/TextArea/variations/_read-only/base_pgwr5c.css +0 -1
- package/dist/css/es/components/TextArea/variations/_size/base_1mq4sb2.css +0 -1
- package/dist/emotion/cjs/components/TextArea/variations/_clear/base.js +0 -14
- package/dist/emotion/es/components/TextArea/variations/_clear/base.js +0 -4
- package/dist/styled-components/cjs/components/TextArea/variations/_clear/base.js +0 -67
- package/dist/styled-components/es/components/TextArea/variations/_clear/base.js +0 -57
- package/types/components/TextArea/variations/_clear/base.d.ts +0 -2
- package/types/components/TextArea/variations/_clear/base.d.ts.map +0 -1
|
@@ -38,120 +38,97 @@ var classes = {
|
|
|
38
38
|
leftHelperFocus: 'textarea-left-helper-focus'
|
|
39
39
|
};
|
|
40
40
|
var tokens = {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
41
|
+
backgroundColor: '--plasma-textarea-background-color',
|
|
42
|
+
backgroundColorHover: '--plasma-textarea-background-color-hover',
|
|
43
|
+
backgroundColorActive: '--plasma-textarea-background-color-active',
|
|
44
|
+
backgroundColorFocus: '--plasma-textarea-background-color-focus',
|
|
45
|
+
inputBackgroundColor: '--plasma-textarea-input-background-color',
|
|
46
|
+
inputBackgroundColorHover: '--plasma-textarea-input-background-color-hover',
|
|
47
|
+
inputBackgroundColorActive: '--plasma-textarea-input-background-color-active',
|
|
48
|
+
inputBackgroundColorFocus: '--plasma-textarea-input-background-color-focus',
|
|
49
|
+
inputBorderColor: '--plasma-textarea-input-border-color',
|
|
50
|
+
inputBorderColorHover: '--plasma-textarea-input-border-color-hover',
|
|
51
|
+
inputBorderColorActive: '--plasma-textarea-input-border-color-active',
|
|
52
|
+
inputBorderColorFocus: '--plasma-textarea-input-border-color-focus',
|
|
53
|
+
helpersBackgroundColor: '--plasma-textarea-helpers-background-color',
|
|
54
|
+
helpersBackgroundColorHover: '--plasma-textarea-helpers-background-color-hover',
|
|
55
|
+
helpersBackgroundColorActive: '--plasma-textarea-helpers-background-color-active',
|
|
56
|
+
helpersBackgroundColorFocus: '--plasma-textarea-helpers-background-color-focus',
|
|
57
|
+
inputColor: '--plasma-textarea-input-color',
|
|
58
|
+
inputColorFocus: '--plasma-textarea-input-color-focus',
|
|
59
|
+
/** Цвет каретки */ inputCaretColor: '--plasma-textarea-input-caret-color',
|
|
60
|
+
placeholderColor: '--plasma-textarea-placeholder-color',
|
|
61
|
+
placeholderColorFocus: '--plasma-textarea-placeholder-color-focus',
|
|
62
|
+
optionalColor: '--plasma-textarea__optional-color',
|
|
63
|
+
leftHelperColor: '--plasma-textarea-left-helper-color',
|
|
64
|
+
leftHelperColorFocus: '--plasma-textarea-left-helper-color-focus',
|
|
65
|
+
rightHelperColor: '--plasma-textarea-right-helper-color',
|
|
66
|
+
/** Цвета для read-only состояния */ inputColorReadOnly: '--plasma-textarea-input-color-read-only',
|
|
60
67
|
backgroundColorReadOnly: '--plasma-textarea-background-color-read-only',
|
|
61
|
-
readOnlyOpacity: '--plasma-textarea-read-only-opacity',
|
|
62
|
-
/** Цвет текста для элемента textarea в состоянии focus */ inputColorFocus: '--plasma-textarea-input-color-focus',
|
|
63
|
-
/** Цвет каретки для элемента textarea */ inputCaretColor: '--plasma-textarea-input-caret-color',
|
|
64
|
-
/** Цвет элемента placeholder */ placeholderColor: '--plasma-textarea-placeholder-color',
|
|
65
|
-
clearPlaceholderColor: '--plasma-textarea-clear-placeholder-color',
|
|
66
|
-
/** Цвет элемента placeholder в состоянии focus */ placeholderColorFocus: '--plasma-textarea-placeholder-color-focus',
|
|
67
|
-
clearPlaceholderColorFocus: '--plasma-textarea-clear-placeholder-color-focus',
|
|
68
|
-
/** Цвет элемента optional */ optionalColor: '--plasma-textarea__optional-color',
|
|
69
|
-
/** Цвет текста для левой подписи снизу */ leftHelperColor: '--plasma-textarea-left-helper-color',
|
|
70
|
-
/** Цвет текста для левой подписи снизу в состоянии focus */ leftHelperColorFocus: '--plasma-textarea-left-helper-color-focus',
|
|
71
|
-
/** Цвет текста для правой подписи снизу */ rightHelperColor: '--plasma-textarea-right-helper-color',
|
|
72
|
-
/** Цвета границы для всего компонента */ borderColor: '--plasma-textarea-border-color',
|
|
73
68
|
borderColorReadOnly: '--plasma-textarea-border-color-readonly',
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
/** Минимальная высота элемента textarea */ inputMinHeight: '--plasma-textarea-input-min-height',
|
|
79
|
-
/** Толщина рамки всего компонента */ borderSize: '--plasma-textarea-border-size',
|
|
80
|
-
/** Размер скругления рамки всего компонента */ borderRadius: '--plasma-textarea-border-radius',
|
|
81
|
-
/** Размер скругления рамки всего компонента, когда есть блок подписей и у него нет рамки */ borderRadiusWithHelpers: '--plasma-textarea-border-radius-with-helpers',
|
|
82
|
-
/** Отступ сверху для элемента textarea */ inputPaddingTop: '--plasma-textarea-input-padding-top',
|
|
83
|
-
/** Отступ справа для элемента textarea */ inputPaddingRight: '--plasma-textarea-input-padding-right',
|
|
84
|
-
/** Отступ справа для элемента textarea, когда есть контент справа */ inputPaddingRightWithRightContent: '--plasma-textarea-input-padding-right-with-right-content',
|
|
85
|
-
clearInputPaddingRightWithRightContent: '--plasma-textarea-clear-input-padding-right-with-right-content',
|
|
86
|
-
/** Отступ снизу для элемента textarea */ inputPaddingBottom: '--plasma-textarea-input-padding-bottom',
|
|
87
|
-
/** Отступ снизу для элемента textarea, когда есть блок подписей */ inputPaddingBottomWithHelpers: '--plasma-textarea-input-padding-bottom-with-helpers',
|
|
88
|
-
/** Отступ слева для элемента textarea */ inputPaddingLeft: '--plasma-textarea-input-padding-left',
|
|
89
|
-
/** Отступ сверху для блока подписей */ helpersPaddingTop: '--plasma-textarea-helpers-padding-top',
|
|
90
|
-
clearHelpersPaddingTop: '--plasma-textarea-clear-helpers-padding-top',
|
|
91
|
-
/** Отступ справа для блока подписей */ helpersPaddingRight: '--plasma-textarea-helpers-padding-right',
|
|
92
|
-
/** Отступ снизу для блока подписей */ helpersPaddingBottom: '--plasma-textarea-helpers-padding-bottom',
|
|
93
|
-
/** Отступ слева для блока подписей */ helpersPaddingLeft: '--plasma-textarea-helpers-padding-left',
|
|
94
|
-
/** Вспомогательная высота для всего компонента, когда есть блок подписей и у него нет рамки */ helpersOffset: '--plasma-textarea-helpers-offset',
|
|
95
|
-
/** Отступ сверху для контента справа */ rightContentTop: '--plasma-textarea-right-content-top',
|
|
96
|
-
/** Отступ справа для контента справа */ rightContentRight: '--plasma-textarea-right-content-right',
|
|
97
|
-
/** Высота контента справа */ rightContentHeight: '--plasma-textarea-right-content-height',
|
|
98
|
-
/** Шрифт для элемента label, когда он внутри и уменьшен */ labelOuterColor: '--plasma-textarea-label-outer-color',
|
|
99
|
-
/** Шрифт для элемента label, когда он внутри и уменьшен */ labelOuterFontFamily: '--plasma-textarea-label-outer-font-family',
|
|
100
|
-
/** Размер шрифта для элемента label, когда он внутри и уменьшен */ labelOuterFontSize: '--plasma-textarea-label-outer-font-size',
|
|
101
|
-
/** Стиль шрифта для элемента label, когда он внутри и уменьшен */ labelOuterFontStyle: '--plasma-textarea-label-outer-font-style',
|
|
102
|
-
/** Начертание шрифта для элемента label, когда он внутри и уменьшен */ labelOuterFontWeight: '--plasma-textarea-label-outer-font-weight',
|
|
103
|
-
/** Межсимвольное расстояние для элемента label, когда он внутри и уменьшен */ labelOuterLetterSpacing: '--plasma-textarea-label-outer-letter-spacing',
|
|
104
|
-
/** Высота строки для элемента label, когда он внутри и уменьшен */ labelOuterLineHeight: '--plasma-textarea-label-outer-line-height',
|
|
105
|
-
/** Отступ сверху для элемента label, когда он внутри и уменьшен */ labelMarginBottom: '--plasma-textarea-label-margin-bottom',
|
|
106
|
-
clearLabelMarginBottom: '--plasma-textarea-clear-label-margin-bottom',
|
|
107
|
-
/** Шрифт для элемента label, когда он внутри и уменьшен */ labelInnerFontFamily: '--plasma-textarea-label-inner-font-family',
|
|
108
|
-
/** Размер шрифта для элемента label, когда он внутри и уменьшен */ labelInnerFontSize: '--plasma-textarea-label-inner-font-size',
|
|
109
|
-
/** Стиль шрифта для элемента label, когда он внутри и уменьшен */ labelInnerFontStyle: '--plasma-textarea-label-inner-font-style',
|
|
110
|
-
/** Начертание шрифта для элемента label, когда он внутри и уменьшен */ labelInnerFontWeight: '--plasma-textarea-label-inner-font-weight',
|
|
111
|
-
/** Межсимвольное расстояние для элемента label, когда он внутри и уменьшен */ labelInnerLetterSpacing: '--plasma-textarea-label-inner-letter-spacing',
|
|
112
|
-
/** Высота строки для элемента label, когда он внутри и уменьшен */ labelInnerLineHeight: '--plasma-textarea-label-inner-line-height',
|
|
113
|
-
/** Отступ сверху для элемента textarea при фокусе */ labelInnerTop: '--plasma-textarea-label-inner-top',
|
|
114
|
-
/** Вспомогательный отступ сверху для элемента textarea при фокусе для компенсации размеров */ labelInnerTopHelper: '--plasma-textarea-label-inner-top-helper',
|
|
115
|
-
/** Отступ между Label и TextArea */ labelInnerMarginBottom: '--plasma-textarea-label-inner-margin-bottom',
|
|
116
|
-
/** Шрифт для элемента textarea */ inputFontFamily: '--plasma-textarea-input-font-family',
|
|
117
|
-
/** Размер шрифта для элемента textarea */ inputFontSize: '--plasma-textarea-input-font-size',
|
|
118
|
-
/** Стиль шрифта для элемента textarea */ inputFontStyle: '--plasma-textarea-input-font-style',
|
|
119
|
-
/** Начертание шрифта для элемента textarea */ inputFontWeight: '--plasma-textarea-input-font-weight',
|
|
120
|
-
/** Межсимвольное расстояние шрифта для элемента textarea */ inputLetterSpacing: '--plasma-textarea-input-letter-spacing',
|
|
121
|
-
/** Высота строки шрифта для элемента textarea */ inputLineHeight: '--plasma-textarea-input-line-height',
|
|
122
|
-
/** Шрифт для элемента блока подписей снизу */ helpersFontFamily: '--plasma-textarea-helpers-font-family',
|
|
123
|
-
/** Размер шрифта для элемента блока подписей снизу */ helpersFontSize: '--plasma-textarea-helpers-font-size',
|
|
124
|
-
/** Стиль шрифта для элемента блока подписей снизу */ helpersFontStyle: '--plasma-textarea-helpers-font-style',
|
|
125
|
-
/** Начертание шрифта для элемента блока подписей снизу */ helpersFontWeight: '--plasma-textarea-helpers-font-weight',
|
|
126
|
-
/** Межсимвольное расстояние для элемента блока подписей снизу */ helpersLetterSpacing: '--plasma-textarea-helpers-letter-spacing',
|
|
127
|
-
/** Высота строки для элемента блока подписей снизу */ helpersLineHeight: '--plasma-textarea-helpers-line-height',
|
|
128
|
-
/** Тень */ boxShadow: '--plasma-textarea-box-shadow',
|
|
129
|
-
rightContentColor: '--plasma-textarea-right-content-color',
|
|
130
|
-
/** Прозрачность для всего компонента в состоянии disabled */ disabledOpacity: '--plasma-textarea-disabled-opacity',
|
|
131
|
-
/** Цвет текста для элемента textarea в состоянии disabled */ inputColorDisabled: '--plasma-textarea-input-color-disabled',
|
|
132
|
-
indicatorColor: '--plasma-textarea-indicator-color',
|
|
133
|
-
indicatorSizeInner: '--plasma-textarea-indicator-size-inner',
|
|
134
|
-
indicatorSizeOuter: '--plasma-textarea-indicator-size-outer',
|
|
135
|
-
indicatorLabelPlacementInner: '--plasma-textarea-indicator-placement-inner',
|
|
136
|
-
indicatorLabelPlacementOuter: '--plasma-textarea-indicator-placement-outer',
|
|
137
|
-
indicatorLabelPlacementInnerRight: '--plasma-textarea-indicator-placement-inner-right',
|
|
138
|
-
indicatorLabelPlacementOuterRight: '--plasma-textarea-indicator-placement-outer-right',
|
|
139
|
-
indicatorLabelPlacementHintOuterRight: '--plasma-textfield__indicator-hint-placement-outer-right',
|
|
140
|
-
clearIndicatorLabelPlacementInner: '--plasma-textarea__clear-indicator-placement-inner',
|
|
141
|
-
clearIndicatorLabelPlacementInnerRight: '--plasma-textarea__clear-indicator-placement-inner-right',
|
|
142
|
-
clearIndicatorHintInnerRight: '--plasma-textarea__clear-indicator-hint-placement-inner-right',
|
|
143
|
-
scrollbarWidth: '--plasma-textarea-scrollbar-width',
|
|
144
|
-
scrollbarBorderWidth: '--plasma-textarea-scrollbar-border-width',
|
|
145
|
-
scrollbarThumbBackgroundColor: '--plasma-textarea-scrollbar-thumb-background-color',
|
|
146
|
-
scrollbarThumbBackgroundColorHover: '--plasma-textarea-scrollbar-thumb-background-color-hover',
|
|
147
|
-
scrollbarThumbBackgroundColorActive: '--plasma-textarea-scrollbar-thumb-background-color-active',
|
|
148
|
-
scrollbarTrackBackgroundColor: '--plasma-textarea-scrollbar-track-background-color',
|
|
149
|
-
scrollbarTrackBackgroundColorHover: '--plasma-textarea-scrollbar-track-background-color-hover',
|
|
150
|
-
scrollbarTrackBackgroundColorActive: '--plasma-textarea-scrollbar-track-background-color-active',
|
|
69
|
+
readOnlyOpacity: '--plasma-textarea-read-only-opacity',
|
|
70
|
+
borderColor: '--plasma-textarea-border-color',
|
|
71
|
+
borderColorHover: '--plasma-textarea-border-color-hover',
|
|
72
|
+
borderColorFocus: '--plasma-textarea-border-color-focus',
|
|
151
73
|
dividerColor: '--plasma-textarea-divider-color',
|
|
152
74
|
dividerColorHover: '--plasma-textarea-divider-color-hover',
|
|
153
75
|
dividerColorFocus: '--plasma-textarea-divider-color-focus',
|
|
154
76
|
dividerColorReadOnly: '--plasma-textarea-divider-color-readonly',
|
|
77
|
+
boxShadow: '--plasma-textarea-box-shadow',
|
|
78
|
+
inputWidth: '--plasma-textarea-input-width',
|
|
79
|
+
inputHeight: '--plasma-textarea-input-height',
|
|
80
|
+
inputMinHeight: '--plasma-textarea-input-min-height',
|
|
81
|
+
borderSize: '--plasma-textarea-border-size',
|
|
82
|
+
borderRadius: '--plasma-textarea-border-radius',
|
|
83
|
+
borderRadiusWithHelpers: '--plasma-textarea-border-radius-with-helpers',
|
|
84
|
+
/** Отступы для элемента textarea */ inputPaddingTop: '--plasma-textarea-input-padding-top',
|
|
85
|
+
inputPaddingRight: '--plasma-textarea-input-padding-right',
|
|
86
|
+
inputPaddingRightWithRightContent: '--plasma-textarea-input-padding-right-with-right-content',
|
|
87
|
+
inputPaddingBottom: '--plasma-textarea-input-padding-bottom',
|
|
88
|
+
inputPaddingBottomWithHelpers: '--plasma-textarea-input-padding-bottom-with-helpers',
|
|
89
|
+
inputPaddingLeft: '--plasma-textarea-input-padding-left',
|
|
90
|
+
/** Отступы для блока подписей */ helpersPaddingTop: '--plasma-textarea-helpers-padding-top',
|
|
91
|
+
clearHelpersPaddingTop: '--plasma-textarea-clear-helpers-padding-top',
|
|
92
|
+
helpersPaddingRight: '--plasma-textarea-helpers-padding-right',
|
|
93
|
+
helpersPaddingBottom: '--plasma-textarea-helpers-padding-bottom',
|
|
94
|
+
helpersPaddingLeft: '--plasma-textarea-helpers-padding-left',
|
|
95
|
+
helpersOffset: '--plasma-textarea-helpers-offset',
|
|
96
|
+
/** Позиционирование контента справа */ rightContentTop: '--plasma-textarea-right-content-top',
|
|
97
|
+
rightContentRight: '--plasma-textarea-right-content-right',
|
|
98
|
+
rightContentHeight: '--plasma-textarea-right-content-height',
|
|
99
|
+
/* Tokens for right content slot */ rightContentColor: '--plasma-textarea-right-content-color',
|
|
100
|
+
rightContentColorHover: '--plasma-textarea-right-content-color-hover',
|
|
101
|
+
rightContentColorActive: '--plasma-textarea-right-content-color-active',
|
|
102
|
+
contentSlotRightOpacityReadOnly: '--plasma-textarea-right-content-opacity-readonly',
|
|
103
|
+
/** Токены лейбла */ labelOuterColor: '--plasma-textarea-label-outer-color',
|
|
104
|
+
labelOuterFontFamily: '--plasma-textarea-label-outer-font-family',
|
|
105
|
+
labelOuterFontStyle: '--plasma-textarea-label-outer-font-style',
|
|
106
|
+
labelOuterFontSize: '--plasma-textarea-label-outer-font-size',
|
|
107
|
+
labelOuterFontWeight: '--plasma-textarea-label-outer-font-weight',
|
|
108
|
+
labelOuterLetterSpacing: '--plasma-textarea-label-outer-letter-spacing',
|
|
109
|
+
labelOuterLineHeight: '--plasma-textarea-label-outer-line-height',
|
|
110
|
+
labelMarginBottom: '--plasma-textarea-label-margin-bottom',
|
|
111
|
+
/* label-placement-inner */ labelInnerFontFamily: '--plasma-textarea-label-inner-font-family',
|
|
112
|
+
labelInnerFontStyle: '--plasma-textarea-label-inner-font-style',
|
|
113
|
+
labelInnerFontSize: '--plasma-textarea-label-inner-font-size',
|
|
114
|
+
labelInnerFontWeight: '--plasma-textarea-label-inner-font-weight',
|
|
115
|
+
labelInnerLetterSpacing: '--plasma-textarea-label-inner-letter-spacing',
|
|
116
|
+
labelInnerLineHeight: '--plasma-textarea-label-inner-line-height',
|
|
117
|
+
labelInnerTop: '--plasma-textarea-label-inner-top',
|
|
118
|
+
labelInnerTopHelper: '--plasma-textarea-label-inner-top-helper',
|
|
119
|
+
labelInnerMarginBottom: '--plasma-textarea-label-inner-margin-bottom',
|
|
120
|
+
/* Типографика для input */ inputFontFamily: '--plasma-textarea-input-font-family',
|
|
121
|
+
inputFontStyle: '--plasma-textarea-input-font-style',
|
|
122
|
+
inputFontSize: '--plasma-textarea-input-font-size',
|
|
123
|
+
inputFontWeight: '--plasma-textarea-input-font-weight',
|
|
124
|
+
inputLetterSpacing: '--plasma-textarea-input-letter-spacing',
|
|
125
|
+
inputLineHeight: '--plasma-textarea-input-line-height',
|
|
126
|
+
/* Типографика для блока подписей */ helpersFontFamily: '--plasma-textarea-helpers-font-family',
|
|
127
|
+
helpersFontStyle: '--plasma-textarea-helpers-font-style',
|
|
128
|
+
helpersFontSize: '--plasma-textarea-helpers-font-size',
|
|
129
|
+
helpersFontWeight: '--plasma-textarea-helpers-font-weight',
|
|
130
|
+
helpersLetterSpacing: '--plasma-textarea-helpers-letter-spacing',
|
|
131
|
+
helpersLineHeight: '--plasma-textarea-helpers-line-height',
|
|
155
132
|
titleCaptionColor: '--plasma-textarea__title-caption-color',
|
|
156
133
|
titleCaptionColorReadOnly: '--plasma-textarea__title-caption-color-readonly',
|
|
157
134
|
titleCaptionInnerLabelOffset: '--plasma-textarea__title-caption-label-inner-offset',
|
|
@@ -161,12 +138,13 @@ var tokens = {
|
|
|
161
138
|
titleCaptionFontWeight: '--plasma-textarea__title-caption-font-weight',
|
|
162
139
|
titleCaptionLetterSpacing: '--plasma-textarea__title-caption-letter-spacing',
|
|
163
140
|
titleCaptionLineHeight: '--plasma-textarea__title-caption-line-height',
|
|
164
|
-
/**
|
|
165
|
-
|
|
141
|
+
/** Прозрачность для всего компонента в состоянии disabled */ disabledOpacity: '--plasma-textarea-disabled-opacity',
|
|
142
|
+
inputColorDisabled: '--plasma-textarea-input-color-disabled',
|
|
143
|
+
/** Токены для tooltip */ hintMargin: '--plasma-textarea__hint-margin',
|
|
166
144
|
hintTargetSize: '--plasma-textarea__hint-target-size',
|
|
145
|
+
hintCustomIconTargetSize: '--plasma-textarea__hint-custom-icon-target-size',
|
|
167
146
|
hintIconColor: '--plasma-textarea__hint-icon-color',
|
|
168
147
|
hintInnerLabelPlacementOffset: '--plasma-textarea__hint-inner-label-placement-offset',
|
|
169
|
-
clearHintInnerLabelPlacementOffset: '--plasma-textarea__clear-hint-inner-label-placement-offset',
|
|
170
148
|
tooltipBackgroundColor: '--plasma-textarea__tooltip-background-color',
|
|
171
149
|
tooltipBoxShadow: '--plasma-textarea__tooltip-box-shadow',
|
|
172
150
|
tooltipColor: '--plasma-textarea__tooltip-color',
|
|
@@ -189,6 +167,22 @@ var tokens = {
|
|
|
189
167
|
tooltipArrowHeight: '--plasma-textarea__tooltip-arrow-height',
|
|
190
168
|
tooltipArrowEdgeMargin: '--plasma-textarea__tooltip-arrow-edge-margin',
|
|
191
169
|
tooltipArrowBackground: '--plasma-textarea__tooltip-arrow-background',
|
|
192
|
-
|
|
170
|
+
/** Токены скроллбара */ scrollbarWidth: '--plasma-textarea-scrollbar-width',
|
|
171
|
+
scrollbarBorderWidth: '--plasma-textarea-scrollbar-border-width',
|
|
172
|
+
scrollbarThumbBackgroundColor: '--plasma-textarea-scrollbar-thumb-background-color',
|
|
173
|
+
scrollbarThumbBackgroundColorHover: '--plasma-textarea-scrollbar-thumb-background-color-hover',
|
|
174
|
+
scrollbarThumbBackgroundColorActive: '--plasma-textarea-scrollbar-thumb-background-color-active',
|
|
175
|
+
scrollbarTrackBackgroundColor: '--plasma-textarea-scrollbar-track-background-color',
|
|
176
|
+
scrollbarTrackBackgroundColorHover: '--plasma-textarea-scrollbar-track-background-color-hover',
|
|
177
|
+
scrollbarTrackBackgroundColorActive: '--plasma-textarea-scrollbar-track-background-color-active',
|
|
178
|
+
indicatorColor: '--plasma-textarea-indicator-color',
|
|
179
|
+
indicatorSizeInner: '--plasma-textarea-indicator-size-inner',
|
|
180
|
+
indicatorSizeOuter: '--plasma-textarea-indicator-size-outer',
|
|
181
|
+
indicatorLabelPlacementInner: '--plasma-textarea-indicator-placement-inner',
|
|
182
|
+
indicatorLabelPlacementOuter: '--plasma-textarea-indicator-placement-outer',
|
|
183
|
+
indicatorLabelPlacementInnerRight: '--plasma-textarea-indicator-placement-inner-right',
|
|
184
|
+
indicatorLabelPlacementOuterRight: '--plasma-textarea-indicator-placement-outer-right',
|
|
185
|
+
indicatorLabelPlacementHintOuterRight: '--plasma-textfield__indicator-hint-placement-outer-right',
|
|
186
|
+
clearIndicatorHintInnerRight: '--plasma-textarea__clear-indicator-hint-placement-inner-right',
|
|
193
187
|
tourBorderRadius: _utils.TOUR_BORDER_RADIUS_TOKEN
|
|
194
188
|
};
|
|
@@ -10,20 +10,10 @@ Object.defineProperty(exports, "base", {
|
|
|
10
10
|
});
|
|
11
11
|
var _styledcomponents = require("styled-components");
|
|
12
12
|
var _TextAreatokens = require("../../TextArea.tokens");
|
|
13
|
-
var _TextAreastyles = require("../../TextArea.styles");
|
|
14
13
|
var styledTextArea = _TextAreatokens.classes.styledTextArea;
|
|
15
14
|
var base = (0, _styledcomponents.css)([
|
|
16
|
-
"&[disabled]{",
|
|
17
|
-
"
|
|
18
|
-
",",
|
|
19
|
-
",",
|
|
20
|
-
",",
|
|
21
|
-
",",
|
|
22
|
-
",",
|
|
23
|
-
",",
|
|
24
|
-
",",
|
|
25
|
-
"{opacity:var(",
|
|
26
|
-
");cursor:not-allowed;&:hover,&:active{transform:none;}}}.",
|
|
15
|
+
"&[disabled]{opacity:var(",
|
|
16
|
+
");cursor:not-allowed;pointer-events:none;&:hover,&:active{transform:none;}}.",
|
|
27
17
|
"{&:disabled{cursor:not-allowed;color:var(",
|
|
28
18
|
");}}"
|
|
29
|
-
],
|
|
19
|
+
], _TextAreatokens.tokens.disabledOpacity, styledTextArea, _TextAreatokens.tokens.inputColorDisabled);
|
|
@@ -16,7 +16,9 @@ var base = (0, _styledcomponents.css)([
|
|
|
16
16
|
"{color:var(",
|
|
17
17
|
");}",
|
|
18
18
|
"{opacity:var(",
|
|
19
|
-
")
|
|
19
|
+
");&:hover{color:var(",
|
|
20
|
+
");}&:active{color:var(",
|
|
21
|
+
");}}&.",
|
|
20
22
|
"{",
|
|
21
23
|
"{&:before{background-color:var(",
|
|
22
24
|
");}}}:not(&.",
|
|
@@ -31,4 +33,4 @@ var base = (0, _styledcomponents.css)([
|
|
|
31
33
|
");border-radius:var(",
|
|
32
34
|
");opacity:var(",
|
|
33
35
|
");z-index:-1;}:hover{background:transparent;}}}}"
|
|
34
|
-
], _TextAreastyles.StyledTextArea, _TextAreatokens.tokens.inputColorReadOnly, _TextAreastyles.StyledContent, _TextAreatokens.tokens.contentSlotRightOpacityReadOnly, _TextAreatokens.classes.clear, _TextAreastyles.StyledTextAreaWrapper, _TextAreatokens.tokens.dividerColorReadOnly, _TextAreatokens.classes.clear, _TextAreastyles.StyledTextAreaWrapper, _TextAreastyles.StyledHelpers, _TextAreastyles.StyledTextAreaWrapper, _TextAreatokens.tokens.borderSize, _TextAreatokens.tokens.borderColorReadOnly, _TextAreatokens.tokens.borderRadius, _TextAreastyles.StyledContainer, _TextAreatokens.tokens.backgroundColorReadOnly, _TextAreatokens.tokens.borderRadius, _TextAreatokens.tokens.readOnlyOpacity);
|
|
36
|
+
], _TextAreastyles.StyledTextArea, _TextAreatokens.tokens.inputColorReadOnly, _TextAreastyles.StyledContent, _TextAreatokens.tokens.contentSlotRightOpacityReadOnly, _TextAreatokens.tokens.rightContentColor, _TextAreatokens.tokens.rightContentColor, _TextAreatokens.classes.clear, _TextAreastyles.StyledTextAreaWrapper, _TextAreatokens.tokens.dividerColorReadOnly, _TextAreatokens.classes.clear, _TextAreastyles.StyledTextAreaWrapper, _TextAreastyles.StyledHelpers, _TextAreastyles.StyledTextAreaWrapper, _TextAreatokens.tokens.borderSize, _TextAreatokens.tokens.borderColorReadOnly, _TextAreatokens.tokens.borderRadius, _TextAreastyles.StyledContainer, _TextAreatokens.tokens.backgroundColorReadOnly, _TextAreatokens.tokens.borderRadius, _TextAreatokens.tokens.readOnlyOpacity);
|
|
@@ -10,8 +10,15 @@ Object.defineProperty(exports, "base", {
|
|
|
10
10
|
});
|
|
11
11
|
var _styledcomponents = require("styled-components");
|
|
12
12
|
var _TextAreatokens = require("../../TextArea.tokens");
|
|
13
|
+
var _TextAreastyles = require("../../TextArea.styles");
|
|
13
14
|
var base = (0, _styledcomponents.css)([
|
|
14
15
|
"",
|
|
15
16
|
":var(",
|
|
16
|
-
")
|
|
17
|
-
|
|
17
|
+
");&.",
|
|
18
|
+
".",
|
|
19
|
+
"{",
|
|
20
|
+
"{&.",
|
|
21
|
+
".",
|
|
22
|
+
"{inset:var(",
|
|
23
|
+
");}}}"
|
|
24
|
+
], _TextAreatokens.tokens.tourBorderRadius, _TextAreatokens.tokens.borderRadius, _TextAreatokens.classes.hasHint, _TextAreatokens.classes.clear, _TextAreastyles.StyledIndicator, _TextAreatokens.classes.innerLabelPlacement, _TextAreatokens.classes.requiredAlignRight, _TextAreatokens.tokens.clearIndicatorHintInnerRight);
|
|
@@ -64,5 +64,14 @@ var base = (0, _styledcomponents.css)([
|
|
|
64
64
|
" .",
|
|
65
65
|
" + .",
|
|
66
66
|
"{background-color:var(",
|
|
67
|
-
");}"
|
|
68
|
-
|
|
67
|
+
");}&.",
|
|
68
|
+
"{",
|
|
69
|
+
"{position:relative;--plasma_private-textarea-divider-color:var(",
|
|
70
|
+
");&:before{content:'';position:absolute;height:0.063rem;width:100%;bottom:0;left:0;background-color:var(--plasma_private-textarea-divider-color);transition:background-color 0.1s ease-in;}}&:not([readonly]) ",
|
|
71
|
+
":hover{--plasma_private-textarea-divider-color:var( ",
|
|
72
|
+
",var(",
|
|
73
|
+
") );}&:not([readonly]) ",
|
|
74
|
+
":focus-within{--plasma_private-textarea-divider-color:var( ",
|
|
75
|
+
",var(",
|
|
76
|
+
") );}}"
|
|
77
|
+
], _TextAreastyles.TitleCaption, _TextAreatokens.tokens.titleCaptionColor, styledContainer, _TextAreatokens.tokens.backgroundColor, _TextAreatokens.tokens.borderRadius, _TextAreatokens.tokens.borderSize, _TextAreatokens.tokens.borderColor, _TextAreatokens.tokens.boxShadow, styledTextAreaWrapper, _TextAreatokens.tokens.borderSize, _TextAreatokens.tokens.inputBorderColor, _TextAreatokens.tokens.borderSize, styledTextAreaWrapper, _TextAreatokens.tokens.inputBackgroundColorFocus, _TextAreatokens.tokens.borderSize, _TextAreatokens.tokens.inputBorderColorFocus, styledContainer, _TextAreatokens.tokens.backgroundColorFocus, _TextAreatokens.tokens.borderSize, _TextAreatokens.tokens.borderColorFocus, _TextAreatokens.tokens.boxShadow, styledHelpers, _TextAreatokens.tokens.helpersBackgroundColorFocus, exclusionSelectors, styledContainer, _TextAreatokens.tokens.backgroundColorHover, _TextAreatokens.tokens.borderSize, _TextAreatokens.tokens.borderColorHover, _TextAreatokens.tokens.boxShadow, exclusionSelectors, styledTextAreaWrapper, _TextAreatokens.tokens.borderSize, _TextAreatokens.tokens.inputBorderColorHover, _TextAreatokens.tokens.inputBackgroundColorHover, exclusionSelectors, styledTextAreaWrapper, styledHelpers, _TextAreatokens.tokens.helpersBackgroundColorHover, exclusionSelectors, styledTextAreaWrapper, _TextAreatokens.tokens.borderSize, _TextAreatokens.tokens.inputBorderColorActive, _TextAreatokens.tokens.inputBackgroundColorActive, exclusionSelectors, styledContainer, _TextAreatokens.tokens.backgroundColorActive, exclusionSelectors, styledTextAreaWrapper, styledHelpers, _TextAreatokens.tokens.helpersBackgroundColorActive, _TextAreatokens.classes.hasDivider, _TextAreastyles.StyledTextAreaWrapper, _TextAreatokens.tokens.dividerColor, _TextAreastyles.StyledTextAreaWrapper, _TextAreatokens.tokens.dividerColorHover, _TextAreatokens.tokens.dividerColor, _TextAreastyles.StyledTextAreaWrapper, _TextAreatokens.tokens.dividerColorFocus, _TextAreatokens.tokens.dividerColor);
|
|
@@ -1 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
Object.defineProperty(exports, "Combobox", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: function() {
|
|
8
|
+
return Combobox;
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
var _engines = require("../../../engines");
|
|
12
|
+
var _ = require("../../..");
|
|
13
|
+
var _Comboboxconfig = require("./Combobox.config");
|
|
14
|
+
var mergedConfig = (0, _engines.mergeConfig)(_.comboboxNewConfig, _Comboboxconfig.config);
|
|
15
|
+
var ComboboxComponent = (0, _engines.component)(mergedConfig);
|
|
16
|
+
var Combobox = ComboboxComponent;
|