@nutui/nutui-react 1.3.7 → 1.3.9-beta.0

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 (100) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/dist/esm/Avatar.js +4 -5
  3. package/dist/esm/Button.js +1 -2
  4. package/dist/esm/Card/style/index.js +2 -2
  5. package/dist/esm/Cascader.js +2 -2
  6. package/dist/esm/Cell.js +5 -2
  7. package/dist/esm/CellGroup.js +5 -5
  8. package/dist/esm/Collapse.js +7 -3
  9. package/dist/esm/DatePicker.js +3 -3
  10. package/dist/esm/GridItem.js +9 -3
  11. package/dist/esm/Input.js +39 -23
  12. package/dist/esm/InputNumber.js +15 -1
  13. package/dist/esm/NoticeBar.js +6 -0
  14. package/dist/esm/Radio.js +2 -2
  15. package/dist/esm/Range.js +7 -1
  16. package/dist/esm/SideNavBar.js +3 -3
  17. package/dist/esm/SideNavBarItem.js +3 -3
  18. package/dist/esm/Signature.js +14 -8
  19. package/dist/esm/Step.js +3 -5
  20. package/dist/esm/Steps.js +2 -1
  21. package/dist/esm/SubSideNavBar.js +3 -3
  22. package/dist/esm/Switch.js +2 -2
  23. package/dist/esm/TabPane.js +2 -2
  24. package/dist/esm/Tabbar.js +5 -2
  25. package/dist/esm/Tabs.js +2 -2
  26. package/dist/esm/TimeSelect.js +20 -5
  27. package/dist/esm/Uploader.js +1 -1
  28. package/dist/esm/Video.js +7 -1
  29. package/dist/esm/VirtualList.js +11 -6
  30. package/dist/esm/date-710f8c7c.js +18 -9
  31. package/dist/esm/{tabpane-c957ab14.js → tabpane-9b8ca8a8.js} +3 -2
  32. package/dist/esm/{tabs-0896a61b.js → tabs-ee05fd2f.js} +8 -4
  33. package/dist/esm/types/src/packages/avatar/avatar.d.ts +1 -0
  34. package/dist/esm/types/src/packages/cell/cell.d.ts +1 -0
  35. package/dist/esm/types/src/packages/cellgroup/cellgroup.d.ts +1 -1
  36. package/dist/esm/types/src/packages/collapse/collapse.d.ts +3 -1
  37. package/dist/esm/types/src/packages/datepicker/datepicker.d.ts +2 -2
  38. package/dist/esm/types/src/packages/input/input.d.ts +10 -2
  39. package/dist/esm/types/src/packages/inputnumber/inputnumber.d.ts +6 -0
  40. package/dist/esm/types/src/packages/noticebar/noticebar.d.ts +3 -1
  41. package/dist/esm/types/src/packages/range/range.d.ts +4 -1
  42. package/dist/esm/types/src/packages/sidenavbar/sidenavbar.d.ts +1 -1
  43. package/dist/esm/types/src/packages/sidenavbaritem/sidenavbaritem.d.ts +1 -1
  44. package/dist/esm/types/src/packages/signature/signature.d.ts +2 -0
  45. package/dist/esm/types/src/packages/steps/steps.d.ts +1 -0
  46. package/dist/esm/types/src/packages/subsidenavbar/subsidenavbar.d.ts +1 -1
  47. package/dist/esm/types/src/packages/switch/switch.d.ts +1 -1
  48. package/dist/esm/types/src/packages/tabbar/tabbar.d.ts +1 -0
  49. package/dist/esm/types/src/packages/tabpane/tabpane.d.ts +6 -2
  50. package/dist/esm/types/src/packages/tabs/tabs.d.ts +1 -0
  51. package/dist/esm/types/src/packages/timeselect/timeselect.d.ts +5 -1
  52. package/dist/esm/types/src/packages/video/video.d.ts +3 -0
  53. package/dist/esm/types/src/packages/virtuallist/type.d.ts +3 -1
  54. package/dist/esm/types/src/packages/virtuallist/virtuallist.d.ts +2 -2
  55. package/dist/locales/base.js +1 -1
  56. package/dist/locales/en-US.js +1 -1
  57. package/dist/locales/id-ID.js +1 -1
  58. package/dist/locales/zh-CN.js +1 -1
  59. package/dist/locales/zh-TW.js +1 -1
  60. package/dist/nutui.react.es.js +180 -79
  61. package/dist/nutui.react.umd.js +180 -79
  62. package/dist/packages/actionsheet/actionsheet.scss +17 -0
  63. package/dist/packages/address/address.scss +42 -0
  64. package/dist/packages/badge/badge.scss +8 -0
  65. package/dist/packages/calendar/calendar.scss +27 -0
  66. package/dist/packages/card/card.scss +8 -0
  67. package/dist/packages/cascader/cascader.scss +16 -0
  68. package/dist/packages/cell/cell.scss +7 -0
  69. package/dist/packages/checkbox/checkbox.scss +11 -0
  70. package/dist/packages/circleprogress/circleprogress.scss +6 -0
  71. package/dist/packages/collapseitem/collapseitem.scss +21 -0
  72. package/dist/packages/divider/divider.scss +2 -1
  73. package/dist/packages/elevator/elevator.scss +17 -1
  74. package/dist/packages/empty/empty.scss +6 -0
  75. package/dist/packages/infiniteloading/infiniteloading.scss +18 -0
  76. package/dist/packages/inputnumber/inputnumber.scss +22 -0
  77. package/dist/packages/navbar/navbar.scss +9 -0
  78. package/dist/packages/noticebar/noticebar.scss +4 -1
  79. package/dist/packages/numberkeyboard/numberkeyboard.scss +10 -0
  80. package/dist/packages/pagination/pagination.scss +21 -1
  81. package/dist/packages/picker/picker.scss +39 -0
  82. package/dist/packages/popup/popup.scss +11 -0
  83. package/dist/packages/radio/radio.scss +18 -0
  84. package/dist/packages/shortpassword/shortpassword.scss +62 -0
  85. package/dist/packages/sidenavbaritem/sidenavbaritem.scss +9 -0
  86. package/dist/packages/subsidenavbar/subsidenavbar.scss +12 -0
  87. package/dist/packages/tabbar/tabbar.scss +5 -0
  88. package/dist/packages/tabbaritem/tabbaritem.scss +7 -0
  89. package/dist/packages/table/table.scss +38 -0
  90. package/dist/packages/tabpane/tabpane.scss +5 -0
  91. package/dist/packages/tabs/tabs.scss +31 -2
  92. package/dist/packages/timedetail/timedetail.scss +16 -0
  93. package/dist/packages/timepannel/timepannel.scss +10 -0
  94. package/dist/packages/timeselect/timeselect.scss +18 -0
  95. package/dist/packages/uploader/uploader.scss +9 -1
  96. package/dist/style.css +1 -1
  97. package/dist/style.es.js +1 -1
  98. package/dist/styles/variables.scss +110 -101
  99. package/dist/types/index.d.ts +57 -17
  100. package/package.json +10 -1
