@ray-js/smart-ui 2.1.6 → 2.1.7-beta-2

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 (323) hide show
  1. package/dist/@types/action-sheet/index.js +1 -2
  2. package/dist/@types/base/component.js +1 -2
  3. package/dist/@types/base/events.js +1 -2
  4. package/dist/@types/base/external-class-name.js +1 -2
  5. package/dist/@types/base/index.d.ts +4 -4
  6. package/dist/@types/base/index.js +1 -20
  7. package/dist/@types/base/open-type.js +1 -2
  8. package/dist/@types/battery/index.js +1 -2
  9. package/dist/@types/bottom-sheet/index.js +1 -2
  10. package/dist/@types/button/index.js +1 -2
  11. package/dist/@types/calendar/index.js +1 -2
  12. package/dist/@types/cascader/index.js +1 -2
  13. package/dist/@types/cell/index.js +1 -2
  14. package/dist/@types/cell-group/index.js +1 -2
  15. package/dist/@types/checkbox/index.js +1 -2
  16. package/dist/@types/checkbox-group/index.js +1 -2
  17. package/dist/@types/circle/index.js +1 -2
  18. package/dist/@types/col/index.js +1 -2
  19. package/dist/@types/collapse/index.js +1 -2
  20. package/dist/@types/collapse-item/index.js +1 -2
  21. package/dist/@types/config-provider/index.js +1 -2
  22. package/dist/@types/config-provider/theme-vars.js +1 -2
  23. package/dist/@types/count-down/index.js +1 -2
  24. package/dist/@types/custom-keyboard/index.js +1 -2
  25. package/dist/@types/datetime-picker/index.js +1 -2
  26. package/dist/@types/dialog/dialog.js +1 -2
  27. package/dist/@types/dialog/index.d.ts +1 -1
  28. package/dist/@types/dialog/index.js +1 -2
  29. package/dist/@types/divider/index.js +1 -2
  30. package/dist/@types/dropdown-item/index.js +1 -2
  31. package/dist/@types/dropdown-menu/index.js +1 -2
  32. package/dist/@types/empty/index.js +1 -2
  33. package/dist/@types/field/index.js +1 -2
  34. package/dist/@types/grid/index.js +1 -2
  35. package/dist/@types/grid-item/index.js +1 -2
  36. package/dist/@types/icon/index.js +1 -2
  37. package/dist/@types/image/index.js +1 -2
  38. package/dist/@types/index-anchor/index.js +1 -2
  39. package/dist/@types/index-bar/index.js +1 -2
  40. package/dist/@types/index.d.ts +62 -64
  41. package/dist/@types/index.js +1 -80
  42. package/dist/@types/loading/index.js +1 -2
  43. package/dist/@types/nav-bar/index.js +1 -2
  44. package/dist/@types/notice-bar/index.js +1 -2
  45. package/dist/@types/notify/index.js +1 -2
  46. package/dist/@types/notify/notify.js +1 -2
  47. package/dist/@types/overlay/index.js +1 -2
  48. package/dist/@types/picker/index.js +1 -2
  49. package/dist/@types/popup/index.js +1 -2
  50. package/dist/@types/progress/index.js +1 -2
  51. package/dist/@types/radio/index.js +1 -2
  52. package/dist/@types/radio-group/index.js +1 -2
  53. package/dist/@types/rate/index.js +1 -2
  54. package/dist/@types/row/index.js +1 -2
  55. package/dist/@types/search/index.js +1 -2
  56. package/dist/@types/sidebar/index.js +1 -2
  57. package/dist/@types/sidebar-item/index.js +1 -2
  58. package/dist/@types/skeleton/index.js +1 -2
  59. package/dist/@types/slider/index.js +1 -2
  60. package/dist/@types/stepper/index.js +1 -2
  61. package/dist/@types/steps/index.js +1 -2
  62. package/dist/@types/sticky/index.js +1 -2
  63. package/dist/@types/swipe-cell/index.js +1 -2
  64. package/dist/@types/switch/index.js +1 -2
  65. package/dist/@types/tab/index.js +1 -2
  66. package/dist/@types/tabbar/index.js +1 -2
  67. package/dist/@types/tabbar-item/index.js +1 -2
  68. package/dist/@types/tabs/index.js +1 -2
  69. package/dist/@types/tag/index.js +1 -2
  70. package/dist/@types/toast/index.js +1 -2
  71. package/dist/@types/toast/toast.js +1 -3
  72. package/dist/@types/transition/index.js +1 -2
  73. package/dist/@types/tree-select/index.js +1 -2
  74. package/dist/action-sheet/ActionSheet.js +3 -8
  75. package/dist/action-sheet/PropTypes.js +1 -2
  76. package/dist/action-sheet/index.d.ts +1 -1
  77. package/dist/action-sheet/index.js +3 -24
  78. package/dist/base/index.js +1 -2
  79. package/dist/battery/Battery.js +3 -8
  80. package/dist/battery/PropTypes.js +1 -2
  81. package/dist/battery/index.d.ts +1 -1
  82. package/dist/battery/index.js +3 -24
  83. package/dist/bottom-sheet/BottomSheet.js +3 -8
  84. package/dist/bottom-sheet/PropTypes.js +1 -2
  85. package/dist/bottom-sheet/index.d.ts +1 -1
  86. package/dist/bottom-sheet/index.js +3 -24
  87. package/dist/button/Button.js +3 -8
  88. package/dist/button/PropTypes.js +1 -2
  89. package/dist/button/index.d.ts +1 -1
  90. package/dist/button/index.js +3 -24
  91. package/dist/calendar/Calendar.js +3 -8
  92. package/dist/calendar/PropTypes.js +1 -2
  93. package/dist/calendar/index.d.ts +1 -1
  94. package/dist/calendar/index.js +3 -24
  95. package/dist/cascader/Cascader.js +3 -8
  96. package/dist/cascader/PropTypes.js +1 -2
  97. package/dist/cascader/index.d.ts +1 -1
  98. package/dist/cascader/index.js +3 -24
  99. package/dist/cell/Cell.js +3 -8
  100. package/dist/cell/PropTypes.js +1 -2
  101. package/dist/cell/index.d.ts +1 -1
  102. package/dist/cell/index.js +3 -24
  103. package/dist/cell-group/CellGroup.js +2 -7
  104. package/dist/cell-group/PropTypes.js +1 -2
  105. package/dist/cell-group/index.d.ts +1 -1
  106. package/dist/cell-group/index.js +3 -24
  107. package/dist/checkbox/Checkbox.js +3 -8
  108. package/dist/checkbox/PropTypes.js +1 -2
  109. package/dist/checkbox/index.d.ts +1 -1
  110. package/dist/checkbox/index.js +3 -24
  111. package/dist/checkbox-group/CheckboxGroup.js +3 -8
  112. package/dist/checkbox-group/PropTypes.js +1 -2
  113. package/dist/checkbox-group/index.d.ts +1 -1
  114. package/dist/checkbox-group/index.js +3 -24
  115. package/dist/circle/Circle.d.ts +1 -1
  116. package/dist/circle/Circle.js +4 -4
  117. package/dist/circle/PropTypes.d.ts +58 -2
  118. package/dist/circle/PropTypes.js +1 -2
  119. package/dist/circle/index.d.ts +3 -2
  120. package/dist/circle/index.js +18 -24
  121. package/dist/col/Col.js +3 -8
  122. package/dist/col/PropTypes.js +1 -2
  123. package/dist/col/index.d.ts +1 -1
  124. package/dist/col/index.js +3 -24
  125. package/dist/collapse/Collapse.js +2 -7
  126. package/dist/collapse/PropTypes.js +1 -2
  127. package/dist/collapse/index.d.ts +1 -1
  128. package/dist/collapse/index.js +4 -25
  129. package/dist/collapse-item/CollapseItem.js +2 -7
  130. package/dist/collapse-item/PropTypes.js +1 -2
  131. package/dist/collapse-item/index.d.ts +1 -1
  132. package/dist/collapse-item/index.js +4 -25
  133. package/dist/common/withReactProps.js +26 -45
  134. package/dist/config-provider/ConfigProvider.js +2 -7
  135. package/dist/config-provider/PropTypes.js +1 -2
  136. package/dist/config-provider/index.d.ts +1 -1
  137. package/dist/config-provider/index.js +4 -25
  138. package/dist/count-down/CountDown.js +3 -8
  139. package/dist/count-down/PropTypes.js +1 -2
  140. package/dist/count-down/index.d.ts +1 -1
  141. package/dist/count-down/index.js +3 -24
  142. package/dist/custom-keyboard/CustomKeyboard.js +3 -8
  143. package/dist/custom-keyboard/PropTypes.js +1 -2
  144. package/dist/custom-keyboard/index.d.ts +1 -1
  145. package/dist/custom-keyboard/index.js +3 -24
  146. package/dist/datetime-picker/DateTimePicker.js +3 -8
  147. package/dist/datetime-picker/PropTypes.js +1 -2
  148. package/dist/datetime-picker/index.d.ts +1 -1
  149. package/dist/datetime-picker/index.js +3 -24
  150. package/dist/dialog/Dialog.js +5 -11
  151. package/dist/dialog/PropTypes.js +1 -2
  152. package/dist/dialog/index.d.ts +1 -1
  153. package/dist/dialog/index.js +4 -35
  154. package/dist/divider/Divider.js +2 -7
  155. package/dist/divider/PropTypes.js +1 -2
  156. package/dist/divider/index.d.ts +1 -1
  157. package/dist/divider/index.js +3 -24
  158. package/dist/dropdown-item/DropdownItem.js +3 -8
  159. package/dist/dropdown-item/PropTypes.js +1 -2
  160. package/dist/dropdown-item/index.d.ts +1 -1
  161. package/dist/dropdown-item/index.js +3 -24
  162. package/dist/dropdown-menu/DropdownMenu.js +3 -8
  163. package/dist/dropdown-menu/PropTypes.js +1 -2
  164. package/dist/dropdown-menu/index.d.ts +1 -1
  165. package/dist/dropdown-menu/index.js +3 -24
  166. package/dist/empty/Empty.js +3 -8
  167. package/dist/empty/PropTypes.js +1 -2
  168. package/dist/empty/index.d.ts +1 -1
  169. package/dist/empty/index.js +3 -24
  170. package/dist/field/Field.js +2 -7
  171. package/dist/field/PropTypes.js +1 -2
  172. package/dist/field/index.d.ts +1 -1
  173. package/dist/field/index.js +4 -25
  174. package/dist/grid/Grid.js +3 -8
  175. package/dist/grid/PropTypes.js +1 -2
  176. package/dist/grid/index.d.ts +1 -1
  177. package/dist/grid/index.js +3 -24
  178. package/dist/grid-item/GridItem.js +3 -8
  179. package/dist/grid-item/PropTypes.js +1 -2
  180. package/dist/grid-item/index.d.ts +1 -1
  181. package/dist/grid-item/index.js +3 -24
  182. package/dist/icon/Icon.js +3 -8
  183. package/dist/icon/PropTypes.js +1 -2
  184. package/dist/icon/index.d.ts +1 -1
  185. package/dist/icon/index.js +3 -24
  186. package/dist/image/Image.js +2 -7
  187. package/dist/image/PropTypes.js +1 -2
  188. package/dist/image/index.d.ts +1 -1
  189. package/dist/image/index.js +4 -25
  190. package/dist/index-anchor/IndexAnchor.js +3 -8
  191. package/dist/index-anchor/PropTypes.js +1 -2
  192. package/dist/index-anchor/index.d.ts +1 -1
  193. package/dist/index-anchor/index.js +3 -24
  194. package/dist/index-bar/IndexBar.js +3 -8
  195. package/dist/index-bar/PropTypes.js +1 -2
  196. package/dist/index-bar/index.d.ts +1 -1
  197. package/dist/index-bar/index.js +3 -24
  198. package/dist/index.d.ts +61 -59
  199. package/dist/index.js +60 -77
  200. package/dist/loading/Loading.js +3 -8
  201. package/dist/loading/PropTypes.js +1 -2
  202. package/dist/loading/index.d.ts +1 -1
  203. package/dist/loading/index.js +3 -24
  204. package/dist/nav-bar/NavBar.js +3 -8
  205. package/dist/nav-bar/PropTypes.js +1 -2
  206. package/dist/nav-bar/index.d.ts +1 -1
  207. package/dist/nav-bar/index.js +3 -24
  208. package/dist/notice-bar/NoticeBar.js +3 -8
  209. package/dist/notice-bar/PropTypes.d.ts +2 -2
  210. package/dist/notice-bar/PropTypes.js +1 -2
  211. package/dist/notice-bar/index.d.ts +1 -1
  212. package/dist/notice-bar/index.js +3 -24
  213. package/dist/notify/Notify.js +4 -10
  214. package/dist/notify/PropTypes.js +1 -2
  215. package/dist/notify/index.d.ts +1 -1
  216. package/dist/notify/index.js +3 -34
  217. package/dist/overlay/Overlay.js +3 -8
  218. package/dist/overlay/PropTypes.d.ts +2 -2
  219. package/dist/overlay/PropTypes.js +1 -2
  220. package/dist/overlay/index.d.ts +1 -1
  221. package/dist/overlay/index.js +3 -24
  222. package/dist/picker/Picker.js +3 -8
  223. package/dist/picker/PropTypes.js +1 -2
  224. package/dist/picker/index.d.ts +1 -1
  225. package/dist/picker/index.js +3 -24
  226. package/dist/popup/Popup.js +3 -8
  227. package/dist/popup/PropTypes.js +1 -2
  228. package/dist/popup/index.d.ts +1 -1
  229. package/dist/popup/index.js +3 -24
  230. package/dist/progress/Circle.js +3 -8
  231. package/dist/progress/Progress.js +3 -8
  232. package/dist/progress/PropTypes.js +1 -2
  233. package/dist/progress/index.js +8 -25
  234. package/dist/radio/PropTypes.d.ts +2 -2
  235. package/dist/radio/PropTypes.js +1 -2
  236. package/dist/radio/Radio.js +3 -8
  237. package/dist/radio/index.d.ts +1 -1
  238. package/dist/radio/index.js +3 -24
  239. package/dist/radio-group/PropTypes.js +1 -2
  240. package/dist/radio-group/RadioGroup.js +3 -8
  241. package/dist/radio-group/index.d.ts +1 -1
  242. package/dist/radio-group/index.js +3 -24
  243. package/dist/rate/PropTypes.d.ts +1 -1
  244. package/dist/rate/PropTypes.js +1 -2
  245. package/dist/rate/Rate.js +3 -8
  246. package/dist/rate/index.d.ts +1 -1
  247. package/dist/rate/index.js +3 -24
  248. package/dist/row/PropTypes.js +1 -2
  249. package/dist/row/Row.js +3 -8
  250. package/dist/row/index.d.ts +1 -1
  251. package/dist/row/index.js +3 -24
  252. package/dist/search/PropTypes.js +1 -2
  253. package/dist/search/Search.js +3 -8
  254. package/dist/search/index.d.ts +1 -1
  255. package/dist/search/index.js +3 -24
  256. package/dist/sidebar/PropTypes.js +1 -2
  257. package/dist/sidebar/Sidebar.js +3 -8
  258. package/dist/sidebar/index.d.ts +1 -1
  259. package/dist/sidebar/index.js +3 -24
  260. package/dist/sidebar-item/PropTypes.js +1 -2
  261. package/dist/sidebar-item/SidebarItem.js +3 -8
  262. package/dist/sidebar-item/index.d.ts +1 -1
  263. package/dist/sidebar-item/index.js +3 -24
  264. package/dist/skeleton/PropTypes.js +1 -2
  265. package/dist/skeleton/Skeleton.js +3 -8
  266. package/dist/skeleton/index.d.ts +1 -1
  267. package/dist/skeleton/index.js +3 -24
  268. package/dist/slider/PropTypes.js +1 -2
  269. package/dist/slider/RangeSlider.js +6 -22
  270. package/dist/slider/index.js +7 -25
  271. package/dist/stepper/PropTypes.js +1 -2
  272. package/dist/stepper/Stepper.js +3 -8
  273. package/dist/stepper/index.d.ts +1 -1
  274. package/dist/stepper/index.js +3 -24
  275. package/dist/steps/PropTypes.js +1 -2
  276. package/dist/steps/Steps.js +3 -8
  277. package/dist/steps/index.d.ts +1 -1
  278. package/dist/steps/index.js +3 -24
  279. package/dist/sticky/PropTypes.js +1 -2
  280. package/dist/sticky/Sticky.js +3 -8
  281. package/dist/sticky/index.d.ts +1 -1
  282. package/dist/sticky/index.js +3 -24
  283. package/dist/swipe-cell/PropTypes.js +1 -2
  284. package/dist/swipe-cell/SwipeCell.js +3 -8
  285. package/dist/swipe-cell/index.d.ts +1 -1
  286. package/dist/swipe-cell/index.js +3 -24
  287. package/dist/switch/PropTypes.js +1 -2
  288. package/dist/switch/Switch.js +2 -7
  289. package/dist/switch/index.d.ts +1 -1
  290. package/dist/switch/index.js +4 -25
  291. package/dist/tab/PropTypes.js +1 -2
  292. package/dist/tab/Tab.js +8 -24
  293. package/dist/tab/index.d.ts +1 -1
  294. package/dist/tab/index.js +3 -24
  295. package/dist/tabbar/PropTypes.js +1 -2
  296. package/dist/tabbar/Tabbar.js +3 -8
  297. package/dist/tabbar/index.d.ts +1 -1
  298. package/dist/tabbar/index.js +3 -24
  299. package/dist/tabbar-item/PropTypes.js +1 -2
  300. package/dist/tabbar-item/TabbarItem.js +3 -8
  301. package/dist/tabbar-item/index.d.ts +1 -1
  302. package/dist/tabbar-item/index.js +3 -24
  303. package/dist/tabs/PropTypes.js +1 -2
  304. package/dist/tabs/Tabs.js +12 -28
  305. package/dist/tabs/index.d.ts +1 -1
  306. package/dist/tabs/index.js +3 -24
  307. package/dist/tag/PropTypes.js +1 -2
  308. package/dist/tag/Tag.js +3 -8
  309. package/dist/tag/index.d.ts +1 -1
  310. package/dist/tag/index.js +3 -24
  311. package/dist/toast/PropTypes.js +1 -2
  312. package/dist/toast/index.d.ts +1 -1
  313. package/dist/toast/index.js +4 -35
  314. package/dist/toast/toast.js +5 -11
  315. package/dist/transition/PropTypes.js +1 -2
  316. package/dist/transition/Transition.js +3 -8
  317. package/dist/transition/index.d.ts +1 -1
  318. package/dist/transition/index.js +3 -24
  319. package/dist/tree-select/PropTypes.js +1 -2
  320. package/dist/tree-select/TreeSelect.js +3 -8
  321. package/dist/tree-select/index.d.ts +1 -1
  322. package/dist/tree-select/index.js +3 -24
  323. package/package.json +2 -2
