@douyinfe/semi-foundation 2.27.0-beta.0 → 2.27.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.
@@ -131,5 +131,6 @@ export default class SelectFoundation extends BaseFoundation<SelectAdapter> {
131
131
  updateScrollTop(): void;
132
132
  updateIsFullTags(): void;
133
133
  handlePopoverClose(): void;
134
+ handleSlotMouseEnter(): void;
134
135
  }
135
136
  export {};
@@ -1410,6 +1410,11 @@ class SelectFoundation extends _foundation.default {
1410
1410
 
1411
1411
  handlePopoverClose() {
1412
1412
  this._adapter.emit('popoverClose');
1413
+ } // need to remove focus style of option when user hover slot
1414
+
1415
+
1416
+ handleSlotMouseEnter() {
1417
+ this._adapter.updateFocusIndex(-1);
1413
1418
  }
1414
1419
 
1415
1420
  }
@@ -131,5 +131,6 @@ export default class SelectFoundation extends BaseFoundation<SelectAdapter> {
131
131
  updateScrollTop(): void;
132
132
  updateIsFullTags(): void;
133
133
  handlePopoverClose(): void;
134
+ handleSlotMouseEnter(): void;
134
135
  }
135
136
  export {};
@@ -1388,6 +1388,11 @@ export default class SelectFoundation extends BaseFoundation {
1388
1388
 
1389
1389
  handlePopoverClose() {
1390
1390
  this._adapter.emit('popoverClose');
1391
+ } // need to remove focus style of option when user hover slot
1392
+
1393
+
1394
+ handleSlotMouseEnter() {
1395
+ this._adapter.updateFocusIndex(-1);
1391
1396
  }
1392
1397
 
1393
1398
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@douyinfe/semi-foundation",
3
- "version": "2.27.0-beta.0",
3
+ "version": "2.27.0",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "build:lib": "node ./scripts/compileLib.js",
@@ -23,7 +23,7 @@
23
23
  "*.scss",
24
24
  "*.css"
25
25
  ],
26
- "gitHead": "fa59dd4e1bce1f81bb2d8cce4118a26354476c91",
26
+ "gitHead": "a7a3f537ef48f75e3824c156e9b25a084e562dd6",
27
27
  "devDependencies": {
28
28
  "@babel/plugin-transform-runtime": "^7.15.8",
29
29
  "@babel/preset-env": "^7.15.8",
@@ -1114,4 +1114,9 @@ export default class SelectFoundation extends BaseFoundation<SelectAdapter> {
1114
1114
  handlePopoverClose() {
1115
1115
  this._adapter.emit('popoverClose');
1116
1116
  }
1117
+
1118
+ // need to remove focus style of option when user hover slot
1119
+ handleSlotMouseEnter() {
1120
+ this._adapter.updateFocusIndex(-1);
1121
+ }
1117
1122
  }