@douyinfe/semi-ui 2.38.3-alpha.2-patch-table-datepicker → 2.38.3-alpha.2-patch-table-datepicker-aria

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 (51) hide show
  1. package/dist/umd/semi-ui.js +2 -9
  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/carousel/CarouselIndicator.d.ts +1 -1
  10. package/lib/cjs/carousel/index.d.ts +2 -2
  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/quickControl.d.ts +1 -1
  14. package/lib/cjs/datePicker/yearAndMonth.d.ts +1 -1
  15. package/lib/cjs/dropdown/index.d.ts +1 -1
  16. package/lib/cjs/form/baseForm.d.ts +3 -3
  17. package/lib/cjs/form/field.d.ts +3 -3
  18. package/lib/cjs/modal/confirm.d.ts +28 -28
  19. package/lib/cjs/popover/index.d.ts +1 -1
  20. package/lib/cjs/radio/radio.d.ts +1 -1
  21. package/lib/cjs/radio/radioGroup.d.ts +1 -1
  22. package/lib/cjs/scrollList/scrollItem.js +1 -1
  23. package/lib/cjs/select/index.d.ts +1 -1
  24. package/lib/cjs/table/Table.d.ts +1 -1
  25. package/lib/cjs/tooltip/index.d.ts +1 -1
  26. package/lib/cjs/typography/numeral.d.ts +1 -1
  27. package/lib/cjs/typography/title.d.ts +1 -1
  28. package/lib/es/anchor/index.d.ts +1 -1
  29. package/lib/es/autoComplete/index.d.ts +1 -1
  30. package/lib/es/button/Button.d.ts +1 -1
  31. package/lib/es/button/buttonGroup.d.ts +1 -1
  32. package/lib/es/carousel/CarouselIndicator.d.ts +1 -1
  33. package/lib/es/carousel/index.d.ts +2 -2
  34. package/lib/es/datePicker/datePicker.d.ts +2 -2
  35. package/lib/es/datePicker/monthsGrid.d.ts +1 -1
  36. package/lib/es/datePicker/quickControl.d.ts +1 -1
  37. package/lib/es/datePicker/yearAndMonth.d.ts +1 -1
  38. package/lib/es/dropdown/index.d.ts +1 -1
  39. package/lib/es/form/baseForm.d.ts +3 -3
  40. package/lib/es/form/field.d.ts +3 -3
  41. package/lib/es/modal/confirm.d.ts +28 -28
  42. package/lib/es/popover/index.d.ts +1 -1
  43. package/lib/es/radio/radio.d.ts +1 -1
  44. package/lib/es/radio/radioGroup.d.ts +1 -1
  45. package/lib/es/scrollList/scrollItem.js +1 -1
  46. package/lib/es/select/index.d.ts +1 -1
  47. package/lib/es/table/Table.d.ts +1 -1
  48. package/lib/es/tooltip/index.d.ts +1 -1
  49. package/lib/es/typography/numeral.d.ts +1 -1
  50. package/lib/es/typography/title.d.ts +1 -1
  51. package/package.json +8 -8
@@ -49841,14 +49841,7 @@ class DatePickerFoundation extends foundation {
49841
49841
  }
49842
49842
  handlePanelVisibleChange(visible) {
49843
49843
  if (visible) {
49844
- // this is a hack for macOS + Chrome
49845
- // for internal use only
49846
- setTimeout(() => {
49847
- this._adapter.setInsetInputFocus();
49848
- // 100 is a magic number
49849
- // <10 is not ok
49850
- // >= 10 is ok
49851
- }, 100);
49844
+ this._adapter.setInsetInputFocus();
49852
49845
  /**
49853
49846
  * After the panel is closed, the trigger input is disabled
49854
49847
  * 面板关闭后,trigger input 禁用
@@ -53450,8 +53443,8 @@ class ScrollItem extends BaseComponent {
53450
53443
  key: prefixKey + index
53451
53444
  }, events, {
53452
53445
  className: cls,
53446
+ // eslint-disable-next-line jsx-a11y/role-has-required-aria-props
53453
53447
  role: "option",
53454
- "aria-selected": selected,
53455
53448
  "aria-disabled": item.disabled
53456
53449
  }), text)
53457
53450
  );