@bifrostui/react 2.0.0-alpha.24 → 2.0.0-alpha.25

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.
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import { DatePickerProps } from './DatePicker.types';
3
- declare const DatePicker: React.ForwardRefExoticComponent<Omit<DatePickerProps<"div", Omit<import("../Picker").PickerProps<"div", import("..").DrawerProps>, "defaultValue" | "onChange" | "value" | "onClose" | "onConfirm">>, "ref"> & React.RefAttributes<HTMLDivElement>>;
3
+ declare const DatePicker: React.ForwardRefExoticComponent<Omit<DatePickerProps<"div", Omit<import("../Picker").PickerProps<"div", import("..").DrawerProps>, "value" | "defaultValue" | "onChange" | "onClose" | "onConfirm">>, "ref"> & React.RefAttributes<HTMLDivElement>>;
4
4
  export default DatePicker;
@@ -14,5 +14,5 @@ declare const Modal: React.ForwardRefExoticComponent<Omit<ViewProps & {
14
14
  disableRestoreFocus?: boolean;
15
15
  } & import("@bifrostui/types").ICommonProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
16
16
  ref?: React.Ref<HTMLDivElement>;
17
- }, keyof import("@bifrostui/types").ICommonProps | "open" | "container" | "disablePortal" | "hideBackdrop" | "BackdropProps" | "onClose" | "disableScrollLock" | "keepMounted" | "disableAutoFocus" | "disableRestoreFocus">, "ref"> & React.RefAttributes<HTMLDivElement>>;
17
+ }, "open" | "container" | keyof import("@bifrostui/types").ICommonProps | "disablePortal" | "hideBackdrop" | "BackdropProps" | "onClose" | "disableScrollLock" | "keepMounted" | "disableAutoFocus" | "disableRestoreFocus">, "ref"> & React.RefAttributes<HTMLDivElement>>;
18
18
  export default Modal;
@@ -154,7 +154,7 @@ function useModal(parameters) {
154
154
  };
155
155
  }
156
156
  return void 0;
157
- }, [open, disableAutoFocus, disableRestoreFocus, children]);
157
+ }, [open, disableAutoFocus, disableRestoreFocus]);
158
158
  const createHandleBackdropClick = (backdropHandlers = {}) => (event) => {
159
159
  var _a;
160
160
  (_a = backdropHandlers.onClick) == null ? void 0 : _a.call(backdropHandlers, event);
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import { DatePickerProps } from './DatePicker.types';
3
- declare const DatePicker: React.ForwardRefExoticComponent<Omit<DatePickerProps<"div", Omit<import("../Picker").PickerProps<"div", import("..").DrawerProps>, "value" | "defaultValue" | "onChange" | "onClose" | "onConfirm">>, "ref"> & React.RefAttributes<HTMLDivElement>>;
3
+ declare const DatePicker: React.ForwardRefExoticComponent<Omit<DatePickerProps<"div", Omit<import("../Picker").PickerProps<"div", import("..").DrawerProps>, "defaultValue" | "onChange" | "value" | "onClose" | "onConfirm">>, "ref"> & React.RefAttributes<HTMLDivElement>>;
4
4
  export default DatePicker;
@@ -134,7 +134,7 @@ function useModal(parameters) {
134
134
  };
135
135
  }
136
136
  return void 0;
137
- }, [open, disableAutoFocus, disableRestoreFocus, children]);
137
+ }, [open, disableAutoFocus, disableRestoreFocus]);
138
138
  const createHandleBackdropClick = (backdropHandlers = {}) => (event) => {
139
139
  var _a;
140
140
  (_a = backdropHandlers.onClick) == null ? void 0 : _a.call(backdropHandlers, event);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bifrostui/react",
3
- "version": "2.0.0-alpha.24",
3
+ "version": "2.0.0-alpha.25",
4
4
  "description": "React components for building mobile application",
5
5
  "homepage": "http://bui.taopiaopiao.com",
6
6
  "license": "MIT",
@@ -43,10 +43,10 @@
43
43
  "clsx": "^2.1.1",
44
44
  "dayjs": "^1.11.7",
45
45
  "swiper": "^8.1.5",
46
- "@bifrostui/icons": "2.0.0-alpha.24",
47
- "@bifrostui/styles": "2.0.0-alpha.24",
48
- "@bifrostui/utils": "2.0.0-alpha.24",
49
- "@bifrostui/types": "2.0.0-alpha.24"
46
+ "@bifrostui/icons": "2.0.0-alpha.25",
47
+ "@bifrostui/types": "2.0.0-alpha.25",
48
+ "@bifrostui/styles": "2.0.0-alpha.25",
49
+ "@bifrostui/utils": "2.0.0-alpha.25"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "@tarojs/components": "^3.0.0",