@nutui/nutui-react-taro 1.2.2-beta.0 → 1.3.0-beta.5
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 +17 -0
- package/dist/esm/ActionSheet.js +5 -4
- package/dist/esm/Address.js +5 -4
- package/dist/esm/AnimatingNumbers.js +3 -2
- package/dist/esm/Avatar.js +3 -3
- package/dist/esm/AvatarGroup.js +2 -2
- package/dist/esm/BackTop.js +3 -3
- package/dist/esm/Badge.js +3 -3
- package/dist/esm/Barrage.js +3 -2
- package/dist/esm/Button.js +3 -3
- package/dist/esm/Calendar.js +5 -4
- package/dist/esm/CalendarItem.js +2 -2
- package/dist/esm/Card.js +3 -3
- package/dist/esm/Cell.js +3 -3
- package/dist/esm/Checkbox.js +3 -3
- package/dist/esm/CheckboxGroup.js +2 -2
- package/dist/esm/Col.js +2 -2
- package/dist/esm/Collapse.js +2 -2
- package/dist/esm/CollapseItem.js +3 -3
- package/dist/esm/DatePicker.js +7 -6
- package/dist/esm/Dialog.js +4 -4
- package/dist/esm/Divider.js +2 -2
- package/dist/esm/Drag.js +2 -2
- package/dist/esm/Elevator.js +3 -2
- package/dist/esm/Empty.js +2 -2
- package/dist/esm/FixedNav.js +3 -3
- package/dist/esm/Icon/style/index.js +1 -0
- package/dist/esm/Icon.js +2 -2
- package/dist/esm/Infiniteloading.js +3 -3
- package/dist/esm/Input.js +3 -3
- package/dist/esm/InputNumber.js +3 -3
- package/dist/esm/NavBar.js +4 -3
- package/dist/esm/NoticeBar.js +3 -3
- package/dist/esm/{Notification-b09c89e8.js → Notification-dccc7625.js} +18 -11
- package/dist/esm/Notify.js +2 -2
- package/dist/esm/NumberKeyboard.js +5 -4
- package/dist/esm/Picker.js +7 -6
- package/dist/esm/Popover.js +5 -4
- package/dist/esm/Popup.js +4 -3
- package/dist/esm/Progress.js +3 -3
- package/dist/esm/Radio.js +4 -4
- package/dist/esm/RadioGroup.js +2 -3
- package/dist/esm/Range.js +7 -7
- package/dist/esm/Rate.js +3 -3
- package/dist/esm/Row.js +2 -2
- package/dist/esm/SearchBar.js +3 -3
- package/dist/esm/ShortPassword.js +5 -4
- package/dist/esm/SideNavBar/style/index.js +2 -0
- package/dist/esm/SideNavBar.js +14 -0
- package/dist/esm/SideNavBarItem/style/index.js +2 -0
- package/dist/esm/SideNavBarItem.js +3 -0
- package/dist/esm/Signature.js +4 -4
- package/dist/esm/Skeleton.js +3 -3
- package/dist/esm/Step.js +3 -3
- package/dist/esm/SubSideNavBar/style/index.js +2 -0
- package/dist/esm/SubSideNavBar.js +4 -0
- package/dist/esm/Swiper.js +2 -2
- package/dist/esm/SwiperItem.js +2 -2
- package/dist/esm/TabPane.js +2 -2
- package/dist/esm/TabbarItem.js +3 -3
- package/dist/esm/Table/style/index.js +2 -0
- package/dist/esm/Table.js +9 -0
- package/dist/esm/Tabs.js +3 -3
- package/dist/esm/Tag.js +3 -3
- package/dist/esm/TextArea.js +2 -2
- package/dist/esm/TimeSelect.js +5 -4
- package/dist/esm/Toast.js +4 -4
- package/dist/esm/Uploader.js +3 -3
- package/dist/esm/{actionsheet.taro-4ae40ea0.js → actionsheet.taro-f4d407b0.js} +1 -1
- package/dist/esm/{address.taro-82a8fa11.js → address.taro-a1092e30.js} +78 -30
- package/dist/esm/{animatingnumbers.taro-cda438cc.js → animatingnumbers.taro-877baa98.js} +20 -15
- package/dist/esm/{avatar.taro-5dafffdc.js → avatar.taro-0a0472fd.js} +1 -2
- package/dist/esm/{avatargroup.taro-a39282b3.js → avatargroup-65173caa.js} +0 -0
- package/dist/esm/{backtop.taro-65dccd86.js → backtop.taro-0e2e3946.js} +8 -6
- package/dist/esm/{badge.taro-8c001377.js → badge.taro-eeac9de8.js} +5 -5
- package/dist/esm/{barrage.taro-f1139b9c.js → barrage.taro-efac8422.js} +42 -19
- package/dist/esm/{button.taro-90c8bb93.js → button-521a516b.js} +1 -1
- package/dist/esm/{button-9b1f3219.js → button.taro-d5968f9d.js} +1 -1
- package/dist/esm/{calendar.taro-d3a90861.js → calendar.taro-4b2103c1.js} +6 -2
- package/dist/esm/{calendaritem.taro-bbe4a226.js → calendaritem.taro-fe84d94b.js} +23 -71
- package/dist/esm/{card.taro-c4f88500.js → card.taro-0861c7b3.js} +2 -2
- package/dist/esm/{cell.taro-8080af48.js → cell.taro-3bb1b0f2.js} +1 -1
- package/dist/esm/{checkbox.taro-7267be92.js → checkbox.taro-6fbc4b3c.js} +55 -10
- package/dist/esm/{checkboxgroup.taro-bc16131f.js → checkboxgroup.taro-3d380042.js} +26 -4
- package/dist/esm/{col.taro-ff3af36f.js → col.taro-2a437387.js} +6 -2
- package/dist/esm/{collapse.taro-5fac953d.js → collapse.taro-72e58ba2.js} +1 -0
- package/dist/esm/{collapseitem.taro-179cf530.js → collapseitem-5556ec54.js} +14 -13
- package/dist/esm/{datepicker.taro-f7c8ef80.js → datepicker.taro-c1249537.js} +7 -5
- package/dist/esm/{dialog.taro-57f6fc2e.js → dialog.taro-5b850861.js} +1 -1
- package/dist/esm/{divider.taro-beaec14a.js → divider.taro-5236fe6a.js} +6 -3
- package/dist/esm/{drag.taro-7c0493f8.js → drag.taro-56e8c87a.js} +1 -1
- package/dist/esm/{elevator.taro-e37a3fbb.js → elevator.taro-15b0d8c2.js} +139 -39
- package/dist/esm/{empty.taro-c7ccac8a.js → empty.taro-6f86eda5.js} +2 -2
- package/dist/esm/{fixednav.taro-5b473df6.js → fixednav.taro-ca94fd6a.js} +3 -3
- package/dist/esm/{icon-62bd7379.js → icon-8dc4de10.js} +9 -9
- package/dist/esm/{icon.taro-bf130544.js → icon.taro-1d0d4fb7.js} +11 -9
- package/dist/esm/{infiniteloading.taro-abf15a17.js → infiniteloading.taro-d2c0ca14.js} +1 -1
- package/dist/esm/input.taro-2e31ebbb.js +392 -0
- package/dist/esm/{inputnumber.taro-4ec2bfb6.js → inputnumber.taro-75662231.js} +17 -18
- package/dist/esm/navbar.taro-f2eae6a6.js +123 -0
- package/dist/esm/{noticebar.taro-70193e5e.js → noticebar.taro-ae593896.js} +74 -41
- package/dist/esm/{notify.taro-837a878b.js → notify.taro-95b5f97e.js} +19 -4
- package/dist/esm/{numberkeyboard.taro-a80cec74.js → numberkeyboard.taro-71b2e0eb.js} +1 -1
- package/dist/esm/nutui-react.es.js +69 -65
- package/dist/esm/offsetContext-0e3d04b3.js +19 -0
- package/dist/esm/{picker.taro-c05b1930.js → picker.taro-0eb8bfa3.js} +7 -5
- package/dist/esm/{pickerSlot-c8f5343e.js → pickerSlot-f8e4e542.js} +9 -6
- package/dist/esm/{popover.taro-3b06163e.js → popover.taro-4c102df6.js} +142 -105
- package/dist/esm/{popup-15922d84.js → popup-67173ec6.js} +55 -31
- package/dist/esm/{popup.taro-897e35fd.js → popup.taro-a89dd3a1.js} +55 -31
- package/dist/esm/{progress.taro-51bcdd4f.js → progress.taro-dd93ac38.js} +1 -1
- package/dist/esm/radio.taro-32cb0172.js +129 -0
- package/dist/esm/{radiogroup.taro-f2401b7a.js → radiogroup-e698d3df.js} +5 -2
- package/dist/esm/{range.taro-41ced357.js → range.taro-034fcf7a.js} +188 -20
- package/dist/esm/{rate.taro-3d6edec3.js → rate.taro-a0b21714.js} +6 -2
- package/dist/esm/{row.taro-7afb510a.js → row.taro-cec13a7e.js} +9 -3
- package/dist/esm/{searchbar.taro-b05ef5a8.js → searchbar.taro-4c6091cb.js} +1 -1
- package/dist/esm/{shortpassword.taro-aad27ce9.js → shortpassword.taro-ce46b9cd.js} +2 -2
- package/dist/esm/sidenavbar.taro-36f1e118.js +65 -0
- package/dist/esm/sidenavbaritem.taro-77e077f4.js +32 -0
- package/dist/esm/{signature.taro-454c5413.js → signature.taro-45aedfa9.js} +1 -1
- package/dist/esm/{skeleton.taro-b2831f6f.js → skeleton.taro-5934c7d7.js} +6 -7
- package/dist/esm/{step.taro-33775bf4.js → step-9a048771.js} +1 -1
- package/dist/esm/subsidenavbar.taro-2c1fcf16.js +94 -0
- package/dist/esm/{swiper.taro-624d2cf2.js → swiper.taro-59bf2777.js} +37 -13
- package/dist/esm/{swiperitem.taro-984e3ebb.js → swiperitem-d00e7513.js} +1 -15
- package/dist/esm/{tabbaritem.taro-898becb1.js → tabbaritem.taro-a88d3ae7.js} +1 -1
- package/dist/esm/table.taro-49009dfc.js +153 -0
- package/dist/esm/{tabpane.taro-24514060.js → tabpane.taro-95aa185b.js} +3 -2
- package/dist/esm/{tabs.taro-56a953f6.js → tabs.taro-d1e85ea5.js} +15 -5
- package/dist/esm/{tag.taro-77cf134f.js → tag.taro-3bbbb557.js} +2 -2
- package/dist/esm/{textarea.taro-5d4efaf0.js → textarea.taro-0c40e966.js} +5 -2
- package/dist/esm/{timeselect.taro-e4c97354.js → timeselect.taro-c35d3490.js} +1 -1
- package/dist/esm/{toast.taro-b7ff92f1.js → toast.taro-48539c09.js} +1 -1
- package/dist/esm/{uploader.taro-5fab7e14.js → uploader.taro-ece83a00.js} +3 -3
- package/dist/esm/{index-31152350.js → useTouch-a2ea68c6.js} +26 -12
- 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 +2406 -1269
- package/dist/nutui.react.umd.js +17 -20
- package/dist/packages/address/address.scss +9 -2
- package/dist/packages/col/col.scss +6 -6
- package/dist/packages/icon/icon.scss +104 -12
- package/dist/packages/noticebar/noticebar.scss +31 -15
- package/dist/packages/notify/notify.scss +9 -0
- package/dist/packages/popover/popover.scss +205 -83
- package/dist/packages/range/range.scss +141 -13
- package/dist/packages/sidenavbar/sidenavbar.scss +69 -0
- package/dist/packages/sidenavbaritem/sidenavbaritem.scss +8 -0
- package/dist/packages/subsidenavbar/subsidenavbar.scss +23 -0
- package/dist/packages/swiper/swiper.scss +3 -0
- package/dist/packages/table/table.scss +81 -0
- package/dist/packages/toast/toast.scss +16 -13
- package/dist/style.css +1 -1
- package/dist/style.es.js +1 -1
- package/dist/styles/animation/icon.scss +245 -0
- package/dist/styles/animation/index.scss +1 -0
- package/dist/styles/font/config.json +169 -0
- package/dist/styles/font/demo_index.html +210 -3
- package/dist/styles/font/iconfont.css +39 -3
- package/dist/styles/font/iconfont.js +32 -32
- package/dist/styles/font/iconfont.json +63 -0
- package/dist/styles/font/iconfont.ttf +0 -0
- package/dist/styles/font/iconfont.woff +0 -0
- package/dist/styles/font/iconfont.woff2 +0 -0
- package/dist/styles/themes/default.scss +4 -0
- package/dist/styles/variables.scss +43 -14
- package/dist/types/address/address.taro.d.ts +4 -27
- package/dist/types/animatingnumbers/animatingnumbers.taro.d.ts +1 -1
- package/dist/types/animatingnumbers/countup.taro.d.ts +11 -0
- package/dist/types/avatargroup/index.taro.d.ts +1 -1
- package/dist/types/backtop/backtop.taro.d.ts +4 -4
- package/dist/types/badge/badge.taro.d.ts +2 -1
- package/dist/types/card/card.taro.d.ts +4 -4
- package/dist/types/cellgroup/cellgroup.taro.d.ts +1 -0
- package/dist/types/checkbox/checkbox.taro.d.ts +4 -0
- package/dist/types/checkboxgroup/checkboxgroup.taro.d.ts +1 -0
- package/dist/types/col/col.taro.d.ts +4 -1
- package/dist/types/collapse/collapse.taro.d.ts +2 -1
- package/dist/types/collapseitem/index.taro.d.ts +1 -1
- package/dist/types/elevator/elevator.taro.d.ts +6 -1
- package/dist/types/fixednav/fixednav.taro.d.ts +5 -5
- package/dist/types/icon/icon.taro.d.ts +10 -3
- package/dist/types/input/input.taro.d.ts +42 -5
- package/dist/types/navbar/navbar.taro.d.ts +10 -4
- package/dist/types/noticebar/noticebar.taro.d.ts +1 -1
- package/dist/types/nutui.react.d.ts +5 -1
- package/dist/types/picker/picker.taro.d.ts +1 -0
- package/dist/types/popover/popover.taro.d.ts +15 -7
- package/dist/types/popup/popup.taro.d.ts +2 -0
- package/dist/types/radiogroup/index.taro.d.ts +1 -1
- package/dist/types/range/range.taro.d.ts +3 -1
- package/dist/types/row/row.taro.d.ts +4 -1
- package/dist/types/sidenavbar/index.taro.d.ts +2 -0
- package/dist/types/sidenavbar/sidenavbar.taro.d.ts +3 -0
- package/dist/types/sidenavbaritem/index.taro.d.ts +2 -0
- package/dist/types/sidenavbaritem/sidenavbaritem.taro.d.ts +3 -0
- package/dist/types/skeleton/skeleton.taro.d.ts +1 -0
- package/dist/types/step/index.taro.d.ts +1 -1
- package/dist/types/subsidenavbar/index.taro.d.ts +2 -0
- package/dist/types/subsidenavbar/subsidenavbar.taro.d.ts +3 -0
- package/dist/types/swiper/swiper.taro.d.ts +1 -0
- package/dist/types/swiperitem/index.taro.d.ts +1 -1
- package/dist/types/tabbar/tabbar.taro.d.ts +1 -0
- package/dist/types/table/index.taro.d.ts +2 -0
- package/dist/types/table/table.taro.d.ts +3 -0
- package/dist/types/tabpane/tabpane.taro.d.ts +3 -1
- package/dist/types/tabs/tabs.taro.d.ts +2 -0
- package/dist/types/tag/tag.taro.d.ts +2 -1
- package/package.json +15 -8
- package/dist/esm/context-aa058329.js +0 -6
- package/dist/esm/input.taro-b6927020.js +0 -190
- package/dist/esm/navbar.taro-f2ba2cf4.js +0 -66
- package/dist/esm/radio.taro-923d91bc.js +0 -200
- package/dist/packages/range/custom.scss +0 -9
- package/dist/types/actionsheet/demo.taro.d.ts +0 -6
- package/dist/types/address/demo.taro.d.ts +0 -3
- package/dist/types/animatingnumbers/demo.taro.d.ts +0 -3
- package/dist/types/avatar/demo.taro.d.ts +0 -4
- package/dist/types/avatargroup/avatargroup.taro.d.ts +0 -14
- package/dist/types/backtop/demo.taro.d.ts +0 -3
- package/dist/types/badge/demo.taro.d.ts +0 -3
- package/dist/types/barrage/demo.taro.d.ts +0 -4
- package/dist/types/button/demo.taro.d.ts +0 -3
- package/dist/types/calendar/demo.taro.d.ts +0 -3
- package/dist/types/card/demo.taro.d.ts +0 -3
- package/dist/types/cell/demo.taro.d.ts +0 -3
- package/dist/types/checkbox/demo.taro.d.ts +0 -3
- package/dist/types/circleprogress/demo.taro.d.ts +0 -4
- package/dist/types/collapse/demo.taro.d.ts +0 -3
- package/dist/types/collapseitem/collapseitem.taro.d.ts +0 -18
- package/dist/types/configprovider/demo.taro.d.ts +0 -3
- package/dist/types/countdown/demo.taro.d.ts +0 -3
- package/dist/types/datepicker/demo.taro.d.ts +0 -3
- package/dist/types/dialog/demo.taro.d.ts +0 -3
- package/dist/types/divider/demo.taro.d.ts +0 -3
- package/dist/types/drag/demo.taro.d.ts +0 -3
- package/dist/types/elevator/demo.taro.d.ts +0 -3
- package/dist/types/empty/demo.taro.d.ts +0 -4
- package/dist/types/fixednav/demo.taro.d.ts +0 -3
- package/dist/types/icon/demo.taro.d.ts +0 -3
- package/dist/types/indicator/demo.taro.d.ts +0 -4
- package/dist/types/infiniteloading/demo.taro.d.ts +0 -4
- package/dist/types/input/demo.taro.d.ts +0 -3
- package/dist/types/inputnumber/demo.taro.d.ts +0 -3
- package/dist/types/layout/demo.taro.d.ts +0 -4
- package/dist/types/navbar/demo.taro.d.ts +0 -3
- package/dist/types/noticebar/demo.taro.d.ts +0 -3
- package/dist/types/notify/demo.taro.d.ts +0 -3
- package/dist/types/numberkeyboard/demo.taro.d.ts +0 -3
- package/dist/types/overlay/demo.taro.d.ts +0 -4
- package/dist/types/pagination/demo.taro.d.ts +0 -3
- package/dist/types/picker/demo.taro.d.ts +0 -3
- package/dist/types/popover/demo.taro.d.ts +0 -3
- package/dist/types/popup/demo.taro.d.ts +0 -4
- package/dist/types/price/demo.taro.d.ts +0 -3
- package/dist/types/progress/demo.taro.d.ts +0 -3
- package/dist/types/radio/demo.taro.d.ts +0 -3
- package/dist/types/radiogroup/radiogroup.taro.d.ts +0 -11
- package/dist/types/range/demo.taro.d.ts +0 -3
- package/dist/types/rate/demo.taro.d.ts +0 -3
- package/dist/types/searchbar/demo.taro.d.ts +0 -3
- package/dist/types/shortpassword/demo.taro.d.ts +0 -3
- package/dist/types/signature/demo.taro.d.ts +0 -3
- package/dist/types/skeleton/demo.taro.d.ts +0 -4
- package/dist/types/step/step.taro.d.ts +0 -13
- package/dist/types/steps/demo.taro.d.ts +0 -4
- package/dist/types/swiper/demo.taro.d.ts +0 -4
- package/dist/types/swiperitem/swiperitem.taro.d.ts +0 -7
- package/dist/types/switch/demo.taro.d.ts +0 -3
- package/dist/types/tabbar/demo.taro.d.ts +0 -3
- package/dist/types/tabs/demo.taro.d.ts +0 -3
- package/dist/types/tag/demo.taro.d.ts +0 -3
- package/dist/types/textarea/demo.taro.d.ts +0 -3
- package/dist/types/timedetail/demo.taro.d.ts +0 -3
- package/dist/types/timepannel/demo.taro.d.ts +0 -3
- package/dist/types/timeselect/demo.taro.d.ts +0 -3
- package/dist/types/toast/demo.taro.d.ts +0 -3
- package/dist/types/uploader/demo.taro.d.ts +0 -16
- package/dist/types/virtuallist/demo.taro.d.ts +0 -3
|
@@ -5,6 +5,69 @@
|
|
|
5
5
|
"css_prefix_text": "nut-icon-",
|
|
6
6
|
"description": "nutui 3.0字体管理",
|
|
7
7
|
"glyphs": [
|
|
8
|
+
{
|
|
9
|
+
"icon_id": "30188161",
|
|
10
|
+
"name": "image-error",
|
|
11
|
+
"font_class": "image-error",
|
|
12
|
+
"unicode": "e60a",
|
|
13
|
+
"unicode_decimal": 58890
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"icon_id": "30187558",
|
|
17
|
+
"name": "image",
|
|
18
|
+
"font_class": "image",
|
|
19
|
+
"unicode": "e609",
|
|
20
|
+
"unicode_decimal": 58889
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"icon_id": "27579944",
|
|
24
|
+
"name": "voice",
|
|
25
|
+
"font_class": "voice",
|
|
26
|
+
"unicode": "e608",
|
|
27
|
+
"unicode_decimal": 58888
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"icon_id": "27574732",
|
|
31
|
+
"name": "play-stop",
|
|
32
|
+
"font_class": "play-stop",
|
|
33
|
+
"unicode": "e604",
|
|
34
|
+
"unicode_decimal": 58884
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"icon_id": "27574733",
|
|
38
|
+
"name": "play-start",
|
|
39
|
+
"font_class": "play-start",
|
|
40
|
+
"unicode": "e605",
|
|
41
|
+
"unicode_decimal": 58885
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"icon_id": "27574749",
|
|
45
|
+
"name": "play-double-back",
|
|
46
|
+
"font_class": "play-double-back",
|
|
47
|
+
"unicode": "e606",
|
|
48
|
+
"unicode_decimal": 58886
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"icon_id": "27574750",
|
|
52
|
+
"name": "play-double-forward",
|
|
53
|
+
"font_class": "play-double-forward",
|
|
54
|
+
"unicode": "e607",
|
|
55
|
+
"unicode_decimal": 58887
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"icon_id": "27276580",
|
|
59
|
+
"name": "dou-arrow-up",
|
|
60
|
+
"font_class": "dou-arrow-up",
|
|
61
|
+
"unicode": "e603",
|
|
62
|
+
"unicode_decimal": 58883
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"icon_id": "1388116",
|
|
66
|
+
"name": "loading2",
|
|
67
|
+
"font_class": "loading1",
|
|
68
|
+
"unicode": "e614",
|
|
69
|
+
"unicode_decimal": 58900
|
|
70
|
+
},
|
|
8
71
|
{
|
|
9
72
|
"icon_id": "21445300",
|
|
10
73
|
"name": "checked",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -19,6 +19,9 @@
|
|
|
19
19
|
@import '../../packages/tabs/tabs.scss';
|
|
20
20
|
@import '../../packages/tabpane/tabpane.scss';
|
|
21
21
|
@import '../../packages/indicator/indicator.scss';
|
|
22
|
+
@import '../../packages/sidenavbar/sidenavbar.scss';
|
|
23
|
+
@import '../../packages/subsidenavbar/subsidenavbar.scss';
|
|
24
|
+
@import '../../packages/sidenavbaritem/sidenavbaritem.scss';
|
|
22
25
|
@import '../../packages/range/range.scss';
|
|
23
26
|
@import '../../packages/calendar/calendar.scss';
|
|
24
27
|
@import '../../packages/checkbox/checkbox.scss';
|
|
@@ -63,6 +66,7 @@
|
|
|
63
66
|
@import '../../packages/animatingnumbers/animatingnumbers.scss';
|
|
64
67
|
@import '../../packages/empty/empty.scss';
|
|
65
68
|
@import '../../packages/virtuallist/virtuallist.scss';
|
|
69
|
+
@import '../../packages/table/table.scss';
|
|
66
70
|
@import '../../packages/video/video.scss';
|
|
67
71
|
@import '../../packages/progress/progress.scss';
|
|
68
72
|
@import '../../packages/address/address.scss';
|
|
@@ -69,7 +69,7 @@ $button-primary-background-color: linear-gradient(
|
|
|
69
69
|
$primary-color-end 100%
|
|
70
70
|
);
|
|
71
71
|
$button-info-color: $white;
|
|
72
|
-
$button-info-border-color:
|
|
72
|
+
$button-info-border-color: #496af2;
|
|
73
73
|
$button-info-background-color: linear-gradient(
|
|
74
74
|
315deg,
|
|
75
75
|
rgba(73, 143, 242, 1) 0%,
|
|
@@ -194,6 +194,15 @@ $avatar-normal-height: 40px;
|
|
|
194
194
|
$switch-close-bg-color: #ebebeb;
|
|
195
195
|
$switch-close--cline-bg-color: #f0f0f0;
|
|
196
196
|
|
|
197
|
+
// toast
|
|
198
|
+
$toast-title-font-size: 16px !default;
|
|
199
|
+
$toast-text-font-size: 14px !default;
|
|
200
|
+
$toast-font-color: $white !default;
|
|
201
|
+
$toast-inner-padding: 24px 30px !default;
|
|
202
|
+
$toast-inner-bg-color: rgba(0, 0, 0, 0.8) !default;
|
|
203
|
+
$toast-inner-border-radius: 12px !default;
|
|
204
|
+
$toast-cover-bg-color: rgba(0, 0, 0, 0) !default;
|
|
205
|
+
|
|
197
206
|
//backtop
|
|
198
207
|
$backtop-border-color: #e0e0e0;
|
|
199
208
|
|
|
@@ -221,12 +230,19 @@ $notify-font-size: 14px;
|
|
|
221
230
|
$notify-height: 44px;
|
|
222
231
|
|
|
223
232
|
// NoticeBar
|
|
224
|
-
$
|
|
225
|
-
$
|
|
226
|
-
$
|
|
227
|
-
$
|
|
228
|
-
$
|
|
229
|
-
|
|
233
|
+
$noticebar-background: rgba(251, 248, 220, 1) !default;
|
|
234
|
+
$noticebar-color: #d9500b !default;
|
|
235
|
+
$noticebar-font-size: 14px !default;
|
|
236
|
+
$noticebar-height: 40px !default;
|
|
237
|
+
$noticebar-line-height: 24px !default;
|
|
238
|
+
$noticebar-left-icon-width: 16px !default;
|
|
239
|
+
$noticebar-right-icon-width: 16px !default;
|
|
240
|
+
$noticebar-box-padding: 0 16px !default;
|
|
241
|
+
$noticebar-wrapable-padding: 16px !default;
|
|
242
|
+
$noticebar-lefticon-margin: 0px 10px !default;
|
|
243
|
+
$noticebar-righticon-margin: 0px 10px !default;
|
|
244
|
+
|
|
245
|
+
//notify
|
|
230
246
|
$notify-base-background-color: linear-gradient(
|
|
231
247
|
135deg,
|
|
232
248
|
rgba(250, 44, 25, 1) 0%,
|
|
@@ -272,13 +288,18 @@ $tabbar-item-text-line-height: initial !default;
|
|
|
272
288
|
$infinite-bottom-color: #c8c8c8;
|
|
273
289
|
|
|
274
290
|
//range
|
|
275
|
-
$range-
|
|
276
|
-
$
|
|
277
|
-
$
|
|
291
|
+
$range-tip-font-color: #333333 !default;
|
|
292
|
+
$range-bg-color: rgba($primary-color, 0.5) !default;
|
|
293
|
+
$range-bg-color-tick: #fa958c !default;
|
|
294
|
+
$range-bar-bg-color: linear-gradient(
|
|
278
295
|
135deg,
|
|
279
296
|
$primary-color 0%,
|
|
280
297
|
$primary-color-end 100%
|
|
281
|
-
);
|
|
298
|
+
) !default;
|
|
299
|
+
$range-bar-btn-bg-color: $white !default;
|
|
300
|
+
$range-bar-btn-width: 24px !default;
|
|
301
|
+
$range-bar-btn-height: 24px !default;
|
|
302
|
+
$range-bar-btn-border: 1px solid $primary-color !default;
|
|
282
303
|
|
|
283
304
|
//address
|
|
284
305
|
$address-region-tab-line: linear-gradient(
|
|
@@ -463,7 +484,7 @@ $indicator-color: $primary-color !default;
|
|
|
463
484
|
$indicator-dot-color: $disable-color !default;
|
|
464
485
|
$indicator-white: $white !default;
|
|
465
486
|
$indicator-size: 18px !default;
|
|
466
|
-
$indicator-dot-size: calc($indicator-size / 3) !default;
|
|
487
|
+
$indicator-dot-size: calc(#{$indicator-size} / 3) !default;
|
|
467
488
|
$indicator-border-size: $indicator-size + 2 !default;
|
|
468
489
|
$indicator-number-font-size: 10px !default;
|
|
469
490
|
$indicator-dot-margin: 4px !default;
|
|
@@ -490,6 +511,15 @@ $divider-vertical-top: 2px !default;
|
|
|
490
511
|
$divider-vertical-border-left: rgba(0, 0, 0, 0.06) !default;
|
|
491
512
|
$divider-vertical-margin: 0 8px !default;
|
|
492
513
|
|
|
514
|
+
// swiper
|
|
515
|
+
$swiper-pagination-item-background-color: #ddd !default;
|
|
516
|
+
|
|
517
|
+
// Table
|
|
518
|
+
$table-border-color: #ececec !default;
|
|
519
|
+
$table-cols-padding: 10px !default;
|
|
520
|
+
$table-tr-even-bg-color: #f3f3f3 !default;
|
|
521
|
+
$table-tr-odd-bg-color: $white !default;
|
|
522
|
+
|
|
493
523
|
//numberkeyboard
|
|
494
524
|
$numberkeyboard-width: 100% !default;
|
|
495
525
|
$numberkeyboard-padding: 0 0 22px 0 !default;
|
|
@@ -513,6 +543,7 @@ $numberkeyboard-key-finish-font-size: 16px !default;
|
|
|
513
543
|
$numberkeyboard-key-finish-font-size-color: #fff !default;
|
|
514
544
|
$numberkeyboard-key-finish-background-color: #1989fa !default;
|
|
515
545
|
$numberkeyboard-key-activeFinsh-background-color: #0570db !default;
|
|
546
|
+
|
|
516
547
|
// elevator
|
|
517
548
|
$elevator-list-item-highcolor: $primary-color !default;
|
|
518
549
|
$elevator-list-item-font-size: 12px !default;
|
|
@@ -580,7 +611,6 @@ $row-content-height: 50px !default;
|
|
|
580
611
|
$row-content-line-height: 40px !default;
|
|
581
612
|
$col-default-margin-bottom: 15px !default;
|
|
582
613
|
|
|
583
|
-
|
|
584
614
|
// searchbar
|
|
585
615
|
$searchbar-background: $white !default;
|
|
586
616
|
$searchbar-right-out-color: $black !default;
|
|
@@ -617,4 +647,3 @@ $countup-lr-margin: 1px !default;
|
|
|
617
647
|
$countup-bgcolor: #031f63 !default;
|
|
618
648
|
$countup-color: #ffffff !default;
|
|
619
649
|
$countup-width: 24px !default;
|
|
620
|
-
|
|
@@ -1,33 +1,10 @@
|
|
|
1
1
|
import React, { FunctionComponent, CSSProperties } from 'react';
|
|
2
|
-
|
|
3
|
-
name?: string;
|
|
4
|
-
[key: string]: any;
|
|
5
|
-
}
|
|
6
|
-
export interface NextListObj {
|
|
7
|
-
next: string;
|
|
8
|
-
value: string | RegionData;
|
|
9
|
-
custom: string;
|
|
10
|
-
selectedRegion: {};
|
|
11
|
-
}
|
|
12
|
-
export interface AddressList {
|
|
13
|
-
id?: string | number;
|
|
14
|
-
provinceName: string;
|
|
15
|
-
cityName: string;
|
|
16
|
-
countyName: string;
|
|
17
|
-
townName: string;
|
|
18
|
-
addressDetail: string;
|
|
19
|
-
selectedAddress: boolean;
|
|
20
|
-
name?: string;
|
|
21
|
-
phone?: string;
|
|
22
|
-
}
|
|
23
|
-
export interface CloseRes {
|
|
24
|
-
data: {};
|
|
25
|
-
type: string;
|
|
26
|
-
}
|
|
2
|
+
import { RegionData, ChangeCallBack, CloseCallBack, AddressList } from './type';
|
|
27
3
|
export interface AddressProps {
|
|
28
4
|
className?: string;
|
|
29
5
|
style?: CSSProperties;
|
|
30
6
|
modelValue: boolean;
|
|
7
|
+
modelSelect: (string | number)[];
|
|
31
8
|
type: string;
|
|
32
9
|
customAddressTitle: string;
|
|
33
10
|
province: RegionData[];
|
|
@@ -44,14 +21,14 @@ export interface AddressProps {
|
|
|
44
21
|
closeBtnIcon: string;
|
|
45
22
|
backBtnIcon: string;
|
|
46
23
|
onSelected?: (prevExistAdd: AddressList, item: AddressList, copyExistAdd: AddressList[]) => void;
|
|
47
|
-
onClose?: (cal:
|
|
24
|
+
onClose?: (cal: CloseCallBack) => void;
|
|
48
25
|
closeMask?: (cal: {
|
|
49
26
|
closeWay: string;
|
|
50
27
|
}) => void;
|
|
51
28
|
switchModule?: (cal: {
|
|
52
29
|
type: string;
|
|
53
30
|
}) => void;
|
|
54
|
-
onChange?: (cal:
|
|
31
|
+
onChange?: (cal: ChangeCallBack) => void;
|
|
55
32
|
onTabChecked?: (cal: string) => void;
|
|
56
33
|
}
|
|
57
34
|
export declare const Address: FunctionComponent<Partial<AddressProps> & Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'>>;
|
|
@@ -5,7 +5,7 @@ declare type AnimatingNumbersStates = {};
|
|
|
5
5
|
export declare class AnimatingNumbers extends Component<AnimatingNumbersProps, AnimatingNumbersStates> {
|
|
6
6
|
static defaultProps: AnimatingNumbersProps;
|
|
7
7
|
static displayName: string;
|
|
8
|
-
static CountUp: React.FunctionComponent<Partial<import("./countup").CountUpProps>>;
|
|
8
|
+
static CountUp: React.FunctionComponent<Partial<import("./countup.taro").CountUpProps>>;
|
|
9
9
|
constructor(props: AnimatingNumbersProps);
|
|
10
10
|
render(): JSX.Element;
|
|
11
11
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React, { FunctionComponent } from 'react';
|
|
2
|
+
export interface CountUpProps {
|
|
3
|
+
maxLen: number;
|
|
4
|
+
endNumber: string;
|
|
5
|
+
delaySpeed?: number;
|
|
6
|
+
easeSpeed: number;
|
|
7
|
+
thousands: boolean;
|
|
8
|
+
className: string;
|
|
9
|
+
style: React.CSSProperties;
|
|
10
|
+
}
|
|
11
|
+
export declare const CountUp: FunctionComponent<Partial<CountUpProps>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { AvatarGroup } from './avatargroup
|
|
1
|
+
import { AvatarGroup } from './avatargroup';
|
|
2
2
|
export default AvatarGroup;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FunctionComponent
|
|
1
|
+
import React, { FunctionComponent } from 'react';
|
|
2
2
|
export interface BackTopProps {
|
|
3
3
|
className?: string;
|
|
4
4
|
bottom: number;
|
|
@@ -9,7 +9,7 @@ export interface BackTopProps {
|
|
|
9
9
|
isAnimation: boolean;
|
|
10
10
|
duration: number;
|
|
11
11
|
children?: HTMLElement | any;
|
|
12
|
-
style?: CSSProperties;
|
|
13
|
-
|
|
12
|
+
style?: React.CSSProperties;
|
|
13
|
+
onClick?: (event: MouseEvent) => void;
|
|
14
14
|
}
|
|
15
|
-
export declare const BackTop: FunctionComponent<Partial<BackTopProps>>;
|
|
15
|
+
export declare const BackTop: FunctionComponent<Partial<BackTopProps> & Omit<React.HTMLAttributes<HTMLDivElement>, 'onClick'>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FunctionComponent } from 'react';
|
|
1
|
+
import { FunctionComponent, ReactNode } from 'react';
|
|
2
2
|
export interface BadgeProps {
|
|
3
3
|
value: any;
|
|
4
4
|
dot: boolean;
|
|
@@ -8,6 +8,7 @@ export interface BadgeProps {
|
|
|
8
8
|
zIndex: string;
|
|
9
9
|
color: string;
|
|
10
10
|
icons: any;
|
|
11
|
+
children?: ReactNode;
|
|
11
12
|
}
|
|
12
13
|
export declare type BadgeType = 'default' | 'primary' | 'success' | 'warning' | 'danger';
|
|
13
14
|
export declare const Badge: FunctionComponent<Partial<BadgeProps>>;
|
|
@@ -9,9 +9,9 @@ export interface CardProps {
|
|
|
9
9
|
shopName: string;
|
|
10
10
|
className: string;
|
|
11
11
|
style: React.CSSProperties;
|
|
12
|
-
prolistTpl: React.
|
|
13
|
-
shopTagTpl: React.
|
|
14
|
-
originTpl: React.
|
|
15
|
-
footerTpl: React.
|
|
12
|
+
prolistTpl: React.ReactNode;
|
|
13
|
+
shopTagTpl: React.ReactNode;
|
|
14
|
+
originTpl: React.ReactNode;
|
|
15
|
+
footerTpl: React.ReactNode;
|
|
16
16
|
}
|
|
17
17
|
export declare const Card: FunctionComponent<Partial<CardProps> & React.HTMLAttributes<HTMLDivElement>>;
|
|
@@ -7,6 +7,10 @@ export interface CheckBoxProps {
|
|
|
7
7
|
iconSize: string | number;
|
|
8
8
|
iconName: string;
|
|
9
9
|
iconActiveName: string;
|
|
10
|
+
iconIndeterminateName: string;
|
|
11
|
+
iconClassPrefix: string;
|
|
12
|
+
iconFontClassName: string;
|
|
13
|
+
indeterminate: boolean;
|
|
10
14
|
label: string;
|
|
11
15
|
onChange: (state: boolean, label: string) => void;
|
|
12
16
|
}
|
|
@@ -2,6 +2,7 @@ import React from 'react';
|
|
|
2
2
|
export interface CheckBoxGroupProps {
|
|
3
3
|
disabled: boolean;
|
|
4
4
|
checkedValue: string[];
|
|
5
|
+
max: number | undefined;
|
|
5
6
|
onChange: (value: string[]) => void;
|
|
6
7
|
}
|
|
7
8
|
export declare const CheckboxGroup: React.ForwardRefExoticComponent<Partial<CheckBoxGroupProps> & Omit<React.HTMLAttributes<HTMLDivElement>, "onChange"> & React.RefAttributes<unknown>>;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import React, { FunctionComponent } from 'react';
|
|
2
|
+
declare type EventType = 'row' | 'col';
|
|
2
3
|
export interface ColProps {
|
|
3
4
|
span: string | number;
|
|
4
5
|
offset: string | number;
|
|
5
6
|
gutter: string | number;
|
|
7
|
+
onClick: (e: any, type: EventType) => void;
|
|
6
8
|
}
|
|
7
|
-
export declare const Col: FunctionComponent<Partial<ColProps> & React.HTMLAttributes<HTMLDivElement>>;
|
|
9
|
+
export declare const Col: FunctionComponent<Partial<ColProps> & Omit<React.HTMLAttributes<HTMLDivElement>, 'onClick'>>;
|
|
10
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FunctionComponent } from 'react';
|
|
1
|
+
import React, { FunctionComponent } from 'react';
|
|
2
2
|
export interface CollapseProps {
|
|
3
3
|
activeName: Array<number | string> | number | string;
|
|
4
4
|
accordion: boolean;
|
|
@@ -7,5 +7,6 @@ export interface CollapseProps {
|
|
|
7
7
|
iconColor: string;
|
|
8
8
|
rotate: number;
|
|
9
9
|
change: (isOpen: boolean, name: string) => void;
|
|
10
|
+
children?: React.ReactNode;
|
|
10
11
|
}
|
|
11
12
|
export declare const Collapse: FunctionComponent<Partial<CollapseProps>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { CollapseItem } from './collapseitem
|
|
1
|
+
import { CollapseItem } from './collapseitem';
|
|
2
2
|
export default CollapseItem;
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import React, { FunctionComponent } from 'react';
|
|
2
|
+
export declare const elevatorContext: React.Context<ElevatorData>;
|
|
2
3
|
export interface ElevatorProps {
|
|
3
4
|
height: number | string;
|
|
4
5
|
acceptKey: string;
|
|
5
|
-
indexList: any;
|
|
6
|
+
indexList: any[];
|
|
7
|
+
isSticky: boolean;
|
|
8
|
+
spaceHeight: number;
|
|
9
|
+
titleHeight: number;
|
|
6
10
|
className: string;
|
|
7
11
|
style: React.CSSProperties;
|
|
12
|
+
children: React.ReactNode;
|
|
8
13
|
clickItem: (key: string, item: ElevatorData) => void;
|
|
9
14
|
clickIndex: (key: string) => void;
|
|
10
15
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { FunctionComponent
|
|
1
|
+
import React, { FunctionComponent } from 'react';
|
|
2
2
|
declare type Direction = 'right' | 'left';
|
|
3
3
|
declare type Position = {
|
|
4
4
|
top?: string;
|
|
@@ -8,15 +8,15 @@ export interface FixedNavProps {
|
|
|
8
8
|
fixednavClass: string;
|
|
9
9
|
visible: boolean;
|
|
10
10
|
overlay: boolean;
|
|
11
|
-
navList: Array<
|
|
11
|
+
navList: Array<any>;
|
|
12
12
|
activeText: string;
|
|
13
13
|
unActiveText: string;
|
|
14
14
|
position: Position;
|
|
15
15
|
type: Direction;
|
|
16
16
|
onChange: (v: any) => void;
|
|
17
|
-
onSelected:
|
|
18
|
-
slotList:
|
|
19
|
-
slotBtn:
|
|
17
|
+
onSelected: (item: any, e: any) => void;
|
|
18
|
+
slotList: React.ReactNode;
|
|
19
|
+
slotBtn: React.ReactNode;
|
|
20
20
|
}
|
|
21
21
|
export declare const FixedNav: FunctionComponent<Partial<FixedNavProps> & React.HTMLAttributes<HTMLDivElement>>;
|
|
22
22
|
export {};
|
|
@@ -1,12 +1,19 @@
|
|
|
1
|
-
import React, {
|
|
1
|
+
import React, { ReactElement, ReactHTML } from 'react';
|
|
2
2
|
interface IconProps {
|
|
3
3
|
name: string;
|
|
4
4
|
size: string | number;
|
|
5
5
|
classPrefix: string;
|
|
6
6
|
color: string;
|
|
7
7
|
tag: keyof ReactHTML;
|
|
8
|
-
|
|
8
|
+
onClick: (e: MouseEvent) => void;
|
|
9
|
+
fontClassName: string;
|
|
9
10
|
className: string;
|
|
11
|
+
style: React.CSSProperties;
|
|
12
|
+
children: React.ReactNode;
|
|
13
|
+
}
|
|
14
|
+
export declare function Icon<T>(props: Partial<IconProps> & T): ReactElement;
|
|
15
|
+
export declare namespace Icon {
|
|
16
|
+
var defaultProps: IconProps;
|
|
17
|
+
var displayName: string;
|
|
10
18
|
}
|
|
11
|
-
export declare const Icon: FunctionComponent<Partial<IconProps> & React.HTMLAttributes<HTMLDivElement>>;
|
|
12
19
|
export {};
|
|
@@ -1,20 +1,57 @@
|
|
|
1
|
-
import React, { CSSProperties, FunctionComponent } from 'react';
|
|
1
|
+
import React, { CSSProperties, FunctionComponent, HTMLInputTypeAttribute } from 'react';
|
|
2
|
+
export declare type InputAlignType = 'left' | 'center' | 'right';
|
|
3
|
+
export declare type InputFormatTrigger = 'onChange' | 'onBlur';
|
|
4
|
+
export declare type InputType = HTMLInputTypeAttribute;
|
|
5
|
+
export declare type InputRule = {
|
|
6
|
+
pattern?: RegExp;
|
|
7
|
+
message?: string;
|
|
8
|
+
required?: boolean;
|
|
9
|
+
};
|
|
10
|
+
export declare type ConfirmTextType = 'send' | 'search' | 'next' | 'go' | 'done';
|
|
2
11
|
export interface InputProps {
|
|
3
|
-
type:
|
|
12
|
+
type: InputType;
|
|
4
13
|
defaultValue: any;
|
|
5
14
|
placeholder: string;
|
|
6
15
|
label: string;
|
|
7
|
-
|
|
16
|
+
labelClass: string;
|
|
17
|
+
labelWidth: string | number;
|
|
18
|
+
labelAlign: InputAlignType;
|
|
19
|
+
colon: boolean;
|
|
20
|
+
inputAlign: InputAlignType;
|
|
21
|
+
center: boolean;
|
|
22
|
+
required: boolean;
|
|
8
23
|
disabled: boolean;
|
|
9
24
|
readonly: boolean;
|
|
10
|
-
|
|
11
|
-
|
|
25
|
+
error: boolean;
|
|
26
|
+
maxlength: any;
|
|
27
|
+
leftIcon: string;
|
|
28
|
+
leftIconSize: string | number;
|
|
29
|
+
rightIcon: string;
|
|
30
|
+
rightIconSize: string | number;
|
|
12
31
|
clearable: boolean;
|
|
32
|
+
clearIcon: string;
|
|
33
|
+
clearSize: string | number;
|
|
34
|
+
border: boolean;
|
|
35
|
+
formatTrigger: InputFormatTrigger;
|
|
36
|
+
rules: Array<InputRule>;
|
|
37
|
+
errorMessage: string;
|
|
38
|
+
errorMessageAlign: InputAlignType;
|
|
39
|
+
rows: string | number;
|
|
40
|
+
showWordLimit: boolean;
|
|
41
|
+
autofocus: boolean;
|
|
13
42
|
style?: CSSProperties;
|
|
14
43
|
className?: string;
|
|
44
|
+
slotButton?: React.ReactNode;
|
|
45
|
+
slotInput?: React.ReactNode;
|
|
46
|
+
formatter: (value: string) => void;
|
|
15
47
|
change?: (value: any, event: Event) => void;
|
|
16
48
|
blur?: (value: any, event: Event) => void;
|
|
17
49
|
focus?: (value: any, event: Event) => void;
|
|
18
50
|
clear?: (value: any, event: Event) => void;
|
|
51
|
+
keypress?: (value: any, event: Event) => void;
|
|
52
|
+
clickInput?: (value: any) => void;
|
|
53
|
+
clickLeftIcon?: (value: any) => void;
|
|
54
|
+
clickRightIcon?: (value: any) => void;
|
|
55
|
+
click?: (value: any) => void;
|
|
19
56
|
}
|
|
20
57
|
export declare const Input: FunctionComponent<Partial<InputProps> & React.HTMLAttributes<HTMLDivElement>>;
|
|
@@ -1,15 +1,21 @@
|
|
|
1
1
|
import React, { FunctionComponent } from 'react';
|
|
2
2
|
export interface NavBarProps {
|
|
3
|
-
title: string;
|
|
4
|
-
desc: string;
|
|
5
3
|
leftShow: boolean;
|
|
6
|
-
|
|
4
|
+
title: string;
|
|
7
5
|
titIcon: string;
|
|
6
|
+
leftText: string;
|
|
7
|
+
desc: string;
|
|
8
8
|
className: string;
|
|
9
|
+
fixed: boolean;
|
|
10
|
+
safeAreaInsetTop: boolean;
|
|
11
|
+
border: boolean;
|
|
12
|
+
placeholder: boolean;
|
|
13
|
+
zIndex: number | string;
|
|
9
14
|
style: React.CSSProperties;
|
|
10
15
|
onClickTitle: (e: React.MouseEvent<HTMLDivElement>) => void;
|
|
11
16
|
onClickIcon: (e: React.MouseEvent<HTMLDivElement>) => void;
|
|
12
17
|
onClickBack: (e: React.MouseEvent<HTMLElement>) => void;
|
|
13
|
-
|
|
18
|
+
onClickRight: (e: React.MouseEvent<HTMLDivElement>) => void;
|
|
19
|
+
children?: React.ReactNode;
|
|
14
20
|
}
|
|
15
21
|
export declare const NavBar: FunctionComponent<Partial<NavBarProps>>;
|
|
@@ -18,6 +18,9 @@ import Pagination from './pagination/index.taro';
|
|
|
18
18
|
import Tabs from './tabs/index.taro';
|
|
19
19
|
import TabPane from './tabpane/index.taro';
|
|
20
20
|
import Indicator from './indicator/index.taro';
|
|
21
|
+
import SideNavBar from './sidenavbar/index.taro';
|
|
22
|
+
import SubSideNavBar from './subsidenavbar/index.taro';
|
|
23
|
+
import SideNavBarItem from './sidenavbaritem/index.taro';
|
|
21
24
|
import Range from './range/index.taro';
|
|
22
25
|
import Calendar from './calendar/index.taro';
|
|
23
26
|
import Checkbox from './checkbox/index.taro';
|
|
@@ -62,6 +65,7 @@ import CollapseItem from './collapseitem/index.taro';
|
|
|
62
65
|
import AnimatingNumbers from './animatingnumbers/index.taro';
|
|
63
66
|
import Empty from './empty/index.taro';
|
|
64
67
|
import VirtualList from './virtuallist/index.taro';
|
|
68
|
+
import Table from './table/index.taro';
|
|
65
69
|
import Video from './video/index.taro';
|
|
66
70
|
import Progress from './progress/index.taro';
|
|
67
71
|
import Address from './address/index.taro';
|
|
@@ -71,4 +75,4 @@ import Card from './card/index.taro';
|
|
|
71
75
|
import TimePannel from './timepannel/index.taro';
|
|
72
76
|
import TimeDetail from './timedetail/index.taro';
|
|
73
77
|
import TimeSelect from './timeselect/index.taro';
|
|
74
|
-
export { Button, Cell, CellGroup, Icon, Overlay, Popup, ConfigProvider, Layout, Col, Row, Divider, NavBar, FixedNav, Tabbar, TabbarItem, Elevator, Pagination, Tabs, TabPane, Indicator, Range, Calendar, Checkbox, CheckboxGroup, DatePicker, InputNumber, Input, Radio, RadioGroup, Rate, CalendarItem, Picker, ShortPassword, TextArea, Uploader, SearchBar, NumberKeyboard, ActionSheet, BackTop, Drag, Dialog, Infiniteloading, Notify, Switch, Toast, CircleProgress, NoticeBar, Steps, Step, Swiper, SwiperItem, Avatar, AvatarGroup, Price, Badge, Tag, Popover, Skeleton, CountDown, Collapse, CollapseItem, AnimatingNumbers, Empty, VirtualList, Video, Progress, Address, Barrage, Signature, Card, TimePannel, TimeDetail, TimeSelect };
|
|
78
|
+
export { Button, Cell, CellGroup, Icon, Overlay, Popup, ConfigProvider, Layout, Col, Row, Divider, NavBar, FixedNav, Tabbar, TabbarItem, Elevator, Pagination, Tabs, TabPane, Indicator, SideNavBar, SubSideNavBar, SideNavBarItem, Range, Calendar, Checkbox, CheckboxGroup, DatePicker, InputNumber, Input, Radio, RadioGroup, Rate, CalendarItem, Picker, ShortPassword, TextArea, Uploader, SearchBar, NumberKeyboard, ActionSheet, BackTop, Drag, Dialog, Infiniteloading, Notify, Switch, Toast, CircleProgress, NoticeBar, Steps, Step, Swiper, SwiperItem, Avatar, AvatarGroup, Price, Badge, Tag, Popover, Skeleton, CountDown, Collapse, CollapseItem, AnimatingNumbers, Empty, VirtualList, Table, Video, Progress, Address, Barrage, Signature, Card, TimePannel, TimeDetail, TimeSelect };
|
|
@@ -14,6 +14,7 @@ export interface IPickerProps {
|
|
|
14
14
|
className?: '';
|
|
15
15
|
style?: React.CSSProperties;
|
|
16
16
|
threeDimensional?: boolean;
|
|
17
|
+
swipeDuration: number | string;
|
|
17
18
|
onConfirm?: (selectedValue: (string | number)[], selectedOptions: PickerOption[]) => void;
|
|
18
19
|
onClose?: (selectedValue: (string | number)[], selectedOptions: PickerOption[]) => void;
|
|
19
20
|
onCloseUpdate?: (selectedValue: (string | number)[], list: PickerOption[], pickerRef: RefObject<HTMLDivElement>) => void;
|
|
@@ -1,13 +1,21 @@
|
|
|
1
1
|
import React, { CSSProperties, FunctionComponent } from 'react';
|
|
2
|
+
export declare type PopoverTheme = 'light' | 'dark';
|
|
3
|
+
export declare type PopoverLocation = 'bottom' | 'top' | 'left' | 'right' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end' | 'right-start' | 'right-end';
|
|
4
|
+
export interface List {
|
|
5
|
+
name: string;
|
|
6
|
+
icon?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
}
|
|
2
9
|
export interface PopoverProps {
|
|
3
|
-
list:
|
|
4
|
-
theme:
|
|
5
|
-
location: string;
|
|
10
|
+
list: List[];
|
|
11
|
+
theme: PopoverTheme;
|
|
12
|
+
location: PopoverLocation | string;
|
|
6
13
|
visible: boolean;
|
|
14
|
+
offset: string | number;
|
|
7
15
|
className: string;
|
|
8
16
|
style?: CSSProperties;
|
|
9
|
-
|
|
17
|
+
children?: React.ReactNode;
|
|
18
|
+
onClick: (e: React.MouseEvent) => void;
|
|
19
|
+
onChoose: (item: List, index: number) => void;
|
|
10
20
|
}
|
|
11
|
-
export declare
|
|
12
|
-
export declare type PopoverType = 'default' | 'primary' | 'success' | 'warning' | 'danger';
|
|
13
|
-
export declare const Popover: FunctionComponent<Partial<PopoverProps>>;
|
|
21
|
+
export declare const Popover: FunctionComponent<Partial<PopoverProps> & React.HTMLAttributes<HTMLDivElement>>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React, { FunctionComponent, MouseEvent } from 'react';
|
|
2
2
|
import { OverlayProps } from '../overlay/overlay';
|
|
3
|
+
declare type Teleport = HTMLElement | (() => HTMLElement) | null;
|
|
3
4
|
interface PopupProps extends OverlayProps {
|
|
4
5
|
position: string;
|
|
5
6
|
transition: string;
|
|
@@ -9,6 +10,7 @@ interface PopupProps extends OverlayProps {
|
|
|
9
10
|
closeIconPosition: string;
|
|
10
11
|
closeIcon: string;
|
|
11
12
|
destroyOnClose: boolean;
|
|
13
|
+
teleport: Teleport;
|
|
12
14
|
overlay: boolean;
|
|
13
15
|
round: boolean;
|
|
14
16
|
onOpen: () => void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { RadioGroup } from './radiogroup
|
|
1
|
+
import { RadioGroup } from './radiogroup';
|
|
2
2
|
export default RadioGroup;
|