ecomlab-components-next 0.1.19 → 0.1.21
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/components/Checkbox/Checkbox/Checkbox.js +82 -0
- package/dist/components/Checkbox/Checkbox/Checkbox.scss +136 -0
- package/dist/components/Checkbox/Checkbox/Checkbox.stories.js +46 -0
- package/dist/components/Checkbox/Checkbox/img/check.svg +3 -0
- package/dist/components/ConstructorComponents/FormWithBtn/FormWithBtn.js +140 -0
- package/dist/components/ConstructorComponents/FormWithBtn/FormWithBtn.scss +64 -0
- package/dist/components/ConstructorComponents/FormWithBtn/FormWithBtn.stories.js +16 -0
- package/dist/components/ConstructorComponents/ModalBitrixForm/ModalBitrixForm.js +423 -0
- package/dist/components/ConstructorComponents/ModalBitrixForm/ModalBitrixForm.scss +161 -0
- package/dist/components/ConstructorComponents/ModalBitrixForm/img/close_icon.svg +3 -0
- package/dist/components/ConstructorComponents/ModalBitrixForm/img/done_icon.svg +3 -0
- package/dist/components/ConstructorComponents/ModalBitrixForm/img/ozon.svg +9 -0
- package/dist/components/ConstructorComponents/ModalBitrixForm/img/ozon_bkg.svg +9 -0
- package/dist/components/Inputs/DropDownSelector/DownSelector.js +580 -0
- package/dist/components/Inputs/DropDownSelector/DownSelector.stories.js +279 -0
- package/dist/components/Inputs/DropDownSelector/DropdownSelector.scss +391 -0
- package/dist/components/Inputs/DropDownSelector/img/close_icon.svg +6 -0
- package/dist/components/Inputs/DropDownSelector/img/close_icon_disabled.svg +6 -0
- package/dist/components/Inputs/InputDinamycPlaceholder/InputDinamycPlaceholder.js +194 -0
- package/dist/components/Inputs/InputDinamycPlaceholder/InputDinamycPlaceholder.scss +497 -0
- package/dist/components/Inputs/InputDinamycPlaceholder/InputDinamycPlaceholder.stories.js +50 -0
- package/dist/components/Inputs/InputDinamycPlaceholder/img/close_grey.svg +5 -0
- package/dist/components/Inputs/InputDinamycPlaceholder/img/close_red.svg +5 -0
- package/dist/components/Inputs/InputDinamycPlaceholder/img/hide.svg +12 -0
- package/dist/components/Inputs/InputDinamycPlaceholder/img/info_tooltip.svg +12 -0
- package/dist/components/Inputs/InputDinamycPlaceholder/img/show.svg +3 -0
- package/dist/components/Inputs/TextareaDynamicPlaceholder/TextareaDynamicPlaceholder.js +95 -0
- package/dist/components/Inputs/TextareaDynamicPlaceholder/TextareaDynamicPlaceholder.scss +121 -0
- package/dist/index.js +7 -0
- package/package.json +8 -4
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports["default"] = void 0;
|
|
8
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
9
|
+
var _imask = _interopRequireDefault(require("imask"));
|
|
10
|
+
require("./InputDinamycPlaceholder.scss");
|
|
11
|
+
var _excluded = ["tooltip", "tooltipStatic", "rows", "changeValue", "setChangeValue", "classname", "placeholder", "type", "onChange", "passwordTooltip", "err", "textErr", "infoHeader", "info", "autoComplete", "disabled", "showClearIndicator", "multiline", "maxLength", "autoFocus", "variant", "size", "maxlength", "required", "onBlur", "mask", "readOnly"];
|
|
12
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
13
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
14
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
15
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
16
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
17
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
18
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
19
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
20
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
21
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
22
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
|
|
23
|
+
var InputDinamycPlaceholder = function InputDinamycPlaceholder(_ref) {
|
|
24
|
+
var tooltip = _ref.tooltip,
|
|
25
|
+
tooltipStatic = _ref.tooltipStatic,
|
|
26
|
+
rows = _ref.rows,
|
|
27
|
+
changeValue = _ref.changeValue,
|
|
28
|
+
_ref$setChangeValue = _ref.setChangeValue,
|
|
29
|
+
setChangeValue = _ref$setChangeValue === void 0 ? false : _ref$setChangeValue,
|
|
30
|
+
classname = _ref.classname,
|
|
31
|
+
placeholder = _ref.placeholder,
|
|
32
|
+
_ref$type = _ref.type,
|
|
33
|
+
type = _ref$type === void 0 ? 'text' : _ref$type,
|
|
34
|
+
_ref$onChange = _ref.onChange,
|
|
35
|
+
onChange = _ref$onChange === void 0 ? false : _ref$onChange,
|
|
36
|
+
_ref$passwordTooltip = _ref.passwordTooltip,
|
|
37
|
+
passwordTooltip = _ref$passwordTooltip === void 0 ? false : _ref$passwordTooltip,
|
|
38
|
+
err = _ref.err,
|
|
39
|
+
textErr = _ref.textErr,
|
|
40
|
+
infoHeader = _ref.infoHeader,
|
|
41
|
+
_ref$info = _ref.info,
|
|
42
|
+
info = _ref$info === void 0 ? false : _ref$info,
|
|
43
|
+
_ref$autoComplete = _ref.autoComplete,
|
|
44
|
+
autoComplete = _ref$autoComplete === void 0 ? true : _ref$autoComplete,
|
|
45
|
+
_ref$disabled = _ref.disabled,
|
|
46
|
+
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
47
|
+
_ref$showClearIndicat = _ref.showClearIndicator,
|
|
48
|
+
showClearIndicator = _ref$showClearIndicat === void 0 ? false : _ref$showClearIndicat,
|
|
49
|
+
multiline = _ref.multiline,
|
|
50
|
+
maxLength = _ref.maxLength,
|
|
51
|
+
_ref$autoFocus = _ref.autoFocus,
|
|
52
|
+
autoFocus = _ref$autoFocus === void 0 ? false : _ref$autoFocus,
|
|
53
|
+
_ref$variant = _ref.variant,
|
|
54
|
+
variant = _ref$variant === void 0 ? 'filled' : _ref$variant,
|
|
55
|
+
_ref$size = _ref.size,
|
|
56
|
+
size = _ref$size === void 0 ? 'l' : _ref$size,
|
|
57
|
+
maxlength = _ref.maxlength,
|
|
58
|
+
_ref$required = _ref.required,
|
|
59
|
+
required = _ref$required === void 0 ? false : _ref$required,
|
|
60
|
+
onBlur = _ref.onBlur,
|
|
61
|
+
_ref$mask = _ref.mask,
|
|
62
|
+
mask = _ref$mask === void 0 ? null : _ref$mask,
|
|
63
|
+
_ref$readOnly = _ref.readOnly,
|
|
64
|
+
readOnly = _ref$readOnly === void 0 ? false : _ref$readOnly,
|
|
65
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
66
|
+
var _useState = (0, _react.useState)(false),
|
|
67
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
68
|
+
showInfo = _useState2[0],
|
|
69
|
+
setShowInfo = _useState2[1];
|
|
70
|
+
var _useState3 = (0, _react.useState)(true),
|
|
71
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
72
|
+
hidePassword = _useState4[0],
|
|
73
|
+
setHidePassword = _useState4[1];
|
|
74
|
+
var _useState5 = (0, _react.useState)(changeValue || ''),
|
|
75
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
76
|
+
valueInside = _useState6[0],
|
|
77
|
+
setValueInside = _useState6[1];
|
|
78
|
+
var _useState7 = (0, _react.useState)(false),
|
|
79
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
80
|
+
isFocus = _useState8[0],
|
|
81
|
+
setIsFocus = _useState8[1];
|
|
82
|
+
var inputRef = (0, _react.useRef)(null);
|
|
83
|
+
var maskRef = (0, _react.useRef)(null);
|
|
84
|
+
var handleBlur = function handleBlur() {
|
|
85
|
+
if (onBlur) onBlur(valueInside);
|
|
86
|
+
};
|
|
87
|
+
(0, _react.useEffect)(function () {
|
|
88
|
+
if (onChange) {
|
|
89
|
+
onChange(valueInside);
|
|
90
|
+
}
|
|
91
|
+
}, [valueInside]);
|
|
92
|
+
(0, _react.useEffect)(function () {
|
|
93
|
+
setValueInside(changeValue || '');
|
|
94
|
+
}, [changeValue]);
|
|
95
|
+
(0, _react.useEffect)(function () {
|
|
96
|
+
if (type === 'tel' && inputRef.current) {
|
|
97
|
+
var maskOptions = {
|
|
98
|
+
mask: mask
|
|
99
|
+
};
|
|
100
|
+
maskRef.current = (0, _imask["default"])(inputRef.current, maskOptions);
|
|
101
|
+
maskRef.current.on('accept', function () {
|
|
102
|
+
setValueInside(maskRef.current.value);
|
|
103
|
+
});
|
|
104
|
+
return function () {
|
|
105
|
+
return maskRef.current.destroy();
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
}, [type]);
|
|
109
|
+
(0, _react.useEffect)(function () {
|
|
110
|
+
if (maskRef.current) {
|
|
111
|
+
maskRef.current.value = changeValue || '';
|
|
112
|
+
maskRef.current.updateValue();
|
|
113
|
+
}
|
|
114
|
+
}, [changeValue]);
|
|
115
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
116
|
+
className: "input-dinamyc-placeholder",
|
|
117
|
+
style: {
|
|
118
|
+
width: '100%',
|
|
119
|
+
marginBottom: tooltip ? '24px' : ''
|
|
120
|
+
}
|
|
121
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
122
|
+
className: "".concat(err ? 'input-box__err' : 'input-box', " ").concat(size === 's' ? 'size-s' : 'size-l', " ").concat(disabled ? 'input-box_disabled' : '')
|
|
123
|
+
}, /*#__PURE__*/_react["default"].createElement("input", {
|
|
124
|
+
ref: inputRef,
|
|
125
|
+
className: "input-dynamic",
|
|
126
|
+
maxLength: maxlength,
|
|
127
|
+
style: {
|
|
128
|
+
paddingRight: info ? '56px' : type === 'password' || showClearIndicator ? '30px' : ''
|
|
129
|
+
},
|
|
130
|
+
value: valueInside,
|
|
131
|
+
type: type === 'password' ? hidePassword ? 'password' : 'text' : type,
|
|
132
|
+
onChange: function onChange(e) {
|
|
133
|
+
return setValueInside(e.target.value);
|
|
134
|
+
},
|
|
135
|
+
spellCheck: "false",
|
|
136
|
+
onClick: function onClick() {
|
|
137
|
+
setIsFocus(true);
|
|
138
|
+
setShowInfo(true);
|
|
139
|
+
},
|
|
140
|
+
onBlur: function onBlur() {
|
|
141
|
+
setIsFocus(false);
|
|
142
|
+
setShowInfo(false);
|
|
143
|
+
handleBlur();
|
|
144
|
+
},
|
|
145
|
+
readOnly: readOnly,
|
|
146
|
+
autoComplete: autoComplete ? 'on' : 'off',
|
|
147
|
+
autoFocus: autoFocus,
|
|
148
|
+
disabled: disabled,
|
|
149
|
+
required: required,
|
|
150
|
+
size: size
|
|
151
|
+
}), placeholder && /*#__PURE__*/_react["default"].createElement("div", {
|
|
152
|
+
className: valueInside.length > 0 || isFocus ? 'placeholder-dinamyc_min-blue' : 'placeholder-dinamyc'
|
|
153
|
+
}, /*#__PURE__*/_react["default"].createElement("label", null, placeholder, required && /*#__PURE__*/_react["default"].createElement("span", {
|
|
154
|
+
style: {
|
|
155
|
+
color: 'red'
|
|
156
|
+
}
|
|
157
|
+
}, " *"))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
158
|
+
className: "input-box__clean-value"
|
|
159
|
+
}, showClearIndicator && (valueInside === null || valueInside === void 0 ? void 0 : valueInside.length) > 0 && /*#__PURE__*/_react["default"].createElement("button", {
|
|
160
|
+
className: "btn__clean",
|
|
161
|
+
onClick: function onClick() {
|
|
162
|
+
return setValueInside('');
|
|
163
|
+
}
|
|
164
|
+
}), type === 'password' && /*#__PURE__*/_react["default"].createElement("button", {
|
|
165
|
+
className: "btn__".concat(hidePassword ? 'show' : 'hide'),
|
|
166
|
+
onClick: function onClick() {
|
|
167
|
+
return setHidePassword(!hidePassword);
|
|
168
|
+
}
|
|
169
|
+
}), info && !err && showInfo && /*#__PURE__*/_react["default"].createElement("div", {
|
|
170
|
+
className: "input-box__info"
|
|
171
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
172
|
+
className: "tooltip-box"
|
|
173
|
+
}, /*#__PURE__*/_react["default"].createElement("button", {
|
|
174
|
+
className: "btn__info",
|
|
175
|
+
disabled: true
|
|
176
|
+
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
177
|
+
className: "tooltip"
|
|
178
|
+
}, /*#__PURE__*/_react["default"].createElement("h6", {
|
|
179
|
+
className: "title"
|
|
180
|
+
}, infoHeader), /*#__PURE__*/_react["default"].createElement("p", {
|
|
181
|
+
className: "text"
|
|
182
|
+
}, info))))), err ? /*#__PURE__*/_react["default"].createElement("div", {
|
|
183
|
+
className: "err"
|
|
184
|
+
}, /*#__PURE__*/_react["default"].createElement("p", {
|
|
185
|
+
className: "text_red"
|
|
186
|
+
}, textErr)) : /*#__PURE__*/_react["default"].createElement("div", {
|
|
187
|
+
className: "err"
|
|
188
|
+
}, /*#__PURE__*/_react["default"].createElement("p", {
|
|
189
|
+
className: "text_tooltip"
|
|
190
|
+
}, tooltip))), tooltipStatic && /*#__PURE__*/_react["default"].createElement("p", {
|
|
191
|
+
className: "text_tooltip-mui"
|
|
192
|
+
}, tooltipStatic));
|
|
193
|
+
};
|
|
194
|
+
var _default = exports["default"] = InputDinamycPlaceholder;
|
|
@@ -0,0 +1,497 @@
|
|
|
1
|
+
.input-box,
|
|
2
|
+
.input-box__err,
|
|
3
|
+
.input-box_disabled
|
|
4
|
+
{
|
|
5
|
+
width: 100%;
|
|
6
|
+
position: relative;
|
|
7
|
+
|
|
8
|
+
.input-dynamic {
|
|
9
|
+
display: flex;
|
|
10
|
+
width: 100%;
|
|
11
|
+
height: 56px;
|
|
12
|
+
padding: var(--space-x2, 8px) var(--space-x5, 12px);
|
|
13
|
+
align-items: center;
|
|
14
|
+
gap: var(--space-x2, 8px);
|
|
15
|
+
align-self: stretch;
|
|
16
|
+
border-radius: 8px;
|
|
17
|
+
border: 1px solid #E0E7F2;
|
|
18
|
+
background: var(--white, #FFF);
|
|
19
|
+
color: #020617;
|
|
20
|
+
font-size: 13px;
|
|
21
|
+
font-weight: 400;
|
|
22
|
+
|
|
23
|
+
&:-webkit-autofill,
|
|
24
|
+
&:-webkit-autofill:hover,
|
|
25
|
+
&:-webkit-autofill:focus {
|
|
26
|
+
-webkit-box-shadow: 0 0 0px 1000px rgb(255, 255, 255) inset;
|
|
27
|
+
transition: background-color 5000s ease-in-out 0s;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&:auto-fill {
|
|
31
|
+
box-shadow: inset 0 0 0 100px var(--background-color);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&::-webkit-outer-spin-button,
|
|
35
|
+
&::-webkit-inner-spin-button {
|
|
36
|
+
-webkit-appearance: none;
|
|
37
|
+
margin: 0;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&:focus {
|
|
41
|
+
outline: none;
|
|
42
|
+
border: 1px solid #57CC6A;
|
|
43
|
+
|
|
44
|
+
&:hover {
|
|
45
|
+
border: 1px solid #57CC6A;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&:hover {
|
|
50
|
+
border: 1px solid #64748B;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.placeholder-dinamyc,
|
|
55
|
+
.placeholder-dinamyc_min,
|
|
56
|
+
.placeholder-dinamyc_min-blue {
|
|
57
|
+
width: 100%;
|
|
58
|
+
position: absolute;
|
|
59
|
+
top: calc(50% - 8px);
|
|
60
|
+
left: 14px;
|
|
61
|
+
pointer-events: none;
|
|
62
|
+
|
|
63
|
+
label {
|
|
64
|
+
position: absolute;
|
|
65
|
+
color: #64748B;
|
|
66
|
+
font-family: Inter;
|
|
67
|
+
font-size: 13px;
|
|
68
|
+
font-style: normal;
|
|
69
|
+
font-weight: 400;
|
|
70
|
+
line-height: 16px;
|
|
71
|
+
z-index: 1;
|
|
72
|
+
transition: 0.3s;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&_min,
|
|
76
|
+
&_min-blue {
|
|
77
|
+
display: inline-block;
|
|
78
|
+
top: -5px;
|
|
79
|
+
z-index: 1;
|
|
80
|
+
left: 8px;
|
|
81
|
+
|
|
82
|
+
label {
|
|
83
|
+
position: absolute;
|
|
84
|
+
z-index: 0;
|
|
85
|
+
color: #53616E;
|
|
86
|
+
font-family: Inter;
|
|
87
|
+
font-size: 11px;
|
|
88
|
+
font-style: normal;
|
|
89
|
+
font-weight: 400;
|
|
90
|
+
line-height: 10px;
|
|
91
|
+
transition: 0.3s;
|
|
92
|
+
padding-left: 6px;
|
|
93
|
+
padding-right: 6px;
|
|
94
|
+
|
|
95
|
+
&:after {
|
|
96
|
+
content: '';
|
|
97
|
+
display: inline-block;
|
|
98
|
+
position: absolute;
|
|
99
|
+
margin-top: 5px;
|
|
100
|
+
left: 0;
|
|
101
|
+
top: 0;
|
|
102
|
+
width: 100%;
|
|
103
|
+
height: 6px;
|
|
104
|
+
background-color: white;
|
|
105
|
+
z-index: -1;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
&_min-blue {
|
|
111
|
+
label {
|
|
112
|
+
color: #0B110B;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
&_disabled {
|
|
118
|
+
.input-dynamic {
|
|
119
|
+
background-color: #f6f8fd;
|
|
120
|
+
border: 1px solid #f6f8fd;
|
|
121
|
+
border-radius: 8px;
|
|
122
|
+
|
|
123
|
+
&:focus,
|
|
124
|
+
&:hover {
|
|
125
|
+
border: 1px solid #f6f8fd;
|
|
126
|
+
-webkit-box-shadow: none;
|
|
127
|
+
-moz-box-shadow: none;
|
|
128
|
+
box-shadow: none;
|
|
129
|
+
|
|
130
|
+
&:hover {
|
|
131
|
+
border: 1px solid #f6f8fd;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
&__err {
|
|
138
|
+
.input-dynamic {
|
|
139
|
+
background-color: #FFF5F5;
|
|
140
|
+
border: 1px solid #FFD8D8;
|
|
141
|
+
border-radius: 8px;
|
|
142
|
+
|
|
143
|
+
&:focus,
|
|
144
|
+
&:hover {
|
|
145
|
+
border: 1px solid #FFD8D8;
|
|
146
|
+
-webkit-box-shadow: none;
|
|
147
|
+
-moz-box-shadow: none;
|
|
148
|
+
box-shadow: none;
|
|
149
|
+
|
|
150
|
+
&:hover {
|
|
151
|
+
border: 1px solid #FFD8D8;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.placeholder-dinamyc_min {
|
|
157
|
+
label {
|
|
158
|
+
&:after {
|
|
159
|
+
background-color: #FFF5F5;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.err {
|
|
166
|
+
position: absolute;
|
|
167
|
+
max-height: 30px;
|
|
168
|
+
height: 100%;
|
|
169
|
+
overflow-x: auto;
|
|
170
|
+
top: calc(100% + 2px);
|
|
171
|
+
display: flex;
|
|
172
|
+
gap: 4px;
|
|
173
|
+
align-items: flex-start;
|
|
174
|
+
|
|
175
|
+
// .btn__err {
|
|
176
|
+
// width: 16px;
|
|
177
|
+
// height: 16px;
|
|
178
|
+
// border: none;
|
|
179
|
+
// background-color: inherit;
|
|
180
|
+
// background-image: url('./img/close_red.svg');
|
|
181
|
+
// background-repeat: no-repeat;
|
|
182
|
+
// background-size: 16px;
|
|
183
|
+
// background-position: center;
|
|
184
|
+
// }
|
|
185
|
+
|
|
186
|
+
.text_tooltip {
|
|
187
|
+
padding-left: 8px;
|
|
188
|
+
color: #94A3B8;
|
|
189
|
+
height: 16px;
|
|
190
|
+
font-family: "Inter";
|
|
191
|
+
font-size: 11px;
|
|
192
|
+
height: auto;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.text_red {
|
|
196
|
+
color: #FF4D4F;
|
|
197
|
+
font-size: 11px;
|
|
198
|
+
margin: 0;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
&__clean-value {
|
|
203
|
+
display: flex;
|
|
204
|
+
gap: 12px;
|
|
205
|
+
position: absolute;
|
|
206
|
+
top: calc(50% - 8px);
|
|
207
|
+
right: 10px;
|
|
208
|
+
display: flex;
|
|
209
|
+
gap: 4px;
|
|
210
|
+
align-items: flex-start;
|
|
211
|
+
|
|
212
|
+
.btn__clean {
|
|
213
|
+
width: 16px;
|
|
214
|
+
height: 16px;
|
|
215
|
+
border: none;
|
|
216
|
+
background-color: inherit;
|
|
217
|
+
background-image: url('./img/close_grey.svg');
|
|
218
|
+
background-repeat: no-repeat;
|
|
219
|
+
background-size: 16px;
|
|
220
|
+
background-position: center;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.btn__show,
|
|
224
|
+
.btn__hide {
|
|
225
|
+
width: 16px;
|
|
226
|
+
height: 16px;
|
|
227
|
+
border: none;
|
|
228
|
+
background-color: inherit;
|
|
229
|
+
background-image: url('./img/show.svg');
|
|
230
|
+
background-repeat: no-repeat;
|
|
231
|
+
background-size: 16px;
|
|
232
|
+
background-position: center;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.btn__hide {
|
|
236
|
+
background-image: url('./img/hide.svg');
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
&__info {
|
|
241
|
+
display: flex;
|
|
242
|
+
position: absolute;
|
|
243
|
+
// top: calc(50% - 8px);
|
|
244
|
+
width: auto;
|
|
245
|
+
height: auto;
|
|
246
|
+
right: 20px;
|
|
247
|
+
gap: 4px;
|
|
248
|
+
align-items: flex-start;
|
|
249
|
+
z-index: 10000;
|
|
250
|
+
|
|
251
|
+
&:hover {
|
|
252
|
+
.tooltip {
|
|
253
|
+
display: flex;
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.tooltip {
|
|
258
|
+
padding: 14px;
|
|
259
|
+
position: absolute;
|
|
260
|
+
min-width: 200px;
|
|
261
|
+
max-width: 200px;
|
|
262
|
+
left: -92px;
|
|
263
|
+
border: 2px solid #B2DAFF;
|
|
264
|
+
fill: #FFF;
|
|
265
|
+
stroke-width: 2px #B2DAFF solid;
|
|
266
|
+
margin-top: 8px;
|
|
267
|
+
z-index: 100000;
|
|
268
|
+
width: fit-content;
|
|
269
|
+
border-radius: 8px;
|
|
270
|
+
height: auto;
|
|
271
|
+
// position: absolute;
|
|
272
|
+
background-color: #fff;
|
|
273
|
+
display: none;
|
|
274
|
+
flex-direction: column;
|
|
275
|
+
gap: 4px;
|
|
276
|
+
|
|
277
|
+
.title {
|
|
278
|
+
color: var(--main-menu-primary-text, #020617);
|
|
279
|
+
font-family: Inter;
|
|
280
|
+
font-size: 13px;
|
|
281
|
+
font-style: normal;
|
|
282
|
+
font-weight: 500;
|
|
283
|
+
line-height: normal;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.text {
|
|
287
|
+
color: var(--main-menu-teritary-text, #94A3B8);
|
|
288
|
+
/* Button link/Medium */
|
|
289
|
+
font-family: Inter;
|
|
290
|
+
font-size: 13px;
|
|
291
|
+
font-style: normal;
|
|
292
|
+
font-weight: 400;
|
|
293
|
+
line-height: 16px;
|
|
294
|
+
/* 114.286% */
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
&::after,
|
|
298
|
+
&::before {
|
|
299
|
+
content: '';
|
|
300
|
+
position: absolute;
|
|
301
|
+
background: rgb(255, 255, 255);
|
|
302
|
+
top: 40px;
|
|
303
|
+
left: calc(50% - 5px);
|
|
304
|
+
top: -6px;
|
|
305
|
+
width: 10px;
|
|
306
|
+
height: 10px;
|
|
307
|
+
border: 2px solid #B2DAFF;
|
|
308
|
+
border-right: none;
|
|
309
|
+
border-bottom: none;
|
|
310
|
+
transform: rotate(45deg);
|
|
311
|
+
-webkit-transform: rotate(45deg);
|
|
312
|
+
z-index: 0;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
.btn__info {
|
|
318
|
+
width: 16px;
|
|
319
|
+
height: 16px;
|
|
320
|
+
border: none;
|
|
321
|
+
background-color: inherit;
|
|
322
|
+
background-image: url('./img/info_tooltip.svg');
|
|
323
|
+
background-repeat: no-repeat;
|
|
324
|
+
background-size: 16px;
|
|
325
|
+
background-position: center;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
.text_red {
|
|
329
|
+
color: #FF4D4F;
|
|
330
|
+
font-size: 11px;
|
|
331
|
+
margin: 0;
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
// .autorization__input-field {
|
|
336
|
+
// width: 100%;
|
|
337
|
+
// min-height: 56px;
|
|
338
|
+
// height: 100%;
|
|
339
|
+
// font-family: 'Inter';
|
|
340
|
+
// font-size: 13px;
|
|
341
|
+
// padding: 0px;
|
|
342
|
+
// margin-top: 24px;
|
|
343
|
+
// border-radius: 16px;
|
|
344
|
+
// border-radius: 0px;
|
|
345
|
+
// border: none;
|
|
346
|
+
// background: none;
|
|
347
|
+
|
|
348
|
+
// .css-e4w4as-MuiFormLabel-root-MuiInputLabel-root {
|
|
349
|
+
// color: #94A3B8;
|
|
350
|
+
// font-size: 13px;
|
|
351
|
+
// padding-left: 8px;
|
|
352
|
+
|
|
353
|
+
// &:focus {
|
|
354
|
+
// color: #94A3B8;
|
|
355
|
+
// }
|
|
356
|
+
// }
|
|
357
|
+
|
|
358
|
+
// .css-o943dk-MuiFormLabel-root-MuiInputLabel-root {
|
|
359
|
+
// color: #94A3B8;
|
|
360
|
+
// }
|
|
361
|
+
|
|
362
|
+
// div {
|
|
363
|
+
// border: none;
|
|
364
|
+
// background: none;
|
|
365
|
+
// border: 1px solid #F0F0F0;
|
|
366
|
+
// border-radius: 8px;
|
|
367
|
+
|
|
368
|
+
// &::after {
|
|
369
|
+
// display: none;
|
|
370
|
+
// }
|
|
371
|
+
|
|
372
|
+
// &::before {
|
|
373
|
+
// display: none;
|
|
374
|
+
// }
|
|
375
|
+
// }
|
|
376
|
+
|
|
377
|
+
|
|
378
|
+
// input {
|
|
379
|
+
// background-color: white;
|
|
380
|
+
// border-radius: 8px;
|
|
381
|
+
// font-size: 13px;
|
|
382
|
+
|
|
383
|
+
// &::-webkit-outer-spin-button,
|
|
384
|
+
// &::-webkit-inner-spin-button {
|
|
385
|
+
// -webkit-appearance: none;
|
|
386
|
+
// margin: 0;
|
|
387
|
+
// }
|
|
388
|
+
|
|
389
|
+
// &:focus {
|
|
390
|
+
// border: 1px solid rgba(24, 144, 255, 1);
|
|
391
|
+
// -webkit-box-shadow: 0px 0px 9px -3px rgba(24, 144, 255, 1);
|
|
392
|
+
// -moz-box-shadow: 0px 0px 9px -3px rgba(24, 144, 255, 1);
|
|
393
|
+
// box-shadow: 0px 0px 9px -3px rgba(24, 144, 255, 1);
|
|
394
|
+
// }
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
// }
|
|
398
|
+
|
|
399
|
+
// input:-webkit-autofill,
|
|
400
|
+
// input:-webkit-autofill:hover,
|
|
401
|
+
// input:-webkit-autofill:focus input:-webkit-autofill,
|
|
402
|
+
// textarea:-webkit-autofill,
|
|
403
|
+
// textarea:-webkit-autofill:hover textarea:-webkit-autofill:focus,
|
|
404
|
+
// select:-webkit-autofill,
|
|
405
|
+
// select:-webkit-autofill:hover,
|
|
406
|
+
// select:-webkit-autofill:focus {
|
|
407
|
+
// // -webkit-text-fill-color: rgb(0, 0, 0);
|
|
408
|
+
// -webkit-box-shadow: 0 0 0px 1000px transparent inset;
|
|
409
|
+
// transition: background-color 5000s ease-in-out 0s;
|
|
410
|
+
// background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(0, 174, 255, 0.04) 50%, rgba(255, 255, 255, 0) 51%, rgba(0, 174, 255, 0.03) 100%);
|
|
411
|
+
// }
|
|
412
|
+
|
|
413
|
+
// &::placeholder {
|
|
414
|
+
// font-size: 13px;
|
|
415
|
+
// font-family: "Inter";
|
|
416
|
+
// color: #020617;
|
|
417
|
+
// }
|
|
418
|
+
|
|
419
|
+
// &_err {
|
|
420
|
+
// border: 1px solid #FF4D4F;
|
|
421
|
+
|
|
422
|
+
// }
|
|
423
|
+
// }
|
|
424
|
+
|
|
425
|
+
// &__err {
|
|
426
|
+
// position: absolute;
|
|
427
|
+
// top: calc(100%);
|
|
428
|
+
// display: flex;
|
|
429
|
+
// gap: 4px;
|
|
430
|
+
// align-items: flex-start;
|
|
431
|
+
|
|
432
|
+
// &:hover {
|
|
433
|
+
// border: none;
|
|
434
|
+
// }
|
|
435
|
+
|
|
436
|
+
// .btn__err {
|
|
437
|
+
// width: 16px;
|
|
438
|
+
// height: 16px;
|
|
439
|
+
// border: none;
|
|
440
|
+
// background-color: inherit;
|
|
441
|
+
// background-image: url('./img/close_red.svg');
|
|
442
|
+
// background-repeat: no-repeat;
|
|
443
|
+
// background-size: 16px;
|
|
444
|
+
// background-position: center;
|
|
445
|
+
// }
|
|
446
|
+
|
|
447
|
+
// .text_red {
|
|
448
|
+
// color: #FF4D4F;
|
|
449
|
+
// font-size: 11px;
|
|
450
|
+
// margin: 0;
|
|
451
|
+
// }
|
|
452
|
+
// }
|
|
453
|
+
|
|
454
|
+
.input-err {
|
|
455
|
+
div {
|
|
456
|
+
border: 2px solid #FFD8D8;
|
|
457
|
+
border-radius: 8px;
|
|
458
|
+
|
|
459
|
+
input {
|
|
460
|
+
background-color: #FFF5F5;
|
|
461
|
+
|
|
462
|
+
&:focus,
|
|
463
|
+
&:hover {
|
|
464
|
+
border: none;
|
|
465
|
+
-webkit-box-shadow: none;
|
|
466
|
+
-moz-box-shadow: none;
|
|
467
|
+
box-shadow: none;
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
.size-s {
|
|
475
|
+
.input-dynamic {
|
|
476
|
+
height: 40px;
|
|
477
|
+
|
|
478
|
+
&__err {}
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
.size-l {
|
|
483
|
+
.input-dynamic {
|
|
484
|
+
height: 56px;
|
|
485
|
+
|
|
486
|
+
&__err {}
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
.text_tooltip-mui {
|
|
491
|
+
padding-left: 8px;
|
|
492
|
+
color: #94A3B8;
|
|
493
|
+
height: 16px;
|
|
494
|
+
font-family: "Inter";
|
|
495
|
+
font-size: 11px;
|
|
496
|
+
height: auto;
|
|
497
|
+
}
|