@douyinfe/semi-foundation 2.17.1 → 2.18.0-beta.0

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.
Files changed (346) hide show
  1. package/anchor/anchor.scss +15 -1
  2. package/anchor/animation.scss +6 -0
  3. package/anchor/variables.scss +7 -1
  4. package/autoComplete/animation.scss +3 -0
  5. package/autoComplete/autoComplete.scss +2 -1
  6. package/autoComplete/constants.ts +3 -0
  7. package/autoComplete/option.scss +93 -0
  8. package/autoComplete/optionFoundation.ts +41 -0
  9. package/autoComplete/variables.scss +47 -0
  10. package/avatar/avatar.scss +5 -6
  11. package/breadcrumb/animation.scss +6 -0
  12. package/breadcrumb/breadcrumb.scss +4 -1
  13. package/button/animation.scss +67 -0
  14. package/button/button.scss +29 -0
  15. package/calendar/eventUtil.ts +5 -3
  16. package/calendar/foundation.ts +7 -3
  17. package/carousel/animation.scss +7 -0
  18. package/carousel/carousel.scss +30 -40
  19. package/carousel/foundation.ts +5 -5
  20. package/cascader/animation.scss +4 -0
  21. package/cascader/cascader.scss +2 -0
  22. package/checkbox/animation.scss +10 -0
  23. package/checkbox/checkbox.scss +19 -4
  24. package/datePicker/animation.scss +4 -0
  25. package/dropdown/animation.scss +3 -0
  26. package/dropdown/dropdown.scss +5 -1
  27. package/form/form.scss +4 -3
  28. package/form/variables.scss +1 -0
  29. package/gulpfile.js +3 -1
  30. package/input/animation.scss +14 -0
  31. package/input/input.scss +12 -0
  32. package/input/textarea.scss +3 -0
  33. package/inputNumber/animation.scss +10 -0
  34. package/inputNumber/inputNumber.scss +4 -0
  35. package/lib/cjs/anchor/anchor.css +12 -0
  36. package/lib/cjs/anchor/anchor.scss +15 -1
  37. package/lib/cjs/anchor/animation.css +3 -0
  38. package/lib/cjs/anchor/animation.scss +6 -0
  39. package/lib/cjs/anchor/variables.scss +7 -1
  40. package/lib/cjs/autoComplete/animation.css +3 -0
  41. package/lib/cjs/autoComplete/animation.scss +3 -0
  42. package/lib/cjs/autoComplete/autoComplete.css +17 -16
  43. package/lib/cjs/autoComplete/autoComplete.scss +2 -1
  44. package/lib/cjs/autoComplete/constants.d.ts +2 -0
  45. package/lib/cjs/autoComplete/constants.js +3 -1
  46. package/lib/cjs/autoComplete/option.scss +93 -0
  47. package/lib/cjs/autoComplete/optionFoundation.d.ts +21 -0
  48. package/lib/cjs/autoComplete/optionFoundation.js +42 -0
  49. package/lib/cjs/autoComplete/variables.scss +47 -0
  50. package/lib/cjs/avatar/avatar.scss +5 -6
  51. package/lib/cjs/breadcrumb/animation.css +3 -0
  52. package/lib/cjs/breadcrumb/animation.scss +6 -0
  53. package/lib/cjs/breadcrumb/breadcrumb.css +3 -1
  54. package/lib/cjs/breadcrumb/breadcrumb.scss +4 -1
  55. package/lib/cjs/button/animation.css +3 -0
  56. package/lib/cjs/button/animation.scss +67 -0
  57. package/lib/cjs/button/button.css +14 -0
  58. package/lib/cjs/button/button.scss +29 -0
  59. package/lib/cjs/calendar/eventUtil.d.ts +2 -1
  60. package/lib/cjs/calendar/eventUtil.js +4 -1
  61. package/lib/cjs/calendar/foundation.d.ts +2 -1
  62. package/lib/cjs/calendar/foundation.js +8 -2
  63. package/lib/cjs/carousel/animation.css +3 -0
  64. package/lib/cjs/carousel/animation.scss +7 -0
  65. package/lib/cjs/carousel/carousel.css +6 -1
  66. package/lib/cjs/carousel/carousel.scss +30 -40
  67. package/lib/cjs/carousel/foundation.d.ts +1 -1
  68. package/lib/cjs/carousel/foundation.js +5 -5
  69. package/lib/cjs/cascader/animation.css +3 -0
  70. package/lib/cjs/cascader/animation.scss +4 -0
  71. package/lib/cjs/cascader/cascader.css +1 -0
  72. package/lib/cjs/cascader/cascader.scss +2 -0
  73. package/lib/cjs/checkbox/animation.css +3 -0
  74. package/lib/cjs/checkbox/animation.scss +10 -0
  75. package/lib/cjs/checkbox/checkbox.css +3 -0
  76. package/lib/cjs/checkbox/checkbox.scss +19 -4
  77. package/lib/cjs/datePicker/animation.css +3 -0
  78. package/lib/cjs/datePicker/animation.scss +4 -0
  79. package/lib/cjs/dropdown/animation.css +3 -0
  80. package/lib/cjs/dropdown/animation.scss +3 -0
  81. package/lib/cjs/dropdown/dropdown.css +1 -0
  82. package/lib/cjs/dropdown/dropdown.scss +5 -1
  83. package/lib/cjs/form/form.css +3 -0
  84. package/lib/cjs/form/form.scss +4 -3
  85. package/lib/cjs/form/variables.scss +1 -0
  86. package/lib/cjs/input/animation.css +3 -0
  87. package/lib/cjs/input/animation.scss +14 -0
  88. package/lib/cjs/input/input.css +7 -0
  89. package/lib/cjs/input/input.scss +12 -0
  90. package/lib/cjs/input/textarea.css +1 -0
  91. package/lib/cjs/input/textarea.scss +3 -0
  92. package/lib/cjs/inputNumber/animation.css +3 -0
  93. package/lib/cjs/inputNumber/animation.scss +10 -0
  94. package/lib/cjs/inputNumber/inputNumber.css +2 -0
  95. package/lib/cjs/inputNumber/inputNumber.scss +4 -0
  96. package/lib/cjs/modal/modal.css +4 -0
  97. package/lib/cjs/modal/modal.scss +4 -0
  98. package/lib/cjs/navigation/animation.css +3 -0
  99. package/lib/cjs/navigation/animation.scss +4 -0
  100. package/lib/cjs/navigation/navigation.css +1 -0
  101. package/lib/cjs/navigation/navigation.scss +3 -0
  102. package/lib/cjs/notification/notification.scss +8 -9
  103. package/lib/cjs/pagination/animation.css +3 -0
  104. package/lib/cjs/pagination/animation.scss +11 -0
  105. package/lib/cjs/pagination/pagination.css +2 -0
  106. package/lib/cjs/pagination/pagination.scss +4 -0
  107. package/lib/cjs/radio/animation.css +3 -0
  108. package/lib/cjs/radio/animation.scss +10 -0
  109. package/lib/cjs/radio/radio.css +4 -0
  110. package/lib/cjs/radio/radio.scss +10 -1
  111. package/lib/cjs/rating/animation.css +3 -0
  112. package/lib/cjs/rating/animation.scss +6 -0
  113. package/lib/cjs/rating/rating.css +2 -0
  114. package/lib/cjs/rating/rating.scss +3 -0
  115. package/lib/cjs/scrollList/animation.css +3 -0
  116. package/lib/cjs/scrollList/animation.scss +3 -0
  117. package/lib/cjs/scrollList/scrollList.css +1 -0
  118. package/lib/cjs/scrollList/scrollList.scss +7 -9
  119. package/lib/cjs/select/animation.css +3 -0
  120. package/lib/cjs/select/animation.scss +15 -0
  121. package/lib/cjs/select/option.scss +1 -0
  122. package/lib/cjs/select/select.css +6 -2
  123. package/lib/cjs/select/select.scss +7 -2
  124. package/lib/cjs/select/variables.scss +5 -5
  125. package/lib/cjs/sideSheet/animation.css +3 -0
  126. package/lib/cjs/sideSheet/animation.scss +7 -0
  127. package/lib/cjs/sideSheet/sideSheet.css +4 -0
  128. package/lib/cjs/sideSheet/sideSheet.scss +9 -2
  129. package/lib/cjs/skeleton/skeleton.scss +2 -4
  130. package/lib/cjs/slider/animation.css +3 -0
  131. package/lib/cjs/slider/animation.scss +7 -0
  132. package/lib/cjs/slider/slider.css +2 -1
  133. package/lib/cjs/slider/slider.scss +4 -3
  134. package/lib/cjs/spin/spin.scss +10 -11
  135. package/lib/cjs/steps/animation.css +3 -0
  136. package/lib/cjs/steps/animation.scss +17 -0
  137. package/lib/cjs/steps/bacisSteps.scss +11 -3
  138. package/lib/cjs/steps/fillSteps.scss +6 -1
  139. package/lib/cjs/steps/navSteps.scss +1 -1
  140. package/lib/cjs/steps/steps.css +9 -0
  141. package/lib/cjs/steps/steps.scss +1 -0
  142. package/lib/cjs/switch/animation.css +3 -0
  143. package/lib/cjs/switch/animation.scss +4 -0
  144. package/lib/cjs/switch/foundation.js +2 -2
  145. package/lib/cjs/switch/switch.css +1 -1
  146. package/lib/cjs/switch/switch.scss +4 -1
  147. package/lib/cjs/table/animation.css +3 -0
  148. package/lib/cjs/table/animation.scss +3 -0
  149. package/lib/cjs/table/table.css +6 -0
  150. package/lib/cjs/table/table.scss +21 -22
  151. package/lib/cjs/tabs/animation.css +3 -0
  152. package/lib/cjs/tabs/animation.scss +23 -0
  153. package/lib/cjs/tabs/tabs.css +9 -0
  154. package/lib/cjs/tabs/tabs.scss +18 -2
  155. package/lib/cjs/tagInput/animation.css +3 -0
  156. package/lib/cjs/tagInput/animation.scss +7 -0
  157. package/lib/cjs/tagInput/tagInput.css +1 -0
  158. package/lib/cjs/tagInput/tagInput.scss +4 -1
  159. package/lib/cjs/timePicker/utils/animation.css +3 -0
  160. package/lib/cjs/timePicker/utils/animation.scss +7 -0
  161. package/lib/cjs/transfer/animation.css +3 -0
  162. package/lib/cjs/transfer/animation.scss +4 -0
  163. package/lib/cjs/transfer/transfer.css +1 -0
  164. package/lib/cjs/transfer/transfer.scss +4 -0
  165. package/lib/cjs/tree/animation.css +3 -0
  166. package/lib/cjs/tree/animation.scss +7 -0
  167. package/lib/cjs/tree/tree.css +2 -0
  168. package/lib/cjs/tree/tree.scss +3 -0
  169. package/lib/es/anchor/anchor.css +12 -0
  170. package/lib/es/anchor/anchor.scss +15 -1
  171. package/lib/es/anchor/animation.css +3 -0
  172. package/lib/es/anchor/animation.scss +6 -0
  173. package/lib/es/anchor/variables.scss +7 -1
  174. package/lib/es/autoComplete/animation.css +3 -0
  175. package/lib/es/autoComplete/animation.scss +3 -0
  176. package/lib/es/autoComplete/autoComplete.css +17 -16
  177. package/lib/es/autoComplete/autoComplete.scss +2 -1
  178. package/lib/es/autoComplete/constants.d.ts +2 -0
  179. package/lib/es/autoComplete/constants.js +3 -1
  180. package/lib/es/autoComplete/option.scss +93 -0
  181. package/lib/es/autoComplete/optionFoundation.d.ts +21 -0
  182. package/lib/es/autoComplete/optionFoundation.js +26 -0
  183. package/lib/es/autoComplete/variables.scss +47 -0
  184. package/lib/es/avatar/avatar.scss +5 -6
  185. package/lib/es/breadcrumb/animation.css +3 -0
  186. package/lib/es/breadcrumb/animation.scss +6 -0
  187. package/lib/es/breadcrumb/breadcrumb.css +3 -1
  188. package/lib/es/breadcrumb/breadcrumb.scss +4 -1
  189. package/lib/es/button/animation.css +3 -0
  190. package/lib/es/button/animation.scss +67 -0
  191. package/lib/es/button/button.css +14 -0
  192. package/lib/es/button/button.scss +29 -0
  193. package/lib/es/calendar/eventUtil.d.ts +2 -1
  194. package/lib/es/calendar/eventUtil.js +4 -1
  195. package/lib/es/calendar/foundation.d.ts +2 -1
  196. package/lib/es/calendar/foundation.js +8 -2
  197. package/lib/es/carousel/animation.css +3 -0
  198. package/lib/es/carousel/animation.scss +7 -0
  199. package/lib/es/carousel/carousel.css +6 -1
  200. package/lib/es/carousel/carousel.scss +30 -40
  201. package/lib/es/carousel/foundation.d.ts +1 -1
  202. package/lib/es/carousel/foundation.js +5 -5
  203. package/lib/es/cascader/animation.css +3 -0
  204. package/lib/es/cascader/animation.scss +4 -0
  205. package/lib/es/cascader/cascader.css +1 -0
  206. package/lib/es/cascader/cascader.scss +2 -0
  207. package/lib/es/checkbox/animation.css +3 -0
  208. package/lib/es/checkbox/animation.scss +10 -0
  209. package/lib/es/checkbox/checkbox.css +3 -0
  210. package/lib/es/checkbox/checkbox.scss +19 -4
  211. package/lib/es/datePicker/animation.css +3 -0
  212. package/lib/es/datePicker/animation.scss +4 -0
  213. package/lib/es/dropdown/animation.css +3 -0
  214. package/lib/es/dropdown/animation.scss +3 -0
  215. package/lib/es/dropdown/dropdown.css +1 -0
  216. package/lib/es/dropdown/dropdown.scss +5 -1
  217. package/lib/es/form/form.css +3 -0
  218. package/lib/es/form/form.scss +4 -3
  219. package/lib/es/form/variables.scss +1 -0
  220. package/lib/es/input/animation.css +3 -0
  221. package/lib/es/input/animation.scss +14 -0
  222. package/lib/es/input/input.css +7 -0
  223. package/lib/es/input/input.scss +12 -0
  224. package/lib/es/input/textarea.css +1 -0
  225. package/lib/es/input/textarea.scss +3 -0
  226. package/lib/es/inputNumber/animation.css +3 -0
  227. package/lib/es/inputNumber/animation.scss +10 -0
  228. package/lib/es/inputNumber/inputNumber.css +2 -0
  229. package/lib/es/inputNumber/inputNumber.scss +4 -0
  230. package/lib/es/modal/modal.css +4 -0
  231. package/lib/es/modal/modal.scss +4 -0
  232. package/lib/es/navigation/animation.css +3 -0
  233. package/lib/es/navigation/animation.scss +4 -0
  234. package/lib/es/navigation/navigation.css +1 -0
  235. package/lib/es/navigation/navigation.scss +3 -0
  236. package/lib/es/notification/notification.scss +8 -9
  237. package/lib/es/pagination/animation.css +3 -0
  238. package/lib/es/pagination/animation.scss +11 -0
  239. package/lib/es/pagination/pagination.css +2 -0
  240. package/lib/es/pagination/pagination.scss +4 -0
  241. package/lib/es/radio/animation.css +3 -0
  242. package/lib/es/radio/animation.scss +10 -0
  243. package/lib/es/radio/radio.css +4 -0
  244. package/lib/es/radio/radio.scss +10 -1
  245. package/lib/es/rating/animation.css +3 -0
  246. package/lib/es/rating/animation.scss +6 -0
  247. package/lib/es/rating/rating.css +2 -0
  248. package/lib/es/rating/rating.scss +3 -0
  249. package/lib/es/scrollList/animation.css +3 -0
  250. package/lib/es/scrollList/animation.scss +3 -0
  251. package/lib/es/scrollList/scrollList.css +1 -0
  252. package/lib/es/scrollList/scrollList.scss +7 -9
  253. package/lib/es/select/animation.css +3 -0
  254. package/lib/es/select/animation.scss +15 -0
  255. package/lib/es/select/option.scss +1 -0
  256. package/lib/es/select/select.css +6 -2
  257. package/lib/es/select/select.scss +7 -2
  258. package/lib/es/select/variables.scss +5 -5
  259. package/lib/es/sideSheet/animation.css +3 -0
  260. package/lib/es/sideSheet/animation.scss +7 -0
  261. package/lib/es/sideSheet/sideSheet.css +4 -0
  262. package/lib/es/sideSheet/sideSheet.scss +9 -2
  263. package/lib/es/skeleton/skeleton.scss +2 -4
  264. package/lib/es/slider/animation.css +3 -0
  265. package/lib/es/slider/animation.scss +7 -0
  266. package/lib/es/slider/slider.css +2 -1
  267. package/lib/es/slider/slider.scss +4 -3
  268. package/lib/es/spin/spin.scss +10 -11
  269. package/lib/es/steps/animation.css +3 -0
  270. package/lib/es/steps/animation.scss +17 -0
  271. package/lib/es/steps/bacisSteps.scss +11 -3
  272. package/lib/es/steps/fillSteps.scss +6 -1
  273. package/lib/es/steps/navSteps.scss +1 -1
  274. package/lib/es/steps/steps.css +9 -0
  275. package/lib/es/steps/steps.scss +1 -0
  276. package/lib/es/switch/animation.css +3 -0
  277. package/lib/es/switch/animation.scss +4 -0
  278. package/lib/es/switch/foundation.js +2 -2
  279. package/lib/es/switch/switch.css +1 -1
  280. package/lib/es/switch/switch.scss +4 -1
  281. package/lib/es/table/animation.css +3 -0
  282. package/lib/es/table/animation.scss +3 -0
  283. package/lib/es/table/table.css +6 -0
  284. package/lib/es/table/table.scss +21 -22
  285. package/lib/es/tabs/animation.css +3 -0
  286. package/lib/es/tabs/animation.scss +23 -0
  287. package/lib/es/tabs/tabs.css +9 -0
  288. package/lib/es/tabs/tabs.scss +18 -2
  289. package/lib/es/tagInput/animation.css +3 -0
  290. package/lib/es/tagInput/animation.scss +7 -0
  291. package/lib/es/tagInput/tagInput.css +1 -0
  292. package/lib/es/tagInput/tagInput.scss +4 -1
  293. package/lib/es/timePicker/utils/animation.css +3 -0
  294. package/lib/es/timePicker/utils/animation.scss +7 -0
  295. package/lib/es/transfer/animation.css +3 -0
  296. package/lib/es/transfer/animation.scss +4 -0
  297. package/lib/es/transfer/transfer.css +1 -0
  298. package/lib/es/transfer/transfer.scss +4 -0
  299. package/lib/es/tree/animation.css +3 -0
  300. package/lib/es/tree/animation.scss +7 -0
  301. package/lib/es/tree/tree.css +2 -0
  302. package/lib/es/tree/tree.scss +3 -0
  303. package/modal/modal.scss +4 -0
  304. package/navigation/animation.scss +4 -0
  305. package/navigation/navigation.scss +3 -0
  306. package/notification/notification.scss +8 -9
  307. package/package.json +2 -2
  308. package/pagination/animation.scss +11 -0
  309. package/pagination/pagination.scss +4 -0
  310. package/radio/animation.scss +10 -0
  311. package/radio/radio.scss +10 -1
  312. package/rating/animation.scss +6 -0
  313. package/rating/rating.scss +3 -0
  314. package/scrollList/animation.scss +3 -0
  315. package/scrollList/scrollList.scss +7 -9
  316. package/select/animation.scss +15 -0
  317. package/select/option.scss +1 -0
  318. package/select/select.scss +7 -2
  319. package/select/variables.scss +5 -5
  320. package/sideSheet/animation.scss +7 -0
  321. package/sideSheet/sideSheet.scss +9 -2
  322. package/skeleton/skeleton.scss +2 -4
  323. package/slider/animation.scss +7 -0
  324. package/slider/slider.scss +4 -3
  325. package/spin/spin.scss +10 -11
  326. package/steps/animation.scss +17 -0
  327. package/steps/bacisSteps.scss +11 -3
  328. package/steps/fillSteps.scss +6 -1
  329. package/steps/navSteps.scss +1 -1
  330. package/steps/steps.scss +1 -0
  331. package/switch/animation.scss +4 -0
  332. package/switch/foundation.ts +2 -2
  333. package/switch/switch.scss +4 -1
  334. package/table/animation.scss +3 -0
  335. package/table/table.scss +21 -22
  336. package/tabs/animation.scss +23 -0
  337. package/tabs/tabs.scss +18 -2
  338. package/tagInput/animation.scss +7 -0
  339. package/tagInput/tagInput.scss +4 -1
  340. package/timePicker/utils/animation.scss +7 -0
  341. package/transfer/animation.scss +4 -0
  342. package/transfer/transfer.scss +4 -0
  343. package/tree/animation.scss +7 -0
  344. package/tree/tree.scss +3 -0
  345. package/lib/cjs/select/option.css +0 -77
  346. package/lib/es/select/option.css +0 -77
