@bifrostui/react 2.0.0-beta.11 → 2.0.0-beta.13
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.
|
@@ -57,8 +57,8 @@ __export(TabBarItem_exports, {
|
|
|
57
57
|
});
|
|
58
58
|
module.exports = __toCommonJS(TabBarItem_exports);
|
|
59
59
|
var import_react = __toESM(require("react"));
|
|
60
|
-
var import_react2 = require("@bifrostui/react");
|
|
61
60
|
var import_clsx = __toESM(require("clsx"));
|
|
61
|
+
var import_Badge = __toESM(require("../Badge"));
|
|
62
62
|
var import_TabBarItem = require("./TabBarItem.css");
|
|
63
63
|
var import_TabBarContext = __toESM(require("./TabBarContext"));
|
|
64
64
|
const prefixCls = "bui-tab-bar-item";
|
|
@@ -102,7 +102,7 @@ const TabBarItem = /* @__PURE__ */ import_react.default.forwardRef(
|
|
|
102
102
|
ref,
|
|
103
103
|
onClick: handleClick
|
|
104
104
|
}, others),
|
|
105
|
-
children || ((_b = Object.values(BadgeProps || {})) == null ? void 0 : _b.length) > 0 ? /* @__PURE__ */ import_react.default.createElement(
|
|
105
|
+
children || ((_b = Object.values(BadgeProps || {})) == null ? void 0 : _b.length) > 0 ? /* @__PURE__ */ import_react.default.createElement(import_Badge.default, __spreadValues({}, BadgeProps), currentIndex === index && activeIcon ? activeIcon : icon, /* @__PURE__ */ import_react.default.createElement(
|
|
106
106
|
"div",
|
|
107
107
|
{
|
|
108
108
|
className: (0, import_clsx.default)(`${prefixCls}-title`, {
|
|
@@ -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;
|
|
@@ -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
|
-
},
|
|
15
|
+
}, keyof import("@bifrostui/types").ICommonProps | "open" | "container" | "disablePortal" | "hideBackdrop" | "BackdropProps" | "onClose" | "disableScrollLock" | "keepMounted">, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
16
16
|
export default Modal;
|
package/es/TabBar/TabBarItem.js
CHANGED
|
@@ -27,8 +27,8 @@ var __objRest = (source, exclude) => {
|
|
|
27
27
|
return target;
|
|
28
28
|
};
|
|
29
29
|
import React, { useContext } from "react";
|
|
30
|
-
import { Badge } from "@bifrostui/react";
|
|
31
30
|
import clsx from "clsx";
|
|
31
|
+
import Badge from "../Badge";
|
|
32
32
|
import "./TabBarItem.css";
|
|
33
33
|
import TabBarContext from "./TabBarContext";
|
|
34
34
|
const prefixCls = "bui-tab-bar-item";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bifrostui/react",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.13",
|
|
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": "^2.1.1",
|
|
34
34
|
"dayjs": "^1.11.7",
|
|
35
35
|
"swiper": "^8.1.5",
|
|
36
|
-
"@bifrostui/
|
|
37
|
-
"@bifrostui/
|
|
38
|
-
"@bifrostui/
|
|
39
|
-
"@bifrostui/utils": "2.0.0-beta.
|
|
36
|
+
"@bifrostui/styles": "2.0.0-beta.13",
|
|
37
|
+
"@bifrostui/icons": "2.0.0-beta.13",
|
|
38
|
+
"@bifrostui/types": "2.0.0-beta.13",
|
|
39
|
+
"@bifrostui/utils": "2.0.0-beta.13"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"@tarojs/components": "^3.0.0",
|