@@ -1,13 +1,7 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- exports.__esModule = true;
6
- exports.DialogInstance = void 0;
7
- var withReactProps_1 = require("../common/withReactProps");
1
+ import { withReactProps } from '../common/withReactProps';
8
2
  // @ts-ignore
9
- var index_1 = __importDefault(require("@tuya-miniapp/smart-ui/lib/dialog/index"));
3
+ import _Dialog from '@tuya-miniapp/smart-ui/lib/dialog/index';
10
4
  // @ts-ignore
11
- var dialog_1 = __importDefault(require("@tuya-miniapp/smart-ui/lib/dialog/dialog"));
12
- exports.DialogInstance = dialog_1["default"];
13
- exports["default"] = (0, withReactProps_1.withReactProps)(index_1["default"]);
5
+ import DialogInstance from '@tuya-miniapp/smart-ui/lib/dialog/dialog';
6
+ export default withReactProps(_Dialog);
7
+ export { DialogInstance };
@@ -1,2 +1 @@
1
- "use strict";
2
- exports.__esModule = true;
1
+ export {};
@@ -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';
@@ -1,35 +1,4 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
- };
28
- exports.__esModule = true;
29
- exports.DialogInstance = exports.Dialog = void 0;
30
- var Dialog_1 = __importStar(require("./Dialog"));
31
- var Dialog = Dialog_1["default"];
32
- exports.Dialog = Dialog;
33
- var DialogInstance = Dialog_1.DialogInstance;
34
- exports.DialogInstance = DialogInstance;
35
- __exportStar(require("./PropTypes"), exports);
1
+ import _Dialog, { DialogInstance as _DialogInstance } from './Dialog';
2
+ const Dialog = _Dialog;
3
+ const DialogInstance = _DialogInstance;
4
+ export { Dialog, DialogInstance };
@@ -1,8 +1,3 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- exports.__esModule = true;
6
1
  // @ts-ignore
