@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.
- package/dist/umd/semi-ui.js +2 -9
- package/dist/umd/semi-ui.js.map +1 -1
- package/dist/umd/semi-ui.min.js +1 -1
- package/dist/umd/semi-ui.min.js.map +1 -1
- package/lib/cjs/anchor/index.d.ts +1 -1
- package/lib/cjs/autoComplete/index.d.ts +1 -1
- package/lib/cjs/button/Button.d.ts +1 -1
- package/lib/cjs/button/buttonGroup.d.ts +1 -1
- package/lib/cjs/carousel/CarouselIndicator.d.ts +1 -1
- package/lib/cjs/carousel/index.d.ts +2 -2
- package/lib/cjs/datePicker/datePicker.d.ts +2 -2
- package/lib/cjs/datePicker/monthsGrid.d.ts +1 -1
- package/lib/cjs/datePicker/quickControl.d.ts +1 -1
- package/lib/cjs/datePicker/yearAndMonth.d.ts +1 -1
- package/lib/cjs/dropdown/index.d.ts +1 -1
- package/lib/cjs/form/baseForm.d.ts +3 -3
- package/lib/cjs/form/field.d.ts +3 -3
- package/lib/cjs/modal/confirm.d.ts +28 -28
- package/lib/cjs/popover/index.d.ts +1 -1
- package/lib/cjs/radio/radio.d.ts +1 -1
- package/lib/cjs/radio/radioGroup.d.ts +1 -1
- package/lib/cjs/scrollList/scrollItem.js +1 -1
- package/lib/cjs/select/index.d.ts +1 -1
- package/lib/cjs/table/Table.d.ts +1 -1
- package/lib/cjs/tooltip/index.d.ts +1 -1
- package/lib/cjs/typography/numeral.d.ts +1 -1
- package/lib/cjs/typography/title.d.ts +1 -1
- package/lib/es/anchor/index.d.ts +1 -1
- package/lib/es/autoComplete/index.d.ts +1 -1
- package/lib/es/button/Button.d.ts +1 -1
- package/lib/es/button/buttonGroup.d.ts +1 -1
- package/lib/es/carousel/CarouselIndicator.d.ts +1 -1
- package/lib/es/carousel/index.d.ts +2 -2
- package/lib/es/datePicker/datePicker.d.ts +2 -2
- package/lib/es/datePicker/monthsGrid.d.ts +1 -1
- package/lib/es/datePicker/quickControl.d.ts +1 -1
- package/lib/es/datePicker/yearAndMonth.d.ts +1 -1
- package/lib/es/dropdown/index.d.ts +1 -1
- package/lib/es/form/baseForm.d.ts +3 -3
- package/lib/es/form/field.d.ts +3 -3
- package/lib/es/modal/confirm.d.ts +28 -28
- package/lib/es/popover/index.d.ts +1 -1
- package/lib/es/radio/radio.d.ts +1 -1
- package/lib/es/radio/radioGroup.d.ts +1 -1
- package/lib/es/scrollList/scrollItem.js +1 -1
- package/lib/es/select/index.d.ts +1 -1
- package/lib/es/table/Table.d.ts +1 -1
- package/lib/es/tooltip/index.d.ts +1 -1
- package/lib/es/typography/numeral.d.ts +1 -1
- package/lib/es/typography/title.d.ts +1 -1
- package/package.json +8 -8
package/dist/umd/semi-ui.js
CHANGED
|
@@ -49841,14 +49841,7 @@ class DatePickerFoundation extends foundation {
|
|
|
49841
49841
|
}
|
|
49842
49842
|
handlePanelVisibleChange(visible) {
|
|
49843
49843
|
if (visible) {
|
|
49844
|
-
|
|
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
|
);
|