package/dist/style.es.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui-react v1.3.7 Wed Oct 19 2022 16:55:19 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui-react v1.3.9-beta.0 Wed Nov 02 2022 15:15:47 GMT+0800 (China Standard Time)
3
3
  * (c) 2021 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -17,11 +17,18 @@ $white: #fff;
17
17
  $black: #000;
18
18
  $required-color: #fa2c19 !default;
19
19
 
20
- $dark-background: #1a1919 !default;
21
- $dark-background2: #1d1b1c !default;
20
+ $dark-background: #131313 !default;
21
+ $dark-background2: #1b1b1b !default;
22
22
  $dark-background3: #141414 !default;
23
+ $dark-background4: #323233 !default;
24
+ $dark-background5: #646566 !default;
25
+ $dark-background6: #380e08 !default;
26
+ $dark-background7: #707070 !default;
23
27
  $dark-color: $white !default;
28
+ $dark-color2: #f2270c !default;
29
+ $dark-color3: rgba(232, 230, 227, 0.8) !default;
24
30
  $dark-color-gray: $text-color !default;
31
+ $dark-calendar-choose-color: rgba(227, 227, 227, 0.2) !default;
25
32
 
26
33
  // padding
27
34
  $padding-xs: 12px;
@@ -34,71 +41,71 @@ $animation-duration: 0.25s !default;
34
41
  $animation-timing-fun: cubic-bezier(0.55, 0.085, 0.68, 0.53) !default;
35
42
 
36
43
  // Font
37
- $font-size-0: 10px;
38
- $font-size-1: 12px;
39
- $font-size-2: 14px;
40
- $font-size-3: 16px;
41
- $font-size-4: 18px;
42
- $font-weight-bold: 400;
43
-
44
- $font-size-small: $font-size-1;
45
- $font-size-base: $font-size-2;
46
- $font-size-large: $font-size-3;
44
+ $font-size-0: 10px !default;
45
+ $font-size-1: 12px !default;
46
+ $font-size-2: 14px !default;
47
+ $font-size-3: 16px !default;
48
+ $font-size-4: 18px !default;
49
+ $font-weight-bold: 400 !default;
50
+
51
+ $font-size-small: $font-size-1 !default;
52
+ $font-size-base: $font-size-2 !default;
53
+ $font-size-large: $font-size-3 !default;
47
54
  $line-height-base: 1.5 !default;
48
55
  // button