@@ -1,4 +1,5 @@
1
1
  @import './variables.scss';
2
+ @import "./animation.scss";
2
3
 
3
4
  $module: #{$prefix}-rating;
4
5
 
@@ -37,6 +38,7 @@ $module: #{$prefix}-rating;
37
38
  color: inherit;
38
39
  cursor: pointer;
39
40
  transition: all 0.5s;
41
+ transform:scale($transform-scale-rating);
40
42
 
41
43
  &:not(:last-child) {
42
44
  margin-right: $spacing-rating_item-marginRight;
@@ -75,6 +77,7 @@ $module: #{$prefix}-rating;
75
77
 
76
78
  &-first,
77
79
  &-second {
80
+ transition: color $transition_duration-rating-color $transition_function-rating-color $transition_delay-rating-color;
78
81
  color: $color-rating-bg-default;
79
82
  user-select: none;
80
83
  }
@@ -0,0 +1,3 @@
1
+ $transition_duration-scrollList_selected_item-bg: var(--semi-transition_duration-fastest); // 滚动列表选中选项-背景颜色-动画持续时间
2
+ $transition_function-scrollList_selected_item-bg: var(--semi-transition_function-easeOut); // 滚动列表选中选项-背景颜色-过渡曲线
3
+ $transition_delay-scrollList_selected_item-bg: 0ms; // 滚动列表选中选项-背景颜色-延迟时间
@@ -1,6 +1,7 @@
1
1
  //@import '../theme/variables.scss';
2
2
  // @import '../theme/_font.scss';
3
- @import "./variables.scss";
3
+ @import './variables.scss';
4
+ @import './animation.scss';
4
5
 
5
6
  $module: #{$prefix}-scrolllist;
6
7
 
@@ -38,11 +39,9 @@ $module: #{$prefix}-scrolllist;
38
39
 
39
40
  .#{$module}-item-wheel .#{$module}-list-outer-nocycle,
40
41
  .#{$module}-item {
41
-
42
42
  & > ul {
43
-
44
43
  &:before {
45
- content: "";
44
+ content: '';
46
45
  display: block;
47
46
  width: 100%;
48
47
  height: ($height-scrollList - $height-scrollList_item) / 2;
@@ -63,7 +62,6 @@ $module: #{$prefix}-scrolllist;
63
62
 
64
63
  .#{$module}-item,
65
64
  .#{$module}-item-wheel .#{$module}-list-outer {
66
-
67
65
  & > ul {
68
66
  box-sizing: border-box;
69
67
  width: 100%;
@@ -84,7 +82,7 @@ $module: #{$prefix}-scrolllist;
84
82
  // padding: 8px 18px;
85
83
  cursor: pointer;
86
84
  background-color: $color-scrollList_item-bg;
87
-
85
+ transition: background-color $transition_duration-scrollList_selected_item-bg $transition_function-scrollList_selected_item-bg $transition_delay-scrollList_selected_item-bg;
88
86
  &.#{$module}-item-sel {
89
87
  background: $color-scrollList_selected_item-bg;
90
88
  color: $color-scrollList_selected_item-text;
@@ -147,14 +145,14 @@ $module: #{$prefix}-scrolllist;
147
145
  top: 0;
148
146
  margin-top: $spacing-scrollList_item_wheel_list_shade_pre-marginTop;
149
147
  background: $color-scrollList-bg;
150
- opacity: .5;
148
+ opacity: 0.5;
151
149
  }
152
150
 
153
151
  &-post {
154
152
  top: 50%;
155
153
  margin-top: $spacing-scrollList_item_wheel_list_shade_post-marginTop;
156
154
  background: $color-scrollList-bg;
157
- opacity: .5;
155
+ opacity: 0.5;
158
156
  }
159
157
  }
160
158
 
@@ -180,4 +178,4 @@ $module: #{$prefix}-scrolllist;
180
178
  }
181
179
  }