7
- var index_1 = __importDefault(require("@tuya-miniapp/smart-ui/lib/divider/index"));
8
- exports["default"] = index_1["default"];
2
+ import Divider from '@tuya-miniapp/smart-ui/lib/divider/index';
3
+ export default Divider;
@@ -1,2 +1 @@
1
- "use strict";
2
- exports.__esModule = true;
1
+ export {};
@@ -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,24 +1,3 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- var __importDefault = (this && this.__importDefault) || function (mod) {
17
- return (mod && mod.__esModule) ? mod : { "default": mod };
18
- };
19
- exports.__esModule = true;
20
- exports.Divider = void 0;
21
- var Divider_1 = __importDefault(require("./Divider"));
22
- var Divider = Divider_1["default"];
23
- exports.Divider = Divider;
24
- __exportStar(require("./PropTypes"), exports);
1
+ import _Divider from './Divider';
2
+ const Divider = _Divider;
3
+ export { Divider };
@@ -1,9 +1,4 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- exports.__esModule = true;
6
1
  // @ts-ignore
7
- var index_1 = __importDefault(require("@tuya-miniapp/smart-ui/lib/dropdown-item/index"));
8
- var withReactProps_1 = require("../common/withReactProps");
9
- exports["default"] = (0, withReactProps_1.withReactProps)(index_1["default"]);
2
+ import DropdownItem from '@tuya-miniapp/smart-ui/lib/dropdown-item/index';
3
+ import { withReactProps } from '../common/withReactProps';
4
+ export default withReactProps(DropdownItem);
@@ -1,2 +1 @@
1
- "use strict";
2
- exports.__esModule = true;
1
+ export {};
@@ -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,24 +1,3 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- var __importDefault = (this && this.__importDefault) || function (mod) {
17
- return (mod && mod.__esModule) ? mod : { "default": mod };
18
- };
19
- exports.__esModule = true;
20
- exports.DropdownItem = void 0;
21
- var DropdownItem_1 = __importDefault(require("./DropdownItem"));
22
- var DropdownItem = DropdownItem_1["default"];
23
- exports.DropdownItem = DropdownItem;
24
- __exportStar(require("./PropTypes"), exports);
1
+ import _DropdownItem from './DropdownItem';
2
+ const DropdownItem = _DropdownItem;
3
+ export { DropdownItem };
@@ -1,9 +1,4 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- exports.__esModule = true;
6
1
  // @ts-ignore
