@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
@@ -21,14 +21,8 @@
21
21
  .ant-select-single .ant-select-selector .ant-select-selection-placeholder {
22
22
  padding: 0;
23
23
  line-height: 30px;
24
- -webkit-transition: all 0.3s;
25
- transition: all 0.3s;
26
- }
27
- @supports (-moz-appearance: meterbar) {
28
- .ant-select-single .ant-select-selector .ant-select-selection-item,
29
- .ant-select-single .ant-select-selector .ant-select-selection-placeholder {
30
- line-height: 30px;
31
- }
24
+ -webkit-transition: all 0.3s, visibility 0s;
25
+ transition: all 0.3s, visibility 0s;
32
26
  }
33
27
  .ant-select-single .ant-select-selector .ant-select-selection-item {
34
28
  position: relative;
@@ -38,6 +32,8 @@
38
32
  user-select: none;
39
33
  }
40
34
  .ant-select-single .ant-select-selector .ant-select-selection-placeholder {
35
+ -webkit-transition: none;
36
+ transition: none;
41
37
  pointer-events: none;
42
38
  }
43
39
  .ant-select-single .ant-select-selector::after,
@@ -171,6 +167,7 @@
171
167
  width: 0;
172
168
  margin: 2px 0;
173
169
  line-height: 24px;
170
+ visibility: hidden;
174
171
  content: '\a0';
175
172
  }
176
173
  .ant-select-multiple.ant-select-show-arrow .ant-select-selector,
@@ -228,10 +225,15 @@
228
225
  text-align: center;
229
226
  text-transform: none;
230
227
  vertical-align: -0.125em;
231
- text-rendering: optimizeLegibility;
228
+ text-rendering: optimizelegibility;
232
229
  -webkit-font-smoothing: antialiased;
233
230
  -moz-osx-font-smoothing: grayscale;
234
- display: inline-block;
231
+ display: -webkit-inline-box;
232
+ display: -ms-inline-flexbox;
233
+ display: inline-flex;
234
+ -webkit-box-align: center;
235
+ -ms-flex-align: center;
236
+ align-items: center;
235
237
  color: rgba(0, 0, 0, 0.45);
236
238
  font-weight: bold;
237
239
  font-size: 10px;
@@ -251,7 +253,7 @@
251
253
  display: block;
252
254
  }
253
255
  .ant-select-multiple .ant-select-selection-item-remove > .anticon {
254
- vertical-align: -0.2em;
256
+ vertical-align: middle;
255
257
  }
256
258
  .ant-select-multiple .ant-select-selection-item-remove:hover {
257
259
  color: rgba(0, 0, 0, 0.75);
@@ -263,8 +265,6 @@
263
265
  .ant-select-multiple .ant-select-selection-search {
264
266
  position: relative;
265
267
  max-width: 100%;
266
- margin-top: 2px;
267
- margin-bottom: 2px;
268
268
  -webkit-margin-start: 7px;
269
269
  margin-inline-start: 7px;
270
270
  }
@@ -337,13 +337,45 @@
337
337
  -webkit-margin-start: 3px;
338
338
  margin-inline-start: 3px;
339
339
  }
340
- .ant-select-multiple.ant-select-lg .ant-select-selection-item {
341
- height: 32px;
342
- line-height: 32px;
343
- }
344
340
  .ant-select-disabled .ant-select-selection-item-remove {
345
341
  display: none;
346
342
  }
343
+ .ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer) .ant-select-selector {
344
+ background-color: #ffffff;
345
+ border-color: #f5222d !important;
346
+ }
347
+ .ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-open .ant-select-selector,
348
+ .ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-focused .ant-select-selector {
349
+ border-color: #ff4d4f;
350
+ -webkit-box-shadow: 0 0 0 2px rgba(245, 34, 45, 0.2);
351
+ box-shadow: 0 0 0 2px rgba(245, 34, 45, 0.2);
352
+ border-right-width: 1px;
353
+ outline: 0;
354
+ }
355
+ .ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer) .ant-select-selector {
356
+ background-color: transparent;
357
+ border-color: #f0a818 !important;
358
+ }
359
+ .ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-open .ant-select-selector,
360
+ .ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-focused .ant-select-selector {
361
+ border-color: #fcc442;
362
+ -webkit-box-shadow: 0 0 0 2px rgba(240, 168, 24, 0.2);
363
+ box-shadow: 0 0 0 2px rgba(240, 168, 24, 0.2);
364
+ border-right-width: 1px;
365
+ outline: 0;
366
+ }
367
+ .ant-select-status-error.ant-select-has-feedback .ant-select-clear,
368
+ .ant-select-status-warning.ant-select-has-feedback .ant-select-clear,
369
+ .ant-select-status-success.ant-select-has-feedback .ant-select-clear,
370
+ .ant-select-status-validating.ant-select-has-feedback .ant-select-clear {
371
+ right: 32px;
372
+ }
373
+ .ant-select-status-error.ant-select-has-feedback .ant-select-selection-selected-value,
374
+ .ant-select-status-warning.ant-select-has-feedback .ant-select-selection-selected-value,
375
+ .ant-select-status-success.ant-select-has-feedback .ant-select-selection-selected-value,
376
+ .ant-select-status-validating.ant-select-has-feedback .ant-select-selection-selected-value {
377
+ padding-right: 42px;
378
+ }
347
379
  /* Reset search input style */
