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,279 @@
|
|
|
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"] = exports.SelectorWithFetchCallback = exports.SelectorWithDefaultValueAll = exports.SelectorWithDefaultValue = exports.SelectorSetInputChange = exports.Selector = exports.DropTest = exports.Default = void 0;
|
|
8
|
+
var _DownSelector = _interopRequireDefault(require("./DownSelector"));
|
|
9
|
+
var _react = require("react");
|
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
11
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
12
|
+
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."); }
|
|
13
|
+
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; } }
|
|
14
|
+
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; }
|
|
15
|
+
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; } }
|
|
16
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
17
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
18
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
19
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
20
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
21
|
+
var _default = exports["default"] = {
|
|
22
|
+
title: 'DropdownSelector',
|
|
23
|
+
component: _DownSelector["default"],
|
|
24
|
+
args: {
|
|
25
|
+
defaultValue: {
|
|
26
|
+
label: 'value 1',
|
|
27
|
+
value: 1
|
|
28
|
+
},
|
|
29
|
+
setState: function setState() {},
|
|
30
|
+
options: [{
|
|
31
|
+
label: 'value 1 dddddddd dddddd',
|
|
32
|
+
value: 1
|
|
33
|
+
}, {
|
|
34
|
+
label: 'value 2',
|
|
35
|
+
value: 2
|
|
36
|
+
}, {
|
|
37
|
+
label: 'value 3',
|
|
38
|
+
value: 3
|
|
39
|
+
}, {
|
|
40
|
+
label: 'value 4',
|
|
41
|
+
value: 4
|
|
42
|
+
}, {
|
|
43
|
+
label: 'value 5',
|
|
44
|
+
value: 5
|
|
45
|
+
}, {
|
|
46
|
+
label: 'value 6 очень дллиииииииииииииинныыыыыыыыыыыыыыыыыыыыыыыыыыыыыыыый teeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeext',
|
|
47
|
+
value: 6
|
|
48
|
+
}, {
|
|
49
|
+
label: 'value 1',
|
|
50
|
+
value: 1
|
|
51
|
+
}, {
|
|
52
|
+
label: 'value 2',
|
|
53
|
+
value: 2
|
|
54
|
+
}, {
|
|
55
|
+
label: 'value 3',
|
|
56
|
+
value: 3
|
|
57
|
+
}, {
|
|
58
|
+
label: 'value 4',
|
|
59
|
+
value: 4
|
|
60
|
+
}, {
|
|
61
|
+
label: 'value 5',
|
|
62
|
+
value: 5
|
|
63
|
+
}, {
|
|
64
|
+
label: 'value 1',
|
|
65
|
+
value: 1
|
|
66
|
+
}, {
|
|
67
|
+
label: 'value 2',
|
|
68
|
+
value: 2
|
|
69
|
+
}, {
|
|
70
|
+
label: 'value 3',
|
|
71
|
+
value: 3
|
|
72
|
+
}, {
|
|
73
|
+
label: 'value 4',
|
|
74
|
+
value: 4
|
|
75
|
+
}, {
|
|
76
|
+
label: 'value 5',
|
|
77
|
+
value: 5
|
|
78
|
+
}]
|
|
79
|
+
}
|
|
80
|
+
};
|
|
81
|
+
var Default = exports.Default = {
|
|
82
|
+
render: function render(args) {
|
|
83
|
+
return /*#__PURE__*/React.createElement(_DownSelector["default"], _extends({}, args, {
|
|
84
|
+
state: {
|
|
85
|
+
label: 'asd',
|
|
86
|
+
value: 'asdasd'
|
|
87
|
+
}
|
|
88
|
+
}));
|
|
89
|
+
}
|
|
90
|
+
};
|
|
91
|
+
var Selector = exports.Selector = {
|
|
92
|
+
args: {
|
|
93
|
+
id: 1,
|
|
94
|
+
defaultValue: {
|
|
95
|
+
label: 'value 1',
|
|
96
|
+
value: 1
|
|
97
|
+
},
|
|
98
|
+
name: 'Selector',
|
|
99
|
+
selector_title: 'Selector Title',
|
|
100
|
+
placeholder: 'Бренд',
|
|
101
|
+
style: {},
|
|
102
|
+
multi: true,
|
|
103
|
+
isClearable: true,
|
|
104
|
+
isSearchable: true,
|
|
105
|
+
disabled: false,
|
|
106
|
+
showIndicator: true,
|
|
107
|
+
icon: false,
|
|
108
|
+
iconPlaceholder: false,
|
|
109
|
+
size: 'l'
|
|
110
|
+
}
|
|
111
|
+
};
|
|
112
|
+
var SelectorWithDefaultValue = exports.SelectorWithDefaultValue = {
|
|
113
|
+
args: _defineProperty(_defineProperty({
|
|
114
|
+
id: 2,
|
|
115
|
+
name: 'Selector',
|
|
116
|
+
selector_title: 'Selector Title',
|
|
117
|
+
placeholder: 'placeholder',
|
|
118
|
+
style: {},
|
|
119
|
+
multi: true,
|
|
120
|
+
isClearable: true,
|
|
121
|
+
isSearchable: true,
|
|
122
|
+
disabled: false,
|
|
123
|
+
defaultValue: {
|
|
124
|
+
label: 'value 1',
|
|
125
|
+
value: 1
|
|
126
|
+
},
|
|
127
|
+
showIndicator: true,
|
|
128
|
+
icon: false,
|
|
129
|
+
iconPlaceholder: false
|
|
130
|
+
}, "disabled", true), "tooltip", 'Подсказка')
|
|
131
|
+
};
|
|
132
|
+
var SelectorWithDefaultValueAll = exports.SelectorWithDefaultValueAll = {
|
|
133
|
+
args: _defineProperty(_defineProperty(_defineProperty({
|
|
134
|
+
id: 2,
|
|
135
|
+
name: 'Selector',
|
|
136
|
+
selector_title: 'Selector Title',
|
|
137
|
+
placeholder: 'placeholder',
|
|
138
|
+
style: {},
|
|
139
|
+
multi: true,
|
|
140
|
+
isClearable: true,
|
|
141
|
+
isSearchable: true,
|
|
142
|
+
disabled: false,
|
|
143
|
+
defaultValue: {
|
|
144
|
+
label: 'value 1',
|
|
145
|
+
value: 1
|
|
146
|
+
},
|
|
147
|
+
showIndicator: true,
|
|
148
|
+
icon: false,
|
|
149
|
+
iconPlaceholder: false
|
|
150
|
+
}, "disabled", true), "tooltip", 'Подсказка'), "al", false)
|
|
151
|
+
};
|
|
152
|
+
var SelectorSetInputChange = exports.SelectorSetInputChange = {
|
|
153
|
+
args: {
|
|
154
|
+
id: 3,
|
|
155
|
+
name: 'Selector',
|
|
156
|
+
selector_title: 'Selector Title',
|
|
157
|
+
placeholder: 'placeholder',
|
|
158
|
+
style: {},
|
|
159
|
+
multi: false,
|
|
160
|
+
isClearable: true,
|
|
161
|
+
isSearchable: true,
|
|
162
|
+
disabled: false,
|
|
163
|
+
showIndicator: true,
|
|
164
|
+
icon: false,
|
|
165
|
+
iconPlaceholder: false,
|
|
166
|
+
setInputChange: function setInputChange(args) {
|
|
167
|
+
return console.log("setInputChange called with ".concat(args));
|
|
168
|
+
},
|
|
169
|
+
size: 'l'
|
|
170
|
+
}
|
|
171
|
+
};
|
|
172
|
+
var SelectorWithFetchCallback = exports.SelectorWithFetchCallback = {
|
|
173
|
+
args: {
|
|
174
|
+
id: 4,
|
|
175
|
+
name: 'Selector',
|
|
176
|
+
selector_title: 'Selector Title',
|
|
177
|
+
placeholder: 'placeholder',
|
|
178
|
+
style: {},
|
|
179
|
+
multi: true,
|
|
180
|
+
isClearable: true,
|
|
181
|
+
isSearchable: true,
|
|
182
|
+
disabled: false,
|
|
183
|
+
showIndicator: true,
|
|
184
|
+
state: [{
|
|
185
|
+
label: 'value',
|
|
186
|
+
value: 'value'
|
|
187
|
+
}, {
|
|
188
|
+
label: 'value2',
|
|
189
|
+
value: 'value2'
|
|
190
|
+
}],
|
|
191
|
+
icon: false,
|
|
192
|
+
iconPlaceholder: false,
|
|
193
|
+
fetchCallback: function fetchCallback(e) {
|
|
194
|
+
return e;
|
|
195
|
+
},
|
|
196
|
+
size: 'l'
|
|
197
|
+
}
|
|
198
|
+
};
|
|
199
|
+
var DropTest = exports.DropTest = function DropTest() {
|
|
200
|
+
var _useState = (0, _react.useState)([]),
|
|
201
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
202
|
+
state = _useState2[0],
|
|
203
|
+
_setState = _useState2[1];
|
|
204
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
205
|
+
style: {
|
|
206
|
+
padding: '60px',
|
|
207
|
+
background: '#F6F9FC',
|
|
208
|
+
height: '800px'
|
|
209
|
+
}
|
|
210
|
+
}, /*#__PURE__*/React.createElement(_DownSelector["default"], {
|
|
211
|
+
options_prop: [{
|
|
212
|
+
label: 'valuefffffffffffffffffffffffffffffff 1 value 1 value 1 value 1 value 1 value 1 value 1 value 1',
|
|
213
|
+
value: 1
|
|
214
|
+
}, {
|
|
215
|
+
label: 'value 2',
|
|
216
|
+
value: 2
|
|
217
|
+
}, {
|
|
218
|
+
label: 'value 3',
|
|
219
|
+
value: 3
|
|
220
|
+
}, {
|
|
221
|
+
label: 'value 4',
|
|
222
|
+
value: 4
|
|
223
|
+
}, {
|
|
224
|
+
label: 'value 5',
|
|
225
|
+
value: 5
|
|
226
|
+
}, {
|
|
227
|
+
label: 'value 6',
|
|
228
|
+
value: 6
|
|
229
|
+
}, {
|
|
230
|
+
label: 'value 7',
|
|
231
|
+
value: 7
|
|
232
|
+
}, {
|
|
233
|
+
label: 'value 8',
|
|
234
|
+
value: 8
|
|
235
|
+
}, {
|
|
236
|
+
label: 'value 9',
|
|
237
|
+
value: 9
|
|
238
|
+
}, {
|
|
239
|
+
label: 'value 11',
|
|
240
|
+
value: 11
|
|
241
|
+
}, {
|
|
242
|
+
label: 'value 12',
|
|
243
|
+
value: 12
|
|
244
|
+
}, {
|
|
245
|
+
label: 'value 13',
|
|
246
|
+
value: 13
|
|
247
|
+
}, {
|
|
248
|
+
label: 'value 14',
|
|
249
|
+
value: 14
|
|
250
|
+
}, {
|
|
251
|
+
label: 'value 15',
|
|
252
|
+
value: 15
|
|
253
|
+
}, {
|
|
254
|
+
label: 'value 16',
|
|
255
|
+
value: 16
|
|
256
|
+
}, {
|
|
257
|
+
label: 'value 17',
|
|
258
|
+
value: 17
|
|
259
|
+
}, {
|
|
260
|
+
label: 'value 18',
|
|
261
|
+
value: 18
|
|
262
|
+
}, {
|
|
263
|
+
label: 'value 19',
|
|
264
|
+
value: 19
|
|
265
|
+
}],
|
|
266
|
+
defaultValue: [{
|
|
267
|
+
label: 'All',
|
|
268
|
+
value: 'all'
|
|
269
|
+
}],
|
|
270
|
+
placeholder: "placeholder",
|
|
271
|
+
multi: true,
|
|
272
|
+
state: state,
|
|
273
|
+
all: false,
|
|
274
|
+
setState: function setState(e) {
|
|
275
|
+
return _setState(e);
|
|
276
|
+
},
|
|
277
|
+
lang: "en"
|
|
278
|
+
}));
|
|
279
|
+
};
|
|
@@ -0,0 +1,391 @@
|
|
|
1
|
+
|
|
2
|
+
.selector_wrapper {
|
|
3
|
+
* {
|
|
4
|
+
font-family: 'Golos text';
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.react-select-container {
|
|
9
|
+
background-color: #57CC6A !important;
|
|
10
|
+
border: 1px solid black !important;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.react-select {
|
|
14
|
+
&__drop-container {
|
|
15
|
+
display: flex;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&__col {
|
|
19
|
+
display: flex;
|
|
20
|
+
flex-direction: column;
|
|
21
|
+
width: 50%;
|
|
22
|
+
|
|
23
|
+
&:nth-child(1) {
|
|
24
|
+
border-right: 2px solid #EDEFED;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&__btn-close {
|
|
29
|
+
border: none;
|
|
30
|
+
background-color: inherit;
|
|
31
|
+
cursor: pointer;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&__label {
|
|
35
|
+
display: flex;
|
|
36
|
+
align-items: center;
|
|
37
|
+
justify-content: space-between;
|
|
38
|
+
padding: 10px 20px;
|
|
39
|
+
gap: 8px;
|
|
40
|
+
color: #020617;
|
|
41
|
+
font-family: "Golos Text";
|
|
42
|
+
font-size: 13px;
|
|
43
|
+
font-style: normal;
|
|
44
|
+
font-weight: 600;
|
|
45
|
+
line-height: 16px;
|
|
46
|
+
border-bottom: 1px solid #EDEFED;
|
|
47
|
+
position: sticky;
|
|
48
|
+
top: 0;
|
|
49
|
+
background-color: #fff;
|
|
50
|
+
cursor: pointer;
|
|
51
|
+
|
|
52
|
+
.checkbox-container {
|
|
53
|
+
pointer-events: none;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&__item {
|
|
58
|
+
display: flex;
|
|
59
|
+
align-items: center;
|
|
60
|
+
gap: 8px;
|
|
61
|
+
min-height: 40px;
|
|
62
|
+
border-bottom: 1px solid #E0E7F2;
|
|
63
|
+
padding: 12px 20px;
|
|
64
|
+
|
|
65
|
+
&:hover,
|
|
66
|
+
&:active {
|
|
67
|
+
background-color: #F5F5FB;
|
|
68
|
+
border-radius: 0px;
|
|
69
|
+
cursor: default;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&:last-child {
|
|
73
|
+
border: none;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.text {
|
|
77
|
+
color: #020617;
|
|
78
|
+
font-family: "Golos Text";
|
|
79
|
+
font-size: 13px;
|
|
80
|
+
font-style: normal;
|
|
81
|
+
font-weight: 500;
|
|
82
|
+
line-height: 14px;
|
|
83
|
+
width: 100%;
|
|
84
|
+
text-overflow: ellipsis;
|
|
85
|
+
overflow: hidden;
|
|
86
|
+
display: -webkit-box;
|
|
87
|
+
font-size: 11px;
|
|
88
|
+
-webkit-line-clamp: 2;
|
|
89
|
+
-webkit-box-orient: vertical;
|
|
90
|
+
word-wrap: break-word;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&__count {
|
|
95
|
+
overflow: hidden;
|
|
96
|
+
text-overflow: ellipsis;
|
|
97
|
+
white-space: nowrap;
|
|
98
|
+
border-radius: 0px;
|
|
99
|
+
color: #020617;
|
|
100
|
+
font-size: 12px;
|
|
101
|
+
padding: 3px;
|
|
102
|
+
padding-left: 0px;
|
|
103
|
+
box-sizing: border-box;
|
|
104
|
+
background: #fff;
|
|
105
|
+
border: none;
|
|
106
|
+
font-family: "Golos Text";
|
|
107
|
+
margin: 0px;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
&__no-options {
|
|
111
|
+
color: #020617;
|
|
112
|
+
font-family: "Golos Text";
|
|
113
|
+
font-size: 13px;
|
|
114
|
+
font-style: normal;
|
|
115
|
+
font-weight: 400;
|
|
116
|
+
line-height: 12px;
|
|
117
|
+
padding: 4px;
|
|
118
|
+
padding: 12px 20px;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
.selector_wrapper_size-l,
|
|
126
|
+
.selector_wrapper_value-top_size-l,
|
|
127
|
+
.selector_wrapper,
|
|
128
|
+
.selector_wrapper_value-top,
|
|
129
|
+
.selector_wrapper_disabled {
|
|
130
|
+
display: flex;
|
|
131
|
+
padding: 0;
|
|
132
|
+
height: auto;
|
|
133
|
+
padding: 0;
|
|
134
|
+
width: 100%;
|
|
135
|
+
min-height: 40px;
|
|
136
|
+
min-width: 210px;
|
|
137
|
+
max-width: 210px;
|
|
138
|
+
height: auto;
|
|
139
|
+
border-radius: 8px;
|
|
140
|
+
position: relative;
|
|
141
|
+
|
|
142
|
+
&__text_tooltip {
|
|
143
|
+
padding-left: 8px;
|
|
144
|
+
color: #94A3B8;
|
|
145
|
+
height: 16px;
|
|
146
|
+
font-family: "Golos Text";
|
|
147
|
+
font-size: 11px;
|
|
148
|
+
height: auto;
|
|
149
|
+
margin-top: 4px;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
//динамический placeholder
|
|
153
|
+
.placeholder-dinamyc,
|
|
154
|
+
.placeholder-dinamyc_min,
|
|
155
|
+
.placeholder-dinamyc_min-blue {
|
|
156
|
+
width: 100%;
|
|
157
|
+
position: absolute;
|
|
158
|
+
top: calc(50% - 8px);
|
|
159
|
+
left: 14px;
|
|
160
|
+
pointer-events: none;
|
|
161
|
+
|
|
162
|
+
label {
|
|
163
|
+
position: absolute;
|
|
164
|
+
color: #64748B;
|
|
165
|
+
font-family: "Golos Text";
|
|
166
|
+
font-size: 13px;
|
|
167
|
+
font-style: normal;
|
|
168
|
+
font-weight: 400;
|
|
169
|
+
line-height: 16px;
|
|
170
|
+
z-index: 1;
|
|
171
|
+
transition: 0.3s;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
&_min,
|
|
175
|
+
&_min-blue {
|
|
176
|
+
display: inline-block;
|
|
177
|
+
top: -5px;
|
|
178
|
+
z-index: 1;
|
|
179
|
+
left: 8px;
|
|
180
|
+
|
|
181
|
+
label {
|
|
182
|
+
position: absolute;
|
|
183
|
+
z-index: 0;
|
|
184
|
+
color: #53616E;
|
|
185
|
+
font-family: "Golos Text";
|
|
186
|
+
font-size: 11px;
|
|
187
|
+
font-style: normal;
|
|
188
|
+
font-weight: 400;
|
|
189
|
+
line-height: 10px;
|
|
190
|
+
transition: 0.3s;
|
|
191
|
+
padding-left: 6px;
|
|
192
|
+
padding-right: 6px;
|
|
193
|
+
|
|
194
|
+
&:after {
|
|
195
|
+
content: '';
|
|
196
|
+
display: inline-block;
|
|
197
|
+
position: absolute;
|
|
198
|
+
margin-top: 5px;
|
|
199
|
+
left: 0;
|
|
200
|
+
top: 0;
|
|
201
|
+
width: 100%;
|
|
202
|
+
height: 6px;
|
|
203
|
+
background-color: white;
|
|
204
|
+
z-index: -1;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
&_min-blue {
|
|
210
|
+
label {
|
|
211
|
+
color: #0B110B;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
&_disabled {
|
|
217
|
+
|
|
218
|
+
.placeholder-dinamyc,
|
|
219
|
+
.placeholder-dinamyc_min,
|
|
220
|
+
.placeholder-dinamyc_min-blue {
|
|
221
|
+
label {
|
|
222
|
+
color: #D3DEE7;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
&_min,
|
|
226
|
+
&_min-blue {
|
|
227
|
+
label {
|
|
228
|
+
color: #D3DEE7;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
&_min-blue {
|
|
233
|
+
label {
|
|
234
|
+
color: #D3DEE7;
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
&:hover {
|
|
241
|
+
outline: none;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.dropdown_selector {
|
|
245
|
+
|
|
246
|
+
width: 100%;
|
|
247
|
+
border-radius: 8px;
|
|
248
|
+
position: relative;
|
|
249
|
+
border: 1px solid #E0E7F2;
|
|
250
|
+
min-height: 36px;
|
|
251
|
+
|
|
252
|
+
&:hover {
|
|
253
|
+
border: 1px solid #64748B;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
&:active,
|
|
257
|
+
&:focus-within {
|
|
258
|
+
border: 1px solid #57CC6A;
|
|
259
|
+
border-radius: 8px;
|
|
260
|
+
|
|
261
|
+
.css-t3ipsp-control {
|
|
262
|
+
&:focus-within {
|
|
263
|
+
border: none;
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.css-13cymwt-control,
|
|
269
|
+
.css-t3ipsp-control {
|
|
270
|
+
min-height: 36px;
|
|
271
|
+
height: 100%;
|
|
272
|
+
outline: none;
|
|
273
|
+
box-shadow: none;
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.css-16xfy0z-control {
|
|
278
|
+
background-color: white;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.dropdown_selector__err {
|
|
282
|
+
border: 1px solid red;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
.dropdown_selector>div {
|
|
286
|
+
border-radius: 8px;
|
|
287
|
+
// height: 100%;
|
|
288
|
+
// min-height: 100%;
|
|
289
|
+
outline: none;
|
|
290
|
+
border: none;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
// options выпадающего списка
|
|
294
|
+
.option-item {
|
|
295
|
+
border-radius: 0px;
|
|
296
|
+
width: 100%;
|
|
297
|
+
display: flex;
|
|
298
|
+
align-items: center;
|
|
299
|
+
min-height: 40px;
|
|
300
|
+
border-bottom: 1px solid var(--stroke-primary-primary, #E0E7F2);
|
|
301
|
+
background-color: white;
|
|
302
|
+
gap: 8px;
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
&:last-child {
|
|
306
|
+
border: none;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
&:hover,
|
|
310
|
+
&:active {
|
|
311
|
+
background-color: #F5F5FB;
|
|
312
|
+
border-radius: 0px;
|
|
313
|
+
cursor: default;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
.text {
|
|
317
|
+
color: #020617;
|
|
318
|
+
font-family: "Golos Text";
|
|
319
|
+
font-size: 13px;
|
|
320
|
+
font-style: normal;
|
|
321
|
+
font-weight: 500;
|
|
322
|
+
line-height: 14px;
|
|
323
|
+
width: 100%;
|
|
324
|
+
text-overflow: ellipsis;
|
|
325
|
+
overflow: hidden;
|
|
326
|
+
display: -webkit-box;
|
|
327
|
+
font-size: 11px;
|
|
328
|
+
-webkit-line-clamp: 2;
|
|
329
|
+
-webkit-box-orient: vertical;
|
|
330
|
+
word-wrap: break-word;
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
.no-options {
|
|
335
|
+
color: #020617;
|
|
336
|
+
font-family: "Golos Text";
|
|
337
|
+
font-size: 13px;
|
|
338
|
+
font-style: normal;
|
|
339
|
+
font-weight: 400;
|
|
340
|
+
line-height: 12px;
|
|
341
|
+
padding: 4px;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
.option-task {
|
|
345
|
+
border-radius: 0px;
|
|
346
|
+
display: flex;
|
|
347
|
+
flex-direction: column;
|
|
348
|
+
align-items: start;
|
|
349
|
+
min-height: 40px;
|
|
350
|
+
border-bottom: 1px solid #E0E7F2;
|
|
351
|
+
|
|
352
|
+
.text {
|
|
353
|
+
text-overflow: ellipsis;
|
|
354
|
+
overflow: hidden;
|
|
355
|
+
display: -webkit-box;
|
|
356
|
+
font-size: 13px;
|
|
357
|
+
-webkit-line-clamp: 2;
|
|
358
|
+
-webkit-box-orient: vertical;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
&:last-child {
|
|
362
|
+
border: none;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
&:hover,
|
|
366
|
+
&:active {
|
|
367
|
+
background-color: #E6F7FF;
|
|
368
|
+
border-radius: 0px;
|
|
369
|
+
cursor: default;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
.text_min {
|
|
373
|
+
font-size: 11px;
|
|
374
|
+
|
|
375
|
+
span {
|
|
376
|
+
color: #8F99A3;
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
&_size-l {
|
|
382
|
+
|
|
383
|
+
.dropdown_selector {
|
|
384
|
+
min-height: 56px;
|
|
385
|
+
|
|
386
|
+
&:disabled {
|
|
387
|
+
min-height: 56px;
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g id="Basic icons ">
|
|
3
|
+
<path id="Vector" d="M11 3L3 11" stroke="#475569" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
+
<path id="Vector_2" d="M3 3L11 11" stroke="#475569" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
5
|
+
</g>
|
|
6
|
+
</svg>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g id="Basic icons ">
|
|
3
|
+
<path id="Vector" d="M11 3L3 11" stroke="#D3DEE7" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
+
<path id="Vector_2" d="M3 3L11 11" stroke="#D3DEE7" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
5
|
+
</g>
|
|
6
|
+
</svg>
|