@ray-js/smart-ui 2.1.7-beta-1 → 2.1.7-beta-3

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 (200) hide show
  1. package/dist/@types/base/index.d.ts +4 -4
  2. package/dist/@types/base/index.js +1 -4
  3. package/dist/@types/index.d.ts +62 -64
  4. package/dist/@types/index.js +1 -64
  5. package/dist/action-sheet/ActionSheet.js +1 -1
  6. package/dist/action-sheet/index.d.ts +1 -1
  7. package/dist/action-sheet/index.js +0 -1
  8. package/dist/battery/Battery.js +1 -1
  9. package/dist/battery/index.d.ts +1 -1
  10. package/dist/battery/index.js +0 -1
  11. package/dist/bottom-sheet/BottomSheet.js +1 -1
  12. package/dist/bottom-sheet/index.d.ts +1 -1
  13. package/dist/bottom-sheet/index.js +0 -1
  14. package/dist/button/Button.js +1 -1
  15. package/dist/button/index.d.ts +1 -1
  16. package/dist/button/index.js +0 -1
  17. package/dist/calendar/Calendar.js +1 -1
  18. package/dist/calendar/index.d.ts +1 -1
  19. package/dist/calendar/index.js +0 -1
  20. package/dist/cascader/Cascader.js +1 -1
  21. package/dist/cascader/index.d.ts +1 -1
  22. package/dist/cascader/index.js +0 -1
  23. package/dist/cell/Cell.js +1 -1
  24. package/dist/cell/index.d.ts +1 -1
  25. package/dist/cell/index.js +0 -1
  26. package/dist/cell-group/CellGroup.d.ts +1 -1
  27. package/dist/cell-group/CellGroup.js +1 -1
  28. package/dist/cell-group/index.d.ts +1 -1
  29. package/dist/cell-group/index.js +0 -1
  30. package/dist/checkbox/Checkbox.js +1 -1
  31. package/dist/checkbox/index.d.ts +1 -1
  32. package/dist/checkbox/index.js +0 -1
  33. package/dist/checkbox-group/CheckboxGroup.js +1 -1
  34. package/dist/checkbox-group/index.d.ts +1 -1
  35. package/dist/checkbox-group/index.js +0 -1
  36. package/dist/circle/Circle.js +1 -1
  37. package/dist/circle/index.d.ts +1 -1
  38. package/dist/circle/index.js +0 -1
  39. package/dist/col/Col.js +1 -1
  40. package/dist/col/index.d.ts +1 -1
  41. package/dist/col/index.js +0 -1
  42. package/dist/collapse/Collapse.d.ts +1 -1
  43. package/dist/collapse/Collapse.js +1 -1
  44. package/dist/collapse/index.d.ts +1 -1
  45. package/dist/collapse/index.js +0 -1
  46. package/dist/collapse-item/CollapseItem.d.ts +1 -1
  47. package/dist/collapse-item/CollapseItem.js +1 -1
  48. package/dist/collapse-item/index.d.ts +1 -1
  49. package/dist/collapse-item/index.js +0 -1
  50. package/dist/config-provider/ConfigProvider.d.ts +1 -1
  51. package/dist/config-provider/ConfigProvider.js +1 -1
  52. package/dist/config-provider/index.d.ts +1 -1
  53. package/dist/config-provider/index.js +0 -1
  54. package/dist/count-down/CountDown.js +1 -1
  55. package/dist/count-down/index.d.ts +1 -1
  56. package/dist/count-down/index.js +0 -1
  57. package/dist/custom-keyboard/CustomKeyboard.js +1 -1
  58. package/dist/custom-keyboard/index.d.ts +1 -1
  59. package/dist/custom-keyboard/index.js +0 -1
  60. package/dist/datetime-picker/DateTimePicker.js +1 -1
  61. package/dist/datetime-picker/index.d.ts +1 -1
  62. package/dist/datetime-picker/index.js +0 -1
  63. package/dist/dialog/Dialog.d.ts +1 -1
  64. package/dist/dialog/Dialog.js +2 -2
  65. package/dist/dialog/index.d.ts +1 -1
  66. package/dist/dialog/index.js +0 -1
  67. package/dist/divider/Divider.d.ts +1 -1
  68. package/dist/divider/Divider.js +1 -1
  69. package/dist/divider/index.d.ts +1 -1
  70. package/dist/divider/index.js +0 -1
  71. package/dist/dropdown-item/DropdownItem.js +1 -1
  72. package/dist/dropdown-item/index.d.ts +1 -1
  73. package/dist/dropdown-item/index.js +0 -1
  74. package/dist/dropdown-menu/DropdownMenu.js +1 -1
  75. package/dist/dropdown-menu/index.d.ts +1 -1
  76. package/dist/dropdown-menu/index.js +0 -1
  77. package/dist/empty/Empty.js +1 -1
  78. package/dist/empty/index.d.ts +1 -1
  79. package/dist/empty/index.js +0 -1
  80. package/dist/field/Field.d.ts +1 -1
  81. package/dist/field/Field.js +1 -1
  82. package/dist/field/index.d.ts +1 -1
  83. package/dist/field/index.js +0 -1
  84. package/dist/grid/Grid.js +1 -1
  85. package/dist/grid/index.d.ts +1 -1
  86. package/dist/grid/index.js +0 -1
  87. package/dist/grid-item/GridItem.js +1 -1
  88. package/dist/grid-item/index.d.ts +1 -1
  89. package/dist/grid-item/index.js +0 -1
  90. package/dist/icon/Icon.js +1 -1
  91. package/dist/icon/index.d.ts +1 -1
  92. package/dist/icon/index.js +0 -1
  93. package/dist/image/Image.d.ts +1 -1
  94. package/dist/image/Image.js +1 -1
  95. package/dist/image/index.d.ts +1 -1
  96. package/dist/image/index.js +0 -1
  97. package/dist/index-anchor/IndexAnchor.js +1 -1
  98. package/dist/index-anchor/index.d.ts +1 -1
  99. package/dist/index-anchor/index.js +0 -1
  100. package/dist/index-bar/IndexBar.js +1 -1
  101. package/dist/index-bar/index.d.ts +1 -1
  102. package/dist/index-bar/index.js +0 -1
  103. package/dist/index.d.ts +61 -58
  104. package/dist/index.js +60 -61
  105. package/dist/loading/Loading.js +1 -1
  106. package/dist/loading/index.d.ts +1 -1
  107. package/dist/loading/index.js +0 -1
  108. package/dist/nav-bar/NavBar.js +1 -1
  109. package/dist/nav-bar/index.d.ts +1 -1
  110. package/dist/nav-bar/index.js +0 -1
  111. package/dist/notice-bar/NoticeBar.js +1 -1
  112. package/dist/notice-bar/PropTypes.d.ts +2 -2
  113. package/dist/notice-bar/index.d.ts +1 -1
  114. package/dist/notice-bar/index.js +0 -1
  115. package/dist/notify/Notify.d.ts +2 -2
  116. package/dist/notify/Notify.js +2 -2
  117. package/dist/notify/index.d.ts +1 -1
  118. package/dist/notify/index.js +0 -1
  119. package/dist/overlay/Overlay.js +1 -1
  120. package/dist/overlay/PropTypes.d.ts +2 -2
  121. package/dist/overlay/index.d.ts +1 -1
  122. package/dist/overlay/index.js +0 -1
  123. package/dist/picker/Picker.js +1 -1
  124. package/dist/picker/index.d.ts +1 -1
  125. package/dist/picker/index.js +0 -1
  126. package/dist/popup/Popup.js +1 -1
  127. package/dist/popup/index.d.ts +1 -1
  128. package/dist/popup/index.js +0 -1
  129. package/dist/progress/Circle.js +1 -1
  130. package/dist/progress/Progress.js +1 -1
  131. package/dist/radio/PropTypes.d.ts +2 -2
  132. package/dist/radio/Radio.js +1 -1
  133. package/dist/radio/index.d.ts +1 -1
  134. package/dist/radio/index.js +0 -1
  135. package/dist/radio-group/RadioGroup.js +1 -1
  136. package/dist/radio-group/index.d.ts +1 -1
  137. package/dist/radio-group/index.js +0 -1
  138. package/dist/rate/PropTypes.d.ts +1 -1
  139. package/dist/rate/Rate.js +1 -1
  140. package/dist/rate/index.d.ts +1 -1
  141. package/dist/rate/index.js +0 -1
  142. package/dist/row/Row.js +1 -1
  143. package/dist/row/index.d.ts +1 -1
  144. package/dist/row/index.js +0 -1
  145. package/dist/search/Search.js +1 -1
  146. package/dist/search/index.d.ts +1 -1
  147. package/dist/search/index.js +0 -1
  148. package/dist/sidebar/Sidebar.js +1 -1
  149. package/dist/sidebar/index.d.ts +1 -1
  150. package/dist/sidebar/index.js +0 -1
  151. package/dist/sidebar-item/SidebarItem.js +1 -1
  152. package/dist/sidebar-item/index.d.ts +1 -1
  153. package/dist/sidebar-item/index.js +0 -1
  154. package/dist/skeleton/Skeleton.js +1 -1
  155. package/dist/skeleton/index.d.ts +1 -1
  156. package/dist/skeleton/index.js +0 -1
  157. package/dist/slider/RangeSlider.js +1 -1
  158. package/dist/slider/index.js +0 -1
  159. package/dist/stepper/Stepper.js +1 -1
  160. package/dist/stepper/index.d.ts +1 -1
  161. package/dist/stepper/index.js +0 -1
  162. package/dist/steps/Steps.js +1 -1
  163. package/dist/steps/index.d.ts +1 -1
  164. package/dist/steps/index.js +0 -1
  165. package/dist/sticky/Sticky.js +1 -1
  166. package/dist/sticky/index.d.ts +1 -1
  167. package/dist/sticky/index.js +0 -1
  168. package/dist/swipe-cell/SwipeCell.js +1 -1
  169. package/dist/swipe-cell/index.d.ts +1 -1
  170. package/dist/swipe-cell/index.js +0 -1
  171. package/dist/switch/Switch.d.ts +1 -1
  172. package/dist/switch/Switch.js +1 -1
  173. package/dist/switch/index.d.ts +1 -1
  174. package/dist/switch/index.js +0 -1
  175. package/dist/tab/Tab.js +1 -1
  176. package/dist/tab/index.d.ts +1 -1
  177. package/dist/tab/index.js +0 -1
  178. package/dist/tabbar/Tabbar.js +1 -1
  179. package/dist/tabbar/index.d.ts +1 -1
  180. package/dist/tabbar/index.js +0 -1
  181. package/dist/tabbar-item/TabbarItem.js +1 -1
  182. package/dist/tabbar-item/index.d.ts +1 -1
  183. package/dist/tabbar-item/index.js +0 -1
  184. package/dist/tabs/Tabs.js +1 -1
  185. package/dist/tabs/index.d.ts +1 -1
  186. package/dist/tabs/index.js +0 -1
  187. package/dist/tag/Tag.js +1 -1
  188. package/dist/tag/index.d.ts +1 -1
  189. package/dist/tag/index.js +0 -1
  190. package/dist/toast/index.d.ts +1 -1
  191. package/dist/toast/index.js +0 -1
  192. package/dist/toast/toast.d.ts +1 -1
  193. package/dist/toast/toast.js +2 -2
  194. package/dist/transition/Transition.js +1 -1
  195. package/dist/transition/index.d.ts +1 -1
  196. package/dist/transition/index.js +0 -1
  197. package/dist/tree-select/TreeSelect.js +1 -1
  198. package/dist/tree-select/index.d.ts +1 -1
  199. package/dist/tree-select/index.js +0 -1
  200. package/package.json +1 -1
