@blofin/blofin-ui 0.7.57 → 0.7.59

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 (110) hide show
  1. package/dist/Badge.es.js +19 -18
  2. package/dist/Button.es.js +7 -6
  3. package/dist/Dialog.es.js +5 -4
  4. package/dist/Divider.es.js +8 -7
  5. package/dist/Drawer.es.js +14 -13
  6. package/dist/{ProTable-079d6c86.js → ProTable-63e2c020.js} +4 -3
  7. package/dist/ProTable.es.js +5 -4
  8. package/dist/Slider.es.js +5 -4
  9. package/dist/Sort.d.ts +1 -0
  10. package/dist/Sort.es.js +12 -0
  11. package/dist/blofin.css +1 -1
  12. package/dist/clsx.m-b14a941b.js +32 -0
  13. package/dist/components/Sort/index.d.ts +6 -0
  14. package/dist/components/Table/hooks/useStickyOffset.d.ts +1 -1
  15. package/dist/{index-693a21bb.js → index-001dd0f7.js} +14 -12
  16. package/dist/{index-d907bed0.js → index-003572ca.js} +10 -8
  17. package/dist/{index-1810cc68.js → index-0330bc93.js} +12 -10
  18. package/dist/{index-30f61bdc.js → index-05bf2879.js} +9 -7
  19. package/dist/{index-9c3f8d80.js → index-0773f9b5.js} +9 -7
  20. package/dist/{index-523acf7a.js → index-0c50dcda.js} +13 -11
  21. package/dist/{index-013c5769.js → index-0e6d56f6.js} +9 -7
  22. package/dist/{index-2c3346b8.js → index-0eb53476.js} +9 -7
  23. package/dist/{index-c1b82aa9.js → index-10144af4.js} +13 -11
  24. package/dist/{index-a132ac63.js → index-11dc8e91.js} +10 -8
  25. package/dist/{index-051b64c8.js → index-14eba896.js} +10 -8
  26. package/dist/{index-b8e94395.js → index-18869ac6.js} +9 -7
  27. package/dist/{index-cd93af19.js → index-189196e6.js} +16 -14
  28. package/dist/{index-c1206eaf.js → index-198ccc85.js} +22 -20
  29. package/dist/{index-a45e1710.js → index-1b087231.js} +9 -7
  30. package/dist/{index-d15a69b6.js → index-204cbb23.js} +13 -11
  31. package/dist/{index-87b93a08.js → index-220ed10a.js} +9 -7
  32. package/dist/{index-b69e64e6.js → index-28a6835c.js} +25 -23
  33. package/dist/{index-3b632a87.js → index-2d400fe1.js} +13 -11
  34. package/dist/{index-5648e9fa.js → index-2e0c8d16.js} +12 -10
  35. package/dist/{index-3b42042f.js → index-2e784550.js} +10 -8
  36. package/dist/{index-14c3a4d7.js → index-304d7874.js} +11 -9
  37. package/dist/{index-2e69928d.js → index-3375e2e3.js} +10 -8
  38. package/dist/{index-dc3cd1ef.js → index-36521981.js} +9 -7
  39. package/dist/{index-b4116538.js → index-377dc190.js} +9 -7
  40. package/dist/{index-122d1ca2.js → index-390505ce.js} +9 -7
  41. package/dist/{index-0b47cbae.js → index-40626e62.js} +11 -10
  42. package/dist/{index-0333ccf9.js → index-41bebee7.js} +19 -17
  43. package/dist/{index-9c669079.js → index-45cfa2f3.js} +9 -7
  44. package/dist/{index-0fa20e69.js → index-47408940.js} +9 -7
  45. package/dist/{index-3c7614e3.js → index-4b9249fc.js} +9 -7
  46. package/dist/{index-fb1f3ef1.js → index-543e2f77.js} +10 -8
  47. package/dist/{index-7be8731d.js → index-563cafee.js} +11 -9
  48. package/dist/{index-e102400f.js → index-5956ed9f.js} +2776 -2913
  49. package/dist/{index-fcb10f63.js → index-59c7d611.js} +9 -7
  50. package/dist/{index-7b28ddea.js → index-5bc791c5.js} +14 -12
  51. package/dist/{index-4ccb3e9c.js → index-5f3da225.js} +9 -7
  52. package/dist/{index-fd4e070b.js → index-603f0f2a.js} +10 -8
  53. package/dist/{index-2ee3d9fd.js → index-636a6216.js} +9 -7
  54. package/dist/{index-b42b7f2a.js → index-640dc4ab.js} +9 -7
  55. package/dist/{index-a5251ade.js → index-64ba8d88.js} +12 -10
  56. package/dist/{index-0228f85e.js → index-65986673.js} +9 -7
  57. package/dist/{index-cb3b96c6.js → index-65df0a7b.js} +9 -7
  58. package/dist/{index-c17e103a.js → index-6e4d9a19.js} +1 -1
  59. package/dist/{index-7f2a6d68.js → index-7241c703.js} +16 -14
  60. package/dist/index-7272669e.js +36 -0
  61. package/dist/{index-31004470.js → index-73673cf3.js} +10 -8
  62. package/dist/{index-55a7fad3.js → index-74676234.js} +14 -12
  63. package/dist/{index-8d34dc76.js → index-770fe605.js} +9 -7
  64. package/dist/{index-94ca2048.js → index-772d6529.js} +23 -21
  65. package/dist/{index-0be486a6.js → index-797b8f6c.js} +32 -30
  66. package/dist/{index-584c1de8.js → index-7c12aa98.js} +9 -7
  67. package/dist/{index-54cbdaa4.js → index-7e7cdd81.js} +1 -1
  68. package/dist/{index-6fc4d1f4.js → index-81072b24.js} +19 -17
  69. package/dist/{index-721120f3.js → index-8684e896.js} +9 -7
  70. package/dist/{index-312ee80f.js → index-89f184f3.js} +2 -2
  71. package/dist/{index-15cca5fd.js → index-8a7c46ae.js} +22 -20
  72. package/dist/{index-0ab7162c.js → index-8cec0e82.js} +9 -7
  73. package/dist/{index-659243c0.js → index-91062be2.js} +9 -7
  74. package/dist/{index-00d6276c.js → index-9253a5ce.js} +9 -7
  75. package/dist/index-95c68eda.js +152 -0
  76. package/dist/{index-f5df4eec.js → index-9eaebb69.js} +32 -30
  77. package/dist/{index-7dfec241.js → index-a4077786.js} +9 -7
  78. package/dist/{index-c6a5236d.js → index-ad2acfd2.js} +9 -7
  79. package/dist/{index-c58b598e.js → index-af60bed6.js} +9 -7
  80. package/dist/{index-44b988bb.js → index-b5ff5e93.js} +16 -14
  81. package/dist/{index-e3570fb6.js → index-bba889fc.js} +9 -7
  82. package/dist/{index-81a64a31.js → index-c002eb57.js} +9 -7
  83. package/dist/{index-2acdfe81.js → index-c73b6cc3.js} +9 -7
  84. package/dist/{index-d914889d.js → index-c81a4a2a.js} +15 -13
  85. package/dist/{index-44ed585d.js → index-c8690f0a.js} +25 -23
  86. package/dist/{index-f0b0c5fc.js → index-cdaffd70.js} +9 -7
  87. package/dist/{index-f27785e7.js → index-cf872561.js} +9 -7
  88. package/dist/{index-e1f19bc5.js → index-dafac81d.js} +9 -7
  89. package/dist/{index-207ff1e4.js → index-db7c7495.js} +9 -7
  90. package/dist/{index-2e09190f.js → index-dbd4bd27.js} +13 -11
  91. package/dist/{index-abb9f006.js → index-dc23eb8b.js} +9 -7
  92. package/dist/{index-887b08f6.js → index-dc69cdd8.js} +16 -14
  93. package/dist/{index-a9c0f025.js → index-e6091315.js} +13 -11
  94. package/dist/{index-64f4d194.js → index-e869e999.js} +12 -10
  95. package/dist/{index-d5de8c20.js → index-f0c42ec9.js} +17 -15
  96. package/dist/{index-88d32101.js → index-f16b36a5.js} +9 -7
  97. package/dist/{index-aa5e48ef.js → index-f4d65525.js} +10 -8
  98. package/dist/{index-b5974e22.js → index-f53123c7.js} +10 -8
  99. package/dist/{index-70099dad.js → index-f753119c.js} +13 -11
  100. package/dist/{index-24112094.js → index-f83dab77.js} +9 -7
  101. package/dist/{index-2add17c1.js → index-f852d9b6.js} +9 -7
  102. package/dist/{index-789ea179.js → index-fa51b278.js} +9 -7
  103. package/dist/{index-46e4bfa3.js → index-fc135912.js} +9 -7
  104. package/dist/{index-9864c94e.js → index-fcb1ec65.js} +1 -1
  105. package/dist/{index-40958da3.js → index-ff943066.js} +13 -11
  106. package/dist/index.d.ts +2 -2
  107. package/dist/index.es.js +44 -41
  108. package/dist/{utils-19b44377.js → utils-cacf528c.js} +1 -1
  109. package/package.json +3 -2
  110. package/dist/index-6ffbeca8.js +0 -65
