@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,2 +1,2 @@
1
- import { SmartOverlay, SmartOverlayEvents, SmartOverlayProps } from '../@types';
2
- export { SmartOverlay, SmartOverlayEvents, SmartOverlayProps };
1
+ import { SmartOverlay, SmartOverlayEvents, SmartOverlayProps, SmartOverlaySlot } from '../@types';
2
+ export { SmartOverlay, SmartOverlayEvents, SmartOverlayProps, SmartOverlaySlot };
@@ -1,2 +1 @@
1
- "use strict";
2
- exports.__esModule = true;
1
+ export {};
@@ -2,4 +2,4 @@
2
2
  import type { SmartOverlay } from './PropTypes';
3
3
  declare const Overlay: import("react").FC<SmartOverlay>;
4
4
  export { Overlay };
5
- export * from './PropTypes';
5
+ export { SmartOverlay, SmartOverlayEvents, SmartOverlayProps, SmartOverlaySlot } 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.Overlay = void 0;
21
- var Overlay_1 = __importDefault(require("./Overlay"));
22
- var Overlay = Overlay_1["default"];
23
- exports.Overlay = Overlay;
24
- __exportStar(require("./PropTypes"), exports);
1
+ import _Overlay from './Overlay';
2
+ const Overlay = _Overlay;
3
+ export { Overlay };
@@ -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/picker/index"));
8
- var withReactProps_1 = require("../common/withReactProps");
9
- exports["default"] = (0, withReactProps_1.withReactProps)(index_1["default"]);
2
+ import VanPicker from '@tuya-miniapp/smart-ui/lib/picker/index';
3
+ import { withReactProps } from '../common/withReactProps';
4
+ export default withReactProps(VanPicker);
@@ -1,2 +1 @@
1
- "use strict";
2
- exports.__esModule = true;
1
+ export {};
@@ -2,4 +2,4 @@
2
2
  import type { SmartPicker } from './PropTypes';
3
3
  declare const Picker: import("react").FC<SmartPicker>;
4
4
  export { Picker };
5
- export * from './PropTypes';
5
+ export { SmartPicker, SmartPickerEvents, SmartPickerExternalClassName, SmartPickerSingleColumn, SmartPickerMultipleColumn, SmartPickerProps, SmartPickerBaseEventDetail, SmartPickerChangeEventDetail, } 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.Picker = void 0;
21
- var Picker_1 = __importDefault(require("./Picker"));
22
- var Picker = Picker_1["default"];
23
- exports.Picker = Picker;
24
- __exportStar(require("./PropTypes"), exports);
1
+ import _Picker from './Picker';
2
+ const Picker = _Picker;
3
+ export { Picker };
@@ -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/popup/index"));
8
- var withReactProps_1 = require("../common/withReactProps");
9
- exports["default"] = (0, withReactProps_1.withReactProps)(index_1["default"]);
2
+ import Popup from '@tuya-miniapp/smart-ui/lib/popup/index';
3
+ import { withReactProps } from '../common/withReactProps';
4
+ export default withReactProps(Popup);
@@ -1,2 +1 @@
1
- "use strict";
2
- exports.__esModule = true;
1
+ export {};
@@ -2,4 +2,4 @@
2
2
  import type { SmartPopup } from './PropTypes';
3
3
  declare const Popup: import("react").FC<SmartPopup>;
4
4
  export { Popup };