@@ -1,4 +1,3 @@
1
1
  import _DateTimePicker from './DateTimePicker';
2
2
  const DateTimePicker = _DateTimePicker;
3
3
  export { DateTimePicker };
4
- export * from './PropTypes';
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import DialogInstance from '@tuya-miniapp/smart-ui/lib/dialog/dialog';
2
+ import DialogInstance from '@tuya-miniapp/smart-ui/dist/dialog/dialog';
3
3
  import { SmartDialogProps } from './PropTypes';
4
4
  declare const _default: import("react").FC<SmartDialogProps>;
5
5
  export default _default;
@@ -1,7 +1,7 @@
1
1
  import { withReactProps } from '../common/withReactProps';
2
2
  // @ts-ignore
3
- import _Dialog from '@tuya-miniapp/smart-ui/lib/dialog/index';
3
+ import _Dialog from '@tuya-miniapp/smart-ui/dist/dialog/index';
4
4
  // @ts-ignore
5
- import DialogInstance from '@tuya-miniapp/smart-ui/lib/dialog/dialog';
5
+ import DialogInstance from '@tuya-miniapp/smart-ui/dist/dialog/dialog';
6
6
  export default withReactProps(_Dialog);
7
7
  export { DialogInstance };
@@ -3,4 +3,4 @@ import type { SmartDialog, SmartDialogInstance } from './PropTypes';
3
3
  declare const Dialog: import("react").FC<SmartDialog>;