348
380
  .ant-select {
349
381
  -webkit-box-sizing: border-box;
@@ -379,10 +411,10 @@
379
411
  cursor: auto;
380
412
  }
381
413
  .ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector {
382
- border-color: #9ca0a6;
383
- -webkit-box-shadow: 0 0 0 2px rgba(122, 134, 154, 0.2);
384
- box-shadow: 0 0 0 2px rgba(122, 134, 154, 0.2);
385
- border-right-width: 1px !important;
414
+ border-color: #6b90ff;
415
+ -webkit-box-shadow: 0 0 0 2px rgba(67, 107, 255, 0.2);
416
+ box-shadow: 0 0 0 2px rgba(67, 107, 255, 0.2);
417
+ border-right-width: 1px;
386
418
  outline: 0;
387
419
  }
388
420
  .ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector {
@@ -412,8 +444,8 @@
412
444
  -webkit-appearance: none;
413
445
  }
414
446
  .ant-select:not(.ant-select-disabled):hover .ant-select-selector {
415
- border-color: #2c6dd2;
416
- border-right-width: 1px !important;
447
+ border-color: #436bff;
448
+ border-right-width: 1px;
417
449
  }
418
450
  .ant-select-selection-item {
419
451
  -webkit-box-flex: 1;
@@ -449,19 +481,26 @@
449
481
  }
450
482
  }
