@bifrostui/react 1.2.0 → 1.2.1

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.
@@ -12,5 +12,5 @@ declare const Modal: React.ForwardRefExoticComponent<Omit<ViewProps & {
12
12
  keepMounted?: boolean;
13
13
  } & import("@bifrostui/types").ICommonProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
14
14
  ref?: React.Ref<HTMLDivElement>;
15
- }, keyof import("@bifrostui/types").ICommonProps | "open" | "container" | "disablePortal" | "hideBackdrop" | "BackdropProps" | "onClose" | "disableScrollLock" | "keepMounted">, "ref"> & React.RefAttributes<HTMLDivElement>>;
15
+ }, "open" | keyof import("@bifrostui/types").ICommonProps | "keepMounted" | "container" | "disablePortal" | "hideBackdrop" | "BackdropProps" | "onClose" | "disableScrollLock">, "ref"> & React.RefAttributes<HTMLDivElement>>;
16
16
  export default Modal;
package/dist/Tabs/Tabs.js CHANGED
@@ -143,7 +143,7 @@ const Tabs = import_react.default.forwardRef((props, ref) => {
143
143
  }, [active]);
144
144
  (0, import_utils.useDidMountEffect)(() => {
145
145
  animate({ transitionInUse: true });
146
- }, [active, tabs]);
146
+ }, [active, tabs, children]);
147
147
  const safeValue = () => {
148
148
  var _a2;
149
149
  let defaultIndex = value;
package/es/Tabs/Tabs.js CHANGED
@@ -124,7 +124,7 @@ const Tabs = React.forwardRef((props, ref) => {
124
124
  }, [active]);
125
125
  useDidMountEffect(() => {
126
126
  animate({ transitionInUse: true });
127
- }, [active, tabs]);
127
+ }, [active, tabs, children]);
128
128
  const safeValue = () => {
129
129
  var _a2;
130
130
  let defaultIndex = value;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bifrostui/react",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "React components for building mobile application",
5
5
  "homepage": "http://bui.taopiaopiao.com",
6
6
  "license": "MIT",
@@ -33,10 +33,10 @@
33
33
  "clsx": "^1.2.1",
34
34
  "dayjs": "^1.11.7",
35
35
  "swiper": "^8.1.5",
36
- "@bifrostui/utils": "1.2.0",
37
- "@bifrostui/types": "1.2.0",
38
- "@bifrostui/icons": "1.2.0",
39
- "@bifrostui/styles": "1.2.0"
36
+ "@bifrostui/icons": "1.2.1",
37
+ "@bifrostui/styles": "1.2.1",
38
+ "@bifrostui/utils": "1.2.1",
39
+ "@bifrostui/types": "1.2.1"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "@tarojs/components": "^3.0.0",