4
4
  declare const DialogInstance: SmartDialogInstance;
5
5
  export { Dialog, DialogInstance };
6
- export * from './PropTypes';
6
+ export { SmartDialog, SmartDialogProps, SmartDialogInstance, SmartDialogOptions, } from './PropTypes';
@@ -2,4 +2,3 @@ import _Dialog, { DialogInstance as _DialogInstance } from './Dialog';
2
2
  const Dialog = _Dialog;
3
3
  const DialogInstance = _DialogInstance;
4
4
  export { Dialog, DialogInstance };
5
- export * from './PropTypes';
@@ -1,2 +1,2 @@
1
- import Divider from '@tuya-miniapp/smart-ui/lib/divider/index';
1
+ import Divider from '@tuya-miniapp/smart-ui/dist/divider/index';
2
2
  export default Divider;
@@ -1,3 +1,3 @@
1
1
  // @ts-ignore
2
- import Divider from '@tuya-miniapp/smart-ui/lib/divider/index';
2
+ import Divider from '@tuya-miniapp/smart-ui/dist/divider/index';
3
3
  export default Divider;
@@ -2,4 +2,4 @@
2
2
  import type { SmartDivider } from './PropTypes';
3
3
  declare const Divider: import("react").FC<SmartDivider>;
4
4
  export { Divider };
5
- export * from './PropTypes';
5
+ export { SmartDivider, SmartDividerProps } from './PropTypes';
@@ -1,4 +1,3 @@
1
1
  import _Divider from './Divider';
2
2
  const Divider = _Divider;
3
3
  export { Divider };
4
- export * from './PropTypes';
@@ -1,4 +1,4 @@
1
1
  // @ts-ignore
2
- import DropdownItem from '@tuya-miniapp/smart-ui/lib/dropdown-item/index';
2
+ import DropdownItem from '@tuya-miniapp/smart-ui/dist/dropdown-item/index';
3
3
  import { withReactProps } from '../common/withReactProps';
4
4
  export default withReactProps(DropdownItem);
@@ -2,4 +2,4 @@
2
2
  import type { SmartDropdownItem } from './PropTypes';
3
3
  declare const DropdownItem: import("react").FC<SmartDropdownItem>;
4
4
  export { DropdownItem };
5
- export * from './PropTypes';
5
+ export { SmartDropdownItem, SmartDropdownItemEvents, SmartDropdownItemOption, SmartDropdownItemProps, SmartDropdownItemChangeEvent, } from './PropTypes';
@@ -1,4 +1,3 @@
1
1
  import _DropdownItem from './DropdownItem';
2
2
  const DropdownItem = _DropdownItem;
3
3
  export { DropdownItem };
4
- export * from './PropTypes';
@@ -1,4 +1,4 @@
1
1
  // @ts-ignore
2
- import DropdownMenu from '@tuya-miniapp/smart-ui/lib/dropdown-menu/index';
2
+ import DropdownMenu from '@tuya-miniapp/smart-ui/dist/dropdown-menu/index';
3
3
  import { withReactProps } from '../common/withReactProps';
4
4
  export default withReactProps(DropdownMenu);
@@ -2,4 +2,4 @@
2
2
  import type { SmartDropdownMenu } from './PropTypes';
3
3
  declare const DropdownMenu: import("react").FC<SmartDropdownMenu>;
4
4
  export { DropdownMenu };
5
- export * from './PropTypes';
5
+ export { SmartDropdownMenu, SmartDropdownMenuProps } from './PropTypes';
@@ -1,4 +1,3 @@
1
1
  import _DropdownMenu from './DropdownMenu';
2
2
  const DropdownMenu = _DropdownMenu;
