@nutui/nutui-react-taro 1.3.12 → 1.3.13
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 +14 -0
- package/dist/esm/Address.js +5 -5
- package/dist/esm/Audio.js +5 -5
- package/dist/esm/AvatarGroup.js +4 -4
- package/dist/esm/Calendar.js +5 -5
- package/dist/esm/CalendarItem.js +4 -4
- package/dist/esm/Cascader.js +2 -2
- package/dist/esm/Cell.js +2 -2
- package/dist/esm/ConfigProvider.js +3 -3
- package/dist/esm/CountDown.js +4 -4
- package/dist/esm/DatePicker.js +5 -5
- package/dist/esm/Dialog.js +4 -4
- package/dist/esm/Empty.js +4 -4
- package/dist/esm/FixedNav.js +4 -4
- package/dist/esm/Form.js +4 -4
- package/dist/esm/Grid.js +4 -4
- package/dist/esm/GridItem.js +4 -4
- package/dist/esm/Image/style/index.js +2 -0
- package/dist/esm/Image.js +8 -0
- package/dist/esm/Infiniteloading.js +4 -4
- package/dist/esm/Input.js +4 -4
- package/dist/esm/MenuItem.js +4 -4
- package/dist/esm/NumberKeyboard.js +4 -4
- package/dist/esm/Pagination.js +4 -4
- package/dist/esm/Picker.js +4 -4
- package/dist/esm/PullToRefresh.js +4 -4
- package/dist/esm/Range.js +4 -4
- package/dist/esm/SearchBar.js +4 -4
- package/dist/esm/ShortPassword.js +4 -4
- package/dist/esm/SideNavBar.js +4 -4
- package/dist/esm/Signature.js +4 -4
- package/dist/esm/Sticky.js +4 -4
- package/dist/esm/Table.js +4 -4
- package/dist/esm/TextArea.js +4 -4
- package/dist/esm/TimeDetail.js +4 -4
- package/dist/esm/TimePannel.js +4 -4
- package/dist/esm/TimeSelect.js +6 -6
- package/dist/esm/TrendArrow/style/index.js +2 -0
- package/dist/esm/TrendArrow.js +6 -0
- package/dist/esm/Uploader.js +4 -4
- package/dist/esm/VirtualList.js +4 -4
- package/dist/esm/WaterMark/style/index.js +2 -0
- package/dist/esm/WaterMark.js +9 -0
- package/dist/esm/{address.taro-8d642b4a.js → address.taro-5e5bdac3.js} +2 -2
- package/dist/esm/{audio.taro-6920085d.js → audio.taro-ba2f6d01.js} +2 -2
- package/dist/esm/{avatargroup-5b2584d9.js → avatargroup-94384671.js} +1 -1
- package/dist/esm/{calendar.taro-0a8cbd0c.js → calendar.taro-355827c6.js} +2 -2
- package/dist/esm/{calendaritem.taro-3a12e7f2.js → calendaritem.taro-45d428b9.js} +1 -1
- package/dist/esm/{cascader.taro-8c9891b4.js → cascader.taro-459f7d45.js} +13 -2
- package/dist/esm/{cell.taro-1f034402.js → cell.taro-cf50c4f2.js} +7 -5
- package/dist/esm/{configprovider-3e87d67a.js → configprovider-c5b2fa7f.js} +1 -1
- package/dist/esm/{configprovider.taro-6c7b3056.js → configprovider.taro-3838604b.js} +1 -1
- package/dist/esm/{countdown.taro-f2d9ffed.js → countdown.taro-c9a93845.js} +1 -1
- package/dist/esm/{datepicker.taro-9f8afe51.js → datepicker.taro-4a3249c6.js} +1 -1
- package/dist/esm/{dialog.taro-17e19e5e.js → dialog.taro-78bb9f20.js} +1 -1
- package/dist/esm/{empty.taro-ab9c4f03.js → empty.taro-b69b51fb.js} +1 -1
- package/dist/esm/{fixednav.taro-582322a1.js → fixednav.taro-7f01a850.js} +1 -1
- package/dist/esm/{form.taro-e086758a.js → form.taro-111f816d.js} +1 -1
- package/dist/esm/{grid.taro-5d75c0ad.js → grid.taro-d244170c.js} +1 -1
- package/dist/esm/{griditem.taro-ca62dbb5.js → griditem.taro-f7ee189b.js} +1 -1
- package/dist/esm/image.taro-3464cdbe.js +105 -0
- package/dist/esm/{infiniteloading.taro-9701755f.js → infiniteloading.taro-b2f06309.js} +1 -1
- package/dist/esm/{input.taro-14380bc6.js → input.taro-63918b1f.js} +1 -1
- package/dist/esm/{menuitem.taro-bb55f482.js → menuitem.taro-f110c04a.js} +1 -1
- package/dist/esm/{numberkeyboard.taro-53c350b8.js → numberkeyboard.taro-8ff8d319.js} +1 -1
- package/dist/esm/nutui-react.es.js +41 -38
- package/dist/esm/{pagination.taro-62bbd23f.js → pagination.taro-6fbed587.js} +1 -1
- package/dist/esm/{picker.taro-f003b725.js → picker.taro-715409a3.js} +1 -1
- package/dist/esm/{pulltorefresh.taro-fe2fa54c.js → pulltorefresh.taro-92ad45af.js} +1 -1
- package/dist/esm/{range.taro-4e5f8f31.js → range.taro-062fc2f0.js} +1 -1
- package/dist/esm/{searchbar.taro-0d3c0081.js → searchbar.taro-7347bd21.js} +1 -1
- package/dist/esm/{shortpassword.taro-2e96ca22.js → shortpassword.taro-e75c0b88.js} +1 -1
- package/dist/esm/{sidenavbar.taro-4297f552.js → sidenavbar.taro-8e999f21.js} +1 -1
- package/dist/esm/{signature.taro-6589435b.js → signature.taro-a4f4b45a.js} +1 -1
- package/dist/esm/{sticky.taro-30d4e453.js → sticky.taro-f35f365b.js} +1 -1
- package/dist/esm/{table.taro-7ac89a6c.js → table.taro-96be07f2.js} +1 -1
- package/dist/esm/{textarea.taro-e1bf7f4d.js → textarea.taro-b5fc010b.js} +1 -1
- package/dist/esm/{timedetail.taro-519808cf.js → timedetail.taro-d5b32ecb.js} +1 -1
- package/dist/esm/{timepannel.taro-9904f6e6.js → timepannel.taro-38ff5c77.js} +1 -1
- package/dist/esm/{timeselect.taro-8c4439a8.js → timeselect.taro-f3972356.js} +3 -3
- package/dist/esm/trendarrow.taro-5a7153e4.js +100 -0
- package/dist/esm/types/src/locales/base.d.ts +3 -0
- package/dist/esm/types/src/packages/address/address.d.ts +2 -2
- package/dist/esm/types/src/packages/address/address.taro.d.ts +2 -2
- package/dist/esm/types/src/packages/audio/audio.d.ts +2 -2
- package/dist/esm/types/src/packages/audio/audio.taro.d.ts +2 -2
- package/dist/esm/types/src/packages/avatar/avatar.d.ts +2 -2
- package/dist/esm/types/src/packages/avatar/avatar.taro.d.ts +2 -2
- package/dist/esm/types/src/packages/backtop/backtop.d.ts +2 -2
- package/dist/esm/types/src/packages/backtop/backtop.taro.d.ts +2 -2
- package/dist/esm/types/src/packages/badge/badge.d.ts +2 -2
- package/dist/esm/types/src/packages/badge/badge.taro.d.ts +2 -2
- package/dist/esm/types/src/packages/button/button.d.ts +2 -2
- package/dist/esm/types/src/packages/button/button.taro.d.ts +2 -2
- package/dist/esm/types/src/packages/cascader/cascader.d.ts +2 -0
- package/dist/esm/types/src/packages/cascader/cascader.taro.d.ts +2 -0
- package/dist/esm/types/src/packages/cascader/cascaderItem.d.ts +1 -0
- package/dist/esm/types/src/packages/cascader/cascaderItem.taro.d.ts +1 -0
- package/dist/esm/types/src/packages/cell/cell.d.ts +2 -2
- package/dist/esm/types/src/packages/cell/cell.taro.d.ts +2 -2
- package/dist/esm/types/src/packages/checkbox/checkbox.d.ts +2 -2
- package/dist/esm/types/src/packages/checkbox/checkbox.taro.d.ts +2 -2
- package/dist/esm/types/src/packages/circleprogress/circleprogress.d.ts +1 -1
- package/dist/esm/types/src/packages/circleprogress/circleprogress.taro.d.ts +1 -1
- package/dist/esm/types/src/packages/collapseitem/collapseitem.d.ts +2 -2
- package/dist/esm/types/src/packages/dialog/config.d.ts +3 -3
- package/dist/esm/types/src/packages/dialog/dialog.d.ts +2 -2
- package/dist/esm/types/src/packages/dialog/dialog.taro.d.ts +2 -2
- package/dist/esm/types/src/packages/fixednav/fixednav.d.ts +2 -2
- package/dist/esm/types/src/packages/fixednav/fixednav.taro.d.ts +2 -2
- package/dist/esm/types/src/packages/form/form.d.ts +2 -2
- package/dist/esm/types/src/packages/formitem/formitem.d.ts +2 -2
- package/dist/esm/types/src/packages/griditem/griditem.d.ts +2 -2
- package/dist/esm/types/src/packages/griditem/griditem.taro.d.ts +2 -2
- package/dist/esm/types/src/packages/image/__test__/image.spec.d.ts +1 -0
- package/dist/esm/types/src/packages/image/demo.d.ts +3 -0
- package/dist/esm/types/src/packages/image/image.d.ts +23 -0
- package/dist/esm/types/src/packages/image/image.taro.d.ts +23 -0
- package/dist/esm/types/src/packages/image/index.d.ts +2 -0
- package/dist/esm/types/src/packages/image/index.taro.d.ts +2 -0
- package/dist/esm/types/src/packages/infiniteloading/infiniteloading.d.ts +2 -2
- package/dist/esm/types/src/packages/infiniteloading/infiniteloading.taro.d.ts +2 -2
- package/dist/esm/types/src/packages/input/input.d.ts +2 -2
- package/dist/esm/types/src/packages/input/input.taro.d.ts +2 -2
- package/dist/esm/types/src/packages/inputnumber/inputnumber.d.ts +2 -2
- package/dist/esm/types/src/packages/inputnumber/inputnumber.taro.d.ts +2 -2
- package/dist/esm/types/src/packages/menu/menu.d.ts +2 -2
- package/dist/esm/types/src/packages/menu/menu.taro.d.ts +2 -2
- package/dist/esm/types/src/packages/menuitem/menuitem.d.ts +2 -2
- package/dist/esm/types/src/packages/menuitem/menuitem.taro.d.ts +2 -2
- package/dist/esm/types/src/packages/navbar/navbar.d.ts +2 -2
- package/dist/esm/types/src/packages/navbar/navbar.taro.d.ts +2 -2
- package/dist/esm/types/src/packages/noticebar/noticebar.d.ts +2 -2
- package/dist/esm/types/src/packages/noticebar/noticebar.taro.d.ts +2 -2
- package/dist/esm/types/src/packages/nutui.react.build.d.ts +4 -1
- package/dist/esm/types/src/packages/nutui.react.d.ts +7 -1
- package/dist/esm/types/src/packages/nutui.react.scss.d.ts +3 -0
- package/dist/esm/types/src/packages/nutui.react.taro.d.ts +7 -1
- package/dist/esm/types/src/packages/nutui.react.taro.scss.d.ts +3 -0
- package/dist/esm/types/src/packages/nutui.taro.react.build.d.ts +4 -1
- package/dist/esm/types/src/packages/picker/pickerSlot.d.ts +2 -2
- package/dist/esm/types/src/packages/picker/pickerSlot.taro.d.ts +2 -2
- package/dist/esm/types/src/packages/popover/popover.d.ts +2 -2
- package/dist/esm/types/src/packages/popover/popover.taro.d.ts +2 -2
- package/dist/esm/types/src/packages/popup/popup.d.ts +2 -2
- package/dist/esm/types/src/packages/popup/popup.taro.d.ts +2 -2
- package/dist/esm/types/src/packages/progress/progress.d.ts +2 -2
- package/dist/esm/types/src/packages/progress/progress.taro.d.ts +2 -2
- package/dist/esm/types/src/packages/radio/radio.d.ts +2 -2
- package/dist/esm/types/src/packages/radio/radio.taro.d.ts +2 -2
- package/dist/esm/types/src/packages/rate/rate.d.ts +2 -2
- package/dist/esm/types/src/packages/rate/rate.taro.d.ts +2 -2
- package/dist/esm/types/src/packages/searchbar/searchbar.d.ts +2 -2
- package/dist/esm/types/src/packages/searchbar/searchbar.taro.d.ts +2 -2
- package/dist/esm/types/src/packages/shortpassword/shortpassword.d.ts +2 -2
- package/dist/esm/types/src/packages/shortpassword/shortpassword.taro.d.ts +2 -2
- package/dist/esm/types/src/packages/step/step.d.ts +2 -2
- package/dist/esm/types/src/packages/step/step.taro.d.ts +2 -2
- package/dist/esm/types/src/packages/sticky/sticky.d.ts +2 -2
- package/dist/esm/types/src/packages/tabbaritem/tabbaritem.d.ts +2 -2
- package/dist/esm/types/src/packages/tabbaritem/tabbaritem.taro.d.ts +2 -2
- package/dist/esm/types/src/packages/table/table.d.ts +2 -2
- package/dist/esm/types/src/packages/table/table.taro.d.ts +2 -2
- package/dist/esm/types/src/packages/table/types.d.ts +2 -2
- package/dist/esm/types/src/packages/tabs/tabs.d.ts +2 -2
- package/dist/esm/types/src/packages/tabs/tabs.taro.d.ts +2 -2
- package/dist/esm/types/src/packages/tag/tag.d.ts +2 -2
- package/dist/esm/types/src/packages/tag/tag.taro.d.ts +2 -2
- package/dist/esm/types/src/packages/trendarrow/__test__/trendarrow.spec.d.ts +1 -0
- package/dist/esm/types/src/packages/trendarrow/demo.d.ts +4 -0
- package/dist/esm/types/src/packages/trendarrow/index.d.ts +2 -0
- package/dist/esm/types/src/packages/trendarrow/index.taro.d.ts +2 -0
- package/dist/esm/types/src/packages/trendarrow/trendarrow.d.ts +18 -0
- package/dist/esm/types/src/packages/trendarrow/trendarrow.taro.d.ts +18 -0
- package/dist/esm/types/src/packages/uploader/uploader.d.ts +2 -2
- package/dist/esm/types/src/packages/uploader/uploader.taro.d.ts +2 -2
- package/dist/esm/types/src/packages/virtuallist/type.d.ts +1 -1
- package/dist/esm/types/src/packages/virtuallist/utils.d.ts +1 -1
- package/dist/esm/types/src/packages/virtuallist/virtuallist.d.ts +2 -2
- package/dist/esm/types/src/packages/virtuallist/virtuallist.taro.d.ts +2 -2
- package/dist/esm/types/src/packages/watermark/__tests__/watermark.spec.d.ts +2 -0
- package/dist/esm/types/src/packages/watermark/demo.d.ts +4 -0
- package/dist/esm/types/src/packages/watermark/index.d.ts +2 -0
- package/dist/esm/types/src/packages/watermark/index.taro.d.ts +2 -0
- package/dist/esm/types/src/packages/watermark/watermark.d.ts +22 -0
- package/dist/esm/types/src/packages/watermark/watermark.taro.d.ts +22 -0
- package/dist/esm/types/src/utils/typings.d.ts +1 -1
- package/dist/esm/{uploader.taro-2e16bff6.js → uploader.taro-568b7ab5.js} +1 -1
- package/dist/esm/{virtuallist.taro-e3035825.js → virtuallist.taro-f97ca13a.js} +1 -1
- package/dist/esm/watermark.taro-7aab4afb.js +120 -0
- package/dist/esm/{zh-CN-14165629.js → zh-CN-dfc384d0.js} +3 -0
- package/dist/locales/base.d.ts +3 -0
- package/dist/locales/base.js +1 -1
- package/dist/locales/en-US.js +4 -1
- package/dist/locales/id-ID.js +4 -1
- package/dist/locales/zh-CN.js +4 -1
- package/dist/locales/zh-TW.js +4 -1
- package/dist/nutui.react.es.js +557 -248
- package/dist/nutui.react.umd.js +559 -247
- package/dist/packages/cascader/cascader.scss +1 -1
- package/dist/packages/image/image.scss +51 -0
- package/dist/packages/trendarrow/trendarrow.scss +17 -0
- package/dist/packages/watermark/watermark.scss +13 -0
- package/dist/style.css +1 -1
- package/dist/style.es.js +1 -1
- package/dist/styles/font/config.json +4 -2
- package/dist/styles/font/demo_index.html +51 -5
- package/dist/styles/font/iconfont.css +11 -3
- package/dist/styles/font/iconfont.js +65 -62
- package/dist/styles/font/iconfont.json +14 -0
- package/dist/styles/font/iconfont.ttf +0 -0
- package/dist/styles/font/iconfont.woff +0 -0
- package/dist/styles/font/iconfont.woff2 +0 -0
- package/dist/styles/themes/default.scss +3 -0
- package/dist/styles/variables.scss +4 -0
- package/dist/types/index.d.ts +110 -42
- package/dist/types/nutui.taro.react.build.ts +7 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { CSSProperties, FunctionComponent, HTMLInputTypeAttribute } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { BasicComponent } from '@/utils/typings';
|
|
3
3
|
export declare type InputAlignType = 'left' | 'center' | 'right';
|
|
4
4
|
export declare type InputFormatTrigger = 'onChange' | 'onBlur';
|
|
5
5
|
export declare type InputType = HTMLInputTypeAttribute;
|
|
@@ -9,7 +9,7 @@ export declare type InputRule = {
|
|
|
9
9
|
required?: boolean;
|
|
10
10
|
};
|
|
11
11
|
export declare type ConfirmTextType = 'send' | 'search' | 'next' | 'go' | 'done';
|
|
12
|
-
export interface InputProps extends
|
|
12
|
+
export interface InputProps extends BasicComponent {
|
|
13
13
|
type: InputType;
|
|
14
14
|
name: string;
|
|
15
15
|
defaultValue: any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { CSSProperties, FunctionComponent, HTMLInputTypeAttribute } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { BasicComponent } from '@/utils/typings';
|
|
3
3
|
export declare type InputAlignType = 'left' | 'center' | 'right';
|
|
4
4
|
export declare type InputFormatTrigger = 'onChange' | 'onBlur';
|
|
5
5
|
export declare type InputType = HTMLInputTypeAttribute;
|
|
@@ -9,7 +9,7 @@ export declare type InputRule = {
|
|
|
9
9
|
required?: boolean;
|
|
10
10
|
};
|
|
11
11
|
export declare type ConfirmTextType = 'send' | 'search' | 'next' | 'go' | 'done';
|
|
12
|
-
export interface InputProps extends
|
|
12
|
+
export interface InputProps extends BasicComponent {
|
|
13
13
|
type: InputType;
|
|
14
14
|
name: string;
|
|
15
15
|
defaultValue: any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { FunctionComponent, ChangeEvent, FocusEvent } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export interface InputNumberProps extends
|
|
2
|
+
import { BasicComponent } from '@/utils/typings';
|
|
3
|
+
export interface InputNumberProps extends BasicComponent {
|
|
4
4
|
disabled: boolean;
|
|
5
5
|
buttonSize: string | number;
|
|
6
6
|
min: string | number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { FunctionComponent, ChangeEvent, FocusEvent } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export interface InputNumberProps extends
|
|
2
|
+
import { BasicComponent } from '@/utils/typings';
|
|
3
|
+
export interface InputNumberProps extends BasicComponent {
|
|
4
4
|
disabled: boolean;
|
|
5
5
|
buttonSize: string | number;
|
|
6
6
|
min: string | number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { FunctionComponent } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export interface MenuProps extends
|
|
2
|
+
import { BasicComponent } from '@/utils/typings';
|
|
3
|
+
export interface MenuProps extends BasicComponent {
|
|
4
4
|
className: string;
|
|
5
5
|
style: React.CSSProperties;
|
|
6
6
|
activeColor: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { FunctionComponent } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export interface MenuProps extends
|
|
2
|
+
import { BasicComponent } from '@/utils/typings';
|
|
3
|
+
export interface MenuProps extends BasicComponent {
|
|
4
4
|
className: string;
|
|
5
5
|
style: React.CSSProperties;
|
|
6
6
|
activeColor: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { BasicComponent } from '@/utils/typings';
|
|
3
3
|
export interface OptionItem {
|
|
4
4
|
text: string;
|
|
5
5
|
value: string | number;
|
|
6
6
|
}
|
|
7
|
-
export interface MenuItemProps extends
|
|
7
|
+
export interface MenuItemProps extends BasicComponent {
|
|
8
8
|
className: string;
|
|
9
9
|
style: React.CSSProperties;
|
|
10
10
|
title: React.ReactNode;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { BasicComponent } from '@/utils/typings';
|
|
3
3
|
export interface OptionItem {
|
|
4
4
|
text: string;
|
|
5
5
|
value: string | number;
|
|
6
6
|
}
|
|
7
|
-
export interface MenuItemProps extends
|
|
7
|
+
export interface MenuItemProps extends BasicComponent {
|
|
8
8
|
className: string;
|
|
9
9
|
style: React.CSSProperties;
|
|
10
10
|
title: React.ReactNode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { FunctionComponent } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export interface NavBarProps extends
|
|
2
|
+
import { BasicComponent } from '@/utils/typings';
|
|
3
|
+
export interface NavBarProps extends BasicComponent {
|
|
4
4
|
leftShow: boolean;
|
|
5
5
|
title: string;
|
|
6
6
|
titIcon: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { FunctionComponent } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export interface NavBarProps extends
|
|
2
|
+
import { BasicComponent } from '@/utils/typings';
|
|
3
|
+
export interface NavBarProps extends BasicComponent {
|
|
4
4
|
leftShow: boolean;
|
|
5
5
|
title: string;
|
|
6
6
|
titIcon: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { FunctionComponent, CSSProperties } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export interface NoticeBarProps extends
|
|
2
|
+
import { BasicComponent } from '@/utils/typings';
|
|
3
|
+
export interface NoticeBarProps extends BasicComponent {
|
|
4
4
|
direction: string;
|
|
5
5
|
className?: string;
|
|
6
6
|
style?: CSSProperties;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { FunctionComponent, CSSProperties } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export interface NoticeBarProps extends
|
|
2
|
+
import { BasicComponent } from '@/utils/typings';
|
|
3
|
+
export interface NoticeBarProps extends BasicComponent {
|
|
4
4
|
direction: string;
|
|
5
5
|
className?: string;
|
|
6
6
|
style?: CSSProperties;
|
|
@@ -5,6 +5,7 @@ import Icon from '@/packages/icon';
|
|
|
5
5
|
import Overlay from '@/packages/overlay';
|
|
6
6
|
import Popup from '@/packages/popup';
|
|
7
7
|
import ConfigProvider from '@/packages/configprovider';
|
|
8
|
+
import Image from '@/packages/image';
|
|
8
9
|
import Layout from '@/packages/layout';
|
|
9
10
|
import Col from '@/packages/col';
|
|
10
11
|
import Row from '@/packages/row';
|
|
@@ -80,6 +81,8 @@ import Video from '@/packages/video';
|
|
|
80
81
|
import Progress from '@/packages/progress';
|
|
81
82
|
import Audio from '@/packages/audio';
|
|
82
83
|
import ImagePreview from '@/packages/imagepreview';
|
|
84
|
+
import TrendArrow from '@/packages/trendarrow';
|
|
85
|
+
import WaterMark from '@/packages/watermark';
|
|
83
86
|
import Address from '@/packages/address';
|
|
84
87
|
import Barrage from '@/packages/barrage';
|
|
85
88
|
import Signature from '@/packages/signature';
|
|
@@ -87,4 +90,4 @@ import Card from '@/packages/card';
|
|
|
87
90
|
import TimePannel from '@/packages/timepannel';
|
|
88
91
|
import TimeDetail from '@/packages/timedetail';
|
|
89
92
|
import TimeSelect from '@/packages/timeselect';
|
|
90
|
-
export { Button, Cell, CellGroup, Icon, Overlay, Popup, ConfigProvider, Layout, Col, Row, Divider, Grid, GridItem, Sticky, NavBar, FixedNav, Tabbar, TabbarItem, Elevator, Pagination, Tabs, TabPane, Indicator, SideNavBar, SubSideNavBar, SideNavBarItem, Menu, MenuItem, Range, Calendar, Checkbox, CheckboxGroup, DatePicker, InputNumber, Input, Radio, RadioGroup, Rate, CalendarItem, Picker, ShortPassword, TextArea, Uploader, Cascader, SearchBar, NumberKeyboard, Form, FormItem, ActionSheet, BackTop, Drag, Dialog, Infiniteloading, Notify, Switch, Toast, Swipe, PullToRefresh, CircleProgress, NoticeBar, Steps, Step, Swiper, SwiperItem, Avatar, AvatarGroup, Price, Badge, Tag, Popover, Skeleton, CountDown, Collapse, CollapseItem, AnimatingNumbers, Empty, VirtualList, Table, Video, Progress, Audio, ImagePreview, Address, Barrage, Signature, Card, TimePannel, TimeDetail, TimeSelect };
|
|
93
|
+
export { Button, Cell, CellGroup, Icon, Overlay, Popup, ConfigProvider, Image, Layout, Col, Row, Divider, Grid, GridItem, Sticky, NavBar, FixedNav, Tabbar, TabbarItem, Elevator, Pagination, Tabs, TabPane, Indicator, SideNavBar, SubSideNavBar, SideNavBarItem, Menu, MenuItem, Range, Calendar, Checkbox, CheckboxGroup, DatePicker, InputNumber, Input, Radio, RadioGroup, Rate, CalendarItem, Picker, ShortPassword, TextArea, Uploader, Cascader, SearchBar, NumberKeyboard, Form, FormItem, ActionSheet, BackTop, Drag, Dialog, Infiniteloading, Notify, Switch, Toast, Swipe, PullToRefresh, CircleProgress, NoticeBar, Steps, Step, Swiper, SwiperItem, Avatar, AvatarGroup, Price, Badge, Tag, Popover, Skeleton, CountDown, Collapse, CollapseItem, AnimatingNumbers, Empty, VirtualList, Table, Video, Progress, Audio, ImagePreview, TrendArrow, WaterMark, Address, Barrage, Signature, Card, TimePannel, TimeDetail, TimeSelect };
|
|
@@ -5,6 +5,7 @@ import Icon from '@/packages/icon';
|
|
|
5
5
|
import Overlay from '@/packages/overlay';
|
|
6
6
|
import Popup from '@/packages/popup';
|
|
7
7
|
import ConfigProvider from '@/packages/configprovider';
|
|
8
|
+
import Image from '@/packages/image';
|
|
8
9
|
import Layout from '@/packages/layout';
|
|
9
10
|
import Col from '@/packages/col';
|
|
10
11
|
import Row from '@/packages/row';
|
|
@@ -80,6 +81,8 @@ import Video from '@/packages/video';
|
|
|
80
81
|
import Progress from '@/packages/progress';
|
|
81
82
|
import Audio from '@/packages/audio';
|
|
82
83
|
import ImagePreview from '@/packages/imagepreview';
|
|
84
|
+
import TrendArrow from '@/packages/trendarrow';
|
|
85
|
+
import WaterMark from '@/packages/watermark';
|
|
83
86
|
import Address from '@/packages/address';
|
|
84
87
|
import Barrage from '@/packages/barrage';
|
|
85
88
|
import Signature from '@/packages/signature';
|
|
@@ -94,6 +97,7 @@ import '@/packages/icon/icon.scss';
|
|
|
94
97
|
import '@/packages/overlay/overlay.scss';
|
|
95
98
|
import '@/packages/popup/popup.scss';
|
|
96
99
|
import '@/packages/configprovider/configprovider.scss';
|
|
100
|
+
import '@/packages/image/image.scss';
|
|
97
101
|
import '@/packages/layout/layout.scss';
|
|
98
102
|
import '@/packages/col/col.scss';
|
|
99
103
|
import '@/packages/row/row.scss';
|
|
@@ -169,6 +173,8 @@ import '@/packages/video/video.scss';
|
|
|
169
173
|
import '@/packages/progress/progress.scss';
|
|
170
174
|
import '@/packages/audio/audio.scss';
|
|
171
175
|
import '@/packages/imagepreview/imagepreview.scss';
|
|
176
|
+
import '@/packages/trendarrow/trendarrow.scss';
|
|
177
|
+
import '@/packages/watermark/watermark.scss';
|
|
172
178
|
import '@/packages/address/address.scss';
|
|
173
179
|
import '@/packages/barrage/barrage.scss';
|
|
174
180
|
import '@/packages/signature/signature.scss';
|
|
@@ -176,4 +182,4 @@ import '@/packages/card/card.scss';
|
|
|
176
182
|
import '@/packages/timepannel/timepannel.scss';
|
|
177
183
|
import '@/packages/timedetail/timedetail.scss';
|
|
178
184
|
import '@/packages/timeselect/timeselect.scss';
|
|
179
|
-
export { Button, Cell, CellGroup, Icon, Overlay, Popup, ConfigProvider, Layout, Col, Row, Divider, Grid, GridItem, Sticky, NavBar, FixedNav, Tabbar, TabbarItem, Elevator, Pagination, Tabs, TabPane, Indicator, SideNavBar, SubSideNavBar, SideNavBarItem, Menu, MenuItem, Range, Calendar, Checkbox, CheckboxGroup, DatePicker, InputNumber, Input, Radio, RadioGroup, Rate, CalendarItem, Picker, ShortPassword, TextArea, Uploader, Cascader, SearchBar, NumberKeyboard, Form, FormItem, ActionSheet, BackTop, Drag, Dialog, Infiniteloading, Notify, Switch, Toast, Swipe, PullToRefresh, CircleProgress, NoticeBar, Steps, Step, Swiper, SwiperItem, Avatar, AvatarGroup, Price, Badge, Tag, Popover, Skeleton, CountDown, Collapse, CollapseItem, AnimatingNumbers, Empty, VirtualList, Table, Video, Progress, Audio, ImagePreview, Address, Barrage, Signature, Card, TimePannel, TimeDetail, TimeSelect };
|
|
185
|
+
export { Button, Cell, CellGroup, Icon, Overlay, Popup, ConfigProvider, Image, Layout, Col, Row, Divider, Grid, GridItem, Sticky, NavBar, FixedNav, Tabbar, TabbarItem, Elevator, Pagination, Tabs, TabPane, Indicator, SideNavBar, SubSideNavBar, SideNavBarItem, Menu, MenuItem, Range, Calendar, Checkbox, CheckboxGroup, DatePicker, InputNumber, Input, Radio, RadioGroup, Rate, CalendarItem, Picker, ShortPassword, TextArea, Uploader, Cascader, SearchBar, NumberKeyboard, Form, FormItem, ActionSheet, BackTop, Drag, Dialog, Infiniteloading, Notify, Switch, Toast, Swipe, PullToRefresh, CircleProgress, NoticeBar, Steps, Step, Swiper, SwiperItem, Avatar, AvatarGroup, Price, Badge, Tag, Popover, Skeleton, CountDown, Collapse, CollapseItem, AnimatingNumbers, Empty, VirtualList, Table, Video, Progress, Audio, ImagePreview, TrendArrow, WaterMark, Address, Barrage, Signature, Card, TimePannel, TimeDetail, TimeSelect };
|
|
@@ -5,6 +5,7 @@ import '@/packages/icon/icon.scss';
|
|
|
5
5
|
import '@/packages/overlay/overlay.scss';
|
|
6
6
|
import '@/packages/popup/popup.scss';
|
|
7
7
|
import '@/packages/configprovider/configprovider.scss';
|
|
8
|
+
import '@/packages/image/image.scss';
|
|
8
9
|
import '@/packages/layout/layout.scss';
|
|
9
10
|
import '@/packages/col/col.scss';
|
|
10
11
|
import '@/packages/row/row.scss';
|
|
@@ -80,6 +81,8 @@ import '@/packages/video/video.scss';
|
|
|
80
81
|
import '@/packages/progress/progress.scss';
|
|
81
82
|
import '@/packages/audio/audio.scss';
|
|
82
83
|
import '@/packages/imagepreview/imagepreview.scss';
|
|
84
|
+
import '@/packages/trendarrow/trendarrow.scss';
|
|
85
|
+
import '@/packages/watermark/watermark.scss';
|
|
83
86
|
import '@/packages/address/address.scss';
|
|
84
87
|
import '@/packages/barrage/barrage.scss';
|
|
85
88
|
import '@/packages/signature/signature.scss';
|
|
@@ -5,6 +5,7 @@ import Icon from '@/packages/icon/index.taro';
|
|
|
5
5
|
import Overlay from '@/packages/overlay/index.taro';
|
|
6
6
|
import Popup from '@/packages/popup/index.taro';
|
|
7
7
|
import ConfigProvider from '@/packages/configprovider/index.taro';
|
|
8
|
+
import Image from '@/packages/image/index.taro';
|
|
8
9
|
import Layout from '@/packages/layout/index.taro';
|
|
9
10
|
import Col from '@/packages/col/index.taro';
|
|
10
11
|
import Row from '@/packages/row/index.taro';
|
|
@@ -80,6 +81,8 @@ import Video from '@/packages/video/index.taro';
|
|
|
80
81
|
import Progress from '@/packages/progress/index.taro';
|
|
81
82
|
import Audio from '@/packages/audio/index.taro';
|
|
82
83
|
import ImagePreview from '@/packages/imagepreview/index.taro';
|
|
84
|
+
import TrendArrow from '@/packages/trendarrow/index.taro';
|
|
85
|
+
import WaterMark from '@/packages/watermark/index.taro';
|
|
83
86
|
import Address from '@/packages/address/index.taro';
|
|
84
87
|
import Barrage from '@/packages/barrage/index.taro';
|
|
85
88
|
import Signature from '@/packages/signature/index.taro';
|
|
@@ -94,6 +97,7 @@ import '@/packages/icon/icon.scss';
|
|
|
94
97
|
import '@/packages/overlay/overlay.scss';
|
|
95
98
|
import '@/packages/popup/popup.scss';
|
|
96
99
|
import '@/packages/configprovider/configprovider.scss';
|
|
100
|
+
import '@/packages/image/image.scss';
|
|
97
101
|
import '@/packages/layout/layout.scss';
|
|
98
102
|
import '@/packages/col/col.scss';
|
|
99
103
|
import '@/packages/row/row.scss';
|
|
@@ -169,6 +173,8 @@ import '@/packages/video/video.scss';
|
|
|
169
173
|
import '@/packages/progress/progress.scss';
|
|
170
174
|
import '@/packages/audio/audio.scss';
|
|
171
175
|
import '@/packages/imagepreview/imagepreview.scss';
|
|
176
|
+
import '@/packages/trendarrow/trendarrow.scss';
|
|
177
|
+
import '@/packages/watermark/watermark.scss';
|
|
172
178
|
import '@/packages/address/address.scss';
|
|
173
179
|
import '@/packages/barrage/barrage.scss';
|
|
174
180
|
import '@/packages/signature/signature.scss';
|
|
@@ -176,4 +182,4 @@ import '@/packages/card/card.scss';
|
|
|
176
182
|
import '@/packages/timepannel/timepannel.scss';
|
|
177
183
|
import '@/packages/timedetail/timedetail.scss';
|
|
178
184
|
import '@/packages/timeselect/timeselect.scss';
|
|
179
|
-
export { Button, Cell, CellGroup, Icon, Overlay, Popup, ConfigProvider, Layout, Col, Row, Divider, Grid, GridItem, Sticky, NavBar, FixedNav, Tabbar, TabbarItem, Elevator, Pagination, Tabs, TabPane, Indicator, SideNavBar, SubSideNavBar, SideNavBarItem, Menu, MenuItem, Range, Calendar, Checkbox, CheckboxGroup, DatePicker, InputNumber, Input, Radio, RadioGroup, Rate, CalendarItem, Picker, ShortPassword, TextArea, Uploader, Cascader, SearchBar, NumberKeyboard, Form, FormItem, ActionSheet, BackTop, Drag, Dialog, Infiniteloading, Notify, Switch, Toast, Swipe, PullToRefresh, CircleProgress, NoticeBar, Steps, Step, Swiper, SwiperItem, Avatar, AvatarGroup, Price, Badge, Tag, Popover, Skeleton, CountDown, Collapse, CollapseItem, AnimatingNumbers, Empty, VirtualList, Table, Video, Progress, Audio, ImagePreview, Address, Barrage, Signature, Card, TimePannel, TimeDetail, TimeSelect };
|
|
185
|
+
export { Button, Cell, CellGroup, Icon, Overlay, Popup, ConfigProvider, Image, Layout, Col, Row, Divider, Grid, GridItem, Sticky, NavBar, FixedNav, Tabbar, TabbarItem, Elevator, Pagination, Tabs, TabPane, Indicator, SideNavBar, SubSideNavBar, SideNavBarItem, Menu, MenuItem, Range, Calendar, Checkbox, CheckboxGroup, DatePicker, InputNumber, Input, Radio, RadioGroup, Rate, CalendarItem, Picker, ShortPassword, TextArea, Uploader, Cascader, SearchBar, NumberKeyboard, Form, FormItem, ActionSheet, BackTop, Drag, Dialog, Infiniteloading, Notify, Switch, Toast, Swipe, PullToRefresh, CircleProgress, NoticeBar, Steps, Step, Swiper, SwiperItem, Avatar, AvatarGroup, Price, Badge, Tag, Popover, Skeleton, CountDown, Collapse, CollapseItem, AnimatingNumbers, Empty, VirtualList, Table, Video, Progress, Audio, ImagePreview, TrendArrow, WaterMark, Address, Barrage, Signature, Card, TimePannel, TimeDetail, TimeSelect };
|
|
@@ -5,6 +5,7 @@ import '@/packages/icon/icon.scss';
|
|
|
5
5
|
import '@/packages/overlay/overlay.scss';
|
|
6
6
|
import '@/packages/popup/popup.scss';
|
|
7
7
|
import '@/packages/configprovider/configprovider.scss';
|
|
8
|
+
import '@/packages/image/image.scss';
|
|
8
9
|
import '@/packages/layout/layout.scss';
|
|
9
10
|
import '@/packages/col/col.scss';
|
|
10
11
|
import '@/packages/row/row.scss';
|
|
@@ -80,6 +81,8 @@ import '@/packages/video/video.scss';
|
|
|
80
81
|
import '@/packages/progress/progress.scss';
|
|
81
82
|
import '@/packages/audio/audio.scss';
|
|
82
83
|
import '@/packages/imagepreview/imagepreview.scss';
|
|
84
|
+
import '@/packages/trendarrow/trendarrow.scss';
|
|
85
|
+
import '@/packages/watermark/watermark.scss';
|
|
83
86
|
import '@/packages/address/address.scss';
|
|
84
87
|
import '@/packages/barrage/barrage.scss';
|
|
85
88
|
import '@/packages/signature/signature.scss';
|
|
@@ -5,6 +5,7 @@ import Icon from '@/packages/icon/index.taro';
|
|
|
5
5
|
import Overlay from '@/packages/overlay/index.taro';
|
|
6
6
|
import Popup from '@/packages/popup/index.taro';
|
|
7
7
|
import ConfigProvider from '@/packages/configprovider/index.taro';
|
|
8
|
+
import Image from '@/packages/image/index.taro';
|
|
8
9
|
import Layout from '@/packages/layout/index.taro';
|
|
9
10
|
import Col from '@/packages/col/index.taro';
|
|
10
11
|
import Row from '@/packages/row/index.taro';
|
|
@@ -80,6 +81,8 @@ import Video from '@/packages/video/index.taro';
|
|
|
80
81
|
import Progress from '@/packages/progress/index.taro';
|
|
81
82
|
import Audio from '@/packages/audio/index.taro';
|
|
82
83
|
import ImagePreview from '@/packages/imagepreview/index.taro';
|
|
84
|
+
import TrendArrow from '@/packages/trendarrow/index.taro';
|
|
85
|
+
import WaterMark from '@/packages/watermark/index.taro';
|
|
83
86
|
import Address from '@/packages/address/index.taro';
|
|
84
87
|
import Barrage from '@/packages/barrage/index.taro';
|
|
85
88
|
import Signature from '@/packages/signature/index.taro';
|
|
@@ -87,4 +90,4 @@ import Card from '@/packages/card/index.taro';
|
|
|
87
90
|
import TimePannel from '@/packages/timepannel/index.taro';
|
|
88
91
|
import TimeDetail from '@/packages/timedetail/index.taro';
|
|
89
92
|
import TimeSelect from '@/packages/timeselect/index.taro';
|
|
90
|
-
export { Button, Cell, CellGroup, Icon, Overlay, Popup, ConfigProvider, Layout, Col, Row, Divider, Grid, GridItem, Sticky, NavBar, FixedNav, Tabbar, TabbarItem, Elevator, Pagination, Tabs, TabPane, Indicator, SideNavBar, SubSideNavBar, SideNavBarItem, Menu, MenuItem, Range, Calendar, Checkbox, CheckboxGroup, DatePicker, InputNumber, Input, Radio, RadioGroup, Rate, CalendarItem, Picker, ShortPassword, TextArea, Uploader, Cascader, SearchBar, NumberKeyboard, Form, FormItem, ActionSheet, BackTop, Drag, Dialog, Infiniteloading, Notify, Switch, Toast, Swipe, PullToRefresh, CircleProgress, NoticeBar, Steps, Step, Swiper, SwiperItem, Avatar, AvatarGroup, Price, Badge, Tag, Popover, Skeleton, CountDown, Collapse, CollapseItem, AnimatingNumbers, Empty, VirtualList, Table, Video, Progress, Audio, ImagePreview, Address, Barrage, Signature, Card, TimePannel, TimeDetail, TimeSelect };
|
|
93
|
+
export { Button, Cell, CellGroup, Icon, Overlay, Popup, ConfigProvider, Image, Layout, Col, Row, Divider, Grid, GridItem, Sticky, NavBar, FixedNav, Tabbar, TabbarItem, Elevator, Pagination, Tabs, TabPane, Indicator, SideNavBar, SubSideNavBar, SideNavBarItem, Menu, MenuItem, Range, Calendar, Checkbox, CheckboxGroup, DatePicker, InputNumber, Input, Radio, RadioGroup, Rate, CalendarItem, Picker, ShortPassword, TextArea, Uploader, Cascader, SearchBar, NumberKeyboard, Form, FormItem, ActionSheet, BackTop, Drag, Dialog, Infiniteloading, Notify, Switch, Toast, Swipe, PullToRefresh, CircleProgress, NoticeBar, Steps, Step, Swiper, SwiperItem, Avatar, AvatarGroup, Price, Badge, Tag, Popover, Skeleton, CountDown, Collapse, CollapseItem, AnimatingNumbers, Empty, VirtualList, Table, Video, Progress, Audio, ImagePreview, TrendArrow, WaterMark, Address, Barrage, Signature, Card, TimePannel, TimeDetail, TimeSelect };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PickerOption } from './picker';
|
|
3
|
-
interface
|
|
3
|
+
interface PickerSlotProps {
|
|
4
4
|
keyIndex?: number;
|
|
5
5
|
defaultValue?: string | number;
|
|
6
6
|
listData?: PickerOption[];
|
|
@@ -8,7 +8,7 @@ interface IPickerSlotProps {
|
|
|
8
8
|
swipeDuration: number | string;
|
|
9
9
|
chooseItem?: (val: PickerOption, idx: number) => void;
|
|
10
10
|
}
|
|
11
|
-
declare const PickerSlot: React.ForwardRefExoticComponent<Partial<
|
|
11
|
+
declare const PickerSlot: React.ForwardRefExoticComponent<Partial<PickerSlotProps> & React.RefAttributes<{
|
|
12
12
|
stopMomentum: () => void;
|
|
13
13
|
moving: boolean;
|
|
14
14
|
}>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PickerOption } from './picker.taro';
|
|
3
|
-
interface
|
|
3
|
+
interface PickerSlotProps {
|
|
4
4
|
keyIndex?: number;
|
|
5
5
|
defaultValue?: string | number;
|
|
6
6
|
listData?: PickerOption[];
|
|
@@ -9,7 +9,7 @@ interface IPickerSlotProps {
|
|
|
9
9
|
itemShow: boolean;
|
|
10
10
|
chooseItem?: (val: PickerOption, idx: number) => void;
|
|
11
11
|
}
|
|
12
|
-
declare const PickerSlot: React.ForwardRefExoticComponent<Partial<
|
|
12
|
+
declare const PickerSlot: React.ForwardRefExoticComponent<Partial<PickerSlotProps> & React.RefAttributes<{
|
|
13
13
|
stopMomentum: () => void;
|
|
14
14
|
moving: boolean;
|
|
15
15
|
}>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { CSSProperties, FunctionComponent } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { BasicComponent } from '@/utils/typings';
|
|
3
3
|
export declare type PopoverTheme = 'light' | 'dark';
|
|
4
4
|
export declare type PopoverLocation = 'bottom' | 'top' | 'left' | 'right' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end' | 'right-start' | 'right-end';
|
|
5
5
|
export interface List {
|
|
@@ -7,7 +7,7 @@ export interface List {
|
|
|
7
7
|
icon?: string;
|
|
8
8
|
disabled?: boolean;
|
|
9
9
|
}
|
|
10
|
-
export interface PopoverProps extends
|
|
10
|
+
export interface PopoverProps extends BasicComponent {
|
|
11
11
|
list: List[];
|
|
12
12
|
theme: PopoverTheme;
|
|
13
13
|
location: PopoverLocation | string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { CSSProperties, FunctionComponent } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { BasicComponent } from '@/utils/typings';
|
|
3
3
|
export declare type PopoverTheme = 'light' | 'dark';
|
|
4
4
|
export declare type PopoverLocation = 'bottom' | 'top' | 'left' | 'right' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end' | 'right-start' | 'right-end';
|
|
5
5
|
export interface List {
|
|
@@ -7,7 +7,7 @@ export interface List {
|
|
|
7
7
|
icon?: string;
|
|
8
8
|
disabled?: boolean;
|
|
9
9
|
}
|
|
10
|
-
export interface PopoverProps extends
|
|
10
|
+
export interface PopoverProps extends BasicComponent {
|
|
11
11
|
list: List[];
|
|
12
12
|
theme: PopoverTheme;
|
|
13
13
|
location: PopoverLocation | string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React, { FunctionComponent, MouseEvent } from 'react';
|
|
2
2
|
import { OverlayProps } from '@/packages/overlay/overlay';
|
|
3
|
-
import {
|
|
3
|
+
import { BasicComponent } from '@/utils/typings';
|
|
4
4
|
declare type Teleport = HTMLElement | (() => HTMLElement) | null;
|
|
5
|
-
export interface PopupProps extends OverlayProps,
|
|
5
|
+
export interface PopupProps extends OverlayProps, BasicComponent {
|
|
6
6
|
position: string;
|
|
7
7
|
transition: string;
|
|
8
8
|
style: React.CSSProperties;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React, { FunctionComponent, MouseEvent } from 'react';
|
|
2
2
|
import { OverlayProps } from '@/packages/overlay/overlay.taro';
|
|
3
|
-
import {
|
|
3
|
+
import { BasicComponent } from '@/utils/typings';
|
|
4
4
|
declare type Teleport = HTMLElement | (() => HTMLElement) | null;
|
|
5
|
-
export interface PopupProps extends OverlayProps,
|
|
5
|
+
export interface PopupProps extends OverlayProps, BasicComponent {
|
|
6
6
|
position: string;
|
|
7
7
|
transition: string;
|
|
8
8
|
style: React.CSSProperties;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React, { FunctionComponent, CSSProperties, ReactNode } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { BasicComponent } from '@/utils/typings';
|
|
3
3
|
export declare type ProgressSize = 'small' | 'base' | 'large';
|
|
4
4
|
export declare type TextType = 'icon' | 'text';
|
|
5
|
-
export interface ProgressProps extends
|
|
5
|
+
export interface ProgressProps extends BasicComponent {
|
|
6
6
|
className: string;
|
|
7
7
|
style: CSSProperties;
|
|
8
8
|
isShowPercentage: boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React, { FunctionComponent, CSSProperties, ReactNode } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { BasicComponent } from '@/utils/typings';
|
|
3
3
|
export declare type ProgressSize = 'small' | 'base' | 'large';
|
|
4
4
|
export declare type TextType = 'icon' | 'text';
|
|
5
|
-
export interface ProgressProps extends
|
|
5
|
+
export interface ProgressProps extends BasicComponent {
|
|
6
6
|
className: string;
|
|
7
7
|
style: CSSProperties;
|
|
8
8
|
isShowPercentage: boolean;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React, { FunctionComponent, MouseEventHandler } from 'react';
|
|
2
2
|
import RadioGroup from '@/packages/radiogroup';
|
|
3
|
-
import {
|
|
3
|
+
import { BasicComponent } from '@/utils/typings';
|
|
4
4
|
declare type Shape = 'button' | 'round';
|
|
5
5
|
declare type Position = 'right' | 'left';
|
|
6
|
-
export interface RadioProps extends
|
|
6
|
+
export interface RadioProps extends BasicComponent {
|
|
7
7
|
className: string;
|
|
8
8
|
style: React.CSSProperties;
|
|
9
9
|
disabled: boolean;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React, { FunctionComponent, MouseEventHandler } from 'react';
|
|
2
2
|
import RadioGroup from '@/packages/radiogroup/index.taro';
|
|
3
|
-
import {
|
|
3
|
+
import { BasicComponent } from '@/utils/typings';
|
|
4
4
|
declare type Shape = 'button' | 'round';
|
|
5
5
|
declare type Position = 'right' | 'left';
|
|
6
|
-
export interface RadioProps extends
|
|
6
|
+
export interface RadioProps extends BasicComponent {
|
|
7
7
|
className: string;
|
|
8
8
|
style: React.CSSProperties;
|
|
9
9
|
disabled: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FunctionComponent } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export interface RateProps extends
|
|
2
|
+
import { BasicComponent } from '@/utils/typings';
|
|
3
|
+
export interface RateProps extends BasicComponent {
|
|
4
4
|
count: string | number;
|
|
5
5
|
modelValue: string | number;
|
|
6
6
|
minimizeValue: string | number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FunctionComponent } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export interface RateProps extends
|
|
2
|
+
import { BasicComponent } from '@/utils/typings';
|
|
3
|
+
export interface RateProps extends BasicComponent {
|
|
4
4
|
count: string | number;
|
|
5
5
|
modelValue: string | number;
|
|
6
6
|
minimizeValue: string | number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { FunctionComponent } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export interface SearchBarProps extends
|
|
2
|
+
import { BasicComponent } from '@/utils/typings';
|
|
3
|
+
export interface SearchBarProps extends BasicComponent {
|
|
4
4
|
/** 文本值 */
|
|
5
5
|
value?: number | string;
|
|
6
6
|
/** 输入框占位提示文字 */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { FunctionComponent } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export interface SearchBarProps extends
|
|
2
|
+
import { BasicComponent } from '@/utils/typings';
|
|
3
|
+
export interface SearchBarProps extends BasicComponent {
|
|
4
4
|
/** 文本值 */
|
|
5
5
|
value?: number | string;
|
|
6
6
|
/** 输入框占位提示文字 */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { CSSProperties, FunctionComponent } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export interface ShortPasswordProps extends
|
|
2
|
+
import { BasicComponent } from '@/utils/typings';
|
|
3
|
+
export interface ShortPasswordProps extends BasicComponent {
|
|
4
4
|
title: string;
|
|
5
5
|
desc: string;
|
|
6
6
|
tips: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { CSSProperties, FunctionComponent } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export interface ShortPasswordProps extends
|
|
2
|
+
import { BasicComponent } from '@/utils/typings';
|
|
3
|
+
export interface ShortPasswordProps extends BasicComponent {
|
|
4
4
|
title: string;
|
|
5
5
|
desc: string;
|
|
6
6
|
tips: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { FunctionComponent } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export interface StepProps extends
|
|
2
|
+
import { BasicComponent } from '@/utils/typings';
|
|
3
|
+
export interface StepProps extends BasicComponent {
|
|
4
4
|
title: string;
|
|
5
5
|
content: string;
|
|
6
6
|
activeIndex: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { FunctionComponent } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export interface StepProps extends
|
|
2
|
+
import { BasicComponent } from '@/utils/typings';
|
|
3
|
+
export interface StepProps extends BasicComponent {
|
|
4
4
|
title: string;
|
|
5
5
|
content: string;
|
|
6
6
|
activeIndex: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { FunctionComponent } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export interface StickyProps extends
|
|
2
|
+
import { BasicComponent } from '@/utils/typings';
|
|
3
|
+
export interface StickyProps extends BasicComponent {
|
|
4
4
|
container?: React.RefObject<HTMLElement>;
|
|
5
5
|
position?: 'top' | 'bottom';
|
|
6
6
|
className?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FunctionComponent } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export interface TabbarItemProps extends
|
|
2
|
+
import { BasicComponent } from '@/utils/typings';
|
|
3
|
+
export interface TabbarItemProps extends BasicComponent {
|
|
4
4
|
dot: boolean;
|
|
5
5
|
size: string | number;
|
|
6
6
|
className: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FunctionComponent } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export interface TabbarItemProps extends
|
|
2
|
+
import { BasicComponent } from '@/utils/typings';
|
|
3
|
+
export interface TabbarItemProps extends BasicComponent {
|
|
4
4
|
dot: boolean;
|
|
5
5
|
size: string | number;
|
|
6
6
|
className: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React, { FunctionComponent } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export declare type TableProps =
|
|
2
|
+
import { BasicTableProps } from './types';
|
|
3
|
+
export declare type TableProps = BasicTableProps;
|
|
4
4
|
export declare const Table: FunctionComponent<Partial<TableProps> & React.HTMLAttributes<HTMLDivElement>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React, { FunctionComponent } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export declare type TableProps =
|
|
2
|
+
import { BasicTableProps } from './types';
|
|
3
|
+
export declare type TableProps = BasicTableProps;
|
|
4
4
|
export declare const Table: FunctionComponent<Partial<TableProps> & React.HTMLAttributes<HTMLDivElement>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export interface
|
|
2
|
+
import { BasicComponent } from '@/utils/typings';
|
|
3
|
+
export interface BasicTableProps extends BasicComponent {
|
|
4
4
|
className: string;
|
|
5
5
|
style: React.CSSProperties;
|
|
6
6
|
columns: Array<TableColumnProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { FunctionComponent } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { BasicComponent } from '@/utils/typings';
|
|
3
3
|
declare class Title {
|
|
4
4
|
title: string;
|
|
5
5
|
paneKey: string;
|
|
@@ -8,7 +8,7 @@ declare class Title {
|
|
|
8
8
|
constructor();
|
|
9
9
|
}
|
|
10
10
|
export declare type TabsSize = 'large' | 'normal' | 'small';
|
|
11
|
-
export interface TabsProps extends
|
|
11
|
+
export interface TabsProps extends BasicComponent {
|
|
12
12
|
className: string;
|
|
13
13
|
style: React.CSSProperties;
|
|
14
14
|
tabStyle: React.CSSProperties;
|