@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.
Files changed (39) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/esm/Audio.js +2 -2
  3. package/dist/esm/Button.js +2 -1
  4. package/dist/esm/Dialog.js +3 -2
  5. package/dist/esm/Form.js +1 -1
  6. package/dist/esm/InputNumber/style/style.css +1 -1
  7. package/dist/esm/InputNumber.js +1 -1
  8. package/dist/esm/Tabbar/style/style.css +1 -1
  9. package/dist/esm/Tabbar.js +2 -2
  10. package/dist/esm/TabbarItem/style/index.js +1 -1
  11. package/dist/esm/TabbarItem/style/style.css +1 -1
  12. package/dist/esm/TabbarItem.js +1 -1
  13. package/dist/esm/Uploader.js +2 -2
  14. package/dist/esm/{audio.taro-64b15071.js → audio.taro-09305bcb.js} +1 -1
  15. package/dist/esm/{button.taro-01eae688.js → button.taro-60dfd83e.js} +18 -7
  16. package/dist/esm/{dialog.taro-e5c2cb03.js → dialog.taro-2de109c0.js} +1 -1
  17. package/dist/esm/{form.taro-a348734b.js → form.taro-33a19e85.js} +1 -0
  18. package/dist/esm/{inputnumber.taro-788b1cd3.js → inputnumber.taro-c4c0cfb3.js} +1 -1
  19. package/dist/esm/nutui-react.es.js +9 -9
  20. package/dist/esm/{tabbar.taro-18eee41f.js → tabbar.taro-4f49ed90.js} +1 -1
  21. package/dist/esm/{tabbaritem.taro-89646ca1.js → tabbaritem.taro-16a380db.js} +16 -5
  22. package/dist/esm/types/src/packages/tabbaritem/tabbaritem.d.ts +7 -2
  23. package/dist/esm/types/src/packages/tabbaritem/tabbaritem.taro.d.ts +7 -2
  24. package/dist/esm/{uploader.taro-5ad88f83.js → uploader.taro-13591ac2.js} +1 -1
  25. package/dist/locales/base.js +1 -1
  26. package/dist/locales/en-US.js +1 -1
  27. package/dist/locales/id-ID.js +1 -1
  28. package/dist/locales/tr-TR.js +1 -1
  29. package/dist/locales/zh-CN.js +1 -1
  30. package/dist/locales/zh-TW.js +1 -1
  31. package/dist/locales/zh-UG.js +1 -1
  32. package/dist/nutui.react.es.js +28 -7
  33. package/dist/nutui.react.umd.js +29 -8
  34. package/dist/packages/inputnumber/inputnumber.scss +4 -2
  35. package/dist/packages/tabbaritem/tabbaritem.scss +1 -0
  36. package/dist/style.css +1 -1
  37. package/dist/style.mjs +1 -1
  38. package/dist/types/packages/tabbaritem/tabbaritem.taro.d.ts +27 -2
  39. package/package.json +1 -1
package/dist/style.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui-react-taro v2.0.0-alpha.17 Wed Jun 14 2023 16:33:20 GMT+0800 (China Standard Time)
2
+ * @nutui/nutui-react-taro v2.0.0-alpha.18 Fri Jun 16 2023 18:34:03 GMT+0800 (China Standard Time)
3
3
  * (c) 2023 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,6 +1,6 @@
1
1
  import { FunctionComponent, ReactNode } from 'react';
2
- import { BadgeProps } from '../badge/badge.taro';
3
- export interface TabbarItemProps extends BadgeProps {
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>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nutui/nutui-react-taro",
3
- "version": "2.0.0-alpha.17",
3
+ "version": "2.0.0-alpha.18",
4
4
  "style": "dist/style.css",
5
5
  "main": "dist/nutui.react.umd.js",
6
6
  "module": "dist/esm/nutui-react.es.js",