3
3
  export { DropdownMenu };
4
- export * from './PropTypes';
@@ -1,5 +1,5 @@
1
1
  // @ts-ignore
2
- import Empty from '@tuya-miniapp/smart-ui/lib/empty/index';
2
+ import Empty from '@tuya-miniapp/smart-ui/dist/empty/index';
3
3
  // @ts-ignore
4
4
  import { withReactProps } from '../common/withReactProps';
5
5
  export default withReactProps(Empty);
@@ -2,4 +2,4 @@
2
2
  import type { SmartEmpty } from './PropTypes';
3
3
  declare const Empty: import("react").FC<SmartEmpty>;
4
4
  export { Empty };
5
- export * from './PropTypes';
5
+ export { SmartEmpty, SmartEmptyProps } from './PropTypes';
@@ -1,4 +1,3 @@
1
1
  import _Empty from './Empty';
2
2
  const Empty = _Empty;
3
3
  export { Empty };
4
- export * from './PropTypes';
@@ -1,2 +1,2 @@
1
- import Field from '@tuya-miniapp/smart-ui/lib/field/index';
1
+ import Field from '@tuya-miniapp/smart-ui/dist/field/index';
2
2
  export default Field;
@@ -1,3 +1,3 @@
1
1
  // @ts-ignore
2
- import Field from '@tuya-miniapp/smart-ui/lib/field/index';
2
+ import Field from '@tuya-miniapp/smart-ui/dist/field/index';
3
3
  export default Field;
@@ -2,4 +2,4 @@
2
2
  import type { SmartField } from './PropTypes';
3
3
  declare const Field: import("react").FC<SmartField>;
4
4
  export { Field };
5
- export * from './PropTypes';
5
+ export { SmartField, SmartFieldEvents, SmartFieldExternalClassName, SmartFieldProps, SmartFieldInputEvent, SmartFieldBlurEventDetail, SmartFieldFocusEventDetail, SmartFieldKeyboardHeightChangeEventDetail, SmartFieldLineChangeEventDetail, } from './PropTypes';
@@ -2,4 +2,3 @@ import { withReactProps } from '../common/withReactProps';
2
2
  import _Field from './Field';
3
3
  const Field = withReactProps(_Field);
4
4
  export { Field };
5
- export * from './PropTypes';
package/dist/grid/Grid.js CHANGED
@@ -1,4 +1,4 @@
1
1
  // @ts-ignore
2
- import Grid from '@tuya-miniapp/smart-ui/lib/grid/index';
2
+ import Grid from '@tuya-miniapp/smart-ui/dist/grid/index';
3
3
  import { withReactProps } from '../common/withReactProps';
4
4
  export default withReactProps(Grid);
@@ -2,4 +2,4 @@
2
2
  import type { SmartGrid } from './PropTypes';
3
3
  declare const Grid: import("react").FC<SmartGrid>;
4
4
  export { Grid };
5
- export * from './PropTypes';
5
+ export { SmartGrid, SmartGridExternalClassName, SmartGridProps } from './PropTypes';
@@ -1,4 +1,3 @@
1
1
  import _Grid from './Grid';
2
2
  const Grid = _Grid;
3
3
  export { Grid };
4
- export * from './PropTypes';
@@ -1,4 +1,4 @@
1
1
  // @ts-ignore
2
- import GridItem from '@tuya-miniapp/smart-ui/lib/grid-item/index';
2
+ import GridItem from '@tuya-miniapp/smart-ui/dist/grid-item/index';
3
3
  import { withReactProps } from '../common/withReactProps';
4
4
  export default withReactProps(GridItem);
@@ -2,4 +2,4 @@
2
2
  import type { SmartGridItem } from './PropTypes';
3
3
  declare const GridItem: import("react").FC<SmartGridItem>;
4
4
  export { GridItem };
5
- export * from './PropTypes';
5
+ export { SmartGridItem, SmartGridItemEvents, SmartGridItemExternalClassName, SmartGridItemProps, } from './PropTypes';
@@ -1,4 +1,3 @@
1
1
  import _GridItem from './GridItem';
2
2
  const GridItem = _GridItem;
3
3
  export { GridItem };
4
- export * from './PropTypes';
package/dist/icon/Icon.js CHANGED
@@ -1,4 +1,4 @@
1
1
  // @ts-ignore
2
- import Icon from '@tuya-miniapp/smart-ui/lib/icon/index';
2
+ import Icon from '@tuya-miniapp/smart-ui/dist/icon/index';
3
3
  import { withReactProps } from '../common/withReactProps';
4
4
  export default withReactProps(Icon);
@@ -2,4 +2,4 @@
2
2
  import type { SmartIcon } from './PropTypes';
3
3
  declare const Icon: import("react").FC<SmartIcon>;
4
4
  export { Icon };
5
- export * from './PropTypes';
5
+ export { SmartIcon, SmartIconEvents, SmartIconExternalClassName, SmartIconProps, } from './PropTypes';
@@ -1,4 +1,3 @@
1
1
  import _Icon from './Icon';
2
2
  const Icon = _Icon;
3
3
  export { Icon };
4
- export * from './PropTypes';
@@ -1,2 +1,2 @@
1
- import Image from '@tuya-miniapp/smart-ui/lib/image/index';
1
+ import Image from '@tuya-miniapp/smart-ui/dist/image/index';
2
2
  export default Image;
@@ -1,3 +1,3 @@
1
1
  // @ts-ignore
2
- import Image from '@tuya-miniapp/smart-ui/lib/image/index';
2
+ import Image from '@tuya-miniapp/smart-ui/dist/image/index';
3
3
  export default Image;
