gasp-components 1.0.2 → 1.0.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.
Files changed (76) hide show
  1. package/dist/{CheckCircleFilled-0BksJw0a.js → CheckCircleFilled-xt-0R96Z.js} +2 -2
  2. package/dist/{CheckOutlined-uqw1dAco.js → CheckOutlined-EgxCAgj_.js} +2 -2
  3. package/dist/{CloseCircleFilled-8_PrYv1M.js → CloseCircleFilled-bIgIULWb.js} +2 -2
  4. package/dist/{CloseOutlined--jpI9Qw3.js → CloseOutlined-Q3kC3EZS.js} +2 -2
  5. package/dist/{Compact-TeM9cQzE.js → Compact-fdEKV_mF.js} +8 -8
  6. package/dist/{ExclamationCircleFilled-oQquZDmr.js → ExclamationCircleFilled-XzDBEGmA.js} +2 -2
  7. package/dist/{LoadingOutlined-UnQfEWdX.js → LoadingOutlined-6Ipqn0og.js} +2 -2
  8. package/dist/{Overflow-iob2b5Wo.js → Overflow-JFdXKgCr.js} +29 -29
  9. package/dist/{PurePanel-v_Df1Vfh.js → PurePanel-hLGnXbul.js} +2 -2
  10. package/dist/{SearchOutlined-q1KYFUUD.js → SearchOutlined-rJTFGXUi.js} +2 -2
  11. package/dist/{TextArea-wGjKg4dQ.js → TextArea-n3dknzTq.js} +127 -127
  12. package/dist/{UploadOutlined-mJrPhk1_.js → UploadOutlined-D8jfLEgv.js} +2 -2
  13. package/dist/{asyncToGenerator-IDY-s0XG.js → asyncToGenerator-t4sKr8R4.js} +1 -1
  14. package/dist/{button-HD_w_Dw4.js → button-LN5ZDad8.js} +5 -5
  15. package/dist/{colors-AE8T-s8Y.js → colors-opGg9oSz.js} +4 -4
  16. package/dist/components/button/index.js +17 -17
  17. package/dist/components/checklist/checklist-item.js +3 -3
  18. package/dist/components/checklist/index.js +3 -3
  19. package/dist/components/date-picker/index.js +22 -22
  20. package/dist/components/dragger/index.js +24 -24
  21. package/dist/components/dropdown/index.js +26 -26
  22. package/dist/components/form/index.js +28 -28
  23. package/dist/components/form-item/index.js +27 -27
  24. package/dist/components/input/index.js +20 -20
  25. package/dist/components/modal/index.js +33 -33
  26. package/dist/components/password-input/index.js +18 -18
  27. package/dist/components/progress/index.js +32 -32
  28. package/dist/components/progress-circle/index.js +17 -17
  29. package/dist/components/radio-button/index.js +26 -26
  30. package/dist/components/radio-button-group/index.js +23 -23
  31. package/dist/components/result-popup/index.js +33 -33
  32. package/dist/components/select/index.js +23 -23
  33. package/dist/components/side-menu/index.js +26 -26
  34. package/dist/components/side-menu/menu-item.js +26 -26
  35. package/dist/components/steps/index.js +11 -11
  36. package/dist/components/table/index.js +36 -36
  37. package/dist/components/tabs/index.js +28 -28
  38. package/dist/components/tabs/tab.js +29 -29
  39. package/dist/components/tag/index.js +7 -7
  40. package/dist/components/timeline-horizontal/index.js +23 -23
  41. package/dist/components/upload/index.js +45 -45
  42. package/dist/{context-bcpLewuE.js → context-h3WSVDPz.js} +4 -4
  43. package/dist/{index-rkVmCQAx.js → index--6VfGMUo.js} +2 -2
  44. package/dist/{index-jLgkaVBu.js → index-0mpuHoS5.js} +11 -11
  45. package/dist/{index-s55NV9P0.js → index-1KQbTQJ2.js} +8 -8
  46. package/dist/{index-l6CkDOfg.js → index-5Uo03BMk.js} +8 -8
  47. package/dist/{index-GRzi0tN8.js → index-BFgxz47K.js} +20 -20
  48. package/dist/{index-s920fd6h.js → index-D3LMPWyJ.js} +93 -93
  49. package/dist/{index-zaNVwFVE.js → index-DVS_nWxv.js} +16 -16
  50. package/dist/{index-4vkKu-tY.js → index-ELHBhuK9.js} +18 -18
  51. package/dist/{index-fkwpjTCF.js → index-Fn8q8B3V.js} +1 -1
  52. package/dist/{index-iLZIQa0S.js → index-GgkQrebz.js} +1 -1
  53. package/dist/{index-gSJyqTth.js → index-L-MzVDcK.js} +82 -82
  54. package/dist/{index-OcSg2uhO.js → index-M3WnMjiA.js} +32 -32
  55. package/dist/{index-1dpL-ID6.js → index-ZT64Ec6u.js} +19 -19
  56. package/dist/{index-G4mS9Q1k.js → index-aawDqn9q.js} +21 -21
  57. package/dist/{index-08tmSZyi.js → index-k04G4nlS.js} +58 -58
  58. package/dist/{isVisible-dMm2KpVt.js → isVisible-Qi9l15Ty.js} +5 -5
  59. package/dist/main.d.ts +11 -2
  60. package/dist/main.js +321 -238
  61. package/dist/{motion-HJgOMAD9.js → motion-0ToOu81j.js} +12 -12
  62. package/dist/{omit-iDLobDmh.js → omit-ylWA0ZLZ.js} +1 -1
  63. package/dist/{pickAttrs-8tivSTLL.js → pickAttrs-zaQzRTqh.js} +1 -1
  64. package/dist/{progress-KLD42eXS.js → progress-a1_pwKVT.js} +23 -23
  65. package/dist/{responsiveObserver-HzrC-TmX.js → responsiveObserver-V1_1G14X.js} +3 -3
  66. package/dist/{roundedArrow-K_0MXOnG.js → roundedArrow-p1Pmd9av.js} +1 -1
  67. package/dist/{row-fxwx4hxc.js → row-sPFiFm0C.js} +25 -25
  68. package/dist/{slide-zQQNR_XQ.js → slide-mFXPRHku.js} +2 -2
  69. package/dist/{styleChecker-CIyuwreK.js → styleChecker-pZ3k2IiY.js} +1 -1
  70. package/dist/{useCSSVarCls-dgS8HrGW.js → useCSSVarCls-GwZT_WiF.js} +3 -3
  71. package/dist/{useClosable-UlLHff74.js → useClosable-4G12n4Bp.js} +1 -1
  72. package/dist/{useLocale-fOtLWNp9.js → useLocale-eThlLZJw.js} +1 -1
  73. package/dist/{useMergedState-L_aEbDOR.js → useMergedState-qUafLuUa.js} +7 -7
  74. package/dist/{useVariants-uVtKaOT2.js → useVariants-s0IcneBD.js} +5 -5
  75. package/dist/{zoom-AOeYf6vQ.js → zoom-Ps8y0jNW.js} +2 -2
  76. package/package.json +1 -1
