@qn-pandora/pandora-component 3.1.1 → 4.0.1

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 (222) hide show
  1. package/CHANGELOG.json +24 -7
  2. package/CHANGELOG.md +16 -7
  3. package/README.md +36 -36
  4. package/es/components/AutoComplete/style.css +25 -29
  5. package/es/components/AutoComplete/style.less +8 -8
  6. package/es/components/Breadcrumb/style.less +9 -9
  7. package/es/components/Button/index.d.ts +0 -8
  8. package/es/components/Button/index.js +4 -4
  9. package/es/components/Button/style.css +100 -104
  10. package/es/components/Button/style.less +51 -62
  11. package/es/components/Card/RowExtra/style.less +8 -8
  12. package/es/components/Card/SearchInput/style.less +8 -8
  13. package/es/components/Card/style.css +28 -2
  14. package/es/components/Card/style.less +11 -11
  15. package/es/components/CheckTransformList/style.css +50 -21
  16. package/es/components/CheckTransformList/style.less +35 -35
  17. package/es/components/Checkbox/style.css +1 -1
  18. package/es/components/Checkbox/style.less +5 -5
  19. package/es/components/CheckboxList/index.d.ts +2 -0
  20. package/es/components/CheckboxList/index.js +2 -2
  21. package/es/components/CheckboxList/style.css +5 -3
  22. package/es/components/CheckboxList/style.less +11 -9
  23. package/es/components/Collapse/style.css +16 -12
  24. package/es/components/Collapse/style.less +57 -57
  25. package/es/components/CollapsiblePanel/style.css +4 -4
  26. package/es/components/CollapsiblePanel/style.less +63 -63
  27. package/es/components/DateTimePicker/Base/style.css +378 -49
  28. package/es/components/DateTimePicker/Base/style.less +160 -164
  29. package/es/components/DateTimePicker/BaseMobile/Absolute/style.less +35 -35
  30. package/es/components/DateTimePicker/BaseMobile/style.css +4 -4
  31. package/es/components/DateTimePicker/BaseMobile/style.less +32 -32
  32. package/es/components/DateTimePicker/Collapse/Panel/style.less +26 -26
  33. package/es/components/DateTimePicker/DisplayInput/style.css +47 -16
  34. package/es/components/DateTimePicker/DisplayInput/style.less +9 -9
  35. package/es/components/DateTimePicker/constants.d.ts +1 -1
  36. package/es/components/DateTimePicker/constants.js +17 -6
  37. package/es/components/DateTimePicker/index.js +1 -1
  38. package/es/components/DateTimePicker/style.css +7 -7
  39. package/es/components/DateTimePicker/style.less +19 -17
  40. package/es/components/DateTimePicker/transform.d.ts +4 -0
  41. package/es/components/DateTimePicker/transform.js +52 -0
  42. package/es/components/Drawer/index.d.ts +55 -2
  43. package/es/components/Drawer/index.js +3 -1
  44. package/es/components/Drawer/style.css +45 -45
  45. package/es/components/Drawer/style.less +17 -17
  46. package/es/components/Input/index.d.ts +1 -2
  47. package/es/components/Input/index.js +0 -2
  48. package/es/components/Input/style.css +47 -16
  49. package/es/components/Input/style.less +12 -12
  50. package/es/components/InputNumber/index.d.ts +1 -8
  51. package/es/components/InputNumber/index.js +1 -35
  52. package/es/components/KeyValuePair/style.less +21 -21
  53. package/es/components/Menu/Option.d.ts +10 -0
  54. package/es/components/Menu/Option.js +18 -2
  55. package/es/components/Menu/index.d.ts +1 -1
  56. package/es/components/Menu/index.js +3 -3
  57. package/es/components/Menu/style.css +20 -10
  58. package/es/components/Menu/style.less +18 -8
  59. package/es/components/Modal/style.less +30 -30
  60. package/es/components/NameExplainTooltip/style.less +10 -10
  61. package/es/components/NameLimiter/style.css +2 -4
  62. package/es/components/NameLimiter/style.less +19 -21
  63. package/es/components/OptionList/InlineOptionList/style.less +16 -16
  64. package/es/components/OptionList/OptionItem/style.css +2 -2
  65. package/es/components/OptionList/OptionItem/style.less +25 -25
  66. package/es/components/OptionList/PopoverOptionList/style.less +30 -30
  67. package/es/components/OptionList/style.css +2 -2
  68. package/es/components/OptionList/style.less +3 -3
  69. package/es/components/RadioGroup/style.css +8 -8
  70. package/es/components/RadioGroup/style.less +32 -32
  71. package/es/components/RangeInput/style.css +427 -27
  72. package/es/components/RangeInput/style.less +37 -37
  73. package/es/components/RemarkName/style.css +2 -4
  74. package/es/components/RemarkName/style.less +2 -2
  75. package/es/components/Selector/style.css +25 -29
  76. package/es/components/Selector/style.less +99 -100
  77. package/es/components/Spin/style.css +0 -1
  78. package/es/components/Spin/style.less +26 -26
  79. package/es/components/Steps/ControlButton/style.less +5 -5
  80. package/es/components/Steps/style.css +8 -6
  81. package/es/components/Steps/style.less +48 -46
  82. package/es/components/Table/ColumnTag/style.less +40 -40
  83. package/es/components/Table/index.js +7 -4
  84. package/es/components/Table/style.css +85 -27
  85. package/es/components/Table/style.less +306 -313
  86. package/es/components/Tabs/style.css +29 -1
  87. package/es/components/Tabs/style.less +33 -31
  88. package/es/components/TagList/Tag/style.less +72 -72
  89. package/es/components/TagList/TagSwitch/style.less +28 -28
  90. package/es/components/TagList/style.css +10 -10
  91. package/es/components/TagList/style.less +28 -28
  92. package/es/components/Timeline/TimelineItem/style.less +49 -49
  93. package/es/components/Timeline/style.less +23 -23
  94. package/es/components/Transfer/List/index.js +3 -3
  95. package/es/components/Transfer/List/style.css +3 -0
  96. package/es/components/Transfer/List/style.less +19 -15
  97. package/es/components/Transfer/ListBody/style.less +18 -18
  98. package/es/components/Transfer/style.css +3 -0
  99. package/es/components/Transfer/style.less +14 -14
  100. package/es/components/TreeSelector/style.css +64 -20
  101. package/es/components/TreeSelector/style.less +56 -54
  102. package/es/hoc/popContainer.d.ts +5 -0
  103. package/es/hoc/popContainer.js +37 -0
  104. package/es/index.css +3011 -2517
  105. package/es/index.d.ts +1 -1
  106. package/es/index.less +49 -50
  107. package/es/style/mixin.less +45 -45
  108. package/es/style/theme.less +389 -379
  109. package/lib/components/AutoComplete/style.css +25 -29
  110. package/lib/components/AutoComplete/style.less +8 -8
  111. package/lib/components/Breadcrumb/style.less +9 -9
  112. package/lib/components/Button/index.d.ts +0 -8
  113. package/lib/components/Button/index.js +4 -4
  114. package/lib/components/Button/style.css +100 -104
  115. package/lib/components/Button/style.less +51 -62
  116. package/lib/components/Card/RowExtra/style.less +8 -8
  117. package/lib/components/Card/SearchInput/style.less +8 -8
  118. package/lib/components/Card/style.css +28 -2
  119. package/lib/components/Card/style.less +11 -11
  120. package/lib/components/CheckTransformList/style.css +50 -21
  121. package/lib/components/CheckTransformList/style.less +35 -35
  122. package/lib/components/Checkbox/style.css +1 -1
  123. package/lib/components/Checkbox/style.less +5 -5
  124. package/lib/components/CheckboxList/index.d.ts +2 -0
  125. package/lib/components/CheckboxList/index.js +2 -2
  126. package/lib/components/CheckboxList/style.css +5 -3
  127. package/lib/components/CheckboxList/style.less +11 -9
  128. package/lib/components/Collapse/style.css +16 -12
  129. package/lib/components/Collapse/style.less +57 -57
  130. package/lib/components/CollapsiblePanel/style.css +4 -4
  131. package/lib/components/CollapsiblePanel/style.less +63 -63
  132. package/lib/components/DateTimePicker/Base/style.css +378 -49
  133. package/lib/components/DateTimePicker/Base/style.less +160 -164
  134. package/lib/components/DateTimePicker/BaseMobile/Absolute/style.less +35 -35
  135. package/lib/components/DateTimePicker/BaseMobile/style.css +4 -4
  136. package/lib/components/DateTimePicker/BaseMobile/style.less +32 -32
  137. package/lib/components/DateTimePicker/Collapse/Panel/style.less +26 -26
  138. package/lib/components/DateTimePicker/DisplayInput/style.css +47 -16
  139. package/lib/components/DateTimePicker/DisplayInput/style.less +9 -9
  140. package/lib/components/DateTimePicker/constants.d.ts +1 -1
  141. package/lib/components/DateTimePicker/constants.js +17 -6
  142. package/lib/components/DateTimePicker/index.js +1 -1
  143. package/lib/components/DateTimePicker/style.css +7 -7
  144. package/lib/components/DateTimePicker/style.less +19 -17
  145. package/lib/components/DateTimePicker/transform.d.ts +4 -0
  146. package/lib/components/DateTimePicker/transform.js +53 -0
  147. package/lib/components/Drawer/index.d.ts +55 -2
  148. package/lib/components/Drawer/index.js +3 -1
  149. package/lib/components/Drawer/style.css +45 -45
  150. package/lib/components/Drawer/style.less +17 -17
  151. package/lib/components/Input/index.d.ts +1 -2
  152. package/lib/components/Input/index.js +0 -2
  153. package/lib/components/Input/style.css +47 -16
  154. package/lib/components/Input/style.less +12 -12
  155. package/lib/components/InputNumber/index.d.ts +1 -8
  156. package/lib/components/InputNumber/index.js +1 -38
  157. package/lib/components/KeyValuePair/style.less +21 -21
  158. package/lib/components/Menu/Option.d.ts +10 -0
  159. package/lib/components/Menu/Option.js +18 -2
  160. package/lib/components/Menu/index.d.ts +1 -1
  161. package/lib/components/Menu/index.js +3 -3
  162. package/lib/components/Menu/style.css +20 -10
  163. package/lib/components/Menu/style.less +18 -8
  164. package/lib/components/Modal/style.less +30 -30
  165. package/lib/components/NameExplainTooltip/style.less +10 -10
  166. package/lib/components/NameLimiter/style.css +2 -4
  167. package/lib/components/NameLimiter/style.less +19 -21
  168. package/lib/components/OptionList/InlineOptionList/style.less +16 -16
  169. package/lib/components/OptionList/OptionItem/style.css +2 -2
  170. package/lib/components/OptionList/OptionItem/style.less +25 -25
  171. package/lib/components/OptionList/PopoverOptionList/style.less +30 -30
  172. package/lib/components/OptionList/style.css +2 -2
  173. package/lib/components/OptionList/style.less +3 -3
  174. package/lib/components/RadioGroup/style.css +8 -8
  175. package/lib/components/RadioGroup/style.less +32 -32
  176. package/lib/components/RangeInput/style.css +427 -27
  177. package/lib/components/RangeInput/style.less +37 -37
  178. package/lib/components/RemarkName/style.css +2 -4
  179. package/lib/components/RemarkName/style.less +2 -2
  180. package/lib/components/Selector/style.css +25 -29
  181. package/lib/components/Selector/style.less +99 -100
  182. package/lib/components/Spin/style.css +0 -1
  183. package/lib/components/Spin/style.less +26 -26
  184. package/lib/components/Steps/ControlButton/style.less +5 -5
  185. package/lib/components/Steps/style.css +8 -6
  186. package/lib/components/Steps/style.less +48 -46
  187. package/lib/components/Table/ColumnTag/style.less +40 -40
  188. package/lib/components/Table/index.js +6 -3
  189. package/lib/components/Table/style.css +85 -27
  190. package/lib/components/Table/style.less +306 -313
  191. package/lib/components/Tabs/style.css +29 -1
  192. package/lib/components/Tabs/style.less +33 -31
  193. package/lib/components/TagList/Tag/style.less +72 -72
  194. package/lib/components/TagList/TagSwitch/style.less +28 -28
  195. package/lib/components/TagList/style.css +10 -10
  196. package/lib/components/TagList/style.less +28 -28
  197. package/lib/components/Timeline/TimelineItem/style.less +49 -49
  198. package/lib/components/Timeline/style.less +23 -23
  199. package/lib/components/Transfer/List/index.js +3 -3
  200. package/lib/components/Transfer/List/style.css +3 -0
  201. package/lib/components/Transfer/List/style.less +19 -15
  202. package/lib/components/Transfer/ListBody/style.less +18 -18
  203. package/lib/components/Transfer/style.css +3 -0
  204. package/lib/components/Transfer/style.less +14 -14
  205. package/lib/components/TreeSelector/style.css +64 -20
  206. package/lib/components/TreeSelector/style.less +56 -54
  207. package/lib/hoc/popContainer.d.ts +5 -0
  208. package/lib/hoc/popContainer.js +47 -0
  209. package/lib/index.css +5102 -4608
  210. package/lib/index.d.ts +1 -1
  211. package/lib/index.less +49 -50
  212. package/lib/style/mixin.less +45 -45
  213. package/lib/style/theme.less +389 -379
  214. package/package.json +79 -108
  215. package/es/components/Input/NumberInput/index.d.ts +0 -29
  216. package/es/components/Input/NumberInput/index.js +0 -116
  217. package/es/components/InputNumber/style.css +0 -400
  218. package/es/components/InputNumber/style.less +0 -45
  219. package/lib/components/Input/NumberInput/index.d.ts +0 -29
  220. package/lib/components/Input/NumberInput/index.js +0 -121
  221. package/lib/components/InputNumber/style.css +0 -400
  222. package/lib/components/InputNumber/style.less +0 -45