182
180
 
183
- @import "./rtl.scss";
181
+ @import './rtl.scss';
@@ -0,0 +1,15 @@
1
+ $transition_duration-select-bg: var(--semi-transition_duration-faster);//选择器-背景色-动画持续时间
2
+ $transition_function-select-bg: var(--semi-transition_function-easeIn);//选择器-背景色-过渡曲线
3
+ $transition_delay-select-bg: var(--semi-transition_delay-fastest);//选择器-背景色-延迟时间
4
+
5
+ $transition_duration-select-border: var(--semi-transition_duration-faster);//选择器-边框-动画持续时间
6
+ $transition_function-select-border: var(--semi-transition_function-easeIn);//选择器-边框-过渡曲线
7
+ $transition_delay-select-border: var(--semi-transition_delay-fastest);//选择器-边框-延迟时间
8
+
9
+ $transition_duration-select_option-bg: var(--semi-transition_duration-faster);//选择器-选项-动画持续时间
10
+ $transition_function-select_option-bg: var(--semi-transition_function-easeIn);//选择器-选项-过渡曲线
11
+ $transition_delay-select_option-bg: var(--semi-transition_delay-fastest);//选择器-选项-延迟时间
12
+
13
+ // transform token
14
+ $transform_scale-select: var(--semi-transform_scale-none);//选择框-变大
15
+ $transform_rotate-select-arrow: var(--semi-transform-rotate-none);//选择框-箭头-旋转
@@ -20,6 +20,7 @@ $multiple: #{$module}-multiple;
20
20
  align-items: center;
