@bifrostui/react 1.2.2 → 1.2.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 (209) hide show
  1. package/dist/ActionSheet/ActionSheet.js +1 -1
  2. package/dist/ActionSheet/ActionSheet.types.js +1 -15
  3. package/dist/ActionSheet/ActionSheetItem.js +1 -1
  4. package/dist/ActionSheet/ActionSheetItem.types.js +1 -15
  5. package/dist/Alert/Alert.js +1 -1
  6. package/dist/Alert/Alert.types.js +1 -15
  7. package/dist/Avatar/Avatar.js +1 -1
  8. package/dist/Avatar/Avatar.types.js +1 -15
  9. package/dist/Avatar/AvatarGroup.js +1 -1
  10. package/dist/Avatar/AvatarGroup.types.js +1 -15
  11. package/dist/Backdrop/Backdrop.js +1 -1
  12. package/dist/Backdrop/Backdrop.types.js +1 -15
  13. package/dist/Badge/Badge.js +1 -1
  14. package/dist/Badge/Badge.types.js +1 -15
  15. package/dist/Button/Button.js +1 -1
  16. package/dist/Button/Button.types.js +1 -15
  17. package/dist/Calendar/Calendar.js +1 -1
  18. package/dist/Calendar/Calendar.types.js +1 -15
  19. package/dist/Card/Card.js +1 -1
  20. package/dist/Card/Card.types.js +1 -15
  21. package/dist/Card/CardContent.js +1 -1
  22. package/dist/Card/CardContent.types.js +1 -15
  23. package/dist/Card/CardFooter.js +1 -1
  24. package/dist/Card/CardFooter.types.js +1 -15
  25. package/dist/Card/CardHeader.js +1 -1
  26. package/dist/Card/CardHeader.types.js +1 -15
  27. package/dist/Checkbox/Checkbox.types.js +1 -15
  28. package/dist/CitySelector/CitySelector.js +1 -1
  29. package/dist/CitySelector/CitySelector.miniapp.js +1 -1
  30. package/dist/CitySelector/CitySelector.types.js +1 -15
  31. package/dist/CitySelector/CitySelectorCore.js +1 -1
  32. package/dist/Countdown/Countdown.types.js +1 -15
  33. package/dist/Divider/Divider.types.js +1 -15
  34. package/dist/Drawer/Drawer.js +1 -1
  35. package/dist/Drawer/Drawer.types.js +1 -15
  36. package/dist/Fade/Fade.js +1 -1
  37. package/dist/Fade/Fade.types.js +1 -15
  38. package/dist/IconButton/IconButton.js +1 -1
  39. package/dist/IconButton/IconButton.types.js +1 -15
  40. package/dist/Image/Image.js +1 -1
  41. package/dist/Image/Image.types.js +1 -15
  42. package/dist/Input/Input.types.js +1 -15
  43. package/dist/List/List.js +1 -1
  44. package/dist/List/List.types.js +1 -15
  45. package/dist/List/ListItem.js +1 -1
  46. package/dist/List/ListItem.types.js +1 -15
  47. package/dist/List/ListItemContent.js +1 -1
  48. package/dist/List/ListItemContent.types.js +1 -15
  49. package/dist/List/ListItemExtra.js +1 -1
  50. package/dist/List/ListItemExtra.types.js +1 -15
  51. package/dist/List/ListItemFooter.js +1 -1
  52. package/dist/List/ListItemFooter.types.js +1 -15
  53. package/dist/List/ListItemHeader.js +1 -1
  54. package/dist/List/ListItemHeader.types.js +1 -15
  55. package/dist/Loading/Loading.js +1 -1
  56. package/dist/Loading/Loading.types.js +1 -15
  57. package/dist/Modal/Modal.js +1 -1
  58. package/dist/Modal/Modal.miniapp.js +1 -1
  59. package/dist/Modal/Modal.types.js +1 -15
  60. package/dist/NavBar/NavBar.js +1 -1
  61. package/dist/NavBar/NavBar.types.js +1 -15
  62. package/dist/Picker/Picker.js +1 -1
  63. package/dist/Picker/Picker.types.js +1 -15
  64. package/dist/Picker/PickerPanel.js +1 -1
  65. package/dist/Portal/Portal.js +1 -1
  66. package/dist/Portal/Portal.types.js +1 -15
  67. package/dist/Portal/PortalCore.js +1 -1
  68. package/dist/Progress/Progress.js +1 -1
  69. package/dist/Progress/Progress.types.js +1 -15
  70. package/dist/Radio/Radio.types.js +1 -15
  71. package/dist/Rating/Rating.types.js +1 -15
  72. package/dist/ScrollView/ScrollView.types.js +1 -15
  73. package/dist/Select/Select.js +1 -1
  74. package/dist/Select/Select.types.js +1 -15
  75. package/dist/Select/SelectOption.js +1 -1
  76. package/dist/Skeleton/Skeleton.js +1 -1
  77. package/dist/Skeleton/Skeleton.types.js +1 -15
  78. package/dist/Slide/Slide.js +1 -1
  79. package/dist/Slide/Slide.types.js +1 -15
  80. package/dist/Slider/Slider.js +1 -1
  81. package/dist/Slider/Slider.types.js +1 -15
  82. package/dist/Stack/Stack.js +1 -1
  83. package/dist/Stack/Stack.types.js +1 -15
  84. package/dist/Steps/Step.types.js +1 -15
  85. package/dist/Steps/Steps.types.js +1 -15
  86. package/dist/Swiper/Swiper.types.js +1 -15
  87. package/dist/Switch/Switch.types.js +1 -15
  88. package/dist/TabBar/TabBar.js +1 -1
  89. package/dist/TabBar/TabBarItem.js +1 -1
  90. package/dist/TabBar/index.types.js +1 -15
  91. package/dist/Tabs/Tab.js +1 -1
  92. package/dist/Tabs/Tab.types.js +1 -15
  93. package/dist/Tabs/TabPanel.types.js +1 -15
  94. package/dist/Tabs/Tabs.js +1 -1
  95. package/dist/Tabs/Tabs.types.js +1 -15
  96. package/dist/Tag/Tag.js +1 -1
  97. package/dist/Tag/Tag.types.js +1 -15
  98. package/dist/Tag/TagGroup.js +1 -1
  99. package/dist/Tag/TagGroup.types.js +1 -15
  100. package/dist/TextArea/TextArea.js +1 -1
  101. package/dist/TextArea/TextArea.types.js +1 -15
  102. package/dist/Transition/Transition.js +1 -1
  103. package/dist/Transition/Transition.miniapp.js +1 -1
  104. package/dist/Transition/Transition.types.js +1 -15
  105. package/es/ActionSheet/ActionSheet.js +1 -1
  106. package/es/ActionSheet/ActionSheet.types.js +1 -0
  107. package/es/ActionSheet/ActionSheetItem.js +1 -1
  108. package/es/ActionSheet/ActionSheetItem.types.js +1 -0
  109. package/es/Alert/Alert.js +1 -1
  110. package/es/Alert/Alert.types.js +1 -0
  111. package/es/Avatar/Avatar.js +1 -1
  112. package/es/Avatar/Avatar.types.js +1 -0
  113. package/es/Avatar/AvatarGroup.js +1 -1
  114. package/es/Avatar/AvatarGroup.types.js +1 -0
  115. package/es/Backdrop/Backdrop.js +1 -1
  116. package/es/Backdrop/Backdrop.types.js +1 -0
  117. package/es/Badge/Badge.js +1 -1
  118. package/es/Badge/Badge.types.js +1 -0
  119. package/es/Button/Button.js +1 -1
  120. package/es/Button/Button.types.js +1 -0
  121. package/es/Calendar/Calendar.js +1 -1
  122. package/es/Calendar/Calendar.types.js +1 -0
  123. package/es/Card/Card.js +1 -1
  124. package/es/Card/Card.types.js +1 -0
  125. package/es/Card/CardContent.js +1 -1
  126. package/es/Card/CardContent.types.js +1 -0
  127. package/es/Card/CardFooter.js +1 -1
  128. package/es/Card/CardFooter.types.js +1 -0
  129. package/es/Card/CardHeader.js +1 -1
  130. package/es/Card/CardHeader.types.js +1 -0
  131. package/es/Checkbox/Checkbox.types.js +1 -0
  132. package/es/CitySelector/CitySelector.js +1 -1
  133. package/es/CitySelector/CitySelector.miniapp.js +1 -1
  134. package/es/CitySelector/CitySelector.types.js +1 -0
  135. package/es/CitySelector/CitySelectorCore.js +1 -1
  136. package/es/Countdown/Countdown.types.js +1 -0
  137. package/es/Divider/Divider.types.js +1 -0
  138. package/es/Drawer/Drawer.js +1 -1
  139. package/es/Drawer/Drawer.types.js +1 -0
  140. package/es/Fade/Fade.js +1 -1
  141. package/es/Fade/Fade.types.js +1 -0
  142. package/es/IconButton/IconButton.js +1 -1
  143. package/es/IconButton/IconButton.types.js +1 -0
  144. package/es/Image/Image.js +1 -1
  145. package/es/Image/Image.types.js +1 -0
  146. package/es/Input/Input.types.js +1 -0
  147. package/es/List/List.js +1 -1
  148. package/es/List/List.types.js +1 -0
  149. package/es/List/ListItem.js +1 -1
  150. package/es/List/ListItem.types.js +1 -0
  151. package/es/List/ListItemContent.js +1 -1
  152. package/es/List/ListItemContent.types.js +1 -0
  153. package/es/List/ListItemExtra.js +1 -1
  154. package/es/List/ListItemExtra.types.js +1 -0
  155. package/es/List/ListItemFooter.js +1 -1
  156. package/es/List/ListItemFooter.types.js +1 -0
  157. package/es/List/ListItemHeader.js +1 -1
  158. package/es/List/ListItemHeader.types.js +1 -0
  159. package/es/Loading/Loading.js +1 -1
  160. package/es/Loading/Loading.types.js +1 -0
  161. package/es/Modal/Modal.js +1 -1
  162. package/es/Modal/Modal.miniapp.js +1 -1
  163. package/es/Modal/Modal.types.js +1 -0
  164. package/es/NavBar/NavBar.js +1 -1
  165. package/es/NavBar/NavBar.types.js +1 -0
  166. package/es/Picker/Picker.js +1 -1
  167. package/es/Picker/Picker.types.js +1 -0
  168. package/es/Picker/PickerPanel.js +1 -1
  169. package/es/Portal/Portal.js +1 -1
  170. package/es/Portal/Portal.types.js +1 -0
  171. package/es/Portal/PortalCore.js +1 -1
  172. package/es/Progress/Progress.js +1 -1
  173. package/es/Progress/Progress.types.js +1 -0
  174. package/es/Radio/Radio.types.js +1 -0
  175. package/es/Rating/Rating.types.js +1 -0
  176. package/es/ScrollView/ScrollView.types.js +1 -0
  177. package/es/Select/Select.js +1 -1
  178. package/es/Select/Select.types.js +1 -0
  179. package/es/Select/SelectOption.js +1 -1
  180. package/es/Skeleton/Skeleton.js +1 -1
  181. package/es/Skeleton/Skeleton.types.js +1 -0
  182. package/es/Slide/Slide.js +1 -1
  183. package/es/Slide/Slide.types.js +1 -0
  184. package/es/Slider/Slider.js +1 -1
  185. package/es/Slider/Slider.types.js +1 -0
  186. package/es/Stack/Stack.js +1 -1
  187. package/es/Stack/Stack.types.js +1 -0
  188. package/es/Steps/Step.types.js +1 -0
  189. package/es/Steps/Steps.types.js +1 -0
  190. package/es/Swiper/Swiper.types.js +1 -0
  191. package/es/Switch/Switch.types.js +1 -0
  192. package/es/TabBar/TabBar.js +1 -1
  193. package/es/TabBar/TabBarItem.js +1 -1
  194. package/es/TabBar/index.types.js +1 -0
  195. package/es/Tabs/Tab.js +1 -1
  196. package/es/Tabs/Tab.types.js +1 -0
  197. package/es/Tabs/TabPanel.types.js +1 -0
  198. package/es/Tabs/Tabs.js +1 -1
  199. package/es/Tabs/Tabs.types.js +1 -0
  200. package/es/Tag/Tag.js +1 -1
  201. package/es/Tag/Tag.types.js +1 -0
  202. package/es/Tag/TagGroup.js +1 -1
  203. package/es/Tag/TagGroup.types.js +1 -0
  204. package/es/TextArea/TextArea.js +1 -1
  205. package/es/TextArea/TextArea.types.js +1 -0
  206. package/es/Transition/Transition.js +1 -1
  207. package/es/Transition/Transition.miniapp.js +1 -1
  208. package/es/Transition/Transition.types.js +1 -0
  209. package/package.json +5 -5