@@ -2,4 +2,4 @@
2
2
  import type { SmartImage } from './PropTypes';
3
3
  declare const Image: import("react").FC<SmartImage>;
4
4
  export { Image };
5
- export * from './PropTypes';
5
+ export { SmartImage, SmartImageEvents, SmartImageExternalClassName, SmartImageProps, SmartImageErrorEventDetail, SmartImageLoadEventDetail, } from './PropTypes';
@@ -2,4 +2,3 @@ import { withReactProps } from '../common/withReactProps';
2
2
  import _Image from './Image';
3
3
  const Image = withReactProps(_Image);
4
4
  export { Image };
5
- export * from './PropTypes';
@@ -1,4 +1,4 @@
1
1
  // @ts-ignore
2
- import IndexAnchor from '@tuya-miniapp/smart-ui/lib/index-anchor/index';
2
+ import IndexAnchor from '@tuya-miniapp/smart-ui/dist/index-anchor/index';
3
3
  import { withReactProps } from '../common/withReactProps';
4
4
  export default withReactProps(IndexAnchor);
@@ -2,4 +2,4 @@
2
2
  import type { SmartIndexAnchor } from './PropTypes';
3
3
  declare const IndexAnchor: import("react").FC<SmartIndexAnchor>;
4
4
  export { IndexAnchor };
5
- export * from './PropTypes';
5
+ export { SmartIndexAnchor, SmartIndexAnchorProps } from './PropTypes';
@@ -1,4 +1,3 @@
1
1
  import _IndexAnchor from './IndexAnchor';
2
2
  const IndexAnchor = _IndexAnchor;
3
3
  export { IndexAnchor };
4
- export * from './PropTypes';
@@ -1,4 +1,4 @@
1
1
  // @ts-ignore
2
- import IndexBar from '@tuya-miniapp/smart-ui/lib/index-bar/index';
2
+ import IndexBar from '@tuya-miniapp/smart-ui/dist/index-bar/index';
3
3
  import { withReactProps } from '../common/withReactProps';
4
4
  export default withReactProps(IndexBar);
@@ -2,4 +2,4 @@
2
2
  import type { SmartIndexBar } from './PropTypes';
3
3
  declare const IndexBar: import("react").FC<SmartIndexBar>;
4
4
  export { IndexBar };
5
- export * from './PropTypes';
5
+ export { SmartIndexBar, SmartIndexBarEvents, SmartIndexBarProps, SmartIndexBarSelectEvent, } from './PropTypes';
@@ -1,4 +1,3 @@
1
1
  import _IndexBar from './IndexBar';
2
2
  const IndexBar = _IndexBar;
3
3
  export { IndexBar };
