@nutui/nutui-react-taro 1.4.10 → 1.4.11-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 +16 -0
- package/dist/esm/ActionSheet.js +7 -10
- package/dist/esm/Address.js +12 -15
- package/dist/esm/Animate.js +3 -6
- package/dist/esm/AnimatingNumbers.js +3 -6
- package/dist/esm/Audio.js +13 -16
- package/dist/esm/Avatar.js +6 -9
- package/dist/esm/AvatarGroup.js +6 -9
- package/dist/esm/BackTop.js +5 -8
- package/dist/esm/Badge.js +5 -8
- package/dist/esm/Barrage.js +3 -6
- package/dist/esm/Button.js +5 -8
- package/dist/esm/Calendar.js +11 -13
- package/dist/esm/CalendarItem.js +6 -8
- package/dist/esm/Card.js +7 -10
- package/dist/esm/Cascader.js +9 -12
- package/dist/esm/Cell.js +5 -8
- package/dist/esm/CellGroup.js +3 -6
- package/dist/esm/Checkbox.js +5 -8
- package/dist/esm/CheckboxGroup.js +5 -8
- package/dist/esm/CircleProgress.js +4 -7
- package/dist/esm/Col.js +3 -6
- package/dist/esm/Collapse.js +3 -6
- package/dist/esm/CollapseItem.js +5 -8
- package/dist/esm/ConfigProvider.js +3 -6
- package/dist/esm/CountDown.js +5 -8
- package/dist/esm/DatePicker.js +13 -16
- package/dist/esm/Dialog.js +8 -11
- package/dist/esm/Divider.js +3 -6
- package/dist/esm/Drag.js +3 -6
- package/dist/esm/Elevator.js +3 -6
- package/dist/esm/Ellipsis.js +5 -8
- package/dist/esm/Empty.js +5 -8
- package/dist/esm/FixedNav.js +8 -11
- package/dist/esm/Form.js +8 -11
- package/dist/esm/FormItem.js +6 -9
- package/dist/esm/Grid.js +6 -9
- package/dist/esm/GridItem.js +8 -11
- package/dist/esm/Icon.js +3 -6
- package/dist/esm/Image.js +6 -9
- package/dist/esm/ImagePreview.js +10 -13
- package/dist/esm/Indicator.js +3 -6
- package/dist/esm/Infiniteloading.js +7 -10
- package/dist/esm/Input.js +7 -10
- package/dist/esm/InputNumber.js +5 -8
- package/dist/esm/Layout.js +2 -5
- package/dist/esm/Menu.js +5 -8
- package/dist/esm/MenuItem.js +8 -11
- package/dist/esm/NavBar.js +5 -8
- package/dist/esm/NoticeBar.js +6 -9
- package/dist/esm/Notify.js +3 -6
- package/dist/esm/NumberKeyboard.js +9 -12
- package/dist/esm/Overlay.js +3 -6
- package/dist/esm/Pagination.js +5 -8
- package/dist/esm/Picker.js +11 -14
- package/dist/esm/Popover.js +7 -10
- package/dist/esm/Popup.js +6 -9
- package/dist/esm/Price.js +3 -6
- package/dist/esm/Progress.js +5 -8
- package/dist/esm/PullToRefresh.js +5 -8
- package/dist/esm/Radio.js +4 -8
- package/dist/esm/RadioGroup.js +5 -8
- package/dist/esm/Range.js +9 -12
- package/dist/esm/Rate.js +5 -8
- package/dist/esm/Row.js +3 -6
- package/dist/esm/SearchBar.js +7 -10
- package/dist/esm/ShortPassword.js +9 -12
- package/dist/esm/SideNavBar.js +10 -13
- package/dist/esm/SideNavBarItem.js +2 -5
- package/dist/esm/Signature.js +8 -11
- package/dist/esm/Skeleton.js +7 -10
- package/dist/esm/Step.js +6 -9
- package/dist/esm/Steps.js +4 -7
- package/dist/esm/Sticky.js +5 -8
- package/dist/esm/SubSideNavBar.js +3 -6
- package/dist/esm/Swipe.js +5 -8
- package/dist/esm/Swiper.js +4 -7
- package/dist/esm/SwiperItem.js +4 -7
- package/dist/esm/Switch.js +3 -6
- package/dist/esm/TabPane.js +3 -6
- package/dist/esm/Tabbar.js +3 -6
- package/dist/esm/TabbarItem.js +5 -8
- package/dist/esm/Table.js +7 -10
- package/dist/esm/Tabs.js +6 -9
- package/dist/esm/Tag.js +5 -8
- package/dist/esm/TextArea.js +5 -8
- package/dist/esm/TimeDetail.js +5 -8
- package/dist/esm/TimePannel.js +5 -8
- package/dist/esm/TimeSelect.js +11 -14
- package/dist/esm/Toast.js +4 -7
- package/dist/esm/TrendArrow.js +4 -7
- package/dist/esm/Uploader.js +10 -13
- package/dist/esm/Video.js +3 -6
- package/dist/esm/VirtualList.js +4 -7
- package/dist/esm/WaterMark.js +5 -8
- package/dist/esm/{actionsheet.taro-e6a51446.js → actionsheet.taro-c5ccaf4e.js} +2 -2
- package/dist/esm/{address.taro-e11e3105.js → address.taro-f977bad0.js} +8 -8
- package/dist/esm/{animate.taro-fb7986d6.js → animate.taro-b0e83dd5.js} +1 -1
- package/dist/esm/{animatingnumbers.taro-03e5d61d.js → animatingnumbers.taro-6307a3a5.js} +1 -1
- package/dist/esm/{audio.taro-9fb6a435.js → audio.taro-c2cdbe18.js} +6 -6
- package/dist/esm/{avatar.taro-3676f38f.js → avatar.taro-c17c3d15.js} +4 -4
- package/dist/esm/{avatargroup-1324186b.js → avatargroup-1d900174.js} +3 -3
- package/dist/esm/{backtop.taro-66394a36.js → backtop.taro-e53236c7.js} +2 -2
- package/dist/esm/{badge.taro-a4e59c11.js → badge.taro-a2e7dd5a.js} +3 -3
- package/dist/esm/{barrage.taro-80df08d3.js → barrage.taro-5dbab093.js} +1 -1
- package/dist/esm/{button.taro-43fa4248.js → button.taro-dc4795a3.js} +2 -2
- package/dist/esm/{calendar.taro-a8b7c1aa.js → calendar.taro-f5d03548.js} +9 -5
- package/dist/esm/{calendaritem.taro-a850666e.js → calendaritem.taro-971a7af8.js} +19 -8
- package/dist/esm/{card.taro-e2a20807.js → card.taro-4fb6bc4e.js} +3 -3
- package/dist/esm/{cascader.taro-a824b371.js → cascader.taro-a2ee549c.js} +5 -5
- package/dist/esm/{cell.taro-a10a74d3.js → cell.taro-e877cf12.js} +3 -3
- package/dist/esm/{cellgroup.taro-abe501bc.js → cellgroup.taro-e094471c.js} +1 -1
- package/dist/esm/{checkbox.taro-6120e3e3.js → checkbox.taro-6aab93c3.js} +3 -3
- package/dist/esm/{circleprogress.taro-79854448.js → circleprogress.taro-897ea24b.js} +2 -2
- package/dist/esm/{col.taro-53eed3cc.js → col.taro-9e4c5cc0.js} +1 -1
- package/dist/esm/{collapse.taro-1a9e4ba2.js → collapse.taro-c903a060.js} +1 -1
- package/dist/esm/{collapseitem-4d0bc55d.js → collapseitem-2e864527.js} +3 -3
- package/dist/esm/{configprovider-3a2a28d1.js → configprovider-5eea4f5d.js} +1 -1
- package/dist/esm/{configprovider.taro-d6678d2e.js → configprovider.taro-26882dd2.js} +1 -1
- package/dist/esm/{countdown.taro-b6efdd7c.js → countdown.taro-9e40de9c.js} +2 -2
- package/dist/esm/{datepicker.taro-e9d167bf.js → datepicker.taro-d9252862.js} +5 -2
- package/dist/esm/{dialog.taro-6daca6de.js → dialog.taro-7608bd26.js} +2 -2
- package/dist/esm/{divider.taro-26d1d8b4.js → divider.taro-5236fe6a.js} +1 -1
- package/dist/esm/{drag.taro-79bb8744.js → drag.taro-703560c4.js} +1 -1
- package/dist/esm/{elevator.taro-c4ed99e4.js → elevator.taro-1d749ab0.js} +1 -1
- package/dist/esm/{ellipsis.taro-93cef884.js → ellipsis.taro-660e2ee9.js} +8 -8
- package/dist/esm/{empty.taro-b28fbcea.js → empty.taro-7bd813f9.js} +2 -2
- package/dist/esm/{fixednav.taro-c46dd370.js → fixednav.taro-84930e08.js} +5 -5
- package/dist/esm/{form.taro-0c8e7a39.js → form.taro-ce791a58.js} +3 -3
- package/dist/esm/{formitem.taro-190a3326.js → formitem.taro-f2ed02d4.js} +2 -2
- package/dist/esm/{grid.taro-2dcf3c67.js → grid.taro-9410ff69.js} +3 -3
- package/dist/esm/{griditem.taro-380ad42c.js → griditem.taro-26863577.js} +5 -5
- package/dist/esm/{icon-296a1bec.js → icon-2242973e.js} +1 -1
- package/dist/esm/{icon.taro-296a1bec.js → icon.taro-c9254a81.js} +1 -1
- package/dist/esm/{image.taro-0b9e8567.js → image.taro-1d867416.js} +2 -2
- package/dist/esm/{imagepreview.taro-c50bb0a3.js → imagepreview.taro-3a5722e8.js} +3 -3
- package/dist/esm/{radio.taro-a6eff96c.js → index.taro-84346556.js} +9 -7
- package/dist/esm/{indicator.taro-cba8b010.js → indicator.taro-25682172.js} +1 -1
- package/dist/esm/{infiniteloading.taro-1dcc35b4.js → infiniteloading.taro-8ead43b0.js} +4 -4
- package/dist/esm/{input.taro-249e6570.js → input.taro-fe0248b1.js} +3 -3
- package/dist/esm/{inputnumber.taro-7c2d7e85.js → inputnumber.taro-94c75663.js} +3 -3
- package/dist/esm/{menu.taro-7e4038a1.js → menu.taro-e5b84501.js} +2 -2
- package/dist/esm/{menuitem.taro-259a1236.js → menuitem.taro-f2129be6.js} +4 -4
- package/dist/esm/{navbar.taro-777c4705.js → navbar.taro-70514adf.js} +3 -3
- package/dist/esm/{noticebar.taro-4a23cdee.js → noticebar.taro-22486646.js} +4 -4
- package/dist/esm/{notify.taro-c6cbc0f3.js → notify.taro-3a424269.js} +3 -3
- package/dist/esm/{numberkeyboard.taro-b0dba5a8.js → numberkeyboard.taro-78224b3a.js} +3 -3
- package/dist/esm/nutui-react.es.js +107 -107
- package/dist/esm/{overlay.taro-21e87fb1.js → overlay.taro-1e74a71d.js} +1 -1
- package/dist/esm/{pagination.taro-2a8806b2.js → pagination.taro-bb490de9.js} +2 -2
- package/dist/esm/{picker.taro-f2f5950d.js → picker.taro-4298ce4e.js} +5 -5
- package/dist/esm/{popover.taro-ad5e76ea.js → popover.taro-f144cd02.js} +4 -4
- package/dist/esm/{popup.taro-01676bff.js → popup.taro-6e81162a.js} +4 -4
- package/dist/esm/{price.taro-776ed16e.js → price.taro-8801462e.js} +1 -1
- package/dist/esm/{progress.taro-f0ce38e9.js → progress.taro-773482ed.js} +3 -3
- package/dist/esm/{pulltorefresh.taro-b1f56062.js → pulltorefresh.taro-2b50fdf3.js} +2 -2
- package/dist/esm/{range.taro-3a2b74b5.js → range.taro-b628f1ed.js} +4 -4
- package/dist/esm/{rate.taro-6cdf03bd.js → rate.taro-f18381f3.js} +3 -3
- package/dist/esm/{row.taro-f64d4a13.js → row.taro-4e697aa2.js} +1 -1
- package/dist/esm/{searchbar.taro-c7bbc67a.js → searchbar.taro-bc3e87bc.js} +11 -8
- package/dist/esm/{shortpassword.taro-7ee92cba.js → shortpassword.taro-7dfb72fb.js} +5 -6
- package/dist/esm/{sidenavbar.taro-44ee1611.js → sidenavbar.taro-e03a5287.js} +3 -3
- package/dist/esm/{signature.taro-ae04be18.js → signature.taro-45d1dde3.js} +3 -3
- package/dist/esm/{skeleton.taro-76faf63f.js → skeleton.taro-38e2fca2.js} +2 -2
- package/dist/esm/{step.taro-b7903e8c.js → step.taro-891c020b.js} +4 -4
- package/dist/esm/{steps.taro-c82d2252.js → steps.taro-acf205a0.js} +2 -2
- package/dist/esm/{sticky.taro-d5b6eabe.js → sticky.taro-b15d1173.js} +3 -3
- package/dist/esm/{subsidenavbar.taro-69cb9752.js → subsidenavbar.taro-f46b4c73.js} +1 -1
- package/dist/esm/{swipe.taro-ea35f07f.js → swipe.taro-9375a9a1.js} +3 -3
- package/dist/esm/{swiper.taro-7a94e211.js → swiper.taro-8164df5b.js} +2 -2
- package/dist/esm/{swiperitem-c9e3d0d5.js → swiperitem-86a3578a.js} +2 -2
- package/dist/esm/{switch.taro-34ca8228.js → switch.taro-bae2dca0.js} +1 -1
- package/dist/esm/{tabbar.taro-9acfc2fa.js → tabbar.taro-17d898d9.js} +1 -1
- package/dist/esm/{tabbaritem.taro-bf517487.js → tabbaritem.taro-3643f585.js} +3 -3
- package/dist/esm/{table.taro-bc980d82.js → table.taro-6119a948.js} +8 -7
- package/dist/esm/{tabpane.taro-4ca340ef.js → tabpane.taro-9512e308.js} +1 -1
- package/dist/esm/{tabs.taro-07e4adce.js → tabs.taro-95edd45d.js} +4 -4
- package/dist/esm/{tag.taro-ad9f6d6a.js → tag.taro-64f37bd9.js} +2 -2
- package/dist/esm/{textarea.taro-321e089e.js → textarea.taro-2a12788b.js} +24 -6
- package/dist/esm/{timedetail.taro-204e2975.js → timedetail.taro-c5f564fd.js} +2 -2
- package/dist/esm/{timepannel.taro-032285fe.js → timepannel.taro-29f9dd86.js} +2 -2
- package/dist/esm/{timeselect.taro-654791eb.js → timeselect.taro-f276b0a9.js} +5 -5
- package/dist/esm/{toast.taro-d6c14811.js → toast.taro-0f972a92.js} +2 -2
- package/dist/esm/{trendarrow.taro-b8c5ccd9.js → trendarrow.taro-d79fc8e2.js} +2 -2
- package/dist/esm/{uploader.taro-64f45a90.js → uploader.taro-77396b5d.js} +7 -7
- package/dist/esm/{video-f1be8a91.js → video-8a3518c5.js} +1 -1
- package/dist/esm/{virtuallist.taro-a4ab5995.js → virtuallist.taro-1688484f.js} +1 -1
- package/dist/esm/{watermark.taro-8e8cfdd6.js → watermark.taro-a948c735.js} +2 -2
- 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/locales/zh-UG.js +1 -1
- package/dist/nutui.react.mjs +65 -24
- package/dist/nutui.react.umd.js +65 -24
- package/dist/packages/radiogroup/radiogroup.scss +1 -0
- package/dist/packages/step/step.scss +2 -1
- package/dist/style.css +1 -1
- package/dist/style.mjs +1 -1
- package/dist/styles/variables.scss +1 -1
- package/dist/types/index.d.ts +4 -1
- package/package.json +1 -1
- /package/dist/esm/{AvatarContext-c96afdcc.js → AvatarContext-7153ad2b.js} +0 -0
- /package/dist/esm/{UserContext-0aac9a82.js → UserContext-68f62e66.js} +0 -0
- /package/dist/esm/{UserContext-e402e1a6.js → UserContext-b4181162.js} +0 -0
- /package/dist/esm/{UserContext-e8176108.js → UserContext-be8097d2.js} +0 -0
- /package/dist/esm/{bem-350c1702.js → bem-893ad28d.js} +0 -0
- /package/dist/esm/{get-scroll-parent-5d508382.js → get-scroll-parent-3dcd3f53.js} +0 -0
- /package/dist/esm/{grid.taro.context-c2bbfb4f.js → grid.taro.context-39636af9.js} +0 -0
- /package/dist/esm/{index-5bcb0ff8.js → index-a90733f9.js} +0 -0
- /package/dist/esm/{layout.taro-9046d093.js → layout.taro-358f014f.js} +0 -0
- /package/dist/esm/{offsetContext-c2a746fa.js → offsetContext-bfb02c25.js} +0 -0
- /package/dist/esm/{sidenavbaritem.taro-5a7965d0.js → sidenavbaritem.taro-fee11d26.js} +0 -0
- /package/dist/esm/{typings-b9828dba.js → typings-1c5f2628.js} +0 -0
- /package/dist/esm/{useClientRect-1f8ed1fe.js → useClientRect-4506e52f.js} +0 -0
- /package/dist/esm/{useTouch-db24bb5c.js → useTouch-a2ea68c6.js} +0 -0
- /package/dist/esm/{zh-CN-aff7a0be.js → zh-CN-dfc384d0.js} +0 -0
package/dist/style.mjs
CHANGED
|
@@ -475,7 +475,7 @@ $input-padding: var(--nutui-input-padding, 10px 25px) !default;
|
|
|
475
475
|
|
|
476
476
|
$textarea-font: var(--nutui-textarea-font, $font-size-2) !default;
|
|
477
477
|
$textarea-height: var(--nutui-textarea-height, 100px) !default;
|
|
478
|
-
$textarea-padding: var(--nutui-textarea-padding,
|
|
478
|
+
$textarea-padding: var(--nutui-textarea-padding, 10px 25px) !default;
|
|
479
479
|
$textarea-limit-color: var(--nutui-textarea-limit-color, $text-color) !default;
|
|
480
480
|
$textarea-text-color: var(--nutui-textarea-text-color, $title-color) !default;
|
|
481
481
|
$textarea-text-curror-color: var(
|
package/dist/types/index.d.ts
CHANGED
|
@@ -637,6 +637,7 @@ interface CalendarProps {
|
|
|
637
637
|
onClose?: () => void;
|
|
638
638
|
onChoose?: (param: string) => void;
|
|
639
639
|
onSelected?: (data: string) => void;
|
|
640
|
+
onYearMonthChange?: (param: string) => void;
|
|
640
641
|
}
|
|
641
642
|
declare const Calendar: React__default.ForwardRefExoticComponent<Partial<CalendarProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, ""> & React__default.RefAttributes<CalendarRef$1>>;
|
|
642
643
|
|
|
@@ -671,6 +672,7 @@ interface CalendarItemProps {
|
|
|
671
672
|
onChoose?: (data: any) => void;
|
|
672
673
|
onUpdate?: () => void;
|
|
673
674
|
onSelected?: (data: string) => void;
|
|
675
|
+
onYearMonthChange?: (data: any) => void;
|
|
674
676
|
}
|
|
675
677
|
declare const CalendarItem: React__default.ForwardRefExoticComponent<Partial<CalendarItemProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, ""> & React__default.RefAttributes<CalendarRef>>;
|
|
676
678
|
|
|
@@ -763,7 +765,7 @@ interface DatePickerProps {
|
|
|
763
765
|
modelValue: Date | null;
|
|
764
766
|
visible: boolean;
|
|
765
767
|
title: string;
|
|
766
|
-
type: 'date' | 'time' | 'year-month' | 'month-day' | 'datehour' | 'datetime';
|
|
768
|
+
type: 'date' | 'time' | 'year-month' | 'month-day' | 'datehour' | 'datetime' | 'hour-minutes';
|
|
767
769
|
isShowChinese: boolean;
|
|
768
770
|
minuteStep: number;
|
|
769
771
|
minDate: Date;
|
|
@@ -1874,6 +1876,7 @@ interface BasicTableProps extends BasicComponent {
|
|
|
1874
1876
|
striped?: boolean;
|
|
1875
1877
|
noData?: React__default.ReactNode;
|
|
1876
1878
|
onSorter?: (item: TableColumnProps, data: Array<any>) => void;
|
|
1879
|
+
showHeader?: boolean;
|
|
1877
1880
|
}
|
|
1878
1881
|
interface TableColumnProps {
|
|
1879
1882
|
key: string;
|
package/package.json
CHANGED
|
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
|