Skip to content

Commit 49ec060

Browse files
authored
fix(module:*): remove unnecessary reference imports (#9653)
1 parent 5378f8b commit 49ec060

8 files changed

Lines changed: 8 additions & 8 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import (reference) '../../style/core/motion/fade';
1+
@import '../../style/core/motion/fade';
22
@import (reference) '../../style/themes/index';
33

44
.fade-motion('drawer-mask', @ease-in-out, @animation-duration-slow);

components/float-button/style/animation.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* stylelint-disable less/no-duplicate-variables */
22
@import '../../style/themes/index';
3-
@import (reference) '../../style/core/motion/fade';
3+
@import '../../style/core/motion/fade';
44

55
@float-btn-prefix-cls: ~'@{ant-prefix}-float-btn';
66
@animation-duration: @animation-duration-slow;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
@import '../../style/themes/index';
2-
@import (reference) '../../style/core/motion/fade';
2+
@import '../../style/core/motion/fade';
33

44
.fade-motion('image-preview-fade', linear);

components/message/style/animation.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@import '../../style/themes/index';
22
@import '../../style/mixins/index';
3-
@import (reference) '../../style/core/motion/util';
3+
@import '../../style/core/motion/util';
44

55
@message-prefix-cls: ~'@{ant-prefix}-message';
66

components/modal/style/index.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@import '../../style/themes/index';
22
@import '../../style/mixins/index';
3-
@import (reference) '../../style/core/motion/zoom';
3+
@import '../../style/core/motion/zoom';
44
@import './modal';
55
@import './confirm';
66
@import './rtl';

components/popover/style/index.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@import '../../style/themes/index';
22
@import '../../style/mixins/index';
3-
@import (reference) '../../style/core/motion/zoom';
3+
@import '../../style/core/motion/zoom';
44

55
@popover-prefix-cls: ~'@{ant-prefix}-popover';
66

components/style/core/motion/fade.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@import (reference) '../../themes/index';
2-
@import (reference) './util';
2+
@import './util';
33

44
.fade-motion(@className, @timing-function, @duration: @animation-duration-base) {
55
@name: ~'@{ant-prefix}-@{className}-motion';

components/tooltip/style/index.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@import '../../style/themes/index';
22
@import '../../style/mixins/index';
3-
@import (reference) '../../style/core/motion/zoom';
3+
@import '../../style/core/motion/zoom';
44

55
@tooltip-prefix-cls: ~'@{ant-prefix}-tooltip';
66

0 commit comments

Comments
 (0)