@nutui/nutui-react-taro 1.3.4 → 1.3.5-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.
Files changed (47) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/esm/Address.js +3 -4
  3. package/dist/esm/AnimatingNumbers.js +2 -2
  4. package/dist/esm/Audio.js +4 -4
  5. package/dist/esm/Cascader/style/index.js +2 -1
  6. package/dist/esm/Cascader.js +2 -2
  7. package/dist/esm/Dialog.js +2 -4
  8. package/dist/esm/ImagePreview/style/index.js +3 -1
  9. package/dist/esm/ImagePreview.js +3 -4
  10. package/dist/esm/Infiniteloading.js +2 -2
  11. package/dist/esm/Notify.js +2 -3
  12. package/dist/esm/Range.js +3 -3
  13. package/dist/esm/Rate.js +2 -2
  14. package/dist/esm/Swiper/style/index.js +1 -1
  15. package/dist/esm/Swiper.js +2 -2
  16. package/dist/esm/Toast.js +2 -2
  17. package/dist/esm/{address.taro-7540c626.js → address.taro-f16cef31.js} +76 -373
  18. package/dist/esm/{animatingnumbers.taro-877baa98.js → animatingnumbers.taro-6f40a2e9.js} +41 -25
  19. package/dist/esm/{audio.taro-ab2528b2.js → audio.taro-29f5568f.js} +1 -1
  20. package/dist/esm/{cascader.taro-35387092.js → cascader.taro-77100fb4.js} +54 -48
  21. package/dist/esm/dialog.taro-492e2b9a.js +218 -0
  22. package/dist/esm/{imagepreview.taro-3f1c7638.js → imagepreview.taro-1199e977.js} +3 -11
  23. package/dist/esm/{infiniteloading.taro-9701755f.js → infiniteloading.taro-b95e62bf.js} +1 -3
  24. package/dist/esm/notify.taro-d9c48fae.js +122 -0
  25. package/dist/esm/nutui-react.es.js +12 -12
  26. package/dist/esm/{range.taro-141a0163.js → range.taro-515d37a4.js} +1 -1
  27. package/dist/esm/{rate.taro-5077b962.js → rate.taro-69c85081.js} +4 -2
  28. package/dist/esm/{swiper.taro-58ed323b.js → swiper.taro-f314d67a.js} +4 -2
  29. package/dist/esm/{toast.taro-cd22a0d7.js → toast.taro-86862dff.js} +1 -1
  30. package/dist/esm/types/src/packages/address/customRender.taro.d.ts +15 -0
  31. package/dist/esm/types/src/packages/cascader/cascader.d.ts +1 -0
  32. package/dist/esm/types/src/packages/cascader/cascader.taro.d.ts +1 -0
  33. package/dist/esm/types/src/packages/notify/index.taro.d.ts +1 -1
  34. package/dist/esm/types/src/packages/notify/notify.taro.d.ts +9 -15
  35. package/dist/locales/base.js +1 -1
  36. package/dist/locales/en-US.js +1 -1
  37. package/dist/locales/id-ID.js +1 -1
  38. package/dist/locales/zh-CN.js +1 -1
  39. package/dist/locales/zh-TW.js +1 -1
  40. package/dist/nutui.react.es.js +582 -1232
  41. package/dist/nutui.react.umd.js +577 -1227
  42. package/dist/style.css +1 -1
  43. package/dist/style.es.js +1 -1
  44. package/dist/types/index.d.ts +169 -174
  45. package/package.json +1 -1
  46. package/dist/esm/dialog.taro-54c67e08.js +0 -554
  47. package/dist/esm/notify.taro-0d9cfb07.js +0 -300
@@ -3,6 +3,7 @@ import { CascaderOption } from './types';
3
3
  export interface CascaderProps {
4
4
  className: string;
5
5
  style: CSSProperties;
6
+ poppable: boolean;
6
7
  visible: boolean;
7
8
  options: CascaderOption[];
8
9
  value: string[];
@@ -3,6 +3,7 @@ import { CascaderOption } from './types';
3
3
  export interface CascaderProps {
4
4
  className: string;
5
5
  style: CSSProperties;
6
+ poppable: boolean;
6
7
  visible: boolean;
7
8
  options: CascaderOption[];
8
9
  value: string[];
@@ -1,2 +1,2 @@
1
- import Notify from './notify.taro';
1
+ import { Notify } from './notify.taro';
2
2
  export default Notify;
@@ -1,23 +1,17 @@
1
- import * as React from 'react';
1
+ import React, { FunctionComponent } from 'react';
2
2
  export interface NotifyProps {
3
- id: string;
4
- color?: string;
3
+ id?: string;
4
+ style?: React.CSSProperties;
5
5
  msg: string;
6
+ color: string;
6
7
  duration: number;
7
- className?: string;
8
- background?: string;
9
8
  type: string;
9
+ className: string;
10
+ background: string;
10
11
  position: string;
11
12
  isWrapTeleport: boolean;
12
- onClick: () => void;
13
+ visible: boolean;
13
14
  onClosed: () => void;
15
+ onClick: () => void;
14
16
  }
15
- declare const _default: {
16
- text(msg: string | React.ReactNode, option?: {}): void;
17
- success(msg: string | React.ReactNode, option?: {}): void;
18
- primary(msg: string | React.ReactNode, option?: {}): void;
19
- danger(msg: string | React.ReactNode, option?: {}): void;
20
- warn(msg: string | React.ReactNode, option?: {}): void;
21
- hide(): void;
22
- };
23
- export default _default;
17
+ export declare const Notify: FunctionComponent<Partial<NotifyProps> & React.HTMLAttributes<HTMLDivElement>>;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui-react-taro v1.3.4-beta.0 Wed Sep 21 2022 14:34:39 GMT+0800 (China Standard Time)
2
+ * @nutui/nutui-react-taro v1.3.5-beta.1 Wed Sep 28 2022 14:19:31 GMT+0800 (China Standard Time)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui-react-taro v1.3.4-beta.0 Wed Sep 21 2022 14:34:39 GMT+0800 (China Standard Time)
2
+ * @nutui/nutui-react-taro v1.3.5-beta.1 Wed Sep 28 2022 14:19:31 GMT+0800 (China Standard Time)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui-react-taro v1.3.4-beta.0 Wed Sep 21 2022 14:34:39 GMT+0800 (China Standard Time)
2
+ * @nutui/nutui-react-taro v1.3.5-beta.1 Wed Sep 28 2022 14:19:31 GMT+0800 (China Standard Time)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui-react-taro v1.3.4-beta.0 Wed Sep 21 2022 14:34:39 GMT+0800 (China Standard Time)
2
+ * @nutui/nutui-react-taro v1.3.5-beta.1 Wed Sep 28 2022 14:19:31 GMT+0800 (China Standard Time)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui-react-taro v1.3.4-beta.0 Wed Sep 21 2022 14:34:39 GMT+0800 (China Standard Time)
2
+ * @nutui/nutui-react-taro v1.3.5-beta.1 Wed Sep 28 2022 14:19:31 GMT+0800 (China Standard Time)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */