@blofin/blofin-ui 0.7.38 → 0.7.40

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.
Files changed (92) hide show
  1. package/dist/Button.es.js +11 -11
  2. package/dist/components/Popover/Popover.d.ts +1 -0
  3. package/dist/{index-993e6e55.js → index-01ca37c1.js} +1 -1
  4. package/dist/{index-f4cee1d0.js → index-069bd2e5.js} +2 -2
  5. package/dist/{index-7722231b.js → index-09577d23.js} +1 -1
  6. package/dist/{index-b2ed3b3b.js → index-148b8f22.js} +1 -1
  7. package/dist/{index-1068bde1.js → index-1636826a.js} +1 -1
  8. package/dist/{index-ba0fa718.js → index-1bf4df4d.js} +1 -1
  9. package/dist/{index-7286e773.js → index-1c943835.js} +356 -355
  10. package/dist/{index-dcc4a291.js → index-1df423dd.js} +1 -1
  11. package/dist/{index-78d4b656.js → index-1e12376c.js} +2 -2
  12. package/dist/{index-6e344165.js → index-1f8ab9b7.js} +1 -1
  13. package/dist/{index-36ff9a38.js → index-20703a74.js} +1 -1
  14. package/dist/{index-5f8afd40.js → index-2317774b.js} +1 -1
  15. package/dist/{index-faeabe12.js → index-2394ba79.js} +1 -1
  16. package/dist/{index-5db32a30.js → index-250a9328.js} +1 -1
  17. package/dist/{index-74698206.js → index-274f6048.js} +1 -1
  18. package/dist/{index-2eb476ab.js → index-33b762d3.js} +1 -1
  19. package/dist/{index-ef8ca947.js → index-347d9a70.js} +1 -1
  20. package/dist/{index-6d6fb06f.js → index-34889907.js} +1 -1
  21. package/dist/{index-7a40a9b7.js → index-361bd36d.js} +1 -1
  22. package/dist/{index-f95f1ea8.js → index-3e3428af.js} +1 -1
  23. package/dist/{index-390501da.js → index-3facda55.js} +1 -1
  24. package/dist/{index-92b51ff8.js → index-4169f8ea.js} +1 -1
  25. package/dist/{index-b877bbad.js → index-41adaced.js} +1 -1
  26. package/dist/{index-38f00217.js → index-45a7f103.js} +1 -1
  27. package/dist/{index-2817e385.js → index-523c6862.js} +1 -1
  28. package/dist/{index-c925bfad.js → index-570fd8ad.js} +1 -1
  29. package/dist/{index-97b40f29.js → index-58391dbe.js} +1 -1
  30. package/dist/{index-e0349652.js → index-5c451d4f.js} +1 -1
  31. package/dist/{index-32566113.js → index-64e30dda.js} +2 -2
  32. package/dist/{index-8b319872.js → index-653e5c46.js} +1 -1
  33. package/dist/{index-15434acb.js → index-665b367d.js} +1 -1
  34. package/dist/{index-b08c18f2.js → index-669cf5cb.js} +1 -1
  35. package/dist/{index-cc7ea243.js → index-6b11bb9c.js} +2 -2
  36. package/dist/{index-b82dd6f2.js → index-6bf1e5b1.js} +1 -1
  37. package/dist/{index-b583cd0b.js → index-710aa853.js} +2 -2
  38. package/dist/{index-07880f88.js → index-728becb9.js} +1 -1
  39. package/dist/{index-7ddfc55a.js → index-74875522.js} +2 -2
  40. package/dist/{index-80667c53.js → index-794420a0.js} +1 -1
  41. package/dist/{index-07d27da1.js → index-7bffeb5d.js} +1 -1
  42. package/dist/{index-f683cab1.js → index-7f01d8dd.js} +1 -1
  43. package/dist/{index-c1a6de85.js → index-81e683b2.js} +1 -1
  44. package/dist/{index-1afec8f9.js → index-8602072b.js} +1 -1
  45. package/dist/{index-afa65b57.js → index-8771b527.js} +1 -1
  46. package/dist/{index-7e581f98.js → index-8b3f0072.js} +1 -1
  47. package/dist/{index-00a4afd7.js → index-8c7d9df8.js} +1 -1
  48. package/dist/{index-1fa44e59.js → index-9392256b.js} +1 -1
  49. package/dist/{index-817c04f9.js → index-93d4f886.js} +1 -1
  50. package/dist/{index-3409e548.js → index-9477b2cb.js} +2 -2
  51. package/dist/{index-9818dbe3.js → index-95b6f0bc.js} +1 -1
  52. package/dist/{index-1fe85e04.js → index-96349006.js} +1 -1
  53. package/dist/{index-c1f598bd.js → index-992b2a7a.js} +1 -1
  54. package/dist/{index-eaa0d3dd.js → index-a1eee727.js} +1 -1
  55. package/dist/{index-fd72e184.js → index-a31932fc.js} +2 -2
  56. package/dist/{index-e5b02f61.js → index-a4c7c50e.js} +1 -1
  57. package/dist/{index-844cd9a8.js → index-a7c2f5ad.js} +2 -2
  58. package/dist/{index-a483bd70.js → index-a93a4702.js} +1 -1
  59. package/dist/{index-dab20d49.js → index-a9bcc9c5.js} +1 -1
  60. package/dist/{index-71a48aa4.js → index-acd83d6b.js} +1 -1
  61. package/dist/{index-c70c8d49.js → index-af09ee93.js} +1 -1
  62. package/dist/{index-0e747db1.js → index-b0d0cad0.js} +2 -2
  63. package/dist/{index-f14141dc.js → index-b576f70d.js} +1 -1
  64. package/dist/{index-b7ba4d5e.js → index-b60304e7.js} +1 -1
  65. package/dist/{index-8813c7a7.js → index-b66d9ee5.js} +1 -1
  66. package/dist/{index-4ae7ce3f.js → index-b70b58c7.js} +2 -2
  67. package/dist/{index-eed80adb.js → index-b8965c2b.js} +1 -1
  68. package/dist/{index-05733dab.js → index-bbbac46e.js} +1 -1
  69. package/dist/{index-8949a343.js → index-c34e076b.js} +1 -1
  70. package/dist/{index-41a159f2.js → index-cb3e57d8.js} +2 -2
  71. package/dist/{index-c9dcc58a.js → index-cd6f877c.js} +1 -1
  72. package/dist/{index-9eb53c40.js → index-d01aaa34.js} +1 -1
  73. package/dist/{index-9b5651d0.js → index-d191677a.js} +2 -2
  74. package/dist/{index-944fe9e6.js → index-d1ce1a79.js} +1 -1
  75. package/dist/{index-a54a9ed3.js → index-d2a8576d.js} +1 -1
  76. package/dist/{index-f043839d.js → index-d30b0a9d.js} +3 -3
  77. package/dist/{index-baa685a4.js → index-d3facad5.js} +1 -1
  78. package/dist/{index-620d04c2.js → index-d61fc5e7.js} +2 -2
  79. package/dist/{index-631613bf.js → index-d980cd3e.js} +1 -1
  80. package/dist/{index-1a9de538.js → index-d9ba7b30.js} +1 -1
  81. package/dist/{index-0422f75c.js → index-dab1fe83.js} +1 -1
  82. package/dist/{index-fa1f1bb2.js → index-dd6d99fa.js} +2 -2
  83. package/dist/{index-3ee482e4.js → index-e0fe32de.js} +1 -1
  84. package/dist/{index-38332948.js → index-e40b3d11.js} +2 -2
  85. package/dist/{index-417f1abb.js → index-ecfd07ee.js} +3 -3
  86. package/dist/{index-9256fd49.js → index-f1baf440.js} +1 -1
  87. package/dist/{index-40c80d86.js → index-f3f30d79.js} +1 -1
  88. package/dist/{index-0e493212.js → index-f5292ed9.js} +1 -1
  89. package/dist/{index-cf2b6047.js → index-f6ceb8dc.js} +1 -1
  90. package/dist/{index-9bcfc36d.js → index-febc52e7.js} +1 -1
  91. package/dist/index.es.js +1 -1
  92. package/package.json +1 -1
