@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
package/README.md CHANGED
@@ -1,36 +1,36 @@
1
- # `@qn-pandora/pandora-component`
2
-
3
- Pandora 基础组件库,详细文档请参考:[https://docs-pandora.qiniu.com/lib/pandora-component/index.html](https://docs-pandora.qiniu.com/lib/pandora-component/index.html)
4
-
5
- ## Install
6
-
7
- ```bash
8
- # run in terminal
9
- yarn add @qn-pandora/pandora-component
10
- # or
11
- npm install @qn-pandora/pandora-component
12
- ```
13
-
14
- ## Usage
15
-
16
- ```typescript
17
- import { Button } from '@qn-pandora/pandora-component'
18
-
19
- const App = () => (
20
- <>
21
- <Button type="primary">Hello Pandora</Button>
22
- </>
23
- )
24
- ```
25
-
26
- And import style manually:
27
-
28
- ```typescript
29
- import '@qn-pandora/pandora-component/lib/index.css'
30
- // or
31
- import '@qn-pandora/pandora-component/lib/index.less'
32
- ```
33
-
34
- ## Support Components & Docs
35
-
36
- view the [documentation](https://docs-pandora.qiniu.com/lib/pandora-component)
1
+ # `@qn-pandora/pandora-component`
2
+
3
+ Pandora 基础组件库,详细文档请参考:[https://docs-pandora.qiniu.com/lib/pandora-component/index.html](https://docs-pandora.qiniu.com/lib/pandora-component/index.html)
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ # run in terminal
9
+ yarn add @qn-pandora/pandora-component
10
+ # or
11
+ npm install @qn-pandora/pandora-component
12
+ ```
13
+
14
+ ## Usage
15
+
16
+ ```typescript
17
+ import { Button } from '@qn-pandora/pandora-component'
18
+
19
+ const App = () => (
20
+ <>
21
+ <Button type="primary">Hello Pandora</Button>
22
+ </>
23
+ )
24
+ ```
25
+
26
+ And import style manually:
27
+
28
+ ```typescript
29
+ import '@qn-pandora/pandora-component/lib/index.css'
30
+ // or
31
+ import '@qn-pandora/pandora-component/lib/index.less'
32
+ ```
33
+
34
+ ## Support Components & Docs
35
+
36
+ view the [documentation](https://docs-pandora.qiniu.com/lib/pandora-component)
@@ -28,7 +28,7 @@ import { SDK_PREFIX } from '../../constants/style';
28
28
  import debounceWrapper from '../../hoc/debounce';
29
29
  export function AutoComplete(props) {
30
30
  var _a;
31
- var className = props.className, dropdownClassName = props.dropdownClassName, ellipsis = props.ellipsis, selectorRef = props.selectorRef, other = __rest(props, ["className", "dropdownClassName", "ellipsis", "selectorRef"]);
31
+ var className = props.className, popupClassName = props.popupClassName, ellipsis = props.ellipsis, selectorRef = props.selectorRef, other = __rest(props, ["className", "popupClassName", "ellipsis", "selectorRef"]);
32
32
  var filterOption = React.useCallback(function (inputValue, option) {
33
33
  var prefix = (inputValue === null || inputValue === void 0 ? void 0 : inputValue.toLowerCase()) || '';
34
34
  var _a = option || {}, value = _a.value, title = _a.title, children = _a.children, label = _a.label;
@@ -48,6 +48,6 @@ export function AutoComplete(props) {
48
48
  ? includes(value.toLowerCase(), prefix)
49
49
  : true;
50
50
  }, []);
51
- return (React.createElement(BaseAutoComplete, __assign({ ref: selectorRef, className: classnames(className, SDK_PREFIX + "-auto-complete", SDK_PREFIX + "-selector"), dropdownClassName: classnames(SDK_PREFIX + "-selector-dropdown", (_a = {}, _a[SDK_PREFIX + "-selector-no-ellipsis"] = !ellipsis, _a), dropdownClassName), filterOption: filterOption, showSearch: true }, other)));
51
+ return (React.createElement(BaseAutoComplete, __assign({ ref: selectorRef, className: classnames(className, SDK_PREFIX + "-auto-complete", SDK_PREFIX + "-selector"), popupClassName: classnames(SDK_PREFIX + "-selector-dropdown", (_a = {}, _a[SDK_PREFIX + "-selector-no-ellipsis"] = !ellipsis, _a), popupClassName), filterOption: filterOption, showSearch: true }, other)));
52
52
  }
53
53
  export default debounceWrapper(AutoComplete);
@@ -37,14 +37,8 @@
37
37
  .ant-select-single .ant-select-selector .ant-select-selection-placeholder {
38
38
  padding: 0;
39
39
  line-height: 30px;
40
- -webkit-transition: all 0.3s;
41
- transition: all 0.3s;
42
- }
43
- @supports (-moz-appearance: meterbar) {
44
- .ant-select-single .ant-select-selector .ant-select-selection-item,
45
- .ant-select-single .ant-select-selector .ant-select-selection-placeholder {
46
- line-height: 30px;
47
- }
40
+ -webkit-transition: all 0.3s, visibility 0s;
41
+ transition: all 0.3s, visibility 0s;
48
42
  }
49
43
  .ant-select-single .ant-select-selector .ant-select-selection-item {
50
44
  position: relative;
@@ -54,6 +48,8 @@
54
48
  user-select: none;
55
49
  }
56
50
  .ant-select-single .ant-select-selector .ant-select-selection-placeholder {
51
+ -webkit-transition: none;
52
+ transition: none;
57
53
  pointer-events: none;
58
54
  }
59
55
  .ant-select-single .ant-select-selector::after,
@@ -187,6 +183,7 @@
187
183
  width: 0;
188
184
  margin: 2px 0;
189
185
  line-height: 24px;
186
+ visibility: hidden;
190
187
  content: '\a0';
191
188
  }
192
189
  .ant-select-multiple.ant-select-show-arrow .ant-select-selector,
@@ -244,10 +241,15 @@
244
241
  text-align: center;
245
242
  text-transform: none;
246
243
  vertical-align: -0.125em;
247
- text-rendering: optimizeLegibility;
244
+ text-rendering: optimizelegibility;
248
245
  -webkit-font-smoothing: antialiased;
249
246
  -moz-osx-font-smoothing: grayscale;
250
- display: inline-block;
247
+ display: -webkit-inline-box;
248
+ display: -ms-inline-flexbox;
249
+ display: inline-flex;
250
+ -webkit-box-align: center;
251
+ -ms-flex-align: center;
252
+ align-items: center;
251
253
  color: rgba(0, 0, 0, 0.45);
252
254
  font-weight: bold;
253
255
  font-size: 10px;
@@ -267,7 +269,7 @@
267
269
  display: block;
268
270
  }
269
271
  .ant-select-multiple .ant-select-selection-item-remove > .anticon {
270
- vertical-align: -0.2em;
272
+ vertical-align: middle;
271
273
  }
272
274
  .ant-select-multiple .ant-select-selection-item-remove:hover {
273
275
  color: rgba(0, 0, 0, 0.75);
@@ -279,8 +281,6 @@
279
281
  .ant-select-multiple .ant-select-selection-search {
280
282
  position: relative;
281
283
  max-width: 100%;
282
- margin-top: 2px;
283
- margin-bottom: 2px;
284
284
  -webkit-margin-start: 7px;
285
285
  margin-inline-start: 7px;
286
286
  }
@@ -353,13 +353,45 @@
353
353
  -webkit-margin-start: 3px;
354
354
  margin-inline-start: 3px;
355
355
  }
356
- .ant-select-multiple.ant-select-lg .ant-select-selection-item {
357
- height: 32px;
358
- line-height: 32px;
359
- }
360
356
  .ant-select-disabled .ant-select-selection-item-remove {
361
357
  display: none;
362
358
  }
359
+ .ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer) .ant-select-selector {
360
+ background-color: #ffffff;
361
+ border-color: #f5222d !important;
362
+ }
363
+ .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,
364
+ .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 {
365
+ border-color: #ff4d4f;
366
+ -webkit-box-shadow: 0 0 0 2px rgba(245, 34, 45, 0.2);
367
+ box-shadow: 0 0 0 2px rgba(245, 34, 45, 0.2);
368
+ border-right-width: 1px;
369
+ outline: 0;
370
+ }
371
+ .ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer) .ant-select-selector {
372
+ background-color: transparent;
373
+ border-color: #f0a818 !important;
374
+ }
375
+ .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,
376
+ .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 {
377
+ border-color: #fcc442;
378
+ -webkit-box-shadow: 0 0 0 2px rgba(240, 168, 24, 0.2);
379
+ box-shadow: 0 0 0 2px rgba(240, 168, 24, 0.2);
380
+ border-right-width: 1px;
381
+ outline: 0;
382
+ }
383
+ .ant-select-status-error.ant-select-has-feedback .ant-select-clear,
384
+ .ant-select-status-warning.ant-select-has-feedback .ant-select-clear,
385
+ .ant-select-status-success.ant-select-has-feedback .ant-select-clear,
386
+ .ant-select-status-validating.ant-select-has-feedback .ant-select-clear {
387
+ right: 32px;
388
+ }
389
+ .ant-select-status-error.ant-select-has-feedback .ant-select-selection-selected-value,
390
+ .ant-select-status-warning.ant-select-has-feedback .ant-select-selection-selected-value,
391
+ .ant-select-status-success.ant-select-has-feedback .ant-select-selection-selected-value,
392
+ .ant-select-status-validating.ant-select-has-feedback .ant-select-selection-selected-value {
393
+ padding-right: 42px;
394
+ }
363
395
  /* Reset search input style */
364
396
  .ant-select {
365
397
  -webkit-box-sizing: border-box;
@@ -395,10 +427,10 @@
395
427
  cursor: auto;
396
428
  }
397
429
  .ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector {
398
- border-color: #9ca0a6;
399
- -webkit-box-shadow: 0 0 0 2px rgba(122, 134, 154, 0.2);
400
- box-shadow: 0 0 0 2px rgba(122, 134, 154, 0.2);
401
- border-right-width: 1px !important;
430
+ border-color: #6b90ff;
431
+ -webkit-box-shadow: 0 0 0 2px rgba(67, 107, 255, 0.2);
432
+ box-shadow: 0 0 0 2px rgba(67, 107, 255, 0.2);
433
+ border-right-width: 1px;
402
434
  outline: 0;
403
435
  }
404
436
  .ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector {
@@ -428,8 +460,8 @@
428
460
  -webkit-appearance: none;
429
461
  }
430
462
  .ant-select:not(.ant-select-disabled):hover .ant-select-selector {
431
- border-color: #2c6dd2;
432
- border-right-width: 1px !important;
463
+ border-color: #436bff;
464
+ border-right-width: 1px;
433
465
  }
434
466
  .ant-select-selection-item {
435
467
  -webkit-box-flex: 1;
@@ -465,19 +497,26 @@
465
497
  }
466
498
  }
467
499
  .ant-select-arrow {
468
- display: inline-block;
500
+ display: -webkit-inline-box;
501
+ display: -ms-inline-flexbox;
502
+ display: inline-flex;
469
503
  color: #bfbfbf;
470
504
  font-style: normal;
471
505
  line-height: 0;
472
506
  text-transform: none;
473
507
  vertical-align: -0.125em;
474
- text-rendering: optimizeLegibility;
508
+ text-rendering: optimizelegibility;
475
509
  -webkit-font-smoothing: antialiased;
476
510
  -moz-osx-font-smoothing: grayscale;
477
511
  position: absolute;
478
512
  top: 50%;
479
513
  right: 11px;
480
- width: 12px;
514
+ display: -webkit-box;
515
+ display: -ms-flexbox;
516
+ display: flex;
517
+ -webkit-box-align: center;
518
+ -ms-flex-align: center;
519
+ align-items: center;
481
520
  height: 12px;
482
521
  margin-top: -6px;
483
522
  color: rgba(0, 0, 0, 0.25);
@@ -514,6 +553,10 @@
514
553
  .ant-select-disabled .ant-select-arrow {
515
554
  cursor: not-allowed;
516
555
  }
556
+ .ant-select-arrow > *:not(:last-child) {
557
+ -webkit-margin-end: 8px;
558
+ margin-inline-end: 8px;
559
+ }
517
560
  .ant-select-clear {
518
561
  position: absolute;
519
562
  top: 50%;
@@ -642,15 +685,15 @@
642
685
  flex: none;
643
686
  }
644
687
  .ant-select-item-option-active:not(.ant-select-item-option-disabled) {
645
- background-color: rgba(44, 109, 210, 0.05);
688
+ background-color: rgba(67, 107, 255, 0.05);
646
689
  }
647
690
  .ant-select-item-option-selected:not(.ant-select-item-option-disabled) {
648
691
  color: rgba(0, 0, 0, 0.65);
649
692
  font-weight: 600;
650
- background-color: rgba(44, 109, 210, 0.05);
693
+ background-color: rgba(67, 107, 255, 0.05);
651
694
  }
652
695
  .ant-select-item-option-selected:not(.ant-select-item-option-disabled) .ant-select-item-option-state {
653
- color: #7a869a;
696
+ color: #436bff;
654
697
  }
655
698
  .ant-select-item-option-disabled {
656
699
  color: rgba(0, 0, 0, 0.25);
@@ -671,6 +714,46 @@
671
714
  -webkit-box-shadow: none !important;
672
715
  box-shadow: none !important;
673
716
  }
717
+ .ant-select.ant-select-in-form-item {
718
+ width: 100%;
719
+ }
720
+ .ant-select-compact-item:not(.ant-select-compact-last-item) {
721
+ margin-right: -1px;
722
+ }
723
+ .ant-select-compact-item:not(.ant-select-compact-last-item).ant-select-compact-item-rtl {
724
+ margin-right: 0;
725
+ margin-left: -1px;
726
+ }
727
+ .ant-select-compact-item:hover > *,
728
+ .ant-select-compact-item:focus > *,
729
+ .ant-select-compact-item:active > * {
730
+ z-index: 2;
731
+ }
732
+ .ant-select-compact-item.ant-select-focused > * {
733
+ z-index: 2;
734
+ }
735
+ .ant-select-compact-item[disabled] > * {
736
+ z-index: 0;
737
+ }
738
+ .ant-select-compact-item:not(.ant-select-compact-first-item):not(.ant-select-compact-last-item).ant-select > .ant-select-selector {
739
+ border-radius: 0;
740
+ }
741
+ .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 {
742
+ border-top-right-radius: 0;
743
+ border-bottom-right-radius: 0;
744
+ }
745
+ .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 {
746
+ border-top-left-radius: 0;
747
+ border-bottom-left-radius: 0;
748
+ }
749
+ .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 {
750
+ border-top-left-radius: 0;
751
+ border-bottom-left-radius: 0;
752
+ }
753
+ .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 {
754
+ border-top-right-radius: 0;
755
+ border-bottom-right-radius: 0;
756
+ }
674
757
  .ant-select-rtl {
675
758
  direction: rtl;
676
759
  }
@@ -782,7 +865,7 @@
782
865
  .ant-checkbox-wrapper:hover .ant-checkbox-inner,
783
866
  .ant-checkbox:hover .ant-checkbox-inner,
784
867
  .ant-checkbox-input:focus + .ant-checkbox-inner {
785
- border-color: #2c6dd2;
868
+ border-color: #436bff;
786
869
  }
787
870
  .ant-checkbox-checked::after {
788
871
  position: absolute;
@@ -790,7 +873,7 @@
790
873
  left: 0;
791
874
  width: 100%;
792
875
  height: 100%;
793
- border: 1px solid #2c6dd2;
876
+ border: 1px solid #436bff;
794
877
  border-radius: 2px;
795
878
  visibility: hidden;
796
879
  -webkit-animation: antCheckboxEffect 0.36s ease-in-out;
@@ -861,8 +944,8 @@
861
944
  content: ' ';
862
945
  }
863
946
  .ant-checkbox-checked .ant-checkbox-inner {
864
- background-color: #2c6dd2;
865
- border-color: #2c6dd2;
947
+ background-color: #436bff;
948
+ border-color: #436bff;
866
949
  }
867
950
  .ant-checkbox-disabled {
868
951
  cursor: not-allowed;
@@ -874,6 +957,7 @@
874
957
  }
875
958
  .ant-checkbox-disabled .ant-checkbox-input {
876
959
  cursor: not-allowed;
960
+ pointer-events: none;
877
961
  }
878
962
  .ant-checkbox-disabled .ant-checkbox-inner {
879
963
  background-color: #f5f5f5;
@@ -926,6 +1010,10 @@
926
1010
  .ant-checkbox-wrapper + .ant-checkbox-wrapper {
927
1011
  margin-left: 8px;
928
1012
  }
1013
+ .ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] {
1014
+ width: 14px;
1015
+ height: 14px;
1016
+ }
929
1017
  .ant-checkbox + span {
930
1018
  padding-right: 8px;
931
1019
  padding-left: 8px;
@@ -962,7 +1050,7 @@
962
1050
  left: 50%;
963
1051
  width: 8px;
964
1052
  height: 8px;
965
- background-color: #2c6dd2;
1053
+ background-color: #436bff;
966
1054
  border: 0;
967
1055
  -webkit-transform: translate(-50%, -50%) scale(1);
968
1056
  transform: translate(-50%, -50%) scale(1);
@@ -1047,11 +1135,11 @@
1047
1135
  color: #d9d9d9;
1048
1136
  }
1049
1137
  .pandora-sdk-selector-dropdown .ant-select-item-option-selected {
1050
- color: #2c6dd2;
1138
+ color: #436bff;
1051
1139
  font-weight: 400;
1052
1140
  }
1053
1141
  .pandora-sdk-selector-dropdown .ant-select-item-option:hover {
1054
- color: #2c6dd2;
1142
+ color: #436bff;
1055
1143
  }
1056
1144
  .pandora-sdk-selector-dropdown .ant-select-item-group {
1057
1145
  color: #d9d9d9;
@@ -1065,7 +1153,7 @@
1065
1153
  text-overflow: unset;
1066
1154
  }
1067
1155
  .pandora-sdk-selector-dropdown .pandora-sdk-selector-create-option {
1068
- color: #2c6dd2;
1156
+ color: #436bff;
1069
1157
  cursor: default;
1070
1158
  }
1071
1159
  .pandora-sdk-selector-dropdown .pandora-sdk-selector-create-option::before,
@@ -1073,10 +1161,10 @@
1073
1161
  content: none;
1074
1162
  }
1075
1163
  .pandora-sdk-selector-dropdown .pandora-sdk-selector-create-option a {
1076
- color: #2c6dd2;
1164
+ color: #436bff;
1077
1165
  }
1078
1166
  .pandora-sdk-selector-dropdown .ant-select-item-option-selected:not(.ant-select-item-option-disabled) .ant-select-item-option-state .anticon-check.anticon {
1079
- color: #2c6dd2;
1167
+ color: #436bff;
1080
1168
  }
1081
1169
  .pandora-sdk-selector-create-lint {
1082
1170
  display: block;
@@ -1,8 +1,8 @@
1
- @import 'antd/lib/auto-complete/style/index.less';
2
- @import '../../style/theme.less';
3
- @import '../Selector/style.less';
4
- .@{sdk-prefix}-auto-complete {
5
- .@{ant-prefix}-input {
6
- border: 0px;
7
- }
8
- }
1
+ @import 'antd/lib/auto-complete/style/index.less';
2
+ @import '../../style/theme.less';
3
+ @import '../Selector/style.less';
4
+ .@{sdk-prefix}-auto-complete {
5
+ .@{ant-prefix}-input {
6
+ border: 0px;
7
+ }
8
+ }
@@ -20,6 +20,16 @@
20
20
  .ant-breadcrumb .anticon {
21
21
  font-size: 16px;
22
22
  }
23
+ .ant-breadcrumb ol {
24
+ display: -webkit-box;
25
+ display: -ms-flexbox;
26
+ display: flex;
27
+ -ms-flex-wrap: wrap;
28
+ flex-wrap: wrap;
29
+ margin: 0;
30
+ padding: 0;
31
+ list-style: none;
32
+ }
23
33
  .ant-breadcrumb a {
24
34
  color: #999999;
25
35
  -webkit-transition: color 0.3s;
@@ -28,13 +38,13 @@
28
38
  .ant-breadcrumb a:hover {
29
39
  color: #999999;
30
40
  }
31
- .ant-breadcrumb > span:last-child {
41
+ .ant-breadcrumb li:last-child {
32
42
  color: rgba(0, 0, 0, 0.85);
33
43
  }
34
- .ant-breadcrumb > span:last-child a {
44
+ .ant-breadcrumb li:last-child a {
35
45
  color: rgba(0, 0, 0, 0.85);
36
46
  }
37
- .ant-breadcrumb > span:last-child .ant-breadcrumb-separator {
47
+ li:last-child > .ant-breadcrumb-separator {
38
48
  display: none;
39
49
  }
40
50
  .ant-breadcrumb-separator {
@@ -1,9 +1,9 @@
1
- @import 'antd/lib/breadcrumb/style/index.less';
2
- @import '../../style/theme.less';
3
-
4
- .@{sdk-prefix}-breadcrumb {
5
- font-size: 14px;
6
- a {
7
- text-decoration: none;
8
- }
9
- }
1
+ @import 'antd/lib/breadcrumb/style/index.less';
2
+ @import '../../style/theme.less';
3
+
4
+ .@{sdk-prefix}-breadcrumb {
5
+ font-size: 14px;
6
+ a {
7
+ text-decoration: none;
8
+ }
9
+ }