5
- export * from './PropTypes';
5
+ export { SmartPopup, SmartPopupEvents, SmartPopupExternalClassName, SmartPopupProps, } 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.Popup = void 0;
21
- var Popup_1 = __importDefault(require("./Popup"));
22
- var Popup = Popup_1["default"];
23
- exports.Popup = Popup;
24
- __exportStar(require("./PropTypes"), exports);
1
+ import _Popup from './Popup';
2
+ const Popup = _Popup;
3
+ export { Popup };
@@ -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/circle/index"));
8
- var withReactProps_1 = require("../common/withReactProps");
9
- exports["default"] = (0, withReactProps_1.withReactProps)(index_1["default"]);
2
+ import Circle from '@tuya-miniapp/smart-ui/lib/circle/index';
3
+ import { withReactProps } from '../common/withReactProps';
4
+ export default withReactProps(Circle);
@@ -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/progress/index"));
8
- var withReactProps_1 = require("../common/withReactProps");
9
- exports["default"] = (0, withReactProps_1.withReactProps)(index_1["default"]);
2
+ import Progress from '@tuya-miniapp/smart-ui/lib/progress/index';
3
+ import { withReactProps } from '../common/withReactProps';
4
+ export default withReactProps(Progress);
@@ -1,2 +1 @@
1
- "use strict";
2
- exports.__esModule = true;
1
+ export {};
@@ -1,27 +1,10 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- var __importDefault = (this && this.__importDefault) || function (mod) {
14
- return (mod && mod.__esModule) ? mod : { "default": mod };
15
- };
16
- exports.__esModule = true;
17
- exports.Progress = void 0;
18
- var jsx_runtime_1 = require("react/jsx-runtime");
19
- var Circle_1 = __importDefault(require("./Circle"));
20
- var Progress_1 = __importDefault(require("./Progress"));
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import ProgressCircle from './Circle';
3
+ import ProgressBar from './Progress';
21
4
  function Progress(props) {
22
- return ((0, jsx_runtime_1.jsx)(Progress_1["default"]
5
+ return (_jsx(ProgressBar
23
6
  // @ts-ignore 属性修改,breaking change 向下兼容
24
- , __assign({
7
+ , Object.assign({
25
8
  // @ts-ignore 属性修改,breaking change 向下兼容
26
9
  color: props.fillColor,
27
10
  // @ts-ignore 属性修改,breaking change 向下兼容
@@ -29,11 +12,10 @@ function Progress(props) {
29
12
  // @ts-ignore 属性修改,breaking change 向下兼容
30
13
  trackColor: props.trackColor, "show-pivot": false }, props)));
31
14
  }
32
- exports.Progress = Progress;
33
15
  function Circle(props) {
34
- return ((0, jsx_runtime_1.jsx)(Circle_1["default"]
16
+ return (_jsx(ProgressCircle
35
17
  // @ts-ignore 属性修改,breaking change 向下兼容
36
- , __assign({
18
+ , Object.assign({
37
19
  // @ts-ignore 属性修改,breaking change 向下兼容
38
20
  size: props.size,
39
21
  // @ts-ignore 属性修改,breaking change 向下兼容
@@ -46,3 +28,4 @@ function Circle(props) {
46
28
  percent: props.value }, props)));
47
29
  }
48
30
  Progress.Circle = Circle;
31
+ export { Progress };
@@ -1,2 +1,2 @@
1
- import { SmartRadio, SmartRadioEvents, SmartRadioExternalClassName, SmartRadioProps, SmartRadioChangeEvent } from '../@types';
2
- export { SmartRadio, SmartRadioEvents, SmartRadioExternalClassName, SmartRadioProps, SmartRadioChangeEvent, };
1
+ import { SmartRadio, SmartRadioEvents, SmartRadioExternalClassName, SmartRadioProps, SmartRadioChangeEvent, SmartRadioSlot } from '../@types';
2
+ export { SmartRadio, SmartRadioEvents, SmartRadioExternalClassName, SmartRadioProps, SmartRadioChangeEvent, SmartRadioSlot, };
@@ -1,2 +1 @@
1
- "use strict";
2
- exports.__esModule = true;
1
+ export {};
@@ -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/radio/index"));
8
- var withReactProps_1 = require("../common/withReactProps");
9
- exports["default"] = (0, withReactProps_1.withReactProps)(index_1["default"]);
2
+ import Radio from '@tuya-miniapp/smart-ui/lib/radio/index';
3
+ import { withReactProps } from '../common/withReactProps';
4
+ export default withReactProps(Radio);
@@ -2,4 +2,4 @@
2
2
  import type { SmartRadio } from './PropTypes';
3
3
  declare const Radio: import("react").FC<SmartRadio>;
4
4
  export { Radio };
5
- export * from './PropTypes';
5
+ export { SmartRadio, SmartRadioEvents, SmartRadioExternalClassName, SmartRadioProps, SmartRadioChangeEvent, SmartRadioSlot, } 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.Radio = void 0;
21
- var Radio_1 = __importDefault(require("./Radio"));
22
- var Radio = Radio_1["default"];
23
- exports.Radio = Radio;
24
- __exportStar(require("./PropTypes"), exports);
1
+ import _Radio from './Radio';
2
+ const Radio = _Radio;
3
+ export { Radio };
@@ -1,2 +1 @@
1
- "use strict";
2
- exports.__esModule = true;
1
+ export {};
@@ -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/radio-group/index"));
8
- var withReactProps_1 = require("../common/withReactProps");
9
- exports["default"] = (0, withReactProps_1.withReactProps)(index_1["default"]);
2
+ import RadioGroup from '@tuya-miniapp/smart-ui/lib/radio-group/index';
3
+ import { withReactProps } from '../common/withReactProps';
4
+ export default withReactProps(RadioGroup);
@@ -2,4 +2,4 @@
2
2
  import type { SmartRadioGroup } from './PropTypes';
3
3
  declare const RadioGroup: import("react").FC<SmartRadioGroup>;
4
4
  export { RadioGroup };
5
- export * from './PropTypes';
5
+ export { SmartRadioGroup, SmartRadioGroupEvents, SmartRadioGroupProps, SmartRadioGroupChangeEvent, } 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.RadioGroup = void 0;
21
- var RadioGroup_1 = __importDefault(require("./RadioGroup"));
22
- var RadioGroup = RadioGroup_1["default"];
23
- exports.RadioGroup = RadioGroup;
24
- __exportStar(require("./PropTypes"), exports);
1
+ import _RadioGroup from './RadioGroup';
2
+ const RadioGroup = _RadioGroup;
3
+ export { RadioGroup };
@@ -1,2 +1,2 @@
1
1
  import { SmartRate, SmartRateEvents, SmartRateExternalClassName, SmartRateProps, SmartRateChangeEvent } from '../@types';
2
- export { SmartRate, SmartRateEvents, SmartRateExternalClassName, SmartRateProps, SmartRateChangeEvent };
2
+ export { SmartRate, SmartRateEvents, SmartRateExternalClassName, SmartRateProps, SmartRateChangeEvent, };
@@ -1,2 +1 @@
1
- "use strict";
2
- exports.__esModule = true;
1
+ export {};
package/dist/rate/Rate.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/rate/index"));
8
- var withReactProps_1 = require("../common/withReactProps");
9
- exports["default"] = (0, withReactProps_1.withReactProps)(index_1["default"]);
2
+ import Rate from '@tuya-miniapp/smart-ui/lib/rate/index';
3
+ import { withReactProps } from '../common/withReactProps';
4
+ export default withReactProps(Rate);
@@ -2,4 +2,4 @@
2
2
  import type { SmartRate } from './PropTypes';
3
3
  declare const Rate: import("react").FC<SmartRate>;
4
4
  export { Rate };
5
- export * from './PropTypes';
5
+ export { SmartRate, SmartRateEvents, SmartRateExternalClassName, SmartRateProps, SmartRateChangeEvent, } 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.Rate = void 0;
21
- var Rate_1 = __importDefault(require("./Rate"));
22
- var Rate = Rate_1["default"];
23
- exports.Rate = Rate;
24
- __exportStar(require("./PropTypes"), exports);
1
+ import _Rate from './Rate';
2
+ const Rate = _Rate;
3
+ export { Rate };
@@ -1,2 +1 @@
1
- "use strict";
2
- exports.__esModule = true;
1
+ export {};
package/dist/row/Row.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/row/index"));
8
- var withReactProps_1 = require("../common/withReactProps");
9
- exports["default"] = (0, withReactProps_1.withReactProps)(index_1["default"]);
2
+ import Row from '@tuya-miniapp/smart-ui/lib/row/index';
3
+ import { withReactProps } from '../common/withReactProps';
4
+ export default withReactProps(Row);
@@ -2,4 +2,4 @@
2
2
  import type { SmartRow } from './PropTypes';
3
3
  declare const Row: import("react").FC<SmartRow>;
4
4
  export { Row };
5
- export * from './PropTypes';
5
+ export { SmartRow, SmartRowExternalClassName, SmartRowProps } from './PropTypes';
package/dist/row/index.js CHANGED
@@ -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.Row = void 0;
21
- var Row_1 = __importDefault(require("./Row"));
22
- var Row = Row_1["default"];
23
- exports.Row = Row;
24
- __exportStar(require("./PropTypes"), exports);
1
+ import _Row from './Row';
2
+ const Row = _Row;
3
+ export { Row };
@@ -1,2 +1 @@
1
- "use strict";
2
- exports.__esModule = true;
1
+ export {};
@@ -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/search/index"));
8
- var withReactProps_1 = require("../common/withReactProps");
9
- exports["default"] = (0, withReactProps_1.withReactProps)(index_1["default"]);
2
+ import Search from '@tuya-miniapp/smart-ui/lib/search/index';
3
+ import { withReactProps } from '../common/withReactProps';
4
+ export default withReactProps(Search);
@@ -2,4 +2,4 @@
2
2
  import type { SmartSearch } from './PropTypes';
3
3
  declare const Search: import("react").FC<SmartSearch>;
4
4
  export { Search };
5
- export * from './PropTypes';
5
+ export { SmartSearch, SmartSearchEvents, SmartSearchExternalClassName, SmartSearchProps, SmartSearchBaseEvent, } 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.Search = void 0;
21
- var Search_1 = __importDefault(require("./Search"));
22
- var Search = Search_1["default"];
23
- exports.Search = Search;
24
- __exportStar(require("./PropTypes"), exports);
1
+ import _Search from './Search';
2
+ const Search = _Search;
3
+ export { Search };
@@ -1,2 +1 @@
1
- "use strict";
2
- exports.__esModule = true;
1
+ export {};
@@ -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/sidebar/index"));
8
- var withReactProps_1 = require("../common/withReactProps");
9
- exports["default"] = (0, withReactProps_1.withReactProps)(index_1["default"]);
2
+ import Sidebar from '@tuya-miniapp/smart-ui/lib/sidebar/index';
3
+ import { withReactProps } from '../common/withReactProps';
4
+ export default withReactProps(Sidebar);
@@ -2,4 +2,4 @@
2
2
  import type { SmartSidebar } from './PropTypes';
3
3
  declare const Sidebar: import("react").FC<SmartSidebar>;
4
4
  export { Sidebar };
5
- export * from './PropTypes';
5
+ export { SmartSidebar, SmartSidebarEvents, SmartSidebarExternalClassName, SmartSidebarProps, SmartSidebarChangeEvent, } 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.Sidebar = void 0;
21
- var Sidebar_1 = __importDefault(require("./Sidebar"));
22
- var Sidebar = Sidebar_1["default"];
23
- exports.Sidebar = Sidebar;
24
- __exportStar(require("./PropTypes"), exports);
1
+ import _Sidebar from './Sidebar';
2
+ const Sidebar = _Sidebar;
3
+ export { Sidebar };
@@ -1,2 +1 @@
1
- "use strict";
2
- exports.__esModule = true;
1
+ export {};
@@ -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/sidebar-item/index"));
8
- var withReactProps_1 = require("../common/withReactProps");
9
- exports["default"] = (0, withReactProps_1.withReactProps)(index_1["default"]);
2
+ import SidebarItem from '@tuya-miniapp/smart-ui/lib/sidebar-item/index';
3
+ import { withReactProps } from '../common/withReactProps';
4
+ export default withReactProps(SidebarItem);
@@ -2,4 +2,4 @@
2
2
  import type { SmartSidebarItem } from './PropTypes';
3
3
  declare const SidebarItem: import("react").FC<SmartSidebarItem>;
4
4
  export { SidebarItem };
5
- export * from './PropTypes';
5
+ export { SmartSidebarItem, SmartSidebarItemEvents, SmartSidebarItemExternalClassName, SmartSidebarItemProps, SmartSidebarItemClickEvent, } from './PropTypes';