@nutui/nutui-react-taro 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.
- package/CHANGELOG.md +26 -0
- package/dist/esm/Audio.js +3 -3
- package/dist/esm/Avatar.js +2 -2
- package/dist/esm/BackTop.js +3 -2
- package/dist/esm/Card/style/index.js +2 -2
- package/dist/esm/Cascader.js +4 -4
- package/dist/esm/Cell.js +2 -2
- package/dist/esm/CellGroup.js +2 -2
- package/dist/esm/Collapse.js +2 -2
- package/dist/esm/DatePicker.js +2 -2
- package/dist/esm/Elevator.js +3 -2
- package/dist/esm/GridItem.js +2 -2
- package/dist/esm/Input.js +2 -2
- package/dist/esm/InputNumber.js +2 -2
- package/dist/esm/NoticeBar.js +2 -2
- package/dist/esm/Range.js +2 -2
- package/dist/esm/SideNavBar.js +2 -2
- package/dist/esm/SideNavBarItem.js +2 -2
- package/dist/esm/Signature.js +2 -2
- package/dist/esm/Skeleton.js +3 -3
- package/dist/esm/Step.js +2 -2
- package/dist/esm/Steps.js +2 -2
- package/dist/esm/SubSideNavBar.js +2 -2
- package/dist/esm/Switch.js +2 -2
- package/dist/esm/TabPane.js +2 -2
- package/dist/esm/Tabbar.js +2 -2
- package/dist/esm/Tabs.js +2 -2
- package/dist/esm/TimeSelect.js +2 -2
- package/dist/esm/Uploader.js +2 -2
- package/dist/esm/Video.js +2 -2
- package/dist/esm/VirtualList.js +2 -2
- package/dist/esm/{audio.taro-57d4f0da.js → audio.taro-c2f9948a.js} +1 -1
- package/dist/esm/{avatar.taro-ec620cdd.js → avatar.taro-deabe88a.js} +4 -4
- package/dist/esm/backtop.taro-99107c30.js +71 -0
- package/dist/esm/calendaritem.taro-fe5dd4bd.js +18 -9
- package/dist/esm/{cascader.taro-77100fb4.js → cascader.taro-8c9891b4.js} +2 -2
- package/dist/esm/{cell.taro-a4c3bb7b.js → cell.taro-6daf51a0.js} +5 -2
- package/dist/esm/{cellgroup.taro-8c87bf08.js → cellgroup.taro-e094471c.js} +5 -5
- package/dist/esm/{collapse.taro-72e58ba2.js → collapse.taro-13cde270.js} +6 -3
- package/dist/esm/{datepicker.taro-49a4cf0c.js → datepicker.taro-9f8afe51.js} +3 -2
- package/dist/esm/{elevator.taro-443253ec.js → elevator.taro-ead49158.js} +14 -12
- package/dist/esm/{griditem.taro-866cd288.js → griditem.taro-ca62dbb5.js} +9 -3
- package/dist/esm/{input.taro-2453d7c4.js → input.taro-39b99dbc.js} +39 -23
- package/dist/esm/{inputnumber.taro-0cf7c1b7.js → inputnumber.taro-0a01f6e1.js} +15 -1
- package/dist/esm/{noticebar.taro-332691f9.js → noticebar.taro-77b5a2c9.js} +6 -0
- package/dist/esm/nutui-react.es.js +30 -30
- package/dist/esm/{range.taro-fc7c0b6a.js → range.taro-4232e6a7.js} +7 -1
- package/dist/esm/{sidenavbar.taro-87f056cd.js → sidenavbar.taro-4297f552.js} +3 -3
- package/dist/esm/{sidenavbaritem.taro-77e077f4.js → sidenavbaritem.taro-fee11d26.js} +3 -3
- package/dist/esm/{signature.taro-59b3b3ab.js → signature.taro-0b3abea5.js} +14 -8
- package/dist/esm/{skeleton.taro-b9ff84b9.js → skeleton.taro-acca102c.js} +1 -1
- package/dist/esm/{step.taro-f1057500.js → step.taro-1c94e067.js} +3 -5
- package/dist/esm/{steps.taro-943f4fbb.js → steps.taro-acf205a0.js} +2 -1
- package/dist/esm/{subsidenavbar.taro-2c1fcf16.js → subsidenavbar.taro-4c80ad38.js} +3 -3
- package/dist/esm/{switch.taro-be5eb823.js → switch.taro-bae2dca0.js} +2 -2
- package/dist/esm/{tabbar.taro-da72fa2c.js → tabbar.taro-86cece39.js} +5 -2
- package/dist/esm/{tabpane.taro-95aa185b.js → tabpane.taro-91cd6cf4.js} +3 -2
- package/dist/esm/{tabs.taro-86186dff.js → tabs.taro-e71875fa.js} +8 -4
- package/dist/esm/{timeselect.taro-73796bfc.js → timeselect.taro-8c4439a8.js} +20 -5
- package/dist/esm/types/src/packages/avatar/avatar.d.ts +1 -0
- package/dist/esm/types/src/packages/avatar/avatar.taro.d.ts +1 -0
- package/dist/esm/types/src/packages/cell/cell.d.ts +1 -0
- package/dist/esm/types/src/packages/cell/cell.taro.d.ts +1 -0
- package/dist/esm/types/src/packages/cellgroup/cellgroup.d.ts +1 -1
- package/dist/esm/types/src/packages/cellgroup/cellgroup.taro.d.ts +1 -1
- package/dist/esm/types/src/packages/collapse/collapse.d.ts +3 -1
- package/dist/esm/types/src/packages/collapse/collapse.taro.d.ts +3 -1
- package/dist/esm/types/src/packages/datepicker/datepicker.d.ts +2 -2
- package/dist/esm/types/src/packages/datepicker/datepicker.taro.d.ts +2 -2
- package/dist/esm/types/src/packages/input/input.d.ts +10 -2
- package/dist/esm/types/src/packages/input/input.taro.d.ts +10 -2
- package/dist/esm/types/src/packages/inputnumber/inputnumber.d.ts +6 -0
- package/dist/esm/types/src/packages/inputnumber/inputnumber.taro.d.ts +6 -0
- package/dist/esm/types/src/packages/noticebar/noticebar.d.ts +3 -1
- package/dist/esm/types/src/packages/noticebar/noticebar.taro.d.ts +3 -1
- package/dist/esm/types/src/packages/range/range.d.ts +4 -1
- package/dist/esm/types/src/packages/range/range.taro.d.ts +4 -1
- package/dist/esm/types/src/packages/sidenavbar/sidenavbar.d.ts +1 -1
- package/dist/esm/types/src/packages/sidenavbar/sidenavbar.taro.d.ts +1 -1
- package/dist/esm/types/src/packages/sidenavbaritem/sidenavbaritem.d.ts +1 -1
- package/dist/esm/types/src/packages/sidenavbaritem/sidenavbaritem.taro.d.ts +1 -1
- package/dist/esm/types/src/packages/signature/signature.d.ts +2 -0
- package/dist/esm/types/src/packages/signature/signature.taro.d.ts +2 -0
- package/dist/esm/types/src/packages/steps/steps.d.ts +1 -0
- package/dist/esm/types/src/packages/steps/steps.taro.d.ts +1 -0
- package/dist/esm/types/src/packages/subsidenavbar/subsidenavbar.d.ts +1 -1
- package/dist/esm/types/src/packages/subsidenavbar/subsidenavbar.taro.d.ts +1 -1
- package/dist/esm/types/src/packages/switch/switch.d.ts +1 -1
- package/dist/esm/types/src/packages/switch/switch.taro.d.ts +1 -1
- package/dist/esm/types/src/packages/tabbar/tabbar.d.ts +1 -0
- package/dist/esm/types/src/packages/tabbar/tabbar.taro.d.ts +1 -0
- package/dist/esm/types/src/packages/tabpane/tabpane.d.ts +6 -2
- package/dist/esm/types/src/packages/tabpane/tabpane.taro.d.ts +6 -1
- package/dist/esm/types/src/packages/tabs/tabs.d.ts +1 -0
- package/dist/esm/types/src/packages/tabs/tabs.taro.d.ts +1 -0
- package/dist/esm/types/src/packages/timeselect/timeselect.d.ts +5 -1
- package/dist/esm/types/src/packages/timeselect/timeselect.taro.d.ts +5 -1
- package/dist/esm/types/src/packages/video/video.d.ts +3 -0
- package/dist/esm/types/src/packages/virtuallist/type.d.ts +3 -1
- package/dist/esm/types/src/packages/virtuallist/virtuallist.d.ts +2 -2
- package/dist/esm/{uploader.taro-6184abe7.js → uploader.taro-63a36a30.js} +1 -1
- package/dist/esm/{video-c1090c92.js → video-8a3518c5.js} +7 -1
- package/dist/esm/{virtuallist.taro-6858f690.js → virtuallist.taro-e3035825.js} +11 -6
- package/dist/locales/base.js +1 -1
- package/dist/locales/en-US.js +1 -1
- package/dist/locales/id-ID.js +1 -1
- package/dist/locales/zh-CN.js +1 -1
- package/dist/locales/zh-TW.js +1 -1
- package/dist/nutui.react.es.js +196 -156
- package/dist/nutui.react.umd.js +195 -155
- package/dist/packages/actionsheet/actionsheet.scss +17 -0
- package/dist/packages/address/address.scss +42 -0
- package/dist/packages/badge/badge.scss +8 -0
- package/dist/packages/calendar/calendar.scss +27 -0
- package/dist/packages/card/card.scss +8 -0
- package/dist/packages/cascader/cascader.scss +16 -0
- package/dist/packages/cell/cell.scss +7 -0
- package/dist/packages/checkbox/checkbox.scss +11 -0
- package/dist/packages/circleprogress/circleprogress.scss +6 -0
- package/dist/packages/collapseitem/collapseitem.scss +21 -0
- package/dist/packages/divider/divider.scss +2 -1
- package/dist/packages/elevator/elevator.scss +17 -1
- package/dist/packages/empty/empty.scss +6 -0
- package/dist/packages/infiniteloading/infiniteloading.scss +18 -0
- package/dist/packages/inputnumber/inputnumber.scss +22 -0
- package/dist/packages/navbar/navbar.scss +9 -0
- package/dist/packages/noticebar/noticebar.scss +4 -1
- package/dist/packages/numberkeyboard/numberkeyboard.scss +10 -0
- package/dist/packages/pagination/pagination.scss +21 -1
- package/dist/packages/picker/picker.scss +39 -0
- package/dist/packages/popup/popup.scss +11 -0
- package/dist/packages/radio/radio.scss +18 -0
- package/dist/packages/shortpassword/shortpassword.scss +62 -0
- package/dist/packages/sidenavbaritem/sidenavbaritem.scss +9 -0
- package/dist/packages/subsidenavbar/subsidenavbar.scss +12 -0
- package/dist/packages/tabbar/tabbar.scss +5 -0
- package/dist/packages/tabbaritem/tabbaritem.scss +7 -0
- package/dist/packages/table/table.scss +38 -0
- package/dist/packages/tabpane/tabpane.scss +5 -0
- package/dist/packages/tabs/tabs.scss +31 -2
- package/dist/packages/timedetail/timedetail.scss +16 -0
- package/dist/packages/timepannel/timepannel.scss +10 -0
- package/dist/packages/timeselect/timeselect.scss +18 -0
- package/dist/packages/uploader/uploader.scss +9 -1
- package/dist/style.css +1 -1
- package/dist/style.es.js +1 -1
- package/dist/styles/variables.scss +110 -101
- package/dist/types/index.d.ts +59 -15
- package/package.json +10 -1
- package/dist/esm/backtop.taro-aa8b2bc5.js +0 -136
package/dist/style.es.js
CHANGED
|
@@ -17,11 +17,18 @@ $white: #fff;
|
|
|
17
17
|
$black: #000;
|
|
18
18
|
$required-color: #fa2c19 !default;
|
|
19
19
|
|
|
20
|
-
$dark-background: #
|
|
21
|
-
$dark-background2: #
|
|
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;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -46,6 +46,7 @@ interface CellProps extends IComponent {
|
|
|
46
46
|
iconSlot: ReactNode;
|
|
47
47
|
linkSlot: ReactNode;
|
|
48
48
|
click: (event: React$1.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
49
|
+
onClick: (event: React$1.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
49
50
|
}
|
|
50
51
|
declare const Cell: FunctionComponent<Partial<CellProps> & Omit<React$1.HTMLAttributes<HTMLDivElement>, 'title'>>;
|
|
51
52
|
|
|
@@ -54,7 +55,7 @@ interface CellGroupProps {
|
|
|
54
55
|
desc: ReactNode;
|
|
55
56
|
titleSlot: ReactNode;
|
|
56
57
|
descSlot: ReactNode;
|
|
57
|
-
|
|
58
|
+
className: string;
|
|
58
59
|
children?: ReactNode;
|
|
59
60
|
}
|
|
60
61
|
declare const CellGroup: FunctionComponent<Partial<CellGroupProps>>;
|
|
@@ -369,6 +370,7 @@ interface TabbarProps {
|
|
|
369
370
|
className: string;
|
|
370
371
|
style: React$1.CSSProperties;
|
|
371
372
|
tabSwitch: (child: React$1.ReactElement<any>, active: number) => void;
|
|
373
|
+
onSwitch: (child: React$1.ReactElement<any>, active: number) => void;
|
|
372
374
|
children?: React$1.ReactNode;
|
|
373
375
|
}
|
|
374
376
|
declare const Tabbar: FunctionComponent<Partial<TabbarProps>>;
|
|
@@ -440,6 +442,7 @@ declare type TabsSize = 'large' | 'normal' | 'small';
|
|
|
440
442
|
interface TabsProps extends IComponent {
|
|
441
443
|
className: string;
|
|
442
444
|
style: React$1.CSSProperties;
|
|
445
|
+
tabStyle: React$1.CSSProperties;
|
|
443
446
|
value: string | number;
|
|
444
447
|
color: string;
|
|
445
448
|
background: string;
|
|
@@ -458,15 +461,19 @@ interface TabsProps extends IComponent {
|
|
|
458
461
|
}
|
|
459
462
|
declare const Tabs: FunctionComponent<Partial<TabsProps>>;
|
|
460
463
|
|
|
464
|
+
interface TabPanelInnerProps {
|
|
465
|
+
autoHeightClassName: string;
|
|
466
|
+
}
|
|
461
467
|
interface TabPaneProps {
|
|
462
468
|
title: string | number;
|
|
463
469
|
paneKey: string | number;
|
|
464
470
|
activeKey: string | number;
|
|
465
471
|
disabled: boolean;
|
|
466
472
|
autoHeightClassName: string;
|
|
473
|
+
className: string;
|
|
467
474
|
children?: React$1.ReactNode;
|
|
468
475
|
}
|
|
469
|
-
declare const TabPane: FunctionComponent<Partial<TabPaneProps>>;
|
|
476
|
+
declare const TabPane: FunctionComponent<Partial<TabPaneProps & TabPanelInnerProps>>;
|
|
470
477
|
|
|
471
478
|
interface IndicatorProps {
|
|
472
479
|
size: number;
|
|
@@ -487,7 +494,7 @@ interface SideNavBarProps extends React$1.HTMLAttributes<HTMLDivElement>, NavBar
|
|
|
487
494
|
width?: string;
|
|
488
495
|
offset?: number;
|
|
489
496
|
position?: 'left' | 'right';
|
|
490
|
-
|
|
497
|
+
onClose: () => void;
|
|
491
498
|
children?: React$1.ReactNode;
|
|
492
499
|
}
|
|
493
500
|
declare const SideNavBar: FunctionComponent<SideNavBarProps>;
|
|
@@ -497,7 +504,7 @@ declare type SubSideNavBarProps = {
|
|
|
497
504
|
ikey: string | number;
|
|
498
505
|
open?: boolean;
|
|
499
506
|
children?: React$1.ReactNode;
|
|
500
|
-
|
|
507
|
+
onClick?: ({ title, ikey, isShow, }: {
|
|
501
508
|
title: string;
|
|
502
509
|
ikey: string | number;
|
|
503
510
|
isShow: boolean;
|
|
@@ -508,7 +515,7 @@ declare const SubSideNavBar: FunctionComponent<SubSideNavBarProps>;
|
|
|
508
515
|
declare type SideNavBarItemProps = {
|
|
509
516
|
title: string;
|
|
510
517
|
ikey: string | number;
|
|
511
|
-
|
|
518
|
+
onClick?: ({ title, ikey }: {
|
|
512
519
|
title: string;
|
|
513
520
|
ikey: string | number;
|
|
514
521
|
}) => void;
|
|
@@ -572,8 +579,11 @@ interface RangeProps {
|
|
|
572
579
|
change?: (value: number) => void;
|
|
573
580
|
dragStart?: () => void;
|
|
574
581
|
dragEnd?: () => void;
|
|
582
|
+
onChange?: (value: number) => void;
|
|
583
|
+
onDragStart?: () => void;
|
|
584
|
+
onDragEnd?: () => void;
|
|
575
585
|
}
|
|
576
|
-
declare const Range: FunctionComponent<Partial<RangeProps> & Omit<React$1.HTMLAttributes<HTMLDivElement>, 'onClick'>>;
|
|
586
|
+
declare const Range: FunctionComponent<Partial<RangeProps> & Omit<React$1.HTMLAttributes<HTMLDivElement>, 'onClick' | 'onChange'>>;
|
|
577
587
|
|
|
578
588
|
interface CalendarProps {
|
|
579
589
|
type?: string;
|
|
@@ -638,9 +648,9 @@ interface DatePickerProps {
|
|
|
638
648
|
filter: (type: string, option: PickerOption$1[]) => PickerOption$1[];
|
|
639
649
|
onCloseDatePicker: () => void;
|
|
640
650
|
onConfirmDatePicker: (values: (string | number)[], options: PickerOption$1[]) => void;
|
|
641
|
-
|
|
651
|
+
onChange: (columnIndex: string | number, values: (string | number)[], options: PickerOption$1[]) => void;
|
|
642
652
|
}
|
|
643
|
-
declare const DatePicker: FunctionComponent<Partial<DatePickerProps> & React$1.HTMLAttributes<HTMLDivElement>>;
|
|
653
|
+
declare const DatePicker: FunctionComponent<Partial<DatePickerProps> & Omit<React$1.HTMLAttributes<HTMLDivElement>, 'onChange'>>;
|
|
644
654
|
|
|
645
655
|
interface InputNumberProps extends IComponent {
|
|
646
656
|
disabled: boolean;
|
|
@@ -661,6 +671,12 @@ interface InputNumberProps extends IComponent {
|
|
|
661
671
|
blur: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
662
672
|
focus: (e: FocusEvent<HTMLInputElement>) => void;
|
|
663
673
|
change: (param: string | number, e: MouseEvent | ChangeEvent<HTMLInputElement>) => void;
|
|
674
|
+
onAdd: (e: MouseEvent) => void;
|
|
675
|
+
onReduce: (e: MouseEvent) => void;
|
|
676
|
+
onOverlimit: (e: MouseEvent) => void;
|
|
677
|
+
onBlurFuc: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
678
|
+
onFocus: (e: FocusEvent<HTMLInputElement>) => void;
|
|
679
|
+
onChangeFuc: (param: string | number, e: MouseEvent | ChangeEvent<HTMLInputElement>) => void;
|
|
664
680
|
}
|
|
665
681
|
declare const InputNumber: FunctionComponent<Partial<InputNumberProps> & React$1.HTMLAttributes<HTMLDivElement>>;
|
|
666
682
|
|
|
@@ -708,17 +724,25 @@ interface InputProps extends IComponent {
|
|
|
708
724
|
slotButton?: React$1.ReactNode;
|
|
709
725
|
slotInput?: React$1.ReactNode;
|
|
710
726
|
formatter: (value: string) => void;
|
|
727
|
+
onChange?: (value: any, event: Event) => void;
|
|
728
|
+
onBlur?: (value: any, event: Event) => void;
|
|
729
|
+
onFocus?: (value: any, event: Event) => void;
|
|
730
|
+
onClear?: (value: any, event: Event) => void;
|
|
731
|
+
keypress?: (value: any, event: Event) => void;
|
|
732
|
+
onClickInput?: (value: any) => void;
|
|
733
|
+
onClickLeftIcon?: (value: any) => void;
|
|
734
|
+
onClickRightIcon?: (value: any) => void;
|
|
735
|
+
onClick?: (value: any) => void;
|
|
711
736
|
change?: (value: any, event: Event) => void;
|
|
712
737
|
blur?: (value: any, event: Event) => void;
|
|
713
738
|
focus?: (value: any, event: Event) => void;
|
|
714
739
|
clear?: (value: any, event: Event) => void;
|
|
715
|
-
keypress?: (value: any, event: Event) => void;
|
|
716
740
|
clickInput?: (value: any) => void;
|
|
717
741
|
clickLeftIcon?: (value: any) => void;
|
|
718
742
|
clickRightIcon?: (value: any) => void;
|
|
719
743
|
click?: (value: any) => void;
|
|
720
744
|
}
|
|
721
|
-
declare const Input: FunctionComponent<Partial<InputProps> & React$1.HTMLAttributes<HTMLDivElement>>;
|
|
745
|
+
declare const Input: FunctionComponent<Partial<InputProps> & Omit<React$1.HTMLAttributes<HTMLDivElement>, 'onChange' | 'onBlur' | 'onFocus' | 'onClick'>>;
|
|
722
746
|
|
|
723
747
|
declare type Position$1 = 'left' | 'right';
|
|
724
748
|
declare type Direction = 'horizontal' | 'vertical';
|
|
@@ -1207,7 +1231,7 @@ interface SwitchProps {
|
|
|
1207
1231
|
inactiveText: string;
|
|
1208
1232
|
className: string;
|
|
1209
1233
|
style: React$1.CSSProperties;
|
|
1210
|
-
|
|
1234
|
+
onChange: (val: boolean, event: React$1.MouseEvent) => void;
|
|
1211
1235
|
}
|
|
1212
1236
|
declare const Switch: FunctionComponent<Partial<SwitchProps>>;
|
|
1213
1237
|
|
|
@@ -1325,8 +1349,10 @@ interface NoticeBarProps extends IComponent {
|
|
|
1325
1349
|
rightIcon?: HTMLElement | any;
|
|
1326
1350
|
close?: (list?: any) => void;
|
|
1327
1351
|
click?: (item?: any) => void;
|
|
1352
|
+
onClose?: (list?: any) => void;
|
|
1353
|
+
onClick?: (item?: any) => void;
|
|
1328
1354
|
}
|
|
1329
|
-
declare const NoticeBar: FunctionComponent<Partial<NoticeBarProps> & React$1.HTMLAttributes<HTMLDivElement>>;
|
|
1355
|
+
declare const NoticeBar: FunctionComponent<Partial<NoticeBarProps> & Omit<React$1.HTMLAttributes<HTMLDivElement>, 'onClick'>>;
|
|
1330
1356
|
|
|
1331
1357
|
interface StepsProps {
|
|
1332
1358
|
current: number;
|
|
@@ -1335,6 +1361,7 @@ interface StepsProps {
|
|
|
1335
1361
|
className: string;
|
|
1336
1362
|
style: React$1.CSSProperties;
|
|
1337
1363
|
clickStep: (index: number) => void;
|
|
1364
|
+
onClickStep: (index: number) => void;
|
|
1338
1365
|
}
|
|
1339
1366
|
declare const Steps: FunctionComponent<Partial<StepsProps> & React$1.HTMLAttributes<HTMLDivElement>>;
|
|
1340
1367
|
|
|
@@ -1395,6 +1422,7 @@ interface AvatarProps extends IComponent {
|
|
|
1395
1422
|
alt: string;
|
|
1396
1423
|
style: React$1.CSSProperties;
|
|
1397
1424
|
activeAvatar: (e: MouseEvent) => void;
|
|
1425
|
+
onActiveAvatar: (e: MouseEvent) => void;
|
|
1398
1426
|
onError: (e: any) => void;
|
|
1399
1427
|
}
|
|
1400
1428
|
declare type AvatarShape = 'round' | 'square';
|
|
@@ -1512,13 +1540,15 @@ interface CountDownProps {
|
|
|
1512
1540
|
declare const CountDown: React$1.ForwardRefExoticComponent<Partial<CountDownProps> & React$1.RefAttributes<unknown>>;
|
|
1513
1541
|
|
|
1514
1542
|
interface CollapseProps {
|
|
1543
|
+
className: string;
|
|
1544
|
+
style: React$1.CSSProperties;
|
|
1515
1545
|
activeName: Array<number | string> | number | string;
|
|
1516
1546
|
accordion: boolean;
|
|
1517
1547
|
icon: string;
|
|
1518
1548
|
iconSize: string;
|
|
1519
1549
|
iconColor: string;
|
|
1520
1550
|
rotate: number;
|
|
1521
|
-
|
|
1551
|
+
onChange: (isOpen: boolean, name: string) => void;
|
|
1522
1552
|
children?: React$1.ReactNode;
|
|
1523
1553
|
}
|
|
1524
1554
|
declare const Collapse: FunctionComponent<Partial<CollapseProps>>;
|
|
@@ -1573,6 +1603,8 @@ declare const Empty: FunctionComponent<Partial<EmptyProps> & React$1.HTMLAttribu
|
|
|
1573
1603
|
|
|
1574
1604
|
declare type Data = any;
|
|
1575
1605
|
interface IVirtualListProps {
|
|
1606
|
+
className?: string;
|
|
1607
|
+
style?: React.CSSProperties;
|
|
1576
1608
|
sourceData: Array<Data>;
|
|
1577
1609
|
containerSize?: number;
|
|
1578
1610
|
ItemRender?: React.FC<any>;
|
|
@@ -1581,11 +1613,11 @@ interface IVirtualListProps {
|
|
|
1581
1613
|
horizontal?: boolean;
|
|
1582
1614
|
overscan?: number;
|
|
1583
1615
|
handleScroll?: (...args: any[]) => any;
|
|
1616
|
+
onScroll?: (...args: any[]) => any;
|
|
1584
1617
|
key?: string;
|
|
1585
1618
|
locale?: {
|
|
1586
1619
|
[key in string]: string;
|
|
1587
1620
|
};
|
|
1588
|
-
className?: string;
|
|
1589
1621
|
}
|
|
1590
1622
|
|
|
1591
1623
|
declare type VirtualListProps = IVirtualListProps;
|
|
@@ -1631,6 +1663,9 @@ interface VideoProps$1 {
|
|
|
1631
1663
|
play: (e: HTMLVideoElement) => void;
|
|
1632
1664
|
pause: (e: HTMLVideoElement) => void;
|
|
1633
1665
|
playend: (e: HTMLVideoElement) => void;
|
|
1666
|
+
onPlayFuc: (e: HTMLVideoElement) => void;
|
|
1667
|
+
onPauseFuc: (e: HTMLVideoElement) => void;
|
|
1668
|
+
onPlayend: (e: HTMLVideoElement) => void;
|
|
1634
1669
|
}
|
|
1635
1670
|
declare const Video: FunctionComponent<Partial<VideoProps$1> & React$1.HTMLAttributes<HTMLDivElement>>;
|
|
1636
1671
|
|
|
@@ -1797,6 +1832,8 @@ interface SignatureProps {
|
|
|
1797
1832
|
className: string;
|
|
1798
1833
|
confirm?: (dataurl: string) => void;
|
|
1799
1834
|
clear?: () => void;
|
|
1835
|
+
onConfirm?: (dataurl: string) => void;
|
|
1836
|
+
onClear?: () => void;
|
|
1800
1837
|
}
|
|
1801
1838
|
declare const Signature: FunctionComponent<Partial<SignatureProps> & React$1.HTMLAttributes<HTMLDivElement>>;
|
|
1802
1839
|
|
|
@@ -1844,6 +1881,7 @@ interface DateType {
|
|
|
1844
1881
|
}
|
|
1845
1882
|
interface TimeSelectProps {
|
|
1846
1883
|
className?: string;
|
|
1884
|
+
style: React$1.CSSProperties;
|
|
1847
1885
|
visible?: boolean;
|
|
1848
1886
|
height?: string;
|
|
1849
1887
|
multiple?: boolean;
|
|
@@ -1855,8 +1893,11 @@ interface TimeSelectProps {
|
|
|
1855
1893
|
select?: (selectTimeData: TimeType[]) => void;
|
|
1856
1894
|
pannelChange?: (pannelKey: string | number, selectTimeData: TimeType[]) => void;
|
|
1857
1895
|
timeChange?: (time: string, selectTimeData: TimeType[]) => void;
|
|
1896
|
+
onSelect?: (selectTimeData: TimeType[]) => void;
|
|
1897
|
+
onPannelChange?: (pannelKey: string | number, selectTimeData: TimeType[]) => void;
|
|
1898
|
+
onTimeChange?: (time: string, selectTimeData: TimeType[]) => void;
|
|
1858
1899
|
}
|
|
1859
|
-
declare const TimeSelect: FunctionComponent<Partial<TimeSelectProps
|
|
1900
|
+
declare const TimeSelect: FunctionComponent<Partial<TimeSelectProps>>;
|
|
1860
1901
|
|
|
1861
1902
|
interface CollapseItemProps extends IComponent {
|
|
1862
1903
|
title: string;
|
|
@@ -1893,6 +1934,9 @@ interface VideoProps {
|
|
|
1893
1934
|
play: (e: HTMLVideoElement) => void;
|
|
1894
1935
|
pause: (e: HTMLVideoElement) => void;
|
|
1895
1936
|
playend: (e: HTMLVideoElement) => void;
|
|
1937
|
+
onPlayFuc: (e: HTMLVideoElement) => void;
|
|
1938
|
+
onPauseFuc: (e: HTMLVideoElement) => void;
|
|
1939
|
+
onPlayend: (e: HTMLVideoElement) => void;
|
|
1896
1940
|
}
|
|
1897
1941
|
|
|
1898
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, 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, Toast, ToastProps, Uploader, UploaderProps, Video, VideoProps, VirtualList, VirtualListProps };
|