7
- var index_1 = __importDefault(require("@tuya-miniapp/smart-ui/lib/dropdown-menu/index"));
8
- var withReactProps_1 = require("../common/withReactProps");
9
- exports["default"] = (0, withReactProps_1.withReactProps)(index_1["default"]);
2
+ import DropdownMenu from '@tuya-miniapp/smart-ui/lib/dropdown-menu/index';
3
+ import { withReactProps } from '../common/withReactProps';
4
+ export default withReactProps(DropdownMenu);
@@ -1,2 +1 @@
1
- "use strict";
2
- exports.__esModule = true;
1
+ export {};
@@ -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,24 +1,3 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- var __importDefault = (this && this.__importDefault) || function (mod) {
17
- return (mod && mod.__esModule) ? mod : { "default": mod };
18
- };
19
- exports.__esModule = true;
20
- exports.DropdownMenu = void 0;
21
- var DropdownMenu_1 = __importDefault(require("./DropdownMenu"));
22
- var DropdownMenu = DropdownMenu_1["default"];
23
- exports.DropdownMenu = DropdownMenu;
24
- __exportStar(require("./PropTypes"), exports);
1
+ import _DropdownMenu from './DropdownMenu';
2
+ const DropdownMenu = _DropdownMenu;
3
+ export { DropdownMenu };
@@ -1,10 +1,5 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- exports.__esModule = true;
6
1
  // @ts-ignore