package/dist/Button.es.js CHANGED
@@ -255,8 +255,8 @@ const D = e("bu-text-light-second", {
255
255
  //this not have disabled
256
256
  }
257
257
  }, G = (t) => {
258
- const { theme: a, variant: d, disabled: o, shape: b } = t, r = o ? "" : v[d].variant({ theme: a });
259
- return e("bu-box-border bu-inline-flex bu-items-center bu-justify-center", {
258
+ const { theme: a, variant: d, disabled: u, shape: b } = t, r = u ? "" : v[d].variant({ theme: a });
259
+ return e("bu-box-border bu-inline-flex bu-items-center bu-justify-center bu-font-medium", {
260
260
  variants: {
261
261
  variant: {
262
262
  primary: r,
@@ -314,16 +314,16 @@ const D = e("bu-text-light-second", {
314
314
  large: i["loader-large"],
315
315
  max: i["loader-large"],
316
316
  "m-small": i["loader-m-small"]
317
- }, o = {
317
+ }, u = {
318
318
  light: i["loader-light"],
319
319
  dark: i["loader-dark"]
320
320
  };
321
- return /* @__PURE__ */ l.jsx("span", { className: `${d[t]} ${o[a]}` });
321
+ return /* @__PURE__ */ l.jsx("span", { className: `${d[t]} ${u[a]}` });
322
322
  }, K = (t) => /* @__PURE__ */ g.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ g.createElement("path", { d: "M18.5374 19.5674C16.7844 21.0831 14.4993 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C15.9519 2 19.3684 4.29238 20.9922 7.61993L19.2011 8.51103C17.905 5.84083 15.1675 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20C14.1502 20 16.1022 19.1517 17.5398 17.7716L18.5374 19.5674Z", fill: "#DEDFE0" })), y = ({
323
323
  size: t = "large",
324
324
  disabled: a = !1,
325
325
  variant: d = "primary",
326
- children: o,
326
+ children: u,
327
327
  startIcon: b,
328
328
  endIcon: r,
329
329
  icon: k,
@@ -331,18 +331,18 @@ const D = e("bu-text-light-second", {
331
331
  shape: f = "normal",
332
332
  className: _ = "",
333
333
  theme: h,
334
- loading: u,
334
+ loading: o,
335
335
  loadingType: w = "default",
336
336
  ...S
337
337
  }) => {
338
338
  const j = (C) => {
339
- u || s && s(C);
339
+ o || s && s(C);
340
340
  }, { theme: n } = c(), $ = {
341
- variant: u ? "tertiary" : d,
341
+ variant: o ? "tertiary" : d,
342
342
  size: t,
343
343
  theme: h || n,
344
344
  shape: f,
345
- disabled: u ? !0 : a
345
+ disabled: o ? !0 : a
346
346
  };
347
347
  return /* @__PURE__ */ l.jsx(
348
348
  "button",
@@ -352,9 +352,9 @@ const D = e("bu-text-light-second", {
352
352
  className: `${m(G($))} ${_}`,
353
353
  disabled: a,
354
354
  ...S,
355
- children: u ? w === "refresh" ? /* @__PURE__ */ l.jsx(K, { className: m(H({ size: t })) }) : /* @__PURE__ */ l.jsx(J, { size: t, theme: n }) : /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
355
+ children: o ? w === "refresh" ? /* @__PURE__ */ l.jsx(K, { className: m(H({ size: t })) }) : /* @__PURE__ */ l.jsx(J, { size: t, theme: n }) : /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
356
356
  b && /* @__PURE__ */ l.jsx("span", { className: "bu-mr-[9px]", children: b }),
357
- o,
357
+ u,
358
358
  r && /* @__PURE__ */ l.jsx("span", { className: "bu-ml-[9px] bu-flex bu-items-center", children: r }),
359
359
  k
360
360
  ] })
@@ -10,6 +10,7 @@ export interface PopoverProps {
10
10
  flipPlacement?: Placement[];
11
11
  afterClose?: () => void;
12
12
  contentClassName?: string;
13
+ className?: string;
13
14
  onVisibleChange?: (visible: boolean) => void;
14
15
  }
15
16
  export interface PopoverRefProps {
@@ -1,4 +1,4 @@
1
- import { a as s, b as o, c as m, d as i } from "./index-7286e773.js";
1
+ import { a as s, b as o, c as m, d as i } from "./index-1c943835.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,5 +1,5 @@
1
- import { a as v, t as m, b as o, c as f, d as l } from "./index-7286e773.js";
2
- import { i as d } from "./index-b08c18f2.js";
1
+ import { a as v, t as m, b as o, c as f, d as l } from "./index-1c943835.js";
2
+ import { i as d } from "./index-669cf5cb.js";
3
3
  import "./Badge.es.js";
4
4
  import "./jsx-runtime-944c88e2.js";
5
5
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as m, b as n, c as s, d as i } from "./index-7286e773.js";
1
+ import { a as m, b as n, c as s, d as i } from "./index-1c943835.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as d, b as n, c as l, d as o } from "./index-7286e773.js";
1
+ import { a as d, b as n, c as l, d as o } from "./index-1c943835.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as m, b as o, c as s, d } from "./index-7286e773.js";
1
+ import { a as m, b as o, c as s, d } from "./index-1c943835.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as m, b as n, c as s, d as i } from "./index-7286e773.js";
1
+ import { a as m, b as n, c as s, d as i } from "./index-1c943835.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-944c88e2.js";
4
4
  import "react";