@douyinfe/semi-ui 2.56.1 → 2.56.3-alpha.0

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.
Files changed (45) hide show
  1. package/dist/umd/semi-ui.js +4 -1
  2. package/dist/umd/semi-ui.js.map +1 -1
  3. package/dist/umd/semi-ui.min.js +1 -1
  4. package/dist/umd/semi-ui.min.js.map +1 -1
  5. package/lib/cjs/anchor/index.d.ts +1 -1
  6. package/lib/cjs/autoComplete/index.d.ts +1 -1
  7. package/lib/cjs/button/Button.d.ts +1 -1
  8. package/lib/cjs/button/buttonGroup.d.ts +1 -1
  9. package/lib/cjs/button/index.d.ts +1 -1
  10. package/lib/cjs/datePicker/datePicker.d.ts +1 -1
  11. package/lib/cjs/form/baseForm.d.ts +1 -1
  12. package/lib/cjs/form/field.d.ts +1 -1
  13. package/lib/cjs/input/index.d.ts +1 -1
  14. package/lib/cjs/input/inputGroup.d.ts +1 -1
  15. package/lib/cjs/modal/confirm.d.ts +6 -6
  16. package/lib/cjs/rating/index.d.ts +1 -1
  17. package/lib/cjs/rating/item.d.ts +1 -1
  18. package/lib/cjs/switch/index.d.ts +1 -1
  19. package/lib/cjs/table/Table.d.ts +2 -2
  20. package/lib/cjs/table/index.d.ts +1 -1
  21. package/lib/cjs/tagInput/index.d.ts +1 -1
  22. package/lib/cjs/timePicker/TimePicker.d.ts +1 -1
  23. package/lib/cjs/timePicker/index.d.ts +1 -1
  24. package/lib/cjs/typography/title.d.ts +1 -1
  25. package/lib/es/anchor/index.d.ts +1 -1
  26. package/lib/es/autoComplete/index.d.ts +1 -1
  27. package/lib/es/button/Button.d.ts +1 -1
  28. package/lib/es/button/buttonGroup.d.ts +1 -1
  29. package/lib/es/button/index.d.ts +1 -1
  30. package/lib/es/datePicker/datePicker.d.ts +1 -1
  31. package/lib/es/form/baseForm.d.ts +1 -1
  32. package/lib/es/form/field.d.ts +1 -1
  33. package/lib/es/input/index.d.ts +1 -1
  34. package/lib/es/input/inputGroup.d.ts +1 -1
  35. package/lib/es/modal/confirm.d.ts +6 -6
  36. package/lib/es/rating/index.d.ts +1 -1
  37. package/lib/es/rating/item.d.ts +1 -1
  38. package/lib/es/switch/index.d.ts +1 -1
  39. package/lib/es/table/Table.d.ts +2 -2
  40. package/lib/es/table/index.d.ts +1 -1
  41. package/lib/es/tagInput/index.d.ts +1 -1
  42. package/lib/es/timePicker/TimePicker.d.ts +1 -1
  43. package/lib/es/timePicker/index.d.ts +1 -1
  44. package/lib/es/typography/title.d.ts +1 -1
  45. package/package.json +8 -8
@@ -90401,6 +90401,7 @@ class TreeSelectFoundation extends foundation {
90401
90401
  filteredExpandedKeys: new Set(expandedOptsKeys),
90402
90402
  filteredShownKeys: new Set([])
90403
90403
  });
90404
+ this._adapter.rePositionDropdown();
90404
90405
  }
90405
90406
  handleInputChange(sugInput) {
90406
90407
  // Input is used as controlled component
@@ -90450,6 +90451,7 @@ class TreeSelectFoundation extends foundation {
90450
90451
  filteredExpandedKeys: newFilteredExpandedKeys,
90451
90452
  filteredShownKeys
90452
90453
  });
90454
+ this._adapter.rePositionDropdown();
90453
90455
  }
90454
90456
  handleNodeSelect(e, treeNode) {
90455
90457
  const isDisabled = this._isDisabled(treeNode);
@@ -90718,7 +90720,8 @@ class TreeSelectFoundation extends foundation {
90718
90720
  * When the search box is on the trigger, the focus event processing method
90719
90721
  */
90720
90722
  handleInputTriggerFocus() {
90721
- this.clearInput();
90723
+ const inputValue = this.getState('inputValue');
90724
+ inputValue && this.clearInput();
90722
90725
  this._adapter.updateState({
90723
90726
  inputTriggerFocus: true
90724
90727
  });