21
21
  cursor: pointer;
22
22
  box-sizing: border-box;
23
+ transition: background-color $transition_duration-select_option-bg $transition_function-select_option-bg $transition_delay-select_option-bg;
23
24
 
24
25
  &-icon {
25
26
  width: $width-select_option_tick;
@@ -1,6 +1,7 @@
1
1
  //@import '../theme/variables.scss';
2
- @import './option.scss';
3
2
  @import './variables.scss';
3
+ @import "./animation.scss";
4
+ @import './option.scss';
4
5
  @import './mixin.scss';
5
6
 
6
7
  $module: #{$prefix}-select;
@@ -21,7 +22,9 @@ $multiple: #{$module}-multiple;
21
22
  position: relative;
22
23
  outline: none;
23
24
  cursor: pointer;
24
-
25
+ transition: background-color $transition_duration-select-bg $transition_function-select-bg $transition_delay-select-bg,
26
+ border $transition_duration-select-border $transition_function-select-border $transition_delay-select-border;
27
+ transform:scale($transform_scale-select);
25
28
  &:hover {
26
29
  background-color: $color-select-bg-hover;
27
30
  border: $width-select-border-hover solid $color-select-border-hover;
@@ -259,6 +262,8 @@ $multiple: #{$module}-multiple;
259
262
  width: $width-select_arrow;
260
263
  color: $color-select-icon-default;
261
264
  flex-shrink: 0;
265
+ transform: rotate($transform_rotate-select-arrow);
266
+
262
267
 
263
268
  &-empty {
264
269
  // 不显示arrow时,右侧留出12px空白
@@ -91,14 +91,14 @@ $spacing-select_tag-marginRight: $spacing-extra-tight; // 多项选择器标签
91
91
  $spacing-select_tag-marginBottom: $spacing-super-tight - 1px; // 多项选择器标签底部外边距
92
92
  $spacing-select_selection-marginLeft: $spacing-base-tight; // 选择器内容区左侧外边距
93
93
  $spacing-select_insetLabel-marginRight: $spacing-base-tight; // 选择器内嵌标签右侧外边距
94
- $spacing-select_option_list-paddingTop: 0; // 选择器内容区顶部内边距
95
- $spacing-select_option_list-paddingRight: 0; // 选择器内容区右侧内边距
96
- $spacing-select_option_list-paddingBottom: 0; // 选择器内容区底部内边距
97
- $spacing-select_option_list-paddingLeft: 0; // 选择器内容区左侧内边距
94
+ $spacing-select_option_list-paddingTop: 0px; // 选择器内容区顶部内边距
95
+ $spacing-select_option_list-paddingRight: 0px; // 选择器内容区右侧内边距
96
+ $spacing-select_option_list-paddingBottom: 0px; // 选择器内容区底部内边距
97
+ $spacing-select_option_list-paddingLeft: 0px; // 选择器内容区左侧内边距
98
98
 
99
99
  // Radius
100
100
  $radius-select: var(--semi-border-radius-small); // 选择器输入框圆角
101
- $radius-select_option: 0; // 选择器待选项圆角
101
+ $radius-select_option: 0px; // 选择器待选项圆角
102
102
 
103
103
  // Font
104
104
  $font-select-fontWeight: $font-weight-regular; // 选择器文本字重
@@ -0,0 +1,7 @@
1
+ $transition_duration-sideSheet_mask-bg: var(--semi-transition_delay-fastest); // 侧边栏打开后-蒙层颜色-动画持续时间
2
+ $transition_function-sideSheet_mask-bg: var(--semi-transition_function-easeOut); // 侧边栏打开后-蒙层颜色-过渡曲线
3
+ $transition_delay-sideSheet_mask-bg: 0ms; // 侧边栏打开后-蒙层颜色-延迟时间
4
+
5
+ $transition_duration-sideSheet_inner: var(--semi-transition_delay-fastest); // 侧边栏-动画持续时间
6
+ $transition_function-sideSheet_inner: var(--semi-transition_function-easeOut); // 侧边栏-过渡曲线
7
+ $transition_delay-sideSheet_inner: 0ms; // 侧边栏-延迟时间
@@ -1,4 +1,5 @@
1
- @import "./variables.scss";
1
+ @import './variables.scss';
2
+ @import './animation.scss';
2
3
 
3
4
  $module: #{$prefix}-sidesheet;
4
5
 
@@ -85,6 +86,8 @@ $module: #{$prefix}-sidesheet;
85
86
  background-color: $color-sideSheet-bg;
86
87
  // background-clip: padding-box;
87
88
  border: 0;
89
+ transition: $transition_duration-sideSheet_inner $transition_function-sideSheet_inner
90
+ $transition_delay-sideSheet_inner;
88
91
  }
89
92
 
90
93
  &-header {
@@ -115,8 +118,12 @@ $module: #{$prefix}-sidesheet;
115
118
  width: 100%;
116
119
  height: 100%;
117
120
  background-color: $color-sideSheet_mask-bg;
121
+ opacity: 1;
122
+ transition: opacity $transition_duration-sideSheet_mask-bg $transition_function-sideSheet_mask-bg
123
+ $transition_delay-sideSheet_mask-bg;
118
124
 
119
125
  &-hidden {
126
+ opacity: 0;
120
127
  display: none;
121
128
  }
122
129
  }
@@ -168,4 +175,4 @@ $module: #{$prefix}-sidesheet;
168
175
  display: none;
169
176
  }
170
177
 
171
- @import "./rtl.scss";
178
+ @import './rtl.scss';
@@ -1,8 +1,7 @@
1
- @import "./variables.scss";
1
+ @import './variables.scss';
2
2
  $module: #{$prefix}-skeleton;
3
3
 
4
4
  .#{$module} {
5
-
6
5
  &-avatar,
7
6
  &-image,
8
7
  &-title,
@@ -101,7 +100,6 @@ $module: #{$prefix}-skeleton;
101
100
  }
