@bifrostui/react 1.2.2 → 1.2.4

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 (156) hide show
  1. package/dist/ActionSheet/ActionSheet.js +1 -1
  2. package/dist/ActionSheet/ActionSheetItem.js +1 -1
  3. package/dist/Alert/Alert.js +1 -1
  4. package/dist/Avatar/Avatar.js +1 -1
  5. package/dist/Avatar/AvatarGroup.js +1 -1
  6. package/dist/Backdrop/Backdrop.js +1 -1
  7. package/dist/Badge/Badge.js +1 -1
  8. package/dist/Button/Button.js +1 -1
  9. package/dist/Calendar/Calendar.js +1 -1
  10. package/dist/Card/Card.js +1 -1
  11. package/dist/Card/CardContent.js +1 -1
  12. package/dist/Card/CardFooter.js +1 -1
  13. package/dist/Card/CardHeader.js +1 -1
  14. package/dist/CitySelector/CitySelector.js +1 -1
  15. package/dist/CitySelector/CitySelector.miniapp.js +1 -1
  16. package/dist/CitySelector/CitySelectorCore.js +1 -1
  17. package/dist/Drawer/Drawer.js +1 -1
  18. package/dist/Fade/Fade.js +1 -1
  19. package/dist/IconButton/IconButton.js +1 -1
  20. package/dist/Image/Image.js +1 -1
  21. package/dist/List/List.js +1 -1
  22. package/dist/List/ListItem.js +1 -1
  23. package/dist/List/ListItemContent.js +1 -1
  24. package/dist/List/ListItemExtra.js +1 -1
  25. package/dist/List/ListItemFooter.js +1 -1
  26. package/dist/List/ListItemHeader.js +1 -1
  27. package/dist/Loading/Loading.js +1 -1
  28. package/dist/Modal/Modal.js +1 -1
  29. package/dist/Modal/Modal.miniapp.d.ts +1 -1
  30. package/dist/Modal/Modal.miniapp.js +1 -1
  31. package/dist/NavBar/NavBar.js +1 -1
  32. package/dist/Picker/Picker.js +1 -1
  33. package/dist/Picker/PickerPanel.js +1 -1
  34. package/dist/Portal/Portal.js +1 -1
  35. package/dist/Portal/PortalCore.js +1 -1
  36. package/dist/Progress/Progress.js +1 -1
  37. package/dist/Select/Select.js +1 -1
  38. package/dist/Select/SelectOption.js +1 -1
  39. package/dist/Skeleton/Skeleton.js +1 -1
  40. package/dist/Slide/Slide.js +1 -1
  41. package/dist/Slider/Slider.js +1 -1
  42. package/dist/Stack/Stack.js +1 -1
  43. package/dist/TabBar/TabBar.js +1 -1
  44. package/dist/TabBar/TabBarItem.js +1 -1
  45. package/dist/Tabs/Tab.js +1 -1
  46. package/dist/Tabs/Tabs.js +1 -1
  47. package/dist/Tag/Tag.js +1 -1
  48. package/dist/Tag/TagGroup.js +1 -1
  49. package/dist/TextArea/TextArea.js +1 -1
  50. package/dist/Transition/Transition.js +1 -1
  51. package/dist/Transition/Transition.miniapp.js +1 -1
  52. package/es/ActionSheet/ActionSheet.js +1 -1
  53. package/es/ActionSheet/ActionSheet.types.js +1 -0
  54. package/es/ActionSheet/ActionSheetItem.js +1 -1
  55. package/es/ActionSheet/ActionSheetItem.types.js +1 -0
  56. package/es/Alert/Alert.js +1 -1
  57. package/es/Alert/Alert.types.js +1 -0
  58. package/es/Avatar/Avatar.js +1 -1
  59. package/es/Avatar/Avatar.types.js +1 -0
  60. package/es/Avatar/AvatarGroup.js +1 -1
  61. package/es/Avatar/AvatarGroup.types.js +1 -0
  62. package/es/Backdrop/Backdrop.js +1 -1
  63. package/es/Backdrop/Backdrop.types.js +1 -0
  64. package/es/Badge/Badge.js +1 -1
  65. package/es/Badge/Badge.types.js +1 -0
  66. package/es/Button/Button.js +1 -1
  67. package/es/Button/Button.types.js +1 -0
  68. package/es/Calendar/Calendar.js +1 -1
  69. package/es/Calendar/Calendar.types.js +1 -0
  70. package/es/Card/Card.js +1 -1
  71. package/es/Card/Card.types.js +1 -0
  72. package/es/Card/CardContent.js +1 -1
  73. package/es/Card/CardContent.types.js +1 -0
  74. package/es/Card/CardFooter.js +1 -1
  75. package/es/Card/CardFooter.types.js +1 -0
  76. package/es/Card/CardHeader.js +1 -1
  77. package/es/Card/CardHeader.types.js +1 -0
  78. package/es/Checkbox/Checkbox.types.js +1 -0
  79. package/es/CitySelector/CitySelector.js +1 -1
  80. package/es/CitySelector/CitySelector.miniapp.js +1 -1
  81. package/es/CitySelector/CitySelector.types.js +1 -0
  82. package/es/CitySelector/CitySelectorCore.js +1 -1
  83. package/es/Countdown/Countdown.types.js +1 -0
  84. package/es/Divider/Divider.types.js +1 -0
  85. package/es/Drawer/Drawer.js +1 -1
  86. package/es/Drawer/Drawer.types.js +1 -0
  87. package/es/Fade/Fade.js +1 -1
  88. package/es/Fade/Fade.types.js +1 -0
  89. package/es/IconButton/IconButton.js +1 -1
  90. package/es/IconButton/IconButton.types.js +1 -0
  91. package/es/Image/Image.js +1 -1
  92. package/es/Image/Image.types.js +1 -0
  93. package/es/Input/Input.types.js +1 -0
  94. package/es/List/List.js +1 -1
  95. package/es/List/List.types.js +1 -0
  96. package/es/List/ListItem.js +1 -1
  97. package/es/List/ListItem.types.js +1 -0
  98. package/es/List/ListItemContent.js +1 -1
  99. package/es/List/ListItemContent.types.js +1 -0
  100. package/es/List/ListItemExtra.js +1 -1
  101. package/es/List/ListItemExtra.types.js +1 -0
  102. package/es/List/ListItemFooter.js +1 -1
  103. package/es/List/ListItemFooter.types.js +1 -0
  104. package/es/List/ListItemHeader.js +1 -1
  105. package/es/List/ListItemHeader.types.js +1 -0
  106. package/es/Loading/Loading.js +1 -1
  107. package/es/Loading/Loading.types.js +1 -0
  108. package/es/Modal/Modal.js +1 -1
  109. package/es/Modal/Modal.miniapp.js +1 -1
  110. package/es/Modal/Modal.types.js +1 -0
  111. package/es/NavBar/NavBar.js +1 -1
  112. package/es/NavBar/NavBar.types.js +1 -0
  113. package/es/Picker/Picker.js +1 -1
  114. package/es/Picker/Picker.types.js +1 -0
  115. package/es/Picker/PickerPanel.js +1 -1
  116. package/es/Portal/Portal.js +1 -1
  117. package/es/Portal/Portal.types.js +1 -0
  118. package/es/Portal/PortalCore.js +1 -1
  119. package/es/Progress/Progress.js +1 -1
  120. package/es/Progress/Progress.types.js +1 -0
  121. package/es/Radio/Radio.types.js +1 -0
  122. package/es/Rating/Rating.types.js +1 -0
  123. package/es/ScrollView/ScrollView.types.js +1 -0
  124. package/es/Select/Select.js +1 -1
  125. package/es/Select/Select.types.js +1 -0
  126. package/es/Select/SelectOption.js +1 -1
  127. package/es/Skeleton/Skeleton.js +1 -1
  128. package/es/Skeleton/Skeleton.types.js +1 -0
  129. package/es/Slide/Slide.js +1 -1
  130. package/es/Slide/Slide.types.js +1 -0
  131. package/es/Slider/Slider.js +1 -1
  132. package/es/Slider/Slider.types.js +1 -0
  133. package/es/Stack/Stack.js +1 -1
  134. package/es/Stack/Stack.types.js +1 -0
  135. package/es/Steps/Step.types.js +1 -0
  136. package/es/Steps/Steps.types.js +1 -0
  137. package/es/Swiper/Swiper.types.js +1 -0
  138. package/es/Switch/Switch.types.js +1 -0
  139. package/es/TabBar/TabBar.js +1 -1
  140. package/es/TabBar/TabBarItem.js +1 -1
  141. package/es/TabBar/index.types.js +1 -0
  142. package/es/Tabs/Tab.js +1 -1
  143. package/es/Tabs/Tab.types.js +1 -0
  144. package/es/Tabs/TabPanel.types.js +1 -0
  145. package/es/Tabs/Tabs.js +1 -1
  146. package/es/Tabs/Tabs.types.js +1 -0
  147. package/es/Tag/Tag.js +1 -1
  148. package/es/Tag/Tag.types.js +1 -0
  149. package/es/Tag/TagGroup.js +1 -1
  150. package/es/Tag/TagGroup.types.js +1 -0
  151. package/es/TextArea/TextArea.js +1 -1
  152. package/es/TextArea/TextArea.types.js +1 -0
  153. package/es/Transition/Transition.js +1 -1
  154. package/es/Transition/Transition.miniapp.js +1 -1
  155. package/es/Transition/Transition.types.js +1 -0
  156. package/package.json +5 -5
