@nutui/nutui-react 0.1.1 → 1.1.0-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 +8 -0
- package/README.md +120 -55
- package/dist/esm/ActionSheet/style/css.js +1 -0
- package/dist/esm/ActionSheet/style/index.js +1 -1
- package/dist/esm/ActionSheet.js +1 -10
- package/dist/esm/Address/style/css.js +1 -0
- package/dist/esm/Address/style/index.js +1 -1
- package/dist/esm/Address.js +34 -0
- package/dist/esm/AnimatingNumbers/style/css.js +1 -0
- package/dist/esm/AnimatingNumbers/style/index.js +1 -1
- package/dist/esm/Avatar/style/css.js +1 -0
- package/dist/esm/Avatar/style/index.js +1 -1
- package/dist/esm/BackTop/style/css.js +1 -0
- package/dist/esm/BackTop/style/index.js +1 -1
- package/dist/esm/Badge/style/css.js +1 -0
- package/dist/esm/Badge/style/index.js +1 -1
- package/dist/esm/Barrage/style/css.js +1 -0
- package/dist/esm/Barrage/style/index.js +1 -1
- package/dist/esm/Barrage.js +1 -0
- package/dist/esm/Button/style/css.js +1 -0
- package/dist/esm/Button/style/index.js +1 -1
- package/dist/esm/Button.js +110 -4
- package/dist/esm/Calendar/style/css.js +1 -0
- package/dist/esm/Calendar/style/index.js +1 -1
- package/dist/esm/CalendarItem/style/css.js +1 -0
- package/dist/esm/CalendarItem/style/index.js +1 -1
- package/dist/esm/Cell/style/css.js +1 -0
- package/dist/esm/Cell/style/index.js +1 -1
- package/dist/esm/Cell.js +1 -1
- package/dist/esm/CellGroup/style/css.js +1 -0
- package/dist/esm/CellGroup/style/index.js +1 -1
- package/dist/esm/Checkbox/style/css.js +1 -0
- package/dist/esm/Checkbox/style/index.js +1 -1
- package/dist/esm/CheckboxGroup/style/css.js +1 -0
- package/dist/esm/CheckboxGroup/style/index.js +1 -1
- package/dist/esm/CircleProgress/style/css.js +1 -0
- package/dist/esm/CircleProgress/style/index.js +1 -1
- package/dist/esm/Col/style/css.js +1 -0
- package/dist/esm/Col/style/index.js +1 -1
- package/dist/esm/Collapse/style/css.js +1 -0
- package/dist/esm/Collapse/style/index.js +1 -1
- package/dist/esm/CollapseItem/style/css.js +1 -0
- package/dist/esm/CollapseItem/style/index.js +1 -1
- package/dist/esm/Dialog/style/css.js +1 -0
- package/dist/esm/Dialog/style/index.js +1 -1
- package/dist/esm/Divider/style/css.js +1 -0
- package/dist/esm/Divider/style/index.js +1 -1
- package/dist/esm/Drag/style/css.js +1 -0
- package/dist/esm/Drag/style/index.js +1 -1
- package/dist/esm/Drag.js +11 -30
- package/dist/esm/Elevator/style/css.js +1 -0
- package/dist/esm/Elevator/style/index.js +1 -1
- package/dist/esm/FixedNav/style/css.js +1 -0
- package/dist/esm/FixedNav/style/index.js +1 -1
- package/dist/esm/FixedNav.js +7 -7
- package/dist/esm/Icon/style/css.js +1 -0
- package/dist/esm/Icon/style/index.js +1 -1
- package/dist/esm/Icon.js +70 -4
- package/dist/esm/Infiniteloading/style/css.js +1 -0
- package/dist/esm/Infiniteloading/style/index.js +1 -1
- package/dist/esm/Input/style/css.js +1 -0
- package/dist/esm/Input/style/index.js +1 -1
- package/dist/esm/InputNumber/style/css.js +1 -0
- package/dist/esm/InputNumber/style/index.js +1 -1
- package/dist/esm/Layout/style/css.js +1 -0
- package/dist/esm/Layout/style/index.js +1 -1
- package/dist/esm/NavBar/style/css.js +1 -0
- package/dist/esm/NavBar/style/index.js +1 -1
- package/dist/esm/NoticeBar/style/css.js +1 -0
- package/dist/esm/NoticeBar/style/index.js +1 -1
- package/dist/esm/Notify/style/css.js +1 -0
- package/dist/esm/Notify/style/index.js +1 -1
- package/dist/esm/Overlay/style/css.js +1 -0
- package/dist/esm/Overlay/style/index.js +1 -1
- package/dist/esm/Pagination/style/css.js +1 -0
- package/dist/esm/Pagination/style/index.js +1 -1
- package/dist/esm/Picker/style/css.js +1 -0
- package/dist/esm/Picker/style/index.js +1 -1
- package/dist/esm/Picker.js +0 -3
- package/dist/esm/Popover/style/css.js +1 -0
- package/dist/esm/Popover/style/index.js +1 -1
- package/dist/esm/Popup/style/css.js +1 -0
- package/dist/esm/Popup/style/index.js +1 -1
- package/dist/esm/Popup.js +2 -1
- package/dist/esm/Price/style/css.js +1 -0
- package/dist/esm/Price/style/index.js +1 -1
- package/dist/esm/Radio/style/css.js +1 -0
- package/dist/esm/Radio/style/index.js +1 -1
- package/dist/esm/RadioGroup/style/css.js +1 -0
- package/dist/esm/RadioGroup/style/index.js +1 -1
- package/dist/esm/Range/style/css.js +1 -0
- package/dist/esm/Range/style/index.js +1 -1
- package/dist/esm/Range.js +1 -4
- package/dist/esm/Rate/style/css.js +1 -0
- package/dist/esm/Rate/style/index.js +1 -1
- package/dist/esm/Row/style/css.js +1 -0
- package/dist/esm/Row/style/index.js +1 -1
- package/dist/esm/ShortPassword/style/css.js +1 -0
- package/dist/esm/ShortPassword/style/index.js +1 -1
- package/dist/esm/Signature/style/css.js +1 -0
- package/dist/esm/Signature/style/index.js +1 -1
- package/dist/esm/Signature.js +1 -2
- package/dist/esm/Step/style/css.js +1 -0
- package/dist/esm/Step/style/index.js +1 -1
- package/dist/esm/Steps/style/css.js +1 -0
- package/dist/esm/Steps/style/index.js +1 -1
- package/dist/esm/Swiper/style/css.js +1 -0
- package/dist/esm/Swiper/style/index.js +1 -1
- package/dist/esm/SwiperItem/style/css.js +1 -0
- package/dist/esm/SwiperItem/style/index.js +1 -1
- package/dist/esm/Switch/style/css.js +1 -0
- package/dist/esm/Switch/style/index.js +1 -1
- package/dist/esm/Tabbar/style/css.js +1 -0
- package/dist/esm/Tabbar/style/index.js +1 -1
- package/dist/esm/TabbarItem/style/css.js +1 -0
- package/dist/esm/TabbarItem/style/index.js +1 -1
- package/dist/esm/Tag/style/css.js +1 -0
- package/dist/esm/Tag/style/index.js +1 -1
- package/dist/esm/TextArea/style/css.js +1 -0
- package/dist/esm/TextArea/style/index.js +1 -1
- package/dist/esm/Toast/style/css.js +1 -0
- package/dist/esm/Toast/style/index.js +1 -1
- package/dist/esm/Toast.js +294 -7
- package/dist/esm/Uploader/style/css.js +1 -0
- package/dist/esm/Uploader/style/index.js +1 -1
- package/dist/esm/nutui-react.es.js +22 -22
- package/dist/nutui.react.es.js +10348 -10346
- package/dist/nutui.react.umd.js +19 -19
- package/dist/packages/cell/cell.scss +2 -0
- package/dist/packages/dialog/dialog.scss +8 -0
- package/dist/packages/fixednav/fixednav.scss +3 -0
- package/dist/packages/infiniteloading/infiniteloading.scss +1 -0
- package/dist/packages/input/input.scss +1 -0
- package/dist/packages/inputnumber/inputnumber.scss +1 -0
- package/dist/packages/range/range.scss +1 -0
- package/dist/packages/signature/signature.scss +1 -0
- package/dist/packages/step/step.scss +1 -0
- package/dist/packages/tag/tag.scss +1 -0
- package/dist/packages/toast/toast.scss +2 -0
- package/dist/packages/uploader/uploader.scss +2 -0
- package/dist/style.css +1 -1
- package/dist/style.es.js +1 -1
- package/dist/styles/themes/default.scss +22 -22
- package/dist/styles/variables.scss +3 -3
- package/dist/{esm/types/src/packages → types}/actionsheet/actionsheet.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/actionsheet/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/address/address.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/address/customRender.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/address/existRender.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/address/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/animatingnumbers/animatingnumbers.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/animatingnumbers/countup.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/animatingnumbers/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/avatar/avatar.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/avatar/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/backtop/backtop.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/backtop/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/badge/badge.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/badge/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/barrage/barrage.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/barrage/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/button/button.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/button/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/calendar/calendar.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/calendar/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/calendaritem/calendaritem.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/calendaritem/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/cell/cell.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/cell/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/cellgroup/cellgroup.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/cellgroup/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/checkbox/checkbox.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/checkbox/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/checkboxgroup/checkboxgroup.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/checkboxgroup/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/circleprogress/circleprogress.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/circleprogress/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/col/col.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/col/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/collapse/collapse.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/collapse/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/collapseitem/collapseitem.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/collapseitem/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/dialog/Confirm.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/dialog/Content.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/dialog/DialogWrap.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/dialog/DialogWrapper.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/dialog/Mask.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/dialog/config.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/dialog/dialog.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/dialog/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/divider/divider.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/divider/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/drag/drag.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/drag/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/elevator/elevator.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/elevator/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/fixednav/fixednav.d.ts +2 -2
- package/dist/{esm/types/src/packages → types}/fixednav/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/icon/icon.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/icon/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/infiniteloading/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/infiniteloading/infiniteloading.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/input/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/input/input.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/input/util.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/inputnumber/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/inputnumber/inputnumber.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/layout/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/layout/layout.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/navbar/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/navbar/navbar.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/noticebar/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/noticebar/noticebar.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/notify/Notification.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/notify/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/notify/notify.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/nutui.react.d.ts +23 -23
- package/dist/{esm/types/src/packages → types}/overlay/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/overlay/overlay.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/pagination/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/pagination/pagination.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/picker/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/picker/picker.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/picker/pickerSlot.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/popover/Trigger.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/popover/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/popover/popover.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/popup/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/popup/popup.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/price/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/price/price.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/radio/context.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/radio/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/radio/radio.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/radiogroup/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/radiogroup/radiogroup.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/range/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/range/range.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/rate/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/rate/rate.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/row/UserContext.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/row/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/row/row.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/shortpassword/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/shortpassword/shortpassword.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/signature/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/signature/signature.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/step/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/step/step.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/steps/UserContext.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/steps/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/steps/steps.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/swiper/UserContext.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/swiper/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/swiper/swiper.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/swiperitem/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/swiperitem/swiperitem.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/switch/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/switch/switch.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/tabbar/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/tabbar/tabbar.d.ts +0 -0
- package/dist/types/tabbaritem/index.d.ts +2 -0
- package/dist/{esm/types/src/packages/tabbaritem/tabbarItem.d.ts → types/tabbaritem/tabbaritem.d.ts} +0 -0
- package/dist/{esm/types/src/packages → types}/tag/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/tag/tag.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/textarea/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/textarea/textarea.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/toast/Notification.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/toast/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/toast/toast.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/uploader/index.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/uploader/upload.d.ts +0 -0
- package/dist/{esm/types/src/packages → types}/uploader/uploader.d.ts +0 -0
- package/package.json +12 -12
- package/dist/esm/button-345fb015.js +0 -110
- package/dist/esm/icon-63c0d58f.js +0 -70
- package/dist/esm/toast-420b65b7.js +0 -294
- package/dist/esm/types/src/packages/nutui.react.build.d.ts +0 -56
- package/dist/esm/types/src/packages/tabbaritem/index.d.ts +0 -2
- package/dist/esm/types/src/utils/bem.d.ts +0 -2
- package/dist/esm/types/src/utils/create/bem.d.ts +0 -2
- package/dist/esm/types/src/utils/create/index.d.ts +0 -1
- package/dist/esm/types/src/utils/date.d.ts +0 -49
- package/dist/esm/types/src/utils/index.d.ts +0 -1
- package/dist/esm/types/src/utils/raf.d.ts +0 -2
- package/dist/esm/types/src/utils/useRect/index.d.ts +0 -17
- package/dist/esm/types/src/utils/useTouch/index.d.ts +0 -16
package/dist/style.es.js
CHANGED
|
@@ -10,47 +10,47 @@
|
|
|
10
10
|
@import '../../packages/layout/layout.scss';
|
|
11
11
|
@import '../../packages/row/row.scss';
|
|
12
12
|
@import '../../packages/col/col.scss';
|
|
13
|
-
@import '../../packages/drag/drag.scss';
|
|
14
|
-
@import '../../packages/collapse/collapse.scss';
|
|
15
13
|
@import '../../packages/toast/toast.scss';
|
|
16
|
-
@import '../../packages/
|
|
17
|
-
@import '../../packages/range/range.scss';
|
|
18
|
-
@import '../../packages/infiniteloading/infiniteloading.scss';
|
|
19
|
-
@import '../../packages/steps/steps.scss';
|
|
20
|
-
@import '../../packages/step/step.scss';
|
|
21
|
-
@import '../../packages/circleprogress/circleprogress.scss';
|
|
14
|
+
@import '../../packages/dialog/dialog.scss';
|
|
22
15
|
@import '../../packages/popup/popup.scss';
|
|
23
16
|
@import '../../packages/actionsheet/actionsheet.scss';
|
|
17
|
+
@import '../../packages/picker/picker.scss';
|
|
18
|
+
@import '../../packages/infiniteloading/infiniteloading.scss';
|
|
19
|
+
@import '../../packages/popover/popover.scss';
|
|
20
|
+
@import '../../packages/collapse/collapse.scss';
|
|
21
|
+
@import '../../packages/collapseitem/collapseitem.scss';
|
|
22
|
+
@import '../../packages/range/range.scss';
|
|
23
|
+
@import '../../packages/circleprogress/circleprogress.scss';
|
|
24
24
|
@import '../../packages/noticebar/noticebar.scss';
|
|
25
25
|
@import '../../packages/notify/notify.scss';
|
|
26
|
-
@import '../../packages/dialog/dialog.scss';
|
|
27
26
|
@import '../../packages/switch/switch.scss';
|
|
28
|
-
@import '../../packages/collapseitem/collapseitem.scss';
|
|
29
|
-
@import '../../packages/swiper/swiper.scss';
|
|
30
|
-
@import '../../packages/swiperitem/swiperitem.scss';
|
|
31
27
|
@import '../../packages/navbar/navbar.scss';
|
|
32
28
|
@import '../../packages/tabbar/tabbar.scss';
|
|
33
29
|
@import '../../packages/tabbaritem/tabbaritem.scss';
|
|
34
|
-
@import '../../packages/inputnumber/inputnumber.scss';
|
|
35
30
|
@import '../../packages/elevator/elevator.scss';
|
|
36
31
|
@import '../../packages/fixednav/fixednav.scss';
|
|
37
32
|
@import '../../packages/pagination/pagination.scss';
|
|
33
|
+
@import '../../packages/steps/steps.scss';
|
|
34
|
+
@import '../../packages/step/step.scss';
|
|
35
|
+
@import '../../packages/swiper/swiper.scss';
|
|
36
|
+
@import '../../packages/swiperitem/swiperitem.scss';
|
|
37
|
+
@import '../../packages/backtop/backtop.scss';
|
|
38
38
|
@import '../../packages/rate/rate.scss';
|
|
39
|
-
@import '../../packages/uploader/uploader.scss';
|
|
40
39
|
@import '../../packages/input/input.scss';
|
|
41
40
|
@import '../../packages/textarea/textarea.scss';
|
|
41
|
+
@import '../../packages/inputnumber/inputnumber.scss';
|
|
42
|
+
@import '../../packages/shortpassword/shortpassword.scss';
|
|
43
|
+
@import '../../packages/radio/radio.scss';
|
|
44
|
+
@import '../../packages/radiogroup/radiogroup.scss';
|
|
42
45
|
@import '../../packages/checkbox/checkbox.scss';
|
|
43
46
|
@import '../../packages/checkboxgroup/checkboxgroup.scss';
|
|
44
47
|
@import '../../packages/tag/tag.scss';
|
|
45
|
-
@import '../../packages/popover/popover.scss';
|
|
46
48
|
@import '../../packages/badge/badge.scss';
|
|
47
|
-
@import '../../packages/
|
|
48
|
-
@import '../../packages/radio/radio.scss';
|
|
49
|
-
@import '../../packages/radiogroup/radiogroup.scss';
|
|
50
|
-
@import '../../packages/shortpassword/shortpassword.scss';
|
|
49
|
+
@import '../../packages/uploader/uploader.scss';
|
|
51
50
|
@import '../../packages/calendar/calendar.scss';
|
|
52
51
|
@import '../../packages/calendaritem/calendaritem.scss';
|
|
53
|
-
@import '../../packages/picker/picker.scss';
|
|
54
|
-
@import '../../packages/signature/signature.scss';
|
|
55
|
-
@import '../../packages/barrage/barrage.scss';
|
|
56
52
|
@import '../../packages/address/address.scss';
|
|
53
|
+
@import '../../packages/barrage/barrage.scss';
|
|
54
|
+
@import '../../packages/signature/signature.scss';
|
|
55
|
+
@import '../../packages/drag/drag.scss';
|
|
56
|
+
@import '../../packages/animatingnumbers/animatingnumbers.scss';
|
|
@@ -346,6 +346,6 @@ $dialog-vertical-footer-ok-margin-top: 10px !default;
|
|
|
346
346
|
$dialog-footer-button-min-width: 100px !default;
|
|
347
347
|
$dialog-footer-cancel-margin-right: 20px !default;
|
|
348
348
|
$dialog-footer-ok-max-width: 128px !default;
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
349
|
+
// 在组件中import
|
|
350
|
+
//@import './mixins/index';
|
|
351
|
+
//@import './animation/index';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -13,8 +13,8 @@ export interface FixedNavProps {
|
|
|
13
13
|
unActiveText: string;
|
|
14
14
|
position: Position;
|
|
15
15
|
type: Direction;
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
onChange: (v: any) => void;
|
|
17
|
+
onSelected: Function;
|
|
18
18
|
slotList: HTMLProps<HTMLElement>;
|
|
19
19
|
slotBtn: HTMLProps<HTMLElement>;
|
|
20
20
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -9,48 +9,48 @@ import Divider from './divider';
|
|
|
9
9
|
import Layout from './layout';
|
|
10
10
|
import Row from './row';
|
|
11
11
|
import Col from './col';
|
|
12
|
-
import Drag from './drag';
|
|
13
|
-
import Collapse from './collapse';
|
|
14
12
|
import Toast from './toast';
|
|
15
|
-
import
|
|
16
|
-
import Range from './range';
|
|
17
|
-
import Infiniteloading from './infiniteloading';
|
|
18
|
-
import Steps from './steps';
|
|
19
|
-
import Step from './step';
|
|
20
|
-
import CircleProgress from './circleprogress';
|
|
13
|
+
import Dialog from './dialog';
|
|
21
14
|
import Popup from './popup';
|
|
22
15
|
import ActionSheet from './actionsheet';
|
|
16
|
+
import Picker from './picker';
|
|
17
|
+
import Infiniteloading from './infiniteloading';
|
|
18
|
+
import Popover from './popover';
|
|
19
|
+
import Collapse from './collapse';
|
|
20
|
+
import CollapseItem from './collapseitem';
|
|
21
|
+
import Range from './range';
|
|
22
|
+
import CircleProgress from './circleprogress';
|
|
23
23
|
import NoticeBar from './noticebar';
|
|
24
24
|
import Notify from './notify';
|
|
25
|
-
import Dialog from './dialog';
|
|
26
25
|
import Switch from './switch';
|
|
27
|
-
import CollapseItem from './collapseitem';
|
|
28
|
-
import Swiper from './swiper';
|
|
29
|
-
import SwiperItem from './swiperitem';
|
|
30
26
|
import NavBar from './navbar';
|
|
31
27
|
import Tabbar from './tabbar';
|
|
32
28
|
import TabbarItem from './tabbaritem';
|
|
33
|
-
import InputNumber from './inputnumber';
|
|
34
29
|
import Elevator from './elevator';
|
|
35
30
|
import FixedNav from './fixednav';
|
|
36
31
|
import Pagination from './pagination';
|
|
32
|
+
import Steps from './steps';
|
|
33
|
+
import Step from './step';
|
|
34
|
+
import Swiper from './swiper';
|
|
35
|
+
import SwiperItem from './swiperitem';
|
|
36
|
+
import BackTop from './backtop';
|
|
37
37
|
import Rate from './rate';
|
|
38
|
-
import Uploader from './uploader';
|
|
39
38
|
import Input from './input';
|
|
40
39
|
import TextArea from './textarea';
|
|
40
|
+
import InputNumber from './inputnumber';
|
|
41
|
+
import ShortPassword from './shortpassword';
|
|
42
|
+
import Radio from './radio';
|
|
43
|
+
import RadioGroup from './radiogroup';
|
|
41
44
|
import Checkbox from './checkbox';
|
|
42
45
|
import CheckboxGroup from './checkboxgroup';
|
|
43
46
|
import Tag from './tag';
|
|
44
|
-
import Popover from './popover';
|
|
45
47
|
import Badge from './badge';
|
|
46
|
-
import
|
|
47
|
-
import Radio from './radio';
|
|
48
|
-
import RadioGroup from './radiogroup';
|
|
49
|
-
import ShortPassword from './shortpassword';
|
|
48
|
+
import Uploader from './uploader';
|
|
50
49
|
import Calendar from './calendar';
|
|
51
50
|
import CalendarItem from './calendaritem';
|
|
52
|
-
import Picker from './picker';
|
|
53
|
-
import Signature from './signature';
|
|
54
|
-
import Barrage from './barrage';
|
|
55
51
|
import Address from './address';
|
|
56
|
-
|
|
52
|
+
import Barrage from './barrage';
|
|
53
|
+
import Signature from './signature';
|
|
54
|
+
import Drag from './drag';
|
|
55
|
+
import AnimatingNumbers from './animatingnumbers';
|
|
56
|
+
export { Avatar, Button, Cell, CellGroup, Icon, Price, Overlay, Divider, Layout, Row, Col, Toast, Dialog, Popup, ActionSheet, Picker, Infiniteloading, Popover, Collapse, CollapseItem, Range, CircleProgress, NoticeBar, Notify, Switch, NavBar, Tabbar, TabbarItem, Elevator, FixedNav, Pagination, Steps, Step, Swiper, SwiperItem, BackTop, Rate, Input, TextArea, InputNumber, ShortPassword, Radio, RadioGroup, Checkbox, CheckboxGroup, Tag, Badge, Uploader, Calendar, CalendarItem, Address, Barrage, Signature, Drag, AnimatingNumbers };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/{esm/types/src/packages/tabbaritem/tabbarItem.d.ts → types/tabbaritem/tabbaritem.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nutui/nutui-react",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.1.0-beta.0",
|
|
4
4
|
"style": "dist/style.css",
|
|
5
5
|
"main": "dist/nutui.react.umd.js",
|
|
6
6
|
"module": "dist/esm/nutui-react.es.js",
|
|
7
|
-
"typings": "dist/
|
|
7
|
+
"typings": "dist/types/nutui.react.d.ts",
|
|
8
8
|
"sideEffects": [
|
|
9
9
|
"*.scss",
|
|
10
10
|
"dist/esm/**/style/*",
|
|
@@ -37,27 +37,26 @@
|
|
|
37
37
|
],
|
|
38
38
|
"scripts": {
|
|
39
39
|
"add": "node scripts/createComponentMode.js",
|
|
40
|
-
"generate:types": "tsc && npm run replace:types",
|
|
41
40
|
"generate:file": "node scripts/generate-nutui.js",
|
|
42
|
-
"generate:loader-style": "node scripts/generate-loader-style.js",
|
|
43
|
-
"replace:scss": "node scripts/replace-scss.js",
|
|
44
|
-
"replace:types": "node scripts/replace-types.js",
|
|
45
41
|
"generate:themes": "node scripts/generate-themes.js",
|
|
46
42
|
"checked": "npm run generate:file && tsc",
|
|
47
43
|
"dev": "npm run checked && vite --open --force",
|
|
48
|
-
"
|
|
44
|
+
"replace:scss": "node scripts/replace-scss-alias.js",
|
|
45
|
+
"replace:types": "node scripts/replace-types-alias.js",
|
|
46
|
+
"build:types": "tsc && npm run replace:types",
|
|
47
|
+
"build:loader-style": "node scripts/generate-loader-style.js",
|
|
48
|
+
"build:component:css": "node scripts/build-component-css.js",
|
|
49
|
+
"build:css": "npm run generate:themes && vite build --config vite.config.build.css.ts && npm run build:replace ",
|
|
49
50
|
"build:replace": "npm run replace:scss",
|
|
50
|
-
"build:
|
|
51
|
-
"build": "npm run checked && vite build --config vite.config.build.ts && npm run build:
|
|
51
|
+
"build:es": "npx rollup -c rollup.config.es.js",
|
|
52
|
+
"build": "npm run checked && vite build --config vite.config.build.ts && npm run build:es && npm run build:css && npm run build:loader-style && npm run build:types ",
|
|
52
53
|
"build:site": "npm run checked && vite build --config vite.config.build.site.ts",
|
|
53
54
|
"publish:beta": "npm publish --tag beta",
|
|
54
55
|
"prepare": "husky install"
|
|
55
56
|
},
|
|
56
57
|
"lint-staged": {
|
|
57
58
|
"*.md": "prettier --write",
|
|
58
|
-
"*.{ts,tsx,js,scss}": "prettier --write"
|
|
59
|
-
"*.js": "eslint --cache --fix",
|
|
60
|
-
"*.{js,css,md}": "prettier --write"
|
|
59
|
+
"*.{ts,tsx,js,vue,scss}": "prettier --write"
|
|
61
60
|
},
|
|
62
61
|
"dependencies": {
|
|
63
62
|
"@babel/runtime": "^7.16.5",
|
|
@@ -109,6 +108,7 @@
|
|
|
109
108
|
"husky": "^6.0.0",
|
|
110
109
|
"inquirer": "^8.0.0",
|
|
111
110
|
"lint-staged": "^11.0.0",
|
|
111
|
+
"lzutf8": "^0.6.0",
|
|
112
112
|
"map-stream": "0.0.7",
|
|
113
113
|
"marked": "^2.0.3",
|
|
114
114
|
"postcss-import": "^14.0.2",
|