@@ -22,6 +22,7 @@
22
22
  border: 1px solid #bfbfbf;
23
23
  -webkit-transition: all 0.3s;
24
24
  transition: all 0.3s;
25
+ /* stylelint-disable-next-line selector-no-vendor-prefix */
25
26
  display: inline-block;
26
27
  width: 90px;
27
28
  margin: 0;
@@ -34,12 +35,20 @@
34
35
  }
35
36
  .ant-input-number::-webkit-input-placeholder {
36
37
  color: #bfbfbf;
38
+ -webkit-user-select: none;
39
+ user-select: none;
37
40
  }
38
41
  .ant-input-number::-ms-input-placeholder {
39
42
  color: #bfbfbf;
43
+ -ms-user-select: none;
44
+ user-select: none;
40
45
  }
41
46
  .ant-input-number::placeholder {
42
47
  color: #bfbfbf;
48
+ -webkit-user-select: none;
49
+ -moz-user-select: none;
50
+ -ms-user-select: none;
51
+ user-select: none;
43
52
  }
44
53
  .ant-input-number:placeholder-shown {
45
54
  text-overflow: ellipsis;
@@ -50,15 +59,18 @@
50
59
  }
51
60
  .ant-input-number:focus,
52
61
  .ant-input-number-focused {
53
- border-color: #528cde;
62
+ border-color: #9ca0a6;
63
+ -webkit-box-shadow: 0 0 0 2px rgba(122, 134, 154, 0.2);
64
+ box-shadow: 0 0 0 2px rgba(122, 134, 154, 0.2);
54
65
  border-right-width: 1px !important;
55
66
  outline: 0;
56
- -webkit-box-shadow: 0 0 0 2px rgba(44, 109, 210, 0.2);
57
- box-shadow: 0 0 0 2px rgba(44, 109, 210, 0.2);
58
67
  }
