Skip to content

Commit be9eff9

Browse files
authored
fix: fix build error and modify theme vars (#2345)
* fix: fix build error and modify theme vars * fix: fix build error and modify theme vars
1 parent c56f019 commit be9eff9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+93
-775
lines changed

packages/renderless/types/dropdown-item.type.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import type {
2121
confirm,
2222
handleClick,
2323
computedGetIcon,
24-
getTip
24+
computedTip
2525
} from '../src/dropdown-item'
2626

2727
export type IDropdownItemVm = ComponentPublicInstance & {
@@ -76,7 +76,7 @@ export interface IDropdownItemApi {
7676
confirm: ReturnType<typeof confirm>
7777
handleClick: ReturnType<typeof handleClick>
7878
computedGetIcon: ReturnType<typeof computedGetIcon>
79-
getTip: ReturnType<typeof getTip>
79+
computedTip: ReturnType<typeof computedTip>
8080
}
8181

8282
export type IDropdownItemRenderlessParams = ISharedRenderlessFunctionParams<IDropdownItemConstants> & {

packages/theme/src/action-menu/index.less

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
@dropdown-item-prefix-cls: ~'@{css-prefix}dropdown-item';
1919

2020
.@{action-menu-prefix-cls} {
21-
.component-css-vars-action-menu();
21+
.inject-ActionMenu-vars();
2222

2323
font-size: var(--tv-ActionMenu-font-size);
2424

@@ -41,7 +41,7 @@
4141

4242
.@{dropdown-item-prefix-cls}__wrap {
4343
color: var(--tv-ActionMenu-text-color);
44-
margin: 0px;
44+
margin: 0;
4545
height: auto;
4646

4747
.tiny-svg {

packages/theme/src/action-menu/vars.less

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
*/
1212

13-
.component-css-vars-action-menu() {
13+
.inject-ActionMenu-vars() {
1414
// 文本字号
1515
--tv-ActionMenu-font-size: var(--tv-font-size-md, 14px);
1616
// 文本色(默认)

packages/theme/src/base-select/aurora-theme.js

-13
This file was deleted.

0 commit comments

Comments
 (0)