451
483
  .ant-select-arrow {
452
- display: inline-block;
484
+ display: -webkit-inline-box;
485
+ display: -ms-inline-flexbox;
486
+ display: inline-flex;
453
487
  color: #bfbfbf;
454
488
  font-style: normal;
455
489
  line-height: 0;
456
490
  text-transform: none;
457
491
  vertical-align: -0.125em;
458
- text-rendering: optimizeLegibility;
492
+ text-rendering: optimizelegibility;
459
493
  -webkit-font-smoothing: antialiased;
460
494
  -moz-osx-font-smoothing: grayscale;
461
495
  position: absolute;
462
496
  top: 50%;
463
497
  right: 11px;
464
- width: 12px;
498
+ display: -webkit-box;
499
+ display: -ms-flexbox;
500
+ display: flex;
501
+ -webkit-box-align: center;
502
+ -ms-flex-align: center;
503
+ align-items: center;
465
504
  height: 12px;
466
505
  margin-top: -6px;
467
506
  color: rgba(0, 0, 0, 0.25);
@@ -498,6 +537,10 @@
498
537
  .ant-select-disabled .ant-select-arrow {
499
538
  cursor: not-allowed;
500
539
  }
540
+ .ant-select-arrow > *:not(:last-child) {
541
+ -webkit-margin-end: 8px;
542
+ margin-inline-end: 8px;
543
+ }
501
544
  .ant-select-clear {
502
545
  position: absolute;
503
546
  top: 50%;
@@ -626,15 +669,15 @@
626
669
  flex: none;
627
670
  }
628
671
  .ant-select-item-option-active:not(.ant-select-item-option-disabled) {
629
- background-color: rgba(44, 109, 210, 0.05);
672
+ background-color: rgba(67, 107, 255, 0.05);
630
673
  }
631
674
  .ant-select-item-option-selected:not(.ant-select-item-option-disabled) {
632
675
  color: rgba(0, 0, 0, 0.65);
633
676
  font-weight: 600;
634
- background-color: rgba(44, 109, 210, 0.05);
677
+ background-color: rgba(67, 107, 255, 0.05);
635
678
  }
636
679
  .ant-select-item-option-selected:not(.ant-select-item-option-disabled) .ant-select-item-option-state {
637
- color: #7a869a;
680
+ color: #436bff;
638
681
  }
639
682
  .ant-select-item-option-disabled {
640
683
  color: rgba(0, 0, 0, 0.25);
@@ -655,6 +698,46 @@
655
698
  -webkit-box-shadow: none !important;
656
699
  box-shadow: none !important;
657
700
  }
701
+ .ant-select.ant-select-in-form-item {
702
+ width: 100%;
703
+ }
704
+ .ant-select-compact-item:not(.ant-select-compact-last-item) {
705
+ margin-right: -1px;
706
+ }
707
+ .ant-select-compact-item:not(.ant-select-compact-last-item).ant-select-compact-item-rtl {
708
+ margin-right: 0;
709
+ margin-left: -1px;
710
+ }
711
+ .ant-select-compact-item:hover > *,
712
+ .ant-select-compact-item:focus > *,
713
+ .ant-select-compact-item:active > * {
714
+ z-index: 2;
715
+ }
716
+ .ant-select-compact-item.ant-select-focused > * {
717
+ z-index: 2;
718
+ }
719
+ .ant-select-compact-item[disabled] > * {
720
+ z-index: 0;
721
+ }
722
+ .ant-select-compact-item:not(.ant-select-compact-first-item):not(.ant-select-compact-last-item).ant-select > .ant-select-selector {
723
+ border-radius: 0;
724
+ }
725
+ .ant-select-compact-item.ant-select-compact-first-item.ant-select:not(.ant-select-compact-last-item):not(.ant-select-compact-item-rtl) > .ant-select-selector {
726
+ border-top-right-radius: 0;
727
+ border-bottom-right-radius: 0;
728
+ }
729
+ .ant-select-compact-item.ant-select-compact-last-item.ant-select:not(.ant-select-compact-first-item):not(.ant-select-compact-item-rtl) > .ant-select-selector {
730
+ border-top-left-radius: 0;
731
+ border-bottom-left-radius: 0;
732
+ }
733
+ .ant-select-compact-item.ant-select.ant-select-compact-first-item.ant-select-compact-item-rtl:not(.ant-select-compact-last-item) > .ant-select-selector {
734
+ border-top-left-radius: 0;
735
+ border-bottom-left-radius: 0;
736
+ }
737
+ .ant-select-compact-item.ant-select.ant-select-compact-last-item.ant-select-compact-item-rtl:not(.ant-select-compact-first-item) > .ant-select-selector {
738
+ border-top-right-radius: 0;
739
+ border-bottom-right-radius: 0;
740
+ }
658
741
  .ant-select-rtl {
659
742
  direction: rtl;
660
743
  }
@@ -766,7 +849,7 @@
766
849
  .ant-checkbox-wrapper:hover .ant-checkbox-inner,
767
850
  .ant-checkbox:hover .ant-checkbox-inner,
768
851
  .ant-checkbox-input:focus + .ant-checkbox-inner {
769
- border-color: #2c6dd2;
852
+ border-color: #436bff;
770
853
  }
771
854
  .ant-checkbox-checked::after {
772
855
  position: absolute;
@@ -774,7 +857,7 @@
774
857
  left: 0;
775
858
  width: 100%;
776
859
  height: 100%;
777
- border: 1px solid #2c6dd2;
860
+ border: 1px solid #436bff;
778
861
  border-radius: 2px;
779
862
  visibility: hidden;
780
863
  -webkit-animation: antCheckboxEffect 0.36s ease-in-out;
@@ -845,8 +928,8 @@
845
928
  content: ' ';
846
929
  }
847
930
  .ant-checkbox-checked .ant-checkbox-inner {
848
- background-color: #2c6dd2;
849
- border-color: #2c6dd2;
931
+ background-color: #436bff;
932
+ border-color: #436bff;
850
933
  }
851
934
  .ant-checkbox-disabled {
852
935
  cursor: not-allowed;
@@ -858,6 +941,7 @@
858
941
  }
859
942
  .ant-checkbox-disabled .ant-checkbox-input {
860
943
  cursor: not-allowed;
944
+ pointer-events: none;
861
945
  }
862
946
  .ant-checkbox-disabled .ant-checkbox-inner {
863
947
  background-color: #f5f5f5;
@@ -910,6 +994,10 @@
910
994
  .ant-checkbox-wrapper + .ant-checkbox-wrapper {
911
995
  margin-left: 8px;
912
996
  }
997
+ .ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] {
998
+ width: 14px;
999
+ height: 14px;
1000
+ }
913
1001
  .ant-checkbox + span {
914
1002
  padding-right: 8px;
915
1003
  padding-left: 8px;
@@ -946,7 +1034,7 @@
946
1034
  left: 50%;
947
1035
  width: 8px;
948
1036
  height: 8px;
949
- background-color: #2c6dd2;
1037
+ background-color: #436bff;
950
1038
  border: 0;
951
1039
  -webkit-transform: translate(-50%, -50%) scale(1);
952
1040
  transform: translate(-50%, -50%) scale(1);
@@ -1031,11 +1119,11 @@
1031
1119
  color: #d9d9d9;
1032
1120
  }
1033
1121
  .pandora-sdk-selector-dropdown .ant-select-item-option-selected {
1034
- color: #2c6dd2;
1122
+ color: #436bff;
1035
1123
  font-weight: 400;
1036
1124
  }
1037
1125
  .pandora-sdk-selector-dropdown .ant-select-item-option:hover {
1038
- color: #2c6dd2;
1126
+ color: #436bff;
1039
1127
  }
1040
1128
  .pandora-sdk-selector-dropdown .ant-select-item-group {
1041
1129
  color: #d9d9d9;
@@ -1049,7 +1137,7 @@
1049
1137
  text-overflow: unset;
1050
1138
  }
1051
1139
  .pandora-sdk-selector-dropdown .pandora-sdk-selector-create-option {
1052
- color: #2c6dd2;
1140
+ color: #436bff;
1053
1141
  cursor: default;
1054
1142
  }
1055
1143
  .pandora-sdk-selector-dropdown .pandora-sdk-selector-create-option::before,
@@ -1057,10 +1145,10 @@
1057
1145
  content: none;
1058
1146
  }
