@douyinfe/semi-foundation 2.45.0 → 2.45.1

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.
@@ -73,7 +73,7 @@ $multiple: #{$module}-multiple;
73
73
 
74
74
  &-selected {
75
75
  font-weight: $font-weight-bold;
76
-
76
+ background: $color-select-option-bg-selected;
77
77
  .#{$module}-option-icon {
78
78
  color: $color-select_option-icon-active;
79
79
  }
@@ -61,6 +61,7 @@
61
61
  }
62
62
  .semi-select-option-selected {
63
63
  font-weight: 600;
64
+ background: transparent;
64
65
  }
65
66
  .semi-select-option-selected .semi-select-option-icon {
66
67
  color: var(--semi-color-text-2);
@@ -44,6 +44,7 @@ $color-select_option_disabled-text: var(--semi-color-disabled-text); // 禁用
44
44
  $color-select_option_disabled-bg: transparent; // 禁用选择器菜单选项背景颜色
45
45
  $color-select_option-icon-active: var(--semi-color-text-2); // 禁用选择器菜单选项图标颜色 - 选中态
46
46
  $color-select_option-border-default: var(--semi-color-border); // 分组选择器菜单项描边颜色
47
+ $color-select-option-bg-selected: transparent; // 选择器菜单选项背景颜色 - 选中态
47
48
  $color-select_inset_label-text: var(--semi-color-text-2); // 分组选择器菜单项辅助文本颜色
48
49
  $color-select_create_tips-text: var(--semi-color-text-2); // 分组选择器菜单项提示文本颜色
49
50
  $color-select_group-text: var(--semi-color-text-2); // 分组选择器菜单项分组标题文本颜色
@@ -73,7 +73,7 @@ $multiple: #{$module}-multiple;
73
73
 
74
74
  &-selected {
75
75
  font-weight: $font-weight-bold;
76
-
76
+ background: $color-select-option-bg-selected;
77
77
  .#{$module}-option-icon {
78
78
  color: $color-select_option-icon-active;
79
79
  }
@@ -61,6 +61,7 @@
61
61
  }
62
62
  .semi-select-option-selected {
63
63
  font-weight: 600;
64
+ background: transparent;
64
65
  }
65
66
  .semi-select-option-selected .semi-select-option-icon {
66
67
  color: var(--semi-color-text-2);
@@ -44,6 +44,7 @@ $color-select_option_disabled-text: var(--semi-color-disabled-text); // 禁用
44
44
  $color-select_option_disabled-bg: transparent; // 禁用选择器菜单选项背景颜色
45
45
  $color-select_option-icon-active: var(--semi-color-text-2); // 禁用选择器菜单选项图标颜色 - 选中态
46
46
  $color-select_option-border-default: var(--semi-color-border); // 分组选择器菜单项描边颜色
47
+ $color-select-option-bg-selected: transparent; // 选择器菜单选项背景颜色 - 选中态
47
48
  $color-select_inset_label-text: var(--semi-color-text-2); // 分组选择器菜单项辅助文本颜色
48
49
  $color-select_create_tips-text: var(--semi-color-text-2); // 分组选择器菜单项提示文本颜色
49
50
  $color-select_group-text: var(--semi-color-text-2); // 分组选择器菜单项分组标题文本颜色
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@douyinfe/semi-foundation",
3
- "version": "2.45.0",
3
+ "version": "2.45.1",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "build:lib": "node ./scripts/compileLib.js",
7
7
  "prepublishOnly": "npm run build:lib"
8
8
  },
9
9
  "dependencies": {
10
- "@douyinfe/semi-animation": "2.45.0",
10
+ "@douyinfe/semi-animation": "2.45.1",
11
11
  "async-validator": "^3.5.0",
12
12
  "classnames": "^2.2.6",
13
13
  "date-fns": "^2.29.3",
@@ -23,7 +23,7 @@
23
23
  "*.scss",
24
24
  "*.css"
25
25
  ],
26
- "gitHead": "9650e522f489de9e6d25e67cfc0fdb2dc6c4663e",
26
+ "gitHead": "6ab2e8c858c718b40b6bf366e9b7c4a4992801c6",
27
27
  "devDependencies": {
28
28
  "@babel/plugin-transform-runtime": "^7.15.8",
29
29
  "@babel/preset-env": "^7.15.8",
@@ -73,7 +73,7 @@ $multiple: #{$module}-multiple;
73
73
 
74
74
  &-selected {
75
75
  font-weight: $font-weight-bold;
76
-
76
+ background: $color-select-option-bg-selected;
77
77
  .#{$module}-option-icon {
78
78
  color: $color-select_option-icon-active;
79
79
  }
@@ -44,6 +44,7 @@ $color-select_option_disabled-text: var(--semi-color-disabled-text); // 禁用
44
44
  $color-select_option_disabled-bg: transparent; // 禁用选择器菜单选项背景颜色
45
45
  $color-select_option-icon-active: var(--semi-color-text-2); // 禁用选择器菜单选项图标颜色 - 选中态
46
46
  $color-select_option-border-default: var(--semi-color-border); // 分组选择器菜单项描边颜色
47
+ $color-select-option-bg-selected: transparent; // 选择器菜单选项背景颜色 - 选中态
47
48
  $color-select_inset_label-text: var(--semi-color-text-2); // 分组选择器菜单项辅助文本颜色
48
49
  $color-select_create_tips-text: var(--semi-color-text-2); // 分组选择器菜单项提示文本颜色
49
50
  $color-select_group-text: var(--semi-color-text-2); // 分组选择器菜单项分组标题文本颜色