102
101
 
103
102
  @keyframes skeleton-loading {
104
-
105
103
  0% {
106
104
  background-position: 100% 50%;
107
105
  }
@@ -112,4 +110,4 @@ $module: #{$prefix}-skeleton;
112
110
  }
113
111
  }
114
112
 
115
- @import "./rtl.scss";
113
+ @import './rtl.scss';
@@ -0,0 +1,7 @@
1
+ $transition_duration-slider_handle-bg: var(--semi-transition_duration-faster);//滑动条圆形按钮-背景色-动画持续时间
2
+ $transition_function-slider_handle-bg: var(--semi-transition_function-easeIn);//滑动条圆形按钮-背景色-过渡曲线
3
+ $transition_delay-slider_handle-bg: var(--semi-transition_delay-fastest);//滑动条圆形按钮-背景色-延迟时间
4
+
5
+ //transform token
6
+
7
+ $transform_scale-slider_handle: var(--semi-transform_scale-small);//滑动条圆形按钮-放大
@@ -1,5 +1,6 @@
1
1
  //@import '../theme/variables.scss';
2
- @import './variables.scss';
2
+ @import "./variables.scss";
3
+ @import "./animation.scss";
3
4
 
4
5
  $module: #{$prefix}-slider;
5
6
 
@@ -54,8 +55,8 @@ $module: #{$prefix}-slider;
54
55
  border: none;