7
- var index_1 = __importDefault(require("@tuya-miniapp/smart-ui/lib/empty/index"));
2
+ import Empty from '@tuya-miniapp/smart-ui/lib/empty/index';
8
3
  // @ts-ignore
9
- var withReactProps_1 = require("../common/withReactProps");
10
- exports["default"] = (0, withReactProps_1.withReactProps)(index_1["default"]);
4
+ import { withReactProps } from '../common/withReactProps';
5
+ export default withReactProps(Empty);
@@ -1,2 +1 @@
1
- "use strict";
2
- exports.__esModule = true;
1
+ export {};
@@ -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,24 +1,3 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- var __importDefault = (this && this.__importDefault) || function (mod) {
17
- return (mod && mod.__esModule) ? mod : { "default": mod };
18
- };
19
- exports.__esModule = true;
20
- exports.Empty = void 0;
21
- var Empty_1 = __importDefault(require("./Empty"));
22
- var Empty = Empty_1["default"];
23
- exports.Empty = Empty;
24
- __exportStar(require("./PropTypes"), exports);
1
+ import _Empty from './Empty';
2
+ const Empty = _Empty;
3
+ export { Empty };
@@ -1,8 +1,3 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- exports.__esModule = true;
6
1
  // @ts-ignore
7
- var index_1 = __importDefault(require("@tuya-miniapp/smart-ui/lib/field/index"));
8
- exports["default"] = index_1["default"];
2
+ import Field from '@tuya-miniapp/smart-ui/lib/field/index';
3
+ export default Field;
@@ -1,2 +1 @@
1
- "use strict";
2
- exports.__esModule = true;
1
+ export {};
@@ -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';
@@ -1,25 +1,4 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- var __importDefault = (this && this.__importDefault) || function (mod) {
17
- return (mod && mod.__esModule) ? mod : { "default": mod };
18
- };
19
- exports.__esModule = true;
20
- exports.Field = void 0;
21
- var withReactProps_1 = require("../common/withReactProps");
22
- var Field_1 = __importDefault(require("./Field"));
23
- var Field = (0, withReactProps_1.withReactProps)(Field_1["default"]);
24
- exports.Field = Field;
25
- __exportStar(require("./PropTypes"), exports);
1
+ import { withReactProps } from '../common/withReactProps';
2
+ import _Field from './Field';
3
+ const Field = withReactProps(_Field);
4
+ export { Field };
package/dist/grid/Grid.js CHANGED
@@ -1,9 +1,4 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- exports.__esModule = true;
6
1
  // @ts-ignore
