@qn-pandora/pandora-component 5.1.0 → 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 +8149 -7069
  50. package/es/index.d.ts +1 -0
  51. package/es/index.js +1 -0
  52. package/es/index.less +17 -16
  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 +4307 -3227
  102. package/lib/index.d.ts +1 -0
  103. package/lib/index.js +6 -1
  104. package/lib/index.less +18 -17
  105. package/package.json +7 -6
@@ -10,6 +10,7 @@
10
10
  -webkit-box-direction: normal;
11
11
  -ms-flex-flow: row wrap;
12
12
  flex-flow: row wrap;
13
+ min-width: 0;
13
14
  }
14
15
  .ant-row::before,
15
16
  .ant-row::after {
@@ -45,6 +46,11 @@
45
46
  -ms-flex-pack: distribute;
46
47
  justify-content: space-around;
47
48
  }
49
+ .ant-row-space-evenly {
50
+ -webkit-box-pack: space-evenly;
51
+ -ms-flex-pack: space-evenly;
52
+ justify-content: space-evenly;
53
+ }
48
54
  .ant-row-top {
49
55
  -webkit-box-align: start;
50
56
  -ms-flex-align: start;
@@ -91,7 +91,6 @@
91
91
  border-bottom: 1px solid #e5e5e5;
92
92
  }
93
93
  .ant-card-extra {
94
- float: right;
95
94
  margin-left: auto;
96
95
  padding: 16px 0;
97
96
  color: rgba(0, 0, 0, 0.65);
@@ -114,12 +113,18 @@
114
113
  clear: both;
115
114
  content: '';
116
115
  }
116
+ .ant-card-contain-grid .ant-card-body {
117
+ display: -webkit-box;
118
+ display: -ms-flexbox;
119
+ display: flex;
120
+ -ms-flex-wrap: wrap;
121
+ flex-wrap: wrap;
122
+ }
117
123
  .ant-card-contain-grid:not(.ant-card-loading) .ant-card-body {
118
124
  margin: -1px 0 0 -1px;
119
125
  padding: 0;
120
126
  }
121
127
  .ant-card-grid {
122
- float: left;
123
128
  width: 33.33%;
124
129
  padding: 20px;
125
130
  border: 0;
@@ -129,9 +134,6 @@
129
134
  -webkit-transition: all 0.3s;
130
135
  transition: all 0.3s;
131
136
  }
132
- .ant-card-rtl .ant-card-grid {
133
- float: right;
134
- }
135
137
  .ant-card-grid-hoverable:hover {
136
138
  position: relative;
137
139
  z-index: 1;
@@ -158,6 +160,9 @@
158
160
  border-radius: 2px 2px 0 0;
159
161
  }
160
162
  .ant-card-actions {
163
+ display: -webkit-box;
164
+ display: -ms-flexbox;
165
+ display: flex;
161
166
  margin: 0;
162
167
  padding: 0;
163
168
  list-style: none;
@@ -174,14 +179,10 @@
174
179
  content: '';
175
180
  }
176
181
  .ant-card-actions > li {
177
- float: left;
178
182
  margin: 12px 0;
179
183
  color: rgba(0, 0, 0, 0.45);
180
184
  text-align: center;
181
185
  }
182
- .ant-card-rtl .ant-card-actions > li {
183
- float: right;
184
- }
185
186
  .ant-card-actions > li > span {
186
187
  position: relative;
187
188
  display: block;
@@ -234,6 +235,9 @@
234
235
  padding: 13.5px 0;
235
236
  }
236
237
  .ant-card-meta {
238
+ display: -webkit-box;
239
+ display: -ms-flexbox;
240
+ display: flex;
237
241
  margin: -4px 0;
238
242
  }
239
243
  .ant-card-meta::before {
@@ -246,15 +250,16 @@
246
250
  content: '';
247
251
  }
248
252
  .ant-card-meta-avatar {
249
- float: left;
250
253
  padding-right: 16px;
251
254
  }
252
255
  .ant-card-rtl .ant-card-meta-avatar {
253
- float: right;
254
256
  padding-right: 0;
255
257
  padding-left: 16px;
256
258
  }
257
259
  .ant-card-meta-detail {
260
+ -webkit-box-flex: 1;
261
+ -ms-flex: 1;
262
+ flex: 1;
258
263
  overflow: hidden;
259
264
  }
