@qn-pandora/pandora-component 5.0.2 → 5.1.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 (105) hide show
  1. package/es/components/AutoComplete/index.js +2 -2
  2. package/es/components/AutoComplete/style.css +110 -22
  3. package/es/components/Breadcrumb/style.css +13 -3
  4. package/es/components/Button/style.css +215 -109
  5. package/es/components/Card/RowExtra/style.css +6 -0
  6. package/es/components/Card/style.css +50 -55
  7. package/es/components/CheckTransformList/style.css +327 -103
  8. package/es/components/Checkbox/style.css +5 -0
  9. package/es/components/CheckboxList/style.css +5 -0
  10. package/es/components/Collapse/style.css +34 -2
  11. package/es/components/DateTimePicker/Base/style.css +446 -56
  12. package/es/components/DateTimePicker/DisplayInput/style.css +218 -40
  13. package/es/components/DateTimePicker/index.js +1 -1
  14. package/es/components/DateTimePicker/style.css +77 -46
  15. package/es/components/Descriptions/style.css +77 -46
  16. package/es/components/Drawer/index.d.ts +6 -6
  17. package/es/components/Drawer/index.js +4 -4
  18. package/es/components/Drawer/style.css +244 -169
  19. package/es/components/Drawer/style.less +8 -0
  20. package/es/components/FileResumable/style.css +12 -42
  21. package/es/components/Input/index.d.ts +1 -1
  22. package/es/components/Input/style.css +218 -40
  23. package/es/components/Menu/style.css +16 -7
  24. package/es/components/Modal/style.css +10 -7
  25. package/es/components/NameLimiter/index.js +1 -1
  26. package/es/components/NameLimiter/style.css +83 -55
  27. package/es/components/OptionList/InlineOptionList/style.css +21 -8
  28. package/es/components/OptionList/OptionItem/style.css +83 -55
  29. package/es/components/OptionList/PopoverOptionList/index.js +1 -1
  30. package/es/components/OptionList/PopoverOptionList/style.css +77 -46
  31. package/es/components/OptionList/style.css +181 -109
  32. package/es/components/RadioGroup/style.css +27 -16
  33. package/es/components/RangeInput/style.css +581 -64
  34. package/es/components/RemarkName/style.css +83 -55
  35. package/es/components/Selector/style.css +110 -22
  36. package/es/components/Spin/style.css +8 -6
  37. package/es/components/Steps/style.css +43 -5
  38. package/es/components/Table/ColumnSetting/style.css +2 -5
  39. package/es/components/Table/ColumnSetting/style.less +2 -3
  40. package/es/components/Table/index.d.ts +12 -9
  41. package/es/components/Table/index.js +73 -84
  42. package/es/components/Table/style.css +99 -61
  43. package/es/components/Tabs/style.css +117 -68
  44. package/es/components/TopologyChart/index.d.ts +7 -0
  45. package/es/components/TopologyChart/index.js +19 -0
  46. package/es/components/TopologyChart/style.css +14 -0
  47. package/es/components/TopologyChart/style.less +14 -0
  48. package/es/components/TreeSelector/style.css +21 -9
  49. package/es/index.css +4134 -3054
  50. package/es/index.d.ts +1 -0
  51. package/es/index.js +1 -0
  52. package/es/index.less +16 -15
  53. package/lib/components/AutoComplete/index.js +2 -2
  54. package/lib/components/AutoComplete/style.css +110 -22
  55. package/lib/components/Breadcrumb/style.css +13 -3
  56. package/lib/components/Button/style.css +215 -109
  57. package/lib/components/Card/RowExtra/style.css +6 -0
  58. package/lib/components/Card/style.css +50 -55
  59. package/lib/components/CheckTransformList/style.css +327 -103
  60. package/lib/components/Checkbox/style.css +5 -0
  61. package/lib/components/CheckboxList/style.css +5 -0
  62. package/lib/components/Collapse/style.css +34 -2
  63. package/lib/components/DateTimePicker/Base/style.css +446 -56
  64. package/lib/components/DateTimePicker/DisplayInput/style.css +218 -40
  65. package/lib/components/DateTimePicker/index.js +1 -1
  66. package/lib/components/DateTimePicker/style.css +77 -46
  67. package/lib/components/Descriptions/style.css +77 -46
  68. package/lib/components/Drawer/index.d.ts +6 -6
  69. package/lib/components/Drawer/index.js +4 -4
  70. package/lib/components/Drawer/style.css +244 -169
  71. package/lib/components/Drawer/style.less +8 -0
  72. package/lib/components/FileResumable/style.css +12 -42
  73. package/lib/components/Input/index.d.ts +1 -1
  74. package/lib/components/Input/style.css +218 -40
  75. package/lib/components/Menu/style.css +16 -7
  76. package/lib/components/Modal/style.css +10 -7
  77. package/lib/components/NameLimiter/index.js +1 -1
  78. package/lib/components/NameLimiter/style.css +83 -55
  79. package/lib/components/OptionList/InlineOptionList/style.css +21 -8
  80. package/lib/components/OptionList/OptionItem/style.css +83 -55
  81. package/lib/components/OptionList/PopoverOptionList/index.js +1 -1
  82. package/lib/components/OptionList/PopoverOptionList/style.css +77 -46
  83. package/lib/components/OptionList/style.css +181 -109
  84. package/lib/components/RadioGroup/style.css +27 -16
  85. package/lib/components/RangeInput/style.css +581 -64
  86. package/lib/components/RemarkName/style.css +83 -55
  87. package/lib/components/Selector/style.css +110 -22
  88. package/lib/components/Spin/style.css +8 -6
  89. package/lib/components/Steps/style.css +43 -5
  90. package/lib/components/Table/ColumnSetting/style.css +2 -5
  91. package/lib/components/Table/ColumnSetting/style.less +2 -3
  92. package/lib/components/Table/index.d.ts +12 -9
  93. package/lib/components/Table/index.js +73 -84
  94. package/lib/components/Table/style.css +99 -61
  95. package/lib/components/Tabs/style.css +117 -68
  96. package/lib/components/TopologyChart/index.d.ts +7 -0
  97. package/lib/components/TopologyChart/index.js +28 -0
  98. package/lib/components/TopologyChart/style.css +14 -0
  99. package/lib/components/TopologyChart/style.less +14 -0
  100. package/lib/components/TreeSelector/style.css +21 -9
  101. package/lib/index.css +10899 -9819
  102. package/lib/index.d.ts +1 -0
  103. package/lib/index.js +6 -1
  104. package/lib/index.less +23 -22
  105. package/package.json +7 -6