1059
1147
  .pandora-sdk-selector-dropdown .pandora-sdk-selector-create-option a {
1060
- color: #2c6dd2;
1148
+ color: #436bff;
1061
1149
  }
1062
1150
  .pandora-sdk-selector-dropdown .ant-select-item-option-selected:not(.ant-select-item-option-disabled) .ant-select-item-option-state .anticon-check.anticon {
1063
- color: #2c6dd2;
1151
+ color: #436bff;
1064
1152
  }
1065
1153
  .pandora-sdk-selector-create-lint {
1066
1154
  display: block;
@@ -1,99 +1,99 @@
1
- @import 'antd/lib/select/style/index.less';
2
- @import 'antd/lib/checkbox/style/index.less';
3
- @import '../../style/theme.less';
4
- @import '../../style/mixin.less';
5
-
6
- .@{sdk-prefix}-selector {
7
- width: 100%;
8
- color: @font-color-7;
9
- .@{ant-prefix}-select-selection {
10
- background: @select-bg;
11
- &:hover {
12
- .@{ant-prefix}-select-selection__clear + .@{ant-prefix}-select-arrow {
13
- opacity: 0;
14
- }
15
- }
16
- }
17
- &.@{ant-prefix}-select-multiple {
18
- .@{ant-prefix}-select-selection-item {
19
- color: @font-color-6;
20
- background: @select-selection-bg;
21
- border: none;
22
- }
23
- }
24
- .@{ant-prefix}-select-selection-item-remove {
25
- color: @font-disable-color;
26
- }
27
- .@{ant-prefix}-select-selection--single {
28
- height: 32px;
29
- }
30
- .@{ant-prefix}-select-selection__rendered {
31
- line-height: 30px;
32
- }
33
- .@{ant-prefix}-select-selection__clear {
34
- background: @select-bg;
35
- color: @font-color-6;
36
- i {
37
- color: inherit;
38
- }
39
- }
40
- }
41
-
42
- .@{sdk-prefix}-selector-dropdown {
43
- .@{ant-prefix}-select-dropdown-menu {
44
- margin: 0;
45
- .scrollbar();
46
- }
47
- .@{ant-prefix}-select-item-option-disabled {
48
- color: @font-disable-color;
49
- }
50
- .@{ant-prefix}-select-item-option-selected {
51
- color: @theme-color;
52
- font-weight: 400;
53
- }
54
- .@{ant-prefix}-select-item-option:hover {
55
- color: @theme-color;
56
- }
57
-
58
- .@{ant-prefix}-select-item-group {
59
- color: @font-disable-color;
60
- }
61
- &.@{sdk-prefix}-selector-no-ellipsis {
62
- .@{ant-prefix}-select-dropdown-menu {
63
- display: inline-block;
64
- min-width: 100%;
65
- }
66
- .@{ant-prefix}-select-dropdown-menu-item {
67
- overflow: unset;
68
- text-overflow: unset;
69
- }
70
- }
71
-
72
- .@{sdk-prefix}-selector-create-option {
73
- color: @theme-color;
74
- cursor: default;
75
- &::before,
76
- &::after {
77
- content: none;
78
- }
79
- a {
80
- color: @theme-color;
81
- }
82
- }
83
- .@{ant-prefix}-select-item-option-selected:not(.@{ant-prefix}-select-item-option-disabled)
84
- .@{ant-prefix}-select-item-option-state {
85
- .anticon-check {
86
- &.anticon {
87
- color: @theme-color;
88
- }
89
- }
90
- }
91
- }
92
-
93
- .@{sdk-prefix}-selector-create-lint {
94
- display: block;
95
- }
96
-
97
- .@{sdk-prefix}-close-icon {
98
- color: @border-color-1;
99
- }
1
+ @import 'antd/lib/select/style/index.less';
2
+ @import 'antd/lib/checkbox/style/index.less';
3
+ @import '../../style/theme.less';
4
+ @import '../../style/mixin.less';
5
+
6
+ .@{sdk-prefix}-selector {
7
+ width: 100%;
8
+ color: @font-color-7;
9
+ .@{ant-prefix}-select-selection {
10
+ background: @select-bg;
11
+ &:hover {
12
+ .@{ant-prefix}-select-selection__clear + .@{ant-prefix}-select-arrow {
13
+ opacity: 0;
14
+ }
15
+ }
16
+ }
17
+ &.@{ant-prefix}-select-multiple {
18
+ .@{ant-prefix}-select-selection-item {
19
+ color: @font-color-6;
20
+ background: @select-selection-bg;
21
+ border: none;
22
+ }
23
+ }
24
+ .@{ant-prefix}-select-selection-item-remove {
25
+ color: @font-disable-color;
26
+ }
27
+ .@{ant-prefix}-select-selection--single {
28
+ height: 32px;
29
+ }
30
+ .@{ant-prefix}-select-selection__rendered {
31
+ line-height: 30px;
32
+ }
33
+ .@{ant-prefix}-select-selection__clear {
34
+ background: @select-bg;
35
+ color: @font-color-6;
36
+ i {
37
+ color: inherit;
38
+ }
39
+ }
40
+ }
41
+
42
+ .@{sdk-prefix}-selector-dropdown {
43
+ .@{ant-prefix}-select-dropdown-menu {
44
+ margin: 0;
45
+ .scrollbar();
46
+ }
47
+ .@{ant-prefix}-select-item-option-disabled {
48
+ color: @font-disable-color;
49
+ }
50
+ .@{ant-prefix}-select-item-option-selected {
51
+ color: @theme-color;
52
+ font-weight: 400;
53
+ }
54
+ .@{ant-prefix}-select-item-option:hover {
55
+ color: @theme-color;
56
+ }
57
+
58
+ .@{ant-prefix}-select-item-group {
59
+ color: @font-disable-color;
60
+ }
61
+ &.@{sdk-prefix}-selector-no-ellipsis {
62
+ .@{ant-prefix}-select-dropdown-menu {
63
+ display: inline-block;
64
+ min-width: 100%;
65
+ }
66
+ .@{ant-prefix}-select-dropdown-menu-item {
67
+ overflow: unset;
68
+ text-overflow: unset;
69
+ }
70
+ }
71
+
72
+ .@{sdk-prefix}-selector-create-option {
73
+ color: @theme-color;
74
+ cursor: default;
75
+ &::before,
76
+ &::after {
77
+ content: none;
78
+ }
79
+ a {
80
+ color: @theme-color;
81
+ }
82
+ }
83
+ .@{ant-prefix}-select-item-option-selected:not(.@{ant-prefix}-select-item-option-disabled)
84
+ .@{ant-prefix}-select-item-option-state {
85
+ .anticon-check {
86
+ &.anticon {
87
+ color: @theme-color;
88
+ }
89
+ }
90
+ }
91
+ }
92
+
93
+ .@{sdk-prefix}-selector-create-lint {
94
+ display: block;
95
+ }
96
+
97
+ .@{sdk-prefix}-close-icon {
98
+ color: @border-color-1;
99
+ }
@@ -16,7 +16,8 @@
16
16
  font-feature-settings: 'tnum';
17
17
  position: absolute;
18
18
  display: none;
19
- color: #7a869a;
19
+ color: #436bff;
20
+ font-size: 0;
20
21
  text-align: center;
21
22
  vertical-align: middle;
22
23
  opacity: 0;
@@ -54,6 +55,7 @@
54
55
  top: 50%;
55
56
  width: 100%;
56
57
  padding-top: 5px;
58
+ font-size: 14px;
57
59
  text-shadow: 0 1px 2px #ffffff;
58
60
  }
