@qn-pandora/pandora-component 5.1.0 → 5.1.2

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 (280) hide show
  1. package/README.md +36 -36
  2. package/es/components/AutoComplete/index.js +2 -2
  3. package/es/components/AutoComplete/style.css +127 -39
  4. package/es/components/AutoComplete/style.less +8 -8
  5. package/es/components/Breadcrumb/style.css +13 -3
  6. package/es/components/Breadcrumb/style.less +9 -9
  7. package/es/components/Button/style.css +282 -176
  8. package/es/components/Button/style.less +51 -51
  9. package/es/components/Card/RowExtra/style.css +6 -0
  10. package/es/components/Card/RowExtra/style.less +8 -8
  11. package/es/components/Card/SearchInput/style.less +8 -8
  12. package/es/components/Card/style.css +61 -66
  13. package/es/components/Card/style.less +11 -11
  14. package/es/components/CheckTransformList/style.css +345 -121
  15. package/es/components/CheckTransformList/style.less +35 -35
  16. package/es/components/Checkbox/index.js +9 -1
  17. package/es/components/Checkbox/style.css +5 -0
  18. package/es/components/Checkbox/style.less +5 -5
  19. package/es/components/CheckboxList/style.css +10 -5
  20. package/es/components/CheckboxList/style.less +11 -11
  21. package/es/components/Collapse/style.css +35 -3
  22. package/es/components/Collapse/style.less +58 -58
  23. package/es/components/CollapsiblePanel/style.less +63 -63
  24. package/es/components/DateTimePicker/Base/index.d.ts +3 -0
  25. package/es/components/DateTimePicker/Base/index.js +51 -6
  26. package/es/components/DateTimePicker/Base/style.css +508 -112
  27. package/es/components/DateTimePicker/Base/style.less +167 -160
  28. package/es/components/DateTimePicker/BaseMobile/Absolute/style.less +35 -35
  29. package/es/components/DateTimePicker/BaseMobile/style.less +32 -32
  30. package/es/components/DateTimePicker/Collapse/Panel/style.less +26 -26
  31. package/es/components/DateTimePicker/DisplayInput/index.js +3 -1
  32. package/es/components/DateTimePicker/DisplayInput/style.css +231 -53
  33. package/es/components/DateTimePicker/DisplayInput/style.less +9 -9
  34. package/es/components/DateTimePicker/constants.d.ts +9 -3
  35. package/es/components/DateTimePicker/constants.js +1 -0
  36. package/es/components/DateTimePicker/index.js +1 -1
  37. package/es/components/DateTimePicker/style.css +77 -46
  38. package/es/components/DateTimePicker/style.less +19 -19
  39. package/es/components/DateTimePicker/time.d.ts +1 -0
  40. package/es/components/DateTimePicker/time.js +1 -0
  41. package/es/components/DateTimePicker/transform.js +4 -2
  42. package/es/components/Descriptions/style.css +77 -46
  43. package/es/components/Descriptions/style.less +16 -16
  44. package/es/components/Drawer/CloseIcon/style.less +8 -8
  45. package/es/components/Drawer/index.d.ts +6 -6
  46. package/es/components/Drawer/index.js +4 -4
  47. package/es/components/Drawer/style.css +244 -169
  48. package/es/components/Drawer/style.less +69 -61
  49. package/es/components/FileResumable/index.js +2 -3
  50. package/es/components/FileResumable/style.css +20 -50
  51. package/es/components/FileResumable/style.less +94 -94
  52. package/es/components/FlameGraph/customTooltip.d.ts +22 -0
  53. package/es/components/FlameGraph/customTooltip.js +91 -0
  54. package/es/components/FlameGraph/index.d.ts +16 -0
  55. package/es/components/FlameGraph/index.js +96 -0
  56. package/es/components/FlameGraph/style.css +8 -0
  57. package/es/components/FlameGraph/style.less +14 -0
  58. package/es/components/Input/index.d.ts +1 -1
  59. package/es/components/Input/style.css +231 -53
  60. package/es/components/Input/style.less +12 -12
  61. package/es/components/KeyValuePair/style.less +25 -25
  62. package/es/components/Menu/Option.d.ts +1 -1
  63. package/es/components/Menu/Option.js +12 -4
  64. package/es/components/Menu/style.css +31 -22
  65. package/es/components/Menu/style.less +18 -18
  66. package/es/components/Modal/style.css +11 -8
  67. package/es/components/Modal/style.less +30 -30
  68. package/es/components/NameExplainTooltip/style.css +1 -1
  69. package/es/components/NameExplainTooltip/style.less +10 -10
  70. package/es/components/NameLimiter/index.js +1 -1
  71. package/es/components/NameLimiter/style.css +83 -55
  72. package/es/components/NameLimiter/style.less +19 -19
  73. package/es/components/OptionList/InlineOptionList/style.css +22 -9
  74. package/es/components/OptionList/InlineOptionList/style.less +16 -16
  75. package/es/components/OptionList/OptionItem/style.css +85 -57
  76. package/es/components/OptionList/OptionItem/style.less +25 -25
  77. package/es/components/OptionList/PopoverOptionList/index.js +1 -1
  78. package/es/components/OptionList/PopoverOptionList/style.css +80 -49
  79. package/es/components/OptionList/PopoverOptionList/style.less +30 -30
  80. package/es/components/OptionList/style.css +187 -115
  81. package/es/components/OptionList/style.less +3 -3
  82. package/es/components/RadioGroup/style.css +51 -40
  83. package/es/components/RadioGroup/style.less +41 -41
  84. package/es/components/RangeInput/style.css +604 -87
  85. package/es/components/RangeInput/style.less +37 -37
  86. package/es/components/RemarkName/style.css +83 -55
  87. package/es/components/RemarkName/style.less +2 -2
  88. package/es/components/Selector/style.css +127 -39
  89. package/es/components/Selector/style.less +99 -99
  90. package/es/components/Spin/style.css +10 -8
  91. package/es/components/Spin/style.less +26 -26
  92. package/es/components/Steps/ControlButton/style.less +5 -5
  93. package/es/components/Steps/style.css +59 -21
  94. package/es/components/Steps/style.less +48 -48
  95. package/es/components/Table/ColumnSetting/index.d.ts +1 -0
  96. package/es/components/Table/ColumnSetting/index.js +19 -14
  97. package/es/components/Table/ColumnSetting/style.css +2 -5
  98. package/es/components/Table/ColumnSetting/style.less +50 -51
  99. package/es/components/Table/ColumnTag/style.css +4 -4
  100. package/es/components/Table/ColumnTag/style.less +40 -40
  101. package/es/components/Table/EmptyText.d.ts +7 -0
  102. package/es/components/Table/EmptyText.js +22 -0
  103. package/es/components/Table/ResizableTitle/style.less +25 -25
  104. package/es/components/Table/index.d.ts +19 -88
  105. package/es/components/Table/index.js +142 -326
  106. package/es/components/Table/style.css +146 -98
  107. package/es/components/Table/style.less +364 -345
  108. package/es/components/Table/type.d.ts +63 -0
  109. package/es/components/Table/type.js +5 -0
  110. package/es/components/Table/util.d.ts +58 -0
  111. package/es/components/Table/util.js +218 -0
  112. package/es/components/Tabs/style.css +127 -78
  113. package/es/components/Tabs/style.less +33 -33
  114. package/es/components/TagList/Tag/style.css +5 -5
  115. package/es/components/TagList/Tag/style.less +72 -72
  116. package/es/components/TagList/TagSwitch/style.css +1 -1
  117. package/es/components/TagList/TagSwitch/style.less +28 -28
  118. package/es/components/TagList/style.css +6 -6
  119. package/es/components/TagList/style.less +28 -28
  120. package/es/components/Timeline/TimelineItem/style.css +1 -1
  121. package/es/components/Timeline/TimelineItem/style.less +49 -49
  122. package/es/components/Timeline/style.less +23 -23
  123. package/es/components/TopologyChart/index.d.ts +7 -0
  124. package/es/components/TopologyChart/index.js +19 -0
  125. package/es/components/TopologyChart/style.css +14 -0
  126. package/es/components/TopologyChart/style.less +14 -0
  127. package/es/components/Transfer/List/style.less +19 -19
  128. package/es/components/Transfer/ListBody/style.less +18 -18
  129. package/es/components/Transfer/style.less +14 -14
  130. package/es/components/TreeSelector/style.css +42 -30
  131. package/es/components/TreeSelector/style.less +56 -56
  132. package/es/constants/language/datetime/en.js +4 -2
  133. package/es/constants/language/datetime/type.d.ts +4 -2
  134. package/es/constants/language/datetime/zh.js +4 -2
  135. package/es/index.css +9067 -7963
  136. package/es/index.d.ts +2 -0
  137. package/es/index.js +2 -0
  138. package/es/index.less +56 -54
  139. package/es/style/mixin.less +45 -45
  140. package/es/style/theme.less +416 -416
  141. package/lib/components/AutoComplete/index.js +2 -2
  142. package/lib/components/AutoComplete/style.css +127 -39
  143. package/lib/components/AutoComplete/style.less +8 -8
  144. package/lib/components/Breadcrumb/style.css +13 -3
  145. package/lib/components/Breadcrumb/style.less +9 -9
  146. package/lib/components/Button/style.css +282 -176
  147. package/lib/components/Button/style.less +51 -51
  148. package/lib/components/Card/RowExtra/style.css +6 -0
  149. package/lib/components/Card/RowExtra/style.less +8 -8
  150. package/lib/components/Card/SearchInput/style.less +8 -8
  151. package/lib/components/Card/style.css +61 -66
  152. package/lib/components/Card/style.less +11 -11
  153. package/lib/components/CheckTransformList/style.css +345 -121
  154. package/lib/components/CheckTransformList/style.less +35 -35
  155. package/lib/components/Checkbox/index.js +9 -1
  156. package/lib/components/Checkbox/style.css +5 -0
  157. package/lib/components/Checkbox/style.less +5 -5
  158. package/lib/components/CheckboxList/style.css +10 -5
  159. package/lib/components/CheckboxList/style.less +11 -11
  160. package/lib/components/Collapse/style.css +35 -3
  161. package/lib/components/Collapse/style.less +58 -58
  162. package/lib/components/CollapsiblePanel/style.less +63 -63
  163. package/lib/components/DateTimePicker/Base/index.d.ts +3 -0
  164. package/lib/components/DateTimePicker/Base/index.js +51 -6
  165. package/lib/components/DateTimePicker/Base/style.css +508 -112
  166. package/lib/components/DateTimePicker/Base/style.less +167 -160
  167. package/lib/components/DateTimePicker/BaseMobile/Absolute/style.less +35 -35
  168. package/lib/components/DateTimePicker/BaseMobile/style.less +32 -32
  169. package/lib/components/DateTimePicker/Collapse/Panel/style.less +26 -26
  170. package/lib/components/DateTimePicker/DisplayInput/index.js +3 -1
  171. package/lib/components/DateTimePicker/DisplayInput/style.css +231 -53
  172. package/lib/components/DateTimePicker/DisplayInput/style.less +9 -9
  173. package/lib/components/DateTimePicker/constants.d.ts +9 -3
  174. package/lib/components/DateTimePicker/constants.js +1 -0
  175. package/lib/components/DateTimePicker/index.js +1 -1
  176. package/lib/components/DateTimePicker/style.css +77 -46
  177. package/lib/components/DateTimePicker/style.less +19 -19
  178. package/lib/components/DateTimePicker/time.d.ts +1 -0
  179. package/lib/components/DateTimePicker/time.js +1 -0
  180. package/lib/components/DateTimePicker/transform.js +4 -2
  181. package/lib/components/Descriptions/style.css +77 -46
  182. package/lib/components/Descriptions/style.less +16 -16
  183. package/lib/components/Drawer/CloseIcon/style.less +8 -8
  184. package/lib/components/Drawer/index.d.ts +6 -6
  185. package/lib/components/Drawer/index.js +4 -4
  186. package/lib/components/Drawer/style.css +244 -169
  187. package/lib/components/Drawer/style.less +69 -61
  188. package/lib/components/FileResumable/index.js +2 -3
  189. package/lib/components/FileResumable/style.css +20 -50
  190. package/lib/components/FileResumable/style.less +94 -94
  191. package/lib/components/FlameGraph/customTooltip.d.ts +22 -0
  192. package/lib/components/FlameGraph/customTooltip.js +114 -0
  193. package/lib/components/FlameGraph/index.d.ts +16 -0
  194. package/lib/components/FlameGraph/index.js +117 -0
  195. package/lib/components/FlameGraph/style.css +8 -0
  196. package/lib/components/FlameGraph/style.less +14 -0
  197. package/lib/components/Input/index.d.ts +1 -1
  198. package/lib/components/Input/style.css +231 -53
  199. package/lib/components/Input/style.less +12 -12
  200. package/lib/components/KeyValuePair/style.less +25 -25
  201. package/lib/components/Menu/Option.d.ts +1 -1
  202. package/lib/components/Menu/Option.js +17 -25
  203. package/lib/components/Menu/style.css +31 -22
  204. package/lib/components/Menu/style.less +18 -18
  205. package/lib/components/Modal/style.css +11 -8
  206. package/lib/components/Modal/style.less +30 -30
  207. package/lib/components/NameExplainTooltip/style.css +1 -1
  208. package/lib/components/NameExplainTooltip/style.less +10 -10
  209. package/lib/components/NameLimiter/index.js +1 -1
  210. package/lib/components/NameLimiter/style.css +83 -55
  211. package/lib/components/NameLimiter/style.less +19 -19
  212. package/lib/components/OptionList/InlineOptionList/style.css +22 -9
  213. package/lib/components/OptionList/InlineOptionList/style.less +16 -16
  214. package/lib/components/OptionList/OptionItem/style.css +85 -57
  215. package/lib/components/OptionList/OptionItem/style.less +25 -25
  216. package/lib/components/OptionList/PopoverOptionList/index.js +1 -1
  217. package/lib/components/OptionList/PopoverOptionList/style.css +80 -49
  218. package/lib/components/OptionList/PopoverOptionList/style.less +30 -30
  219. package/lib/components/OptionList/style.css +187 -115
  220. package/lib/components/OptionList/style.less +3 -3
  221. package/lib/components/RadioGroup/style.css +51 -40
  222. package/lib/components/RadioGroup/style.less +41 -41
  223. package/lib/components/RangeInput/style.css +604 -87
  224. package/lib/components/RangeInput/style.less +37 -37
  225. package/lib/components/RemarkName/style.css +83 -55
  226. package/lib/components/RemarkName/style.less +2 -2
  227. package/lib/components/Selector/style.css +127 -39
  228. package/lib/components/Selector/style.less +99 -99
  229. package/lib/components/Spin/style.css +10 -8
  230. package/lib/components/Spin/style.less +26 -26
  231. package/lib/components/Steps/ControlButton/style.less +5 -5
  232. package/lib/components/Steps/style.css +59 -21
  233. package/lib/components/Steps/style.less +48 -48
  234. package/lib/components/Table/ColumnSetting/index.d.ts +1 -0
  235. package/lib/components/Table/ColumnSetting/index.js +19 -14
  236. package/lib/components/Table/ColumnSetting/style.css +2 -5
  237. package/lib/components/Table/ColumnSetting/style.less +50 -51
  238. package/lib/components/Table/ColumnTag/style.css +4 -4
  239. package/lib/components/Table/ColumnTag/style.less +40 -40
  240. package/lib/components/Table/EmptyText.d.ts +7 -0
  241. package/lib/components/Table/EmptyText.js +27 -0
  242. package/lib/components/Table/ResizableTitle/style.less +25 -25
  243. package/lib/components/Table/index.d.ts +19 -88
  244. package/lib/components/Table/index.js +145 -327
  245. package/lib/components/Table/style.css +146 -98
  246. package/lib/components/Table/style.less +364 -345
  247. package/lib/components/Table/type.d.ts +63 -0
  248. package/lib/components/Table/type.js +8 -0
  249. package/lib/components/Table/util.d.ts +58 -0
  250. package/lib/components/Table/util.js +227 -0
  251. package/lib/components/Tabs/style.css +127 -78
  252. package/lib/components/Tabs/style.less +33 -33
  253. package/lib/components/TagList/Tag/style.css +5 -5
  254. package/lib/components/TagList/Tag/style.less +72 -72
  255. package/lib/components/TagList/TagSwitch/style.css +1 -1
  256. package/lib/components/TagList/TagSwitch/style.less +28 -28
  257. package/lib/components/TagList/style.css +6 -6
  258. package/lib/components/TagList/style.less +28 -28
  259. package/lib/components/Timeline/TimelineItem/style.css +1 -1
  260. package/lib/components/Timeline/TimelineItem/style.less +49 -49
  261. package/lib/components/Timeline/style.less +23 -23
  262. package/lib/components/TopologyChart/index.d.ts +7 -0
  263. package/lib/components/TopologyChart/index.js +28 -0
  264. package/lib/components/TopologyChart/style.css +14 -0
  265. package/lib/components/TopologyChart/style.less +14 -0
  266. package/lib/components/Transfer/List/style.less +19 -19
  267. package/lib/components/Transfer/ListBody/style.less +18 -18
  268. package/lib/components/Transfer/style.less +14 -14
  269. package/lib/components/TreeSelector/style.css +42 -30
  270. package/lib/components/TreeSelector/style.less +56 -56
  271. package/lib/constants/language/datetime/en.js +4 -2
  272. package/lib/constants/language/datetime/type.d.ts +4 -2
  273. package/lib/constants/language/datetime/zh.js +4 -2
  274. package/lib/index.css +4782 -3678
  275. package/lib/index.d.ts +2 -0
  276. package/lib/index.js +8 -1
  277. package/lib/index.less +56 -54
  278. package/lib/style/mixin.less +45 -45
  279. package/lib/style/theme.less +416 -416
  280. package/package.json +10 -6
