@douyinfe/semi-foundation 2.20.5 → 2.20.7

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.
@@ -8,7 +8,6 @@ interface KeyboardAdapter<P = Record<string, any>, S = Record<string, any>> exte
8
8
  registerKeyDown: (callback: (event: any) => void) => void;
9
9
  unregisterKeyDown: (callback: (event: any) => void) => void;
10
10
  updateFocusIndex: (focusIndex: number) => void;
11
- notifyKeyDown: (e: any) => void;
12
11
  }
13
12
 
14
13
  export interface DataItem {
@@ -337,7 +336,6 @@ class AutoCompleteFoundation<P = Record<string, any>, S = Record<string, any>> e
337
336
  default:
338
337
  break;
339
338
  }
340
- this._adapter.notifyKeyDown(event);
341
339
  }
342
340
 
343
341
  _getEnableFocusIndex(offset: number) {
@@ -3,7 +3,6 @@ interface KeyboardAdapter<P = Record<string, any>, S = Record<string, any>> exte
3
3
  registerKeyDown: (callback: (event: any) => void) => void;
4
4
  unregisterKeyDown: (callback: (event: any) => void) => void;
5
5
  updateFocusIndex: (focusIndex: number) => void;
6
- notifyKeyDown: (e: any) => void;
7
6
  }
8
7
  export interface DataItem {
9
8
  [x: string]: any;
@@ -395,8 +395,6 @@ class AutoCompleteFoundation extends _foundation.default {
395
395
  default:
396
396
  break;
397
397
  }
398
-
399
- this._adapter.notifyKeyDown(event);
400
398
  }
401
399
 
402
400
  _getEnableFocusIndex(offset) {
@@ -81,13 +81,6 @@
81
81
  background-color: transparent;
82
82
  border-bottom: 2px solid var(--semi-color-border);
83
83
  }
84
- .semi-table-header-sticky {
85
- position: sticky;
86
- z-index: 102;
87
- }
88
- .semi-table-header-sticky .semi-table-thead > .semi-table-row > .semi-table-row-head {
89
- background-color: var(--semi-color-bg-2);
90
- }
91
84
  .semi-table-body {
92
85
  overflow: auto;
93
86
  width: 100%;
@@ -64,15 +64,6 @@ $module: #{$prefix}-table;
64
64
  border-bottom: $width-table_header_border $border-table_base-borderStyle $color-table_th-border-default;
65
65
  }
66
66
  scrollbar-base-color: transparent;
67
-
68
- &-sticky {
69
- position: sticky;
70
- z-index: $z-table_fixed_column + 1;
71
-
72
- .semi-table-thead > .semi-table-row > .semi-table-row-head {
73
- background-color: $color-table-bg-default;
74
- }
75
- }
76
67
  }
77
68
 
78
69
  &-body {
@@ -3,7 +3,6 @@ interface KeyboardAdapter<P = Record<string, any>, S = Record<string, any>> exte
3
3
  registerKeyDown: (callback: (event: any) => void) => void;
4
4
  unregisterKeyDown: (callback: (event: any) => void) => void;
5
5
  updateFocusIndex: (focusIndex: number) => void;
6
- notifyKeyDown: (e: any) => void;
7
6
  }
8
7
  export interface DataItem {
9
8
  [x: string]: any;
@@ -381,8 +381,6 @@ class AutoCompleteFoundation extends BaseFoundation {
381
381
  default:
382
382
  break;
383
383
  }
384
-
385
- this._adapter.notifyKeyDown(event);
386
384
  }
387
385
 
388
386
  _getEnableFocusIndex(offset) {
@@ -81,13 +81,6 @@
81
81
  background-color: transparent;
82
82
  border-bottom: 2px solid var(--semi-color-border);
83
83
  }
84
- .semi-table-header-sticky {
85
- position: sticky;
86
- z-index: 102;
87
- }
88
- .semi-table-header-sticky .semi-table-thead > .semi-table-row > .semi-table-row-head {
89
- background-color: var(--semi-color-bg-2);
90
- }
91
84
  .semi-table-body {
92
85
  overflow: auto;
93
86
  width: 100%;
@@ -64,15 +64,6 @@ $module: #{$prefix}-table;
64
64
  border-bottom: $width-table_header_border $border-table_base-borderStyle $color-table_th-border-default;
65
65
  }
66
66
  scrollbar-base-color: transparent;
67
-
68
- &-sticky {
69
- position: sticky;
70
- z-index: $z-table_fixed_column + 1;
71
-
72
- .semi-table-thead > .semi-table-row > .semi-table-row-head {
73
- background-color: $color-table-bg-default;
74
- }
75
- }
76
67
  }
77
68
 
78
69
  &-body {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@douyinfe/semi-foundation",
3
- "version": "2.20.5",
3
+ "version": "2.20.7",
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": "d3bebd51a3287d8e57d9460f658102bfb9712af4",
26
+ "gitHead": "c0d0df27f122e6e57483172169baf1c23745a29a",
27
27
  "devDependencies": {
28
28
  "@babel/plugin-transform-runtime": "^7.15.8",
29
29
  "@babel/preset-env": "^7.15.8",
package/table/table.scss CHANGED
@@ -64,15 +64,6 @@ $module: #{$prefix}-table;
64
64
  border-bottom: $width-table_header_border $border-table_base-borderStyle $color-table_th-border-default;
65
65
  }
66
66
  scrollbar-base-color: transparent;
67
-
68
- &-sticky {
69
- position: sticky;
70
- z-index: $z-table_fixed_column + 1;
71
-
72
- .semi-table-thead > .semi-table-row > .semi-table-row-head {
73
- background-color: $color-table-bg-default;
74
- }
75
- }
76
67
  }
77
68
 
78
69
  &-body {