7
- var index_1 = __importDefault(require("@tuya-miniapp/smart-ui/lib/grid/index"));
8
- var withReactProps_1 = require("../common/withReactProps");
9
- exports["default"] = (0, withReactProps_1.withReactProps)(index_1["default"]);
2
+ import Grid from '@tuya-miniapp/smart-ui/lib/grid/index';
3
+ import { withReactProps } from '../common/withReactProps';
4
+ export default withReactProps(Grid);
@@ -1,2 +1 @@
1
- "use strict";
2
- exports.__esModule = true;
1
+ export {};
@@ -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,24 +1,3 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- var __importDefault = (this && this.__importDefault) || function (mod) {
17
- return (mod && mod.__esModule) ? mod : { "default": mod };
18
- };
19
- exports.__esModule = true;
20
- exports.Grid = void 0;
21
- var Grid_1 = __importDefault(require("./Grid"));
22
- var Grid = Grid_1["default"];
23
- exports.Grid = Grid;
24
- __exportStar(require("./PropTypes"), exports);
1
+ import _Grid from './Grid';
2
+ const Grid = _Grid;
3
+ export { Grid };
@@ -1,9 +1,4 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- exports.__esModule = true;
6
1
  // @ts-ignore
7
- var index_1 = __importDefault(require("@tuya-miniapp/smart-ui/lib/grid-item/index"));
8
- var withReactProps_1 = require("../common/withReactProps");
9
- exports["default"] = (0, withReactProps_1.withReactProps)(index_1["default"]);
2
+ import GridItem from '@tuya-miniapp/smart-ui/lib/grid-item/index';
3
+ import { withReactProps } from '../common/withReactProps';
4
+ export default withReactProps(GridItem);
@@ -1,2 +1 @@
1
- "use strict";
2
- exports.__esModule = true;
1
+ export {};
@@ -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,24 +1,3 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- var __importDefault = (this && this.__importDefault) || function (mod) {
17
- return (mod && mod.__esModule) ? mod : { "default": mod };
18
- };
19
- exports.__esModule = true;
20
- exports.GridItem = void 0;
21
- var GridItem_1 = __importDefault(require("./GridItem"));
22
- var GridItem = GridItem_1["default"];
23
- exports.GridItem = GridItem;
24
- __exportStar(require("./PropTypes"), exports);
1
+ import _GridItem from './GridItem';
2
+ const GridItem = _GridItem;
3
+ export { GridItem };
package/dist/icon/Icon.js CHANGED
@@ -1,9 +1,4 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- exports.__esModule = true;
6
1
  // @ts-ignore
