@douyinfe/semi-ui 2.38.3-alpha.3 → 2.38.3-alpha.4

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 (55) hide show
  1. package/dist/umd/semi-ui.js +6 -0
  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/dateInput.d.ts +1 -1
  11. package/lib/cjs/datePicker/datePicker.d.ts +2 -2
  12. package/lib/cjs/datePicker/monthsGrid.d.ts +1 -1
  13. package/lib/cjs/datePicker/yearAndMonth.d.ts +1 -1
  14. package/lib/cjs/form/baseForm.d.ts +1 -1
  15. package/lib/cjs/form/field.d.ts +1 -1
  16. package/lib/cjs/input/index.d.ts +1 -1
  17. package/lib/cjs/input/inputGroup.d.ts +1 -1
  18. package/lib/cjs/modal/confirm.d.ts +24 -24
  19. package/lib/cjs/rating/index.d.ts +1 -1
  20. package/lib/cjs/rating/item.d.ts +1 -1
  21. package/lib/cjs/switch/index.d.ts +1 -1
  22. package/lib/cjs/table/Table.d.ts +2 -2
  23. package/lib/cjs/table/TableCell.js +7 -1
  24. package/lib/cjs/table/index.d.ts +1 -1
  25. package/lib/cjs/table/interface.d.ts +5 -0
  26. package/lib/cjs/tagInput/index.d.ts +1 -1
  27. package/lib/cjs/timePicker/TimePicker.d.ts +1 -1
  28. package/lib/cjs/timePicker/index.d.ts +1 -1
  29. package/lib/cjs/typography/title.d.ts +2 -2
  30. package/lib/es/anchor/index.d.ts +1 -1
  31. package/lib/es/autoComplete/index.d.ts +1 -1
  32. package/lib/es/button/Button.d.ts +1 -1
  33. package/lib/es/button/buttonGroup.d.ts +1 -1
  34. package/lib/es/button/index.d.ts +1 -1
  35. package/lib/es/datePicker/dateInput.d.ts +1 -1
  36. package/lib/es/datePicker/datePicker.d.ts +2 -2
  37. package/lib/es/datePicker/monthsGrid.d.ts +1 -1
  38. package/lib/es/datePicker/yearAndMonth.d.ts +1 -1
  39. package/lib/es/form/baseForm.d.ts +1 -1
  40. package/lib/es/form/field.d.ts +1 -1
  41. package/lib/es/input/index.d.ts +1 -1
  42. package/lib/es/input/inputGroup.d.ts +1 -1
  43. package/lib/es/modal/confirm.d.ts +24 -24
  44. package/lib/es/rating/index.d.ts +1 -1
  45. package/lib/es/rating/item.d.ts +1 -1
  46. package/lib/es/switch/index.d.ts +1 -1
  47. package/lib/es/table/Table.d.ts +2 -2
  48. package/lib/es/table/TableCell.js +7 -1
  49. package/lib/es/table/index.d.ts +1 -1
  50. package/lib/es/table/interface.d.ts +5 -0
  51. package/lib/es/tagInput/index.d.ts +1 -1
  52. package/lib/es/timePicker/TimePicker.d.ts +1 -1
  53. package/lib/es/timePicker/index.d.ts +1 -1
  54. package/lib/es/typography/title.d.ts +2 -2
  55. package/package.json +8 -8
@@ -78617,6 +78617,12 @@ class TableCell extends BaseComponent {
78617
78617
  expandIcon
78618
78618
  } = props;
78619
78619
  const cellInSelectionColumn = isSelectionColumn(column);
78620
+ const {
78621
+ shouldCellUpdate
78622
+ } = column;
78623
+ if (typeof shouldCellUpdate === 'function') {
78624
+ return shouldCellUpdate(nextProps, props);
78625
+ }
78620
78626
  // The expand button may be in a separate column or in the first data column
78621
78627
  const columnHasExpandIcon = isExpandedColumn(column) || expandIcon;
78622
78628
  if ((cellInSelectionColumn || columnHasExpandIcon) && !isEqual_default()(nextProps, this.props)) {