@@ -393,10 +393,10 @@
393
393
  cursor: pointer;
394
394
  }
395
395
  .ant-tabs-dropdown-menu-item-remove:hover {
396
- color: #2c6dd2;
396
+ color: #436bff;
397
397
  }
398
398
  .ant-tabs-dropdown-menu-item:hover {
399
- background: rgba(44, 109, 210, 0.05);
399
+ background: rgba(67, 107, 255, 0.05);
400
400
  }
401
401
  .ant-tabs-dropdown-menu-item-disabled,
402
402
  .ant-tabs-dropdown-menu-item-disabled:hover {
@@ -415,7 +415,7 @@
415
415
  }
416
416
  .ant-tabs-card > .ant-tabs-nav .ant-tabs-tab-active,
417
417
  .ant-tabs-card > div > .ant-tabs-nav .ant-tabs-tab-active {
418
- color: #7a869a;
418
+ color: #436bff;
419
419
  background: #ffffff;
420
420
  }
421
421
  .ant-tabs-card > .ant-tabs-nav .ant-tabs-ink-bar,
@@ -481,7 +481,6 @@
481
481
  display: -webkit-box;
482
482
  display: -ms-flexbox;
483
483
  display: flex;
484
- overflow: hidden;
485
484
  }
486
485
  .ant-tabs > .ant-tabs-nav,
