@nutui/nutui-react-taro 1.5.1 → 2.0.0-alpha.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 +1 -35
- package/dist/esm/ActionSheet.js +6 -6
- package/dist/esm/Address/style/index.js +0 -1
- package/dist/esm/Address.js +11 -12
- package/dist/esm/Audio/style/index.js +0 -1
- package/dist/esm/Audio.js +11 -12
- package/dist/esm/Avatar.js +2 -3
- package/dist/esm/AvatarGroup.js +3 -3
- package/dist/esm/BackTop/style/index.js +1 -1
- package/dist/esm/BackTop.js +4 -5
- package/dist/esm/Badge.js +2 -3
- package/dist/esm/Barrage.js +1 -1
- package/dist/esm/Button/style/index.js +1 -1
- package/dist/esm/Button.js +4 -5
- package/dist/esm/Calendar.js +10 -10
- package/dist/esm/CalendarItem.js +4 -4
- package/dist/esm/Card.js +4 -4
- package/dist/esm/Cascader.js +7 -7
- package/dist/esm/Cell/style/index.js +1 -1
- package/dist/esm/Cell.js +3 -6
- package/dist/esm/CellGroup.js +3 -3
- package/dist/esm/Checkbox/style/index.js +0 -1
- package/dist/esm/Checkbox.js +3 -3
- package/dist/esm/CheckboxGroup.js +3 -3
- package/dist/esm/Collapse.js +1 -1
- package/dist/esm/CollapseItem/style/index.js +1 -1
- package/dist/esm/CollapseItem.js +1 -3
- package/dist/esm/ConfigProvider.js +3 -2
- package/dist/esm/CountDown.js +3 -3
- package/dist/esm/DatePicker.js +10 -12
- package/dist/esm/Dialog.js +6 -8
- package/dist/esm/Divider.js +1 -3
- package/dist/esm/Elevator.js +1 -1
- package/dist/esm/Ellipsis.js +4 -4
- package/dist/esm/Empty.js +3 -3
- package/dist/esm/FixedNav/style/index.js +0 -1
- package/dist/esm/FixedNav.js +6 -8
- package/dist/esm/Form.js +6 -9
- package/dist/esm/FormItem.js +4 -7
- package/dist/esm/Grid/style/index.js +1 -1
- package/dist/esm/Grid.js +4 -6
- package/dist/esm/GridItem.js +3 -8
- package/dist/esm/Icon.js +60 -4
- package/dist/esm/Image.js +4 -6
- package/dist/esm/ImagePreview.js +6 -6
- package/dist/esm/Indicator.js +1 -3
- package/dist/esm/Infiniteloading/style/index.js +1 -1
- package/dist/esm/Infiniteloading.js +4 -5
- package/dist/esm/Input/style/index.js +1 -1
- package/dist/esm/Input.js +5 -7
- package/dist/esm/InputNumber/style/index.js +1 -1
- package/dist/esm/InputNumber.js +4 -5
- package/dist/esm/Menu.js +3 -5
- package/dist/esm/MenuItem/style/index.js +0 -1
- package/dist/esm/MenuItem.js +6 -8
- package/dist/esm/NavBar/style/index.js +1 -1
- package/dist/esm/NavBar.js +3 -3
- package/dist/esm/NoticeBar/style/index.js +1 -1
- package/dist/esm/NoticeBar.js +4 -4
- package/dist/esm/NumberKeyboard.js +7 -7
- package/dist/esm/Overlay.js +2 -3
- package/dist/esm/Pagination.js +6 -5
- package/dist/esm/Picker.js +9 -10
- package/dist/esm/Popover/style/index.js +0 -1
- package/dist/esm/Popover.js +4 -7
- package/dist/esm/Popup/style/index.js +0 -1
- package/dist/esm/Popup.js +5 -5
- package/dist/esm/Progress/style/index.js +1 -1
- package/dist/esm/Progress.js +3 -3
- package/dist/esm/PullToRefresh.js +3 -3
- package/dist/esm/Radio/style/index.js +0 -1
- package/dist/esm/Radio.js +3 -3
- package/dist/esm/RadioGroup.js +3 -3
- package/dist/esm/Range.js +7 -7
- package/dist/esm/Rate/style/index.js +1 -1
- package/dist/esm/Rate.js +4 -5
- package/dist/esm/SearchBar/style/index.js +1 -1
- package/dist/esm/SearchBar.js +5 -5
- package/dist/esm/ShortPassword/style/index.js +0 -1
- package/dist/esm/ShortPassword.js +7 -7
- package/dist/esm/SideNavBar.js +8 -8
- package/dist/esm/SideNavBarItem.js +1 -1
- package/dist/esm/Signature.js +7 -6
- package/dist/esm/Skeleton.js +3 -4
- package/dist/esm/Step/style/index.js +1 -1
- package/dist/esm/Step.js +2 -3
- package/dist/esm/Sticky.js +3 -4
- package/dist/esm/SubSideNavBar.js +1 -1
- package/dist/esm/Swipe.js +3 -3
- package/dist/esm/TabbarItem/style/index.js +1 -1
- package/dist/esm/TabbarItem.js +2 -3
- package/dist/esm/Table/style/index.js +1 -1
- package/dist/esm/Table.js +5 -5
- package/dist/esm/Tabs/style/index.js +1 -2
- package/dist/esm/Tabs.js +3 -3
- package/dist/esm/Tag/style/index.js +1 -1
- package/dist/esm/Tag.js +3 -5
- package/dist/esm/TextArea.js +3 -3
- package/dist/esm/TimeDetail.js +3 -3
- package/dist/esm/TimePannel.js +3 -3
- package/dist/esm/TimeSelect.js +10 -10
- package/dist/esm/Toast/style/index.js +1 -1
- package/dist/esm/Toast.js +2 -2
- package/dist/esm/TrendArrow/style/index.js +1 -1
- package/dist/esm/TrendArrow.js +2 -2
- package/dist/esm/Uploader/style/index.js +0 -1
- package/dist/esm/Uploader.js +8 -8
- package/dist/esm/Video.js +1 -1
- package/dist/esm/VirtualList.js +3 -3
- package/dist/esm/WaterMark.js +3 -3
- package/dist/esm/{actionsheet.taro-e6a51446.js → actionsheet.taro-b76a342e.js} +5 -5
- package/dist/esm/{address.taro-3a9b6396.js → address.taro-1812caeb.js} +24 -24
- package/dist/esm/{audio.taro-87ec8bf2.js → audio.taro-f672a68c.js} +7 -6
- package/dist/esm/{avatar.taro-3676f38f.js → avatar.taro-de157a1f.js} +8 -6
- package/dist/esm/{avatargroup-f3574510.js → avatargroup-b476ac68.js} +1 -1
- package/dist/esm/backtop.taro-ba271b8f.js +52 -0
- package/dist/esm/{badge.taro-a4e59c11.js → badge.taro-ae154f41.js} +4 -6
- package/dist/esm/{barrage.taro-0495a1b2.js → barrage.taro-80df08d3.js} +2 -2
- package/dist/esm/button.taro-a1c9512f.js +65 -0
- package/dist/esm/{calendar.taro-670842ea.js → calendar.taro-b6b147ca.js} +3 -3
- package/dist/esm/{calendaritem.taro-2a603571.js → calendaritem.taro-ae167e59.js} +3 -3
- package/dist/esm/{card.taro-e4c76dad.js → card.taro-5e9b34c8.js} +1 -1
- package/dist/esm/{cascader.taro-eb1fb011.js → cascader.taro-9c0a1a38.js} +17 -8
- package/dist/esm/cell.taro-26870740.js +43 -0
- package/dist/esm/cellgroup.taro-6e901b54.js +24 -0
- package/dist/esm/{checkbox.taro-6120e3e3.js → checkbox.taro-785c528b.js} +10 -13
- package/dist/esm/{collapse.taro-1a9e4ba2.js → collapse.taro-35a8a0d6.js} +3 -7
- package/dist/esm/{collapseitem-4d0bc55d.js → collapseitem-690eb91c.js} +6 -21
- package/dist/esm/{configprovider-67d19d3a.js → configprovider-9960f0fb.js} +1 -1
- package/dist/esm/{configprovider.taro-8d71eb49.js → configprovider.taro-c8c54556.js} +5 -2
- package/dist/esm/{countdown.taro-dbcb9a4f.js → countdown.taro-0e6bf7a2.js} +1 -1
- package/dist/esm/{datepicker.taro-6e9b4b8f.js → datepicker.taro-439e2080.js} +3 -3
- package/dist/esm/{dialog.taro-a3267d29.js → dialog.taro-00ac41fd.js} +5 -5
- package/dist/esm/divider.taro-6c1657ce.js +31 -0
- package/dist/esm/{elevator.taro-6019669e.js → elevator.taro-81a11ecc.js} +1 -1
- package/dist/esm/{ellipsis.taro-f15f26da.js → ellipsis.taro-b6cda065.js} +2 -2
- package/dist/esm/{empty.taro-04ae4389.js → empty.taro-fde835ca.js} +1 -1
- package/dist/esm/fixednav.taro-39fbd47a.js +54 -0
- package/dist/esm/{form.taro-0c8e7a39.js → form.taro-0d83f1e8.js} +3 -3
- package/dist/esm/{formitem.taro-190a3326.js → formitem.taro-0de07d1e.js} +2 -2
- package/dist/esm/{grid.taro-3503b82c.js → grid.taro-3797169c.js} +12 -24
- package/dist/esm/griditem.taro-04f59ae1.js +80 -0
- package/dist/esm/{image.taro-142cf512.js → image.taro-edb572bb.js} +4 -4
- package/dist/esm/{imagepreview.taro-c50bb0a3.js → imagepreview.taro-867ee24a.js} +1 -1
- package/dist/esm/indicator.taro-c10334e8.js +30 -0
- package/dist/esm/{infiniteloading.taro-183bccbf.js → infiniteloading.taro-73c9b8ca.js} +12 -15
- package/dist/esm/{input.taro-97af6c96.js → input.taro-10ed5500.js} +18 -21
- package/dist/esm/inputnumber.taro-108c4784.js +199 -0
- package/dist/esm/{menu.taro-7e4038a1.js → menu.taro-54951911.js} +6 -7
- package/dist/esm/{menuitem.taro-96cc4f15.js → menuitem.taro-86a6bb6c.js} +8 -10
- package/dist/esm/{navbar.taro-777c4705.js → navbar.taro-69f47d51.js} +8 -10
- package/dist/esm/{noticebar.taro-4a23cdee.js → noticebar.taro-49e7441f.js} +10 -31
- package/dist/esm/{numberkeyboard.taro-1bc24744.js → numberkeyboard.taro-81b36e5e.js} +2 -2
- package/dist/esm/nutui-react.es.js +87 -88
- package/dist/esm/{overlay.taro-21e87fb1.js → overlay.taro-ad0d4775.js} +20 -14
- package/dist/esm/pagination.taro-60b22b27.js +91 -0
- package/dist/esm/{picker.taro-9ad1b7c5.js → picker.taro-5c9030a7.js} +110 -160
- package/dist/esm/{popover.taro-ad5e76ea.js → popover.taro-2a57eae4.js} +12 -15
- package/dist/esm/{popup.taro-01676bff.js → popup.taro-124b9bab.js} +15 -10
- package/dist/esm/{progress.taro-f0ce38e9.js → progress.taro-24392ef3.js} +5 -7
- package/dist/esm/{pulltorefresh.taro-a294f656.js → pulltorefresh.taro-d5fcfcb0.js} +1 -1
- package/dist/esm/{radio.taro-a6eff96c.js → radio.taro-51e10152.js} +16 -7
- package/dist/esm/{range.taro-d8fc7656.js → range.taro-7a2b6ca1.js} +4 -4
- package/dist/esm/rate.taro-57341aa9.js +77 -0
- package/dist/esm/{searchbar.taro-0c25927b.js → searchbar.taro-eef468bb.js} +7 -7
- package/dist/esm/{shortpassword.taro-9ee034f7.js → shortpassword.taro-9a2c98ad.js} +17 -9
- package/dist/esm/{sidenavbar.taro-c307b35e.js → sidenavbar.taro-0265812f.js} +2 -2
- package/dist/esm/{sidenavbaritem.taro-5a7965d0.js → sidenavbaritem.taro-bb80dbf4.js} +2 -2
- package/dist/esm/{signature.taro-ec4e713b.js → signature.taro-f01b2b05.js} +2 -2
- package/dist/esm/{skeleton.taro-76faf63f.js → skeleton.taro-64e858a2.js} +1 -1
- package/dist/esm/{step.taro-b7903e8c.js → step.taro-2ec1f283.js} +5 -6
- package/dist/esm/{sticky.taro-218bda37.js → sticky.taro-b5bde7b1.js} +15 -17
- package/dist/esm/{subsidenavbar.taro-69cb9752.js → subsidenavbar.taro-3cce8442.js} +2 -2
- package/dist/esm/{swipe.taro-ea35f07f.js → swipe.taro-350c9a94.js} +2 -2
- package/dist/esm/{tabbaritem.taro-bf517487.js → tabbaritem.taro-42ba353f.js} +4 -7
- package/dist/esm/{table.taro-91fc0c01.js → table.taro-3946697c.js} +7 -5
- package/dist/esm/{tabs.taro-6a7524a4.js → tabs.taro-be8cacb5.js} +4 -4
- package/dist/esm/{tag.taro-23ba0834.js → tag.taro-0c2567de.js} +10 -10
- package/dist/esm/{textarea.taro-442e7350.js → textarea.taro-a0f79515.js} +1 -1
- package/dist/esm/{timedetail.taro-5b2f2269.js → timedetail.taro-fce4e614.js} +1 -1
- package/dist/esm/{timepannel.taro-d6e40180.js → timepannel.taro-fd3d008d.js} +1 -1
- package/dist/esm/{timeselect.taro-a07036f4.js → timeselect.taro-5b047850.js} +6 -6
- package/dist/esm/{toast.taro-d6c14811.js → toast.taro-e4f44812.js} +6 -7
- package/dist/esm/{trendarrow.taro-b8c5ccd9.js → trendarrow.taro-7cf90def.js} +5 -8
- package/dist/esm/typings-d8491423.js +6 -0
- package/dist/esm/{uploader.taro-5a53aa33.js → uploader.taro-0cca7e97.js} +57 -51
- package/dist/esm/use-props-value-ae7ee726.js +15 -0
- package/dist/esm/{video-f1be8a91.js → video-7ed508cc.js} +4 -4
- package/dist/esm/{virtuallist.taro-f0b0270d.js → virtuallist.taro-35b9bd9a.js} +2 -2
- package/dist/esm/{watermark.taro-9ce2ae37.js → watermark.taro-c780d360.js} +1 -1
- package/dist/esm/{zh-CN-c779e6c1.js → zh-CN-b4f493ba.js} +2 -2
- package/dist/locales/base.d.ts +2 -2
- package/dist/locales/base.js +1 -1
- package/dist/locales/en-US.js +3 -3
- package/dist/locales/id-ID.js +3 -3
- package/dist/locales/zh-CN.js +3 -3
- package/dist/locales/zh-TW.js +3 -3
- package/dist/locales/zh-UG.js +3 -3
- package/dist/nutui.react.mjs +7854 -5031
- package/dist/nutui.react.umd.js +7851 -5028
- package/dist/packages/actionsheet/actionsheet.scss +10 -2
- package/dist/packages/backtop/backtop.scss +0 -8
- package/dist/packages/badge/badge.scss +3 -4
- package/dist/packages/button/button.scss +80 -93
- package/dist/packages/cell/cell.scss +18 -90
- package/dist/packages/cellgroup/cellgroup.scss +26 -20
- package/dist/packages/collapseitem/collapseitem.scss +0 -1
- package/dist/packages/dialog/dialog.scss +1 -1
- package/dist/packages/divider/divider.scss +3 -17
- package/dist/packages/grid/grid.scss +1 -0
- package/dist/packages/griditem/griditem.scss +2 -17
- package/dist/packages/icon/icon.scss +0 -132
- package/dist/packages/image/image.scss +0 -12
- package/dist/packages/indicator/indicator.scss +21 -39
- package/dist/packages/infiniteloading/infiniteloading.scss +4 -12
- package/dist/packages/input/input.scss +4 -0
- package/dist/packages/inputnumber/inputnumber.scss +10 -26
- package/dist/packages/menuitem/menuitem.scss +2 -0
- package/dist/packages/navbar/navbar.scss +4 -5
- package/dist/packages/overlay/overlay.scss +0 -19
- package/dist/packages/picker/picker.scss +97 -103
- package/dist/packages/progress/progress.scss +0 -1
- package/dist/packages/radio/radio.scss +8 -0
- package/dist/packages/rate/rate.scss +29 -6
- package/dist/packages/searchbar/searchbar.scss +0 -1
- package/dist/packages/shortpassword/shortpassword.scss +4 -1
- package/dist/packages/step/step.scss +0 -1
- package/dist/packages/sticky/sticky.scss +1 -1
- package/dist/packages/swiper/swiper.scss +8 -0
- package/dist/packages/tabbaritem/tabbaritem.scss +0 -1
- package/dist/packages/table/table.scss +0 -1
- package/dist/packages/tag/tag.scss +9 -2
- package/dist/packages/timedetail/timedetail.scss +9 -3
- package/dist/packages/timeselect/timeselect.scss +1 -1
- package/dist/packages/toast/toast.scss +0 -1
- package/dist/style.css +1 -1
- package/dist/style.mjs +1 -1
- package/dist/styles/font-jmapp/config.json +175 -0
- package/dist/styles/font-jmapp/demo.css +539 -0
- package/dist/styles/font-jmapp/demo_index.html +1821 -0
- package/dist/styles/font-jmapp/iconfont.css +299 -0
- package/dist/styles/font-jmapp/iconfont.eot +0 -0
- package/dist/styles/font-jmapp/iconfont.js +68 -0
- package/dist/styles/font-jmapp/iconfont.json +506 -0
- package/dist/styles/font-jmapp/iconfont.svg +356 -0
- package/dist/styles/font-jmapp/iconfont.ttf +0 -0
- package/dist/styles/font-jmapp/iconfont.woff +0 -0
- package/dist/styles/font-jmapp/iconfont.woff2 +0 -0
- package/dist/styles/theme-default.scss +1 -0
- package/dist/styles/theme-jmapp.scss +41 -0
- package/dist/styles/themes/default.scss +0 -1
- package/dist/styles/variables-jmapp.scss +2601 -0
- package/dist/styles/variables.scss +49 -73
- package/dist/types/index.d.ts +145 -242
- package/package.json +23 -154
- package/dist/esm/Icon/style/index.js +0 -4
- package/dist/esm/backtop.taro-66394a36.js +0 -48
- package/dist/esm/button.taro-9244d065.js +0 -100
- package/dist/esm/cell.taro-a10a74d3.js +0 -64
- package/dist/esm/cellgroup.taro-abe501bc.js +0 -25
- package/dist/esm/divider.taro-26d1d8b4.js +0 -35
- package/dist/esm/fixednav.taro-1f05acaf.js +0 -53
- package/dist/esm/grid.taro.context-c2bbfb4f.js +0 -8
- package/dist/esm/griditem.taro-cdb3f119.js +0 -98
- package/dist/esm/icon-296a1bec.js +0 -63
- package/dist/esm/icon.taro-296a1bec.js +0 -63
- package/dist/esm/indicator.taro-cba8b010.js +0 -37
- package/dist/esm/inputnumber.taro-91f65d17.js +0 -130
- package/dist/esm/pagination.taro-715a173b.js +0 -124
- package/dist/esm/rate.taro-6cdf03bd.js +0 -75
- package/dist/esm/typings-b9828dba.js +0 -9
- /package/dist/esm/{useClientRect-1f8ed1fe.js → use-client-rect-1f8ed1fe.js} +0 -0
- /package/dist/esm/{useTouch-db24bb5c.js → use-touch-db24bb5c.js} +0 -0
package/dist/esm/Grid.js
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import { G as Grid } from './grid.taro-
|
|
1
|
+
import { G as Grid } from './grid.taro-3797169c.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
|
-
import './
|
|
4
|
+
import './griditem.taro-04f59ae1.js';
|
|
5
|
+
import './configprovider.taro-c8c54556.js';
|
|
5
6
|
import 'lodash.kebabcase';
|
|
6
|
-
import './zh-CN-
|
|
7
|
-
import './bem-350c1702.js';
|
|
8
|
-
import '@bem-react/classname';
|
|
9
|
-
import './grid.taro.context-c2bbfb4f.js';
|
|
7
|
+
import './zh-CN-b4f493ba.js';
|
|
10
8
|
|
|
11
9
|
|
|
12
10
|
|
package/dist/esm/GridItem.js
CHANGED
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
import { G as GridItem } from './griditem.taro-
|
|
1
|
+
import { G as GridItem } from './griditem.taro-04f59ae1.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
|
-
import './configprovider.taro-
|
|
4
|
+
import './configprovider.taro-c8c54556.js';
|
|
5
5
|
import 'lodash.kebabcase';
|
|
6
|
-
import './zh-CN-
|
|
7
|
-
import './bem-350c1702.js';
|
|
8
|
-
import '@bem-react/classname';
|
|
9
|
-
import './icon.taro-296a1bec.js';
|
|
10
|
-
import './typings-b9828dba.js';
|
|
11
|
-
import './grid.taro.context-c2bbfb4f.js';
|
|
6
|
+
import './zh-CN-b4f493ba.js';
|
|
12
7
|
|
|
13
8
|
|
|
14
9
|
|
package/dist/esm/Icon.js
CHANGED
|
@@ -1,8 +1,64 @@
|
|
|
1
|
-
import
|
|
2
|
-
import '
|
|
3
|
-
import './bem-350c1702.js';
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { c as cn } from './bem-350c1702.js';
|
|
4
3
|
import '@bem-react/classname';
|
|
5
4
|
|
|
6
|
-
|
|
5
|
+
const defaultProps = {
|
|
6
|
+
name: '',
|
|
7
|
+
size: '',
|
|
8
|
+
classPrefix: 'nut-icon',
|
|
9
|
+
fontClassName: 'nutui-iconfont',
|
|
10
|
+
color: '',
|
|
11
|
+
tag: 'i',
|
|
12
|
+
onClick: (e) => { },
|
|
13
|
+
className: '',
|
|
14
|
+
};
|
|
15
|
+
function pxCheck(value) {
|
|
16
|
+
if (value === '') {
|
|
17
|
+
return value;
|
|
18
|
+
}
|
|
19
|
+
if (Number.isNaN(Number(value))) {
|
|
20
|
+
return String(value);
|
|
21
|
+
}
|
|
22
|
+
return `${value}px`;
|
|
23
|
+
}
|
|
24
|
+
function Icon(props) {
|
|
25
|
+
const { name, size, classPrefix, color, tag, children, className, fontClassName, style, onClick, ...rest } = {
|
|
26
|
+
...defaultProps,
|
|
27
|
+
...props,
|
|
28
|
+
};
|
|
29
|
+
const isImage = name ? name.indexOf('/') !== -1 : false;
|
|
30
|
+
const type = isImage ? 'img' : tag;
|
|
31
|
+
const b = cn('icon');
|
|
32
|
+
const handleClick = (e) => {
|
|
33
|
+
if (onClick) {
|
|
34
|
+
onClick(e);
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
const hasSrc = () => {
|
|
38
|
+
if (isImage)
|
|
39
|
+
return { src: name };
|
|
40
|
+
return {};
|
|
41
|
+
};
|
|
42
|
+
const styles = {};
|
|
43
|
+
const checkedSize = pxCheck(size);
|
|
44
|
+
if (checkedSize) {
|
|
45
|
+
styles.width = styles.height = styles.fontSize = checkedSize;
|
|
46
|
+
}
|
|
47
|
+
return React__default.createElement(type, {
|
|
48
|
+
className: isImage
|
|
49
|
+
? `${b('img')} ${className || ''} `
|
|
50
|
+
: `${fontClassName} ${b(null)} ${classPrefix}-${name} ${className || ''}`,
|
|
51
|
+
style: {
|
|
52
|
+
color,
|
|
53
|
+
...styles,
|
|
54
|
+
...style,
|
|
55
|
+
},
|
|
56
|
+
...rest,
|
|
57
|
+
onClick: handleClick,
|
|
58
|
+
...hasSrc(),
|
|
59
|
+
}, children);
|
|
60
|
+
}
|
|
61
|
+
Icon.defaultProps = defaultProps;
|
|
62
|
+
Icon.displayName = 'NutIcon';
|
|
7
63
|
|
|
8
64
|
export { Icon as default };
|
package/dist/esm/Image.js
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import { I as Image } from './image.taro-
|
|
1
|
+
import { I as Image } from './image.taro-edb572bb.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
import '
|
|
3
|
+
import '@nutui/icons-react-taro';
|
|
4
|
+
import './configprovider.taro-c8c54556.js';
|
|
4
5
|
import 'lodash.kebabcase';
|
|
5
|
-
import './zh-CN-
|
|
6
|
-
import './icon.taro-296a1bec.js';
|
|
7
|
-
import './bem-350c1702.js';
|
|
8
|
-
import '@bem-react/classname';
|
|
6
|
+
import './zh-CN-b4f493ba.js';
|
|
9
7
|
|
|
10
8
|
|
|
11
9
|
|
package/dist/esm/ImagePreview.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { I as ImagePreview } from './imagepreview.taro-
|
|
1
|
+
import { I as ImagePreview } from './imagepreview.taro-867ee24a.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
import './popup.taro-
|
|
3
|
+
import './popup.taro-124b9bab.js';
|
|
4
4
|
import 'react-dom';
|
|
5
5
|
import 'react-transition-group';
|
|
6
6
|
import 'classnames';
|
|
7
|
-
import '
|
|
7
|
+
import '@nutui/icons-react-taro';
|
|
8
|
+
import './overlay.taro-ad0d4775.js';
|
|
9
|
+
import '@tarojs/components';
|
|
10
|
+
import './typings-d8491423.js';
|
|
8
11
|
import './bem-350c1702.js';
|
|
9
12
|
import '@bem-react/classname';
|
|
10
|
-
import '@tarojs/components';
|
|
11
|
-
import './icon.taro-296a1bec.js';
|
|
12
|
-
import './typings-b9828dba.js';
|
|
13
13
|
import './swiper.taro-7a94e211.js';
|
|
14
14
|
import '@tarojs/taro';
|
|
15
15
|
import './UserContext-e8176108.js';
|
package/dist/esm/Indicator.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
2
|
import '../../../packages/infiniteloading/infiniteloading.scss'
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import { I as Infiniteloading } from './infiniteloading.taro-
|
|
1
|
+
import { I as Infiniteloading } from './infiniteloading.taro-73c9b8ca.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import '@tarojs/components';
|
|
5
5
|
import '@tarojs/taro';
|
|
6
6
|
import './bem-350c1702.js';
|
|
7
7
|
import '@bem-react/classname';
|
|
8
|
-
import './
|
|
9
|
-
import './configprovider.taro-8d71eb49.js';
|
|
8
|
+
import './configprovider.taro-c8c54556.js';
|
|
10
9
|
import 'lodash.kebabcase';
|
|
11
|
-
import './zh-CN-
|
|
12
|
-
import './typings-
|
|
10
|
+
import './zh-CN-b4f493ba.js';
|
|
11
|
+
import './typings-d8491423.js';
|
|
13
12
|
|
|
14
13
|
|
|
15
14
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
2
|
import '../../../packages/input/input.scss'
|
package/dist/esm/Input.js
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import { I as Input } from './input.taro-
|
|
1
|
+
import { I as Input } from './input.taro-10ed5500.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
import '
|
|
4
|
-
import './
|
|
5
|
-
import '@bem-react/classname';
|
|
6
|
-
import './configprovider.taro-8d71eb49.js';
|
|
3
|
+
import '@nutui/icons-react-taro';
|
|
4
|
+
import './configprovider.taro-c8c54556.js';
|
|
7
5
|
import 'lodash.kebabcase';
|
|
8
|
-
import './zh-CN-
|
|
9
|
-
import './typings-
|
|
6
|
+
import './zh-CN-b4f493ba.js';
|
|
7
|
+
import './typings-d8491423.js';
|
|
10
8
|
|
|
11
9
|
|
|
12
10
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
2
|
import '../../../packages/inputnumber/inputnumber.scss'
|
package/dist/esm/InputNumber.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { I as InputNumber } from './inputnumber.taro-
|
|
1
|
+
import { I as InputNumber } from './inputnumber.taro-108c4784.js';
|
|
2
2
|
import 'react';
|
|
3
|
+
import '@nutui/icons-react-taro';
|
|
3
4
|
import 'classnames';
|
|
4
|
-
import './
|
|
5
|
-
import './
|
|
6
|
-
import '@bem-react/classname';
|
|
7
|
-
import './typings-b9828dba.js';
|
|
5
|
+
import './use-props-value-ae7ee726.js';
|
|
6
|
+
import './typings-d8491423.js';
|
|
8
7
|
|
|
9
8
|
|
|
10
9
|
|
package/dist/esm/Menu.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { M as Menu } from './menu.taro-
|
|
1
|
+
import { M as Menu } from './menu.taro-54951911.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
|
-
import '
|
|
5
|
-
import './
|
|
6
|
-
import '@bem-react/classname';
|
|
7
|
-
import './typings-b9828dba.js';
|
|
4
|
+
import '@nutui/icons-react-taro';
|
|
5
|
+
import './typings-d8491423.js';
|
|
8
6
|
|
|
9
7
|
|
|
10
8
|
|
package/dist/esm/MenuItem.js
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
|
-
import { M as MenuItem } from './menuitem.taro-
|
|
1
|
+
import { M as MenuItem } from './menuitem.taro-86a6bb6c.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import 'react-transition-group';
|
|
5
|
-
import '
|
|
5
|
+
import '@nutui/icons-react-taro';
|
|
6
|
+
import './configprovider.taro-c8c54556.js';
|
|
6
7
|
import 'lodash.kebabcase';
|
|
7
|
-
import './zh-CN-
|
|
8
|
-
import './
|
|
9
|
-
import './bem-350c1702.js';
|
|
10
|
-
import '@bem-react/classname';
|
|
11
|
-
import './overlay.taro-21e87fb1.js';
|
|
8
|
+
import './zh-CN-b4f493ba.js';
|
|
9
|
+
import './overlay.taro-ad0d4775.js';
|
|
12
10
|
import '@tarojs/components';
|
|
13
|
-
import './typings-
|
|
11
|
+
import './typings-d8491423.js';
|
|
14
12
|
|
|
15
13
|
|
|
16
14
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
2
|
import '../../../packages/navbar/navbar.scss'
|
package/dist/esm/NavBar.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { N as NavBar } from './navbar.taro-
|
|
1
|
+
import { N as NavBar } from './navbar.taro-69f47d51.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
|
-
import '
|
|
4
|
+
import '@nutui/icons-react-taro';
|
|
5
5
|
import './bem-350c1702.js';
|
|
6
6
|
import '@bem-react/classname';
|
|
7
|
-
import './typings-
|
|
7
|
+
import './typings-d8491423.js';
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
2
|
import '../../../packages/noticebar/noticebar.scss'
|
package/dist/esm/NoticeBar.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { N as NoticeBar } from './noticebar.taro-
|
|
1
|
+
import { N as NoticeBar } from './noticebar.taro-49e7441f.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
|
-
import './icon.taro-296a1bec.js';
|
|
5
4
|
import './bem-350c1702.js';
|
|
6
5
|
import '@bem-react/classname';
|
|
7
|
-
import './
|
|
8
|
-
import './typings-
|
|
6
|
+
import './use-client-rect-1f8ed1fe.js';
|
|
7
|
+
import './typings-d8491423.js';
|
|
8
|
+
import '@nutui/icons-react-taro';
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { N as NumberKeyboard } from './numberkeyboard.taro-
|
|
1
|
+
import { N as NumberKeyboard } from './numberkeyboard.taro-81b36e5e.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import './bem-350c1702.js';
|
|
5
5
|
import '@bem-react/classname';
|
|
6
|
-
import './popup.taro-
|
|
6
|
+
import './popup.taro-124b9bab.js';
|
|
7
7
|
import 'react-dom';
|
|
8
8
|
import 'react-transition-group';
|
|
9
|
-
import '
|
|
9
|
+
import '@nutui/icons-react-taro';
|
|
10
|
+
import './overlay.taro-ad0d4775.js';
|
|
10
11
|
import '@tarojs/components';
|
|
11
|
-
import './
|
|
12
|
-
import './
|
|
13
|
-
import './configprovider.taro-8d71eb49.js';
|
|
12
|
+
import './typings-d8491423.js';
|
|
13
|
+
import './configprovider.taro-c8c54556.js';
|
|
14
14
|
import 'lodash.kebabcase';
|
|
15
|
-
import './zh-CN-
|
|
15
|
+
import './zh-CN-b4f493ba.js';
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
package/dist/esm/Overlay.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { O as Overlay } from './overlay.taro-
|
|
1
|
+
import { O as Overlay } from './overlay.taro-ad0d4775.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
|
-
import './bem-350c1702.js';
|
|
5
|
-
import '@bem-react/classname';
|
|
6
4
|
import '@tarojs/components';
|
|
5
|
+
import './typings-d8491423.js';
|
|
7
6
|
|
|
8
7
|
|
|
9
8
|
|
package/dist/esm/Pagination.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { P as Pagination } from './pagination.taro-
|
|
1
|
+
import { P as Pagination } from './pagination.taro-60b22b27.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
import '
|
|
3
|
+
import 'classnames';
|
|
4
|
+
import './configprovider.taro-c8c54556.js';
|
|
4
5
|
import 'lodash.kebabcase';
|
|
5
|
-
import './zh-CN-
|
|
6
|
-
import './
|
|
7
|
-
import '
|
|
6
|
+
import './zh-CN-b4f493ba.js';
|
|
7
|
+
import './use-props-value-ae7ee726.js';
|
|
8
|
+
import './typings-d8491423.js';
|
|
8
9
|
|
|
9
10
|
|
|
10
11
|
|
package/dist/esm/Picker.js
CHANGED
|
@@ -1,23 +1,22 @@
|
|
|
1
|
-
import { P as Picker } from './picker.taro-
|
|
1
|
+
import { P as Picker } from './picker.taro-5c9030a7.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
import '@tarojs/taro';
|
|
4
3
|
import '@tarojs/components';
|
|
5
|
-
import './popup.taro-
|
|
4
|
+
import './popup.taro-124b9bab.js';
|
|
6
5
|
import 'react-dom';
|
|
7
6
|
import 'react-transition-group';
|
|
8
7
|
import 'classnames';
|
|
9
|
-
import '
|
|
8
|
+
import '@nutui/icons-react-taro';
|
|
9
|
+
import './overlay.taro-ad0d4775.js';
|
|
10
|
+
import './typings-d8491423.js';
|
|
10
11
|
import './bem-350c1702.js';
|
|
11
12
|
import '@bem-react/classname';
|
|
12
|
-
import './
|
|
13
|
-
import './
|
|
14
|
-
import './useTouch-db24bb5c.js';
|
|
15
|
-
import './useClientRect-1f8ed1fe.js';
|
|
13
|
+
import './use-touch-db24bb5c.js';
|
|
14
|
+
import './use-client-rect-1f8ed1fe.js';
|
|
16
15
|
import './supports-passive-c85ef996.js';
|
|
17
16
|
import './can-use-dom-3eeb5af4.js';
|
|
18
|
-
import './configprovider.taro-
|
|
17
|
+
import './configprovider.taro-c8c54556.js';
|
|
19
18
|
import 'lodash.kebabcase';
|
|
20
|
-
import './zh-CN-
|
|
19
|
+
import './zh-CN-b4f493ba.js';
|
|
21
20
|
|
|
22
21
|
|
|
23
22
|
|
package/dist/esm/Popover.js
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
import { P as Popover } from './popover.taro-
|
|
1
|
+
import { P as Popover } from './popover.taro-2a57eae4.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
import './
|
|
4
|
-
import './bem-350c1702.js';
|
|
5
|
-
import '@bem-react/classname';
|
|
6
|
-
import './overlay.taro-21e87fb1.js';
|
|
3
|
+
import './overlay.taro-ad0d4775.js';
|
|
7
4
|
import 'classnames';
|
|
8
5
|
import '@tarojs/components';
|
|
9
|
-
import './
|
|
10
|
-
import './
|
|
6
|
+
import './typings-d8491423.js';
|
|
7
|
+
import './use-client-rect-1f8ed1fe.js';
|
|
11
8
|
|
|
12
9
|
|
|
13
10
|
|
package/dist/esm/Popup.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { P as Popup } from './popup.taro-
|
|
1
|
+
import { P as Popup } from './popup.taro-124b9bab.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'react-dom';
|
|
4
4
|
import 'react-transition-group';
|
|
5
5
|
import 'classnames';
|
|
6
|
-
import '
|
|
6
|
+
import '@nutui/icons-react-taro';
|
|
7
|
+
import './overlay.taro-ad0d4775.js';
|
|
8
|
+
import '@tarojs/components';
|
|
9
|
+
import './typings-d8491423.js';
|
|
7
10
|
import './bem-350c1702.js';
|
|
8
11
|
import '@bem-react/classname';
|
|
9
|
-
import '@tarojs/components';
|
|
10
|
-
import './icon.taro-296a1bec.js';
|
|
11
|
-
import './typings-b9828dba.js';
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
2
|
import '../../../packages/progress/progress.scss'
|
package/dist/esm/Progress.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { P as Progress } from './progress.taro-
|
|
1
|
+
import { P as Progress } from './progress.taro-24392ef3.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
|
-
import '
|
|
4
|
+
import '@nutui/icons-react-taro';
|
|
5
5
|
import './bem-350c1702.js';
|
|
6
6
|
import '@bem-react/classname';
|
|
7
|
-
import './typings-
|
|
7
|
+
import './typings-d8491423.js';
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { P as PullToRefresh } from './pulltorefresh.taro-
|
|
1
|
+
import { P as PullToRefresh } from './pulltorefresh.taro-d5fcfcb0.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '@use-gesture/react';
|
|
4
4
|
import '@react-spring/web';
|
|
5
|
-
import './configprovider.taro-
|
|
5
|
+
import './configprovider.taro-c8c54556.js';
|
|
6
6
|
import 'lodash.kebabcase';
|
|
7
|
-
import './zh-CN-
|
|
7
|
+
import './zh-CN-b4f493ba.js';
|
|
8
8
|
import './get-scroll-parent-b4a07e65.js';
|
|
9
9
|
import './can-use-dom-3eeb5af4.js';
|
|
10
10
|
import './supports-passive-c85ef996.js';
|
package/dist/esm/Radio.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { R as Radio } from './radio.taro-
|
|
1
|
+
import { R as Radio } from './radio.taro-51e10152.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
import '
|
|
3
|
+
import '@nutui/icons-react-taro';
|
|
4
|
+
import './typings-d8491423.js';
|
|
4
5
|
import './bem-350c1702.js';
|
|
5
6
|
import '@bem-react/classname';
|
|
6
|
-
import './typings-b9828dba.js';
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
package/dist/esm/RadioGroup.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as RadioGroup } from './radio.taro-
|
|
1
|
+
import { a as RadioGroup } from './radio.taro-51e10152.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
import '
|
|
3
|
+
import '@nutui/icons-react-taro';
|
|
4
|
+
import './typings-d8491423.js';
|
|
4
5
|
import './bem-350c1702.js';
|
|
5
6
|
import '@bem-react/classname';
|
|
6
|
-
import './typings-b9828dba.js';
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
package/dist/esm/Range.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { R as Range } from './range.taro-
|
|
1
|
+
import { R as Range } from './range.taro-7a2b6ca1.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
import './
|
|
4
|
-
import './
|
|
5
|
-
import './toast.taro-
|
|
3
|
+
import './use-touch-db24bb5c.js';
|
|
4
|
+
import './use-client-rect-1f8ed1fe.js';
|
|
5
|
+
import './toast.taro-e4f44812.js';
|
|
6
6
|
import 'classnames';
|
|
7
|
+
import '@nutui/icons-react-taro';
|
|
7
8
|
import './bem-350c1702.js';
|
|
8
9
|
import '@bem-react/classname';
|
|
9
|
-
import './
|
|
10
|
-
import './configprovider.taro-8d71eb49.js';
|
|
10
|
+
import './configprovider.taro-c8c54556.js';
|
|
11
11
|
import 'lodash.kebabcase';
|
|
12
|
-
import './zh-CN-
|
|
12
|
+
import './zh-CN-b4f493ba.js';
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
2
|
import '../../../packages/rate/rate.scss'
|
package/dist/esm/Rate.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { R as Rate } from './rate.taro-
|
|
1
|
+
import { R as Rate } from './rate.taro-57341aa9.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
|
-
import '
|
|
5
|
-
import '
|
|
6
|
-
import './
|
|
7
|
-
import './typings-b9828dba.js';
|
|
4
|
+
import '@nutui/icons-react-taro';
|
|
5
|
+
import './typings-d8491423.js';
|
|
6
|
+
import './use-props-value-ae7ee726.js';
|
|
8
7
|
|
|
9
8
|
|
|
10
9
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
2
|
import '../../../packages/searchbar/searchbar.scss'
|
package/dist/esm/SearchBar.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { S as SearchBar } from './searchbar.taro-
|
|
1
|
+
import { S as SearchBar } from './searchbar.taro-eef468bb.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '@tarojs/taro';
|
|
4
|
+
import '@nutui/icons-react-taro';
|
|
4
5
|
import './bem-350c1702.js';
|
|
5
6
|
import '@bem-react/classname';
|
|
6
|
-
import './configprovider.taro-
|
|
7
|
+
import './configprovider.taro-c8c54556.js';
|
|
7
8
|
import 'lodash.kebabcase';
|
|
8
|
-
import './zh-CN-
|
|
9
|
-
import './
|
|
10
|
-
import './typings-b9828dba.js';
|
|
9
|
+
import './zh-CN-b4f493ba.js';
|
|
10
|
+
import './typings-d8491423.js';
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { S as ShortPassword } from './shortpassword.taro-
|
|
1
|
+
import { S as ShortPassword } from './shortpassword.taro-9a2c98ad.js';
|
|
2
2
|
import 'react';
|
|
3
|
+
import '@nutui/icons-react-taro';
|
|
3
4
|
import './bem-350c1702.js';
|
|
4
5
|
import '@bem-react/classname';
|
|
5
|
-
import './popup.taro-
|
|
6
|
+
import './popup.taro-124b9bab.js';
|
|
6
7
|
import 'react-dom';
|
|
7
8
|
import 'react-transition-group';
|
|
8
9
|
import 'classnames';
|
|
9
|
-
import './overlay.taro-
|
|
10
|
+
import './overlay.taro-ad0d4775.js';
|
|
10
11
|
import '@tarojs/components';
|
|
11
|
-
import './
|
|
12
|
-
import './
|
|
13
|
-
import './configprovider.taro-8d71eb49.js';
|
|
12
|
+
import './typings-d8491423.js';
|
|
13
|
+
import './configprovider.taro-c8c54556.js';
|
|
14
14
|
import 'lodash.kebabcase';
|
|
15
|
-
import './zh-CN-
|
|
15
|
+
import './zh-CN-b4f493ba.js';
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|