@@ -1,9 +1,9 @@
1
1
  import * as x from "react";
2
2
  import { useRef as we, useState as lr, useMemo as Ze, useContext as Qe, useEffect as fr, createContext as dr } from "react";
3
- import { H as L, _ as A, h as q, N as v, a6 as ne, a7 as B, a8 as G, g as se, n as cr, o as gr, p as qe, a9 as M, aa as vr, q as Me, x as Se, e as Xe, a as ue } from "./index-s55NV9P0.js";
4
- import { _ as le, a as z } from "./asyncToGenerator-IDY-s0XG.js";
5
- import { t as hr } from "./Compact-TeM9cQzE.js";
6
- import { o as pr } from "./omit-iDLobDmh.js";
3
+ import { H as L, _ as A, i as q, N as v, a6 as ne, a7 as B, a8 as G, g as se, n as cr, o as gr, p as qe, a9 as M, aa as vr, q as Me, x as Se, e as Xe, b as ue } from "./index-1KQbTQJ2.js";
4
+ import { _ as le, a as z } from "./asyncToGenerator-t4sKr8R4.js";
5
+ import { t as hr } from "./Compact-fdEKV_mF.js";
6
+ import { o as pr } from "./omit-ylWA0ZLZ.js";
7
7
  var Y = "RC_FORM_INTERNAL_HOOKS", S = function() {
8
8
  L(!1, "Can not find FormContext. Please make sure you wrap Field under Form.");
9
9
  }, re = /* @__PURE__ */ x.createContext({
@@ -1,6 +1,6 @@
1
- import { n as U, o as Z, p as ee, q as te, s as re, t as ne, _ as H, v as E, g as ie, w as P, e as oe } from "./index-s55NV9P0.js";
1
+ import { n as U, o as Z, p as ee, q as te, s as re, t as ne, _ as H, v as E, g as ie, w as P, e as oe } from "./index-1KQbTQJ2.js";
2
2
  import * as a from "react";
3
- import { t as se } from "./Compact-TeM9cQzE.js";
3
+ import { t as se } from "./Compact-fdEKV_mF.js";
4
4
  var O = /* @__PURE__ */ a.createContext(null);
5
5
  function ae(e) {
6
6
  var t = e.children, r = e.onBatchResize, n = a.useRef(0), i = a.useRef([]), o = a.useContext(O), s = a.useCallback(function(c, u, f) {
@@ -1,18 +1,18 @@
1
1
  import * as r from "react";
2
- import { e as ue, ab as pt, d as ut, i as ft, C as $e, G as je, D as re, z as te } from "./index-s55NV9P0.js";
3
- import { C as mt } from "./CheckOutlined-uqw1dAco.js";
4
- import { A as fe } from "./isVisible-dMm2KpVt.js";
2
+ import { e as ue, ab as pt, d as ut, h as ft, C as $e, G as je, D as re, z as te } from "./index-1KQbTQJ2.js";
3
+ import { C as mt } from "./CheckOutlined-EgxCAgj_.js";
4
+ import { A as fe } from "./isVisible-Qi9l15Ty.js";
5
5
  import { g as gt, c as ne } from "./index-NQd_zMf0.js";
6
- import { R as yt } from "./index-rkVmCQAx.js";
7
- import { t as Re } from "./Compact-TeM9cQzE.js";
8
- import { u as bt } from "./useMergedState-L_aEbDOR.js";
9
- import { o as _e } from "./omit-iDLobDmh.js";
10
- import { o as De, i as xe } from "./styleChecker-CIyuwreK.js";
6
+ import { R as yt } from "./index--6VfGMUo.js";
7
+ import { t as Re } from "./Compact-fdEKV_mF.js";
8
+ import { u as bt } from "./useMergedState-qUafLuUa.js";
9
+ import { o as _e } from "./omit-ylWA0ZLZ.js";
10
+ import { o as De, i as xe } from "./styleChecker-pZ3k2IiY.js";
11
11
  import { K as oe } from "./KeyCode-qFRXB1-n.js";
12
- import { u as vt } from "./useLocale-fOtLWNp9.js";
13
- import { T as pe } from "./index-l6CkDOfg.js";
12
+ import { u as vt } from "./useLocale-eThlLZJw.js";
13
+ import { T as pe } from "./index-5Uo03BMk.js";
14
14
  import { c as Et } from "./reactNode-R20zZQk1.js";
15
- import { T as ht } from "./TextArea-wGjKg4dQ.js";
15
+ import { T as ht } from "./TextArea-n3dknzTq.js";
16
16
  var Ot = function(e, t) {
17
17
  var o = {};
18
18
  for (var n in e)
@@ -4347,11 +4347,11 @@ export {
4347
4347
  Ls as Y,
4348
4348
  Ho as Z,
4349
4349
  P as _,
4350
- R as a,
4350
+ $t as a,
4351
4351
  cu as a0,
4352
4352
  Ys as a1,
4353
- Kr as a2,
4354
- ur as a3,
4353
+ ur as a2,
4354
+ Kr as a3,
4355
4355
  Un as a4,
4356
4356
  Fa as a5,
4357
4357
  ss as a6,
@@ -4377,14 +4377,14 @@ export {
4377
4377
  Ha as aq,
4378
4378
  kn as ar,
4379
4379
  ls as as,
4380
- tu as b,
4381
- gt as c,
4380
+ R as b,
4381
+ tu as c,
4382
4382
  Cr as d,
4383
4383
  Nt as e,
4384
4384
  ge as f,
4385
4385
  B as g,
4386
- Ce as h,
4387
- lu as i,
4386
+ lu as h,
4387
+ Ce as i,
4388
4388
  su as j,
4389
4389
  Vn as k,
4390
4390
  qt as l,
@@ -4396,7 +4396,7 @@ export {
4396
4396
  iu as r,
4397
4397
  Gn as s,
4398
4398
  Jc as t,
4399
- $t as u,
4399
+ gt as u,
4400
4400
  za as v,
4401
4401
  Wr as w,
4402
4402
  Sr as x,
@@ -1,16 +1,16 @@
1
1
  import * as f from "react";
2
2
  import { forwardRef as Pe, useRef as xe, useImperativeHandle as Se } from "react";
3
3
  import { c as R } from "./index-NQd_zMf0.js";
4
- import { x as Te, _ as $e, e as je, i as Ne, m as te, r as Re, d as Q, C as oe, c as Ae, D as Ve } from "./index-s55NV9P0.js";
5
- import { T as Ee } from "./index-gSJyqTth.js";
6
- import { u as Ie } from "./useMergedState-L_aEbDOR.js";
7
- import { u as ke, z as De } from "./motion-HJgOMAD9.js";
4
+ import { x as Te, _ as $e, e as je, h as Ne, m as te, r as Re, d as Q, C as oe, u as Ae, D as Ve } from "./index-1KQbTQJ2.js";
5
+ import { T as Ee } from "./index-L-MzVDcK.js";
6
+ import { u as Ie } from "./useMergedState-qUafLuUa.js";
7
+ import { u as ke, z as De } from "./motion-0ToOu81j.js";
8
8
  import { g as Le } from "./motion-NQme0FJ_.js";
9
- import { g as Be, a as ze } from "./roundedArrow-K_0MXOnG.js";
9
+ import { g as Be, a as ze } from "./roundedArrow-p1Pmd9av.js";
10
10
  import { i as He, a as Xe, c as Ye } from "./reactNode-R20zZQk1.js";
11
- import { N as Me } from "./Compact-TeM9cQzE.js";
12
- import { i as We } from "./zoom-AOeYf6vQ.js";
13
- import { g as Fe, i as Ue } from "./colors-AE8T-s8Y.js";
11
+ import { N as Me } from "./Compact-fdEKV_mF.js";
12
+ import { i as We } from "./zoom-Ps8y0jNW.js";
13
+ import { g as Fe, i as Ue } from "./colors-opGg9oSz.js";
14
14
  function re(o) {
15
15
  var e = o.children, n = o.prefixCls, t = o.id, r = o.overlayInnerStyle, a = o.className, i = o.style;
16
16
  return /* @__PURE__ */ f.createElement("div", {
@@ -1,28 +1,28 @@
1
- import { jsx as l, jsxs as m } from "react/jsx-runtime";
1
+ import { jsx as o, jsxs as m } from "react/jsx-runtime";
2
2
  import { c } from "./index-NQd_zMf0.js";
3
- import i, { useContext as g, createContext as x, useState as f } from "react";
3
+ import i, { useContext as g, createContext as f, useState as x } from "react";
4
4
  import y from "./icons/dashboard-icon/index.js";
5
- import { S as p } from "./index-4vkKu-tY.js";
5
+ import { S as p } from "./index-ELHBhuK9.js";
6
6
  import { libTheme as v } from "./theme.js";
7
- import { t as S } from "./index-fkwpjTCF.js";
8
- import { T as k } from "./index-jLgkaVBu.js";
7
+ import { t as N } from "./index-Fn8q8B3V.js";
8
+ import { T as S } from "./index-0mpuHoS5.js";
9
9
  const d = ({
10
- icon: t = /* @__PURE__ */ l(y, {}),
10
+ icon: t = /* @__PURE__ */ o(y, {}),
11
11
  content: r,
12
12
  onClick: s,
13
13
  className: a
14
14
  }) => {
15
- const o = g(n), e = c(
15
+ const l = g(n), e = c(
16
16
  "text-sm leading-none",
17
17
  {
18
- "text-dodgerBlue": o,
19
- "font-bold": o
18
+ "text-dodgerBlue": l,
19
+ "font-bold": l
20
20
  },
21
21
  typeof r == "string" ? null : r.props.className
22
22
  ), h = i.cloneElement(t, {
23
- color: o ? S.getDesignToken(v).colorPrimary : "#64748B"
23
+ color: l ? N.getDesignToken(v).colorPrimary : "#64748B"
24
24
  }), u = typeof r == "string" ? i.cloneElement(
25
- /* @__PURE__ */ l(k.Text, { className: e, children: r })
25
+ /* @__PURE__ */ o(S.Text, { className: e, children: r })
26
26
  ) : i.cloneElement(r, {
27
27
  ...r.props,
28
28
  className: e
@@ -35,7 +35,7 @@ const d = ({
35
35
  className: c(
36
36
  "w-full leading-[0px] py-3 px-4 rounded-xl hover:cursor-pointer transition-colors duration-300 hover:bg-ghostWhite",
37
37
  {
38
- "bg-ghostWhite": o
38
+ "bg-ghostWhite": l
39
39
  },
40
40
  a
41
41
  ),
@@ -45,35 +45,35 @@ const d = ({
45
45
  ]
46
46
  }
47
47
  );
48
- }, n = x(!1), j = ({ items: t, footerItems: r }) => {
49
- const [s, a] = f();
48
+ }, n = f(!1), j = ({ items: t, footerItems: r }) => {
49
+ const [s, a] = x();
50
50
  return /* @__PURE__ */ m("div", { className: "w-full h-full flex flex-col gap-y-2", children: [
51
- t.map(({ onClick: o, ...e }) => /* @__PURE__ */ l(
51
+ t.map(({ onClick: l, ...e }) => /* @__PURE__ */ o(
52
52
  n.Provider,
53
53
  {
54
54
  value: s === e.key,
55
- children: /* @__PURE__ */ l(
55
+ children: /* @__PURE__ */ o(
56
56
  d,
57
57
  {
58
58
  ...e,
59
59
  onClick: () => {
60
- a(e.key), o && o();
60
+ a(e.key), l && l();
61
61
  }
62
62
  }
63
63
  )
64
64
  },
65
65
  e.key
66
66
  )),
67
- /* @__PURE__ */ l(p, { direction: "vertical", className: "mt-auto", children: r == null ? void 0 : r.map(({ onClick: o, ...e }) => /* @__PURE__ */ l(
67
+ /* @__PURE__ */ o(p, { direction: "vertical", className: "mt-auto", children: r == null ? void 0 : r.map(({ onClick: l, ...e }) => /* @__PURE__ */ o(
68
68
  n.Provider,
69
69
  {
70
70
  value: s === e.key,
71
- children: /* @__PURE__ */ l(
71
+ children: /* @__PURE__ */ o(
72
72
  d,
73
73
  {
74
74
  ...e,
75
75
  onClick: () => {
76
- a(e.key), o && o();
76
+ a(e.key), l && l();
77
77
  }
78
78
  }
79
79
  )