@salutejs/plasma-new-hope 0.179.1-canary.1518.11590914191.0 → 0.180.0-canary.1519.11592655923.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 +1 -2
- package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
- package/cjs/components/Combobox/ComboboxNew/FloatingPopover.js +1 -2
- package/cjs/components/Combobox/ComboboxNew/FloatingPopover.js.map +1 -1
- package/cjs/components/Pagination/Pagination.css +12 -12
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +12 -12
- package/cjs/components/Select/Select.css +12 -12
- package/cjs/components/Select/Select.tokens.js +2 -1
- package/cjs/components/Select/Select.tokens.js.map +1 -1
- package/cjs/components/Select/ui/Inner/Inner.css +12 -12
- package/cjs/components/Select/ui/Inner/ui/Item/Item.css +12 -12
- package/cjs/components/Select/ui/Target/Target.css +12 -12
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.css +12 -12
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -1
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
- package/cjs/components/Select/ui/Target/ui/Textfield/{Textfield.styles_11yj58s.css → Textfield.styles_1damf5p.css} +1 -1
- package/cjs/index.css +12 -12
- package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.js +1 -2
- package/emotion/cjs/components/Combobox/ComboboxNew/FloatingPopover.js +1 -2
- package/emotion/cjs/components/Select/Select.tokens.js +2 -1
- package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +12 -21
- package/emotion/es/components/Combobox/ComboboxNew/Combobox.js +1 -2
- package/emotion/es/components/Combobox/ComboboxNew/FloatingPopover.js +1 -2
- package/emotion/es/components/Select/Select.tokens.js +2 -1
- package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +12 -21
- package/es/components/Combobox/ComboboxNew/Combobox.js +1 -2
- package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
- package/es/components/Combobox/ComboboxNew/FloatingPopover.js +1 -2
- package/es/components/Combobox/ComboboxNew/FloatingPopover.js.map +1 -1
- package/es/components/Pagination/Pagination.css +12 -12
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +12 -12
- package/es/components/Select/Select.css +12 -12
- package/es/components/Select/Select.tokens.js +2 -1
- package/es/components/Select/Select.tokens.js.map +1 -1
- package/es/components/Select/ui/Inner/Inner.css +12 -12
- package/es/components/Select/ui/Inner/ui/Item/Item.css +12 -12
- package/es/components/Select/ui/Target/Target.css +12 -12
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.css +12 -12
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -1
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
- package/es/components/Select/ui/Target/ui/Textfield/{Textfield.styles_11yj58s.css → Textfield.styles_1damf5p.css} +1 -1
- package/es/index.css +12 -12
- package/package.json +2 -2
- package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.js +1 -2
- package/styled-components/cjs/components/Combobox/ComboboxNew/FloatingPopover.js +1 -2
- package/styled-components/cjs/components/Select/Select.tokens.js +2 -1
- package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -1
- package/styled-components/es/components/Combobox/ComboboxNew/Combobox.js +1 -2
- package/styled-components/es/components/Combobox/ComboboxNew/FloatingPopover.js +1 -2
- package/styled-components/es/components/Select/Select.tokens.js +2 -1
- package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -1
- package/types/components/Combobox/ComboboxNew/Combobox.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts +1 -2
- package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts.map +1 -1
- package/types/components/Select/Select.tokens.d.ts +1 -0
- package/types/components/Select/Select.tokens.d.ts.map +1 -1
- package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts.map +1 -1
@@ -327,7 +327,7 @@ export var comboboxRoot = function comboboxRoot(Root) {
|
|
327
327
|
}
|
328
328
|
}
|
329
329
|
setChecked(checkedCopy);
|
330
|
-
setTextValue(((_valueToItemMap$get4 = valueToItemMap.get(
|
330
|
+
setTextValue(((_valueToItemMap$get4 = valueToItemMap.get(outerValue)) === null || _valueToItemMap$get4 === void 0 ? void 0 : _valueToItemMap$get4.label) || '');
|
331
331
|
|
332
332
|
// В deps мы кладем именно outerValue и internalValue, а не просто value.
|
333
333
|
// Т.к. вначале нужно отфильтровать и провалидировать outerValue и результат положить в переменную.
|
@@ -360,7 +360,6 @@ export var comboboxRoot = function comboboxRoot(Root) {
|
|
360
360
|
},
|
361
361
|
placement: placement,
|
362
362
|
portal: portal,
|
363
|
-
listWidth: listWidth,
|
364
363
|
target: function target(referenceRef) {
|
365
364
|
return /*#__PURE__*/React.createElement(StyledTextField, _extends({
|
366
365
|
ref: inputForkRef,
|
@@ -14,7 +14,6 @@ var FloatingPopover = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
14
14
|
onToggle = _ref.onToggle,
|
15
15
|
placement = _ref.placement,
|
16
16
|
portal = _ref.portal,
|
17
|
-
listWidth = _ref.listWidth,
|
18
17
|
_ref$offset = _ref.offset,
|
19
18
|
offset = _ref$offset === void 0 ? 0 : _ref$offset;
|
20
19
|
var _useFloating = useFloating({
|
@@ -27,7 +26,7 @@ var FloatingPopover = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
27
26
|
var rects = _ref2.rects,
|
28
27
|
elements = _ref2.elements;
|
29
28
|
Object.assign(elements.floating.style, {
|
30
|
-
width:
|
29
|
+
width: "".concat(rects.reference.width, "px")
|
31
30
|
});
|
32
31
|
}
|
33
32
|
})]
|
@@ -93,7 +93,8 @@ export var tokens = {
|
|
93
93
|
spinnerSize: '--plasma-select-spinner-size',
|
94
94
|
spinnerSizeTight: '--plasma-select-spinner-size-tight',
|
95
95
|
disclosureIconColor: '--plasma-select-disclosure-icon-color',
|
96
|
-
disclosureIconColorHover: '--plasma-select-disclosure-icon-color-hover'
|
96
|
+
disclosureIconColorHover: '--plasma-select-disclosure-icon-color-hover',
|
97
|
+
contentLeftColor: '--plasma-select-content-left-color'
|
97
98
|
};
|
98
99
|
export var constants = {
|
99
100
|
focusColor: '--surface-accent',
|