487
486
  .ant-tabs > div > .ant-tabs-nav {
@@ -583,13 +582,13 @@
583
582
  }
584
583
  .ant-tabs > .ant-tabs-nav .ant-tabs-nav-add:hover,
585
584
  .ant-tabs > div > .ant-tabs-nav .ant-tabs-nav-add:hover {
586
- color: #2c6dd2;
585
+ color: #436bff;
587
586
  }
588
587
  .ant-tabs > .ant-tabs-nav .ant-tabs-nav-add:active,
589
588
  .ant-tabs > div > .ant-tabs-nav .ant-tabs-nav-add:active,
590
589
  .ant-tabs > .ant-tabs-nav .ant-tabs-nav-add:focus,
591
590
  .ant-tabs > div > .ant-tabs-nav .ant-tabs-nav-add:focus {
592
- color: #2c6dd2;
591
+ color: #436bff;
593
592
  }
594
593
  .ant-tabs-extra-content {
595
594
  -webkit-box-flex: 0;
@@ -604,7 +603,7 @@
604
603
  }
605
604
  .ant-tabs-ink-bar {
606
605
  position: absolute;
607
- background: #2c6dd2;
606
+ background: #436bff;
608
607
  pointer-events: none;
609
608
  }
610
609
  .ant-tabs-tab {
@@ -626,7 +625,7 @@
626
625
  .ant-tabs-tab-remove:focus,
627
626
  .ant-tabs-tab-btn:active,
628
627
  .ant-tabs-tab-remove:active {
629
- color: #2c6dd2;
628
+ color: #436bff;
630
629
  }
631
630
  .ant-tabs-tab-btn {
632
631
  outline: none;
@@ -652,11 +651,11 @@
652
651
  color: #333;
653
652
  }
654
653
  .ant-tabs-tab:hover {
655
- color: #2c6dd2;
654
+ color: #436bff;
656
655
  }
657
656
  .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
658
- color: #2c6dd2;
659
- text-shadow: 0 0 0.25px currentColor;
657
+ color: #436bff;
658
+ text-shadow: 0 0 0.25px currentcolor;
660
659
  }