4
- export * from './PropTypes';
package/dist/index.d.ts CHANGED
@@ -1,58 +1,61 @@
1
- export * from './action-sheet';
2
- export * from './base';
3
- export * from './button';
4
- export * from './bottom-sheet';
5
- export * from './calendar';
6
- export * from './cascader';
7
- export * from './cell';
8
- export * from './cell-group';
9
- export * from './checkbox';
10
- export * from './checkbox-group';
11
- export * from './circle';
12
- export * from './col';
13
- export * from './collapse';
14
- export * from './collapse-item';
15
- export * from './config-provider';
16
- export * from './count-down';
17
- export * from './datetime-picker';
18
- export * from './dialog';
19
- export * from './divider';
20
- export * from './dropdown-item';
21
- export * from './dropdown-menu';
22
- export * from './empty';
23
- export * from './field';
24
- export * from './grid';
25
- export * from './grid-item';
26
- export * from './icon';
27
- export * from './image';
28
- export * from './index-anchor';
29
- export * from './index-bar';
30
- export * from './loading';
31
- export * from './nav-bar';
32
- export * from './notice-bar';
33
- export * from './overlay';
34
- export * from './picker';
35
- export * from './popup';
36
- export * from './radio';
37
- export * from './radio-group';
38
- export * from './rate';
39
- export * from './row';
40
- export * from './search';
41
- export * from './sidebar';
42
- export * from './sidebar-item';
43
- export * from './skeleton';
44
- export * from './slider';
45
- export * from './stepper';
46
- export * from './sticky';
47
- export * from './swipe-cell';
48
- export * from './switch';
49
- export * from './tab';
50
- export * from './tabbar';
51
- export * from './tabbar-item';
52
- export * from './tabs';
53
- export * from './tag';
54
- export * from './toast';
55
- export * from './transition';
56
- export * from './tree-select';
57
- export * from './battery';
58
- export * from './custom-keyboard';
1
+ export { SmartAction, SmartActionSheetProps, SmartActionSheetEvents, SmartActionSheet, ActionSheet, } from './action-sheet';
2
+ export { ComponentBase, SmartComponent, SmartEvent, SmartTouchEvent, SmartEventHandler, SmartTouchEventHandler, TouchPositionDetail, SmartBaseExternalClassName, SmartBaseLoadingExternalClassName, WechatOpenType, SmartOpenTypeProps, SmartOpenTypeCamelCaseProps, SmartOpenTypeEvents, } from './base';
3
+ export { SmartButtonProps, SmartButtonEvents, SmartButtonExternalClassName, SmartButton, Button, } from './button';
4
+ export { SmartBottomSheet, SmartBottomSheetProps, SmartBottomSheetEvents, BottomSheet, } from './bottom-sheet';
5
+ export { Day, SmartCalendarPoppableProps, SmartCalendarRangeProps, SmartCalendarProps, SmartCalendarEvents, SmartCalendar, Calendar, } from './calendar';
6
+ export { SmartCellProps, SmartCellEvents, SmartCellExternalClassName, SmartCell, Cell, } from './cell';
7
+ export { SmartCellGroup, SmartCellGroupExternalClassName, SmartCellGroupProps, CellGroup, } from './cell-group';
8
+ export { SmartCheckbox, SmartCheckboxEvents, SmartCheckboxProps, SmartCheckboxExternalClassName, SmartCheckboxChangeEvent, Checkbox, } from './checkbox';
9
+ export { SmartCheckboxGroup, SmartCheckboxGroupEvents, SmartCheckboxGroupProps, CheckboxGroup, } from './checkbox-group';
10
+ export { SmartCircleProps, SmartCircle, Circle } from './circle';
11
+ export { SmartCol, SmartColProps, SmartColExternalClassName, Col } from './col';
12
+ export { SmartCollapse, SmartCollapseEvents, SmartCollapseExternalClassName, SmartCollapseProps, SmartCollapseBaseEvent, SmartCollapseChangeEvent, Collapse, } from './collapse';
13
+ export { SmartCollapseItem, SmartCollapseItemExternalClassName, SmartCollapseItemProps, CollapseItem, } from './collapse-item';
14
+ export { SmartConfigProvider, SmartConfigProviderProps, ConfigProvider } from './config-provider';
15
+ export { SmartCountDown, SmartCountDownEvents, SmartCountDownProps, SmartCountDownTimeData, CountDown, } from './count-down';
16
+ export { SmartDateTimePicker, SmartDateTimePickerEvents, SmartDateTimePickerProps, SmartDateTimePickerExternalClassName, SmartDateTimePickerBaseEvent, DateTimePicker, } from './datetime-picker';
17
+ export { SmartDialog, SmartDialogProps, SmartDialogInstance, SmartDialogOptions, Dialog, DialogInstance, } from './dialog';
18
+ export { SmartDividerProps, SmartDivider, Divider } from './divider';
19
+ export { SmartDropdownItem, SmartDropdownItemEvents, SmartDropdownItemOption, SmartDropdownItemProps, SmartDropdownItemChangeEvent, DropdownItem, } from './dropdown-item';
20
+ export { SmartDropdownMenu, SmartDropdownMenuProps, DropdownMenu } from './dropdown-menu';
21
+ export { SmartEmpty, SmartEmptyProps, Empty } from './empty';
22
+ export { SmartField, SmartFieldEvents, SmartFieldExternalClassName, SmartFieldProps, SmartFieldInputEvent, SmartFieldBlurEventDetail, SmartFieldFocusEventDetail, SmartFieldKeyboardHeightChangeEventDetail, SmartFieldLineChangeEventDetail, Field, } from './field';
23
+ export { SmartGrid, SmartGridExternalClassName, SmartGridProps, Grid } from './grid';
24
+ export { SmartGridItem, SmartGridItemEvents, SmartGridItemExternalClassName, SmartGridItemProps, GridItem, } from './grid-item';
25
+ export { SmartIcon, SmartIconEvents, SmartIconExternalClassName, SmartIconProps, Icon, } from './icon';
26
+ export { SmartImage, SmartImageEvents, SmartImageExternalClassName, SmartImageProps, SmartImageErrorEventDetail, SmartImageLoadEventDetail, Image, } from './image';
27
+ export { SmartIndexAnchor, SmartIndexAnchorProps, IndexAnchor } from './index-anchor';
28
+ export { SmartIndexBar, SmartIndexBarEvents, SmartIndexBarProps, SmartIndexBarSelectEvent, IndexBar, } from './index-bar';
29
+ export { SmartLoading, SmartLoadingExternalClassName, SmartLoadingProps, Loading } from './loading';
30
+ export { SmartNavBar, SmartNavBarEvents, SmartNavBarExternalClassName, SmartNavBarProps, NavBar, } from './nav-bar';
31
+ export { SmartNoticeBarSlot, SmartNoticeBar, SmartNoticeBarEvents, SmartNoticeBarProps, NoticeBar, } from './notice-bar';
32
+ export { SmartNotifyProps, SmartNotify, SmartNotifyOptions, Notify, NotifyInstance, } from './notify';
33
+ export { SmartOverlay, SmartOverlayEvents, SmartOverlayProps, SmartOverlaySlot, Overlay, } from './overlay';
34
+ export { SmartPicker, SmartPickerEvents, SmartPickerExternalClassName, SmartPickerSingleColumn, SmartPickerMultipleColumn, SmartPickerProps, SmartPickerBaseEventDetail, SmartPickerChangeEventDetail, Picker, } from './picker';
35
+ export { SmartPopup, SmartPopupEvents, SmartPopupExternalClassName, SmartPopupProps, Popup, } from './popup';
36
+ export { Progress, SmartProgressProps } from './progress';
37
+ export { SmartRadio, SmartRadioEvents, SmartRadioExternalClassName, SmartRadioProps, SmartRadioChangeEvent, SmartRadioSlot, Radio, } from './radio';
38
+ export { SmartRadioGroup, SmartRadioGroupEvents, SmartRadioGroupProps, SmartRadioGroupChangeEvent, RadioGroup, } from './radio-group';
39
+ export { SmartRate, SmartRateEvents, SmartRateExternalClassName, SmartRateProps, SmartRateChangeEvent, Rate, } from './rate';
40
+ export { SmartRow, SmartRowExternalClassName, SmartRowProps, Row } from './row';
41
+ export { SmartSearch, SmartSearchEvents, SmartSearchExternalClassName, SmartSearchProps, SmartSearchBaseEvent, Search, } from './search';
42
+ export { SmartSidebar, SmartSidebarEvents, SmartSidebarExternalClassName, SmartSidebarProps, SmartSidebarChangeEvent, Sidebar, } from './sidebar';
43
+ export { SmartSidebarItem, SmartSidebarItemEvents, SmartSidebarItemExternalClassName, SmartSidebarItemProps, SmartSidebarItemClickEvent, SidebarItem, } from './sidebar-item';
44
+ export { SmartSkeleton, SmartSkeletonProps, Skeleton } from './skeleton';
45
+ export { Slider } from './slider';
46
+ export { SmartStepper, SmartStepperEvents, SmartStepperExternalClassName, SmartStepperProps, SmartStepperChangeEvent, SmartStepperOverLimitEvent, SmartStepperBlurEventDetail, SmartStepperFocusEventDetail, Stepper, } from './stepper';
47
+ export { SmartSteps, SmartStepsEvents, SmartStepsExternalClassName, SmartStepsProps, SmartStepsOption, SmartStepsClickStepEvent, Steps, } from './steps';
48
+ export { SmartSticky, SmartStickyEvents, SmartStickyProps, SmartStickyScrollEventDetail, Sticky, } from './sticky';
49
+ export { SmartSwipeCell, SmartSwipeCellEvents, SmartSwipeCellProps, SmartSwipeCellBaseEventDetail, SmartSwipeCellPosition, SmartSwipeCellClickEvent, SmartSwipeCellClickPosition, SmartSwipeCellCloseEventDetail, SwipeCell, } from './swipe-cell';
50
+ export { SmartSwitch, SmartSwitchEvents, SmartSwitchExternalClassName, SmartSwitchProps, SmartSwitchChangeEvent, Switch, } from './switch';
51
+ export { SmartTab, SmartTabProps, Tab } from './tab';
52
+ export { SmartTabbar, SmartTabbarEvents, SmartTabbarProps, SmartTabbarChangeEvent, Tabbar, } from './tabbar';
53
+ export { SmartTabbarItem, SmartTabbarItemProps, TabbarItem } from './tabbar-item';
54
+ export { SmartTabs, SmartTabsEvents, SmartTabsExternalClassName, SmartTabsProps, SmartTabsScrollEventDetail, SmartTabsBaseEventDetail, Tabs, } from './tabs';
55
+ export { SmartTag, SmartTagEvents, SmartTagExternalClassName, SmartTagProps, Tag } from './tag';
56
+ export { SmartToast, SmartToastOptions, Toast, ToastInstance } from './toast';
57
+ export { SmartTransition, SmartTransitionEvents, SmartTransitionExternalClassName, SmartTransitionProps, Transition, } from './transition';
58
+ export { SmartTreeSelect, SmartTreeSelectEvents, SmartTreeSelectExternalClassName, SmartTreeSelectItem, SmartTreeSelectProps, SmartTreeSelectClickNavDetail, TreeSelect, } from './tree-select';
59
+ export { SmartCascader, SmartCascaderProps, Cascader } from './cascader';
60
+ export { SmartBattery, SmartBatteryProps, Battery } from './battery';
61
+ export { SmartCustomKeyboard, SmartCustomKeyboardProps, SmartCustomKeyboardEvents, CustomKeyboard, } from './custom-keyboard';
package/dist/index.js CHANGED
@@ -1,61 +1,60 @@
1
- export * from './action-sheet';
2
- export * from './base';
3
- export * from './button';
4
- export * from './bottom-sheet';
5
- export * from './calendar';
6
- export * from './cascader';
7
- export * from './cell';
8
- export * from './cell-group';
9
- export * from './checkbox';
10
- export * from './checkbox-group';
11
- export * from './circle';
12
- export * from './col';
13
- export * from './collapse';
14
- export * from './collapse-item';
15
- export * from './config-provider';
16
- export * from './count-down';
17
- export * from './datetime-picker';
18
- export * from './dialog';
19
- export * from './divider';
20
- export * from './dropdown-item';
21
- export * from './dropdown-menu';
22
- export * from './empty';
23
- export * from './field';
24
- export * from './grid';
25
- export * from './grid-item';
26
- export * from './icon';
27
- export * from './image';
28
- export * from './index-anchor';
29
- export * from './index-bar';
30
- export * from './loading';
31
- export * from './nav-bar';
32
- export * from './notice-bar';
33
- // export * from './notify';
34
- export * from './overlay';
35
- export * from './picker';
36
- export * from './popup';
37
- // export * from './progress';
38
- export * from './radio';
39
- export * from './radio-group';
40
- export * from './rate';
41
- export * from './row';
42
- export * from './search';
43
- export * from './sidebar';
44
- export * from './sidebar-item';
45
- export * from './skeleton';
46
- export * from './slider';
47
- export * from './stepper';
48
- // export * from './steps';
49
- export * from './sticky';
50
- export * from './swipe-cell';
51
- export * from './switch';
52
- export * from './tab';
53
- export * from './tabbar';
54
- export * from './tabbar-item';
55
- export * from './tabs';
56
- export * from './tag';
57
- export * from './toast';
58
- export * from './transition';
59
- export * from './tree-select';
60
- export * from './battery';
61
- export * from './custom-keyboard';
1
+ export { ActionSheet, } from './action-sheet';
2
+ export { Button, } from './button';
3
+ export { BottomSheet, } from './bottom-sheet';
4
+ export { Calendar, } from './calendar';
5
+ export { Cell, } from './cell';
6
+ export { CellGroup, } from './cell-group';
7
+ export { Checkbox, } from './checkbox';
8
+ export { CheckboxGroup, } from './checkbox-group';
9
+ export { Circle } from './circle';
10
+ export { Col } from './col';
11
+ export { Collapse, } from './collapse';
12
+ export { CollapseItem, } from './collapse-item';
13
+ export { ConfigProvider } from './config-provider';
14
+ export { CountDown, } from './count-down';
15
+ export { DateTimePicker, } from './datetime-picker';
16
+ export { Dialog, DialogInstance, } from './dialog';
17
+ export { Divider } from './divider';
18
+ export { DropdownItem, } from './dropdown-item';
19
+ export { DropdownMenu } from './dropdown-menu';
20
+ export { Empty } from './empty';
21
+ export { Field, } from './field';
22
+ export { Grid } from './grid';
23
+ export { GridItem, } from './grid-item';
24
+ export { Icon, } from './icon';
25
+ export { Image, } from './image';
26
+ export { IndexAnchor } from './index-anchor';
27
+ export { IndexBar, } from './index-bar';
28
+ export { Loading } from './loading';
29
+ export { NavBar, } from './nav-bar';
30
+ export { NoticeBar, } from './notice-bar';
31
+ export { Notify, NotifyInstance, } from './notify';
32
+ export { Overlay, } from './overlay';
33
+ export { Picker, } from './picker';
34
+ export { Popup, } from './popup';
35
+ export { Progress } from './progress';
36
+ export { Radio, } from './radio';
37
+ export { RadioGroup, } from './radio-group';
38
+ export { Rate, } from './rate';
39
+ export { Row } from './row';
40
+ export { Search, } from './search';
41
+ export { Sidebar, } from './sidebar';
42
+ export { SidebarItem, } from './sidebar-item';
43
+ export { Skeleton } from './skeleton';
44
+ export { Slider } from './slider';
45
+ export { Stepper, } from './stepper';
46
+ export { Steps, } from './steps';
47
+ export { Sticky, } from './sticky';
48
+ export { SwipeCell, } from './swipe-cell';
49
+ export { Switch, } from './switch';
50
+ export { Tab } from './tab';
51
+ export { Tabbar, } from './tabbar';
52
+ export { TabbarItem } from './tabbar-item';
53
+ export { Tabs, } from './tabs';
54
+ export { Tag } from './tag';
55
+ export { Toast, ToastInstance } from './toast';
56
+ export { Transition, } from './transition';
57
+ export { TreeSelect, } from './tree-select';
58
+ export { Cascader } from './cascader';
59
+ export { Battery } from './battery';
60
+ export { CustomKeyboard, } from './custom-keyboard';
@@ -1,4 +1,4 @@
1
1
  // @ts-ignore