55
56
  border-radius: 50%;
56
57
  cursor: pointer;
57
- transition: #fff 0.3s;
58
-
58
+ transition: background-color $transition_duration_slider_handle-bg $transition_function-slider-handle-bg $transition_delay-slider_handle-bg;
59
+ transform: scale($transform_scale-slider_handle);
59
60
  &:focus-visible {
60
61
  outline: $width-slider_handle-focus solid $color-slider_handle-focus;
61
62
  }
package/spin/spin.scss CHANGED
@@ -1,7 +1,7 @@
1
1
  //@import '../theme/variables.scss';
2
- @import "./variables.scss";
3
- @import "./mixin.scss";
4
- @import "../keyframes/rotate.scss";
2
+ @import './variables.scss';
3
+ @import './mixin.scss';
4
+ @import '../keyframes/rotate.scss';
5
5
 
6
6
  $module: #{$prefix}-spin;
7
7
 
@@ -18,7 +18,7 @@ $module: #{$prefix}-spin;
18
18
  top: $spacing-spin_wrapper-top;
19
19
  color: $color-spin-bg;
20
20
 
21
- &>svg {
21
+ & > svg {
22
22
  animation: $motion-spin_wrapper_svg-animationDuration linear infinite #{$prefix}-animation-rotate;
23
23
  @include size($width-spin_middle);
24
24
  }
@@ -40,7 +40,7 @@ $module: #{$prefix}-spin;
40
40
  // 添加一个遮罩解决嵌套 Spin 穿透问题
41
41
 
42
42
  &::after {
43
- content: "";
43
+ content: '';
44
44
  position: absolute;
45
45
  top: 0;
46
46
  left: 0;
@@ -60,13 +60,12 @@ $module: #{$prefix}-spin;
60
60
  }
61
61
 
62
62
  &-hidden {
63
-
64
63
  &::after {
65
64
  content: none;
66
65
  }
67
66
 
68
67
  // 考虑到嵌套,.spin-chidren 节点的 opacity 由直接父级节点的 .spin-hidden 决定
69
- &>.#{$module}-children {
68
+ & > .#{$module}-children {
70
69
  opacity: 1;
71
70
  user-select: auto;
72
71
  }
@@ -76,7 +75,7 @@ $module: #{$prefix}-spin;
76
75
  .#{$module}-small {
77
76
  @include size($width-spin_small);
78
77
 
79
- &>.#{$module}-wrapper svg {
78
+ & > .#{$module}-wrapper svg {
80
79
  @include size($width-spin_small);
81
80
  }
82
81
  }
@@ -84,7 +83,7 @@ $module: #{$prefix}-spin;
84
83
  .#{$module}-middle {
85
84
  @include size($width-spin_middle);
86
85
 
87
- &>.#{$module}-wrapper svg {
86
+ & > .#{$module}-wrapper svg {
88
87
  @include size($width-spin_middle);
89
88
  }
90
89
  }
@@ -92,7 +91,7 @@ $module: #{$prefix}-spin;
92
91
  .#{$module}-large {
93
92
  @include size($width-spin_large);
94
93
 
95
- &>.#{$module}-wrapper svg {
94
+ & > .#{$module}-wrapper svg {
96
95
  @include size($width-spin_large);
97
96
  }
98
97
  }
@@ -101,4 +100,4 @@ $module: #{$prefix}-spin;
101
100
  overflow: hidden;
102
101
  }
103
102
 
104
- @import "./rtl.scss";
103
+ @import './rtl.scss';
@@ -0,0 +1,17 @@
1
+ $transition_duration-steps_item_title-text: var(--semi-transition_duration-faster);//步骤条标题文字-背景色-动画持续时间
2
+ $transition_function-steps_item_title-text: var(--semi-transition_function-easeIn);//步骤条标题文字-背景色-过渡曲线
3
+ $transition_delay-steps_item_title-text: var(--semi-transition_delay-fastest);//步骤条标题文字-背景色-延迟时间
4
+
5
+ $transition_duration-steps_item_title-icon: var(--semi-transition_duration-faster);//步骤条标题文字-背景色-动画持续时间
6
+ $transition_function-steps_item_title-icon: var(--semi-transition_function-easeIn);//步骤条标题文字-背景色-过渡曲线
7
+ $transition_delay-steps_item_title-icon: var(--semi-transition_delay-fastest);//步骤条标题文字-背景色-延迟时间
8
+
9
+ $transition_duration-steps_item_backgroundColor: var(--semi-transition_duration-faster);//步骤条标题文字-背景色-动画持续时间
10
+ $transition_function-steps_item_backgroundColor: var(--semi-transition_function-easeIn);//步骤条标题文字-背景色-过渡曲线
11
+ $transition_delay-steps_item_backgroundColor: var(--semi-transition_delay-fastest);//步骤条标题文字-背景色-延迟时间
12
+
13
+
14
+
15
+ //transform token
16
+
17
+ $transform_scale-step-item: var(--semi-transform_scale-small);//步骤条item-放大
@@ -69,9 +69,11 @@ $basicType: #{$module}-basic;
69
69
 
