@blofin/blofin-ui 1.0.0-beta.4 → 1.0.0-beta.5
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/index.es.js +8 -7
- package/dist/provider/useTheme.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -5,7 +5,7 @@ import { Checkbox as fe } from "./Checkbox.es.js";
|
|
|
5
5
|
import { CssDropdown as de } from "./CssDropdown.es.js";
|
|
6
6
|
import { DatePickerRange as we } from "./DatePickerRange.es.js";
|
|
7
7
|
import { DateTimePicker as ve } from "./DateTimePicker.es.js";
|
|
8
|
-
import { Dialog as Se, DialogProvider as
|
|
8
|
+
import { Dialog as Se, DialogProvider as Te } from "./Dialog.es.js";
|
|
9
9
|
import { Tooltip as je } from "./Tooltip.es.js";
|
|
10
10
|
import { Popover as ye } from "./Popover.es.js";
|
|
11
11
|
import { Popup as De } from "./Popup.es.js";
|
|
@@ -35,7 +35,7 @@ import { S as M } from "./index.esm-8f99fb73.js";
|
|
|
35
35
|
import { MultiSelect as xt } from "./MultiSelect.es.js";
|
|
36
36
|
import { N as d } from "./index-ba78fd90.js";
|
|
37
37
|
import { a as ft } from "./index-ba78fd90.js";
|
|
38
|
-
import { T as dt, a as ht } from "./useTheme-4cb4f87b.js";
|
|
38
|
+
import { T as dt, a as ht, u as wt } from "./useTheme-4cb4f87b.js";
|
|
39
39
|
import "./utils-071abd68.js";
|
|
40
40
|
import "./clsx.m-e965ef18.js";
|
|
41
41
|
import "./Calendar.es.js";
|
|
@@ -97,13 +97,13 @@ const y = g(
|
|
|
97
97
|
danger: /* @__PURE__ */ r.jsx(R, { className: i({ type: e }) })
|
|
98
98
|
}, S = () => {
|
|
99
99
|
w(!0);
|
|
100
|
-
},
|
|
100
|
+
}, T = () => {
|
|
101
101
|
l && l();
|
|
102
102
|
};
|
|
103
103
|
return o.useEffect(() => {
|
|
104
104
|
var c, u;
|
|
105
|
-
const
|
|
106
|
-
v(
|
|
105
|
+
const N = ((u = (c = p.current) == null ? void 0 : c.getBoundingClientRect()) == null ? void 0 : u.height) || b;
|
|
106
|
+
v(N > b);
|
|
107
107
|
}, []), /* @__PURE__ */ r.jsxs("div", { ref: p, className: y({ type: e, alignType: C }), children: [
|
|
108
108
|
L[e],
|
|
109
109
|
/* @__PURE__ */ r.jsx("div", { className: "bu-flex bu-h-full bu-flex-1", children: typeof s == "string" ? /* @__PURE__ */ r.jsx(
|
|
@@ -118,7 +118,7 @@ const y = g(
|
|
|
118
118
|
"div",
|
|
119
119
|
{
|
|
120
120
|
className: "bu-ml-[8px] bu-flex bu-cursor-pointer bu-items-center",
|
|
121
|
-
onClick:
|
|
121
|
+
onClick: T,
|
|
122
122
|
children: [
|
|
123
123
|
/* @__PURE__ */ r.jsx(
|
|
124
124
|
x,
|
|
@@ -181,7 +181,7 @@ export {
|
|
|
181
181
|
we as DatePickerRange,
|
|
182
182
|
ve as DateTimePicker,
|
|
183
183
|
Se as Dialog,
|
|
184
|
-
|
|
184
|
+
Te as DialogProvider,
|
|
185
185
|
Re as Divider,
|
|
186
186
|
Ze as Drawer,
|
|
187
187
|
He as Dropdown,
|
|
@@ -211,5 +211,6 @@ export {
|
|
|
211
211
|
je as Tooltip,
|
|
212
212
|
x as Typography,
|
|
213
213
|
ne as useNotification,
|
|
214
|
+
wt as useTheme,
|
|
214
215
|
me as useToast
|
|
215
216
|
};
|