661
660
  .ant-tabs-tab.ant-tabs-tab-disabled {
662
661
  color: rgba(0, 0, 0, 0.25);
@@ -678,9 +677,7 @@
678
677
  margin: 0 0 0 32px;
679
678
  }
680
679
  .ant-tabs-content {
681
- display: -webkit-box;
682
- display: -ms-flexbox;
683
- display: flex;
680
+ position: relative;
684
681
  width: 100%;
685
682
  }
686
683
  .ant-tabs-content-holder {
@@ -690,17 +687,41 @@
690
687
  min-width: 0;
691
688
  min-height: 0;
692
689
  }
693
- .ant-tabs-content-animated {
694
- -webkit-transition: margin 0.3s;
695
- transition: margin 0.3s;
696
- }
697
690
  .ant-tabs-tabpane {
698
- -webkit-box-flex: 0;
699
- -ms-flex: none;
700
- flex: none;
701
- width: 100%;
702
691
  outline: none;
703
692
  }
693
+ .ant-tabs-tabpane-hidden {
694
+ display: none;
695
+ }
696
+ .ant-tabs-switch-appear,
697
+ .ant-tabs-switch-enter {
698
+ -webkit-transition: none;
699
+ transition: none;
700
+ }
701
+ .ant-tabs-switch-appear-start,
702
+ .ant-tabs-switch-enter-start {
703
+ opacity: 0;
704
+ }
705
+ .ant-tabs-switch-appear-active,
706
+ .ant-tabs-switch-enter-active {
707
+ opacity: 1;
708
+ -webkit-transition: opacity 0.3s;
709
+ transition: opacity 0.3s;
710
+ }
711
+ .ant-tabs-switch-leave {
712
+ position: absolute;
713
+ -webkit-transition: none;
714
+ transition: none;
715
+ inset: 0;
716
+ }
717
+ .ant-tabs-switch-leave-start {
718
+ opacity: 1;
719
+ }
720
+ .ant-tabs-switch-leave-active {
721
+ opacity: 0;
722
+ -webkit-transition: opacity 0.3s;
723
+ transition: opacity 0.3s;
724
+ }
704
725
  .ant-tooltip {
705
726
  -webkit-box-sizing: border-box;
706
727
  box-sizing: border-box;
@@ -719,31 +740,35 @@
719
740
  width: -webkit-max-content;
720
741
  width: -moz-max-content;
721
742
  width: max-content;
743
+ width: intrinsic;
722
744
  max-width: 250px;
723
745
  visibility: visible;
724
746
  }