70
70
  .#{$item}-title {
71
71
  max-width: $width-steps_basic_item_title-maxWidth;
72
-
72
+
73
73
  .#{$item}-title-text {
74
74
  @include text-overflow-hidden;
75
+ transition: color $transition_duration-steps_item_title-text $transition_function-steps_item_title-text $transition_delay-steps_item_title-text
76
+
75
77
  }
76
78
  }
77
79
 
@@ -166,6 +168,10 @@ $basicType: #{$module}-basic;
166
168
  overflow: hidden;
167
169
  flex: 1;
168
170
  cursor: pointer;
171
+ transition: color $transition_duration-steps_item_title-text $transition_function-steps_item_title-text $transition_delay-steps_item_title-text, //step文字color的transition变化
172
+ background-color $transition_duration-steps_item-backgroundColor $transition_function-steps_item_backgroundColor $transition_delay-steps_item_backgroundColor; //step backgroundColor 的transition变化
173
+
174
+ transform:scale($transform_scale-step-item);
169
175
 
170
176
  &:hover {
171
177
 
@@ -187,7 +193,7 @@ $basicType: #{$module}-basic;
187
193
  justify-content: center;
188
194
  align-items: center;
189
195
  margin-right: $spacing-steps_basic_item_left-marginRight;
190
-
196
+
191
197
 
192
198
  .#{$item}-icon {
193
199
  display: flex;
@@ -206,7 +212,7 @@ $basicType: #{$module}-basic;
206
212
  background: $color-steps_item_left_number_icon-bg;
207
213
  border-radius: $radius-steps_basic_item_left_number_icon;
208
214
  color: $color-steps_item_left_number_icon-icon;
209
-
215
+ transition: color $transition_duration-steps_item_title-icon $transition_function-steps_item_title-icon $transition_delay-steps_item_title-icon; //step icon color的transition变化
210
216
  }
211
217
  }
212
218
 
@@ -221,6 +227,8 @@ $basicType: #{$module}-basic;
221
227
  vertical-align: top;
222
228
  padding-right: $spacing-steps_basic_item_title-paddingRight;
223
229
  padding-bottom: $spacing-steps_basic_item_title-paddingBottom;
230
+ transition: color $transition_duration-steps_item_title-text $transition_function-steps_item_title-text $transition_delay-steps_item_title-text; //step文字color的transition变化
231
+
224
232
  }
225
233
 
226
234
  // 完成状态的样式
@@ -39,7 +39,10 @@ $module: #{$prefix}-steps;
39
39
  border: $width-steps_item-border solid $color-steps-border-default;
40
40
  border-radius: $radius-steps_item;
41
41
  padding: $spacing-steps_item-paddingY $spacing-steps_item-paddingX;
42
-
42
+ transition: color $transition_duration-steps_item_title-text $transition_function-steps_item_title-text $transition_delay-steps_item_title-text; // item 字体颜色动效
43
+ transform:scale($transform_scale-step-item);
44
+ transition: background-color $transition_duration-steps_item-backgroundColor $transition_function-steps_item_backgroundColor $transition_delay-steps_item_backgroundColor; //step backgroundColor 的transition变化
45
+
43
46
  .#{$module}-item-title {
44
47
  position: relative;
45
48
  // display: inline-block;
@@ -48,6 +51,8 @@ $module: #{$prefix}-steps;
48
51
  width: $width-steps_item_title;
49
52
  @include text-overflow-hidden;
50
53
  color: $color-steps_main-text-default;
54
+ transition: color $transition_duration-steps_item_title-text $transition_function-steps_item_title-text $transition_delay-steps_item_title-text
55
+
51
56
  }
52
57
 
53
58
  .#{$module}-item-description {
@@ -8,7 +8,7 @@ $basicType: #{$module}-nav;
8
8
 
9
9
  .#{$item} {
10
10
  @include box-sizing;