@@ -1,17 +1,19 @@
1
- import { a as m, b as n, c as s, d } from "./index-e102400f.js";
1
+ import { a as d, b as n, c as s, d as m } from "./index-5956ed9f.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-82a9ddf6.js";
4
4
  import "react";
5
- import "./index-6ffbeca8.js";
6
- import "./utils-19b44377.js";
5
+ import "./clsx.m-b14a941b.js";
6
+ import "./utils-cacf528c.js";
7
+ import "./index-7272669e.js";
7
8
  import "./Button.es.js";
8
9
  import "./isObjectLike-1b8bbac2.js";
9
- import "./index-0b47cbae.js";
10
+ import "./index-40626e62.js";
10
11
  import "react-dom";
11
12
  import "./close-c67ec245.js";
12
13
  import "./Drawer.es.js";
13
14
  import "./Slider.es.js";
14
- import "./ProTable-079d6c86.js";
15
+ import "./index-95c68eda.js";
16
+ import "./ProTable-63e2c020.js";
15
17
  import "./Divider.es.js";
16
18
  var u = {
17
19
  lessThanXSeconds: {
@@ -96,15 +98,15 @@ var c = {
96
98
  medium: "{{date}}, {{time}}",
97
99
  short: "{{date}}, {{time}}"
98
100
  }, g = {
99
- date: m({
101
+ date: d({
100
102
  formats: c,
101
103
  defaultWidth: "full"
102
104
  }),
103
- time: m({
105
+ time: d({
104
106
  formats: f,
105
107
  defaultWidth: "full"
106
108
  }),
107
- dateTime: m({
109
+ dateTime: d({
108
110
  formats: v,
109
111
  defaultWidth: "full"
110
112
  })
@@ -286,13 +288,13 @@ var z = /^(\d+)(º|ª)?/i, H = /\d+/i, T = {
286
288
  return parseInt(a, 10);
287
289
  }
288
290
  }),
289
- era: d({
291
+ era: m({
290
292
  matchPatterns: T,
291
293
  defaultMatchWidth: "wide",
292
294
  parsePatterns: F,
293
295
  defaultParseWidth: "any"
294
296
  }),
295
- quarter: d({
297
+ quarter: m({
296
298
  matchPatterns: V,
297
299
  defaultMatchWidth: "wide",
298
300
  parsePatterns: X,
@@ -301,19 +303,19 @@ var z = /^(\d+)(º|ª)?/i, H = /\d+/i, T = {
301
303
  return a + 1;
302
304
  }
303
305
  }),
304
- month: d({
306
+ month: m({
305
307
  matchPatterns: A,
306
308
  defaultMatchWidth: "wide",
307
309
  parsePatterns: L,
308
310
  defaultParseWidth: "any"
309
311
  }),
310
- day: d({
312
+ day: m({
311
313
  matchPatterns: N,
312
314
  defaultMatchWidth: "wide",
313
315
  parsePatterns: E,
314
316
  defaultParseWidth: "any"
315
317
  }),
316
- dayPeriod: d({
318
+ dayPeriod: m({
317
319
  matchPatterns: R,
318
320
  defaultMatchWidth: "any",
319
321
  parsePatterns: S,
@@ -321,7 +323,7 @@ var z = /^(\d+)(º|ª)?/i, H = /\d+/i, T = {
321
323
  })
322
324
  };
323
325
  const Y = $;
324
- var oa = {
326
+ var ma = {
325
327
  code: "pt",
326
328
  formatDistance: h,
327
329
  formatLong: b,
@@ -334,5 +336,5 @@ var oa = {
334
336
  }
335
337
  };
336
338
  export {
337
- oa as default
339
+ ma as default
338
340
  };
@@ -1,17 +1,19 @@
1
- import { a as m, b as d, c as s, d as o } from "./index-e102400f.js";
1
+ import { a as m, b as d, c as s, d as o } from "./index-5956ed9f.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-82a9ddf6.js";
4
4
  import "react";
5
- import "./index-6ffbeca8.js";
6
- import "./utils-19b44377.js";
5
+ import "./clsx.m-b14a941b.js";
6
+ import "./utils-cacf528c.js";
7
+ import "./index-7272669e.js";
7
8
  import "./Button.es.js";
8
9
  import "./isObjectLike-1b8bbac2.js";
9
- import "./index-0b47cbae.js";
10
+ import "./index-40626e62.js";
10
11
  import "react-dom";
11
12
  import "./close-c67ec245.js";
12
13
  import "./Drawer.es.js";
13
14
  import "./Slider.es.js";
14
- import "./ProTable-079d6c86.js";
15
+ import "./index-95c68eda.js";
16
+ import "./ProTable-63e2c020.js";
15
17
  import "./Divider.es.js";
16
18
  var u = {
17
19
  lessThanXSeconds: {
@@ -326,7 +328,7 @@ var F = /^(\d+)(èr|nd|en)?[a]?/i, T = /\d+/i, x = {
326
328
  })
327
329
  };
328
330
  const $ = R;
329
- var ia = {
331
+ var oa = {
330
332
  code: "oc",
331
333
  formatDistance: c,
332
334
  formatLong: b,
@@ -339,5 +341,5 @@ var ia = {
339
341
  }
340
342
  };
341
343
  export {
342
- ia as default
344
+ oa as default
343
345
  };
@@ -1,18 +1,20 @@
1
- import { a as o, b as s, c as l, d } from "./index-e102400f.js";
2
- import { i as u } from "./index-54cbdaa4.js";
1
+ import { a as o, b as s, c as l, d } from "./index-5956ed9f.js";
2
+ import { i as u } from "./index-7e7cdd81.js";
3
3
  import "./Badge.es.js";
4
4
  import "./jsx-runtime-82a9ddf6.js";
5
5
  import "react";
6
- import "./index-6ffbeca8.js";
7
- import "./utils-19b44377.js";
6
+ import "./clsx.m-b14a941b.js";
7
+ import "./utils-cacf528c.js";
8
+ import "./index-7272669e.js";
8
9
  import "./Button.es.js";
9
10
  import "./isObjectLike-1b8bbac2.js";
10
- import "./index-0b47cbae.js";
11
+ import "./index-40626e62.js";
11
12
  import "react-dom";
12
13
  import "./close-c67ec245.js";
13
14
  import "./Drawer.es.js";
14
15
  import "./Slider.es.js";
15
- import "./ProTable-079d6c86.js";
16
+ import "./index-95c68eda.js";
17
+ import "./ProTable-63e2c020.js";
16
18
  import "./Divider.es.js";
17
19
  function r(a) {
18
20
  return function(e, t) {
@@ -367,7 +369,7 @@ var O = /^(\d+)\./i, L = /\d+/i, X = {
367
369
  })
368
370
  };
369
371
  const I = _;
370
- var le = {
372
+ var ve = {
371
373
  code: "lv",
372
374
  formatDistance: f,
373
375
  formatLong: w,
@@ -380,5 +382,5 @@ var le = {
380
382
  }
381
383
  };
382
384
  export {
383
- le as default
385
+ ve as default
384
386
  };
@@ -1,19 +1,21 @@
1
- import { f as m, l as o, m as a } from "./index-c17e103a.js";
2
- import { a as t } from "./index-e102400f.js";
1
+ import { f as m, l as o, m as a } from "./index-6e4d9a19.js";
2
+ import { a as t } from "./index-5956ed9f.js";
3
3
  import { f as r } from "./index-0f855a91.js";
4
4
  import "./Badge.es.js";
5
5
  import "./jsx-runtime-82a9ddf6.js";
6
6
  import "react";
7
- import "./index-6ffbeca8.js";
8
- import "./utils-19b44377.js";
7
+ import "./clsx.m-b14a941b.js";
8
+ import "./utils-cacf528c.js";
9
+ import "./index-7272669e.js";
9
10
  import "./Button.es.js";
10
11
  import "./isObjectLike-1b8bbac2.js";
11
- import "./index-0b47cbae.js";
12
+ import "./index-40626e62.js";
12
13
  import "react-dom";
13
14
  import "./close-c67ec245.js";
14
15
  import "./Drawer.es.js";
15
16
  import "./Slider.es.js";
16
- import "./ProTable-079d6c86.js";
17
+ import "./index-95c68eda.js";
18
+ import "./ProTable-63e2c020.js";
17
19
  import "./Divider.es.js";
18
20
  var i = {
19
21
  full: "EEEE d MMMM y",
@@ -45,7 +47,7 @@ var i = {
45
47
  })
46
48
  };
47
49
  const f = s;
48
- var k = {
50
+ var T = {
49
51
  code: "fr",
50
52
  formatDistance: m,
51
53
  formatLong: f,
@@ -58,5 +60,5 @@ var k = {
58
60
  }
59
61
  };
60
62
  export {
61
- k as default
63
+ T as default
62
64
  };
@@ -1,18 +1,20 @@
1
- import { f as a, l as o, m } from "./index-c17e103a.js";
2
- import { a as t } from "./index-e102400f.js";
1
+ import { f as a, l as o, m } from "./index-6e4d9a19.js";
2
+ import { a as t } from "./index-5956ed9f.js";
3
3
  import "./Badge.es.js";
4
4
  import "./jsx-runtime-82a9ddf6.js";
5
5
  import "react";
6
- import "./index-6ffbeca8.js";
7
- import "./utils-19b44377.js";
6
+ import "./clsx.m-b14a941b.js";
7
+ import "./utils-cacf528c.js";
8
+ import "./index-7272669e.js";
8
9
  import "./Button.es.js";
9
10
  import "./isObjectLike-1b8bbac2.js";
10
- import "./index-0b47cbae.js";
11
+ import "./index-40626e62.js";
11
12
  import "react-dom";
12
13
  import "./close-c67ec245.js";
13
14
  import "./Drawer.es.js";
14
15
  import "./Slider.es.js";
15
- import "./ProTable-079d6c86.js";
16
+ import "./index-95c68eda.js";
17
+ import "./ProTable-63e2c020.js";
16
18
  import "./Divider.es.js";
17
19
  var r = {
18
20
  full: "EEEE d MMMM y",
@@ -51,15 +53,15 @@ var f = {
51
53
  tomorrow: "'demain à' p'",
52
54
  nextWeek: "eeee 'la semaine prochaine à' p",
53
55
  other: "P"
54
- }, n = function(e, c, M, h) {
56
+ }, p = function(e, c, M, h) {
55
57
  return f[e];
56
58
  };
57
- const p = n;
58
- var C = {
59
+ const n = p;
60
+ var $ = {
59
61
  code: "fr-CH",
60
62
  formatDistance: a,
61
63
  formatLong: d,
62
- formatRelative: p,
64
+ formatRelative: n,
63
65
  localize: o,
64
66
  match: m,
65
67
  options: {
@@ -68,5 +70,5 @@ var C = {
68
70
  }
69
71
  };
70
72
  export {
71
- C as default
73
+ $ as default
72
74
  };
@@ -1,17 +1,19 @@
1
- import { a as m, b as i, c as s, d } from "./index-e102400f.js";
1
+ import { a as m, b as i, c as s, d } from "./index-5956ed9f.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-82a9ddf6.js";
4
4
  import "react";
5
- import "./index-6ffbeca8.js";
6
- import "./utils-19b44377.js";
5
+ import "./clsx.m-b14a941b.js";
6
+ import "./utils-cacf528c.js";
7
+ import "./index-7272669e.js";
7
8
  import "./Button.es.js";
8
9
  import "./isObjectLike-1b8bbac2.js";
9
- import "./index-0b47cbae.js";
10
+ import "./index-40626e62.js";
10
11
  import "react-dom";
11
12
  import "./close-c67ec245.js";
12
13
  import "./Drawer.es.js";
13
14
  import "./Slider.es.js";
14
- import "./ProTable-079d6c86.js";
15
+ import "./index-95c68eda.js";
16
+ import "./ProTable-63e2c020.js";
15
17
  import "./Divider.es.js";
16
18
  var u = {
17
19
  lessThanXSeconds: {
@@ -347,7 +349,7 @@ var N = /^(\d+)(th|st|nd|rd)?/i, X = /\d+/i, C = {
347
349
  })
348
350
  };
349
351
  const A = _;
350
- var oe = {
352
+ var de = {
351
353
  code: "ar-MA",
352
354
  formatDistance: l,
353
355
  formatLong: w,
@@ -361,5 +363,5 @@ var oe = {
361
363
  }
362
364
  };
363
365
  export {
364
- oe as default
366
+ de as default
365
367
  };
@@ -1,17 +1,19 @@
1
- import { a as m, b as i, c as s, d as n } from "./index-e102400f.js";
1
+ import { a as m, b as i, c as s, d as n } from "./index-5956ed9f.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-82a9ddf6.js";
4
4
  import "react";
5
- import "./index-6ffbeca8.js";
6
- import "./utils-19b44377.js";
5
+ import "./clsx.m-b14a941b.js";
6
+ import "./utils-cacf528c.js";
7
+ import "./index-7272669e.js";
7
8
  import "./Button.es.js";
8
9
  import "./isObjectLike-1b8bbac2.js";
9
- import "./index-0b47cbae.js";
10
+ import "./index-40626e62.js";
10
11
  import "react-dom";
11
12
  import "./close-c67ec245.js";
12
13
  import "./Drawer.es.js";
13
14
  import "./Slider.es.js";
14
- import "./ProTable-079d6c86.js";
15
+ import "./index-95c68eda.js";
16
+ import "./ProTable-63e2c020.js";
15
17
  import "./Divider.es.js";
16
18
  var u = {
17
19
  lessThanXSeconds: {
@@ -318,7 +320,7 @@ var V = /^(\d+)((-|֊)?(ին|րդ))?/i, X = /\d+/i, C = {
318
320
  })
319
321
  };
320
322
  const A = q;
321
- var na = {
323
+ var da = {
322
324
  code: "hy",
323
325
  formatDistance: h,
324
326
  formatLong: b,
@@ -331,5 +333,5 @@ var na = {
331
333
  }
332
334
  };
333
335
  export {
334
- na as default
336
+ da as default
335
337
  };
@@ -1,17 +1,19 @@
1
- import { a as d, b as i, c as s, d as n } from "./index-e102400f.js";
1
+ import { a as d, b as i, c as s, d as n } from "./index-5956ed9f.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-82a9ddf6.js";
4
4
  import "react";
5
- import "./index-6ffbeca8.js";
6
- import "./utils-19b44377.js";
5
+ import "./clsx.m-b14a941b.js";
6
+ import "./utils-cacf528c.js";
7
+ import "./index-7272669e.js";
7
8
  import "./Button.es.js";
8
9
  import "./isObjectLike-1b8bbac2.js";
9
- import "./index-0b47cbae.js";
10
+ import "./index-40626e62.js";
10
11
  import "react-dom";
11
12
  import "./close-c67ec245.js";
12
13
  import "./Drawer.es.js";
13
14
  import "./Slider.es.js";
14
- import "./ProTable-079d6c86.js";
15
+ import "./index-95c68eda.js";
16
+ import "./ProTable-63e2c020.js";
15
17
  import "./Divider.es.js";
16
18
  var u = {
17
19
  lessThanXSeconds: "តិចជាង {{count}} វិនាទី",
@@ -271,7 +273,7 @@ var C = /^(\d+)(th|st|nd|rd)?/i, L = /\d+/i, N = {
271
273
  })
272
274
  };
273
275
  const O = _;
274
- var na = {
276
+ var da = {
275
277
  code: "km",
276
278
  formatDistance: h,
277
279
  formatLong: p,
@@ -284,5 +286,5 @@ var na = {
284
286
  }
285
287
  };
286
288
  export {
287
- na as default
289
+ da as default
288
290
  };
@@ -1,17 +1,19 @@
1
- import { a as l, b as i, c as p, d as n } from "./index-e102400f.js";
1
+ import { a as l, b as i, c as p, d as n } from "./index-5956ed9f.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-82a9ddf6.js";
4
4
  import "react";
5
- import "./index-6ffbeca8.js";
6
- import "./utils-19b44377.js";
5
+ import "./clsx.m-b14a941b.js";
6
+ import "./utils-cacf528c.js";
7
+ import "./index-7272669e.js";
7
8
  import "./Button.es.js";
8
9
  import "./isObjectLike-1b8bbac2.js";
9
- import "./index-0b47cbae.js";
10
+ import "./index-40626e62.js";
10
11
  import "react-dom";
11
12
  import "./close-c67ec245.js";
12
13
  import "./Drawer.es.js";
13
14
  import "./Slider.es.js";
14
- import "./ProTable-079d6c86.js";
15
+ import "./index-95c68eda.js";
16
+ import "./ProTable-63e2c020.js";
15
17
  import "./Divider.es.js";
16
18
  var b = {
17
19
  about: "körülbelül",
@@ -295,7 +297,7 @@ var R = /^(\d+)\.?/i, O = /\d+/i, q = {
295
297
  })
296
298
  };
297
299
  const Z = Y;
298
- var he = {
300
+ var be = {
299
301
  code: "hu",
300
302
  formatDistance: j,
301
303
  formatLong: M,
@@ -308,5 +310,5 @@ var he = {
308
310
  }
309
311
  };
310
312
  export {
311
- he as default
313
+ be as default
312
314
  };
@@ -1,4 +1,4 @@
1
- import { a as s, c as u, d as n } from "./index-e102400f.js";
1
+ import { a as s, c as u, d as n } from "./index-5956ed9f.js";
2
2
  var h = {
3
3
  lessThanXSeconds: {
4
4
  standalone: {
@@ -1,17 +1,19 @@
1
- import { a as m, b as i, c as s, d as o } from "./index-e102400f.js";
1
+ import { a as m, b as i, c as s, d as o } from "./index-5956ed9f.js";
2
2
  import "./Badge.es.js";
3
3
  import "./jsx-runtime-82a9ddf6.js";
4
4
  import "react";
5
- import "./index-6ffbeca8.js";
6
- import "./utils-19b44377.js";
5
+ import "./clsx.m-b14a941b.js";
6
+ import "./utils-cacf528c.js";
7
+ import "./index-7272669e.js";
7
8
  import "./Button.es.js";
8
9
  import "./isObjectLike-1b8bbac2.js";
9
- import "./index-0b47cbae.js";
10
+ import "./index-40626e62.js";
10
11
  import "react-dom";
11
12
  import "./close-c67ec245.js";
12
13
  import "./Drawer.es.js";
13
14
  import "./Slider.es.js";
14
- import "./ProTable-079d6c86.js";
15
+ import "./index-95c68eda.js";
16
+ import "./ProTable-63e2c020.js";
15
17
  import "./Divider.es.js";
16
18
  var u = {
17
19
  lessThanXSeconds: {
@@ -109,8 +111,8 @@ var c = {
109
111
  defaultWidth: "full"
110
112
  })
111
113
  };
112
- const g = b;
113
- var p = {
114
+ const p = b;
115
+ var g = {
114
116
  lastWeek: "'上個'eeee p",
115
117
  yesterday: "'昨天' p",
116
118
  today: "'今天' p",
@@ -118,7 +120,7 @@ var p = {
118
120
  nextWeek: "'下個'eeee p",
119
121
  other: "P"
120
122
  }, P = function(e, t, a, r) {
121
- return p[e];
123
+ return g[e];
122
124
  };
123
125
  const y = P;
124
126
  var w = {
@@ -325,10 +327,10 @@ var X = /^(第\s*)?\d+(日|時|分|秒)?/i, C = /\d+/i, L = {
325
327
  })
326
328
  };
327
329
  const H = _;
328
- var ia = {
330
+ var da = {
329
331
  code: "zh-TW",
330
332
  formatDistance: h,
331
- formatLong: g,
333
+ formatLong: p,
332
334
  formatRelative: y,
333
335
  localize: V,
334
336
  match: H,
@@ -338,5 +340,5 @@ var ia = {
338
340
  }
339
341
  };
340
342
  export {
341
- ia as default
343
+ da as default
342
344
  };
package/dist/index.d.ts CHANGED
@@ -16,6 +16,7 @@ import { Select } from "./components/Select";
16
16
  import { Slider } from "./components/Slider";
17
17
  import SortButton, { TextAlign } from "./components/Sort/SortButton";
18
18
  import SortGroup from "./components/Sort/SortGroup";
19
+ import { SortContext, SortsData } from "./components/Sort";
19
20
  import { Switch } from "./components/Switch/Switch";
20
21
  import { Tab, TabRef } from "./components/Tab/Tab";
21
22
  import Table, { TableColumnProps } from "./components/Table";
@@ -34,7 +35,6 @@ import { NoticeProvider } from "./provider/NoticeProvider";
34
35
  import { ThemeProvider } from "./provider/ThemeProvider";
35
36
  import useTheme from "./provider/useTheme";
36
37
  import { BUIComponentColor, BUIComponentSize, BUITheme } from "./types/component";
37
- import { SortsData } from "./components/Sort/reducer";
38
38
  import { Placement } from "@popperjs/core";
39
39
  import { InputBaseProps } from "./components/TextField/TextField";
40
40
  import { Alert } from "./components/Alert/index";
@@ -42,7 +42,7 @@ import MultiSelect from "./components/MultiSelect/MultiSelect";
42
42
  import ProTable from "./components/ProTable/ProTable";
43
43
  import type { ProTableProps, ProTableColumnProps, SortProps, SortType, SortState } from "./components/ProTable/types";
44
44
  import { SortEnum } from "./components/ProTable/types";
45
- export { Badge, Button, Checkbox, CssDropdown, DatePickerRange, DateTimePicker, Dialog, Divider, Drawer, Dropdown, LabelTextField, Pagination, Popover, RadioButton, Select, Slider, SortButton, SortGroup, Switch, Tab, Table, TextArea, TextField, TextSelect, Tooltip, Typography, Sortable, SortItem, Popup, Alert, Toast, MultiSelect, ProTable };
45
+ export { Badge, Button, Checkbox, CssDropdown, DatePickerRange, DateTimePicker, Dialog, Divider, Drawer, Dropdown, LabelTextField, Pagination, Popover, RadioButton, Select, Slider, SortButton, SortGroup, Switch, Tab, Table, TextArea, TextField, TextSelect, Tooltip, Typography, Sortable, SortItem, Popup, Alert, Toast, MultiSelect, ProTable, SortContext };
46
46
  export type { ButtonProps, TypographyProps, InputBaseProps, BUIComponentColor, BUIComponentSize, BUITheme, DatePickerRangeProps, DateTimePickerProps, DialogProps, TableColumnProps, TextSelectRefProps, TextAlign, PopupRef, TabRef, SortsData, Placement, PopoverRefProps, TextSelectProps, ProTableProps, ProTableColumnProps, SortProps, SortType, SortState };
47
47
  export { NoticeProvider, ThemeProvider };
48
48
  export { useNotification, useTheme, useToast };
package/dist/index.es.js CHANGED
@@ -1,56 +1,59 @@
1
- import { Badge as m } from "./Badge.es.js";
1
+ import { Badge as x } from "./Badge.es.js";
2
2
  import { Button as l } from "./Button.es.js";
3
- import { A as u, C as S, e as f, D as n, f as d, g as P, L as c, M as D, N as b, P as g, h, w as v, R as w, S as k, i as B, j as y, v as A, u as C, k as N, T as R, l as F, m as L, n as M, o as j, x as q, p as z, q as E, y as G, z as I } from "./index-e102400f.js";
4
- import { D as J } from "./index-0b47cbae.js";
5
- import { Divider as O } from "./Divider.es.js";
6
- import { Drawer as U } from "./Drawer.es.js";
7
- import { Slider as W } from "./Slider.es.js";
8
- import { T as Y, u as Z } from "./index-6ffbeca8.js";
9
- import { P as $, S as oo } from "./ProTable-079d6c86.js";
3
+ import { A as f, C as n, e as u, D as d, f as P, g as c, L as D, M as b, N as g, P as h, h as v, u as w, R as C, S as k, q as B, p as A, i as N, T as R, j as y, k as F, l as L, m as M, v as j, n as q, o as E, w as G, x as I } from "./index-5956ed9f.js";
4
+ import { D as H } from "./index-40626e62.js";
5
+ import { Divider as K } from "./Divider.es.js";
6
+ import { Drawer as Q } from "./Drawer.es.js";
7
+ import { Slider as V } from "./Slider.es.js";
8
+ import { b as X, C as Y, a as Z } from "./index-95c68eda.js";
9
+ import { T as $, u as oo } from "./clsx.m-b14a941b.js";
10
+ import { P as eo, S as ro } from "./ProTable-63e2c020.js";
10
11
  import "./jsx-runtime-82a9ddf6.js";
11
12
  import "react";
12
- import "./utils-19b44377.js";
13
+ import "./utils-cacf528c.js";
14
+ import "./index-7272669e.js";
13
15
  import "./isObjectLike-1b8bbac2.js";
14
16
  import "react-dom";
15
17
  import "./close-c67ec245.js";
16
18
  export {
17
- u as Alert,
18
- m as Badge,
19
+ f as Alert,
20
+ x as Badge,
19
21
  l as Button,
20
- S as Checkbox,
21
- f as CssDropdown,
22
- n as DatePickerRange,
23
- d as DateTimePicker,
24
- J as Dialog,
25
- O as Divider,
26
- U as Drawer,
27
- P as Dropdown,
28
- c as LabelTextField,
29
- D as MultiSelect,
30
- b as NoticeProvider,
31
- g as Pagination,
32
- h as Popover,
33
- v as Popup,
34
- $ as ProTable,
35
- w as RadioButton,
22
+ n as Checkbox,
23
+ u as CssDropdown,
24
+ d as DatePickerRange,
25
+ P as DateTimePicker,
26
+ H as Dialog,
27
+ K as Divider,
28
+ Q as Drawer,
29
+ c as Dropdown,
30
+ D as LabelTextField,
31
+ b as MultiSelect,
32
+ g as NoticeProvider,
33
+ h as Pagination,
34
+ v as Popover,
35
+ w as Popup,
36
+ eo as ProTable,
37
+ C as RadioButton,
36
38
  k as Select,
37
- W as Slider,
38
- B as SortButton,
39
- oo as SortEnum,
40
- y as SortGroup,
41
- A as SortItem,
42
- C as Sortable,
39
+ V as Slider,
40
+ X as SortButton,
41
+ Y as SortContext,
42
+ ro as SortEnum,
43
+ Z as SortGroup,
44
+ B as SortItem,
45
+ A as Sortable,
43
46
  N as Switch,
44
47
  R as Tab,
45
- F as Table,
46
- L as TextArea,
47
- M as TextField,
48
- j as TextSelect,
49
- Y as ThemeProvider,
50
- q as Toast,
51
- z as Tooltip,
48
+ y as Table,
49
+ F as TextArea,
50
+ L as TextField,
51
+ M as TextSelect,
52
+ $ as ThemeProvider,
53
+ j as Toast,
54
+ q as Tooltip,
52
55
  E as Typography,
53
56
  G as useNotification,
54
- Z as useTheme,
57
+ oo as useTheme,
55
58
  I as useToast
56
59
  };
@@ -1,4 +1,4 @@
1
- import { a as ar } from "./index-6ffbeca8.js";
1
+ import { c as ar } from "./clsx.m-b14a941b.js";
2
2
  function sr() {
3
3
  for (var r = 0, e, t, o = ""; r < arguments.length; )
4
4
  (e = arguments[r++]) && (t = er(e)) && (o && (o += " "), o += t);
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/blofinex/blofin-ui.git"
6
6
  },
7
- "version": "0.7.57",
7
+ "version": "0.7.59",
8
8
  "module": "./dist/index.es.js",
9
9
  "type": "module",
10
10
  "types": "./dist/index.d.ts",
@@ -22,7 +22,8 @@
22
22
  "./Drawer": "./dist/Drawer.es.js",
23
23
  "./Form": "./dist/Form.es.js",
24
24
  "./ProTable": "./dist/ProTable.es.js",
25
- "./Slider": "./dist/Slider.es.js"
25
+ "./Slider": "./dist/Slider.es.js",
26
+ "./Sort": "./dist/Sort.es.js"
26
27
  },
27
28
  "files": [
28
29
  "dist"