@bifrostui/react 2.0.0-alpha.23 → 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.
package/dist/Dialog/index.css
CHANGED
|
@@ -43,10 +43,12 @@ xhs-page {
|
|
|
43
43
|
}
|
|
44
44
|
.bui-dialog-actions {
|
|
45
45
|
display: flex;
|
|
46
|
-
gap: var(--bui-spacing-lg);
|
|
47
46
|
align-items: center;
|
|
48
47
|
justify-content: center;
|
|
49
48
|
}
|
|
49
|
+
.bui-dialog-actions > * + * {
|
|
50
|
+
margin-left: var(--bui-spacing-lg);
|
|
51
|
+
}
|
|
50
52
|
.bui-dialog-input {
|
|
51
53
|
margin-bottom: 18px;
|
|
52
54
|
}
|
package/dist/Modal/useModal.js
CHANGED
|
@@ -154,7 +154,7 @@ function useModal(parameters) {
|
|
|
154
154
|
};
|
|
155
155
|
}
|
|
156
156
|
return void 0;
|
|
157
|
-
}, [open, disableAutoFocus, disableRestoreFocus
|
|
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>, "
|
|
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;
|
package/es/Dialog/index.css
CHANGED
|
@@ -43,10 +43,12 @@ xhs-page {
|
|
|
43
43
|
}
|
|
44
44
|
.bui-dialog-actions {
|
|
45
45
|
display: flex;
|
|
46
|
-
gap: var(--bui-spacing-lg);
|
|
47
46
|
align-items: center;
|
|
48
47
|
justify-content: center;
|
|
49
48
|
}
|
|
49
|
+
.bui-dialog-actions > * + * {
|
|
50
|
+
margin-left: var(--bui-spacing-lg);
|
|
51
|
+
}
|
|
50
52
|
.bui-dialog-input {
|
|
51
53
|
margin-bottom: 18px;
|
|
52
54
|
}
|
|
@@ -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
|
-
},
|
|
17
|
+
}, keyof import("@bifrostui/types").ICommonProps | "open" | "container" | "disablePortal" | "hideBackdrop" | "BackdropProps" | "onClose" | "disableScrollLock" | "keepMounted" | "disableAutoFocus" | "disableRestoreFocus">, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
18
18
|
export default Modal;
|
package/es/Modal/useModal.js
CHANGED
|
@@ -134,7 +134,7 @@ function useModal(parameters) {
|
|
|
134
134
|
};
|
|
135
135
|
}
|
|
136
136
|
return void 0;
|
|
137
|
-
}, [open, disableAutoFocus, disableRestoreFocus
|
|
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.
|
|
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.
|
|
47
|
-
"@bifrostui/
|
|
48
|
-
"@bifrostui/styles": "2.0.0-alpha.
|
|
49
|
-
"@bifrostui/
|
|
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",
|