11
-
11
+
12
12
  &:last-child {
13
13
  flex: none;
14
14
 
package/steps/steps.scss CHANGED
@@ -2,6 +2,7 @@
2
2
  // @import '../theme/mixin.scss';
3
3
  // @import '../theme/font.scss';
4
4
  @import "./variables.scss";
5
+ @import "./animation.scss";
5
6
  @import "./fillSteps.scss";
6
7
  @import "./bacisSteps.scss";
7
8
  @import "./navSteps.scss";
@@ -0,0 +1,4 @@
1
+ $transition_duration-switch-bg: 200ms;//开关-背景色-动画持续时间
2
+ $transition_function-switch-bg: var(--semi-transition_function-easeIn);//开关-背景色-过渡曲线
3
+ $transition_delay-switch-bg: var(--semi-transition_delay-fastest);//开关-背景色-延迟时间
4
+
@@ -30,8 +30,8 @@ export default class SwitchFoundation<P = Record<string, any>, S = Record<string
30
30
 
31
31
  handleChange(checked: boolean, e: any): void {
32
32
  const propChecked = this.getProps().checked;
33
- const isControledComponent = typeof propChecked !== 'undefined';
34
- if (isControledComponent) {
33
+ const isControlledComponent = typeof propChecked !== 'undefined';
34
+ if (isControlledComponent) {
35
35
  this._adapter.notifyChange(checked, e);
36
36
  } else {
37
37
  this._adapter.setNativeControlChecked(checked);
@@ -1,4 +1,5 @@
1
1
  @import './variables.scss';
2
+ @import "./animation.scss";
2
3
 
3
4
  $module: #{$prefix}-switch;
4
5
 
@@ -11,7 +12,9 @@ $module: #{$prefix}-switch;
11
12
  cursor: pointer;
12
13
  background-color: $color-switch_default-bg-default;
13
14
  // box-shadow: inset 0 0 0 0 $color-switch_default-bg-success;
14
- transition: background-color $motion-switch-transitionDuration ease-in-out;
15
+ //transition: background-color $motion-switch-transitionDuration ease-in-out;
16
+ transition: background-color $transition_duration-switch-bg $transition_function-switch-bg $transition_delay_switch-bg;
17
+
15
18
  width: $width-switch;
16
19
  height: $height-switch;
17
20
 
@@ -0,0 +1,3 @@
1
+ $transition_duration-table_body-bg: var(--semi-transition_duration-faster); // 表格-背景颜色-动画持续时间
2
+ $transition_function-table_body-bg: var(--semi-transition_function-easeOut); // 表格-背景颜色-过渡曲线
3
+ $transition_delay-table_body-bg: 0ms; // 表格-背景颜色-延迟时间
package/table/table.scss CHANGED
@@ -1,6 +1,7 @@
1
- @import "./variables.scss";
2
- @import "./mixin.scss";
3
- @import "./operationPanel.scss";
1
+ @import './variables.scss';
2
+ @import './mixin.scss';
3
+ @import './operationPanel.scss';
4
+ @import './animation.scss';
4
5
 
5
6
  $module: #{$prefix}-table;
6
7
 
@@ -23,7 +24,7 @@ $module: #{$prefix}-table;
23
24
  color: $color-table-text-default;
24
25
  width: 100%;
25
26
 
26
- &[data-column-fixed=true] {
27
+ &[data-column-fixed='true'] {
27
28
  z-index: 1;
28
29
  }
29
30
  }
@@ -76,7 +77,6 @@ $module: #{$prefix}-table;
76
77
  display: table-column;
77
78
  }
78
79
  .#{$module}-column {
79
-
80
80
  &-expand,
81
81
  &-selection {
82
82
  width: $width-table_column_selection;
@@ -102,7 +102,6 @@ $module: #{$prefix}-table;
102
102
  position: relative;
103
103
 
104
104
  &.#{$module}-cell-fixed {
105
-
106
105
  &-left,
107
106
  &-right {
108
107
  z-index: $z-table_fixed_column;
@@ -111,7 +110,7 @@ $module: #{$prefix}-table;
111
110
 
112
111
  &::before {
113
112
  background-color: $color-table_th-bg-default;
114
- content: "";
113
+ content: '';
115
114
  position: absolute;
116
115
  left: 0;
117
116
  top: 0;
@@ -141,7 +140,7 @@ $module: #{$prefix}-table;
141
140
 
142
141
  // scroll-bar 列无需有box-shadow
143
142
 
144
- &[x-type="column-scrollbar"] {
143
+ &[x-type='column-scrollbar'] {
145
144
  box-shadow: none;
146
145
  border-left: transparent;
147
146
  }
@@ -152,7 +151,7 @@ $module: #{$prefix}-table;
152
151
  text-align: center;
153
152
  }
154
153
 
155
- &[colspan]:not([colspan="1"]) {
154
+ &[colspan]:not([colspan='1']) {
156
155
  text-align: center;
157
156
  }
158
157
 
@@ -198,14 +197,13 @@ $module: #{$prefix}-table;
198
197
  background-color: $color-table_body-bg-hover;
199
198
 
200
199
  &.#{$module}-cell-fixed {
201
-
202
200
  &-left,
203
201
  &-right {
204
202
  background-color: $color-table_body-bg-default;
205
203
 
206
204
  &::before {
207
205
  background-color: $color-table_body-bg-hover;
208
- content: "";
206
+ content: '';
209
207
  position: absolute;
210
208
  left: 0;
211
209
  top: 0;
@@ -236,7 +234,6 @@ $module: #{$prefix}-table;
236
234
  }
237
235
  }
238
236
  &.#{$module}-row {
239
-
240
237
  &-expand {
241
238
  & > .#{$module}-row-cell {
242
239
  background-color: $color-table_row_expanded-bg-default;
@@ -245,10 +242,9 @@ $module: #{$prefix}-table;
245
242
  }
246
243
 
247
244
  & > .#{$module}-cell-fixed {
248
-
249
245
  &-left,
250
246
  &-right {
251
- z-index: $z-table_fixed_column;;
247
+ z-index: $z-table_fixed_column;
252
248
  position: sticky;
253
249
  background-color: $color-table-bg-default;
254
250
  }
@@ -262,6 +258,16 @@ $module: #{$prefix}-table;
262
258
  border-left: $width-table_cell_fixed_right_first solid $color-table_shadow-border-default;
263
259
  box-shadow: #{$shadow-table_left};
264
260
  }
261
+
262
+ & > * {
263
+ transition: background-color $transition_duration-table_body-bg $transition_function-table_body-bg
264
+ $transition_delay-table_body-bg;
265
+ }
266
+ }
267
+
268
+ & > * {
269
+ transition: background-color $transition_duration-table_body-bg $transition_function-table_body-bg
270
+ $transition_delay-table_body-bg;
265
271
  }
266
272
  }
267
273
 
@@ -322,7 +328,6 @@ $module: #{$prefix}-table;
322
328
  }
323
329
 
324
330
  .#{$module}-selection {
325
-
326
331
  &-wrap {
327
332
  // inline-flex vertical-align baseline 会导致父元素高度异常
328
333
  display: inline-flex;
@@ -339,7 +344,6 @@ $module: #{$prefix}-table;
339
344
  }
340
345
 
341
346
  .#{$module}-column {
342
-
343
347
  &-hidden {
344
348
  display: none;
345
349
  }
@@ -433,7 +437,6 @@ $module: #{$prefix}-table;
433
437
  }
434
438
 
435
439
  .#{$module}-header {
436
-
437
440
  &::-webkit-scrollbar {
438
441
  border-right: $border-table;
439
442
  }
@@ -446,7 +449,6 @@ $module: #{$prefix}-table;
446
449
  }
447
450
 
448
451
  .#{$module}-thead > .#{$module}-row > .#{$module}-row-head {
449
-
450
452
  .react-resizable-handle {
451
453
  background-color: transparent;
452
454
  }
@@ -496,7 +498,6 @@ $module: #{$prefix}-table;
496
498
 
497
499
  // when header is fixed, table should use `table-layout: fixed` to avoid align bug
498
500
  &-header {
499
-
500
501
  table {
501
502
  table-layout: fixed;
502
503
  }
@@ -504,9 +505,7 @@ $module: #{$prefix}-table;
504
505
  }
505
506
 
506
507
  &-scroll {
507
-
508
508
  &-position {
509
-
510
509
  &-left {
511
510
  .#{$module}-tbody,
512
511
  .#{$module}-thead {
@@ -550,4 +549,4 @@ $module: #{$prefix}-table;
550
549
  }
551
550
  }
552
551
 
553
- @import "./rtl.scss";
552
+ @import './rtl.scss';