Skip to content

Commit

Permalink
fix: remove default css transition of Popover inner content
Browse files Browse the repository at this point in the history
  • Loading branch information
ziqisia committed Dec 3, 2024
1 parent 4a5c0f8 commit c4bcc0f
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 22 deletions.
1 change: 0 additions & 1 deletion packages/arcodesign/components/popover/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
background-color: transparent;
visibility: hidden;
will-change: transform;
.use-var(transition, popover-inner-transition);
.use-var(color, popover-content-color);

&.with-shadow {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,6 @@
--popover-arrow-border-radius: 1PX;
--popover-inner-border-radius: 4PX;
--popover-inner-opacity: 0.8;
--popover-inner-transition: opacity .3s ease-in-out;
--popover-inner-white-theme-opacity: 1;
--popover-inner-background-shadow: 0 2PX 8PX 0 rgba(0, 0, 0, .1);
--popover-inner-top-arrow-shadow: 6PX 6PX 8PX 0 rgba(0, 0, 0, .04);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,6 @@ export interface ArcodesignToken extends Record<string, string> {
'popover-arrow-border-radius': string;
'popover-inner-border-radius': string;
'popover-inner-opacity': string;
'popover-inner-transition': string;
'popover-inner-white-theme-opacity': string;
'popover-inner-background-shadow': string;
'popover-inner-top-arrow-shadow': string;
Expand Down
1 change: 0 additions & 1 deletion packages/arcodesign/tokens/app/arcodesign/default/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,6 @@ var tokens = {
"popover-arrow-border-radius": "1PX",
"popover-inner-border-radius": "4PX",
"popover-inner-opacity": "0.8",
"popover-inner-transition": "opacity .3s ease-in-out",
"popover-inner-white-theme-opacity": "1",
"popover-inner-background-shadow": "0 2PX 8PX 0 rgba(0, 0, 0, .1)",
"popover-inner-top-arrow-shadow": "6PX 6PX 8PX 0 rgba(0, 0, 0, .04)",
Expand Down
12 changes: 0 additions & 12 deletions packages/arcodesign/tokens/app/arcodesign/default/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -7877,18 +7877,6 @@
"en": "Arrow shadow at the top of Popover content"
}
},
"popoverInnerTransition": {
"cssKey": "popover-inner-transition",
"desc": "气泡内容动画曲线",
"override": "",
"value": "opacity .3s ease-in-out",
"jsValue": "opacity .3s ease-in-out",
"staticValue": "opacity .3s ease-in-out",
"localeDesc": {
"ch": "气泡内容动画曲线",
"en": "Popover content animation curve"
}
},
"popoverInnerWhiteThemeOpacity": {
"cssKey": "popover-inner-white-theme-opacity",
"desc": "白色主题气泡内容透明度",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,6 @@
@popover-arrow-border-radius: 1PX;
@popover-inner-border-radius: 4PX;
@popover-inner-opacity: 0.8;
@popover-inner-transition: opacity .3s ease-in-out;
@popover-inner-white-theme-opacity: 1;
@popover-inner-background-shadow: 0 2PX 8PX 0 rgba(0, 0, 0, .1);
@popover-inner-top-arrow-shadow: 6PX 6PX 8PX 0 rgba(0, 0, 0, .04);
Expand Down
5 changes: 0 additions & 5 deletions packages/arcodesign/tokens/src/arcodesign/default/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1738,11 +1738,6 @@ function getCompTokens() {
* @en Popover content opacity
*/
popoverInnerOpacity: '0.8',
/**
* 气泡内容动画曲线
* @en Popover content animation curve
*/
popoverInnerTransition: 'opacity .3s ease-in-out',
/**
* 白色主题气泡内容透明度
* @en Content opacity of Popover in white theme
Expand Down

0 comments on commit c4bcc0f

Please sign in to comment.