@@ -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,
@@ -0,0 +1 @@
1
+ export {};
@@ -32,7 +32,7 @@ import { useForkRef, useSize } from "@bifrostui/utils";
32
32
  import { ArrowBackwardLargeIcon } from "@bifrostui/icons";
33
33
  import "./NavBar.css";
34
34
  const prefixCls = "bui-navbar";
35
- const NavBar = React.forwardRef((props, ref) => {
35
+ const NavBar = /* @__PURE__ */ React.forwardRef((props, ref) => {
36
36
  const _a = props, {
37
37
  className,
38
38
  title,
@@ -0,0 +1 @@
1
+ export {};
@@ -36,7 +36,7 @@ import PickerPanel from "./PickerPanel";
36
36
  import { formatOptions, pickerPanelType } from "./utils";
37
37
  import "./Picker.css";
38
38
  const prefixCls = "bui-picker";
39
- const Picker = React.forwardRef((props, ref) => {
39
+ const Picker = /* @__PURE__ */ React.forwardRef((props, ref) => {
40
40
  const _a = props, {
41
41
  className,
42
42
  open = false,
@@ -0,0 +1 @@
1
+ export {};
@@ -31,7 +31,7 @@ import React, { useEffect, useState, useRef } from "react";
31
31
  import { useTouch, useForkRef, useTouchEmulator } from "@bifrostui/utils";
32
32
  import "./PickerPanel.css";
33
33
  const prefixCls = "bui-picker-panel";
34
- const PickerPanel = React.forwardRef(
34
+ const PickerPanel = /* @__PURE__ */ React.forwardRef(
35
35
  (props, ref) => {
36
36
  const _a = props, {
37
37
  options = [],
@@ -19,7 +19,7 @@ var __spreadValues = (a, b) => {
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
20
  import React from "react";
21
21
  import PortalCore from "./PortalCore";
22
- const Portal = React.forwardRef(
22
+ const Portal = /* @__PURE__ */ React.forwardRef(
23
23
  (props, ref) => {
24
24
  return /* @__PURE__ */ React.createElement(PortalCore, __spreadProps(__spreadValues({}, props), { ref, rootElement: document.body }));
25
25
  }
@@ -0,0 +1 @@
1
+ export {};
@@ -4,7 +4,7 @@ import { createPortal } from "react-dom";
4
4
  function getContainer(container) {
5
5
  return typeof container === "function" ? container() : container;
6
6
  }
7
- const PortalCore = React.forwardRef(
7
+ const PortalCore = /* @__PURE__ */ React.forwardRef(
8
8
  function Portal(props, ref) {
9
9
  const { children, container, disablePortal = false, rootElement } = props;
10
10
  const [mountNode, setMountNode] = React.useState(null);
@@ -63,7 +63,7 @@ const handleGradient = (strokeColor) => {
63
63
  }
64
64
  return { backgroundImage: `linear-gradient(${direction}, ${from}, ${to})` };
65
65
  };
66
- const Progress = React.forwardRef(
66
+ const Progress = /* @__PURE__ */ React.forwardRef(
67
67
  (props, ref) => {
68
68
  const _a = props, {
69
69
  className,
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -39,7 +39,7 @@ import BuiSelectContext from "./selectContext";
39
39
  import Backdrop from "../Backdrop";
40
40
  import "./Select.css";
41
41
  const prefixCls = "bui-select";
42
- const Select = React.forwardRef((props, ref) => {
42
+ const Select = /* @__PURE__ */ React.forwardRef((props, ref) => {
43
43
  const _a = props, {
44
44
  className,
45
45
  children,
@@ -0,0 +1 @@
1
+ export {};
@@ -34,7 +34,7 @@ import React, { useContext, useEffect } from "react";
34
34
  import BuiSelectContext from "./selectContext";
35
35
  import "./Select.css";
36
36
  const prefixCls = "bui-select-option";
37
- const SelectOption = React.forwardRef(
37
+ const SelectOption = /* @__PURE__ */ React.forwardRef(
38
38
  (props, ref) => {
39
39
  const _a = props, { value, label, disabled, className, children } = _a, others = __objRest(_a, ["value", "label", "disabled", "className", "children"]);
40
40
  const { selectValue, setRenderValue, handleOptionClick } = useContext(BuiSelectContext);
@@ -30,7 +30,7 @@ import clsx from "clsx";
30
30
  import React from "react";
31
31
  import "./Skeleton.css";
32
32
  const prefixCls = "bui-skeleton";
33
- const Skeleton = React.forwardRef(
33
+ const Skeleton = /* @__PURE__ */ React.forwardRef(
34
34
  (props, ref) => {
35
35
  const _a = props, {
36
36
  className,
@@ -0,0 +1 @@
1
+ export {};
package/es/Slide/Slide.js CHANGED
@@ -46,7 +46,7 @@ const defaultTimeout = {
46
46
  enter: duration.enteringScreen,
47
47
  exit: duration.leavingScreen
48
48
  };
49
- const Slide = React.forwardRef((props, ref) => {
49
+ const Slide = /* @__PURE__ */ React.forwardRef((props, ref) => {
50
50
  const _a = props, {
51
51
  appear,
52
52
  in: inProp,
@@ -0,0 +1 @@
1
+ export {};
@@ -74,7 +74,7 @@ const SLIDER_BUTTON = {
74
74
  FRONT: 0,
75
75
  END: 1
76
76
  };
77
- const Slider = React.forwardRef((props, ref) => {
77
+ const Slider = /* @__PURE__ */ React.forwardRef((props, ref) => {
78
78
  const _a = props, {
79
79
  className,
80
80
  defaultValue,
@@ -0,0 +1 @@
1
+ export {};
package/es/Stack/Stack.js CHANGED
@@ -30,7 +30,7 @@ import clsx from "clsx";
30
30
  import React from "react";
31
31
  import "./Stack.css";
32
32
  const prefixCls = "bui-stack";
33
- const Stack = React.forwardRef((props, ref) => {
33
+ const Stack = /* @__PURE__ */ React.forwardRef((props, ref) => {
34
34
  const _a = props, {
35
35
  className,
36
36
  children,
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -31,7 +31,7 @@ import clsx from "clsx";
31
31
  import TabBarContext from "./TabBarContext";
32
32
  import "./TabBar.css";
33
33
  const prefixCls = "bui-tab-bar";
34
- const TabBar = React.forwardRef((props, ref) => {
34
+ const TabBar = /* @__PURE__ */ React.forwardRef((props, ref) => {
35
35
  const _a = props || {}, {
36
36
  current,
37
37
  activeColor,
@@ -32,7 +32,7 @@ import clsx from "clsx";
32
32
  import "./TabBarItem.css";
33
33
  import TabBarContext from "./TabBarContext";
34
34
  const prefixCls = "bui-tab-bar-item";
35
- const TabBarItem = React.forwardRef(
35
+ const TabBarItem = /* @__PURE__ */ React.forwardRef(
36
36
  (props, ref) => {
37
37
  var _b;
38
38
  const { currentIndex, activeColor, color, onChange } = useContext(TabBarContext);
@@ -0,0 +1 @@
1
+ export {};
package/es/Tabs/Tab.js CHANGED
@@ -35,7 +35,7 @@ import React from "react";
35
35
  import TabsContext from "./TabsContext";
36
36
  import "./Tab.css";
37
37
  const prefixCls = "bui-tab";
38
- const Tab = React.forwardRef((props, ref) => {
38
+ const Tab = /* @__PURE__ */ React.forwardRef((props, ref) => {
39
39
  const _a = props, { className, children, index, disabled, onClick } = _a, others = __objRest(_a, ["className", "children", "index", "disabled", "onClick"]);
40
40
  const tabsContext = React.useContext(TabsContext);
41
41
  const { value, align, triggerChange } = tabsContext;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
package/es/Tabs/Tabs.js CHANGED
@@ -45,7 +45,7 @@ import "./Tabs.css";
45
45
  import { TabsContextProvider } from "./TabsContext";
46
46
  import bound from "./utils/bound";
47
47
  const prefixCls = "bui-tabs";
48
- const Tabs = React.forwardRef((props, ref) => {
48
+ const Tabs = /* @__PURE__ */ React.forwardRef((props, ref) => {
49
49
  const _a = props, { children, className, value, tabs, align, onChange } = _a, others = __objRest(_a, ["children", "className", "value", "tabs", "align", "onChange"]);
50
50
  const [active, setActive] = useState("");
51
51
  const tabsRef = useRef(null);
@@ -0,0 +1 @@
1
+ export {};
package/es/Tag/Tag.js CHANGED
@@ -43,7 +43,7 @@ const colorHandler = (color, opacity = 1) => {
43
43
  return convertHexToRGBA(color, opacity);
44
44
  };
45
45
  const prefixCls = "bui-tag";
46
- const Tag = React.forwardRef((props, ref) => {
46
+ const Tag = /* @__PURE__ */ React.forwardRef((props, ref) => {
47
47
  const _a = props, {
48
48
  className,
49
49
  style,
@@ -0,0 +1 @@
1
+ export {};
@@ -30,7 +30,7 @@ import clsx from "clsx";
30
30
  import React from "react";
31
31
  import "./TagGroup.css";
32
32
  const prefixCls = "bui-tag-group";
33
- const Tag = React.forwardRef((props, ref) => {
33
+ const Tag = /* @__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 {};
@@ -35,7 +35,7 @@ import React, { useEffect, useRef } from "react";
35
35
  import "./TextArea.css";
36
36
  const prefixCls = "bui-textarea";
37
37
  const DEFAULT_ROWS = 2;
38
- const TextArea = React.forwardRef(
38
+ const TextArea = /* @__PURE__ */ React.forwardRef(
39
39
  (props, ref) => {
40
40
  const _a = props, {
41
41
  className,
@@ -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 from "react";
21
21
  import TransitionCore from "./TransitionCore";
22
- const Transition = React.forwardRef(
22
+ const Transition = /* @__PURE__ */ React.forwardRef(
23
23
  (props, ref) => {
24
24
  return /* @__PURE__ */ React.createElement(TransitionCore, __spreadProps(__spreadValues({}, props), { ref, nextTick: setTimeout }));
25
25
  }
@@ -20,7 +20,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
20
  import Taro from "@tarojs/taro";
21
21
  import React from "react";
22
22
  import TransitionCore from "./TransitionCore";
23
- const Transition = React.forwardRef(
23
+ const Transition = /* @__PURE__ */ React.forwardRef(
24
24
  (props, ref) => {
25
25
  return /* @__PURE__ */ React.createElement(TransitionCore, __spreadProps(__spreadValues({}, props), { nextTick: Taro.nextTick, ref }));
26
26
  }
@@ -0,0 +1 @@
1
+ export {};