59
61
  .ant-spin-nested-loading > div > .ant-spin.ant-spin-show-text .ant-spin-dot {
@@ -127,7 +129,7 @@
127
129
  display: block;
128
130
  width: 9px;
129
131
  height: 9px;
130
- background-color: #7a869a;
132
+ background-color: #436bff;
131
133
  border-radius: 100%;
132
134
  -webkit-transform: scale(0.75);
133
135
  transform: scale(0.75);
@@ -160,8 +162,8 @@
160
162
  animation-delay: 1.2s;
161
163
  }
162
164
  .ant-spin-dot-spin {
163
- -webkit-transform: rotate(45deg);
164
- transform: rotate(45deg);
165
+ -webkit-transform: rotate(0deg);
166
+ transform: rotate(0deg);
165
167
  -webkit-animation: antRotate 1.2s infinite linear;
166
168
  animation: antRotate 1.2s infinite linear;
167
169
  }
@@ -201,14 +203,14 @@
201
203
  }
202
204
  @-webkit-keyframes antRotate {
203
205
  to {
204
- -webkit-transform: rotate(405deg);
205
- transform: rotate(405deg);
206
+ -webkit-transform: rotate(360deg);
207
+ transform: rotate(360deg);
206
208
  }
207
209
  }
208
210
  @keyframes antRotate {
209
211
  to {
210
- -webkit-transform: rotate(405deg);
211
- transform: rotate(405deg);
212
+ -webkit-transform: rotate(360deg);
213
+ transform: rotate(360deg);
212
214
  }
213
215
  }