49
- $button-border-radius: 25px;
50
- $button-border-width: 1px;
51
- $button-default-bg-color: $white;
52
- $button-default-border-color: rgba(204, 204, 204, 1);
53
- $button-default-color: rgba(102, 102, 102, 1);
54
- $button-small-height: 28px;
55
- $button-default-height: 38px;
56
- $button-large-height: 48px;
57
- $button-large-line-height: 46px;
58
- $button-small-line-height: 26px;
59
- $button-block-height: 48px;
60
- $button-default-line-height: 36px;
61
- $button-block-line-height: 46px;
62
- $button-default-font-size: $font-size-2;
63
- $button-disabled-opacity: 0.68;
64
- $button-primary-color: $white;
65
- $button-primary-border-color: $primary-color;
56
+ $button-border-radius: 25px !default;
57
+ $button-border-width: 1px !default;
58
+ $button-default-bg-color: $white !default;
59
+ $button-default-border-color: rgba(204, 204, 204, 1) !default;
60
+ $button-default-color: rgba(102, 102, 102, 1) !default;
61
+ $button-small-height: 28px !default;
62
+ $button-default-height: 38px !default;
63
+ $button-large-height: 48px !default;
64
+ $button-large-line-height: 46px !default;
65
+ $button-small-line-height: 26px !default;
66
+ $button-block-height: 48px !default;
67
+ $button-default-line-height: 36px !default;
68
+ $button-block-line-height: 46px !default;
69
+ $button-default-font-size: $font-size-2 !default;
70
+ $button-disabled-opacity: 0.68 !default;
71
+ $button-primary-color: $white !default;
72
+ $button-primary-border-color: $primary-color !default;
66
73
  $button-primary-background-color: linear-gradient(
67
74
  135deg,
68
75
  $primary-color 0%,
69
76
  $primary-color-end 100%
70
- );
71
- $button-info-color: $white;
72
- $button-info-border-color: #496af2;
77
+ ) !default;
78
+ $button-info-color: $white !default;
79
+ $button-info-border-color: #496af2 !default;
73
80
  $button-info-background-color: linear-gradient(
74
81
  315deg,
75
82
  rgba(73, 143, 242, 1) 0%,
76
83
  rgba(73, 101, 242, 1) 100%
77
- );
78
- $button-success-color: $white;
79
- $button-success-border-color: rgba(38, 191, 38, 1);
84
+ ) !default;
85
+ $button-success-color: $white !default;
86
+ $button-success-border-color: rgba(38, 191, 38, 1) !default;
80
87
  $button-success-background-color: linear-gradient(
81
88
  135deg,
82
89
  rgba(38, 191, 38, 1) 0%,
83
90
  rgba(39, 197, 48, 1) 45%,
84
91
  rgba(40, 207, 63, 1) 83%,
85
92
  rgba(41, 212, 70, 1) 100%
86
- );
93
+ ) !default;
87
94
 
88
- $button-danger-color: $white;
89
- $button-danger-border-color: rgba(250, 44, 25, 1);
90
- $button-danger-background-color: rgba(250, 44, 25, 1);
91
- $button-warning-color: $white;
92
- $button-warning-border-color: rgba(255, 158, 13, 1);
95
+ $button-danger-color: $white !default;
96
+ $button-danger-border-color: rgba(250, 44, 25, 1) !default;
97
+ $button-danger-background-color: rgba(250, 44, 25, 1) !default;
98
+ $button-warning-color: $white !default;
99
+ $button-warning-border-color: rgba(255, 158, 13, 1) !default;
93
100
  $button-warning-background-color: linear-gradient(
94
101
  135deg,
95
102
  rgba(255, 158, 13, 1) 0%,
96
103
  rgba(255, 167, 13, 1) 45%,
97
104
  rgba(255, 182, 13, 1) 83%,
98
105
  rgba(255, 190, 13, 1) 100%
99
- );
100
- $button-plain-background-color: #fff;
101
- $button-plain-background-color: $white;
106
+ ) !default;
107
+ $button-plain-background-color: #fff !default;
108
+ $button-plain-background-color: $white !default;
102
109
 
103
110
  // cell
104
111
 
@@ -131,9 +138,9 @@ $cell-group-desc-line-height: 16px !default;
131
138
  $cell-group-background-color: $white !default;
132
139
  // icon
133
140
 
134
- $icon-height: 20px;
135
- $icon-width: 20px;
136
- $icon-line-height: 20px;
141
+ $icon-height: 20px !default;
142
+ $icon-width: 20px !default;
143
+ $icon-line-height: 20px !default;
137
144
 
138
145
  // uploader
139
146
 
@@ -150,49 +157,49 @@ $input-padding: 10px 25px !default;
150
157
 
151
158
  // textarea
152
159
 
153
- $textarea-font: $font-size-2;
154
- $textarea-height: 100px;
155
- $textarea-limit-color: $text-color;
156
- $textarea-text-color: $title-color;
157
- $textarea-disabled-color: $disable-color;
160
+ $textarea-font: $font-size-2 !default;
161
+ $textarea-height: 100px !default;
162
+ $textarea-limit-color: $text-color !default;
163
+ $textarea-text-color: $title-color !default;
164
+ $textarea-disabled-color: $disable-color !default;
158
165
 
159
166
  // inputnumber
160
167
 
161
- $inputnumber-icon-color: $title-color;
162
- $inputnumber-icon-void-color: $disable-color;
163
- $inputnumber-input-background-color: $help-color;
164
- $inputnumber-input-border-radius: 4px;
165
- $inputnumber-input-width: 40px;
166
- $inputnumber-icon-size: 20px;
168
+ $inputnumber-icon-color: $title-color !default;
169
+ $inputnumber-icon-void-color: $disable-color !default;
170
+ $inputnumber-input-background-color: $help-color !default;
171
+ $inputnumber-input-border-radius: 4px !default;
172
+ $inputnumber-input-width: 40px !default;
173
+ $inputnumber-icon-size: 20px !default;
167
174
 
