@salutejs/plasma-new-hope 0.179.1-canary.1518.11590914191.0 → 0.180.0-canary.1519.11591167667.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. package/cjs/components/Combobox/ComboboxNew/Combobox.js +1 -2
  2. package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  3. package/cjs/components/Combobox/ComboboxNew/FloatingPopover.js +1 -2
  4. package/cjs/components/Combobox/ComboboxNew/FloatingPopover.js.map +1 -1
  5. package/cjs/components/Pagination/Pagination.css +12 -12
  6. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +12 -12
  7. package/cjs/components/Select/Select.css +12 -12
  8. package/cjs/components/Select/Select.tokens.js +2 -1
  9. package/cjs/components/Select/Select.tokens.js.map +1 -1
  10. package/cjs/components/Select/ui/Inner/Inner.css +12 -12
  11. package/cjs/components/Select/ui/Inner/ui/Item/Item.css +12 -12
  12. package/cjs/components/Select/ui/Target/Target.css +12 -12
  13. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.css +12 -12
  14. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -1
  15. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  16. package/cjs/components/Select/ui/Target/ui/Textfield/{Textfield.styles_11yj58s.css → Textfield.styles_1damf5p.css} +1 -1
  17. package/cjs/index.css +12 -12
  18. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.js +1 -2
  19. package/emotion/cjs/components/Combobox/ComboboxNew/FloatingPopover.js +1 -2
  20. package/emotion/cjs/components/Select/Select.tokens.js +2 -1
  21. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +12 -21
  22. package/emotion/es/components/Combobox/ComboboxNew/Combobox.js +1 -2
  23. package/emotion/es/components/Combobox/ComboboxNew/FloatingPopover.js +1 -2
  24. package/emotion/es/components/Select/Select.tokens.js +2 -1
  25. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +12 -21
  26. package/es/components/Combobox/ComboboxNew/Combobox.js +1 -2
  27. package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  28. package/es/components/Combobox/ComboboxNew/FloatingPopover.js +1 -2
  29. package/es/components/Combobox/ComboboxNew/FloatingPopover.js.map +1 -1
  30. package/es/components/Pagination/Pagination.css +12 -12
  31. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +12 -12
  32. package/es/components/Select/Select.css +12 -12
  33. package/es/components/Select/Select.tokens.js +2 -1
  34. package/es/components/Select/Select.tokens.js.map +1 -1
  35. package/es/components/Select/ui/Inner/Inner.css +12 -12
  36. package/es/components/Select/ui/Inner/ui/Item/Item.css +12 -12
  37. package/es/components/Select/ui/Target/Target.css +12 -12
  38. package/es/components/Select/ui/Target/ui/Textfield/Textfield.css +12 -12
  39. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -1
  40. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  41. package/es/components/Select/ui/Target/ui/Textfield/{Textfield.styles_11yj58s.css → Textfield.styles_1damf5p.css} +1 -1
  42. package/es/index.css +12 -12
  43. package/package.json +2 -2
  44. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.js +1 -2
  45. package/styled-components/cjs/components/Combobox/ComboboxNew/FloatingPopover.js +1 -2
  46. package/styled-components/cjs/components/Select/Select.tokens.js +2 -1
  47. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -1
  48. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.js +1 -2
  49. package/styled-components/es/components/Combobox/ComboboxNew/FloatingPopover.js +1 -2
  50. package/styled-components/es/components/Select/Select.tokens.js +2 -1
  51. package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -1
  52. package/types/components/Combobox/ComboboxNew/Combobox.d.ts.map +1 -1
  53. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts +1 -2
  54. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts.map +1 -1
  55. package/types/components/Select/Select.tokens.d.ts +1 -0
  56. package/types/components/Select/Select.tokens.d.ts.map +1 -1
  57. 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(value)) === null || _valueToItemMap$get4 === void 0 ? void 0 : _valueToItemMap$get4.label) || '');
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: listWidth || "".concat(rects.reference.width, "px")
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',