@nutui/nutui-react 2.3.12 → 2.4.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 +30 -0
- package/dist/esm/AnimatingNumbers/style/style.css +1 -1
- package/dist/esm/Badge/style/style.css +1 -1
- package/dist/esm/Checkbox/style/style.css +1 -1
- package/dist/esm/CheckboxGroup/style/style.css +1 -1
- package/dist/esm/CheckboxGroup.js +5 -2
- package/dist/esm/Collapse/style/style.css +1 -1
- package/dist/esm/CollapseItem/style/style.css +1 -1
- package/dist/esm/CountDown.js +1 -1
- package/dist/esm/DatePicker.js +1 -1
- package/dist/esm/Dialog/style/style.css +1 -1
- package/dist/esm/Dialog.js +15 -8
- package/dist/esm/InputNumber/style/style.css +1 -1
- package/dist/esm/InputNumber.js +1 -1
- package/dist/esm/NoticeBar/style/style.css +1 -1
- package/dist/esm/NoticeBar.js +12 -8
- package/dist/esm/Popover/style/style.css +1 -1
- package/dist/esm/Popover.js +4 -3
- package/dist/esm/Swipe/style/style.css +1 -1
- package/dist/esm/Swiper.js +1 -1
- package/dist/esm/Tabbar/style/style.css +1 -1
- package/dist/esm/TabbarItem/style/style.css +1 -1
- package/dist/esm/Table.js +8 -7
- package/dist/esm/Tour/style/style.css +1 -1
- package/dist/esm/Uploader.js +2 -2
- package/dist/esm/badge2.js +4 -1
- package/dist/esm/checkbox2.js +11 -0
- package/dist/esm/types/src/packages/cell/demo.d.ts +0 -1
- package/dist/esm/types/src/packages/cell/demo.taro.d.ts +0 -1
- package/dist/esm/types/src/packages/cell/demos/h5/demo1.d.ts +3 -0
- package/dist/esm/types/src/packages/cell/demos/h5/demo2.d.ts +3 -0
- package/dist/esm/types/src/packages/cell/demos/h5/demo3.d.ts +3 -0
- package/dist/esm/types/src/packages/cell/demos/h5/demo4.d.ts +3 -0
- package/dist/esm/types/src/packages/cell/demos/h5/demo5.d.ts +3 -0
- package/dist/esm/types/src/packages/cell/demos/h5/demo6.d.ts +3 -0
- package/dist/esm/types/src/packages/cell/demos/h5/demo7.d.ts +3 -0
- package/dist/esm/types/src/packages/cell/demos/taro/demo1.d.ts +3 -0
- package/dist/esm/types/src/packages/cell/demos/taro/demo2.d.ts +3 -0
- package/dist/esm/types/src/packages/cell/demos/taro/demo3.d.ts +3 -0
- package/dist/esm/types/src/packages/cell/demos/taro/demo4.d.ts +3 -0
- package/dist/esm/types/src/packages/cell/demos/taro/demo5.d.ts +3 -0
- package/dist/esm/types/src/packages/cell/demos/taro/demo6.d.ts +3 -0
- package/dist/esm/types/src/packages/cell/demos/taro/demo7.d.ts +3 -0
- package/dist/esm/types/src/packages/checkboxgroup/checkboxgroup.d.ts +1 -0
- package/dist/esm/types/src/packages/checkboxgroup/checkboxgroup.taro.d.ts +1 -0
- package/dist/esm/types/src/packages/checkboxgroup/context.d.ts +1 -0
- package/dist/esm/types/src/packages/configprovider/types.d.ts +1 -1
- package/dist/esm/types/src/packages/dialog/config.d.ts +3 -3
- package/dist/esm/types/src/packages/dialog/index.d.ts +1 -1
- package/dist/esm/types/src/packages/noticebar/index.d.ts +1 -0
- package/dist/esm/types/src/packages/noticebar/noticebar.d.ts +2 -0
- package/dist/esm/types/src/packages/noticebar/noticebar.taro.d.ts +2 -0
- package/dist/esm/types/src/packages/noticebar/types.d.ts +1 -0
- package/dist/esm/types/src/packages/popover/index.d.ts +2 -1
- package/dist/esm/types/src/packages/popover/index.taro.d.ts +2 -1
- package/dist/esm/types/src/packages/popover/popover.d.ts +2 -12
- package/dist/esm/types/src/packages/popover/popover.taro.d.ts +2 -12
- package/dist/esm/types/src/packages/popover/types.d.ts +14 -0
- package/dist/esm/types/src/packages/table/useTableSticky.d.ts +1 -1
- package/dist/esm/types/src/packages/toast/toast.taro.d.ts +7 -3
- package/dist/esm/types/src/packages/tour/tour.d.ts +1 -1
- package/dist/esm/types/src/packages/tour/tour.taro.d.ts +1 -1
- 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/tr-TR.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.es.js +56 -27
- package/dist/nutui.react.umd.js +56 -27
- package/dist/packages/animatingnumbers/countup.scss +1 -0
- package/dist/packages/badge/badge.scss +2 -0
- package/dist/packages/checkbox/checkbox.scss +19 -0
- package/dist/packages/checkboxgroup/checkboxgroup.scss +25 -0
- package/dist/packages/collapseitem/collapseitem.scss +1 -6
- package/dist/packages/dialog/dialog.scss +8 -1
- package/dist/packages/noticebar/noticebar.scss +19 -1
- package/dist/packages/popover/popover.scss +21 -0
- package/dist/packages/swipe/swipe.scss +2 -0
- package/dist/style.css +1 -1
- package/dist/style.mjs +1 -1
- package/dist/styles/variables-jmapp.scss +13 -0
- package/dist/styles/variables.scss +19 -12
- package/dist/types/index.d.ts +98 -98
- package/dist/types/packages/actionsheet/actionsheet.d.ts +1 -1
- package/dist/types/packages/actionsheet/actionsheet.taro.d.ts +1 -1
- package/dist/types/packages/address/address.d.ts +1 -1
- package/dist/types/packages/address/address.taro.d.ts +1 -1
- package/dist/types/packages/address/customRender.d.ts +1 -1
- package/dist/types/packages/address/customRender.taro.d.ts +1 -1
- package/dist/types/packages/avatar/avatar.d.ts +1 -1
- package/dist/types/packages/avatar/avatar.taro.d.ts +1 -1
- package/dist/types/packages/badge/badge.d.ts +1 -1
- package/dist/types/packages/calendaritem/calendaritem.d.ts +1 -1
- package/dist/types/packages/calendaritem/calendaritem.taro.d.ts +1 -1
- package/dist/types/packages/cascader/cascader.d.ts +1 -1
- package/dist/types/packages/cascader/cascader.taro.d.ts +1 -1
- package/dist/types/packages/cell/cell.d.ts +1 -1
- package/dist/types/packages/cell/cell.taro.d.ts +1 -1
- package/dist/types/packages/cell/demos/h5/demo1.d.ts +3 -0
- package/dist/types/packages/cell/demos/h5/demo2.d.ts +3 -0
- package/dist/types/packages/cell/demos/h5/demo3.d.ts +3 -0
- package/dist/types/packages/cell/demos/h5/demo4.d.ts +3 -0
- package/dist/types/packages/cell/demos/h5/demo5.d.ts +3 -0
- package/dist/types/packages/cell/demos/h5/demo6.d.ts +3 -0
- package/dist/types/packages/cell/demos/h5/demo7.d.ts +3 -0
- package/dist/types/packages/cell/demos/taro/demo1.d.ts +3 -0
- package/dist/types/packages/cell/demos/taro/demo2.d.ts +3 -0
- package/dist/types/packages/cell/demos/taro/demo3.d.ts +3 -0
- package/dist/types/packages/cell/demos/taro/demo4.d.ts +3 -0
- package/dist/types/packages/cell/demos/taro/demo5.d.ts +3 -0
- package/dist/types/packages/cell/demos/taro/demo6.d.ts +3 -0
- package/dist/types/packages/cell/demos/taro/demo7.d.ts +3 -0
- package/dist/types/packages/checkbox/checkbox.d.ts +2 -2
- package/dist/types/packages/checkbox/checkbox.taro.d.ts +2 -2
- package/dist/types/packages/checkboxgroup/checkboxgroup.d.ts +3 -2
- package/dist/types/packages/checkboxgroup/checkboxgroup.taro.d.ts +3 -2
- package/dist/types/packages/checkboxgroup/context.d.ts +1 -0
- package/dist/types/packages/configprovider/types.d.ts +1 -1
- package/dist/types/packages/datepicker/datepicker.d.ts +1 -1
- package/dist/types/packages/datepicker/datepicker.taro.d.ts +1 -1
- package/dist/types/packages/dialog/config.d.ts +3 -3
- package/dist/types/packages/dialog/dialogwrap.d.ts +1 -1
- package/dist/types/packages/dialog/index.d.ts +1 -1
- package/dist/types/packages/empty/empty.d.ts +1 -1
- package/dist/types/packages/fixednav/fixednav.d.ts +1 -1
- package/dist/types/packages/fixednav/fixednav.taro.d.ts +1 -1
- package/dist/types/packages/form/form.d.ts +1 -1
- package/dist/types/packages/form/form.taro.d.ts +1 -1
- package/dist/types/packages/form/index.d.ts +1 -1
- package/dist/types/packages/form/index.taro.d.ts +1 -1
- package/dist/types/packages/menu/menu.d.ts +1 -1
- package/dist/types/packages/menu/menu.taro.d.ts +1 -1
- package/dist/types/packages/noticebar/index.d.ts +1 -0
- package/dist/types/packages/noticebar/noticebar.d.ts +6 -0
- package/dist/types/packages/noticebar/noticebar.taro.d.ts +2 -0
- package/dist/types/packages/noticebar/types.d.ts +1 -0
- package/dist/types/packages/numberkeyboard/numberkeyboard.d.ts +1 -1
- package/dist/types/packages/numberkeyboard/numberkeyboard.taro.d.ts +1 -1
- package/dist/types/packages/nutui.react.d.ts +98 -98
- package/dist/types/packages/nutui.react.taro.d.ts +98 -98
- package/dist/types/packages/nutui.taro.react.build.d.ts +98 -98
- package/dist/types/packages/picker/picker.d.ts +1 -1
- package/dist/types/packages/picker/picker.taro.d.ts +1 -1
- package/dist/types/packages/popover/index.d.ts +2 -1
- package/dist/types/packages/popover/index.taro.d.ts +2 -1
- package/dist/types/packages/popover/popover.d.ts +3 -13
- package/dist/types/packages/popover/popover.taro.d.ts +3 -13
- package/dist/types/packages/popover/types.d.ts +14 -0
- package/dist/types/packages/popup/popup.d.ts +1 -1
- package/dist/types/packages/popup/popup.taro.d.ts +1 -1
- package/dist/types/packages/radio/radio.d.ts +2 -2
- package/dist/types/packages/radio/radio.taro.d.ts +2 -2
- package/dist/types/packages/shortpassword/shortpassword.d.ts +1 -1
- package/dist/types/packages/shortpassword/shortpassword.taro.d.ts +1 -1
- package/dist/types/packages/swiper/index.d.ts +1 -1
- package/dist/types/packages/swiper/index.taro.d.ts +1 -1
- package/dist/types/packages/table/useTableSticky.d.ts +1 -1
- package/dist/types/packages/tabs/tabs.d.ts +1 -1
- package/dist/types/packages/tabs/tabs.taro.d.ts +1 -1
- package/dist/types/packages/timedetail/timedetail.d.ts +1 -1
- package/dist/types/packages/timedetail/timedetail.taro.d.ts +1 -1
- package/dist/types/packages/toast/toast.d.ts +2 -2
- package/dist/types/packages/toast/toast.taro.d.ts +7 -3
- package/dist/types/packages/tour/tour.d.ts +1 -1
- package/dist/types/packages/tour/tour.taro.d.ts +1 -1
- package/package.json +1 -1
package/dist/style.mjs
CHANGED
|
@@ -1344,6 +1344,19 @@ $checkbox-button-disabled-active-color: var(
|
|
|
1344
1344
|
--nutui-checkbox-button-disabled-active-color,
|
|
1345
1345
|
$white
|
|
1346
1346
|
) !default;
|
|
1347
|
+
$checkbox-list-background-color: var(
|
|
1348
|
+
--nutui-checkbox-list-background-color,
|
|
1349
|
+
$white
|
|
1350
|
+
) !default;
|
|
1351
|
+
$checkbox-list-item-border: var(
|
|
1352
|
+
--nutui-checkbox-list-item-border,
|
|
1353
|
+
1px solid $color-border
|
|
1354
|
+
) !default;
|
|
1355
|
+
$checkbox-list-padding: var(--nutui-checkbox-list-padding, 0 0 0 12px) !default;
|
|
1356
|
+
$checkbox-list-item-padding: var(
|
|
1357
|
+
--nutui-checkbox-list-item-padding,
|
|
1358
|
+
12px 12px 12px 0
|
|
1359
|
+
) !default;
|
|
1347
1360
|
|
|
1348
1361
|
//radio(✅)
|
|
1349
1362
|
$radio-icon-font-size: var(
|
|
@@ -582,7 +582,7 @@ $inputnumber-input-width: var(--nutui-inputnumber-input-width, 40px) !default;
|
|
|
582
582
|
$inputnumber-input-height: var(--nutui-inputnumber-input-height, 24px) !default;
|
|
583
583
|
$inputnumber-input-background-color: var(
|
|
584
584
|
--nutui-inputnumber-input-background-color,
|
|
585
|
-
$color-background
|
|
585
|
+
$color-background
|
|
586
586
|
) !default;
|
|
587
587
|
$inputnumber-input-font-color: var(
|
|
588
588
|
--nutui-inputnumber-input-font-color,
|
|
@@ -597,14 +597,11 @@ $inputnumber-input-border-radius: var(
|
|
|
597
597
|
--nutui-inputnumber-input-border-radius,
|
|
598
598
|
6px
|
|
599
599
|
) !default;
|
|
600
|
-
$inputnumber-input-margin: var(
|
|
601
|
-
|
|
602
|
-
0 6px
|
|
603
|
-
) !default;
|
|
604
|
-
$inputnumber-button-width: var(--nutui-inputnumber-button-width, 16px) !default;
|
|
600
|
+
$inputnumber-input-margin: var(--nutui-inputnumber-input-margin, 0) !default;
|
|
601
|
+
$inputnumber-button-width: var(--nutui-inputnumber-button-width, 14px) !default;
|
|
605
602
|
$inputnumber-button-height: var(
|
|
606
603
|
--nutui-inputnumber-button-height,
|
|
607
|
-
|
|
604
|
+
24px
|
|
608
605
|
) !default;
|
|
609
606
|
$inputnumber-button-border-radius: var(
|
|
610
607
|
--nutui-inputnumber-button-border-radius,
|
|
@@ -612,7 +609,7 @@ $inputnumber-button-border-radius: var(
|
|
|
612
609
|
) !default;
|
|
613
610
|
$inputnumber-button-background-color: var(
|
|
614
611
|
--nutui-inputnumber-button-background-color,
|
|
615
|
-
|
|
612
|
+
transparent
|
|
616
613
|
) !default;
|
|
617
614
|
$inputnumber-icon-color: var(
|
|
618
615
|
--nutui-inputnumber-icon-color,
|
|
@@ -1302,6 +1299,19 @@ $checkbox-button-disabled-active-color: var(
|
|
|
1302
1299
|
--nutui-checkbox-button-disabled-active-color,
|
|
1303
1300
|
$white
|
|
1304
1301
|
) !default;
|
|
1302
|
+
$checkbox-list-background-color: var(
|
|
1303
|
+
--nutui-checkbox-list-background-color,
|
|
1304
|
+
$white
|
|
1305
|
+
) !default;
|
|
1306
|
+
$checkbox-list-item-border: var(
|
|
1307
|
+
--nutui-checkbox-list-item-border,
|
|
1308
|
+
1px solid $color-border
|
|
1309
|
+
) !default;
|
|
1310
|
+
$checkbox-list-padding: var(--nutui-checkbox-list-padding, 0 0 0 12px) !default;
|
|
1311
|
+
$checkbox-list-item-padding: var(
|
|
1312
|
+
--nutui-checkbox-list-item-padding,
|
|
1313
|
+
12px 12px 12px 0
|
|
1314
|
+
) !default;
|
|
1305
1315
|
|
|
1306
1316
|
//radio(✅)
|
|
1307
1317
|
$radio-icon-font-size: var(
|
|
@@ -1742,10 +1752,7 @@ $collapse-item-header-border-bottom: var(
|
|
|
1742
1752
|
--nutui-collapse-item-header-border-bottom,
|
|
1743
1753
|
1px solid $color-border
|
|
1744
1754
|
) !default;
|
|
1745
|
-
$collapse-item-padding: var(
|
|
1746
|
-
--nutui-collapse-item-padding,
|
|
1747
|
-
13px 0px 13px 26px
|
|
1748
|
-
) !default;
|
|
1755
|
+
$collapse-item-padding: var(--nutui-collapse-item-padding, 13px 26px) !default;
|
|
1749
1756
|
$collapse-item-color: var(--nutui-collapse-item-color, $color-title) !default;
|
|
1750
1757
|
$collapse-item-disabled-color: var(
|
|
1751
1758
|
--nutui-collapse-item-disabled-color,
|
package/dist/types/index.d.ts
CHANGED
|
@@ -96,102 +96,102 @@ export { TimeSelectProps } from './packages/timeselect/timeselect'
|
|
|
96
96
|
export { TrendArrowProps } from './packages/trendarrow/trendarrow'
|
|
97
97
|
export { WaterMarkProps } from './packages/watermark/watermark'
|
|
98
98
|
export { AvatarCropperProps } from './packages/avatarcropper/avatarcropper'
|
|
99
|
-
import Button from './button';
|
|
100
|
-
import Cell from './cell';
|
|
101
|
-
import CellGroup from './cellgroup';
|
|
102
|
-
import ConfigProvider from './configprovider';
|
|
103
|
-
import Image from './image';
|
|
104
|
-
import Overlay from './overlay';
|
|
105
|
-
import Col from './col';
|
|
106
|
-
import Divider from './divider';
|
|
107
|
-
import Grid from './grid';
|
|
108
|
-
import GridItem from './griditem';
|
|
109
|
-
import Layout from './layout';
|
|
110
|
-
import Row from './row';
|
|
111
|
-
import Space from './space';
|
|
112
|
-
import Sticky from './sticky';
|
|
113
|
-
import SafeArea from './safearea';
|
|
114
|
-
import BackTop from './backtop';
|
|
115
|
-
import Elevator from './elevator';
|
|
116
|
-
import FixedNav from './fixednav';
|
|
117
|
-
import NavBar from './navbar';
|
|
118
|
-
import SideNavBar from './sidenavbar';
|
|
119
|
-
import SideNavBarItem from './sidenavbaritem';
|
|
120
|
-
import SubSideNavBar from './subsidenavbar';
|
|
121
|
-
import Tabbar from './tabbar';
|
|
122
|
-
import TabbarItem from './tabbaritem';
|
|
123
|
-
import TabPane from './tabpane';
|
|
124
|
-
import Tabs from './tabs';
|
|
125
|
-
import Address from './address';
|
|
126
|
-
import Calendar from './calendar';
|
|
127
|
-
import CalendarItem from './calendaritem';
|
|
128
|
-
import CalendarCard from './calendarcard';
|
|
129
|
-
import Cascader from './cascader';
|
|
130
|
-
import Checkbox from './checkbox';
|
|
131
|
-
import CheckboxGroup from './checkboxgroup';
|
|
132
|
-
import DatePicker from './datepicker';
|
|
133
|
-
import Form from './form';
|
|
134
|
-
import FormItem from './formitem';
|
|
135
|
-
import Input from './input';
|
|
136
|
-
import InputNumber from './inputnumber';
|
|
137
|
-
import Menu from './menu';
|
|
138
|
-
import MenuItem from './menuitem';
|
|
139
|
-
import NumberKeyboard from './numberkeyboard';
|
|
140
|
-
import Picker from './picker';
|
|
141
|
-
import Radio from './radio';
|
|
142
|
-
import RadioGroup from './radiogroup';
|
|
143
|
-
import Range from './range';
|
|
144
|
-
import Rate from './rate';
|
|
145
|
-
import SearchBar from './searchbar';
|
|
146
|
-
import ShortPassword from './shortpassword';
|
|
147
|
-
import Signature from './signature';
|
|
148
|
-
import Switch from './switch';
|
|
149
|
-
import TextArea from './textarea';
|
|
150
|
-
import Uploader from './uploader';
|
|
151
|
-
import ActionSheet from './actionsheet';
|
|
152
|
-
import Badge from './badge';
|
|
153
|
-
import Dialog from './dialog';
|
|
154
|
-
import Drag from './drag';
|
|
155
|
-
import Empty from './empty';
|
|
156
|
-
import InfiniteLoading from './infiniteloading';
|
|
157
|
-
import Loading from './loading';
|
|
158
|
-
import NoticeBar from './noticebar';
|
|
159
|
-
import Notify from './notify';
|
|
160
|
-
import Popover from './popover';
|
|
161
|
-
import Popup from './popup';
|
|
162
|
-
import PullToRefresh from './pulltorefresh';
|
|
163
|
-
import Skeleton from './skeleton';
|
|
164
|
-
import Swipe from './swipe';
|
|
165
|
-
import Toast from './toast';
|
|
166
|
-
import Animate from './animate';
|
|
167
|
-
import AnimatingNumbers from './animatingnumbers';
|
|
168
|
-
import Audio from './audio';
|
|
169
|
-
import Avatar from './avatar';
|
|
170
|
-
import AvatarGroup from './avatargroup';
|
|
171
|
-
import CircleProgress from './circleprogress';
|
|
172
|
-
import Collapse from './collapse';
|
|
173
|
-
import CollapseItem from './collapseitem';
|
|
174
|
-
import CountDown from './countdown';
|
|
175
|
-
import Ellipsis from './ellipsis';
|
|
176
|
-
import ImagePreview from './imagepreview';
|
|
177
|
-
import Indicator from './indicator';
|
|
178
|
-
import Pagination from './pagination';
|
|
179
|
-
import Price from './price';
|
|
180
|
-
import Progress from './progress';
|
|
181
|
-
import Step from './step';
|
|
182
|
-
import Steps from './steps';
|
|
183
|
-
import Swiper from './swiper';
|
|
184
|
-
import SwiperItem from './swiperitem';
|
|
185
|
-
import Table from './table';
|
|
186
|
-
import Tag from './tag';
|
|
187
|
-
import Tour from './tour';
|
|
188
|
-
import Video from './video';
|
|
189
|
-
import VirtualList from './virtuallist';
|
|
190
|
-
import Barrage from './barrage';
|
|
191
|
-
import Card from './card';
|
|
192
|
-
import TimeDetail from './timedetail';
|
|
193
|
-
import TimeSelect from './timeselect';
|
|
194
|
-
import TrendArrow from './trendarrow';
|
|
195
|
-
import WaterMark from './watermark';
|
|
196
|
-
import AvatarCropper from './avatarcropper';
|
|
99
|
+
import Button from './packages/button';
|
|
100
|
+
import Cell from './packages/cell';
|
|
101
|
+
import CellGroup from './packages/cellgroup';
|
|
102
|
+
import ConfigProvider from './packages/configprovider';
|
|
103
|
+
import Image from './packages/image';
|
|
104
|
+
import Overlay from './packages/overlay';
|
|
105
|
+
import Col from './packages/col';
|
|
106
|
+
import Divider from './packages/divider';
|
|
107
|
+
import Grid from './packages/grid';
|
|
108
|
+
import GridItem from './packages/griditem';
|
|
109
|
+
import Layout from './packages/layout';
|
|
110
|
+
import Row from './packages/row';
|
|
111
|
+
import Space from './packages/space';
|
|
112
|
+
import Sticky from './packages/sticky';
|
|
113
|
+
import SafeArea from './packages/safearea';
|
|
114
|
+
import BackTop from './packages/backtop';
|
|
115
|
+
import Elevator from './packages/elevator';
|
|
116
|
+
import FixedNav from './packages/fixednav';
|
|
117
|
+
import NavBar from './packages/navbar';
|
|
118
|
+
import SideNavBar from './packages/sidenavbar';
|
|
119
|
+
import SideNavBarItem from './packages/sidenavbaritem';
|
|
120
|
+
import SubSideNavBar from './packages/subsidenavbar';
|
|
121
|
+
import Tabbar from './packages/tabbar';
|
|
122
|
+
import TabbarItem from './packages/tabbaritem';
|
|
123
|
+
import TabPane from './packages/tabpane';
|
|
124
|
+
import Tabs from './packages/tabs';
|
|
125
|
+
import Address from './packages/address';
|
|
126
|
+
import Calendar from './packages/calendar';
|
|
127
|
+
import CalendarItem from './packages/calendaritem';
|
|
128
|
+
import CalendarCard from './packages/calendarcard';
|
|
129
|
+
import Cascader from './packages/cascader';
|
|
130
|
+
import Checkbox from './packages/checkbox';
|
|
131
|
+
import CheckboxGroup from './packages/checkboxgroup';
|
|
132
|
+
import DatePicker from './packages/datepicker';
|
|
133
|
+
import Form from './packages/form';
|
|
134
|
+
import FormItem from './packages/formitem';
|
|
135
|
+
import Input from './packages/input';
|
|
136
|
+
import InputNumber from './packages/inputnumber';
|
|
137
|
+
import Menu from './packages/menu';
|
|
138
|
+
import MenuItem from './packages/menuitem';
|
|
139
|
+
import NumberKeyboard from './packages/numberkeyboard';
|
|
140
|
+
import Picker from './packages/picker';
|
|
141
|
+
import Radio from './packages/radio';
|
|
142
|
+
import RadioGroup from './packages/radiogroup';
|
|
143
|
+
import Range from './packages/range';
|
|
144
|
+
import Rate from './packages/rate';
|
|
145
|
+
import SearchBar from './packages/searchbar';
|
|
146
|
+
import ShortPassword from './packages/shortpassword';
|
|
147
|
+
import Signature from './packages/signature';
|
|
148
|
+
import Switch from './packages/switch';
|
|
149
|
+
import TextArea from './packages/textarea';
|
|
150
|
+
import Uploader from './packages/uploader';
|
|
151
|
+
import ActionSheet from './packages/actionsheet';
|
|
152
|
+
import Badge from './packages/badge';
|
|
153
|
+
import Dialog from './packages/dialog';
|
|
154
|
+
import Drag from './packages/drag';
|
|
155
|
+
import Empty from './packages/empty';
|
|
156
|
+
import InfiniteLoading from './packages/infiniteloading';
|
|
157
|
+
import Loading from './packages/loading';
|
|
158
|
+
import NoticeBar from './packages/noticebar';
|
|
159
|
+
import Notify from './packages/notify';
|
|
160
|
+
import Popover from './packages/popover';
|
|
161
|
+
import Popup from './packages/popup';
|
|
162
|
+
import PullToRefresh from './packages/pulltorefresh';
|
|
163
|
+
import Skeleton from './packages/skeleton';
|
|
164
|
+
import Swipe from './packages/swipe';
|
|
165
|
+
import Toast from './packages/toast';
|
|
166
|
+
import Animate from './packages/animate';
|
|
167
|
+
import AnimatingNumbers from './packages/animatingnumbers';
|
|
168
|
+
import Audio from './packages/audio';
|
|
169
|
+
import Avatar from './packages/avatar';
|
|
170
|
+
import AvatarGroup from './packages/avatargroup';
|
|
171
|
+
import CircleProgress from './packages/circleprogress';
|
|
172
|
+
import Collapse from './packages/collapse';
|
|
173
|
+
import CollapseItem from './packages/collapseitem';
|
|
174
|
+
import CountDown from './packages/countdown';
|
|
175
|
+
import Ellipsis from './packages/ellipsis';
|
|
176
|
+
import ImagePreview from './packages/imagepreview';
|
|
177
|
+
import Indicator from './packages/indicator';
|
|
178
|
+
import Pagination from './packages/pagination';
|
|
179
|
+
import Price from './packages/price';
|
|
180
|
+
import Progress from './packages/progress';
|
|
181
|
+
import Step from './packages/step';
|
|
182
|
+
import Steps from './packages/steps';
|
|
183
|
+
import Swiper from './packages/swiper';
|
|
184
|
+
import SwiperItem from './packages/swiperitem';
|
|
185
|
+
import Table from './packages/table';
|
|
186
|
+
import Tag from './packages/tag';
|
|
187
|
+
import Tour from './packages/tour';
|
|
188
|
+
import Video from './packages/video';
|
|
189
|
+
import VirtualList from './packages/virtuallist';
|
|
190
|
+
import Barrage from './packages/barrage';
|
|
191
|
+
import Card from './packages/card';
|
|
192
|
+
import TimeDetail from './packages/timedetail';
|
|
193
|
+
import TimeSelect from './packages/timeselect';
|
|
194
|
+
import TrendArrow from './packages/trendarrow';
|
|
195
|
+
import WaterMark from './packages/watermark';
|
|
196
|
+
import AvatarCropper from './packages/avatarcropper';
|
|
197
197
|
export { Button, Cell, CellGroup, ConfigProvider, Image, Overlay, Col, Divider, Grid, GridItem, Layout, Row, Space, Sticky, SafeArea, BackTop, Elevator, FixedNav, NavBar, SideNavBar, SideNavBarItem, SubSideNavBar, Tabbar, TabbarItem, TabPane, Tabs, Address, Calendar, CalendarItem, CalendarCard, Cascader, Checkbox, CheckboxGroup, DatePicker, Form, FormItem, Input, InputNumber, Menu, MenuItem, NumberKeyboard, Picker, Radio, RadioGroup, Range, Rate, SearchBar, ShortPassword, Signature, Switch, TextArea, Uploader, ActionSheet, Badge, Dialog, Drag, Empty, InfiniteLoading, Loading, NoticeBar, Notify, Popover, Popup, PullToRefresh, Skeleton, Swipe, Toast, Animate, AnimatingNumbers, Audio, Avatar, AvatarGroup, CircleProgress, Collapse, CollapseItem, CountDown, Ellipsis, ImagePreview, Indicator, Pagination, Price, Progress, Step, Steps, Swiper, SwiperItem, Table, Tag, Tour, Video, VirtualList, Barrage, Card, TimeDetail, TimeSelect, TrendArrow, WaterMark, AvatarCropper };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { ForwardRefRenderFunction } from 'react';
|
|
2
2
|
import { AddressList } from './types';
|
|
3
|
-
import { CascaderOption, CascaderOptionKey, CascaderProps, CascaderValue } from '
|
|
3
|
+
import { CascaderOption, CascaderOptionKey, CascaderProps, CascaderValue } from '../../packages/cascader/index';
|
|
4
4
|
type AddressRef = {
|
|
5
5
|
open: () => void;
|
|
6
6
|
close: () => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { AddressList } from './types';
|
|
3
|
-
import { CascaderOption, CascaderOptionKey, CascaderProps, CascaderValue } from '
|
|
3
|
+
import { CascaderOption, CascaderOptionKey, CascaderProps, CascaderValue } from '../../packages/cascader/index.taro';
|
|
4
4
|
type AddressRef = {
|
|
5
5
|
open: () => void;
|
|
6
6
|
close: () => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { FunctionComponent } from 'react';
|
|
2
|
-
import { CascaderProps, CascaderOption, CascaderValue, CascaderOptionKey } from '
|
|
2
|
+
import { CascaderProps, CascaderOption, CascaderValue, CascaderOptionKey } from '../../packages/cascader/index';
|
|
3
3
|
export interface AddressProps extends CascaderProps {
|
|
4
4
|
visible: boolean;
|
|
5
5
|
type: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { FunctionComponent } from 'react';
|
|
2
|
-
import { CascaderProps, CascaderOption, CascaderValue, CascaderOptionKey } from '
|
|
2
|
+
import { CascaderProps, CascaderOption, CascaderValue, CascaderOptionKey } from '../../packages/cascader/index.taro';
|
|
3
3
|
export interface AddressProps extends CascaderProps {
|
|
4
4
|
visible: boolean;
|
|
5
5
|
type: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { FunctionComponent } from 'react';
|
|
2
2
|
import type { MouseEvent } from 'react';
|
|
3
3
|
import { BasicComponent } from '../../utils/typings';
|
|
4
|
-
import AvatarGroup from '
|
|
4
|
+
import AvatarGroup from '../../packages/avatargroup';
|
|
5
5
|
export interface AvatarProps extends BasicComponent {
|
|
6
6
|
/**
|
|
7
7
|
* 设置头像的大小
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { FunctionComponent } from 'react';
|
|
2
2
|
import type { MouseEvent } from 'react';
|
|
3
3
|
import { BasicComponent } from '../../utils/typings';
|
|
4
|
-
import AvatarGroup from '
|
|
4
|
+
import AvatarGroup from '../../packages/avatargroup/index.taro';
|
|
5
5
|
export interface AvatarProps extends BasicComponent {
|
|
6
6
|
size: string;
|
|
7
7
|
icon: React.ReactNode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
|
-
import { PopupProps } from '
|
|
2
|
+
import { PopupProps } from '../../packages/popup/index';
|
|
3
3
|
import { Day, InputDate, SelectedType } from '../calendar/types';
|
|
4
4
|
type CalendarRef = {
|
|
5
5
|
scrollToDate: (date: string) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
|
-
import { PopupProps } from '
|
|
2
|
+
import { PopupProps } from '../../packages/popup/index.taro';
|
|
3
3
|
import { Day, InputDate, SelectedType } from '../calendar/types';
|
|
4
4
|
type CalendarRef = {
|
|
5
5
|
scrollToDate: (date: string) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
|
-
import { PopupProps } from '
|
|
2
|
+
import { PopupProps } from '../../packages/popup/popup';
|
|
3
3
|
import { CascaderOption, CascaderValue, CascaderOptionKey } from './types';
|
|
4
4
|
export interface CascaderProps extends Pick<PopupProps, 'className' | 'style' | 'closeIcon' | 'closeable' | 'title' | 'left' | 'closeIconPosition' | 'onClose'> {
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
|
-
import { PopupProps } from '
|
|
2
|
+
import { PopupProps } from '../../packages/popup/popup.taro';
|
|
3
3
|
import { CascaderOption, CascaderValue, CascaderOptionKey } from './types';
|
|
4
4
|
export interface CascaderProps extends Pick<PopupProps, 'className' | 'style' | 'closeIcon' | 'closeable' | 'title' | 'left' | 'closeIconPosition' | 'onClose'> {
|
|
5
5
|
popup: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { FunctionComponent, ReactNode } from 'react';
|
|
2
2
|
import { BasicComponent } from '../../utils/typings';
|
|
3
|
-
import CellGroup from '
|
|
3
|
+
import CellGroup from '../../packages/cellgroup';
|
|
4
4
|
export interface CellProps extends BasicComponent {
|
|
5
5
|
/**
|
|
6
6
|
* 标题
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { FunctionComponent, ReactNode } from 'react';
|
|
2
2
|
import { BasicComponent } from '../../utils/typings';
|
|
3
|
-
import { CellGroup } from '
|
|
3
|
+
import { CellGroup } from '../../packages/cellgroup/cellgroup.taro';
|
|
4
4
|
export interface CellProps extends BasicComponent {
|
|
5
5
|
title: ReactNode;
|
|
6
6
|
description: ReactNode;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { FunctionComponent, ReactNode } from 'react';
|
|
2
|
-
import CheckboxGroup from '
|
|
2
|
+
import CheckboxGroup from '../../packages/checkboxgroup';
|
|
3
3
|
import { BasicComponent } from '../../utils/typings';
|
|
4
|
-
import { CheckboxLabelPosition } from '
|
|
4
|
+
import { CheckboxLabelPosition } from '../../packages/checkboxgroup/types';
|
|
5
5
|
export type CheckboxShape = 'button' | 'round';
|
|
6
6
|
export interface CheckboxProps extends BasicComponent {
|
|
7
7
|
checked: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { FunctionComponent, ReactNode } from 'react';
|
|
2
|
-
import CheckboxGroup from '
|
|
2
|
+
import CheckboxGroup from '../../packages/checkboxgroup/index.taro';
|
|
3
3
|
import { BasicComponent } from '../../utils/typings';
|
|
4
|
-
import { CheckboxLabelPosition } from '
|
|
4
|
+
import { CheckboxLabelPosition } from '../../packages/checkboxgroup/types';
|
|
5
5
|
export type CheckboxShape = 'button' | 'round';
|
|
6
6
|
export interface CheckboxProps extends BasicComponent {
|
|
7
7
|
checked: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { RadioGroupOptionType } from '
|
|
3
|
-
import { CheckboxDirection, CheckboxLabelPosition, CheckboxLimit } from '
|
|
2
|
+
import { RadioGroupOptionType } from '../../packages/radiogroup/types';
|
|
3
|
+
import { CheckboxDirection, CheckboxLabelPosition, CheckboxLimit } from '../../packages/checkboxgroup/types';
|
|
4
4
|
export interface CheckboxGroupProps {
|
|
5
5
|
/**
|
|
6
6
|
* 是否禁用选择,将用于其下的全部复选框
|
|
@@ -17,6 +17,7 @@ export interface CheckboxGroupProps {
|
|
|
17
17
|
* @default -
|
|
18
18
|
*/
|
|
19
19
|
defaultValue?: string[]
|
|
20
|
+
list: boolean;
|
|
20
21
|
/**
|
|
21
22
|
* 限制最大可选数
|
|
22
23
|
* @default -
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { RadioGroupOptionType } from '
|
|
3
|
-
import { CheckboxDirection, CheckboxLabelPosition, CheckboxLimit } from '
|
|
2
|
+
import { RadioGroupOptionType } from '../../packages/radiogroup/types';
|
|
3
|
+
import { CheckboxDirection, CheckboxLabelPosition, CheckboxLimit } from '../../packages/checkboxgroup/types';
|
|
4
4
|
export interface CheckboxGroupProps {
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
value?: string[];
|
|
7
7
|
defaultValue?: string[];
|
|
8
|
+
list: boolean;
|
|
8
9
|
max: number | undefined;
|
|
9
10
|
min: number | undefined;
|
|
10
11
|
labelPosition: CheckboxLabelPosition;
|
|
@@ -3,6 +3,7 @@ import { CheckboxLimit, CheckboxLabelPosition } from './types';
|
|
|
3
3
|
declare const CheckboxGroupContext: import("react").Context<{
|
|
4
4
|
labelPosition: CheckboxLabelPosition;
|
|
5
5
|
disabled: boolean | undefined;
|
|
6
|
+
list: boolean;
|
|
6
7
|
value: string[];
|
|
7
8
|
max: number | undefined;
|
|
8
9
|
check: (value: string) => void;
|