@bifrostui/react 2.0.0-alpha.10 → 2.0.0-alpha.12
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/Fade/Fade.miniapp.js +1 -1
- package/dist/Tabs/Tab.css +6 -4
- package/dist/Tabs/index.css +6 -4
- package/dist/Tag/Tag.css +0 -1
- package/dist/Tag/index.css +0 -1
- package/es/DatePicker/DatePicker.d.ts +1 -1
- package/es/Fade/Fade.miniapp.js +1 -1
- package/es/Modal/Modal.miniapp.d.ts +1 -1
- package/es/Tabs/Tab.css +6 -4
- package/es/Tabs/index.css +6 -4
- package/es/Tag/Tag.css +0 -1
- package/es/Tag/index.css +0 -1
- package/package.json +5 -5
|
@@ -141,7 +141,7 @@ const Fade = /* @__PURE__ */ import_react.default.forwardRef((props, ref) => {
|
|
|
141
141
|
{ mode: inProp ? "enter" : "exit" }
|
|
142
142
|
)
|
|
143
143
|
),
|
|
144
|
-
[inProp
|
|
144
|
+
[inProp]
|
|
145
145
|
);
|
|
146
146
|
(0, import_react.useEffect)(() => {
|
|
147
147
|
if (inProp && !isMounted) {
|
package/dist/Tabs/Tab.css
CHANGED
|
@@ -27,14 +27,16 @@
|
|
|
27
27
|
}
|
|
28
28
|
.bui-tab-miniapp-active-line {
|
|
29
29
|
position: absolute;
|
|
30
|
-
bottom:
|
|
30
|
+
bottom: var(--bui-tabs-indicator-bottom);
|
|
31
31
|
left: -12px;
|
|
32
32
|
right: -12px;
|
|
33
33
|
margin: 0 auto !important;
|
|
34
|
-
width:
|
|
35
|
-
height:
|
|
34
|
+
width: var(--bui-tabs-indicator-width);
|
|
35
|
+
height: var(--bui-tabs-indicator-height);
|
|
36
36
|
transition: all 100ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
37
|
-
background
|
|
37
|
+
background: var(--bui-tabs-indicator-bg);
|
|
38
|
+
border-radius: var(--bui-tabs-indicator-border-radius);
|
|
39
|
+
box-shadow: var(--bui-tabs-indicator-box-shadow);
|
|
38
40
|
}
|
|
39
41
|
.bui-tab-disabled {
|
|
40
42
|
opacity: 0.5;
|
package/dist/Tabs/index.css
CHANGED
|
@@ -107,14 +107,16 @@ xhs-page {
|
|
|
107
107
|
}
|
|
108
108
|
.bui-tab-miniapp-active-line {
|
|
109
109
|
position: absolute;
|
|
110
|
-
bottom:
|
|
110
|
+
bottom: var(--bui-tabs-indicator-bottom);
|
|
111
111
|
left: -12px;
|
|
112
112
|
right: -12px;
|
|
113
113
|
margin: 0 auto !important;
|
|
114
|
-
width:
|
|
115
|
-
height:
|
|
114
|
+
width: var(--bui-tabs-indicator-width);
|
|
115
|
+
height: var(--bui-tabs-indicator-height);
|
|
116
116
|
transition: all 100ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
117
|
-
background
|
|
117
|
+
background: var(--bui-tabs-indicator-bg);
|
|
118
|
+
border-radius: var(--bui-tabs-indicator-border-radius);
|
|
119
|
+
box-shadow: var(--bui-tabs-indicator-box-shadow);
|
|
118
120
|
}
|
|
119
121
|
.bui-tab-disabled {
|
|
120
122
|
opacity: 0.5;
|
package/dist/Tag/Tag.css
CHANGED
package/dist/Tag/index.css
CHANGED
|
@@ -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>, "value" | "defaultValue" | "onChange" | "onClose" | "onConfirm">>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
4
4
|
export default DatePicker;
|
package/es/Fade/Fade.miniapp.js
CHANGED
|
@@ -117,7 +117,7 @@ const Fade = /* @__PURE__ */ React.forwardRef((props, ref) => {
|
|
|
117
117
|
{ mode: inProp ? "enter" : "exit" }
|
|
118
118
|
)
|
|
119
119
|
),
|
|
120
|
-
[inProp
|
|
120
|
+
[inProp]
|
|
121
121
|
);
|
|
122
122
|
useEffect(() => {
|
|
123
123
|
if (inProp && !isMounted) {
|
|
@@ -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 | "
|
|
15
|
+
}, "open" | "container" | keyof import("@bifrostui/types").ICommonProps | "disablePortal" | "hideBackdrop" | "BackdropProps" | "onClose" | "disableScrollLock" | "keepMounted">, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
16
16
|
export default Modal;
|
package/es/Tabs/Tab.css
CHANGED
|
@@ -27,14 +27,16 @@
|
|
|
27
27
|
}
|
|
28
28
|
.bui-tab-miniapp-active-line {
|
|
29
29
|
position: absolute;
|
|
30
|
-
bottom:
|
|
30
|
+
bottom: var(--bui-tabs-indicator-bottom);
|
|
31
31
|
left: -12px;
|
|
32
32
|
right: -12px;
|
|
33
33
|
margin: 0 auto !important;
|
|
34
|
-
width:
|
|
35
|
-
height:
|
|
34
|
+
width: var(--bui-tabs-indicator-width);
|
|
35
|
+
height: var(--bui-tabs-indicator-height);
|
|
36
36
|
transition: all 100ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
37
|
-
background
|
|
37
|
+
background: var(--bui-tabs-indicator-bg);
|
|
38
|
+
border-radius: var(--bui-tabs-indicator-border-radius);
|
|
39
|
+
box-shadow: var(--bui-tabs-indicator-box-shadow);
|
|
38
40
|
}
|
|
39
41
|
.bui-tab-disabled {
|
|
40
42
|
opacity: 0.5;
|
package/es/Tabs/index.css
CHANGED
|
@@ -107,14 +107,16 @@ xhs-page {
|
|
|
107
107
|
}
|
|
108
108
|
.bui-tab-miniapp-active-line {
|
|
109
109
|
position: absolute;
|
|
110
|
-
bottom:
|
|
110
|
+
bottom: var(--bui-tabs-indicator-bottom);
|
|
111
111
|
left: -12px;
|
|
112
112
|
right: -12px;
|
|
113
113
|
margin: 0 auto !important;
|
|
114
|
-
width:
|
|
115
|
-
height:
|
|
114
|
+
width: var(--bui-tabs-indicator-width);
|
|
115
|
+
height: var(--bui-tabs-indicator-height);
|
|
116
116
|
transition: all 100ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
117
|
-
background
|
|
117
|
+
background: var(--bui-tabs-indicator-bg);
|
|
118
|
+
border-radius: var(--bui-tabs-indicator-border-radius);
|
|
119
|
+
box-shadow: var(--bui-tabs-indicator-box-shadow);
|
|
118
120
|
}
|
|
119
121
|
.bui-tab-disabled {
|
|
120
122
|
opacity: 0.5;
|
package/es/Tag/Tag.css
CHANGED
package/es/Tag/index.css
CHANGED
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.12",
|
|
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/
|
|
49
|
-
"@bifrostui/utils": "2.0.0-alpha.
|
|
46
|
+
"@bifrostui/icons": "2.0.0-alpha.12",
|
|
47
|
+
"@bifrostui/styles": "2.0.0-alpha.12",
|
|
48
|
+
"@bifrostui/types": "2.0.0-alpha.12",
|
|
49
|
+
"@bifrostui/utils": "2.0.0-alpha.12"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"@tarojs/components": "^3.0.0",
|