260
265
  .ant-card-meta-detail > div:not(:last-child) {
@@ -280,37 +285,6 @@
280
285
  -ms-user-select: none;
281
286
  user-select: none;
282
287
  }
283
- .ant-card-loading-content p {
284
- margin: 0;
285
- }
286
- .ant-card-loading-block {
287
- height: 14px;
288
- margin: 4px 0;
289
- background: -webkit-gradient(linear, left top, right top, from(rgba(207, 216, 220, 0.2)), color-stop(rgba(207, 216, 220, 0.4)), to(rgba(207, 216, 220, 0.2)));
290
- background: linear-gradient(90deg, rgba(207, 216, 220, 0.2), rgba(207, 216, 220, 0.4), rgba(207, 216, 220, 0.2));
291
- background-size: 600% 600%;
292
- border-radius: 2px;
293
- -webkit-animation: card-loading 1.4s ease infinite;
294
- animation: card-loading 1.4s ease infinite;
295
- }
296
- @-webkit-keyframes card-loading {
297
- 0%,
298
- 100% {
299
- background-position: 0 50%;
300
- }
301
- 50% {
302
- background-position: 100% 50%;
303
- }
304
- }
305
- @keyframes card-loading {
306
- 0%,
307
- 100% {
308
- background-position: 0 50%;
309
- }
310
- 50% {
311
- background-position: 100% 50%;
312
- }
313
- }
314
288
  .ant-card-small > .ant-card-head {
315
289
  min-height: 36px;
316
290
  padding: 0 10px;
@@ -805,7 +779,6 @@
805
779
  display: -webkit-box;
806
780
  display: -ms-flexbox;
807
781
  display: flex;
808
- overflow: hidden;
809
782
  }
810
783
  .ant-tabs > .ant-tabs-nav,
811
784
  .ant-tabs > div > .ant-tabs-nav {
@@ -980,7 +953,7 @@
980
953
  }
981
954
  .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
982
955
  color: #2c6dd2;
983
- text-shadow: 0 0 0.25px currentColor;
956
+ text-shadow: 0 0 0.25px currentcolor;
984
957
  }
985
958
  .ant-tabs-tab.ant-tabs-tab-disabled {
986
959
  color: rgba(0, 0, 0, 0.25);
@@ -1002,9 +975,7 @@
1002
975
  margin: 0 0 0 32px;
1003
976
  }
1004
977
  .ant-tabs-content {
1005
- display: -webkit-box;
1006
- display: -ms-flexbox;
1007
- display: flex;
978
+ position: relative;
1008
979
  width: 100%;
1009
980
  }
1010
981
  .ant-tabs-content-holder {
@@ -1014,17 +985,41 @@
1014
985
  min-width: 0;
1015
986
  min-height: 0;
1016
987
  }
1017
- .ant-tabs-content-animated {
1018
- -webkit-transition: margin 0.3s;
1019
- transition: margin 0.3s;
1020
- }
1021
988
  .ant-tabs-tabpane {
1022
- -webkit-box-flex: 0;
1023
- -ms-flex: none;
1024
- flex: none;
1025
- width: 100%;
1026
989
  outline: none;
1027
990
  }
991
+ .ant-tabs-tabpane-hidden {
992
+ display: none;
993
+ }
994
+ .ant-tabs-switch-appear,
995
+ .ant-tabs-switch-enter {
996
+ -webkit-transition: none;
997
+ transition: none;
998
+ }
999
+ .ant-tabs-switch-appear-start,
1000
+ .ant-tabs-switch-enter-start {
1001
+ opacity: 0;
1002
+ }
1003
+ .ant-tabs-switch-appear-active,
1004
+ .ant-tabs-switch-enter-active {
1005
+ opacity: 1;
1006
+ -webkit-transition: opacity 0.3s;
1007
+ transition: opacity 0.3s;
1008
+ }
1009
+ .ant-tabs-switch-leave {
1010
+ position: absolute;
1011
+ -webkit-transition: none;
1012
+ transition: none;
1013
+ inset: 0;
1014
+ }
1015
+ .ant-tabs-switch-leave-start {
1016
+ opacity: 1;
1017
+ }
1018
+ .ant-tabs-switch-leave-active {
1019
+ opacity: 0;
1020
+ -webkit-transition: opacity 0.3s;
1021
+ transition: opacity 0.3s;
1022
+ }
1028
1023
  .pandora-sdk-card .ant-card-head .ant-card-extra {
1029
1024
  padding: 0;
1030
1025
  }