747
+ .ant-tooltip-content {
748
+ position: relative;
749
+ }
725
750
  .ant-tooltip-hidden {
726
751
  display: none;
727
752
  }
728
753
  .ant-tooltip-placement-top,
729
754
  .ant-tooltip-placement-topLeft,
730
755
  .ant-tooltip-placement-topRight {
731
- padding-bottom: 8px;
756
+ padding-bottom: 14.3137085px;
732
757
  }
733
758
  .ant-tooltip-placement-right,
734
759
  .ant-tooltip-placement-rightTop,
735
760
  .ant-tooltip-placement-rightBottom {
736
- padding-left: 8px;
761
+ padding-left: 14.3137085px;
737
762
  }
738
763
  .ant-tooltip-placement-bottom,
739
764
  .ant-tooltip-placement-bottomLeft,
740
765
  .ant-tooltip-placement-bottomRight {
741
- padding-top: 8px;
766
+ padding-top: 14.3137085px;
742
767
  }
743
768
  .ant-tooltip-placement-left,
744
769
  .ant-tooltip-placement-leftTop,
745
770
  .ant-tooltip-placement-leftBottom {
746
- padding-right: 8px;
771
+ padding-right: 14.3137085px;
747
772
  }
748
773
  .ant-tooltip-inner {
749
774
  min-width: 30px;
@@ -760,44 +785,62 @@
760
785
  }
761
786
  .ant-tooltip-arrow {
762
787
  position: absolute;
788
+ z-index: 2;
763
789
  display: block;
764
- width: 13.07106781px;
765
- height: 13.07106781px;
790
+ width: 22px;
791
+ height: 22px;
766
792
  overflow: hidden;
767
793
  background: transparent;
768
794
  pointer-events: none;
769
795
  }
770
796
  .ant-tooltip-arrow-content {
797
+ --antd-arrow-background-color: linear-gradient(to right bottom, rgba(35, 44, 59, 0.7), rgba(35, 44, 59, 0.8));
771
798
  position: absolute;
772
799
  top: 0;
773
800
  right: 0;
774
801
  bottom: 0;
775
802
  left: 0;
776
803
  display: block;
777
- width: 5px;
778
- height: 5px;
804
+ width: 11.3137085px;
805
+ height: 11.3137085px;
779
806
  margin: auto;
780
- background-color: rgba(35, 44, 59, 0.8);
781
807
  content: '';
782
808
  pointer-events: auto;
809
+ border-radius: 0 0 2px;
810
+ pointer-events: none;
811
+ }
812
+ .ant-tooltip-arrow-content::before {
813
+ position: absolute;
814
+ top: -11.3137085px;
815
+ left: -11.3137085px;
816
+ width: 33.9411255px;
817
+ height: 33.9411255px;
818
+ background: var(--antd-arrow-background-color);
819
+ background-repeat: no-repeat;
820
+ background-position: -10px -10px;
821
+ content: '';
822
+ clip-path: inset(33% 33%);
823
+ clip-path: path('M 9.849242404917499 24.091883092036785 A 5 5 0 0 1 13.384776310850237 22.627416997969522 L 20.627416997969522 22.627416997969522 A 2 2 0 0 0 22.627416997969522 20.627416997969522 L 22.627416997969522 13.384776310850237 A 5 5 0 0 1 24.091883092036785 9.849242404917499 L 23.091883092036785 9.849242404917499 L 9.849242404917499 23.091883092036785 Z');
783
824
  }
784
825
  .ant-tooltip-placement-top .ant-tooltip-arrow,
785
826
  .ant-tooltip-placement-topLeft .ant-tooltip-arrow,
786
827
  .ant-tooltip-placement-topRight .ant-tooltip-arrow {
787
- bottom: -5.07106781px;
828
+ bottom: 0;
829
+ -webkit-transform: translateY(100%);
830
+ transform: translateY(100%);
788
831
  }
789
832
  .ant-tooltip-placement-top .ant-tooltip-arrow-content,
790
833
  .ant-tooltip-placement-topLeft .ant-tooltip-arrow-content,
791
834
  .ant-tooltip-placement-topRight .ant-tooltip-arrow-content {
792
835
  -webkit-box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.07);
793
836
  box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.07);
794
- -webkit-transform: translateY(-6.53553391px) rotate(45deg);
795
- transform: translateY(-6.53553391px) rotate(45deg);
837
+ -webkit-transform: translateY(-11px) rotate(45deg);
838
+ transform: translateY(-11px) rotate(45deg);
796
839
  }
797
840
  .ant-tooltip-placement-top .ant-tooltip-arrow {
798
841
  left: 50%;
799
- -webkit-transform: translateX(-50%);
800
- transform: translateX(-50%);
842
+ -webkit-transform: translateY(100%) translateX(-50%);
843
+ transform: translateY(100%) translateX(-50%);
801
844
  }