168
175
  // actionsheet
169
176
  $zindex-actionsheet: 10001 !default;
170
177
  $body-background: #f6f6f6 !default;
171
178
  $light-color: #f6f6f6 !default;
172
- $font-size-base: $font-size-2;
173
- $font-size-small: $font-size-1;
179
+ $font-size-base: $font-size-2 !default;
180
+ $font-size-small: $font-size-1 !default;
174
181
 
175
182
  //shortpassword
176
- $shortpsd-background-color: rgba(245, 245, 245, 1);
177
- $shortpsd-border-color: #ddd;
178
- $shortpsd-error: rgba(242, 39, 12, 1);
179
- $shortpsd-forget: rgba(128, 128, 128, 1);
183
+ $shortpsd-background-color: rgba(245, 245, 245, 1) !default;
184
+ $shortpsd-border-color: #ddd !default;
185
+ $shortpsd-error: rgba(242, 39, 12, 1) !default;
186
+ $shortpsd-forget: rgba(128, 128, 128, 1) !default;
180
187
 
181
188
  //price
182
- $price-big-size: 24px;
189
+ $price-big-size: 24px !default;
183
190
 
184
191
  //avatar
185
- $avatar-square: 5px;
186
- $avatar-large-width: 60px;
187
- $avatar-large-height: 60px;
188
- $avatar-small-width: 32px;
189
- $avatar-small-height: 32px;
190
- $avatar-normal-width: 40px;
191
- $avatar-normal-height: 40px;
192
+ $avatar-square: 5px !default;
193
+ $avatar-large-width: 60px !default;
194
+ $avatar-large-height: 60px !default;
195
+ $avatar-small-width: 32px !default;
196
+ $avatar-small-height: 32px !default;
197
+ $avatar-normal-width: 40px !default;
198
+ $avatar-normal-height: 40px !default;
192
199
 
193
200
  //switch
194
- $switch-close-bg-color: #ebebeb;
195
- $switch-close--cline-bg-color: #f0f0f0;
201
+ $switch-close-bg-color: #ebebeb !default;
202
+ $switch-close--cline-bg-color: #f0f0f0 !default;
196
203
 
197
204
  // toast
198
205
  $toast-title-font-size: 16px !default;
@@ -204,7 +211,7 @@ $toast-inner-border-radius: 12px !default;
204
211
  $toast-cover-bg-color: rgba(0, 0, 0, 0) !default;
205
212
 
206
213
  //backtop
207
- $backtop-border-color: #e0e0e0;
214
+ $backtop-border-color: #e0e0e0 !default;
208
215
 
209
216
  // calendar
210
217
  $calendar-primary-color: $primary-color !default;
@@ -226,17 +233,17 @@ $calendar-day67-font-color: $primary-color !default;
226
233
  $calendar-top-slot-height: 24px !default;
227
234
 
228
235
  //overlay
229
- $overlay-bg-color: rgba(0, 0, 0, 0.7);
236
+ $overlay-bg-color: rgba(0, 0, 0, 0.7) !default;
230
237
 
231
238
  //popup
232
- $popup-close-icon-margin: 16px;
233
- $popup-border-radius: 20px;
239
+ $popup-close-icon-margin: 16px !default;
240
+ $popup-border-radius: 20px !default;
234
241
 
235
242
  // Notify
236
- $notify-text-color: $white;
237
- $notify-padding: 12px 0;
238
- $notify-font-size: 14px;
239
- $notify-height: 44px;
243
+ $notify-text-color: $white !default;
244
+ $notify-padding: 12px 0 !default;
245
+ $notify-font-size: 14px !default;
246
+ $notify-height: 44px !default;
240
247
 
241
248
  // NoticeBar
242
249
  $noticebar-background: rgba(251, 248, 220, 1) !default;
@@ -258,30 +265,30 @@ $notify-base-background-color: linear-gradient(
258
265
  rgba(250, 63, 25, 1) 45%,
259
266
  rgba(250, 89, 25, 1) 83%,
260
267
  rgba(250, 100, 25, 1) 100%
261
- );
268
+ ) !default;
262
269
  $notify-primary-background-color: linear-gradient(
263
270
  315deg,
264
271
  rgba(73, 143, 242, 1) 0%,
265
272
  rgba(73, 101, 242, 1) 100%
266
- );
273
+ ) !default;
267
274
  $notify-success-background-color: linear-gradient(
268
275
  135deg,
269
276
  rgba(38, 191, 38, 1) 0%,
270
277
  rgba(39, 197, 48, 1) 45%,
271
278
  rgba(40, 207, 63, 1) 83%,
272
279
  rgba(41, 212, 70, 1) 100%
273
- );
274
- $notify-danger-background-color: rgba(250, 50, 25, 1);
280
+ ) !default;
281
+ $notify-danger-background-color: rgba(250, 50, 25, 1) !default;
275
282
  $notify-warning-background-color: linear-gradient(
276
283
  135deg,
277
284
  rgba(255, 93, 13, 1) 0%,
278
285
  rgba(255, 154, 13, 1) 100%
279
- );
286
+ ) !default;
280
287
 
281
288
  // rate
282
289
 
