@blofin/blofin-ui 1.0.0-beta.4 → 1.0.0-beta.6

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 (56) hide show
  1. package/dist/Badge.es.js +2 -2
  2. package/dist/Button.es.js +2 -2
  3. package/dist/Calendar.es.js +3 -3
  4. package/dist/Checkbox.es.js +2 -2
  5. package/dist/CssDropdown.es.js +2 -2
  6. package/dist/DatePickerRange.es.js +4 -4
  7. package/dist/DateTimePicker.es.js +4 -4
  8. package/dist/Dialog.es.js +2 -2
  9. package/dist/Divider.es.js +2 -2
  10. package/dist/Drawer.es.js +2 -2
  11. package/dist/Dropdown.es.js +2 -2
  12. package/dist/Empty.es.js +1 -1
  13. package/dist/LabelTextField.es.js +2 -2
  14. package/dist/MonthPicker.es.js +3 -3
  15. package/dist/MultiSelect.es.js +2 -2
  16. package/dist/Notification.es.js +3 -3
  17. package/dist/Pagination.es.js +3 -3
  18. package/dist/Picker.es.js +2 -2
  19. package/dist/Popover.es.js +1 -1
  20. package/dist/Popup.es.js +1 -1
  21. package/dist/ProTable-757b2549.js +3408 -0
  22. package/dist/ProTable.d.ts +3 -0
  23. package/dist/ProTable.es.js +14 -0
  24. package/dist/RadioButton.es.js +2 -2
  25. package/dist/Select.es.js +2 -2
  26. package/dist/Slider.es.js +51 -49
  27. package/dist/Sort.es.js +2 -2
  28. package/dist/Sortable.es.js +1 -1
  29. package/dist/Switch.es.js +2 -2
  30. package/dist/Tab.es.js +2 -2
  31. package/dist/Table.es.js +2 -2
  32. package/dist/TextField.es.js +2 -2
  33. package/dist/TextSelect.es.js +3 -3
  34. package/dist/Textarea.es.js +2 -2
  35. package/dist/Toast.es.js +3 -3
  36. package/dist/Tooltip.es.js +2 -2
  37. package/dist/Typography.es.js +2 -2
  38. package/dist/blofin.css +1 -1
  39. package/dist/components/ProTable/ProTable.d.ts +4 -0
  40. package/dist/components/ProTable/Tbody/index.d.ts +4 -0
  41. package/dist/components/ProTable/Thead/index.d.ts +4 -0
  42. package/dist/components/ProTable/index.d.ts +5 -0
  43. package/dist/components/ProTable/styles.d.ts +132 -0
  44. package/dist/components/ProTable/types/index.d.ts +63 -0
  45. package/dist/components/Sort/index.d.ts +1 -2
  46. package/dist/components/Table/hooks/useStickyOffset.d.ts +2 -2
  47. package/dist/{index-829c2f71.js → index-5a1ea470.js} +1 -1
  48. package/dist/{index-4691af61.js → index-a55c4737.js} +2 -2
  49. package/dist/{index-ba78fd90.js → index-ffb39a28.js} +3 -3
  50. package/dist/index.d.ts +4 -3
  51. package/dist/index.es.js +23 -19
  52. package/dist/{index.esm-8f99fb73.js → index.esm-0aa3bd72.js} +1 -1
  53. package/dist/{jsx-runtime-9e7af31d.js → jsx-runtime-ba6e4aac.js} +113 -115
  54. package/dist/provider/useTheme.d.ts +1 -1
  55. package/dist/{useTheme-4cb4f87b.js → useTheme-81e2a73e.js} +1 -1
  56. package/package.json +8 -3
package/dist/Badge.es.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { j as s } from "./jsx-runtime-9e7af31d.js";
3
- import { u as i } from "./useTheme-4cb4f87b.js";
2
+ import { j as s } from "./jsx-runtime-ba6e4aac.js";
3
+ import { u as i } from "./useTheme-81e2a73e.js";
4
4
  import { c as d } from "./utils-071abd68.js";
5
5
  import { c as u } from "./index-c57db938.js";
6
6
  import "react";
package/dist/Button.es.js CHANGED
@@ -1,8 +1,8 @@
1
1
  "use client";
2
- import { j as r } from "./jsx-runtime-9e7af31d.js";
2
+ import { j as r } from "./jsx-runtime-ba6e4aac.js";
3
3
  import { c as k } from "./utils-071abd68.js";