2
- import Loading from '@tuya-miniapp/smart-ui/lib/loading/index';
2
+ import Loading from '@tuya-miniapp/smart-ui/dist/loading/index';
3
3
  import { withReactProps } from '../common/withReactProps';
4
4
  export default withReactProps(Loading);
@@ -2,4 +2,4 @@
2
2
  import type { SmartLoading } from './PropTypes';
3
3
  declare const Loading: import("react").FC<SmartLoading>;
4
4
  export { Loading };
5
- export * from './PropTypes';
5
+ export { SmartLoading, SmartLoadingExternalClassName, SmartLoadingProps } from './PropTypes';
@@ -1,4 +1,3 @@
1
1
  import _Loading from './Loading';
2
2
  const Loading = _Loading;
3
3
  export { Loading };
4
- export * from './PropTypes';
@@ -1,4 +1,4 @@
1
1
  // @ts-ignore
2
- import NavBar from '@tuya-miniapp/smart-ui/lib/nav-bar/index';
2
+ import NavBar from '@tuya-miniapp/smart-ui/dist/nav-bar/index';
3
3
  import { withReactProps } from '../common/withReactProps';
4
4
  export default withReactProps(NavBar);
@@ -2,4 +2,4 @@
2
2
  import type { SmartNavBar } from './PropTypes';