283
- $rate-icon-color: $primary-color;
284
- $rate-icon-void-color: $disable-color;
290
+ $rate-icon-color: $primary-color !default;
291
+ $rate-icon-void-color: $disable-color !default;
285
292
 
286
293
  // tabbar
287
294
 
@@ -294,7 +301,7 @@ $tabbar-item-text-font-size: $font-size-0 !default;
294
301
  $tabbar-item-text-line-height: initial !default;
295
302
 
296
303
  //infiniteloading
297
- $infinite-bottom-color: #c8c8c8;
304
+ $infinite-bottom-color: #c8c8c8 !default;
298
305
 
299
306
  //range
300
307
  $range-tip-font-color: #333333 !default;
@@ -315,7 +322,7 @@ $address-region-tab-line: linear-gradient(
315
322
  90deg,
316
323
  $primary-color 0%,
317
324
  $primary-color-end 100%
318
- );
325
+ ) !default;
319
326
 
320
327
  //steps
321
328
  $steps-base-icon-width: 25px !default;
@@ -347,7 +354,7 @@ $steps-process-title-color: $primary-color !default;
347
354
  $steps-process-icon-text-color: $primary-color !default;
348
355
 
349
356
  // dialog
350
- $dialog-width: 296px;
357
+ $dialog-width: 296px !default;
351
358
 
352
359
  // checkbox
353
360
  $checkbox-label-color: #1d1e1e !default;
@@ -367,21 +374,21 @@ $radio-label-button-border-color: #f0250f !default;
367
374
  $radio-label-button-background: rgba(240, 37, 15, 0.05) !default;
368
375
 
369
376
  // signature
370
- $signature-border-color: #dadada;
371
- $signature-border-width: 1px;
372
- $signature-height: 10rem;
373
- $signature-margin-bottom: 1rem;
374
- $signature-btn-margin-right: 15px;
377
+ $signature-border-color: #dadada !default;
378
+ $signature-border-width: 1px !default;
379
+ $signature-height: 10rem !default;
380
+ $signature-margin-bottom: 1rem !default;
381
+ $signature-btn-margin-right: 15px !default;
375
382
 
376
383
  //fixednav
377
- $fixednav-bg-color: $white;
378
- $fixednav-font-color: $black;
379
- $fixednav-index: 201;
384
+ $fixednav-bg-color: $white !default;
385
+ $fixednav-font-color: $black !default;
386
+ $fixednav-index: 201 !default;
380
387
  $fixednav-btn-bg: linear-gradient(
381
388
  135deg,
382
389
  rgba(250, 25, 44, 1) 0%,
383
390
  rgba(250, 63, 25, 1) 100%
384
- );
391
+ ) !default;
385
392
 
386
393
  // Tag
387
394
  $tag-font-size: 12px !default;
@@ -698,3 +705,5 @@ $grid-item-content-bg-color: $white !default;
698
705
  $grid-item-text-margin: 8px !default;
699
706
  $grid-item-text-color: $title-color2 !default;
700
707
  $grid-item-text-font-size: $font-size-1 !default;
708
+
709
+ $timeselect-timedetail-item-cur-text-color: $primary-color !default;
@@ -46,6 +46,7 @@ interface CellProps extends IComponent {
46
46
  iconSlot: ReactNode;
47
47
  linkSlot: ReactNode;
48
48
  click: (event: React__default.MouseEvent<HTMLDivElement, MouseEvent>) => void;
49
+ onClick: (event: React__default.MouseEvent<HTMLDivElement, MouseEvent>) => void;
49
50
  }
50
51
  declare const Cell: FunctionComponent<Partial<CellProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'title'>>;
51
52
 
@@ -54,7 +55,7 @@ interface CellGroupProps {
54
55
  desc: ReactNode;
55
56
  titleSlot: ReactNode;
56
57
  descSlot: ReactNode;
57
- classPrefix: string;
58
+ className: string;
58
59
  children?: ReactNode;
59
60
  }
60
61
  declare const CellGroup: FunctionComponent<Partial<CellGroupProps>>;
@@ -377,6 +378,7 @@ interface TabbarProps {
377
378
  className: string;
378
379
  style: React__default.CSSProperties;
379
380
  tabSwitch: (child: React__default.ReactElement<any>, active: number) => void;
381
+ onSwitch: (child: React__default.ReactElement<any>, active: number) => void;
380
382
  children?: React__default.ReactNode;
381
383
  }
382
384
  declare const Tabbar: FunctionComponent<Partial<TabbarProps>>;