7
- var index_1 = __importDefault(require("@tuya-miniapp/smart-ui/lib/icon/index"));
8
- var withReactProps_1 = require("../common/withReactProps");
9
- exports["default"] = (0, withReactProps_1.withReactProps)(index_1["default"]);
2
+ import Icon from '@tuya-miniapp/smart-ui/lib/icon/index';
3
+ import { withReactProps } from '../common/withReactProps';
4
+ export default withReactProps(Icon);
@@ -1,2 +1 @@
1
- "use strict";
2
- exports.__esModule = true;
1
+ export {};
@@ -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,24 +1,3 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- var __importDefault = (this && this.__importDefault) || function (mod) {
17
- return (mod && mod.__esModule) ? mod : { "default": mod };
18
- };
19
- exports.__esModule = true;
20
- exports.Icon = void 0;
21
- var Icon_1 = __importDefault(require("./Icon"));
22
- var Icon = Icon_1["default"];
23
- exports.Icon = Icon;
24
- __exportStar(require("./PropTypes"), exports);
1
+ import _Icon from './Icon';
2
+ const Icon = _Icon;
3
+ export { Icon };
@@ -1,8 +1,3 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- exports.__esModule = true;
6
1
  // @ts-ignore
7
- var index_1 = __importDefault(require("@tuya-miniapp/smart-ui/lib/image/index"));
8
- exports["default"] = index_1["default"];
2
+ import Image from '@tuya-miniapp/smart-ui/lib/image/index';
3
+ export default Image;
@@ -1,2 +1 @@
1
- "use strict";
2
- exports.__esModule = true;
1
+ export {};
@@ -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';
@@ -1,25 +1,4 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- var __importDefault = (this && this.__importDefault) || function (mod) {
17
- return (mod && mod.__esModule) ? mod : { "default": mod };
18
- };
19
- exports.__esModule = true;
20
- exports.Image = void 0;
21
- var withReactProps_1 = require("../common/withReactProps");
22
- var Image_1 = __importDefault(require("./Image"));
23
- var Image = (0, withReactProps_1.withReactProps)(Image_1["default"]);
24
- exports.Image = Image;
25
- __exportStar(require("./PropTypes"), exports);
1
+ import { withReactProps } from '../common/withReactProps';
2
+ import _Image from './Image';
3
+ const Image = withReactProps(_Image);
4
+ export { Image };
@@ -1,9 +1,4 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- exports.__esModule = true;
6
1
  // @ts-ignore
7
- var index_1 = __importDefault(require("@tuya-miniapp/smart-ui/lib/index-anchor/index"));
8
- var withReactProps_1 = require("../common/withReactProps");
9
- exports["default"] = (0, withReactProps_1.withReactProps)(index_1["default"]);
2
+ import IndexAnchor from '@tuya-miniapp/smart-ui/lib/index-anchor/index';
3
+ import { withReactProps } from '../common/withReactProps';
4
+ export default withReactProps(IndexAnchor);
@@ -1,2 +1 @@
1
- "use strict";
2
- exports.__esModule = true;
1
+ export {};
@@ -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';