4
4
  import { c as e } from "./index-c57db938.js";
5
- import { u as x } from "./useTheme-4cb4f87b.js";
5
+ import { u as x } from "./useTheme-81e2a73e.js";
6
6
  import * as o from "react";
7
7
  import { c as g } from "./clsx.m-e965ef18.js";
8
8
  const N = e("bu-text-light-second", {
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import { j as a } from "./jsx-runtime-9e7af31d.js";
2
+ import { j as a } from "./jsx-runtime-ba6e4aac.js";
3
3
  import * as w from "react";
4
4
  import { Typography as _ } from "./Typography.es.js";
5
5
  import { S as $ } from "./arrow-down-l-line-97e4fe24.js";
6
- import { D as j, u as D, a as C, S as N } from "./index.esm-8f99fb73.js";
6
+ import { D as j, u as D, a as C, S as N } from "./index.esm-0aa3bd72.js";
7
7
  import { c as t } from "./index-c57db938.js";
8
- import { u as M } from "./useTheme-4cb4f87b.js";
8
+ import { u as M } from "./useTheme-81e2a73e.js";
9
9
  import { i as L } from "./index-b7027a1d.js";
10
10
  import "./utils-071abd68.js";
11
11
  import "./clsx.m-e965ef18.js";
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { j as u } from "./jsx-runtime-9e7af31d.js";
2
+ import { j as u } from "./jsx-runtime-ba6e4aac.js";
3
3
  import * as g from "react";
4
4
  import { c as f } from "./utils-071abd68.js";
5
5
  import { c as t } from "./index-c57db938.js";
6
- import { u as y } from "./useTheme-4cb4f87b.js";
6
+ import { u as y } from "./useTheme-81e2a73e.js";
7
7
  import "./clsx.m-e965ef18.js";
8
8
  const C = "_container_1qik0_1", v = "_checkmark_1qik0_22", h = {
9
9
  container: C,
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { j as u } from "./jsx-runtime-9e7af31d.js";
3
- import { u as o } from "./useTheme-4cb4f87b.js";
2
+ import { j as u } from "./jsx-runtime-ba6e4aac.js";
3
+ import { u as o } from "./useTheme-81e2a73e.js";
4
4
  import { c as r } from "./utils-071abd68.js";
5
5
  import { c as a } from "./index-c57db938.js";
6
6
  import "react";
@@ -1,8 +1,8 @@
1
1
  "use client";
2
- import { j as r } from "./jsx-runtime-9e7af31d.js";
2
+ import { j as r } from "./jsx-runtime-ba6e4aac.js";
3
3
  import * as o from "react";
4
4
  import { Calendar as He } from "./Calendar.es.js";
5
- import { f as a, M as ie } from "./index-829c2f71.js";
5
+ import { f as a, M as ie } from "./index-5a1ea470.js";
6
6
  import { Button as ce } from "./Button.es.js";
7
7
  import { Divider as Fe } from "./Divider.es.js";
8
8
  import { Typography as g } from "./Typography.es.js";
@@ -10,8 +10,8 @@ import { h as T } from "./index-b7027a1d.js";
10
10
  import { u as me, S as ae, l as $e } from "./locales-776f0072.js";
11
11
  import { Popup as Ce } from "./Popup.es.js";
12
12
  import { c as Z } from "./index-c57db938.js";
13
- import { u as Ye } from "./useTheme-4cb4f87b.js";
14
- import { b as le } from "./index.esm-8f99fb73.js";
13
+ import { u as Ye } from "./useTheme-81e2a73e.js";
14
+ import { b as le } from "./index.esm-0aa3bd72.js";
15
15
  import "./arrow-down-l-line-97e4fe24.js";
16
16
  import "./utils-071abd68.js";
17
17
  import "./clsx.m-e965ef18.js";
@@ -1,13 +1,13 @@
1
1
  "use client";
2
- import { j as e } from "./jsx-runtime-9e7af31d.js";
2
+ import { j as e } from "./jsx-runtime-ba6e4aac.js";
3
3
  import * as a from "react";
4
4
  import { Typography as G } from "./Typography.es.js";
5
5
  import { S as X } from "./arrow-down-l-line-97e4fe24.js";
6
- import { u as V, a as ee, S as te, D as re } from "./index.esm-8f99fb73.js";
6
+ import { u as V, a as ee, S as te, D as re } from "./index.esm-0aa3bd72.js";
7
7
  import { c as d } from "./index-c57db938.js";
8
- import { u as Q } from "./useTheme-4cb4f87b.js";
8
+ import { u as Q } from "./useTheme-81e2a73e.js";
9
9
  import { i as ae, h as W } from "./index-b7027a1d.js";
10
- import { f as se, M as ne } from "./index-829c2f71.js";
10
+ import { f as se, M as ne } from "./index-5a1ea470.js";
11
11
  import { Button as ue } from "./Button.es.js";
12
12
  import { Divider as oe } from "./Divider.es.js";
13
13
  import { u as I, l as ie, S as be } from "./locales-776f0072.js";
package/dist/Dialog.es.js CHANGED
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import { j as e } from "./jsx-runtime-9e7af31d.js";
2
+ import { j as e } from "./jsx-runtime-ba6e4aac.js";
3
3
  import * as a from "react";
4
4
  import { createPortal as P } from "react-dom";
5
5
  import { S as B } from "./close-0df24351.js";
6
6
  import { Button as v } from "./Button.es.js";
7
7
  import { c as m } from "./index-c57db938.js";
8
- import { u as G } from "./useTheme-4cb4f87b.js";
8
+ import { u as G } from "./useTheme-81e2a73e.js";
9
9
  import "./utils-071abd68.js";
10
10
  import "./clsx.m-e965ef18.js";
11
11
  const M = m(
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { j as t } from "./jsx-runtime-9e7af31d.js";
3
- import { u as s } from "./useTheme-4cb4f87b.js";
2
+ import { j as t } from "./jsx-runtime-ba6e4aac.js";
3
+ import { u as s } from "./useTheme-81e2a73e.js";
4
4
  import { c as i } from "./utils-071abd68.js";
5
5
  import { c as a } from "./index-c57db938.js";
6
6
  import "react";
package/dist/Drawer.es.js CHANGED
@@ -1,8 +1,8 @@
1
1
  "use client";
2
- import { j as e } from "./jsx-runtime-9e7af31d.js";
2
+ import { j as e } from "./jsx-runtime-ba6e4aac.js";
3
3
  import { createPortal as x } from "react-dom";
4
4
  import { S as f } from "./close-0df24351.js";
5
- import { u as g } from "./useTheme-4cb4f87b.js";
5
+ import { u as g } from "./useTheme-81e2a73e.js";
6
6
  import { c as l } from "./index-c57db938.js";
7
7
  import "react";
8
8
  import "./clsx.m-e965ef18.js";
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import { j as t } from "./jsx-runtime-9e7af31d.js";
2
+ import { j as t } from "./jsx-runtime-ba6e4aac.js";
3
3
  import * as o from "react";
4
4
  import { S as k } from "./arrow-fill-70becd96.js";
5
5
  import { u as j } from "./useAlign-916ed3be.js";
6
6
  import { createPortal as y } from "react-dom";
7
7
  import { c as p } from "./index-c57db938.js";
8
- import { u as x } from "./useTheme-4cb4f87b.js";
8
+ import { u as x } from "./useTheme-81e2a73e.js";
9
9
  import "./clsx.m-e965ef18.js";
10
10
  const S = (n) => /* @__PURE__ */ o.createElement("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ o.createElement("path", { d: "M8.99978 8.1213L5.28747 11.8337L4.22681 10.773L8.99978 6L13.7728 10.773L12.7121 11.8337L8.99978 8.1213Z", fill: "currentColor" })), L = p("bu-tracking-[-0.2px] bu-w-full bu-cursor-pointer bu-p-[8px]", {
11
11
  variants: {
package/dist/Empty.es.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { j as r } from "./jsx-runtime-9e7af31d.js";
2
+ import { j as r } from "./jsx-runtime-ba6e4aac.js";
3
3
  import "react";
4
4
  const p = {
5
5
  "empty-wrapper": "_empty-wrapper_j04qd_1"
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { j as e } from "./jsx-runtime-9e7af31d.js";
2
+ import { j as e } from "./jsx-runtime-ba6e4aac.js";
3
3
  import * as g from "react";
4
- import { u as S } from "./useTheme-4cb4f87b.js";
4
+ import { u as S } from "./useTheme-81e2a73e.js";
5
5
  import { c as l } from "./utils-071abd68.js";
6
6
  import { Typography as c } from "./Typography.es.js";
7
7
  import { L as z, I, A as p, a as T, b as A, c as b, d as w, H as L } from "./styles-85a9fe64.js";
@@ -1,12 +1,12 @@
1
1
  "use client";
2
- import { M as f } from "./index-829c2f71.js";
3
- import "./jsx-runtime-9e7af31d.js";
2
+ import { M as f } from "./index-5a1ea470.js";
3
+ import "./jsx-runtime-ba6e4aac.js";
4
4
  import "react";
5
5
  import "./Button.es.js";
6
6
  import "./utils-071abd68.js";
7
7
  import "./clsx.m-e965ef18.js";
8
8
  import "./index-c57db938.js";
9
- import "./useTheme-4cb4f87b.js";
9
+ import "./useTheme-81e2a73e.js";
10
10
  import "./index-b7027a1d.js";
11
11
  import "./Picker.es.js";
12
12
  import "./_commonjsHelpers-1d52fb73.js";
@@ -1,8 +1,8 @@
1
1
  "use client";
2
- import { j as t } from "./jsx-runtime-9e7af31d.js";
2
+ import { j as t } from "./jsx-runtime-ba6e4aac.js";
3
3
  import * as r from "react";
4
4
  import { createPortal as J } from "react-dom";
5
- import { u as U } from "./useTheme-4cb4f87b.js";
5
+ import { u as U } from "./useTheme-81e2a73e.js";
6
6
  import { c as A } from "./utils-071abd68.js";
7
7
  import { c as a } from "./index-c57db938.js";
8
8
  import { S as Q } from "./arrow-down-l-line-97e4fe24.js";
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import { b as f } from "./index-ba78fd90.js";
3
- import "./jsx-runtime-9e7af31d.js";
2
+ import { b as f } from "./index-ffb39a28.js";
3
+ import "./jsx-runtime-ba6e4aac.js";
4
4
  import "react";
5
5
  import "react-dom";
6
6
  import "./index-c57db938.js";
7
7
  import "./clsx.m-e965ef18.js";
8
- import "./useTheme-4cb4f87b.js";
8
+ import "./useTheme-81e2a73e.js";
9
9
  import "./close-0df24351.js";
10
10
  export {
11
11
  f as Notification
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { j as u } from "./jsx-runtime-9e7af31d.js";
2
+ import { j as u } from "./jsx-runtime-ba6e4aac.js";
3
3
  import * as x from "react";
4
4
  import { c as I } from "./clsx.m-e965ef18.js";
5
- import { u as R } from "./useTheme-4cb4f87b.js";
6
- import { T as M, S as y } from "./index-4691af61.js";
5
+ import { u as R } from "./useTheme-81e2a73e.js";
6
+ import { T as M, S as y } from "./index-a55c4737.js";
7
7
  import { c as T } from "./index-c57db938.js";
8
8
  import "react-dom";
9
9
  import "./TextField.es.js";
package/dist/Picker.es.js CHANGED
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { j as v } from "./jsx-runtime-9e7af31d.js";
2
+ import { j as v } from "./jsx-runtime-ba6e4aac.js";
3
3
  import * as $ from "react";
4
4
  import { useRef as j, useState as X, useCallback as q, useEffect as W } from "react";
5
5
  import { c as y, g as G } from "./_commonjsHelpers-1d52fb73.js";
6
- import { u as z } from "./useTheme-4cb4f87b.js";
6
+ import { u as z } from "./useTheme-81e2a73e.js";
7
7
  import { c as J } from "./index-c57db938.js";
8
8
  import "./clsx.m-e965ef18.js";
9
9
  function K(e) {
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { j as v } from "./jsx-runtime-9e7af31d.js";
2
+ import { j as v } from "./jsx-runtime-ba6e4aac.js";
3
3
  import * as t from "react";
4
4
  import { useEffect as j } from "react";
5
5
  import { createPortal as N } from "react-dom";
package/dist/Popup.es.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { j as f } from "./jsx-runtime-9e7af31d.js";
2
+ import { j as f } from "./jsx-runtime-ba6e4aac.js";
3
3
  import * as e from "react";
4
4
  import { useRef as I } from "react";
5
5
  import { c as N } from "./index-c57db938.js";