@salutejs/plasma-new-hope 0.141.0-canary.1421.10719019658.0 → 0.141.0-canary.1422.10721189833.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Combobox/ComboboxNew/Combobox.js +6 -4
- package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
- package/cjs/components/Combobox/ComboboxOld/Combobox.js +15 -8
- package/cjs/components/Combobox/ComboboxOld/Combobox.js.map +1 -1
- package/cjs/components/TextArea/TextArea.js +1 -2
- package/cjs/components/TextArea/TextArea.js.map +1 -1
- package/cjs/components/TextField/TextField.js +12 -7
- package/cjs/components/TextField/TextField.js.map +1 -1
- package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.js +6 -4
- package/emotion/cjs/components/Combobox/ComboboxOld/Combobox.js +15 -8
- package/emotion/cjs/components/TextArea/TextArea.js +2 -3
- package/emotion/cjs/components/TextField/TextField.js +13 -8
- package/emotion/cjs/examples/plasma_b2c/components/Combobox/ComboboxNew/Combobox.stories.tsx +2 -0
- package/emotion/cjs/examples/plasma_b2c/components/Combobox/ComboboxOld/Combobox.stories.tsx +18 -3
- package/emotion/cjs/examples/plasma_web/components/Combobox/ComboboxNew/Combobox.stories.tsx +2 -0
- package/emotion/cjs/examples/plasma_web/components/Combobox/ComboboxOld/Combobox.stories.tsx +18 -3
- package/emotion/es/components/Combobox/ComboboxNew/Combobox.js +6 -4
- package/emotion/es/components/Combobox/ComboboxOld/Combobox.js +15 -8
- package/emotion/es/components/TextArea/TextArea.js +2 -3
- package/emotion/es/components/TextField/TextField.js +13 -8
- package/emotion/es/examples/plasma_b2c/components/Combobox/ComboboxNew/Combobox.stories.tsx +2 -0
- package/emotion/es/examples/plasma_b2c/components/Combobox/ComboboxOld/Combobox.stories.tsx +18 -3
- package/emotion/es/examples/plasma_web/components/Combobox/ComboboxNew/Combobox.stories.tsx +2 -0
- package/emotion/es/examples/plasma_web/components/Combobox/ComboboxOld/Combobox.stories.tsx +18 -3
- package/es/components/Combobox/ComboboxNew/Combobox.js +6 -4
- package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
- package/es/components/Combobox/ComboboxOld/Combobox.js +15 -8
- package/es/components/Combobox/ComboboxOld/Combobox.js.map +1 -1
- package/es/components/TextArea/TextArea.js +1 -2
- package/es/components/TextArea/TextArea.js.map +1 -1
- package/es/components/TextField/TextField.js +12 -7
- package/es/components/TextField/TextField.js.map +1 -1
- package/package.json +4 -5
- package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.js +6 -4
- package/styled-components/cjs/components/Combobox/ComboboxOld/Combobox.js +15 -8
- package/styled-components/cjs/components/TextArea/TextArea.js +1 -2
- package/styled-components/cjs/components/TextField/TextField.js +12 -7
- package/styled-components/cjs/examples/plasma_b2c/components/Combobox/ComboboxNew/Combobox.stories.tsx +2 -0
- package/styled-components/cjs/examples/plasma_b2c/components/Combobox/ComboboxOld/Combobox.stories.tsx +18 -3
- package/styled-components/cjs/examples/plasma_web/components/Combobox/ComboboxNew/Combobox.stories.tsx +2 -0
- package/styled-components/cjs/examples/plasma_web/components/Combobox/ComboboxOld/Combobox.stories.tsx +18 -3
- package/styled-components/es/components/Combobox/ComboboxNew/Combobox.js +6 -4
- package/styled-components/es/components/Combobox/ComboboxOld/Combobox.js +15 -8
- package/styled-components/es/components/TextArea/TextArea.js +1 -2
- package/styled-components/es/components/TextField/TextField.js +12 -7
- package/styled-components/es/examples/plasma_b2c/components/Combobox/ComboboxNew/Combobox.stories.tsx +2 -0
- package/styled-components/es/examples/plasma_b2c/components/Combobox/ComboboxOld/Combobox.stories.tsx +18 -3
- package/styled-components/es/examples/plasma_web/components/Combobox/ComboboxNew/Combobox.stories.tsx +2 -0
- package/styled-components/es/examples/plasma_web/components/Combobox/ComboboxOld/Combobox.stories.tsx +18 -3
- package/types/components/Combobox/ComboboxNew/Combobox.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts +7 -1
- package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxOld/Combobox.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxOld/Combobox.types.d.ts +6 -0
- package/types/components/Combobox/ComboboxOld/Combobox.types.d.ts.map +1 -1
- package/types/components/TextArea/TextArea.d.ts.map +1 -1
- package/types/components/TextField/TextField.d.ts.map +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Form/Form.stories.tsx +0 -106
- package/emotion/es/examples/plasma_b2c/components/Form/Form.stories.tsx +0 -106
- package/styled-components/cjs/examples/plasma_b2c/components/Form/Form.stories.tsx +0 -106
- package/styled-components/es/examples/plasma_b2c/components/Form/Form.stories.tsx +0 -106
@@ -47,6 +47,7 @@ const meta: Meta<StorySelectProps> = {
|
|
47
47
|
usePortal: false,
|
48
48
|
disabled: false,
|
49
49
|
readOnly: false,
|
50
|
+
alwaysOpened: false,
|
50
51
|
label: 'Label',
|
51
52
|
placeholder: 'Placeholder',
|
52
53
|
enumerationType: 'comma',
|
@@ -81,7 +82,7 @@ const getSelectItems = (slug: string, elemCount: number) =>
|
|
81
82
|
}));
|
82
83
|
|
83
84
|
const StorySingle = (args: StorySelectProps) => {
|
84
|
-
const { usePortal, placement, label, placeholder, readOnly, disabled, size = 'm', view } = args;
|
85
|
+
const { usePortal, placement, label, placeholder, readOnly, disabled, alwaysOpened, size = 'm', view } = args;
|
85
86
|
|
86
87
|
const [value, setValue] = useState<ComboboxPrimitiveValue | undefined>('item_0');
|
87
88
|
|
@@ -104,6 +105,7 @@ const StorySingle = (args: StorySelectProps) => {
|
|
104
105
|
view={view}
|
105
106
|
disabled={disabled}
|
106
107
|
readOnly={readOnly}
|
108
|
+
alwaysOpened={alwaysOpened}
|
107
109
|
onChangeValue={onChangeValue}
|
108
110
|
>
|
109
111
|
<ComboboxItem value={undefined} text="Clear" />
|
@@ -129,7 +131,18 @@ export const Single: StoryObj<StorySelectProps> = {
|
|
129
131
|
};
|
130
132
|
|
131
133
|
const StoryMultiple = (args: StorySelectProps) => {
|
132
|
-
const {
|
134
|
+
const {
|
135
|
+
usePortal,
|
136
|
+
placement,
|
137
|
+
label,
|
138
|
+
placeholder,
|
139
|
+
readOnly,
|
140
|
+
disabled,
|
141
|
+
enumerationType,
|
142
|
+
alwaysOpened,
|
143
|
+
size = 'm',
|
144
|
+
view,
|
145
|
+
} = args;
|
133
146
|
|
134
147
|
const [value, setValue] = useState<Array<ComboboxPrimitiveValue> | undefined>(['item_2', 'item_3']);
|
135
148
|
|
@@ -153,6 +166,7 @@ const StoryMultiple = (args: StorySelectProps) => {
|
|
153
166
|
view={view}
|
154
167
|
disabled={disabled}
|
155
168
|
readOnly={readOnly}
|
169
|
+
alwaysOpened={alwaysOpened}
|
156
170
|
onChangeValue={onChangeValue}
|
157
171
|
>
|
158
172
|
<ComboboxItem value={undefined} text="Clear" />
|
@@ -174,7 +188,7 @@ export const Multiple: StoryObj<StorySelectProps> = {
|
|
174
188
|
};
|
175
189
|
|
176
190
|
const StoryAddCustomItem = (args: StorySelectProps) => {
|
177
|
-
const { usePortal, placement, label, placeholder, readOnly, disabled, size = 'm', view } = args;
|
191
|
+
const { usePortal, placement, label, placeholder, readOnly, disabled, alwaysOpened, size = 'm', view } = args;
|
178
192
|
|
179
193
|
const [opened, setOpened] = useState(false);
|
180
194
|
const [items, setItems] = useState(getSelectItems('item', 1));
|
@@ -225,6 +239,7 @@ const StoryAddCustomItem = (args: StorySelectProps) => {
|
|
225
239
|
disabled={disabled}
|
226
240
|
readOnly={readOnly}
|
227
241
|
opened={opened}
|
242
|
+
alwaysOpened={alwaysOpened}
|
228
243
|
onToggle={onToggle}
|
229
244
|
onChangeValue={onChangeValue}
|
230
245
|
onKeyDown={onKeyDown}
|
@@ -73,6 +73,7 @@ const meta: Meta<StorySelectProps> = {
|
|
73
73
|
variant: 'normal',
|
74
74
|
disabled: false,
|
75
75
|
readOnly: false,
|
76
|
+
alwaysOpened: false,
|
76
77
|
},
|
77
78
|
parameters: {
|
78
79
|
controls: {
|
@@ -86,6 +87,7 @@ const meta: Meta<StorySelectProps> = {
|
|
86
87
|
'helperText',
|
87
88
|
'isTargetAmount',
|
88
89
|
'closeAfterSelect',
|
90
|
+
'alwaysOpened',
|
89
91
|
'variant',
|
90
92
|
'disabled',
|
91
93
|
'readOnly',
|
@@ -47,6 +47,7 @@ const meta: Meta<StorySelectProps> = {
|
|
47
47
|
usePortal: false,
|
48
48
|
disabled: false,
|
49
49
|
readOnly: false,
|
50
|
+
alwaysOpened: false,
|
50
51
|
label: 'Label',
|
51
52
|
placeholder: 'Placeholder',
|
52
53
|
enumerationType: 'comma',
|
@@ -81,7 +82,7 @@ const getSelectItems = (slug: string, elemCount: number) =>
|
|
81
82
|
}));
|
82
83
|
|
83
84
|
const StorySingle = (args: StorySelectProps) => {
|
84
|
-
const { usePortal, placement, label, placeholder, readOnly, disabled, size = 'm', view } = args;
|
85
|
+
const { usePortal, placement, label, placeholder, readOnly, disabled, alwaysOpened, size = 'm', view } = args;
|
85
86
|
|
86
87
|
const [value, setValue] = useState<ComboboxPrimitiveValue | undefined>('item_0');
|
87
88
|
|
@@ -104,6 +105,7 @@ const StorySingle = (args: StorySelectProps) => {
|
|
104
105
|
view={view}
|
105
106
|
disabled={disabled}
|
106
107
|
readOnly={readOnly}
|
108
|
+
alwaysOpened={alwaysOpened}
|
107
109
|
onChangeValue={onChangeValue}
|
108
110
|
>
|
109
111
|
<ComboboxItem value={undefined} text="Clear" />
|
@@ -129,7 +131,18 @@ export const Single: StoryObj<StorySelectProps> = {
|
|
129
131
|
};
|
130
132
|
|
131
133
|
const StoryMultiple = (args: StorySelectProps) => {
|
132
|
-
const {
|
134
|
+
const {
|
135
|
+
usePortal,
|
136
|
+
placement,
|
137
|
+
label,
|
138
|
+
placeholder,
|
139
|
+
readOnly,
|
140
|
+
disabled,
|
141
|
+
enumerationType,
|
142
|
+
alwaysOpened,
|
143
|
+
size = 'm',
|
144
|
+
view,
|
145
|
+
} = args;
|
133
146
|
|
134
147
|
const [value, setValue] = useState<Array<ComboboxPrimitiveValue> | undefined>(['item_2', 'item_3']);
|
135
148
|
|
@@ -153,6 +166,7 @@ const StoryMultiple = (args: StorySelectProps) => {
|
|
153
166
|
view={view}
|
154
167
|
disabled={disabled}
|
155
168
|
readOnly={readOnly}
|
169
|
+
alwaysOpened={alwaysOpened}
|
156
170
|
onChangeValue={onChangeValue}
|
157
171
|
>
|
158
172
|
<ComboboxItem value={undefined} text="Clear" />
|
@@ -174,7 +188,7 @@ export const Multiple: StoryObj<StorySelectProps> = {
|
|
174
188
|
};
|
175
189
|
|
176
190
|
const StoryAddCustomItem = (args: StorySelectProps) => {
|
177
|
-
const { usePortal, placement, label, placeholder, readOnly, disabled, size = 'm', view } = args;
|
191
|
+
const { usePortal, placement, label, placeholder, readOnly, disabled, alwaysOpened, size = 'm', view } = args;
|
178
192
|
|
179
193
|
const [opened, setOpened] = useState(false);
|
180
194
|
const [items, setItems] = useState(getSelectItems('item', 1));
|
@@ -225,6 +239,7 @@ const StoryAddCustomItem = (args: StorySelectProps) => {
|
|
225
239
|
disabled={disabled}
|
226
240
|
readOnly={readOnly}
|
227
241
|
opened={opened}
|
242
|
+
alwaysOpened={alwaysOpened}
|
228
243
|
onToggle={onToggle}
|
229
244
|
onChangeValue={onChangeValue}
|
230
245
|
onKeyDown={onKeyDown}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
var _excluded = ["multiple", "value", "onChange", "isTargetAmount", "items", "placement", "label", "placeholder", "helperText", "contentLeft", "textBefore", "textAfter", "variant", "listOverflow", "listHeight", "listWidth", "portal", "renderItem", "view", "size", "labelPlacement", "readOnly", "disabled", "filter", "closeAfterSelect"];
|
1
|
+
var _excluded = ["multiple", "value", "onChange", "isTargetAmount", "items", "placement", "label", "placeholder", "helperText", "contentLeft", "textBefore", "textAfter", "variant", "listOverflow", "listHeight", "listWidth", "portal", "renderItem", "view", "size", "labelPlacement", "readOnly", "disabled", "alwaysOpened", "filter", "closeAfterSelect"];
|
2
2
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
3
3
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
4
4
|
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."); }
|
@@ -58,6 +58,8 @@ export var comboboxRoot = function comboboxRoot(Root) {
|
|
58
58
|
readOnly = _props$readOnly === void 0 ? false : _props$readOnly,
|
59
59
|
_props$disabled = props.disabled,
|
60
60
|
disabled = _props$disabled === void 0 ? false : _props$disabled,
|
61
|
+
_props$alwaysOpened = props.alwaysOpened,
|
62
|
+
alwaysOpened = _props$alwaysOpened === void 0 ? false : _props$alwaysOpened,
|
61
63
|
filter = props.filter,
|
62
64
|
outerCloseAfterSelect = props.closeAfterSelect,
|
63
65
|
rest = _objectWithoutProperties(props, _excluded);
|
@@ -107,7 +109,7 @@ export var comboboxRoot = function comboboxRoot(Root) {
|
|
107
109
|
_useState6 = _slicedToArray(_useState5, 2),
|
108
110
|
checked = _useState6[0],
|
109
111
|
setChecked = _useState6[1];
|
110
|
-
var isCurrentListOpen = Boolean(path[0]);
|
112
|
+
var isCurrentListOpen = alwaysOpened || Boolean(path[0]);
|
111
113
|
var activeDescendantItemValue = ((_getItemByFocused = getItemByFocused(focusedPath, focusedToValueMap)) === null || _getItemByFocused === void 0 ? void 0 : _getItemByFocused.value) || '';
|
112
114
|
var withArrowInverse = isCurrentListOpen ? classes.arrowInverse : undefined;
|
113
115
|
var closeAfterSelect = outerCloseAfterSelect !== null && outerCloseAfterSelect !== void 0 ? outerCloseAfterSelect : !multiple;
|
@@ -217,7 +219,7 @@ export var comboboxRoot = function comboboxRoot(Root) {
|
|
217
219
|
newValues.push(item.value);
|
218
220
|
}
|
219
221
|
});
|
220
|
-
if (closeAfterSelect) {
|
222
|
+
if (!alwaysOpened && closeAfterSelect) {
|
221
223
|
dispatchPath({
|
222
224
|
type: 'reset'
|
223
225
|
});
|
@@ -262,7 +264,7 @@ export var comboboxRoot = function comboboxRoot(Root) {
|
|
262
264
|
updateSingleAncestors(item, checkedCopy, 'dot');
|
263
265
|
}
|
264
266
|
setTextValue(isCurrentChecked ? '' : item.label);
|
265
|
-
if (closeAfterSelect) {
|
267
|
+
if (!alwaysOpened && closeAfterSelect) {
|
266
268
|
dispatchPath({
|
267
269
|
type: 'reset'
|
268
270
|
});
|
@@ -1,4 +1,4 @@
|
|
1
|
-
var _excluded = ["name", "form", "readOnly", "disabled", "label", "placeholder", "id", "children", "role", "view", "size", "frame", "usePortal", "negativeResultContent", "enumerationType", "opened", "placement", "onToggle", "onKeyDown", "filterFunction"];
|
1
|
+
var _excluded = ["name", "form", "readOnly", "disabled", "label", "placeholder", "id", "children", "role", "view", "size", "frame", "usePortal", "negativeResultContent", "enumerationType", "opened", "alwaysOpened", "placement", "onToggle", "onKeyDown", "filterFunction"];
|
2
2
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
3
3
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
4
4
|
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."); }
|
@@ -43,6 +43,8 @@ export var comboboxRoot = function comboboxRoot(Root) {
|
|
43
43
|
enumerationType = _ref$enumerationType === void 0 ? 'comma' : _ref$enumerationType,
|
44
44
|
_ref$opened = _ref.opened,
|
45
45
|
opened = _ref$opened === void 0 ? false : _ref$opened,
|
46
|
+
_ref$alwaysOpened = _ref.alwaysOpened,
|
47
|
+
alwaysOpened = _ref$alwaysOpened === void 0 ? false : _ref$alwaysOpened,
|
46
48
|
_ref$placement = _ref.placement,
|
47
49
|
placement = _ref$placement === void 0 ? 'bottom' : _ref$placement,
|
48
50
|
onToggle = _ref.onToggle,
|
@@ -73,7 +75,7 @@ export var comboboxRoot = function comboboxRoot(Root) {
|
|
73
75
|
itemsRefs: itemsRefs,
|
74
76
|
inputRef: inputRef
|
75
77
|
};
|
76
|
-
var _useState3 = useState(opened),
|
78
|
+
var _useState3 = useState(alwaysOpened || opened),
|
77
79
|
_useState4 = _slicedToArray(_useState3, 2),
|
78
80
|
isVisible = _useState4[0],
|
79
81
|
setIsVisible = _useState4[1];
|
@@ -99,11 +101,11 @@ export var comboboxRoot = function comboboxRoot(Root) {
|
|
99
101
|
if (disabled || readOnly) {
|
100
102
|
return;
|
101
103
|
}
|
102
|
-
setIsVisible(opened);
|
103
|
-
}, [opened, disabled, readOnly]);
|
104
|
+
setIsVisible(alwaysOpened || opened);
|
105
|
+
}, [opened, alwaysOpened, disabled, readOnly]);
|
104
106
|
useEffect(function () {
|
105
107
|
// INFO: Для кейсов, когда значение выбрано и нужно вывести весь список
|
106
|
-
if (opened) {
|
108
|
+
if (alwaysOpened || opened) {
|
107
109
|
setFilterValue('');
|
108
110
|
}
|
109
111
|
}, []);
|
@@ -117,10 +119,10 @@ export var comboboxRoot = function comboboxRoot(Root) {
|
|
117
119
|
setFilterValue('');
|
118
120
|
}
|
119
121
|
if (onToggle) {
|
120
|
-
onToggle(openValue, event);
|
122
|
+
onToggle(alwaysOpened || openValue, event);
|
121
123
|
return;
|
122
124
|
}
|
123
|
-
setIsVisible(openValue);
|
125
|
+
setIsVisible(alwaysOpened || openValue);
|
124
126
|
};
|
125
127
|
var closedWithoutChanges = useRef(true);
|
126
128
|
var updateValue = function updateValue(item, event) {
|
@@ -134,7 +136,7 @@ export var comboboxRoot = function comboboxRoot(Root) {
|
|
134
136
|
}
|
135
137
|
var newSelected = getNewSelected(rest.value, newValue, 'single');
|
136
138
|
(_rest$onChangeValue2 = rest.onChangeValue) === null || _rest$onChangeValue2 === void 0 || _rest$onChangeValue2.call(rest, newSelected);
|
137
|
-
onInnerToggle === null || onInnerToggle === void 0 || onInnerToggle(false, event);
|
139
|
+
onInnerToggle === null || onInnerToggle === void 0 || onInnerToggle(alwaysOpened || false, event);
|
138
140
|
closedWithoutChanges.current = false;
|
139
141
|
};
|
140
142
|
var onClickChildrenItem = function onClickChildrenItem(event) {
|
@@ -178,6 +180,11 @@ export var comboboxRoot = function comboboxRoot(Root) {
|
|
178
180
|
onKeyDown === null || onKeyDown === void 0 || onKeyDown(event);
|
179
181
|
onKeyDownTarget(event);
|
180
182
|
};
|
183
|
+
useEffect(function () {
|
184
|
+
if (alwaysOpened && rest.valueType === 'single') {
|
185
|
+
setSearch(String(value));
|
186
|
+
}
|
187
|
+
}, [value, alwaysOpened]);
|
181
188
|
return /*#__PURE__*/React.createElement(StyledRoot, {
|
182
189
|
ref: comboboxRef
|
183
190
|
}, /*#__PURE__*/React.createElement(StyledNativeSelect, {
|
@@ -119,7 +119,6 @@ export var textAreaRoot = function textAreaRoot(Root) {
|
|
119
119
|
uncontrolledValue = _useState6[0],
|
120
120
|
setUncontrolledValue = _useState6[1];
|
121
121
|
var outerRef = innerRef && 'current' in innerRef ? innerRef : /*#__PURE__*/createRef();
|
122
|
-
var ref = innerRef !== null && innerRef !== void 0 ? innerRef : /*#__PURE__*/createRef();
|
123
122
|
var innerOptional = required ? false : optional;
|
124
123
|
var hasHelper = Boolean(leftHelper || rightHelper || helperText);
|
125
124
|
var hasOuterLabel = Boolean(label && labelPlacement === 'outer');
|
@@ -191,7 +190,7 @@ export var textAreaRoot = function textAreaRoot(Root) {
|
|
191
190
|
hasContentRight: Boolean(contentRight),
|
192
191
|
hasHelper: hasHelper,
|
193
192
|
applyCustomWidth: applyCustomWidth,
|
194
|
-
ref:
|
193
|
+
ref: outerRef,
|
195
194
|
disabled: disabled,
|
196
195
|
height: autoResize ? minAuto : height,
|
197
196
|
width: width,
|
@@ -1,4 +1,4 @@
|
|
1
|
-
var _excluded = ["id", "className", "style", "contentLeft", "contentRight", "label", "labelPlacement", "textBefore", "textAfter", "placeholder", "leftHelper", "enumerationType", "requiredPlacement", "view", "size", "readOnly", "disabled", "required", "optional", "chips", "onChange", "onChangeChips", "onSearch", "onKeyDown"];
|
1
|
+
var _excluded = ["id", "className", "style", "contentLeft", "contentRight", "label", "labelPlacement", "textBefore", "textAfter", "placeholder", "leftHelper", "enumerationType", "requiredPlacement", "view", "size", "readOnly", "disabled", "required", "optional", "value", "chips", "onChange", "onChangeChips", "onSearch", "onKeyDown"];
|
2
2
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
3
3
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
4
4
|
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."); }
|
@@ -49,6 +49,7 @@ export var textFieldRoot = function textFieldRoot(Root) {
|
|
49
49
|
_ref$required = _ref.required,
|
50
50
|
required = _ref$required === void 0 ? false : _ref$required,
|
51
51
|
optional = _ref.optional,
|
52
|
+
outerValue = _ref.value,
|
52
53
|
values = _ref.chips,
|
53
54
|
onChange = _ref.onChange,
|
54
55
|
onChangeChips = _ref.onChangeChips,
|
@@ -64,7 +65,7 @@ export var textFieldRoot = function textFieldRoot(Root) {
|
|
64
65
|
inputRef: inputRef,
|
65
66
|
chipsRefs: chipsRefs
|
66
67
|
};
|
67
|
-
var _useState = useState(
|
68
|
+
var _useState = useState(Boolean(outerValue)),
|
68
69
|
_useState2 = _slicedToArray(_useState, 2),
|
69
70
|
hasValue = _useState2[0],
|
70
71
|
setHasValue = _useState2[1];
|
@@ -77,23 +78,23 @@ export var textFieldRoot = function textFieldRoot(Root) {
|
|
77
78
|
var labelId = safeUseId();
|
78
79
|
var helperTextId = safeUseId();
|
79
80
|
var isChipEnumeration = enumerationType === 'chip';
|
80
|
-
var isChipsVisible = isChipEnumeration &&
|
81
|
+
var isChipsVisible = isChipEnumeration && Boolean(chips === null || chips === void 0 ? void 0 : chips.length);
|
81
82
|
var withHasChips = isChipsVisible ? classes.hasChips : undefined;
|
82
|
-
var hasLabelValue =
|
83
|
+
var hasLabelValue = Boolean(label);
|
83
84
|
var hasInnerLabel = size !== 'xs' && labelPlacement === 'inner' && !isChipsVisible && hasLabelValue;
|
84
85
|
var hasOuterLabel = labelPlacement === 'outer' && hasLabelValue;
|
85
|
-
var hasPlaceholder =
|
86
|
+
var hasPlaceholder = Boolean(placeholder) && !hasInnerLabel;
|
86
87
|
var innerLabelValue = hasInnerLabel || hasOuterLabel ? label : undefined;
|
87
88
|
var innerLabelPlacementValue = labelPlacement === 'inner' && !hasInnerLabel ? undefined : labelPlacement;
|
88
89
|
var innerPlaceholderValue = hasPlaceholder ? placeholder : undefined;
|
89
|
-
var placeholderShown =
|
90
|
+
var placeholderShown = Boolean(innerPlaceholderValue) && !hasValue;
|
90
91
|
var requiredPlacementClass = requiredPlacement === 'right' ? 'align-right ' : undefined;
|
91
92
|
var labelPlacementClass = innerLabelPlacementValue ? classes["".concat(innerLabelPlacementValue, "LabelPlacement")] : undefined;
|
92
93
|
var hasValueClass = hasValue ? classes.hasValue : undefined;
|
93
94
|
var wrapperWithoutLeftContent = !contentLeft && isChipsVisible ? classes.hasEmptyContentLeft : undefined;
|
94
95
|
var wrapperWithoutRightContent = !contentRight && isChipsVisible ? classes.hasEmptyContentRight : undefined;
|
95
96
|
var handleInput = function handleInput(event) {
|
96
|
-
setHasValue(
|
97
|
+
setHasValue(Boolean(event.target.value));
|
97
98
|
};
|
98
99
|
var handleChange = function handleChange(event) {
|
99
100
|
if (disabled || readOnly) {
|
@@ -161,6 +162,9 @@ export var textFieldRoot = function textFieldRoot(Root) {
|
|
161
162
|
})) || [];
|
162
163
|
setChips(newChips);
|
163
164
|
}, [isChipEnumeration, values]);
|
165
|
+
useEffect(function () {
|
166
|
+
setHasValue(Boolean(outerValue));
|
167
|
+
}, [outerValue]);
|
164
168
|
var innerOptional = Boolean(required ? false : optional);
|
165
169
|
var hasPlaceholderOptional = innerOptional && !innerLabelValue && !hasOuterLabel;
|
166
170
|
var optionalTextNode = innerOptional ? /*#__PURE__*/React.createElement(StyledOptionalText, null, Boolean(hasPlaceholderOptional ? innerPlaceholderValue : innerLabelValue) && '\xa0', optionalText) : null;
|
@@ -214,6 +218,7 @@ export var textFieldRoot = function textFieldRoot(Root) {
|
|
214
218
|
})), /*#__PURE__*/React.createElement(InputContainer, null, /*#__PURE__*/React.createElement(Input, _extends({
|
215
219
|
ref: inputForkRef,
|
216
220
|
id: innerId,
|
221
|
+
value: outerValue,
|
217
222
|
"aria-labelledby": labelId,
|
218
223
|
"aria-describedby": helperTextId,
|
219
224
|
placeholder: innerPlaceholderValue,
|
@@ -73,6 +73,7 @@ const meta: Meta<StorySelectProps> = {
|
|
73
73
|
variant: 'normal',
|
74
74
|
disabled: false,
|
75
75
|
readOnly: false,
|
76
|
+
alwaysOpened: false,
|
76
77
|
},
|
77
78
|
parameters: {
|
78
79
|
controls: {
|
@@ -86,6 +87,7 @@ const meta: Meta<StorySelectProps> = {
|
|
86
87
|
'helperText',
|
87
88
|
'isTargetAmount',
|
88
89
|
'closeAfterSelect',
|
90
|
+
'alwaysOpened',
|
89
91
|
'variant',
|
90
92
|
'disabled',
|
91
93
|
'readOnly',
|
@@ -47,6 +47,7 @@ const meta: Meta<StorySelectProps> = {
|
|
47
47
|
usePortal: false,
|
48
48
|
disabled: false,
|
49
49
|
readOnly: false,
|
50
|
+
alwaysOpened: false,
|
50
51
|
label: 'Label',
|
51
52
|
placeholder: 'Placeholder',
|
52
53
|
enumerationType: 'comma',
|
@@ -81,7 +82,7 @@ const getSelectItems = (slug: string, elemCount: number) =>
|
|
81
82
|
}));
|
82
83
|
|
83
84
|
const StorySingle = (args: StorySelectProps) => {
|
84
|
-
const { usePortal, placement, label, placeholder, readOnly, disabled, size = 'm', view } = args;
|
85
|
+
const { usePortal, placement, label, placeholder, readOnly, disabled, alwaysOpened, size = 'm', view } = args;
|
85
86
|
|
86
87
|
const [value, setValue] = useState<ComboboxPrimitiveValue | undefined>('item_0');
|
87
88
|
|
@@ -104,6 +105,7 @@ const StorySingle = (args: StorySelectProps) => {
|
|
104
105
|
view={view}
|
105
106
|
disabled={disabled}
|
106
107
|
readOnly={readOnly}
|
108
|
+
alwaysOpened={alwaysOpened}
|
107
109
|
onChangeValue={onChangeValue}
|
108
110
|
>
|
109
111
|
<ComboboxItem value={undefined} text="Clear" />
|
@@ -129,7 +131,18 @@ export const Single: StoryObj<StorySelectProps> = {
|
|
129
131
|
};
|
130
132
|
|
131
133
|
const StoryMultiple = (args: StorySelectProps) => {
|
132
|
-
const {
|
134
|
+
const {
|
135
|
+
usePortal,
|
136
|
+
placement,
|
137
|
+
label,
|
138
|
+
placeholder,
|
139
|
+
readOnly,
|
140
|
+
disabled,
|
141
|
+
enumerationType,
|
142
|
+
alwaysOpened,
|
143
|
+
size = 'm',
|
144
|
+
view,
|
145
|
+
} = args;
|
133
146
|
|
134
147
|
const [value, setValue] = useState<Array<ComboboxPrimitiveValue> | undefined>(['item_2', 'item_3']);
|
135
148
|
|
@@ -153,6 +166,7 @@ const StoryMultiple = (args: StorySelectProps) => {
|
|
153
166
|
view={view}
|
154
167
|
disabled={disabled}
|
155
168
|
readOnly={readOnly}
|
169
|
+
alwaysOpened={alwaysOpened}
|
156
170
|
onChangeValue={onChangeValue}
|
157
171
|
>
|
158
172
|
<ComboboxItem value={undefined} text="Clear" />
|
@@ -174,7 +188,7 @@ export const Multiple: StoryObj<StorySelectProps> = {
|
|
174
188
|
};
|
175
189
|
|
176
190
|
const StoryAddCustomItem = (args: StorySelectProps) => {
|
177
|
-
const { usePortal, placement, label, placeholder, readOnly, disabled, size = 'm', view } = args;
|
191
|
+
const { usePortal, placement, label, placeholder, readOnly, disabled, alwaysOpened, size = 'm', view } = args;
|
178
192
|
|
179
193
|
const [opened, setOpened] = useState(false);
|
180
194
|
const [items, setItems] = useState(getSelectItems('item', 1));
|
@@ -225,6 +239,7 @@ const StoryAddCustomItem = (args: StorySelectProps) => {
|
|
225
239
|
disabled={disabled}
|
226
240
|
readOnly={readOnly}
|
227
241
|
opened={opened}
|
242
|
+
alwaysOpened={alwaysOpened}
|
228
243
|
onToggle={onToggle}
|
229
244
|
onChangeValue={onChangeValue}
|
230
245
|
onKeyDown={onKeyDown}
|
@@ -73,6 +73,7 @@ const meta: Meta<StorySelectProps> = {
|
|
73
73
|
variant: 'normal',
|
74
74
|
disabled: false,
|
75
75
|
readOnly: false,
|
76
|
+
alwaysOpened: false,
|
76
77
|
},
|
77
78
|
parameters: {
|
78
79
|
controls: {
|
@@ -86,6 +87,7 @@ const meta: Meta<StorySelectProps> = {
|
|
86
87
|
'helperText',
|
87
88
|
'isTargetAmount',
|
88
89
|
'closeAfterSelect',
|
90
|
+
'alwaysOpened',
|
89
91
|
'variant',
|
90
92
|
'disabled',
|
91
93
|
'readOnly',
|
@@ -47,6 +47,7 @@ const meta: Meta<StorySelectProps> = {
|
|
47
47
|
usePortal: false,
|
48
48
|
disabled: false,
|
49
49
|
readOnly: false,
|
50
|
+
alwaysOpened: false,
|
50
51
|
label: 'Label',
|
51
52
|
placeholder: 'Placeholder',
|
52
53
|
enumerationType: 'comma',
|
@@ -81,7 +82,7 @@ const getSelectItems = (slug: string, elemCount: number) =>
|
|
81
82
|
}));
|
82
83
|
|
83
84
|
const StorySingle = (args: StorySelectProps) => {
|
84
|
-
const { usePortal, placement, label, placeholder, readOnly, disabled, size = 'm', view } = args;
|
85
|
+
const { usePortal, placement, label, placeholder, readOnly, disabled, alwaysOpened, size = 'm', view } = args;
|
85
86
|
|
86
87
|
const [value, setValue] = useState<ComboboxPrimitiveValue | undefined>('item_0');
|
87
88
|
|
@@ -104,6 +105,7 @@ const StorySingle = (args: StorySelectProps) => {
|
|
104
105
|
view={view}
|
105
106
|
disabled={disabled}
|
106
107
|
readOnly={readOnly}
|
108
|
+
alwaysOpened={alwaysOpened}
|
107
109
|
onChangeValue={onChangeValue}
|
108
110
|
>
|
109
111
|
<ComboboxItem value={undefined} text="Clear" />
|
@@ -129,7 +131,18 @@ export const Single: StoryObj<StorySelectProps> = {
|
|
129
131
|
};
|
130
132
|
|
131
133
|
const StoryMultiple = (args: StorySelectProps) => {
|
132
|
-
const {
|
134
|
+
const {
|
135
|
+
usePortal,
|
136
|
+
placement,
|
137
|
+
label,
|
138
|
+
placeholder,
|
139
|
+
readOnly,
|
140
|
+
disabled,
|
141
|
+
enumerationType,
|
142
|
+
alwaysOpened,
|
143
|
+
size = 'm',
|
144
|
+
view,
|
145
|
+
} = args;
|
133
146
|
|
134
147
|
const [value, setValue] = useState<Array<ComboboxPrimitiveValue> | undefined>(['item_2', 'item_3']);
|
135
148
|
|
@@ -153,6 +166,7 @@ const StoryMultiple = (args: StorySelectProps) => {
|
|
153
166
|
view={view}
|
154
167
|
disabled={disabled}
|
155
168
|
readOnly={readOnly}
|
169
|
+
alwaysOpened={alwaysOpened}
|
156
170
|
onChangeValue={onChangeValue}
|
157
171
|
>
|
158
172
|
<ComboboxItem value={undefined} text="Clear" />
|
@@ -174,7 +188,7 @@ export const Multiple: StoryObj<StorySelectProps> = {
|
|
174
188
|
};
|
175
189
|
|
176
190
|
const StoryAddCustomItem = (args: StorySelectProps) => {
|
177
|
-
const { usePortal, placement, label, placeholder, readOnly, disabled, size = 'm', view } = args;
|
191
|
+
const { usePortal, placement, label, placeholder, readOnly, disabled, alwaysOpened, size = 'm', view } = args;
|
178
192
|
|
179
193
|
const [opened, setOpened] = useState(false);
|
180
194
|
const [items, setItems] = useState(getSelectItems('item', 1));
|
@@ -225,6 +239,7 @@ const StoryAddCustomItem = (args: StorySelectProps) => {
|
|
225
239
|
disabled={disabled}
|
226
240
|
readOnly={readOnly}
|
227
241
|
opened={opened}
|
242
|
+
alwaysOpened={alwaysOpened}
|
228
243
|
onToggle={onToggle}
|
229
244
|
onChangeValue={onChangeValue}
|
230
245
|
onKeyDown={onKeyDown}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/ComboboxNew/Combobox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4F,MAAM,OAAO,CAAC;AAIjH,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAoB7C,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAKnE,eAAO,MAAM,OAAO,4BAAgD,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,YAAY,SAAU,UAAU,gBAAgB,EAAE,KAAK,aAAa,EAAE,OAAO,CAAC,CAAC,
|
1
|
+
{"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/ComboboxNew/Combobox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4F,MAAM,OAAO,CAAC;AAIjH,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAoB7C,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAKnE,eAAO,MAAM,OAAO,4BAAgD,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,YAAY,SAAU,UAAU,gBAAgB,EAAE,KAAK,aAAa,EAAE,OAAO,CAAC,CAAC,2FAuYtF,CAAC;AAEP,eAAO,MAAM,cAAc;;;mBAzYQ,UAAU,gBAAgB,EAAE,KAAK,aAAa,EAAE,OAAO,CAAC,CAAC;;;;;;;;;;;;;;;;;;CA8Z3F,CAAC"}
|
@@ -86,7 +86,7 @@ export interface BasicProps {
|
|
86
86
|
filter?: (label: string, textValue: string) => boolean;
|
87
87
|
/**
|
88
88
|
* Закрывать ли выпадающий список после выбора элемента.
|
89
|
-
* @default если single, то true; если multiple, то false
|
89
|
+
* @default если single, то true; если multiple, то false; если передан alwaysOpened, то false
|
90
90
|
*/
|
91
91
|
closeAfterSelect?: boolean;
|
92
92
|
/**
|
@@ -110,6 +110,12 @@ export interface BasicProps {
|
|
110
110
|
* Компонент неактивен.
|
111
111
|
*/
|
112
112
|
disabled?: boolean;
|
113
|
+
/**
|
114
|
+
* Дропдаун открыт всегда.
|
115
|
+
* @default
|
116
|
+
* false
|
117
|
+
*/
|
118
|
+
alwaysOpened?: boolean;
|
113
119
|
}
|
114
120
|
export declare type ComboboxProps = BasicProps & IsMultiselect & Omit<ButtonHTMLAttributes<HTMLInputElement>, 'value' | 'onChange'>;
|
115
121
|
export declare type FloatingPopoverProps = {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Combobox.types.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/ComboboxNew/Combobox.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAClF,OAAO,KAAK,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAErF,aAAK,SAAS,GACR,KAAK,GACL,WAAW,GACX,SAAS,GACT,OAAO,GACP,aAAa,GACb,WAAW,GACX,QAAQ,GACR,cAAc,GACd,YAAY,GACZ,MAAM,GACN,YAAY,GACZ,UAAU,CAAC;AAEjB,aAAK,aAAa,GACZ;IACI,QAAQ,CAAC,EAAE,KAAK,C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AAI,EAAE,UAAU,KAAK,KAAK,CAAC,SAAS,CAAC;IACnD;;OAEG;IACH,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC;IACvD;;;OAGG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IACnC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"Combobox.types.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/ComboboxNew/Combobox.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAClF,OAAO,KAAK,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAErF,aAAK,SAAS,GACR,KAAK,GACL,WAAW,GACX,SAAS,GACT,OAAO,GACP,aAAa,GACb,WAAW,GACX,QAAQ,GACR,cAAc,GACd,YAAY,GACZ,MAAM,GACN,YAAY,GACZ,UAAU,CAAC;AAEjB,aAAK,aAAa,GACZ;IACI,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC;;;OAGG;IACH,cAAc,CAAC,EAAE,KAAK,GAAG,KAAK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EAAE,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IACzF,OAAO,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC;IAClC,UAAU,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC;IACxC,cAAc,EAAE,kBAAkB,CAAC;IACnC,MAAM,EAAE,MAAM,CAAC;CAClB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/ComboboxOld/Combobox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAGjF,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAU7C,OAAO,KAAK,EAA0B,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAE9E;;GAEG;AACH,eAAO,MAAM,YAAY,SAAU,UAAU,gBAAgB,EAAE,aAAa,CAAC,
|
1
|
+
{"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/ComboboxOld/Combobox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAGjF,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAU7C,OAAO,KAAK,EAA0B,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAE9E;;GAEG;AACH,eAAO,MAAM,YAAY,SAAU,UAAU,gBAAgB,EAAE,aAAa,CAAC,2FA+OxE,CAAC;AAEN,eAAO,MAAM,cAAc;;;mBAjPQ,UAAU,gBAAgB,EAAE,aAAa,CAAC;;;;;;;;;;;;;;CAkQ5E,CAAC"}
|
@@ -32,6 +32,12 @@ export interface CustomComboboxProps {
|
|
32
32
|
* false
|
33
33
|
*/
|
34
34
|
opened?: boolean;
|
35
|
+
/**
|
36
|
+
* Дропдаун открыт всегда.
|
37
|
+
* @default
|
38
|
+
* false
|
39
|
+
*/
|
40
|
+
alwaysOpened?: boolean;
|
35
41
|
/**
|
36
42
|
* Сторона открытия дропдауна относительно target элемента.
|
37
43
|
* @default
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Combobox.types.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/ComboboxOld/Combobox.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACrE,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAE1F,oBAAY,aAAa,GAAG,QAAQ,GAAG,UAAU,CAAC;AAElD,oBAAY,oBAAoB,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;AAE7D,oBAAY,WAAW,GAAG,oBAAoB,GAAG,KAAK,CAAC,oBAAoB,CAAC,CAAC;AAE7E,oBAAY,sBAAsB,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;AAE/D,oBAAY,aAAa,GAAG,sBAAsB,GAAG,KAAK,CAAC,sBAAsB,CAAC,CAAC;AAEnF,oBAAY,SAAS,GAAG,QAAQ,GAAG,UAAU,CAAC;AAE9C,oBAAY,eAAe,GAAG,OAAO,GAAG,MAAM,CAAC;AAE/C,MAAM,WAAW,mBAAmB;IAChC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,SAAS,CAAC,EAAE,iBAAiB,GAAG,KAAK,CAAC,sBAAsB,CAAC,CAAC;IAC9D;;OAEG;IACH,KAAK,CAAC,EAAE,UAAU,GAAG,MAAM,GAAG,KAA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AAC,CAAC;IACnD,QAAQ,CAAC,EAAE,gBAAgB,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC;CACxD;AAED,MAAM,WAAW,qBAAqB;IAClC,cAAc,EAAE,oBAAoB,CAAC;IACrC,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,KAAK,CAAC,EAAE,sBAAsB,GAAG,sBAAsB,EAAE,CAAC;IAC1D,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,WAAW,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,cAAc,GAAG,KAAK,KAAK,IAAI,CAAC;IACxE,YAAY,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,cAAc,GAAG,KAAK,KAAK,IAAI,CAAC;CACzE"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../src/components/TextArea/TextArea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuD,MAAM,OAAO,CAAC;AAK5E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAqBrD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AA+BtD,eAAO,MAAM,sBAAsB,UAAW,aAAa,WAAW,OAAO,2BA4B5E,CAAC;AAEF,eAAO,MAAM,YAAY,SAAU,UAAU,mBAAmB,EAAE,aAAa,CAAC,
|
1
|
+
{"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../src/components/TextArea/TextArea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuD,MAAM,OAAO,CAAC;AAK5E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAqBrD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AA+BtD,eAAO,MAAM,sBAAsB,UAAW,aAAa,WAAW,OAAO,2BA4B5E,CAAC;AAEF,eAAO,MAAM,YAAY,SAAU,UAAU,mBAAmB,EAAE,aAAa,CAAC,8FAgL1E,CAAC;AAEP,eAAO,MAAM,cAAc;;;mBAlLQ,UAAU,mBAAmB,EAAE,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;;CA0M/E,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;AA4B7F,eAAO,MAAM,IAAI,0CAGhB,CAAC;AAEF,eAAO,MAAM,aAAa,SAAU,UAAU,cAAc,EAAE,cAAc,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;AA4B7F,eAAO,MAAM,IAAI,0CAGhB,CAAC;AAEF,eAAO,MAAM,aAAa,SAAU,UAAU,cAAc,EAAE,cAAc,CAAC,4FAwQxE,CAAC;AAEN,eAAO,MAAM,eAAe;;;mBA1QQ,UAAU,cAAc,EAAE,cAAc,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;CAsS5E,CAAC"}
|