@jetbrains/ring-ui 5.0.126 → 5.0.127

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.
@@ -59,6 +59,8 @@
59
59
  -webkit-line-clamp: 1;
60
60
  -webkit-box-orient: vertical;
61
61
 
62
+ word-wrap: break-word;
63
+
62
64
  border-radius: var(--ring-border-radius);
63
65
 
64
66
  @nest .multiline & {
@@ -236,7 +236,7 @@ export default class Select extends Component {
236
236
  if (prevState.selected) {
237
237
  Object.assign(nextState, {
238
238
  selectedIndex: getSelectedIndex(prevState.selected, data),
239
- prevFilterValue: getValueForFilter(prevState.selected, type, filterValue)
239
+ filterValue: getValueForFilter(prevState.selected, type, filterValue)
240
240
  });
241
241
  }
242
242
  }
@@ -564,7 +564,7 @@ class Select extends Component {
564
564
  if (prevState.selected) {
565
565
  Object.assign(nextState, {
566
566
  selectedIndex: getSelectedIndex(prevState.selected, data),
567
- prevFilterValue: getValueForFilter(prevState.selected, type, filterValue)
567
+ filterValue: getValueForFilter(prevState.selected, type, filterValue)
568
568
  });
569
569
  }
570
570
  }