3
3
  declare const NavBar: import("react").FC<SmartNavBar>;
4
4
  export { NavBar };
5
- export * from './PropTypes';
5
+ export { SmartNavBar, SmartNavBarEvents, SmartNavBarExternalClassName, SmartNavBarProps, } from './PropTypes';
@@ -1,4 +1,3 @@
1
1
  import _NavBar from './NavBar';
2
2
  const NavBar = _NavBar;
3
3
  export { NavBar };
4
- export * from './PropTypes';
@@ -1,4 +1,4 @@
1
1
  // @ts-ignore
2
- import NoticeBar from '@tuya-miniapp/smart-ui/lib/notice-bar/index';
2
+ import NoticeBar from '@tuya-miniapp/smart-ui/dist/notice-bar/index';
3
3
  import { withReactProps } from '../common/withReactProps';
4
4
  export default withReactProps(NoticeBar);
@@ -1,2 +1,2 @@
1
- import { SmartNoticeBar, SmartNoticeBarEvents, SmartNoticeBarProps, SmartNavBarProps } from '../@types';
2
- export { SmartNavBarProps, SmartNoticeBar, SmartNoticeBarEvents, SmartNoticeBarProps };
1
+ import { SmartNoticeBar, SmartNoticeBarEvents, SmartNoticeBarProps, SmartNoticeBarSlot } from '../@types';
2
+ export { SmartNoticeBarSlot, SmartNoticeBar, SmartNoticeBarEvents, SmartNoticeBarProps };
@@ -2,4 +2,4 @@
2
2
  import type { SmartNoticeBar } from './PropTypes';
3
3
  declare const NoticeBar: import("react").FC<SmartNoticeBar>;
4
4
  export { NoticeBar };
5
- export * from './PropTypes';
5
+ export { SmartNoticeBarSlot, SmartNoticeBar, SmartNoticeBarEvents, SmartNoticeBarProps, } from './PropTypes';