59
68
  .ant-input-number-disabled {
60
69
  color: rgba(0, 0, 0, 0.25);
61
70
  background-color: #f5f5f5;
71
+ border-color: #bfbfbf;
72
+ -webkit-box-shadow: none;
73
+ box-shadow: none;
62
74
  cursor: not-allowed;
63
75
  opacity: 1;
64
76
  }
@@ -69,6 +81,9 @@
69
81
  .ant-input-number[disabled] {
70
82
  color: rgba(0, 0, 0, 0.25);
71
83
  background-color: #f5f5f5;
84
+ border-color: #bfbfbf;
85
+ -webkit-box-shadow: none;
86
+ box-shadow: none;
72
87
  cursor: not-allowed;
73
88
  opacity: 1;
74
89
  }
@@ -103,6 +118,279 @@ textarea.ant-input-number {
103
118
  .ant-input-number-sm {
104
119
  padding: 1px 7px;
105
120
  }
121
+ .ant-input-number-group {
122
+ -webkit-box-sizing: border-box;
123
+ box-sizing: border-box;
124
+ margin: 0;
125
+ padding: 0;
126
+ color: rgba(0, 0, 0, 0.65);
127
+ font-size: 14px;
128
+ font-variant: tabular-nums;
129
+ line-height: 1.5715;
130
+ list-style: none;
131
+ -webkit-font-feature-settings: 'tnum';
132
+ font-feature-settings: 'tnum';
133
+ position: relative;
134
+ display: table;
135
+ width: 100%;
136
+ border-collapse: separate;
137
+ border-spacing: 0;
138
+ }
139
+ .ant-input-number-group[class*='col-'] {
140
+ float: none;
141
+ padding-right: 0;
142
+ padding-left: 0;
143
+ }
144
+ .ant-input-number-group > [class*='col-'] {
145
+ padding-right: 8px;
146
+ }
147
+ .ant-input-number-group > [class*='col-']:last-child {
148
+ padding-right: 0;
149
+ }
150
+ .ant-input-number-group-addon,
151
+ .ant-input-number-group-wrap,
152
+ .ant-input-number-group > .ant-input-number {
153
+ display: table-cell;
154
+ }
155
+ .ant-input-number-group-addon:not(:first-child):not(:last-child),
156
+ .ant-input-number-group-wrap:not(:first-child):not(:last-child),
157
+ .ant-input-number-group > .ant-input-number:not(:first-child):not(:last-child) {
158
+ border-radius: 0;
159
+ }
160
+ .ant-input-number-group-addon,
161
+ .ant-input-number-group-wrap {
162
+ width: 1px;
163
+ white-space: nowrap;
164
+ vertical-align: middle;
165
+ }
166
+ .ant-input-number-group-wrap > * {
167
+ display: block !important;
168
+ }
169
+ .ant-input-number-group .ant-input-number {
170
+ float: left;
171
+ width: 100%;
172
+ margin-bottom: 0;
173
+ text-align: inherit;
174
+ }
175
+ .ant-input-number-group .ant-input-number:focus {
176
+ z-index: 1;
177
+ border-right-width: 1px;
178
+ }
179
+ .ant-input-number-group .ant-input-number:hover {
180
+ z-index: 1;
181
+ border-right-width: 1px;
182
+ }
183
+ .ant-input-search-with-button .ant-input-number-group .ant-input-number:hover {
184
+ z-index: 0;
185
+ }
186
+ .ant-input-number-group-addon {
187
+ position: relative;
188
+ padding: 0 11px;
189
+ color: #333333;
190
+ font-weight: normal;
191
+ font-size: 14px;
192
+ text-align: center;
193
+ background-color: #fafafa;
194
+ border: 1px solid #bfbfbf;
195
+ border-radius: 2px;
196
+ -webkit-transition: all 0.3s;
197
+ transition: all 0.3s;
198
+ }
199
+ .ant-input-number-group-addon .ant-select {
200
+ margin: -5px -11px;
201
+ }
202
+ .ant-input-number-group-addon .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector {
203
+ background-color: inherit;
204
+ border: 1px solid transparent;
205
+ -webkit-box-shadow: none;
206
+ box-shadow: none;
207
+ }
208
+ .ant-input-number-group-addon .ant-select-open .ant-select-selector,
209
+ .ant-input-number-group-addon .ant-select-focused .ant-select-selector {
210
+ color: #7a869a;
211
+ }
212
+ .ant-input-number-group-addon .ant-cascader-picker {
213
+ margin: -9px -12px;
214
+ background-color: transparent;
215
+ }
216
+ .ant-input-number-group-addon .ant-cascader-picker .ant-cascader-input {
217
+ text-align: left;
218
+ border: 0;
219
+ -webkit-box-shadow: none;
220
+ box-shadow: none;
221
+ }
222
+ .ant-input-number-group > .ant-input-number:first-child,
223
+ .ant-input-number-group-addon:first-child {
224
+ border-top-right-radius: 0;
225
+ border-bottom-right-radius: 0;
226
+ }
227
+ .ant-input-number-group > .ant-input-number:first-child .ant-select .ant-select-selector,
228
+ .ant-input-number-group-addon:first-child .ant-select .ant-select-selector {
229
+ border-top-right-radius: 0;
230
+ border-bottom-right-radius: 0;
231
+ }
232
+ .ant-input-number-group > .ant-input-number-affix-wrapper:not(:first-child) .ant-input-number {
233
+ border-top-left-radius: 0;
234
+ border-bottom-left-radius: 0;
235
+ }
236
+ .ant-input-number-group > .ant-input-number-affix-wrapper:not(:last-child) .ant-input-number {
237
+ border-top-right-radius: 0;
238
+ border-bottom-right-radius: 0;
239
+ }
240
+ .ant-input-number-group-addon:first-child {
241
+ border-right: 0;
242
+ }
243
+ .ant-input-number-group-addon:last-child {
244
+ border-left: 0;
245
+ }
246
+ .ant-input-number-group > .ant-input-number:last-child,
247
+ .ant-input-number-group-addon:last-child {
248
+ border-top-left-radius: 0;
249
+ border-bottom-left-radius: 0;
250
+ }
251
+ .ant-input-number-group > .ant-input-number:last-child .ant-select .ant-select-selector,
252
+ .ant-input-number-group-addon:last-child .ant-select .ant-select-selector {
253
+ border-top-left-radius: 0;
254
+ border-bottom-left-radius: 0;
255
+ }
256
+ .ant-input-number-group-lg .ant-input-number,
257
+ .ant-input-number-group-lg > .ant-input-number-group-addon {
258
+ padding: 6.5px 11px;
259
+ font-size: 16px;
260
+ }
261
+ .ant-input-number-group-sm .ant-input-number,
262
+ .ant-input-number-group-sm > .ant-input-number-group-addon {
263
+ padding: 1px 7px;
264
+ }
265
+ .ant-input-number-group-lg .ant-select-single .ant-select-selector {
266
+ height: 40px;
267
+ }
268
+ .ant-input-number-group-sm .ant-select-single .ant-select-selector {
269
+ height: 26px;
270
+ }
271
+ .ant-input-number-group .ant-input-number-affix-wrapper:not(:last-child) {
272
+ border-top-right-radius: 0;
273
+ border-bottom-right-radius: 0;
274
+ }
275
+ .ant-input-search .ant-input-number-group .ant-input-number-affix-wrapper:not(:last-child) {
276
+ border-top-left-radius: 2px;
277
+ border-bottom-left-radius: 2px;
278
+ }
279
+ .ant-input-number-group .ant-input-number-affix-wrapper:not(:first-child),
280
+ .ant-input-search .ant-input-number-group .ant-input-number-affix-wrapper:not(:first-child) {
281
+ border-top-left-radius: 0;
282
+ border-bottom-left-radius: 0;
283
+ }
284
+ .ant-input-number-group.ant-input-number-group-compact {
285
+ display: block;
286
+ }
287
+ .ant-input-number-group.ant-input-number-group-compact::before {
288
+ display: table;
289
+ content: '';
290
+ }
291
+ .ant-input-number-group.ant-input-number-group-compact::after {
292
+ display: table;
293
+ clear: both;
294
+ content: '';
295
+ }
296
+ .ant-input-number-group.ant-input-number-group-compact-addon:not(:first-child):not(:last-child),
297
+ .ant-input-number-group.ant-input-number-group-compact-wrap:not(:first-child):not(:last-child),
298
+ .ant-input-number-group.ant-input-number-group-compact > .ant-input-number:not(:first-child):not(:last-child) {
299
+ border-right-width: 1px;
300
+ }
301
+ .ant-input-number-group.ant-input-number-group-compact-addon:not(:first-child):not(:last-child):hover,
302
+ .ant-input-number-group.ant-input-number-group-compact-wrap:not(:first-child):not(:last-child):hover,
303
+ .ant-input-number-group.ant-input-number-group-compact > .ant-input-number:not(:first-child):not(:last-child):hover {
304
+ z-index: 1;
305
+ }
306
+ .ant-input-number-group.ant-input-number-group-compact-addon:not(:first-child):not(:last-child):focus,
307
+ .ant-input-number-group.ant-input-number-group-compact-wrap:not(:first-child):not(:last-child):focus,
308
+ .ant-input-number-group.ant-input-number-group-compact > .ant-input-number:not(:first-child):not(:last-child):focus {
309
+ z-index: 1;
310
+ }
311
+ .ant-input-number-group.ant-input-number-group-compact > * {
312
+ display: inline-block;
313
+ float: none;
314
+ vertical-align: top;
315
+ border-radius: 0;
316
+ }
317
+ .ant-input-number-group.ant-input-number-group-compact > .ant-input-number-affix-wrapper {
318
+ display: -webkit-inline-box;
319
+ display: -ms-inline-flexbox;
320
+ display: inline-flex;
321
+ }
322
+ .ant-input-number-group.ant-input-number-group-compact > .ant-picker-range {
323
+ display: -webkit-inline-box;
324
+ display: -ms-inline-flexbox;
325
+ display: inline-flex;
326
+ }
327
+ .ant-input-number-group.ant-input-number-group-compact > *:not(:last-child) {
328
+ margin-right: -1px;
329
+ border-right-width: 1px;
330
+ }
331
+ .ant-input-number-group.ant-input-number-group-compact .ant-input-number {
332
+ float: none;
333
+ }
334
+ .ant-input-number-group.ant-input-number-group-compact > .ant-select > .ant-select-selector,
335
+ .ant-input-number-group.ant-input-number-group-compact > .ant-select-auto-complete .ant-input,
336
+ .ant-input-number-group.ant-input-number-group-compact > .ant-cascader-picker .ant-input,
337
+ .ant-input-number-group.ant-input-number-group-compact > .ant-input-group-wrapper .ant-input {
338
+ border-right-width: 1px;
339
+ border-radius: 0;
340
+ }
341
+ .ant-input-number-group.ant-input-number-group-compact > .ant-select > .ant-select-selector:hover,
342
+ .ant-input-number-group.ant-input-number-group-compact > .ant-select-auto-complete .ant-input:hover,
343
+ .ant-input-number-group.ant-input-number-group-compact > .ant-cascader-picker .ant-input:hover,
344
+ .ant-input-number-group.ant-input-number-group-compact > .ant-input-group-wrapper .ant-input:hover {
345
+ z-index: 1;
346
+ }
347
+ .ant-input-number-group.ant-input-number-group-compact > .ant-select > .ant-select-selector:focus,
348
+ .ant-input-number-group.ant-input-number-group-compact > .ant-select-auto-complete .ant-input:focus,
349
+ .ant-input-number-group.ant-input-number-group-compact > .ant-cascader-picker .ant-input:focus,
350
+ .ant-input-number-group.ant-input-number-group-compact > .ant-input-group-wrapper .ant-input:focus {
351
+ z-index: 1;
352
+ }
353
+ .ant-input-number-group.ant-input-number-group-compact > .ant-select-focused {
354
+ z-index: 1;
355
+ }
356
+ .ant-input-number-group.ant-input-number-group-compact > .ant-select > .ant-select-arrow {
357
+ z-index: 1;
358
+ }
359
+ .ant-input-number-group.ant-input-number-group-compact > *:first-child,
360
+ .ant-input-number-group.ant-input-number-group-compact > .ant-select:first-child > .ant-select-selector,
361
+ .ant-input-number-group.ant-input-number-group-compact > .ant-select-auto-complete:first-child .ant-input,
362
+ .ant-input-number-group.ant-input-number-group-compact > .ant-cascader-picker:first-child .ant-input {
363
+ border-top-left-radius: 2px;
364
+ border-bottom-left-radius: 2px;
365
+ }
366
+ .ant-input-number-group.ant-input-number-group-compact > *:last-child,
367
+ .ant-input-number-group.ant-input-number-group-compact > .ant-select:last-child > .ant-select-selector,
368
+ .ant-input-number-group.ant-input-number-group-compact > .ant-cascader-picker:last-child .ant-input,
369
+ .ant-input-number-group.ant-input-number-group-compact > .ant-cascader-picker-focused:last-child .ant-input {
370
+ border-right-width: 1px;
371
+ border-top-right-radius: 2px;
372
+ border-bottom-right-radius: 2px;
373
+ }
374
+ .ant-input-number-group.ant-input-number-group-compact > .ant-select-auto-complete .ant-input {
375
+ vertical-align: top;
376
+ }
377
+ .ant-input-number-group.ant-input-number-group-compact .ant-input-group-wrapper + .ant-input-group-wrapper {
378
+ margin-left: -1px;
379
+ }
380
+ .ant-input-number-group.ant-input-number-group-compact .ant-input-group-wrapper + .ant-input-group-wrapper .ant-input-affix-wrapper {
381
+ border-radius: 0;
382
+ }
383
+ .ant-input-number-group.ant-input-number-group-compact .ant-input-group-wrapper:not(:last-child).ant-input-search > .ant-input-group > .ant-input-group-addon > .ant-input-search-button {
384
+ border-radius: 0;
385
+ }
386
+ .ant-input-number-group.ant-input-number-group-compact .ant-input-group-wrapper:not(:last-child).ant-input-search > .ant-input-group > .ant-input {
387
+ border-radius: 2px 0 0 2px;
388
+ }
389
+ .ant-input-number-group-wrapper {
390
+ display: inline-block;
391
+ text-align: start;
392
+ vertical-align: top;
393
+ }
106
394
  .ant-input-number-handler {
107
395
  position: relative;
108
396
  display: block;
@@ -177,15 +465,18 @@ textarea.ant-input-number {
177
465
  transition: opacity 0.24s linear 0.24s;
178
466
  }
179
467
  .ant-input-number-focused {
180
- border-color: #528cde;
468
+ border-color: #9ca0a6;
469
+ -webkit-box-shadow: 0 0 0 2px rgba(122, 134, 154, 0.2);
470
+ box-shadow: 0 0 0 2px rgba(122, 134, 154, 0.2);
181
471
  border-right-width: 1px !important;
182
472
  outline: 0;
183
- -webkit-box-shadow: 0 0 0 2px rgba(44, 109, 210, 0.2);
184
- box-shadow: 0 0 0 2px rgba(44, 109, 210, 0.2);
185
473
  }
186
474
  .ant-input-number-disabled {
187
475
  color: rgba(0, 0, 0, 0.25);
188
476
  background-color: #f5f5f5;
477
+ border-color: #bfbfbf;
478
+ -webkit-box-shadow: none;
479
+ box-shadow: none;
189
480
  cursor: not-allowed;
190
481
  opacity: 1;
191
482
  }
@@ -213,19 +504,30 @@ textarea.ant-input-number {
213
504
  outline: 0;
214
505
  -webkit-transition: all 0.3s linear;
215
506
  transition: all 0.3s linear;
216
- -moz-appearance: textfield !important;
507
+ -webkit-appearance: textfield !important;
508
+ -moz-appearance: textfield !important;
509
+ appearance: textfield !important;
510
+ /* stylelint-disable-next-line selector-no-vendor-prefix */
217
511
  }
218
512
  .ant-input-number-input::-moz-placeholder {
219
513
  opacity: 1;
220
514
  }
221
515
  .ant-input-number-input::-webkit-input-placeholder {
222
516
  color: #bfbfbf;
517
+ -webkit-user-select: none;
518
+ user-select: none;
223
519
  }
224
520
  .ant-input-number-input::-ms-input-placeholder {
225
521
  color: #bfbfbf;
522
+ -ms-user-select: none;
523
+ user-select: none;
226
524
  }
227
525
  .ant-input-number-input::placeholder {
228
526
  color: #bfbfbf;
527
+ -webkit-user-select: none;
528
+ -moz-user-select: none;
529
+ -ms-user-select: none;
530
+ user-select: none;
229
531
  }
230
532
  .ant-input-number-input:placeholder-shown {
231
533
  text-overflow: ellipsis;
@@ -233,7 +535,9 @@ textarea.ant-input-number {
233
535
  .ant-input-number-input[type='number']::-webkit-inner-spin-button,
234
536
  .ant-input-number-input[type='number']::-webkit-outer-spin-button {
235
537
  margin: 0;
538
+ /* stylelint-disable-next-line property-no-vendor-prefix */
236
539
  -webkit-appearance: none;
540
+ appearance: none;
237
541
  }
238
542
  .ant-input-number-lg {
239
543
  padding: 0;
@@ -263,6 +567,15 @@ textarea.ant-input-number {
263
567
  }
264
568
  .ant-input-number-handler-wrap .ant-input-number-handler .ant-input-number-handler-up-inner,
265
569
  .ant-input-number-handler-wrap .ant-input-number-handler .ant-input-number-handler-down-inner {
570
+ display: -webkit-box;
571
+ display: -ms-flexbox;
572
+ display: flex;
573
+ -webkit-box-align: center;
574
+ -ms-flex-align: center;
575
+ align-items: center;
576
+ -webkit-box-pack: center;
577
+ -ms-flex-pack: center;
578
+ justify-content: center;
266
579
  min-width: auto;
267
580
  margin-right: 0;
268
581
  font-size: 7px;
@@ -273,7 +586,8 @@ textarea.ant-input-number {
273
586
  .ant-input-number-handler-wrap:hover .ant-input-number-handler {
274
587
  height: 40%;
275
588
  }
276
- .ant-input-number:hover .ant-input-number-handler-wrap {
589
+ .ant-input-number:hover .ant-input-number-handler-wrap,
590
+ .ant-input-number-focused .ant-input-number-handler-wrap {
277
591
  opacity: 1;
278
592
  }
279
593
  .ant-input-number-handler-up {
@@ -324,16 +638,23 @@ textarea.ant-input-number {
324
638
  .ant-input-number-rtl {
325
639
  direction: rtl;
326
640
  }
641
+ .ant-input-number-rtl .ant-input-number-handler {
642
+ border-right: 1px solid #e5e5e5;
643
+ border-left: 0;
644
+ }
327
645
  .ant-input-number-rtl .ant-input-number-handler-wrap {
328
646
  right: auto;
329
647
  left: 0;
330
- border-right: 1px solid #e5e5e5;
331
- border-left: 0;
332
- border-radius: 2px 0 0 2px;
333
648
  }
334
649
  .ant-input-number-rtl.ant-input-number-borderless .ant-input-number-handler-wrap {
335
650
  border-right-width: 0;
336
651
  }
652
+ .ant-input-number-rtl .ant-input-number-handler-up {
653
+ border-top-right-radius: 0;
654
+ }
655
+ .ant-input-number-rtl .ant-input-number-handler-down {
656
+ border-bottom-right-radius: 0;
657
+ }
337
658
  .ant-input-number-rtl .ant-input-number-input {
338
659
  direction: ltr;
339
660
  text-align: right;
@@ -372,11 +693,11 @@ textarea.ant-input-number {
372
693
  border-right-width: 1px !important;
373
694
  }
374
695
  .ant-picker-focused {
375
- border-color: #528cde;
696
+ border-color: #9ca0a6;
697
+ -webkit-box-shadow: 0 0 0 2px rgba(122, 134, 154, 0.2);
698
+ box-shadow: 0 0 0 2px rgba(122, 134, 154, 0.2);
376
699
  border-right-width: 1px !important;
377
700
  outline: 0;
378
- -webkit-box-shadow: 0 0 0 2px rgba(44, 109, 210, 0.2);
379
- box-shadow: 0 0 0 2px rgba(44, 109, 210, 0.2);
380
701
  }
381
702
  .ant-picker.ant-picker-disabled {
382
703
  background: #f5f5f5;
@@ -417,6 +738,7 @@ textarea.ant-input-number {
417
738
  border-radius: 2px;
418
739
  -webkit-transition: all 0.3s;
419
740
  transition: all 0.3s;
741
+ /* stylelint-disable-next-line selector-no-vendor-prefix */
420
742
  -webkit-box-flex: 1;
421
743
  -ms-flex: auto;
422
744
  flex: auto;
@@ -431,12 +753,20 @@ textarea.ant-input-number {
431
753
  }
432
754
  .ant-picker-input > input::-webkit-input-placeholder {
433
755
  color: #bfbfbf;
756
+ -webkit-user-select: none;
757
+ user-select: none;
434
758
  }
435
759
  .ant-picker-input > input::-ms-input-placeholder {
436
760
  color: #bfbfbf;
761
+ -ms-user-select: none;
762
+ user-select: none;
437
763
  }
438
764
  .ant-picker-input > input::placeholder {
439
765
  color: #bfbfbf;
766
+ -webkit-user-select: none;
767
+ -moz-user-select: none;
768
+ -ms-user-select: none;
769
+ user-select: none;
440
770
  }
441
771
  .ant-picker-input > input:placeholder-shown {
442
772
  text-overflow: ellipsis;
@@ -447,15 +777,18 @@ textarea.ant-input-number {
447
777
  }
448
778
  .ant-picker-input > input:focus,
449
779
  .ant-picker-input > input-focused {
450
- border-color: #528cde;
780
+ border-color: #9ca0a6;
781
+ -webkit-box-shadow: 0 0 0 2px rgba(122, 134, 154, 0.2);
782
+ box-shadow: 0 0 0 2px rgba(122, 134, 154, 0.2);
451
783
  border-right-width: 1px !important;
452
784
  outline: 0;
453
- -webkit-box-shadow: 0 0 0 2px rgba(44, 109, 210, 0.2);
454
- box-shadow: 0 0 0 2px rgba(44, 109, 210, 0.2);
455
785
  }
456
786
  .ant-picker-input > input-disabled {
457
787
  color: rgba(0, 0, 0, 0.25);
458
788
  background-color: #f5f5f5;
789
+ border-color: #bfbfbf;
790
+ -webkit-box-shadow: none;
791
+ box-shadow: none;
459
792
  cursor: not-allowed;
460
793
  opacity: 1;
461
794
  }
@@ -466,6 +799,9 @@ textarea.ant-input-number {
466
799
  .ant-picker-input > input[disabled] {
467
800
  color: rgba(0, 0, 0, 0.25);
468
801
  background-color: #f5f5f5;
802
+ border-color: #bfbfbf;
803
+ -webkit-box-shadow: none;
804
+ box-shadow: none;
469
805
  cursor: not-allowed;
470
806
  opacity: 1;
471
807
  }
@@ -907,6 +1243,8 @@ textarea.ant-picker-input > input {
907
1243
  height: 24px;
908
1244
  -webkit-transform: translateY(-50%);
909
1245
  transform: translateY(-50%);
1246
+ -webkit-transition: all 0.3s;
1247
+ transition: all 0.3s;
910
1248
  content: '';
911
1249
  }
912
1250
  .ant-picker-cell .ant-picker-cell-inner {
@@ -972,6 +1310,8 @@ textarea.ant-picker-input > input {
972
1310
  border-bottom: 1px dashed #b4bbc6;
973
1311
  -webkit-transform: translateY(-50%);
974
1312
  transform: translateY(-50%);
1313
+ -webkit-transition: all 0.3s;
1314
+ transition: all 0.3s;
975
1315
  content: '';
976
1316
  }
977
1317
  .ant-picker-cell-range-hover-start::after,
@@ -1002,6 +1342,8 @@ textarea.ant-picker-input > input {
1002
1342
  bottom: 0;
1003
1343
  z-index: -1;
1004
1344
  background: #dfe2e7;
1345
+ -webkit-transition: all 0.3s;
1346
+ transition: all 0.3s;
1005
1347
  content: '';
1006
1348
  }
1007
1349
  .ant-picker-date-panel .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-start .ant-picker-cell-inner::after {
@@ -1278,7 +1620,7 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte
1278
1620
  background: transparent;
1279
1621
  cursor: not-allowed;
1280
1622
  }
1281
- /* stylelint-disable-next-line */
1623
+ /* stylelint-disable-next-line selector-type-no-unknown,selector-no-vendor-prefix */
1282
1624
  _:-ms-fullscreen .ant-picker-range-wrapper .ant-picker-month-panel .ant-picker-cell,
1283
1625
  :root .ant-picker-range-wrapper .ant-picker-month-panel .ant-picker-cell,
1284
1626
  _:-ms-fullscreen .ant-picker-range-wrapper .ant-picker-year-panel .ant-picker-cell,
@@ -1389,10 +1731,7 @@ _:-ms-fullscreen .ant-picker-range-wrapper .ant-picker-year-panel .ant-picker-ce
1389
1731
  left: 0;
1390
1732
  border-right: 1px dashed #b4bbc6;
1391
1733
  border-left: none;
1392
- border-top-left-radius: 0;
1393
- border-top-right-radius: 2px;
1394
- border-bottom-right-radius: 2px;
1395
- border-bottom-left-radius: 0;
1734
+ border-radius: 0 2px 2px 0;
1396
1735
  }
1397
1736
  .ant-picker-panel-rtl tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover:not(.ant-picker-cell-selected):last-child::after,
1398
1737
  .ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-end.ant-picker-cell-range-hover-edge-end.ant-picker-cell-range-hover-edge-end-near-range::after,
@@ -1402,10 +1741,7 @@ _:-ms-fullscreen .ant-picker-range-wrapper .ant-picker-year-panel .ant-picker-ce
1402
1741
  left: 6px;
1403
1742
  border-right: none;
1404
1743
  border-left: 1px dashed #b4bbc6;
1405
- border-top-left-radius: 2px;
1406
- border-top-right-radius: 0;
1407
- border-bottom-right-radius: 0;
1408
- border-bottom-left-radius: 2px;
1744
+ border-radius: 2px 0 0 2px;
1409
1745
  }
1410
1746
  .ant-picker-panel-rtl tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::after,
1411
1747
  .ant-picker-panel-rtl tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-end:first-child::after,
@@ -1433,24 +1769,24 @@ _:-ms-fullscreen .ant-picker-range-wrapper .ant-picker-year-panel .ant-picker-ce
1433
1769
  .ant-btn-sm {
1434
1770
  padding: 0 7px;
1435
1771
  }
1436
- .pandora-sdk-datetime-pick-title {
1772
+ .pandora-sdk-panel.pandora-sdk-datetime-pick-panel {
1773
+ margin-bottom: 0;
1774
+ }
1775
+ .pandora-sdk-panel.pandora-sdk-datetime-pick-panel:last-child .pandora-sdk-datetime-pick-title {
1776
+ border-bottom: none;
1777
+ }
1778
+ .pandora-sdk-panel.pandora-sdk-datetime-pick-panel .pandora-sdk-datetime-pick-title {
1437
1779
  padding: 8px 16px 6px;
1438
1780
  border-bottom: 1px solid #ffffff;
1439
1781
  color: #7a869a;
1440
1782
  font-size: 14px;
1441
1783
  background-color: #f4f5f7;
1442
1784
  }
1443
- .pandora-sdk-datetime-pick-panel {
1444
- margin-bottom: 0;
1445
- }
1446
- .pandora-sdk-datetime-pick-panel:last-child .pandora-sdk-datetime-pick-title {
1447
- border-bottom: none;
1448
- }
1449
- .pandora-sdk-datetime-pick-preset {
1785
+ .pandora-sdk-panel.pandora-sdk-datetime-pick-panel .pandora-sdk-datetime-pick-preset {
1450
1786
  padding: 12px;
1451
1787
  text-align: left;
1452
1788
  }
1453
- .pandora-sdk-datetime-pick-preset .pandora-sdk-datetime-pick-item {
1789
+ .pandora-sdk-panel.pandora-sdk-datetime-pick-panel .pandora-sdk-datetime-pick-preset .pandora-sdk-datetime-pick-item {
1454
1790
  display: inline-block;
1455
1791
  width: 96px;
1456
1792
  line-height: 28px;
@@ -1462,17 +1798,17 @@ _:-ms-fullscreen .ant-picker-range-wrapper .ant-picker-year-panel .ant-picker-ce
1462
1798
  cursor: pointer;
1463
1799
  border-radius: 2px;
1464
1800
  }
1465
- .pandora-sdk-datetime-pick-preset .pandora-sdk-datetime-pick-item.active {
1801
+ .pandora-sdk-panel.pandora-sdk-datetime-pick-panel .pandora-sdk-datetime-pick-preset .pandora-sdk-datetime-pick-item.active {
1466
1802
  background: #2c6dd2;
1467
1803
  color: #ffffff;
1468
1804
  pointer-events: none;
1469
1805
  }
1806
+ .pandora-sdk-panel.pandora-sdk-datetime-pick-panel .pandora-sdk-datetime-pick-panel-content {
1807
+ padding: 0;
1808
+ }
1470
1809
  .pandora-sdk-datetime-pick-content {
1471
1810
  padding: 16px;
1472
1811
  }
1473
- .pandora-sdk-datetime-pick-content .range-picker {
1474
- width: 100% !important;
1475
- }
1476
1812
  .pandora-sdk-datetime-pick-content .ant-calendar-range-picker-input {
1477
1813
  width: calc(50% - 14px);
1478
1814
  }
@@ -1505,6 +1841,9 @@ _:-ms-fullscreen .ant-picker-range-wrapper .ant-picker-year-panel .ant-picker-ce
1505
1841
  margin-left: 8px;
1506
1842
  margin-right: 12px;
1507
1843
  }
1844
+ .pandora-sdk-datetime-pick-absolute-content .pandora-sdk-datetime-pick-absolute-date-picker.range-picker {
1845
+ width: 100%;
1846
+ }
1508
1847
  .pandora-sdk-datetime-pick-footer {
1509
1848
  padding: 0 16px 16px 16px;
1510
1849
  text-align: right;
@@ -1512,9 +1851,6 @@ _:-ms-fullscreen .ant-picker-range-wrapper .ant-picker-year-panel .ant-picker-ce
1512
1851
  .pandora-sdk-datetime-pick-footer .pandora-sdk-datetime-pick-footer-botton {
1513
1852
  border-radius: 2px;
1514
1853
  }
1515
- .pandora-sdk-datetime-pick-panel-content {
1516
- padding: 0;
1517
- }
1518
1854
  .pandora-sdk-datetime-pick-relative-root {
1519
1855
  position: relative;
1520
1856
  -webkit-box-flex: 1;
@@ -1572,9 +1908,6 @@ _:-ms-fullscreen .ant-picker-range-wrapper .ant-picker-year-panel .ant-picker-ce
1572
1908
  .pandora-sdk-datetime-pick-relative-footer-witNow {
1573
1909
  margin-top: 30px;
1574
1910
  }
1575
- .pandora-sdk-quarter-datetime-pick-panel {
1576
- width: 360px;
1577
- }
1578
1911
  .pandora-sdk-datetime-pick-quarter-content {
1579
1912
  padding-right: 12px;
1580
1913
  padding-left: 12px;
@@ -1591,10 +1924,6 @@ _:-ms-fullscreen .ant-picker-range-wrapper .ant-picker-year-panel .ant-picker-ce
1591
1924
  min-width: 120px;
1592
1925
  border-left: 1px solid #ffffff;
1593
1926
  }
1594
- .pandora-sdk-datetime-pick-quarter-content .pandora-sdk-selector .ant-select-selection {
1595
- background: #ebf0fd !important;
1596
- border-radius: 2px;
1597
- }
1598
1927
  .pandora-sdk-selector .pandora-sdk-datetime-pick-quarter-content .pandora-sdk-selector {
1599
1928
  margin-left: 18px;
1600
1929
  }