@@ -448,6 +450,7 @@ declare type TabsSize = 'large' | 'normal' | 'small';
448
450
  interface TabsProps extends IComponent {
449
451
  className: string;
450
452
  style: React__default.CSSProperties;
453
+ tabStyle: React__default.CSSProperties;
451
454
  value: string | number;
452
455
  color: string;
453
456
  background: string;
@@ -466,15 +469,18 @@ interface TabsProps extends IComponent {
466
469
  }
467
470
  declare const Tabs: FunctionComponent<Partial<TabsProps>>;
468
471
 
472
+ interface TabPanelInnerProps {
473
+ autoHeightClassName: string;
474
+ }
469
475
  interface TabPaneProps {
470
476
  title: string | number;
471
477
  paneKey: string | number;
472
478
  activeKey: string | number;
473
479
  disabled: boolean;
474
- autoHeightClassName: string;
480
+ className: string;
475
481
  children?: React__default.ReactNode;
476
482
  }
477
- declare const TabPane: FunctionComponent<Partial<TabPaneProps>>;
483
+ declare const TabPane: FunctionComponent<Partial<TabPaneProps & TabPanelInnerProps>>;
478
484
 
479
485
  interface IndicatorProps {
480
486
  size: number;
@@ -495,7 +501,7 @@ interface SideNavBarProps extends React__default.HTMLAttributes<HTMLDivElement>,
495
501
  width?: string;
496
502
  offset?: number;
497
503
  position?: 'left' | 'right';
498
- handleClose: () => void;
504
+ onClose: () => void;
499
505
  children?: React__default.ReactNode;
500
506
  }
501
507
  declare const SideNavBar: FunctionComponent<SideNavBarProps>;
@@ -505,7 +511,7 @@ declare type SubSideNavBarProps = {
505
511
  ikey: string | number;
506
512
  open?: boolean;
507
513
  children?: React__default.ReactNode;
508
- titleClick?: ({ title, ikey, isShow, }: {
514
+ onClick?: ({ title, ikey, isShow, }: {
509
515
  title: string;
510
516
  ikey: string | number;
511
517
  isShow: boolean;
@@ -516,7 +522,7 @@ declare const SubSideNavBar: FunctionComponent<SubSideNavBarProps>;
516
522
  declare type SideNavBarItemProps = {
517
523
  title: string;
518
524
  ikey: string | number;
519
- click?: ({ title, ikey }: {
525
+ onClick?: ({ title, ikey }: {
520
526
  title: string;
521
527
  ikey: string | number;
522
528
  }) => void;
@@ -580,8 +586,11 @@ interface RangeProps {
580
586
  change?: (value: number) => void;
581
587
  dragStart?: () => void;
582
588
  dragEnd?: () => void;
589
+ onChange?: (value: number) => void;
590
+ onDragStart?: () => void;
591
+ onDragEnd?: () => void;
583
592
  }
584
- declare const Range: FunctionComponent<Partial<RangeProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onClick'>>;
593
+ declare const Range: FunctionComponent<Partial<RangeProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onClick' | 'onChange'>>;
585
594
 
586
595
  declare type CalendarRef$1 = {
587
596
  scrollToDate: (date: string) => void;
@@ -665,9 +674,9 @@ interface DatePickerProps {
665
674
  filter: (type: string, option: PickerOption$1[]) => PickerOption$1[];
666
675
  onCloseDatePicker: () => void;
667
676
  onConfirmDatePicker: (values: (string | number)[], options: PickerOption$1[]) => void;
668
- onChangeDatePicker: (columnIndex: string | number, values: (string | number)[], options: PickerOption$1[]) => void;
677
+ onChange?: (columnIndex: string | number, values: (string | number)[], options: PickerOption$1[]) => void;
669
678
  }
670
- declare const DatePicker: FunctionComponent<Partial<DatePickerProps> & React__default.HTMLAttributes<HTMLDivElement>>;
679
+ declare const DatePicker: FunctionComponent<Partial<DatePickerProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onChange'>>;
671
680
 
672
681
  interface InputNumberProps extends IComponent {
673
682
  disabled: boolean;
@@ -688,6 +697,12 @@ interface InputNumberProps extends IComponent {
688
697
  blur: (e: ChangeEvent<HTMLInputElement>) => void;
689
698
  focus: (e: FocusEvent<HTMLInputElement>) => void;
690
699
  change: (param: string | number, e: MouseEvent | ChangeEvent<HTMLInputElement>) => void;
700
+ onAdd: (e: MouseEvent) => void;
701
+ onReduce: (e: MouseEvent) => void;
702
+ onOverlimit: (e: MouseEvent) => void;
703
+ onBlurFuc: (e: ChangeEvent<HTMLInputElement>) => void;
704
+ onFocus: (e: FocusEvent<HTMLInputElement>) => void;
705
+ onChangeFuc: (param: string | number, e: MouseEvent | ChangeEvent<HTMLInputElement>) => void;
691
706
  }
692
707
  declare const InputNumber: FunctionComponent<Partial<InputNumberProps> & React__default.HTMLAttributes<HTMLDivElement>>;
693
708
 
@@ -739,13 +754,21 @@ interface InputProps extends IComponent {
739
754
  blur?: (value: any, event: Event) => void;
740
755
  focus?: (value: any, event: Event) => void;
741
756
  clear?: (value: any, event: Event) => void;
742
- keypress?: (value: any, event: Event) => void;
743
757
  clickInput?: (value: any) => void;
744
758
  clickLeftIcon?: (value: any) => void;
745
759
  clickRightIcon?: (value: any) => void;
746
760
  click?: (value: any) => void;
761
+ onChange?: (value: any, event: Event) => void;
762
+ onBlur?: (value: any, event: Event) => void;
763
+ onFocus?: (value: any, event: Event) => void;
764
+ onClear?: (value: any, event: Event) => void;
765
+ keypress?: (value: any, event: Event) => void;
766
+ onClickInput?: (value: any) => void;
767
+ onClickLeftIcon?: (value: any) => void;
768
+ onClickRightIcon?: (value: any) => void;
769
+ onClick?: (value: any) => void;
747
770
  }
748
- declare const Input: FunctionComponent<Partial<InputProps> & React__default.HTMLAttributes<HTMLDivElement>>;
771
+ declare const Input: FunctionComponent<Partial<InputProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onChange' | 'onBlur' | 'onFocus' | 'onClick'>>;
749
772
 
750
773
  declare type Position$1 = 'left' | 'right';
751
774
  declare type Direction = 'horizontal' | 'vertical';
@@ -1245,7 +1268,7 @@ interface SwitchProps {
1245
1268
  inactiveText: string;
1246
1269
  className: string;
1247
1270
  style: React__default.CSSProperties;
1248
- change: (val: boolean, event: React__default.MouseEvent) => void;
1271
+ onChange: (val: boolean, event: React__default.MouseEvent) => void;
1249
1272
  }
1250
1273
  declare const Switch: FunctionComponent<Partial<SwitchProps>>;
1251
1274
 
@@ -1371,8 +1394,10 @@ interface NoticeBarProps extends IComponent {
1371
1394
  rightIcon?: HTMLElement | any;
1372
1395
  close?: (list?: any) => void;
1373
1396
  click?: (item?: any) => void;
1397
+ onClose?: (list?: any) => void;
1398
+ onClick?: (item?: any) => void;
1374
1399
  }
1375
- declare const NoticeBar: FunctionComponent<Partial<NoticeBarProps> & React__default.HTMLAttributes<HTMLDivElement>>;
1400
+ declare const NoticeBar: FunctionComponent<Partial<NoticeBarProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onClick'>>;
1376
1401
 
1377
1402
  interface StepsProps {
1378
1403
  current: number;
@@ -1381,6 +1406,7 @@ interface StepsProps {
1381
1406
  className: string;
1382
1407
  style: React__default.CSSProperties;
1383
1408
  clickStep: (index: number) => void;
1409
+ onClickStep: (index: number) => void;
1384
1410
  }
1385
1411
  declare const Steps: FunctionComponent<Partial<StepsProps> & React__default.HTMLAttributes<HTMLDivElement>>;
1386
1412
 
@@ -1441,6 +1467,7 @@ interface AvatarProps extends IComponent {
1441
1467
  alt: string;
1442
1468
  style: React__default.CSSProperties;
1443
1469
  activeAvatar: (e: MouseEvent) => void;
1470
+ onActiveAvatar: (e: MouseEvent) => void;
1444
1471
  onError: (e: any) => void;
1445
1472
  }
1446
1473
  declare type AvatarShape = 'round' | 'square';
@@ -1558,13 +1585,15 @@ interface CountDownProps {
1558
1585
  declare const CountDown: React__default.ForwardRefExoticComponent<Partial<CountDownProps> & React__default.RefAttributes<unknown>>;
1559
1586
 
1560
1587
  interface CollapseProps {
1588
+ className: string;
1589
+ style: React__default.CSSProperties;
1561
1590
  activeName: Array<number | string> | number | string;
1562
1591
  accordion: boolean;
1563
1592
  icon: string;
1564
1593
  iconSize: string;
1565
1594
  iconColor: string;
1566
1595
  rotate: number;
1567
- change: (isOpen: boolean, name: string) => void;
1596
+ onChange: (isOpen: boolean, name: string) => void;
1568
1597
  children?: React__default.ReactNode;
1569
1598
  }
1570
1599
  declare const Collapse: FunctionComponent<Partial<CollapseProps>>;
@@ -1619,6 +1648,8 @@ declare const Empty: FunctionComponent<Partial<EmptyProps> & React__default.HTML
1619
1648
 
1620
1649
  declare type Data = any;
1621
1650
  interface IVirtualListProps {
1651
+ className?: string;
1652
+ style?: React.CSSProperties;
1622
1653
  sourceData: Array<Data>;
1623
1654
  containerSize?: number;
1624
1655
  ItemRender?: React.FC<any>;
@@ -1627,15 +1658,15 @@ interface IVirtualListProps {
1627
1658
  horizontal?: boolean;
1628
1659
  overscan?: number;
1629
1660
  handleScroll?: (...args: any[]) => any;
1661
+ onScroll?: (...args: any[]) => any;
1630
1662
  key?: string;
1631
1663
  locale?: {
1632
1664
  [key in string]: string;
1633
1665
  };
1634
- className?: string;
1635
1666
  }
1636
1667
 
1637
1668
  declare type VirtualListProps = IVirtualListProps;
1638
- declare const VirtualList: FunctionComponent<VirtualListProps & React__default.HTMLAttributes<HTMLDivElement>>;
1669
+ declare const VirtualList: FunctionComponent<VirtualListProps>;
1639
1670
 
1640
1671
  interface ITableProps extends IComponent {
1641
1672
  className: string;
@@ -1677,6 +1708,9 @@ interface VideoProps {
1677
1708
  play: (e: HTMLVideoElement) => void;
1678
1709
  pause: (e: HTMLVideoElement) => void;
1679
1710
  playend: (e: HTMLVideoElement) => void;
1711
+ onPlayFuc: (e: HTMLVideoElement) => void;
1712
+ onPauseFuc: (e: HTMLVideoElement) => void;
1713
+ onPlayend: (e: HTMLVideoElement) => void;
1680
1714
  }
1681
1715
  declare const Video: FunctionComponent<Partial<VideoProps> & React__default.HTMLAttributes<HTMLDivElement>>;
1682
1716
 
@@ -1838,6 +1872,8 @@ interface SignatureProps {
1838
1872
  className: string;
1839
1873
  confirm?: (canvas: HTMLCanvasElement, dataurl: string) => void;
1840
1874
  clear?: () => void;
1875
+ onConfirm?: (canvas: HTMLCanvasElement, dataurl: string) => void;
1876
+ onClear?: () => void;
1841
1877
  }
1842
1878
  declare const Signature: FunctionComponent<Partial<SignatureProps> & React__default.HTMLAttributes<HTMLDivElement>>;
1843
1879
 
@@ -1885,6 +1921,7 @@ interface DateType {
1885
1921
  }
1886
1922
  interface TimeSelectProps {
1887
1923
  className?: string;
1924
+ style: React__default.CSSProperties;
1888
1925
  visible?: boolean;
1889
1926
  height?: string;
1890
1927
  multiple?: boolean;
@@ -1896,7 +1933,10 @@ interface TimeSelectProps {
1896
1933
  select?: (selectTimeData: TimeType[]) => void;
1897
1934
  pannelChange?: (pannelKey: string | number, selectTimeData: TimeType[]) => void;
1898
1935
  timeChange?: (time: string, selectTimeData: TimeType[]) => void;
1936
+ onSelect?: (selectTimeData: TimeType[]) => void;
1937
+ onPannelChange?: (pannelKey: string | number, selectTimeData: TimeType[]) => void;
1938
+ onTimeChange?: (time: string, selectTimeData: TimeType[]) => void;
1899
1939
  }
1900
- declare const TimeSelect: FunctionComponent<Partial<TimeSelectProps> & React__default.HTMLAttributes<HTMLDivElement>>;
1940
+ declare const TimeSelect: FunctionComponent<Partial<TimeSelectProps>>;
1901
1941
 
1902
1942
  export { ActionSheet, ActionSheetProps, Address, AddressProps, AnimatingNumbers, AnimatingNumbersProps, Audio, AudioProps, Avatar, AvatarGroup, AvatarGroupProps, AvatarProps, BackTop, BackTopProps, Badge, BadgeProps, Barrage, BarrageProps, Button, ButtonProps, Calendar, CalendarItem, CalendarItemProps, CalendarProps, Card, CardProps, Cascader, CascaderProps, Cell, CellGroup, CellGroupProps, CellProps, Checkbox, CheckboxGroup, CheckboxGroupProps, CheckboxProps, CircleProgress, CircleProgressProps, Col, ColProps, Collapse, CollapseItem, CollapseItemProps, CollapseProps, ConfigProvider, ConfigProviderProps, CountDown, CountDownProps, DatePicker, DatePickerProps, Dialog, DialogProps, Divider, DividerProps, Drag, DragProps, Elevator, ElevatorProps, Empty, EmptyProps, FixedNav, FixedNavProps, Grid, GridItem, GridItemProps, GridProps, Icon, IconProps, ImagePreview, ImagePreviewProps, Indicator, IndicatorProps, Infiniteloading, InfiniteloadingProps, Input, InputNumber, InputNumberProps, InputProps, Layout, LayoutProps, Menu, MenuItem, MenuItemProps, MenuProps, NavBar, NavBarProps$1 as NavBarProps, NoticeBar, NoticeBarProps, _default$1 as Notify, NotifyProps, NumberKeyboard, NumberKeyboardProps, Overlay, OverlayProps, Pagination, PaginationProps, Picker, PickerProps, Popover, PopoverProps, Popup, PopupProps, Price, PriceProps, Progress, ProgressProps, PullToRefresh, PullToRefreshProps, Radio, RadioGroup, RadioGroupProps, RadioProps, Range, RangeProps, Rate, RateProps, Row, RowProps, SearchBar, SearchBarProps, ShortPassword, ShortPasswordProps, SideNavBar, SideNavBarItem, SideNavBarItemProps, SideNavBarProps, Signature, SignatureProps, Skeleton, SkeletonProps, Step, StepProps, Steps, StepsProps, Sticky, StickyProps, SubSideNavBar, SubSideNavBarProps, Swipe, SwipeProps, Swiper, SwiperItem, SwiperItemProps, SwiperProps, Switch, SwitchProps, TabPane, TabPaneProps, Tabbar, TabbarItem, TabbarItemProps, TabbarProps, Table, TableProps, Tabs, TabsProps, Tag, TagProps, TextArea, TextAreaProps, TimeDetail, TimeDetailProps, TimePannel, TimePannelProps, TimeSelect, TimeSelectProps, _default as Toast, ToastProps, Uploader, UploaderProps, Video, VideoProps, VirtualList, VirtualListProps };