802
845
  .ant-tooltip-placement-topLeft .ant-tooltip-arrow {
803
846
  left: 13px;
@@ -808,20 +851,22 @@
808
851
  .ant-tooltip-placement-right .ant-tooltip-arrow,
809
852
  .ant-tooltip-placement-rightTop .ant-tooltip-arrow,
810
853
  .ant-tooltip-placement-rightBottom .ant-tooltip-arrow {
811
- left: -5.07106781px;
854
+ left: 0;
855
+ -webkit-transform: translateX(-100%);
856
+ transform: translateX(-100%);
812
857
  }
813
858
  .ant-tooltip-placement-right .ant-tooltip-arrow-content,
814
859
  .ant-tooltip-placement-rightTop .ant-tooltip-arrow-content,
815
860
  .ant-tooltip-placement-rightBottom .ant-tooltip-arrow-content {
816
861
  -webkit-box-shadow: -3px 3px 7px rgba(0, 0, 0, 0.07);
817
862
  box-shadow: -3px 3px 7px rgba(0, 0, 0, 0.07);
818
- -webkit-transform: translateX(6.53553391px) rotate(45deg);
819
- transform: translateX(6.53553391px) rotate(45deg);
863
+ -webkit-transform: translateX(11px) rotate(135deg);
864
+ transform: translateX(11px) rotate(135deg);
820
865
  }
821
866
  .ant-tooltip-placement-right .ant-tooltip-arrow {
822
867
  top: 50%;
823
- -webkit-transform: translateY(-50%);
824
- transform: translateY(-50%);
868
+ -webkit-transform: translateX(-100%) translateY(-50%);
869
+ transform: translateX(-100%) translateY(-50%);
825
870
  }
826
871
  .ant-tooltip-placement-rightTop .ant-tooltip-arrow {
827
872
  top: 5px;
@@ -832,20 +877,22 @@
832
877
  .ant-tooltip-placement-left .ant-tooltip-arrow,
833
878
  .ant-tooltip-placement-leftTop .ant-tooltip-arrow,
834
879
  .ant-tooltip-placement-leftBottom .ant-tooltip-arrow {
835
- right: -5.07106781px;
880
+ right: 0;
881
+ -webkit-transform: translateX(100%);
882
+ transform: translateX(100%);
836
883
  }
837
884
  .ant-tooltip-placement-left .ant-tooltip-arrow-content,
838
885
  .ant-tooltip-placement-leftTop .ant-tooltip-arrow-content,
839
886
  .ant-tooltip-placement-leftBottom .ant-tooltip-arrow-content {
840
887
  -webkit-box-shadow: 3px -3px 7px rgba(0, 0, 0, 0.07);
841
888
  box-shadow: 3px -3px 7px rgba(0, 0, 0, 0.07);
842
- -webkit-transform: translateX(-6.53553391px) rotate(45deg);
843
- transform: translateX(-6.53553391px) rotate(45deg);
889
+ -webkit-transform: translateX(-11px) rotate(315deg);
890
+ transform: translateX(-11px) rotate(315deg);
844
891
  }
845
892
  .ant-tooltip-placement-left .ant-tooltip-arrow {
846
893
  top: 50%;
847
- -webkit-transform: translateY(-50%);
848
- transform: translateY(-50%);
894
+ -webkit-transform: translateX(100%) translateY(-50%);
895
+ transform: translateX(100%) translateY(-50%);
849
896
  }
850
897
  .ant-tooltip-placement-leftTop .ant-tooltip-arrow {
851
898
  top: 5px;
@@ -856,20 +903,22 @@
856
903
  .ant-tooltip-placement-bottom .ant-tooltip-arrow,
857
904
  .ant-tooltip-placement-bottomLeft .ant-tooltip-arrow,
858
905
  .ant-tooltip-placement-bottomRight .ant-tooltip-arrow {
859
- top: -5.07106781px;
906
+ top: 0;
907
+ -webkit-transform: translateY(-100%);
908
+ transform: translateY(-100%);
860
909
  }
861
910
  .ant-tooltip-placement-bottom .ant-tooltip-arrow-content,
862
911
  .ant-tooltip-placement-bottomLeft .ant-tooltip-arrow-content,
863
912
  .ant-tooltip-placement-bottomRight .ant-tooltip-arrow-content {
864
913
  -webkit-box-shadow: -3px -3px 7px rgba(0, 0, 0, 0.07);
865
914
  box-shadow: -3px -3px 7px rgba(0, 0, 0, 0.07);
866
- -webkit-transform: translateY(6.53553391px) rotate(45deg);
867
- transform: translateY(6.53553391px) rotate(45deg);
915
+ -webkit-transform: translateY(11px) rotate(225deg);
916
+ transform: translateY(11px) rotate(225deg);
868
917
  }
869
918
  .ant-tooltip-placement-bottom .ant-tooltip-arrow {
870
919
  left: 50%;
871
- -webkit-transform: translateX(-50%);
872
- transform: translateX(-50%);
920
+ -webkit-transform: translateY(-100%) translateX(-50%);
921
+ transform: translateY(-100%) translateX(-50%);
873
922
  }
874
923
  .ant-tooltip-placement-bottomLeft .ant-tooltip-arrow {
875
924
  left: 13px;
@@ -880,80 +929,80 @@
880
929
  .ant-tooltip-pink .ant-tooltip-inner {
881
930
  background-color: #eb2f96;
882
931
  }
883
- .ant-tooltip-pink .ant-tooltip-arrow-content {
884
- background-color: #eb2f96;
932
+ .ant-tooltip-pink .ant-tooltip-arrow-content::before {
933
+ background: #eb2f96;
885
934
  }
886
935
  .ant-tooltip-magenta .ant-tooltip-inner {
887
936
  background-color: #eb2f96;
888
937
  }
889
- .ant-tooltip-magenta .ant-tooltip-arrow-content {
890
- background-color: #eb2f96;
938
+ .ant-tooltip-magenta .ant-tooltip-arrow-content::before {
939
+ background: #eb2f96;
891
940
  }
892
941
  .ant-tooltip-red .ant-tooltip-inner {
893
942
  background-color: #f5222d;
894
943
  }
895
- .ant-tooltip-red .ant-tooltip-arrow-content {
896
- background-color: #f5222d;
944
+ .ant-tooltip-red .ant-tooltip-arrow-content::before {
945
+ background: #f5222d;
897
946
  }
898
947
  .ant-tooltip-volcano .ant-tooltip-inner {
899
948
  background-color: #fa541c;
900
949
  }
901
- .ant-tooltip-volcano .ant-tooltip-arrow-content {
902
- background-color: #fa541c;
950
+ .ant-tooltip-volcano .ant-tooltip-arrow-content::before {
951
+ background: #fa541c;
903
952
  }
904
953
  .ant-tooltip-orange .ant-tooltip-inner {
905
954
  background-color: #fa8c16;
906
955
  }
907
- .ant-tooltip-orange .ant-tooltip-arrow-content {
908
- background-color: #fa8c16;
956
+ .ant-tooltip-orange .ant-tooltip-arrow-content::before {
957
+ background: #fa8c16;
909
958
  }
910
959
  .ant-tooltip-yellow .ant-tooltip-inner {
911
960
  background-color: #fadb14;
912
961
  }
913
- .ant-tooltip-yellow .ant-tooltip-arrow-content {
914
- background-color: #fadb14;
962
+ .ant-tooltip-yellow .ant-tooltip-arrow-content::before {
963
+ background: #fadb14;
915
964
  }
916
965
  .ant-tooltip-gold .ant-tooltip-inner {
917
966
  background-color: #faad14;
918
967
  }
919
- .ant-tooltip-gold .ant-tooltip-arrow-content {
920
- background-color: #faad14;
968
+ .ant-tooltip-gold .ant-tooltip-arrow-content::before {
969
+ background: #faad14;
921
970
  }
922
971
  .ant-tooltip-cyan .ant-tooltip-inner {
923
972
  background-color: #13c2c2;
924
973
  }
925
- .ant-tooltip-cyan .ant-tooltip-arrow-content {
926
- background-color: #13c2c2;
974
+ .ant-tooltip-cyan .ant-tooltip-arrow-content::before {
975
+ background: #13c2c2;
927
976
  }
928
977
  .ant-tooltip-lime .ant-tooltip-inner {
929
978
  background-color: #a0d911;
930
979
  }
931
- .ant-tooltip-lime .ant-tooltip-arrow-content {
932
- background-color: #a0d911;
980
+ .ant-tooltip-lime .ant-tooltip-arrow-content::before {
981
+ background: #a0d911;
933
982
  }
934
983
  .ant-tooltip-green .ant-tooltip-inner {
935
984
  background-color: #52c41a;
936
985
  }
937
- .ant-tooltip-green .ant-tooltip-arrow-content {
938
- background-color: #52c41a;
986
+ .ant-tooltip-green .ant-tooltip-arrow-content::before {
987
+ background: #52c41a;
939
988
  }
940
989
  .ant-tooltip-blue .ant-tooltip-inner {
941
990
  background-color: #1890ff;
942
991
  }
943
- .ant-tooltip-blue .ant-tooltip-arrow-content {
944
- background-color: #1890ff;
992
+ .ant-tooltip-blue .ant-tooltip-arrow-content::before {
993
+ background: #1890ff;
945
994
  }
946
995
  .ant-tooltip-geekblue .ant-tooltip-inner {
947
996
  background-color: #2f54eb;
948
997
  }
949
- .ant-tooltip-geekblue .ant-tooltip-arrow-content {
950
- background-color: #2f54eb;
998
+ .ant-tooltip-geekblue .ant-tooltip-arrow-content::before {
999
+ background: #2f54eb;
951
1000
  }
952
1001
  .ant-tooltip-purple .ant-tooltip-inner {
953
1002
  background-color: #722ed1;
954
1003
  }
955
- .ant-tooltip-purple .ant-tooltip-arrow-content {
956
- background-color: #722ed1;
1004
+ .ant-tooltip-purple .ant-tooltip-arrow-content::before {
1005
+ background: #722ed1;
957
1006
  }
958
1007
  .ant-tooltip-rtl {
959
1008
  direction: rtl;
@@ -985,5 +1034,5 @@
985
1034
  transform: translateY(-50%);
986
1035
  }
987
1036
  .pandora-sdk-tabs .pandora-sdk-tabs-refresh-icon:hover {
988
- color: #2c6dd2;
1037
+ color: #436bff;
989
1038
  }
@@ -1,33 +1,33 @@
1
- @import 'antd/lib/tabs/style/index.less';
2
- @import 'antd/lib/tooltip/style/index.less';
3
- @import '../../style/theme.less';
4
- @import '../../style/mixin.less';
5
-
6
- .@{sdk-prefix}-tabs {
7
- .@{sdk-prefix}-tabs-tab {
8
- position: relative;
9
- }
10
- .@{sdk-prefix}-tabs-active {
11
- .@{sdk-prefix}-tabs-refresh-icon {
12
- opacity: 1;
13
- pointer-events: auto;
14
- }
15
- }
16
- span.anticon.anticon-reload.@{sdk-prefix}-tabs-refresh-icon {
17
- margin-right: 0;
18
- }
19
- .@{sdk-prefix}-tabs-refresh-icon {
20
- margin-left: 8px;
21
- font-size: 12px;
22
- color: @font-disable-color;
23
- transition: color 0.5s, opacity 0.2s;
24
- pointer-events: none;
25
- opacity: 0;
26
- position: absolute;
27
- top: 50%;
28
- transform: translateY(-50%);
29
- &:hover {
30
- color: @theme-color;
31
- }
32
- }
33
- }
1
+ @import 'antd/lib/tabs/style/index.less';
2
+ @import 'antd/lib/tooltip/style/index.less';
3
+ @import '../../style/theme.less';
4
+ @import '../../style/mixin.less';
5
+
6
+ .@{sdk-prefix}-tabs {
7
+ .@{sdk-prefix}-tabs-tab {
8
+ position: relative;
9
+ }
10
+ .@{sdk-prefix}-tabs-active {
11
+ .@{sdk-prefix}-tabs-refresh-icon {
12
+ opacity: 1;
13
+ pointer-events: auto;
14
+ }
15
+ }
16
+ span.anticon.anticon-reload.@{sdk-prefix}-tabs-refresh-icon {
17
+ margin-right: 0;
18
+ }
19
+ .@{sdk-prefix}-tabs-refresh-icon {
20
+ margin-left: 8px;
21
+ font-size: 12px;
22
+ color: @font-disable-color;
23
+ transition: color 0.5s, opacity 0.2s;
24
+ pointer-events: none;
25
+ opacity: 0;
26
+ position: absolute;
27
+ top: 50%;
28
+ transform: translateY(-50%);
29
+ &:hover {
30
+ color: @theme-color;
31
+ }
32
+ }
33
+ }
@@ -11,7 +11,7 @@
11
11
  .pandora-sdk-root .pandora-sdk-prefix {
12
12
  position: relative;
13
13
  min-width: 24px;
14
- color: rgba(44, 109, 210, 0.6);
14
+ color: rgba(67, 107, 255, 0.6);
15
15
  float: left;
16
16
  }
17
17
  .pandora-sdk-root .pandora-sdk-prefix::after {
@@ -22,12 +22,12 @@
22
22
  margin: auto;
23
23
  content: '';
24
24
  height: 16px;
25
- border-left: 1px solid rgba(44, 109, 210, 0.1);
25
+ border-left: 1px solid rgba(67, 107, 255, 0.1);
26
26
  }
27
27
  .pandora-sdk-root .pandora-sdk-suffix {
28
28
  position: relative;
29
29
  min-width: 24px;
30
- color: rgba(44, 109, 210, 0.6);
30
+ color: rgba(67, 107, 255, 0.6);
31
31
  float: right;
32
32
  }
33
33
  .pandora-sdk-root .pandora-sdk-suffix::before {
@@ -38,7 +38,7 @@
38
38
  margin: auto;
39
39
  content: '';
40
40
  height: 16px;
41
- border-left: 1px solid rgba(44, 109, 210, 0.1);
41
+ border-left: 1px solid rgba(67, 107, 255, 0.1);
42
42
  }
43
43
  .pandora-sdk-root .pandora-sdk-content {
44
44
  padding: 0 8px;
@@ -50,7 +50,7 @@
50
50
  font-size: 14px;
51
51
  }
52
52
  .pandora-sdk-root.pandora-sdk-primary {
53
- background: rgba(44, 109, 210, 0.1);
53
+ background: rgba(67, 107, 255, 0.1);
54
54
  }
55
55
  .pandora-sdk-root.pandora-sdk-green {
56
56
  background: rgba(32, 201, 151, 0.1);
@@ -1,72 +1,72 @@
1
- @import '../../../style/theme.less';
2
-
3
- .@{sdk-prefix}-root {
4
- display: inline-block;
5
- line-height: 24px;
6
- margin-right: 8px;
7
- border-radius: 1px;
8
- color: @font-color-7;
9
- text-align: center;
10
- vertical-align: middle;
11
- border-radius: @border-radius-base;
12
-
13
- .@{sdk-prefix}-prefix {
14
- position: relative;
15
- min-width: 24px;
16
- color: @theme-color-060;
17
- float: left;
18
- &::after {
19
- position: absolute;
20
- top: 0px;
21
- bottom: 0px;
22
- right: 0px;
23
- margin: auto;
24
- content: '';
25
- height: 16px;
26
- border-left: 1px solid @theme-color-010;
27
- }
28
- }
29
-
30
- .@{sdk-prefix}-suffix {
31
- position: relative;
32
- min-width: 24px;
33
- color: @theme-color-060;
34
- float: right;
35
- &::before {
36
- position: absolute;
37
- top: 0px;
38
- bottom: 0px;
39
- left: 0px;
40
- margin: auto;
41
- content: '';
42
- height: 16px;
43
- border-left: 1px solid @theme-color-010;
44
- }
45
- }
46
-
47
- .@{sdk-prefix}-content {
48
- padding: 0 8px;
49
- max-width: 150px;
50
- vertical-align: middle;
51
- overflow: hidden;
52
- white-space: nowrap;
53
- text-overflow: ellipsis;
54
- font-size: 14px;
55
- }
56
-
57
- &.@{sdk-prefix}-primary {
58
- background: fade(@tag-primary, 10%);
59
- }
60
- &.@{sdk-prefix}-green {
61
- background: fade(@tag-green, 10%);
62
- }
63
- &.@{sdk-prefix}-yellow {
64
- background: fade(@tag-yellow, 10%);
65
- }
66
- &.@{sdk-prefix}-blue {
67
- background: fade(@tag-blue, 10%);
68
- }
69
- &.@{sdk-prefix}-grey {
70
- background: @tag-grey;
71
- }
72
- }
1
+ @import '../../../style/theme.less';
2
+
3
+ .@{sdk-prefix}-root {
4
+ display: inline-block;
5
+ line-height: 24px;
6
+ margin-right: 8px;
7
+ border-radius: 1px;
8
+ color: @font-color-7;
9
+ text-align: center;
10
+ vertical-align: middle;
11
+ border-radius: @border-radius-base;
12
+
13
+ .@{sdk-prefix}-prefix {
14
+ position: relative;
15
+ min-width: 24px;
16
+ color: @theme-color-060;
17
+ float: left;
18
+ &::after {
19
+ position: absolute;
20
+ top: 0px;
21
+ bottom: 0px;
22
+ right: 0px;
23
+ margin: auto;
24
+ content: '';
25
+ height: 16px;
26
+ border-left: 1px solid @theme-color-010;
27
+ }
28
+ }
29
+
30
+ .@{sdk-prefix}-suffix {
31
+ position: relative;
32
+ min-width: 24px;
33
+ color: @theme-color-060;
34
+ float: right;
35
+ &::before {
36
+ position: absolute;
37
+ top: 0px;
38
+ bottom: 0px;
39
+ left: 0px;
40
+ margin: auto;
41
+ content: '';
42
+ height: 16px;
43
+ border-left: 1px solid @theme-color-010;
44
+ }
45
+ }
46
+
47
+ .@{sdk-prefix}-content {
48
+ padding: 0 8px;
49
+ max-width: 150px;
50
+ vertical-align: middle;
51
+ overflow: hidden;
52
+ white-space: nowrap;
53
+ text-overflow: ellipsis;
54
+ font-size: 14px;
55
+ }
56
+
57
+ &.@{sdk-prefix}-primary {
58
+ background: fade(@tag-primary, 10%);
59
+ }
60
+ &.@{sdk-prefix}-green {
61
+ background: fade(@tag-green, 10%);
62
+ }
63
+ &.@{sdk-prefix}-yellow {
64
+ background: fade(@tag-yellow, 10%);
65
+ }
66
+ &.@{sdk-prefix}-blue {
67
+ background: fade(@tag-blue, 10%);
68
+ }
69
+ &.@{sdk-prefix}-grey {
70
+ background: @tag-grey;
71
+ }
72
+ }