@nutui/nutui-react-taro 2.0.0-alpha.17 → 2.0.0-alpha.18
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 +12 -0
- package/dist/esm/Audio.js +2 -2
- package/dist/esm/Button.js +2 -1
- package/dist/esm/Dialog.js +3 -2
- package/dist/esm/Form.js +1 -1
- package/dist/esm/InputNumber/style/style.css +1 -1
- package/dist/esm/InputNumber.js +1 -1
- package/dist/esm/Tabbar/style/style.css +1 -1
- package/dist/esm/Tabbar.js +2 -2
- package/dist/esm/TabbarItem/style/index.js +1 -1
- package/dist/esm/TabbarItem/style/style.css +1 -1
- package/dist/esm/TabbarItem.js +1 -1
- package/dist/esm/Uploader.js +2 -2
- package/dist/esm/{audio.taro-64b15071.js → audio.taro-09305bcb.js} +1 -1
- package/dist/esm/{button.taro-01eae688.js → button.taro-60dfd83e.js} +18 -7
- package/dist/esm/{dialog.taro-e5c2cb03.js → dialog.taro-2de109c0.js} +1 -1
- package/dist/esm/{form.taro-a348734b.js → form.taro-33a19e85.js} +1 -0
- package/dist/esm/{inputnumber.taro-788b1cd3.js → inputnumber.taro-c4c0cfb3.js} +1 -1
- package/dist/esm/nutui-react.es.js +9 -9
- package/dist/esm/{tabbar.taro-18eee41f.js → tabbar.taro-4f49ed90.js} +1 -1
- package/dist/esm/{tabbaritem.taro-89646ca1.js → tabbaritem.taro-16a380db.js} +16 -5
- package/dist/esm/types/src/packages/tabbaritem/tabbaritem.d.ts +7 -2
- package/dist/esm/types/src/packages/tabbaritem/tabbaritem.taro.d.ts +7 -2
- package/dist/esm/{uploader.taro-5ad88f83.js → uploader.taro-13591ac2.js} +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 +28 -7
- package/dist/nutui.react.umd.js +29 -8
- package/dist/packages/inputnumber/inputnumber.scss +4 -2
- package/dist/packages/tabbaritem/tabbaritem.scss +1 -0
- package/dist/style.css +1 -1
- package/dist/style.mjs +1 -1
- package/dist/types/packages/tabbaritem/tabbaritem.taro.d.ts +27 -2
- package/package.json +1 -1
package/dist/style.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FunctionComponent, ReactNode } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export interface TabbarItemProps extends
|
|
2
|
+
import { BasicComponent } from '../../utils/typings';
|
|
3
|
+
export interface TabbarItemProps extends BasicComponent {
|
|
4
4
|
/**
|
|
5
5
|
* 标签页的标题
|
|
6
6
|
* @default -
|
|
@@ -15,6 +15,31 @@ export interface TabbarItemProps extends BadgeProps {
|
|
|
15
15
|
activeColor: string;
|
|
16
16
|
inactiveColor: string;
|
|
17
17
|
index: number;
|
|
18
|
+
/**
|
|
19
|
+
* 徽标中显示的内容,支持数字、字符和自定义内容
|
|
20
|
+
* @default -
|
|
21
|
+
*/
|
|
22
|
+
value: ReactNode
|
|
23
|
+
/**
|
|
24
|
+
* 徽标是否为小点
|
|
25
|
+
* @default false
|
|
26
|
+
*/
|
|
27
|
+
dot: boolean
|
|
28
|
+
/**
|
|
29
|
+
* value 为数值时,最大值
|
|
30
|
+
* @default 99
|
|
31
|
+
*/
|
|
32
|
+
max: number
|
|
33
|
+
/**
|
|
34
|
+
* 徽标的上下偏移量,支持单位设置,可设置为:5 等
|
|
35
|
+
* @default 0
|
|
36
|
+
*/
|
|
37
|
+
top: string
|
|
38
|
+
/**
|
|
39
|
+
* 徽标的左右偏移量,支持单位设置,可设置为:5 等
|
|
40
|
+
* @default 0
|
|
41
|
+
*/
|
|
42
|
+
right: string
|
|
18
43
|
handleClick: (idx: number) => void;
|
|
19
44
|
}
|
|
20
45
|
export declare const TabbarItem: FunctionComponent<Partial<TabbarItemProps>>;
|