@@ -62,7 +62,7 @@ var import_clsx = __toESM(require("clsx"));
62
62
  var import_TabBarItem = require("./TabBarItem.css");
63
63
  var import_TabBarContext = __toESM(require("./TabBarContext"));
64
64
  const prefixCls = "bui-tab-bar-item";
65
- const TabBarItem = import_react.default.forwardRef(
65
+ const TabBarItem = /* @__PURE__ */ import_react.default.forwardRef(
66
66
  (props, ref) => {
67
67
  var _b;
68
68
  const { currentIndex, activeColor, color, onChange } = (0, import_react.useContext)(import_TabBarContext.default);
@@ -1,15 +1 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __copyProps = (to, from, except, desc) => {
6
- if (from && typeof from === "object" || typeof from === "function") {
7
- for (let key of __getOwnPropNames(from))
8
- if (!__hasOwnProp.call(to, key) && key !== except)
9
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
- }
11
- return to;
12
- };
13
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
- var index_types_exports = {};
15
- module.exports = __toCommonJS(index_types_exports);
1
+ export {};
package/dist/Tabs/Tab.js CHANGED
@@ -65,7 +65,7 @@ var import_react = __toESM(require("react"));
65
65
  var import_TabsContext = __toESM(require("./TabsContext"));
66
66
  var import_Tab2 = require("./Tab.css");
67
67
  const prefixCls = "bui-tab";
68
- const Tab = import_react.default.forwardRef((props, ref) => {
68
+ const Tab = /* @__PURE__ */ import_react.default.forwardRef((props, ref) => {
69
69
  const _a = props, { className, children, index, disabled, onClick } = _a, others = __objRest(_a, ["className", "children", "index", "disabled", "onClick"]);
70
70
  const tabsContext = import_react.default.useContext(import_TabsContext.default);
71
71
  const { value, align, triggerChange } = tabsContext;
@@ -1,15 +1 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __copyProps = (to, from, except, desc) => {
6
- if (from && typeof from === "object" || typeof from === "function") {
7
- for (let key of __getOwnPropNames(from))
8
- if (!__hasOwnProp.call(to, key) && key !== except)
9
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
- }
11
- return to;
12
- };
13
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
- var Tab_types_exports = {};
15
- module.exports = __toCommonJS(Tab_types_exports);
1
+ export {};
@@ -1,15 +1 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __copyProps = (to, from, except, desc) => {
6
- if (from && typeof from === "object" || typeof from === "function") {
7
- for (let key of __getOwnPropNames(from))
8
- if (!__hasOwnProp.call(to, key) && key !== except)
9
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
- }
11
- return to;
12
- };
13
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
- var TabPanel_types_exports = {};
15
- module.exports = __toCommonJS(TabPanel_types_exports);
1
+ export {};
package/dist/Tabs/Tabs.js CHANGED
@@ -64,7 +64,7 @@ var import_Tabs = require("./Tabs.css");
64
64
  var import_TabsContext = require("./TabsContext");
65
65
  var import_bound = __toESM(require("./utils/bound"));
66
66
  const prefixCls = "bui-tabs";
67
- const Tabs = import_react.default.forwardRef((props, ref) => {
67
+ const Tabs = /* @__PURE__ */ import_react.default.forwardRef((props, ref) => {
68
68
  const _a = props, { children, className, value, tabs, align, onChange } = _a, others = __objRest(_a, ["children", "className", "value", "tabs", "align", "onChange"]);
69
69
  const [active, setActive] = (0, import_react.useState)("");
70
70
  const tabsRef = (0, import_react.useRef)(null);
@@ -1,15 +1 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __copyProps = (to, from, except, desc) => {
6
- if (from && typeof from === "object" || typeof from === "function") {
7
- for (let key of __getOwnPropNames(from))
8
- if (!__hasOwnProp.call(to, key) && key !== except)
9
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
- }
11
- return to;
12
- };
13
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
- var Tabs_types_exports = {};
15
- module.exports = __toCommonJS(Tabs_types_exports);
1
+ export {};
package/dist/Tag/Tag.js CHANGED
@@ -73,7 +73,7 @@ const colorHandler = (color, opacity = 1) => {
73
73
  return (0, import_utils.convertHexToRGBA)(color, opacity);
74
74
  };
75
75
  const prefixCls = "bui-tag";
76
- const Tag = import_react.default.forwardRef((props, ref) => {
76
+ const Tag = /* @__PURE__ */ import_react.default.forwardRef((props, ref) => {
77
77
  const _a = props, {
78
78
  className,
79
79
  style,
@@ -1,15 +1 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __copyProps = (to, from, except, desc) => {
6
- if (from && typeof from === "object" || typeof from === "function") {
7
- for (let key of __getOwnPropNames(from))
8
- if (!__hasOwnProp.call(to, key) && key !== except)
9
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
- }
11
- return to;
12
- };
13
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
- var Tag_types_exports = {};
15
- module.exports = __toCommonJS(Tag_types_exports);
1
+ export {};
@@ -60,7 +60,7 @@ var import_clsx = __toESM(require("clsx"));
60
60
  var import_react = __toESM(require("react"));
61
61
  var import_TagGroup2 = require("./TagGroup.css");
62
62
  const prefixCls = "bui-tag-group";
63
- const Tag = import_react.default.forwardRef((props, ref) => {
63
+ const Tag = /* @__PURE__ */ import_react.default.forwardRef((props, ref) => {
64
64
  const _a = props, { className, onClick, children } = _a, others = __objRest(_a, ["className", "onClick", "children"]);
65
65
  return /* @__PURE__ */ import_react.default.createElement(
66
66
  "div",
@@ -1,15 +1 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __copyProps = (to, from, except, desc) => {
6
- if (from && typeof from === "object" || typeof from === "function") {
7
- for (let key of __getOwnPropNames(from))
8
- if (!__hasOwnProp.call(to, key) && key !== except)
9
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
- }
11
- return to;
12
- };
13
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
- var TagGroup_types_exports = {};
15
- module.exports = __toCommonJS(TagGroup_types_exports);
1
+ export {};
@@ -65,7 +65,7 @@ var import_react = __toESM(require("react"));
65
65
  var import_TextArea2 = require("./TextArea.css");
66
66
  const prefixCls = "bui-textarea";
67
67
  const DEFAULT_ROWS = 2;
68
- const TextArea = import_react.default.forwardRef(
68
+ const TextArea = /* @__PURE__ */ import_react.default.forwardRef(
69
69
  (props, ref) => {
70
70
  const _a = props, {
71
71
  className,
@@ -1,15 +1 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __copyProps = (to, from, except, desc) => {
6
- if (from && typeof from === "object" || typeof from === "function") {
7
- for (let key of __getOwnPropNames(from))
8
- if (!__hasOwnProp.call(to, key) && key !== except)
9
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
- }
11
- return to;
12
- };
13
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
- var TextArea_types_exports = {};
15
- module.exports = __toCommonJS(TextArea_types_exports);
1
+ export {};
@@ -50,7 +50,7 @@ __export(Transition_exports, {
50
50
  module.exports = __toCommonJS(Transition_exports);
51
51
  var import_react = __toESM(require("react"));
52
52
  var import_TransitionCore = __toESM(require("./TransitionCore"));
53
- const Transition = import_react.default.forwardRef(
53
+ const Transition = /* @__PURE__ */ import_react.default.forwardRef(
54
54
  (props, ref) => {
55
55
  return /* @__PURE__ */ import_react.default.createElement(import_TransitionCore.default, __spreadProps(__spreadValues({}, props), { ref, nextTick: setTimeout }));
56
56
  }
@@ -51,7 +51,7 @@ module.exports = __toCommonJS(Transition_miniapp_exports);
51
51
  var import_taro = __toESM(require("@tarojs/taro"));
52
52
  var import_react = __toESM(require("react"));
53
53
  var import_TransitionCore = __toESM(require("./TransitionCore"));
54
- const Transition = import_react.default.forwardRef(
54
+ const Transition = /* @__PURE__ */ import_react.default.forwardRef(
55
55
  (props, ref) => {
56
56
  return /* @__PURE__ */ import_react.default.createElement(import_TransitionCore.default, __spreadProps(__spreadValues({}, props), { nextTick: import_taro.default.nextTick, ref }));
57
57
  }
@@ -1,15 +1 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __copyProps = (to, from, except, desc) => {
6
- if (from && typeof from === "object" || typeof from === "function") {
7
- for (let key of __getOwnPropNames(from))
8
- if (!__hasOwnProp.call(to, key) && key !== except)
9
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
- }
11
- return to;
12
- };
13
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
- var Transition_types_exports = {};
15
- module.exports = __toCommonJS(Transition_types_exports);
1
+ export {};
@@ -35,7 +35,7 @@ const prefixCls = "bui-action-sheet";
35
35
  const ActionSheetCancel = ({ children, onClick }) => {
36
36
  return /* @__PURE__ */ React.createElement("div", { className: `${prefixCls}-item ${prefixCls}-cancel`, onClick }, children);
37
37
  };
38
- const ActionSheet = React.forwardRef(
38
+ const ActionSheet = /* @__PURE__ */ React.forwardRef(
39
39
  (props, ref) => {
40
40
  const _a = props, {
41
41
  open,
@@ -0,0 +1 @@
1
+ export {};
@@ -31,7 +31,7 @@ import React, { useContext } from "react";
31
31
  import ActionSheetContext from "./ActionSheetContext";
32
32
  import "./ActionSheetItem.css";
33
33
  const prefixCls = "bui-action-sheet-item";
34
- const ActionSheetItem = React.forwardRef(
34
+ const ActionSheetItem = /* @__PURE__ */ React.forwardRef(
35
35
  (props, ref) => {
36
36
  const _a = props, {
37
37
  className,
@@ -0,0 +1 @@
1
+ export {};
package/es/Alert/Alert.js CHANGED
@@ -100,7 +100,7 @@ const AlertAction = (props) => {
100
100
  /* @__PURE__ */ React.createElement(CloseIcon, null)
101
101
  );
102
102
  };
103
- const Alert = React.forwardRef((props, ref) => {
103
+ const Alert = /* @__PURE__ */ React.forwardRef((props, ref) => {
104
104
  const _a = props, {
105
105
  color,
106
106
  className,
@@ -0,0 +1 @@
1
+ export {};
@@ -34,7 +34,7 @@ import React from "react";
34
34
  import Image from "../Image";
35
35
  import "./Avatar.css";
36
36
  const prefixCls = "bui-avatar";
37
- const Avatar = React.forwardRef((props, ref) => {
37
+ const Avatar = /* @__PURE__ */ React.forwardRef((props, ref) => {
38
38
  const _a = props, {
39
39
  className,
40
40
  onClick,
@@ -0,0 +1 @@
1
+ export {};
@@ -34,7 +34,7 @@ import React, { cloneElement } from "react";
34
34
  import Avatar from "./Avatar";
35
35
  import "./AvatarGroup.css";
36
36
  const prefixCls = "bui-avatar-group";
37
- const AvatarGroup = React.forwardRef(
37
+ const AvatarGroup = /* @__PURE__ */ React.forwardRef(
38
38
  (props, ref) => {
39
39
  const _a = props, {
40
40
  className,
@@ -0,0 +1 @@
1
+ export {};
@@ -31,7 +31,7 @@ import React from "react";
31
31
  import Fade from "../Fade";
32
32
  import "./Backdrop.css";
33
33
  const prefixCls = "bui-backdrop";
34
- const Backdrop = React.forwardRef(
34
+ const Backdrop = /* @__PURE__ */ React.forwardRef(
35
35
  (props, ref) => {
36
36
  const _a = props, {
37
37
  children,
@@ -0,0 +1 @@
1
+ export {};
package/es/Badge/Badge.js CHANGED
@@ -30,7 +30,7 @@ import clsx from "clsx";
30
30
  import React from "react";
31
31
  import "./Badge.css";
32
32
  const prefixCls = "bui-badge";
33
- const Badge = React.forwardRef((props, ref) => {
33
+ const Badge = /* @__PURE__ */ React.forwardRef((props, ref) => {
34
34
  const _a = props, {
35
35
  className,
36
36
  onClick,
@@ -0,0 +1 @@
1
+ export {};
@@ -33,7 +33,7 @@ const prefixCls = "bui-btn";
33
33
  const ButtonIcon = ({ children, iconPosition }) => {
34
34
  return /* @__PURE__ */ React.createElement("span", { className: `${prefixCls}-icon-${iconPosition}` }, children);
35
35
  };
36
- const Button = React.forwardRef(
36
+ const Button = /* @__PURE__ */ React.forwardRef(
37
37
  (props, ref) => {
38
38
  const _a = props, {
39
39
  className,
@@ -0,0 +1 @@
1
+ export {};
@@ -46,7 +46,7 @@ const classes = {
46
46
  week: "bui-calendar-week",
47
47
  disabled: "bui-calendar-disabled"
48
48
  };
49
- const Calendar = React.forwardRef(
49
+ const Calendar = /* @__PURE__ */ React.forwardRef(
50
50
  (props, ref) => {
51
51
  const _a = props, {
52
52
  className,
@@ -0,0 +1 @@
1
+ export {};
package/es/Card/Card.js CHANGED
@@ -30,7 +30,7 @@ import clsx from "clsx";
30
30
  import React from "react";
31
31
  import "./Card.css";
32
32
  const prefixCls = "bui-card";
33
- const Card = React.forwardRef((props, ref) => {
33
+ const Card = /* @__PURE__ */ React.forwardRef((props, ref) => {
34
34
  const _a = props, { className, onClick, children } = _a, others = __objRest(_a, ["className", "onClick", "children"]);
35
35
  return /* @__PURE__ */ React.createElement(
36
36
  "div",
@@ -0,0 +1 @@
1
+ export {};
@@ -30,7 +30,7 @@ import clsx from "clsx";
30
30
  import React from "react";
31
31
  import "./CardContent.css";
32
32
  const prefixCls = "bui-card-content";
33
- const CardContent = React.forwardRef(
33
+ const CardContent = /* @__PURE__ */ React.forwardRef(
34
34
  (props, ref) => {
35
35
  const _a = props, { className, children } = _a, others = __objRest(_a, ["className", "children"]);
36
36
  return /* @__PURE__ */ React.createElement("div", __spreadValues({ className: clsx(prefixCls, className), ref }, others), children);
@@ -0,0 +1 @@
1
+ export {};
@@ -30,7 +30,7 @@ import clsx from "clsx";
30
30
  import React from "react";
31
31
  import "./CardFooter.css";
32
32
  const prefixCls = "bui-card-footer";
33
- const CardFooter = React.forwardRef(
33
+ const CardFooter = /* @__PURE__ */ React.forwardRef(
34
34
  (props, ref) => {
35
35
  const _a = props, { className, children } = _a, others = __objRest(_a, ["className", "children"]);
36
36
  return /* @__PURE__ */ React.createElement("div", __spreadValues({ className: clsx(prefixCls, className), ref }, others), children);
@@ -0,0 +1 @@
1
+ export {};
@@ -31,7 +31,7 @@ import clsx from "clsx";
31
31
  import React from "react";
32
32
  import "./CardHeader.css";
33
33
  const prefixCls = "bui-card-header";
34
- const CardHeader = React.forwardRef(
34
+ const CardHeader = /* @__PURE__ */ React.forwardRef(
35
35
  (props, ref) => {
36
36
  const _a = props, { title, subtitle, className, extra, endIcon, onClick } = _a, others = __objRest(_a, ["title", "subtitle", "className", "extra", "endIcon", "onClick"]);
37
37
  const chevron = (() => {
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -19,7 +19,7 @@ var __spreadValues = (a, b) => {
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
20
  import React, { useEffect, useState } from "react";
21
21
  import CitySelectorCore from "./CitySelectorCore";
22
- const CitySelector = React.forwardRef(
22
+ const CitySelector = /* @__PURE__ */ React.forwardRef(
23
23
  (props, ref) => {
24
24
  const { cities } = props;
25
25
  const [height, setHeight] = useState("");
@@ -21,7 +21,7 @@ import React, { useEffect, useRef, useState } from "react";
21
21
  import Taro from "@tarojs/taro";
22
22
  import CitySelectorCore from "./CitySelectorCore";
23
23
  import "./miniapp.css";
24
- const CitySelector = React.forwardRef(
24
+ const CitySelector = /* @__PURE__ */ React.forwardRef(
25
25
  (props, ref) => {
26
26
  const { cities } = props;
27
27
  const containerTop = useRef(0);
@@ -0,0 +1 @@
1
+ export {};
@@ -46,7 +46,7 @@ const HOT_CITY_TYPE = {
46
46
  code: "HOT"
47
47
  };
48
48
  const prefixCls = "bui-city-selector";
49
- const CitySelector = React.forwardRef(
49
+ const CitySelector = /* @__PURE__ */ React.forwardRef(
50
50
  (props, ref) => {
51
51
  const _a = props, {
52
52
  className,
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -41,7 +41,7 @@ const oppositeDirection = {
41
41
  top: "down",
42
42
  bottom: "up"
43
43
  };
44
- const Drawer = React.forwardRef((props, ref) => {
44
+ const Drawer = /* @__PURE__ */ React.forwardRef((props, ref) => {
45
45
  const _a = props, {
46
46
  anchor: anchorProp,
47
47
  container,
@@ -0,0 +1 @@
1
+ export {};
package/es/Fade/Fade.js CHANGED
@@ -46,7 +46,7 @@ const defaultTimeout = {
46
46
  enter: duration.enteringScreen,
47
47
  exit: duration.leavingScreen
48
48
  };
49
- const Fade = React.forwardRef((props, ref) => {
49
+ const Fade = /* @__PURE__ */ React.forwardRef((props, ref) => {
50
50
  const _a = props, {
51
51
  appear,
52
52
  children,
@@ -0,0 +1 @@
1
+ export {};
@@ -31,7 +31,7 @@ import clsx from "clsx";
31
31
  import React from "react";
32
32
  import "./IconButton.css";
33
33
  const prefixCls = "bui-icon-btn";
34
- const IconButton = React.forwardRef(
34
+ const IconButton = /* @__PURE__ */ React.forwardRef(
35
35
  (props, ref) => {
36
36
  var _b, _c;
37
37
  const _a = props, {
@@ -0,0 +1 @@
1
+ export {};
package/es/Image/Image.js CHANGED
@@ -34,7 +34,7 @@ import clsx from "clsx";
34
34
  import React, { useLayoutEffect, useState } from "react";
35
35
  import "./index.css";
36
36
  const prefixCls = "bui-image";
37
- const Image = React.forwardRef((props, ref) => {
37
+ const Image = /* @__PURE__ */ React.forwardRef((props, ref) => {
38
38
  const [loaded, setLoaded] = useState(false);
39
39
  const [failed, setFailed] = useState(false);
40
40
  const _a = props, {
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
package/es/List/List.js CHANGED
@@ -31,7 +31,7 @@ import React from "react";
31
31
  import ListContext from "./ListContext";
32
32
  import "./List.css";
33
33
  const prefixCls = "bui-list";
34
- const List = React.forwardRef((props, ref) => {
34
+ const List = /* @__PURE__ */ React.forwardRef((props, ref) => {
35
35
  const _a = props, {
36
36
  hideDivider,
37
37
  children,
@@ -0,0 +1 @@
1
+ export {};
@@ -33,7 +33,7 @@ import ListContext from "./ListContext";
33
33
  import ListItemFooter from "./ListItemFooter";
34
34
  import "./ListItem.css";
35
35
  const prefixCls = "bui-list-item";
36
- const ListItem = React.forwardRef((props, ref) => {
36
+ const ListItem = /* @__PURE__ */ React.forwardRef((props, ref) => {
37
37
  const _a = props, {
38
38
  children,
39
39
  className,
@@ -0,0 +1 @@
1
+ export {};
@@ -30,7 +30,7 @@ import clsx from "clsx";
30
30
  import React from "react";
31
31
  import "./ListItemContent.css";
32
32
  const prefixCls = "bui-list-item-content";
33
- const ListItemContent = React.forwardRef(
33
+ const ListItemContent = /* @__PURE__ */ React.forwardRef(
34
34
  (props, ref) => {
35
35
  const _a = props, {
36
36
  children,
@@ -0,0 +1 @@
1
+ export {};
@@ -30,7 +30,7 @@ import clsx from "clsx";
30
30
  import React from "react";
31
31
  import "./ListItemExtra.css";
32
32
  const prefixCls = "bui-list-item-extra";
33
- const ListItemExtra = React.forwardRef(
33
+ const ListItemExtra = /* @__PURE__ */ React.forwardRef(
34
34
  (props, ref) => {
35
35
  const _a = props, { children, className, component: Component } = _a, others = __objRest(_a, ["children", "className", "component"]);
36
36
  return /* @__PURE__ */ React.createElement(Component, __spreadValues({ className: clsx(prefixCls, className), ref }, others), children);
@@ -0,0 +1 @@
1
+ export {};
@@ -30,7 +30,7 @@ import clsx from "clsx";
30
30
  import React from "react";
31
31
  import "./ListItemFooter.css";
32
32
  const prefixCls = "bui-list-item-footer";
33
- const ListItemFooter = React.forwardRef(
33
+ const ListItemFooter = /* @__PURE__ */ React.forwardRef(
34
34
  (props, ref) => {
35
35
  const _a = props, { children, className, component: Component } = _a, others = __objRest(_a, ["children", "className", "component"]);
36
36
  return /* @__PURE__ */ React.createElement(Component, __spreadValues({ className: clsx(prefixCls, className), ref }, others), children);
@@ -0,0 +1 @@
1
+ export {};
@@ -30,7 +30,7 @@ import clsx from "clsx";
30
30
  import React from "react";
31
31
  import "./ListItemHeader.css";
32
32
  const prefixCls = "bui-list-item-header";
33
- const ListItemHeader = React.forwardRef(
33
+ const ListItemHeader = /* @__PURE__ */ React.forwardRef(
34
34
  (props, ref) => {
35
35
  const _a = props, { children, className, component: Component } = _a, others = __objRest(_a, ["children", "className", "component"]);
36
36
  return /* @__PURE__ */ React.createElement(Component, __spreadValues({ className: clsx(prefixCls, className), ref }, others), children);
@@ -0,0 +1 @@
1
+ export {};
@@ -31,7 +31,7 @@ import clsx from "clsx";
31
31
  import { LoadingThreeQuartersOutlinedIcon } from "@bifrostui/icons";
32
32
  import "./Loading.css";
33
33
  const prefixCls = "bui-loading";
34
- const Loading = React.forwardRef((props, ref) => {
34
+ const Loading = /* @__PURE__ */ React.forwardRef((props, ref) => {
35
35
  const _a = props, { className, icon, IconProps, children, direction } = _a, otherProps = __objRest(_a, ["className", "icon", "IconProps", "children", "direction"]);
36
36
  const renderIcon = () => {
37
37
  return icon != null ? icon : /* @__PURE__ */ React.createElement(
@@ -0,0 +1 @@
1
+ export {};
package/es/Modal/Modal.js CHANGED
@@ -36,7 +36,7 @@ import Backdrop from "../Backdrop";
36
36
  import Portal from "../Portal";
37
37
  import "./Modal.css";
38
38
  const prefixCls = "bui-modal";
39
- const Modal = React.forwardRef((props, ref) => {
39
+ const Modal = /* @__PURE__ */ React.forwardRef((props, ref) => {
40
40
  const _a = props, {
41
41
  className,
42
42
  open,
@@ -37,7 +37,7 @@ import Backdrop from "../Backdrop";
37
37
  import Portal from "../Portal";
38
38
  import "./Modal.css";
39
39
  const prefixCls = "bui-modal";
40
- const Modal = React.forwardRef(
40
+ const Modal = /* @__PURE__ */ React.forwardRef(
41
41
  (props, ref) => {
42
42
  const _a = props, {
43
43
  className,