@@ -4,131 +4,113 @@
4
4
  /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
5
5
  .ant-drawer {
6
6
  position: fixed;
7
+ top: 0;
8
+ right: 0;
9
+ bottom: 0;
10
+ left: 0;
7
11
  z-index: 1200;
8
- width: 0%;
9
- height: 100%;
10
- -webkit-transition: width 0s ease 0.3s, height 0s ease 0.3s;
11
- transition: width 0s ease 0.3s, height 0s ease 0.3s;
12
+ pointer-events: none;
12
13
  }
13
- .ant-drawer-content-wrapper {
14
+ .ant-drawer-inline {
14
15
  position: absolute;
15
- width: 100%;
16
- height: 100%;
17
- -webkit-transition: -webkit-transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), -webkit-box-shadow 0.3s cubic-bezier(0.23, 1, 0.32, 1);
18
- transition: -webkit-transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), -webkit-box-shadow 0.3s cubic-bezier(0.23, 1, 0.32, 1);
19
- transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s cubic-bezier(0.23, 1, 0.32, 1);
20
- transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s cubic-bezier(0.23, 1, 0.32, 1), -webkit-transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), -webkit-box-shadow 0.3s cubic-bezier(0.23, 1, 0.32, 1);
21
16
  }
22
- .ant-drawer .ant-drawer-content {
23
- width: 100%;
24
- height: 100%;
25
- }
26
- .ant-drawer-left,
27
- .ant-drawer-right {
17
+ .ant-drawer-mask {
18
+ position: absolute;
28
19
  top: 0;
29
- width: 0%;
30
- height: 100%;
31
- }
32
- .ant-drawer-left .ant-drawer-content-wrapper,
33
- .ant-drawer-right .ant-drawer-content-wrapper {
34
- height: 100%;
20
+ right: 0;
21
+ bottom: 0;
22
+ left: 0;
23
+ z-index: 1200;
24
+ background: rgba(0, 0, 0, 0.45);
25
+ pointer-events: auto;
35
26
  }
36
- .ant-drawer-left.ant-drawer-open,
37
- .ant-drawer-right.ant-drawer-open {
38
- width: 100%;
39
- -webkit-transition: -webkit-transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
40
- transition: -webkit-transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
41
- transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
42
- transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), -webkit-transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
27
+ .ant-drawer-content-wrapper {
28
+ position: absolute;
29
+ z-index: 1200;
30
+ -webkit-transition: all 0.3s;
31
+ transition: all 0.3s;
43
32
  }
44
- .ant-drawer-left {
45
- left: 0;
33
+ .ant-drawer-content-wrapper-hidden {
34
+ display: none;
46
35
  }
47
- .ant-drawer-left .ant-drawer-content-wrapper {
36
+ .ant-drawer-left > .ant-drawer-content-wrapper {
37
+ top: 0;
38
+ bottom: 0;
48
39
  left: 0;
49
- }
50
- .ant-drawer-left.ant-drawer-open .ant-drawer-content-wrapper {
51
40
  -webkit-box-shadow: 6px 0 16px -8px rgba(0, 0, 0, 0.08), 9px 0 28px 0 rgba(0, 0, 0, 0.05), 12px 0 48px 16px rgba(0, 0, 0, 0.03);
52
41
  box-shadow: 6px 0 16px -8px rgba(0, 0, 0, 0.08), 9px 0 28px 0 rgba(0, 0, 0, 0.05), 12px 0 48px 16px rgba(0, 0, 0, 0.03);
53
42
  }
54
- .ant-drawer-right {
55
- right: 0;
56
- }
57
- .ant-drawer-right .ant-drawer-content-wrapper {
43
+ .ant-drawer-right > .ant-drawer-content-wrapper {
44
+ top: 0;
58
45
  right: 0;
59
- }
60
- .ant-drawer-right.ant-drawer-open .ant-drawer-content-wrapper {
46
+ bottom: 0;
61
47
  -webkit-box-shadow: -6px 0 16px -8px rgba(0, 0, 0, 0.08), -9px 0 28px 0 rgba(0, 0, 0, 0.05), -12px 0 48px 16px rgba(0, 0, 0, 0.03);
62
48
  box-shadow: -6px 0 16px -8px rgba(0, 0, 0, 0.08), -9px 0 28px 0 rgba(0, 0, 0, 0.05), -12px 0 48px 16px rgba(0, 0, 0, 0.03);
63
49
  }
64
- .ant-drawer-right.ant-drawer-open.no-mask {
65
- right: 1px;
66
- -webkit-transform: translateX(1px);
67
- transform: translateX(1px);
68
- }
69
- .ant-drawer-top,
70
- .ant-drawer-bottom {
71
- left: 0;
72
- width: 100%;
73
- height: 0%;
74
- }
75
- .ant-drawer-top .ant-drawer-content-wrapper,
76
- .ant-drawer-bottom .ant-drawer-content-wrapper {
77
- width: 100%;
78
- }
79
- .ant-drawer-top.ant-drawer-open,
80
- .ant-drawer-bottom.ant-drawer-open {
81
- height: 100%;
82
- -webkit-transition: -webkit-transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
83
- transition: -webkit-transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
84
- transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
85
- transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), -webkit-transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
86
- }
87
- .ant-drawer-top {
50
+ .ant-drawer-top > .ant-drawer-content-wrapper {
88
51
  top: 0;
89
- }
90
- .ant-drawer-top.ant-drawer-open .ant-drawer-content-wrapper {
52
+ right: 0;
53
+ left: 0;
91
54
  -webkit-box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.08), 0 9px 28px 0 rgba(0, 0, 0, 0.05), 0 12px 48px 16px rgba(0, 0, 0, 0.03);
92
55
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.08), 0 9px 28px 0 rgba(0, 0, 0, 0.05), 0 12px 48px 16px rgba(0, 0, 0, 0.03);
93
56
  }
94
- .ant-drawer-bottom {
95
- bottom: 0;
96
- }
97
- .ant-drawer-bottom .ant-drawer-content-wrapper {
57
+ .ant-drawer-bottom > .ant-drawer-content-wrapper {
58
+ right: 0;
98
59
  bottom: 0;
99
- }
100
- .ant-drawer-bottom.ant-drawer-open .ant-drawer-content-wrapper {
60
+ left: 0;
101
61
  -webkit-box-shadow: 0 -6px 16px -8px rgba(0, 0, 0, 0.08), 0 -9px 28px 0 rgba(0, 0, 0, 0.05), 0 -12px 48px 16px rgba(0, 0, 0, 0.03);
102
62
  box-shadow: 0 -6px 16px -8px rgba(0, 0, 0, 0.08), 0 -9px 28px 0 rgba(0, 0, 0, 0.05), 0 -12px 48px 16px rgba(0, 0, 0, 0.03);
103
63
  }
104
- .ant-drawer-bottom.ant-drawer-open.no-mask {
105
- bottom: 1px;
106
- -webkit-transform: translateY(1px);
107
- transform: translateY(1px);
108
- }
109
- .ant-drawer.ant-drawer-open .ant-drawer-mask {
64
+ .ant-drawer-content {
65
+ width: 100%;
110
66
  height: 100%;
111
- opacity: 1;
112
- -webkit-transition: none;
113
- transition: none;
114
- -webkit-animation: antdDrawerFadeIn 0.3s cubic-bezier(0.23, 1, 0.32, 1);
115
- animation: antdDrawerFadeIn 0.3s cubic-bezier(0.23, 1, 0.32, 1);
67
+ overflow: auto;
68
+ background: #ffffff;
116
69
  pointer-events: auto;
117
70
  }
118
- .ant-drawer-title {
119
- margin: 0;
120
- color: #333;
121
- font-weight: 500;
71
+ .ant-drawer-wrapper-body {
72
+ display: -webkit-box;
73
+ display: -ms-flexbox;
74
+ display: flex;
75
+ -webkit-box-orient: vertical;
76
+ -webkit-box-direction: normal;
77
+ -ms-flex-direction: column;
78
+ flex-direction: column;
79
+ width: 100%;
80
+ height: 100%;
81
+ }
82
+ .ant-drawer-header {
83
+ display: -webkit-box;
84
+ display: -ms-flexbox;
85
+ display: flex;
86
+ -webkit-box-flex: 0;
87
+ -ms-flex: 0;
88
+ flex: 0;
89
+ -webkit-box-align: center;
90
+ -ms-flex-align: center;
91
+ align-items: center;
92
+ padding: 16px 24px;
122
93
  font-size: 16px;
123
94
  line-height: 22px;
95
+ border-bottom: 1px solid #e5e5e5;
124
96
  }
125
- .ant-drawer-content {
126
- position: relative;
127
- z-index: 1;
128
- overflow: auto;
129
- background-color: #ffffff;
130
- background-clip: padding-box;
131
- border: 0;
97
+ .ant-drawer-header-title {
98
+ display: -webkit-box;
99
+ display: -ms-flexbox;
100
+ display: flex;
101
+ -webkit-box-flex: 1;
102
+ -ms-flex: 1;
103
+ flex: 1;
104
+ -webkit-box-align: center;
105
+ -ms-flex-align: center;
106
+ align-items: center;
107
+ min-width: 0;
108
+ min-height: 0;
109
+ }
110
+ .ant-drawer-extra {
111
+ -webkit-box-flex: 0;
112
+ -ms-flex: none;
113
+ flex: none;
132
114
  }
133
115
  .ant-drawer-close {
134
116
  display: inline-block;
@@ -154,58 +136,24 @@
154
136
  color: rgba(0, 0, 0, 0.75);
155
137
  text-decoration: none;
156
138
  }
157
- .ant-drawer-header {
158
- position: relative;
159
- display: -webkit-box;
160
- display: -ms-flexbox;
161
- display: flex;
162
- -webkit-box-align: center;
163
- -ms-flex-align: center;
164
- align-items: center;
165
- -webkit-box-pack: justify;
166
- -ms-flex-pack: justify;
167
- justify-content: space-between;
168
- padding: 16px 24px;
169
- color: rgba(0, 0, 0, 0.65);
170
- background: #ffffff;
171
- border-bottom: 1px solid #e5e5e5;
172
- border-radius: 2px 2px 0 0;
173
- }
174
- .ant-drawer-header-title {
175
- display: -webkit-box;
176
- display: -ms-flexbox;
177
- display: flex;
178
- -webkit-box-align: center;
179
- -ms-flex-align: center;
180
- align-items: center;
181
- -webkit-box-pack: justify;
182
- -ms-flex-pack: justify;
183
- justify-content: space-between;
184
- }
185
- .ant-drawer-header-close-only {
186
- padding-bottom: 0;
187
- border: none;
188
- }
189
- .ant-drawer-wrapper-body {
190
- display: -webkit-box;
191
- display: -ms-flexbox;
192
- display: flex;
193
- -webkit-box-orient: vertical;
194
- -webkit-box-direction: normal;
195
- -ms-flex-flow: column nowrap;
196
- flex-flow: column nowrap;
197
- width: 100%;
198
- height: 100%;
139
+ .ant-drawer-title {
140
+ -webkit-box-flex: 1;
141
+ -ms-flex: 1;
142
+ flex: 1;
143
+ margin: 0;
144
+ color: #333;
145
+ font-weight: 500;
146
+ font-size: 16px;
147
+ line-height: 22px;
199
148
  }
200
149
  .ant-drawer-body {
201
150
  -webkit-box-flex: 1;
202
- -ms-flex-positive: 1;
203
- flex-grow: 1;
151
+ -ms-flex: 1;
152
+ flex: 1;
153
+ min-width: 0;
154
+ min-height: 0;
204
155
  padding: 24px;
205
156
  overflow: auto;
206
- font-size: 14px;
207
- line-height: 1.5715;
208
- word-wrap: break-word;
209
157
  }
210
158
  .ant-drawer-footer {
211
159
  -ms-flex-negative: 0;
@@ -213,36 +161,157 @@
213
161
  padding: 10px 16px;
214
162
  border-top: 1px solid #e5e5e5;
215
163
  }
216
- .ant-drawer-mask {
217
- position: absolute;
218
- top: 0;
219
- left: 0;
220
- width: 100%;
221
- height: 0;
222
- background-color: rgba(0, 0, 0, 0.45);
164
+ .panel-motion-enter-start,
165
+ .panel-motion-appear-start,
166
+ .panel-motion-leave-start {
167
+ -webkit-transition: none;
168
+ transition: none;
169
+ }
170
+ .panel-motion-enter-active,
171
+ .panel-motion-appear-active,
172
+ .panel-motion-leave-active {
173
+ -webkit-transition: all 0.3s;
174
+ transition: all 0.3s;
175
+ }
176
+ .ant-drawer-mask-motion-enter-active,
177
+ .ant-drawer-mask-motion-appear-active,
178
+ .ant-drawer-mask-motion-leave-active {
179
+ -webkit-transition: all 0.3s;
180
+ transition: all 0.3s;
181
+ }
182
+ .ant-drawer-mask-motion-enter,
183
+ .ant-drawer-mask-motion-appear {
223
184
  opacity: 0;
224
- -webkit-transition: opacity 0.3s linear, height 0s ease 0.3s;
225
- transition: opacity 0.3s linear, height 0s ease 0.3s;
226
- pointer-events: none;
227
185
  }
228
- .ant-drawer .ant-picker-clear {
229
- background: #ffffff;
186
+ .ant-drawer-mask-motion-enter-active,
187
+ .ant-drawer-mask-motion-appear-active {
188
+ opacity: 1;
189
+ }
190
+ .ant-drawer-mask-motion-leave {
191
+ opacity: 1;
230
192
  }
231
- @-webkit-keyframes antdDrawerFadeIn {
232
- 0% {
233
- opacity: 0;
234
- }
235
- 100% {
236
- opacity: 1;
237
- }
238
- }
239
- @keyframes antdDrawerFadeIn {
240
- 0% {
241
- opacity: 0;
242
- }
243
- 100% {
244
- opacity: 1;
245
- }
193
+ .ant-drawer-mask-motion-leave-active {
194
+ opacity: 0;
195
+ }
196
+ .ant-drawer-panel-motion-left-enter-start,
197
+ .ant-drawer-panel-motion-left-appear-start,
198
+ .ant-drawer-panel-motion-left-leave-start {
199
+ -webkit-transition: none;
200
+ transition: none;
201
+ }
202
+ .ant-drawer-panel-motion-left-enter-active,
203
+ .ant-drawer-panel-motion-left-appear-active,
204
+ .ant-drawer-panel-motion-left-leave-active {
205
+ -webkit-transition: all 0.3s;
206
+ transition: all 0.3s;
207
+ }
208
+ .ant-drawer-panel-motion-left-enter-start,
209
+ .ant-drawer-panel-motion-left-appear-start {
210
+ -webkit-transform: translateX(-100%) !important;
211
+ transform: translateX(-100%) !important;
212
+ }
213
+ .ant-drawer-panel-motion-left-enter-active,
214
+ .ant-drawer-panel-motion-left-appear-active {
215
+ -webkit-transform: translateX(0);
216
+ transform: translateX(0);
217
+ }
218
+ .ant-drawer-panel-motion-left-leave {
219
+ -webkit-transform: translateX(0);
220
+ transform: translateX(0);
221
+ }
222
+ .ant-drawer-panel-motion-left-leave-active {
223
+ -webkit-transform: translateX(-100%);
224
+ transform: translateX(-100%);
225
+ }
226
+ .ant-drawer-panel-motion-right-enter-start,
227
+ .ant-drawer-panel-motion-right-appear-start,
228
+ .ant-drawer-panel-motion-right-leave-start {
229
+ -webkit-transition: none;
230
+ transition: none;
231
+ }
232
+ .ant-drawer-panel-motion-right-enter-active,
233
+ .ant-drawer-panel-motion-right-appear-active,
234
+ .ant-drawer-panel-motion-right-leave-active {
235
+ -webkit-transition: all 0.3s;
236
+ transition: all 0.3s;
237
+ }
238
+ .ant-drawer-panel-motion-right-enter-start,
239
+ .ant-drawer-panel-motion-right-appear-start {
240
+ -webkit-transform: translateX(100%) !important;
241
+ transform: translateX(100%) !important;
242
+ }
243
+ .ant-drawer-panel-motion-right-enter-active,
244
+ .ant-drawer-panel-motion-right-appear-active {
245
+ -webkit-transform: translateX(0);
246
+ transform: translateX(0);
247
+ }
248
+ .ant-drawer-panel-motion-right-leave {
249
+ -webkit-transform: translateX(0);
250
+ transform: translateX(0);
251
+ }
252
+ .ant-drawer-panel-motion-right-leave-active {
253
+ -webkit-transform: translateX(100%);
254
+ transform: translateX(100%);
255
+ }
256
+ .ant-drawer-panel-motion-top-enter-start,
257
+ .ant-drawer-panel-motion-top-appear-start,
258
+ .ant-drawer-panel-motion-top-leave-start {
259
+ -webkit-transition: none;
260
+ transition: none;
261
+ }
262
+ .ant-drawer-panel-motion-top-enter-active,
263
+ .ant-drawer-panel-motion-top-appear-active,
264
+ .ant-drawer-panel-motion-top-leave-active {
265
+ -webkit-transition: all 0.3s;
266
+ transition: all 0.3s;
267
+ }
268
+ .ant-drawer-panel-motion-top-enter-start,
269
+ .ant-drawer-panel-motion-top-appear-start {
270
+ -webkit-transform: translateY(-100%) !important;
271
+ transform: translateY(-100%) !important;
272
+ }
273
+ .ant-drawer-panel-motion-top-enter-active,
274
+ .ant-drawer-panel-motion-top-appear-active {
275
+ -webkit-transform: translateY(0);
276
+ transform: translateY(0);
277
+ }
278
+ .ant-drawer-panel-motion-top-leave {
279
+ -webkit-transform: translateY(0);
280
+ transform: translateY(0);
281
+ }
282
+ .ant-drawer-panel-motion-top-leave-active {
283
+ -webkit-transform: translateY(-100%);
284
+ transform: translateY(-100%);
285
+ }
286
+ .ant-drawer-panel-motion-bottom-enter-start,
287
+ .ant-drawer-panel-motion-bottom-appear-start,
288
+ .ant-drawer-panel-motion-bottom-leave-start {
289
+ -webkit-transition: none;
290
+ transition: none;
291
+ }
292
+ .ant-drawer-panel-motion-bottom-enter-active,
293
+ .ant-drawer-panel-motion-bottom-appear-active,
294
+ .ant-drawer-panel-motion-bottom-leave-active {
295
+ -webkit-transition: all 0.3s;
296
+ transition: all 0.3s;
297
+ }
298
+ .ant-drawer-panel-motion-bottom-enter-start,
299
+ .ant-drawer-panel-motion-bottom-appear-start {
300
+ -webkit-transform: translateY(100%) !important;
301
+ transform: translateY(100%) !important;
302
+ }
303
+ .ant-drawer-panel-motion-bottom-enter-active,
304
+ .ant-drawer-panel-motion-bottom-appear-active {
305
+ -webkit-transform: translateY(0);
306
+ transform: translateY(0);
307
+ }
308
+ .ant-drawer-panel-motion-bottom-leave {
309
+ -webkit-transform: translateY(0);
310
+ transform: translateY(0);
311
+ }
312
+ .ant-drawer-panel-motion-bottom-leave-active {
313
+ -webkit-transform: translateY(100%);
314
+ transform: translateY(100%);
246
315
  }
247
316
  .ant-drawer-rtl {
248
317
  direction: rtl;
@@ -251,6 +320,9 @@
251
320
  margin-right: 0;
252
321
  margin-left: 12px;
253
322
  }
323
+ .pandora-sdk-drawer.pandora-sdk-drawer-no-mask {
324
+ background-color: transparent;
325
+ }
254
326
  .pandora-sdk-drawer .ant-drawer-content-wrapper {
255
327
  width: 50%;
256
328
  min-width: 300px;
@@ -266,6 +338,9 @@
266
338
  .pandora-sdk-drawer .ant-drawer-header-title {
267
339
  overflow: hidden;
268
340
  }
341
+ .pandora-sdk-drawer .ant-drawer-body {
342
+ font-size: 14px;
343
+ }
269
344
  .pandora-sdk-drawer-size-small {
270
345
  max-width: 38%;
271
346
  }
@@ -1,6 +1,10 @@
1
1
  @import 'antd/lib/drawer/style/index.less';
2
2
  @import '../../style/theme.less';
3
3
 
4
+ .@{sdk-prefix}-drawer.@{sdk-prefix}-drawer-no-mask {
5
+ background-color: transparent;
6
+ }
7
+
4
8
  .@{sdk-prefix}-drawer {
5
9
  .@{ant-prefix}-drawer-content-wrapper {
6
10
  width: 50%;
@@ -17,6 +21,10 @@
17
21
  .@{ant-prefix}-drawer-header-title {
18
22
  overflow: hidden;
19
23
  }
24
+
25
+ .@{ant-prefix}-drawer-body {
26
+ font-size: 14px; // 原来的版本直接设置了font-size,升级后没有了,导致字号不对,暂时先使用此方案
27
+ }
20
28
  }
21
29
 
22
30
  .@{sdk-prefix}-drawer-size-small {
@@ -31,6 +31,7 @@
31
31
  display: inline-block;
32
32
  }
33
33
  .ant-upload.ant-upload-disabled {
34
+ color: rgba(0, 0, 0, 0.25);
34
35
  cursor: not-allowed;
35
36
  }
36
37
  .ant-upload.ant-upload-select-picture-card {
@@ -184,8 +185,9 @@
184
185
  opacity: 0;
185
186
  }
186
187
  .ant-upload-list-item-card-actions-btn.ant-btn-sm {
187
- height: 20px;
188
+ height: 22.001px;
188
189
  line-height: 1;
190
+ vertical-align: top;
189
191
  }
190
192
  .ant-upload-list-item-card-actions.picture {
191
193
  top: 22px;
@@ -197,10 +199,14 @@
197
199
  }
198
200
  .ant-upload-list-item-card-actions .anticon {
199
201
  color: rgba(0, 0, 0, 0.45);
202
+ -webkit-transition: all 0.3s;
203
+ transition: all 0.3s;
204
+ }
205
+ .ant-upload-list-item-card-actions:hover .anticon {
206
+ color: rgba(0, 0, 0, 0.65);
200
207
  }
201
208
  .ant-upload-list-item-info {
202
209
  height: 100%;
203
- padding: 0 4px;
204
210
  -webkit-transition: background-color 0.3s;
205
211
  transition: background-color 0.3s;
206
212
  }
@@ -216,27 +222,9 @@
216
222
  color: rgba(0, 0, 0, 0.45);
217
223
  font-size: 14px;
218
224
  }
219
- .ant-upload-list-item .anticon-close {
220
- position: absolute;
221
- top: 6px;
222
- right: 4px;
223
- color: rgba(0, 0, 0, 0.45);
224
- font-size: 10px;
225
- line-height: 0;
226
- cursor: pointer;
227
- opacity: 0;
228
- -webkit-transition: all 0.3s;
229
- transition: all 0.3s;
230
- }
231
- .ant-upload-list-item .anticon-close:hover {
232
- color: rgba(0, 0, 0, 0.65);
233
- }
234
225
  .ant-upload-list-item:hover .ant-upload-list-item-info {
235
226
  background-color: rgba(44, 109, 210, 0.05);
236
227
  }
237
- .ant-upload-list-item:hover .anticon-close {
238
- opacity: 1;
239
- }
240
228
  .ant-upload-list-item:hover .ant-upload-list-item-card-actions-btn {
241
229
  opacity: 1;
242
230
  }
@@ -358,14 +346,6 @@
358
346
  margin-top: 0;
359
347
  padding-left: 56px;
360
348
  }
361
- .ant-upload-list-picture .anticon-close,
362
- .ant-upload-list-picture-card .anticon-close {
363
- position: absolute;
364
- top: 8px;
365
- right: 8px;
366
- line-height: 1;
367
- opacity: 1;
368
- }
369
349
  .ant-upload-list-picture-card-container {
370
350
  display: inline-block;
371
351
  width: 104px;
@@ -373,9 +353,6 @@
373
353
  margin: 0 8px 8px 0;
374
354
  vertical-align: top;
375
355
  }
376
- .ant-upload-list-picture-card.ant-upload-list::after {
377
- display: none;
378
- }
379
356
  .ant-upload-list-picture-card .ant-upload-list-item {
380
357
  height: 100%;
381
358
  margin: 0;
@@ -523,8 +500,10 @@
523
500
  .ant-upload-list .ant-upload-animate-inline-leave {
524
501
  -webkit-animation-duration: 0.3s;
525
502
  animation-duration: 0.3s;
526
- -webkit-animation-fill-mode: cubic-bezier(0.78, 0.14, 0.15, 0.86);
527
- animation-fill-mode: cubic-bezier(0.78, 0.14, 0.15, 0.86);
503
+ -webkit-animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86);
504
+ animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86);
505
+ -webkit-animation-fill-mode: forwards;
506
+ animation-fill-mode: forwards;
528
507
  }
529
508
  .ant-upload-list .ant-upload-animate-inline-appear,
530
509
  .ant-upload-list .ant-upload-animate-inline-enter {
@@ -607,10 +586,6 @@
607
586
  .ant-upload-list-rtl .ant-upload-list-item-info {
608
587
  padding: 0 4px 0 12px;
609
588
  }
610
- .ant-upload-list-rtl .ant-upload-list-item .anticon-close {
611
- right: auto;
612
- left: 4px;
613
- }
614
589
  .ant-upload-list-rtl .ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon {
615
590
  padding-right: 0;
616
591
  padding-left: 5px;
@@ -656,11 +631,6 @@
656
631
  padding-right: 0;
657
632
  padding-left: 0;
658
633
  }
659
- .ant-upload-list-rtl.ant-upload-list-picture .anticon-close,
660
- .ant-upload-list-rtl.ant-upload-list-picture-card .anticon-close {
661
- right: auto;
662
- left: 8px;
663
- }
664
634
  .ant-upload-list-rtl .ant-upload-list-picture-card-container {
665
635
  margin: 0 0 8px 8px;
666
636
  }
@@ -6,7 +6,7 @@ export declare type TInputProps = Omit<InputProps, 'value' | 'onChange'> & {
6
6
  };
7
7
  declare function Input(props: TInputProps): React.JSX.Element;
8
8
  declare namespace Input {
9
- var DebounceInput: (props: Pick<InputProps, "type" | "onClick" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "list" | "step" | "size" | "prefixCls" | "pattern" | "accept" | "alt" | "autoComplete" | "capture" | "checked" | "height" | "max" | "maxLength" | "min" | "minLength" | "multiple" | "readOnly" | "required" | "src" | "width" | "onPressEnter" | "addonBefore" | "addonAfter" | "suffix" | "allowClear" | "bordered" | "htmlSize"> & {
9
+ var DebounceInput: (props: Pick<InputProps, "type" | "onClick" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "list" | "status" | "step" | "size" | "prefixCls" | "pattern" | "accept" | "alt" | "autoComplete" | "capture" | "checked" | "height" | "max" | "maxLength" | "min" | "minLength" | "multiple" | "readOnly" | "required" | "src" | "width" | "onPressEnter" | "showCount" | "htmlSize" | "suffix" | "addonBefore" | "addonAfter" | "allowClear" | "bordered"> & {
10
10
  value?: string | undefined;
11
11
  onChange?: ((value: string) => void) | undefined;
12
12
  } & {