214
216
  .ant-spin-rtl {
@@ -1,26 +1,26 @@
1
- @import 'antd/lib/spin/style/index.less';
2
- @import '../../style/theme.less';
3
-
4
- .@{sdk-prefix}-spin-container {
5
- position: relative;
6
- width: 100%;
7
- height: 100%;
8
- .@{sdk-prefix}-spin-loading {
9
- position: absolute;
10
- width: 60px;
11
- height: 60px;
12
- top: 50%;
13
- left: 50%;
14
- transform: translate(-50%, -50%);
15
- }
16
- .@{ant-prefix}-spin-container {
17
- height: 100%;
18
- > div {
19
- height: 100%;
20
- }
21
- }
22
- }
23
-
24
- .@{sdk-prefix}-spin-hide {
25
- visibility: hidden;
26
- }
1
+ @import 'antd/lib/spin/style/index.less';
2
+ @import '../../style/theme.less';
3
+
4
+ .@{sdk-prefix}-spin-container {
5
+ position: relative;
6
+ width: 100%;
7
+ height: 100%;
8
+ .@{sdk-prefix}-spin-loading {
9
+ position: absolute;
10
+ width: 60px;
11
+ height: 60px;
12
+ top: 50%;
13
+ left: 50%;
14
+ transform: translate(-50%, -50%);
15
+ }
16
+ .@{ant-prefix}-spin-container {
17
+ height: 100%;
18
+ > div {
19
+ height: 100%;
20
+ }
21
+ }
22
+ }
23
+
24
+ .@{sdk-prefix}-spin-hide {
25
+ visibility: hidden;
26
+ }
@@ -1,5 +1,5 @@
1
- @import '../../../style/theme.less';
2
-
3
- .@{sdk-prefix}-prev-button {
4
- margin-right: 10px;
5
- }
1
+ @import '../../../style/theme.less';
2
+
3
+ .@{sdk-prefix}-prev-button {
4
+ margin-right: 10px;
5
+ }