@arcadeai/design-system 1.0.1 → 1.1.0

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 (150) hide show
  1. package/dist/{index-BvWMjxZ5.js → Combination-CmNnuUVg.js} +177 -178
  2. package/dist/assets/icons/airtable.d.ts +3 -0
  3. package/dist/assets/icons/airtable.js +48 -0
  4. package/dist/assets/icons/asana.d.ts +3 -0
  5. package/dist/assets/icons/asana.js +26 -0
  6. package/dist/assets/icons/atlassian.d.ts +3 -0
  7. package/dist/assets/icons/atlassian.js +37 -0
  8. package/dist/assets/icons/auth0.d.ts +3 -0
  9. package/dist/assets/icons/auth0.js +21 -0
  10. package/dist/assets/icons/azure.d.ts +3 -0
  11. package/dist/assets/icons/azure.js +99 -0
  12. package/dist/assets/icons/bluesky.d.ts +3 -0
  13. package/dist/assets/icons/bluesky.js +26 -0
  14. package/dist/assets/icons/box.d.ts +3 -0
  15. package/dist/assets/icons/box.js +25 -0
  16. package/dist/assets/icons/calendly.d.ts +3 -0
  17. package/dist/assets/icons/calendly.js +64 -0
  18. package/dist/assets/icons/clickup.d.ts +3 -0
  19. package/dist/assets/icons/clickup.js +66 -0
  20. package/dist/assets/icons/coinbase.d.ts +3 -0
  21. package/dist/assets/icons/coinbase.js +36 -0
  22. package/dist/assets/icons/confluence.d.ts +3 -0
  23. package/dist/assets/icons/confluence.js +65 -0
  24. package/dist/assets/icons/datadog.d.ts +3 -0
  25. package/dist/assets/icons/datadog.js +28 -0
  26. package/dist/assets/icons/discord.d.ts +3 -0
  27. package/dist/assets/icons/discord.js +26 -0
  28. package/dist/assets/icons/dropbox.d.ts +3 -0
  29. package/dist/assets/icons/dropbox.js +20 -0
  30. package/dist/assets/icons/e2b.d.ts +3 -0
  31. package/dist/assets/icons/e2b.js +9 -0
  32. package/dist/assets/icons/ebay.d.ts +3 -0
  33. package/dist/assets/icons/ebay.js +46 -0
  34. package/dist/assets/icons/figma.d.ts +3 -0
  35. package/dist/assets/icons/figma.js +57 -0
  36. package/dist/assets/icons/firecrawl.d.ts +5 -0
  37. package/dist/assets/icons/firecrawl.js +17 -0
  38. package/dist/assets/icons/github.d.ts +3 -0
  39. package/dist/assets/icons/github.js +21 -0
  40. package/dist/assets/icons/gitlab.d.ts +3 -0
  41. package/dist/assets/icons/gitlab.js +47 -0
  42. package/dist/assets/icons/gmail.d.ts +3 -0
  43. package/dist/assets/icons/gmail.js +58 -0
  44. package/dist/assets/icons/google-calendar.d.ts +3 -0
  45. package/dist/assets/icons/google-calendar.js +93 -0
  46. package/dist/assets/icons/google-contacts.d.ts +3 -0
  47. package/dist/assets/icons/google-contacts.js +41 -0
  48. package/dist/assets/icons/google-docs.d.ts +3 -0
  49. package/dist/assets/icons/google-docs.js +229 -0
  50. package/dist/assets/icons/google-drive.d.ts +3 -0
  51. package/dist/assets/icons/google-drive.js +60 -0
  52. package/dist/assets/icons/google-finance.d.ts +3 -0
  53. package/dist/assets/icons/google-finance.js +50 -0
  54. package/dist/assets/icons/google-flight.d.ts +3 -0
  55. package/dist/assets/icons/google-flight.js +80 -0
  56. package/dist/assets/icons/google-hotels.d.ts +3 -0
  57. package/dist/assets/icons/google-hotels.js +69 -0
  58. package/dist/assets/icons/google-maps.d.ts +3 -0
  59. package/dist/assets/icons/google-maps.js +54 -0
  60. package/dist/assets/icons/google-news.d.ts +3 -0
  61. package/dist/assets/icons/google-news.js +160 -0
  62. package/dist/assets/icons/google-sheets.d.ts +3 -0
  63. package/dist/assets/icons/google-sheets.js +34 -0
  64. package/dist/assets/icons/google-shopping.d.ts +3 -0
  65. package/dist/assets/icons/google-shopping.js +57 -0
  66. package/dist/assets/icons/google.d.ts +3 -0
  67. package/dist/assets/icons/google.js +47 -0
  68. package/dist/assets/icons/heroku.d.ts +3 -0
  69. package/dist/assets/icons/heroku.js +25 -0
  70. package/dist/assets/icons/hubspot.d.ts +3 -0
  71. package/dist/assets/icons/hubspot.js +31 -0
  72. package/dist/assets/icons/index.d.ts +62 -0
  73. package/dist/assets/icons/index.js +126 -0
  74. package/dist/assets/icons/jira.d.ts +3 -0
  75. package/dist/assets/icons/jira.js +67 -0
  76. package/dist/assets/icons/linear.d.ts +3 -0
  77. package/dist/assets/icons/linear.js +26 -0
  78. package/dist/assets/icons/linkedin.d.ts +3 -0
  79. package/dist/assets/icons/linkedin.js +26 -0
  80. package/dist/assets/icons/microsoft.d.ts +3 -0
  81. package/dist/assets/icons/microsoft.js +23 -0
  82. package/dist/assets/icons/netsuite.d.ts +3 -0
  83. package/dist/assets/icons/netsuite.js +86 -0
  84. package/dist/assets/icons/notion.d.ts +3 -0
  85. package/dist/assets/icons/notion.js +27 -0
  86. package/dist/assets/icons/oauth.d.ts +3 -0
  87. package/dist/assets/icons/oauth.js +90 -0
  88. package/dist/assets/icons/outlook-calendar.d.ts +3 -0
  89. package/dist/assets/icons/outlook-calendar.js +48 -0
  90. package/dist/assets/icons/outlook-mail.d.ts +3 -0
  91. package/dist/assets/icons/outlook-mail.js +40 -0
  92. package/dist/assets/icons/pinterest.d.ts +3 -0
  93. package/dist/assets/icons/pinterest.js +25 -0
  94. package/dist/assets/icons/postgres.d.ts +3 -0
  95. package/dist/assets/icons/postgres.js +112 -0
  96. package/dist/assets/icons/reddit.d.ts +3 -0
  97. package/dist/assets/icons/reddit.js +268 -0
  98. package/dist/assets/icons/salesforce.d.ts +3 -0
  99. package/dist/assets/icons/salesforce.js +39 -0
  100. package/dist/assets/icons/shopify.d.ts +3 -0
  101. package/dist/assets/icons/shopify.js +40 -0
  102. package/dist/assets/icons/slack.d.ts +3 -0
  103. package/dist/assets/icons/slack.js +49 -0
  104. package/dist/assets/icons/spotify.d.ts +3 -0
  105. package/dist/assets/icons/spotify.js +26 -0
  106. package/dist/assets/icons/stripe.d.ts +3 -0
  107. package/dist/assets/icons/stripe.js +25 -0
  108. package/dist/assets/icons/tesla.d.ts +3 -0
  109. package/dist/assets/icons/tesla.js +23 -0
  110. package/dist/assets/icons/tiktok.d.ts +3 -0
  111. package/dist/assets/icons/tiktok.js +34 -0
  112. package/dist/assets/icons/twilio.d.ts +3 -0
  113. package/dist/assets/icons/twilio.js +25 -0
  114. package/dist/assets/icons/twitch.d.ts +3 -0
  115. package/dist/assets/icons/twitch.js +24 -0
  116. package/dist/assets/icons/utils.d.ts +409 -0
  117. package/dist/assets/icons/utils.js +422 -0
  118. package/dist/assets/icons/vercel.d.ts +3 -0
  119. package/dist/assets/icons/vercel.js +20 -0
  120. package/dist/assets/icons/walmart.d.ts +3 -0
  121. package/dist/assets/icons/walmart.js +33 -0
  122. package/dist/assets/icons/x.d.ts +3 -0
  123. package/dist/assets/icons/x.js +26 -0
  124. package/dist/assets/icons/xero.d.ts +3 -0
  125. package/dist/assets/icons/xero.js +63 -0
  126. package/dist/assets/icons/youtube.d.ts +3 -0
  127. package/dist/assets/icons/youtube.js +27 -0
  128. package/dist/assets/icons/zoom.d.ts +3 -0
  129. package/dist/assets/icons/zoom.js +50 -0
  130. package/dist/assets/index.css +1 -1
  131. package/dist/components/index.js +191 -182
  132. package/dist/components/ui/atoms/byoc-badge.d.ts +11 -0
  133. package/dist/components/ui/atoms/byoc-badge.js +50 -0
  134. package/dist/components/ui/atoms/command.js +1 -1
  135. package/dist/components/ui/atoms/dialog.js +1 -1
  136. package/dist/components/ui/atoms/dropdown-menu.js +1 -1
  137. package/dist/components/ui/atoms/index.d.ts +3 -0
  138. package/dist/components/ui/atoms/index.js +191 -182
  139. package/dist/components/ui/atoms/mobile-tooltip.d.ts +6 -0
  140. package/dist/components/ui/atoms/mobile-tooltip.js +22 -0
  141. package/dist/components/ui/atoms/popover.js +1 -1
  142. package/dist/components/ui/atoms/pro-badge.d.ts +9 -0
  143. package/dist/components/ui/atoms/pro-badge.js +35 -0
  144. package/dist/components/ui/atoms/resizable.js +86 -86
  145. package/dist/components/ui/atoms/select.js +1 -1
  146. package/dist/components/ui/atoms/sheet.js +1 -1
  147. package/dist/components/ui/index.js +191 -182
  148. package/dist/{index-toVHZ337.js → index-BSWzylXR.js} +1 -1
  149. package/dist/main.js +191 -182
  150. package/package.json +27 -24
@@ -1,7 +1,7 @@
1
1
  import { jsx as ve } from "react/jsx-runtime";
2
2
  import { GripVerticalIcon as Rn } from "lucide-react";
3
3
  import * as Ln from "react";
4
- import { createContext as An, forwardRef as en, createElement as de, useContext as nn, useRef as F, useLayoutEffect as Mn, useImperativeHandle as tn, useState as ue, useEffect as te, useCallback as B, useMemo as Dn } from "react";
4
+ import { createContext as An, forwardRef as en, createElement as de, useContext as nn, useRef as F, useLayoutEffect as Dn, useImperativeHandle as tn, useState as ue, useEffect as te, useCallback as B, useMemo as Mn } from "react";
5
5
  import { c as rn } from "../../../utils-CRiPKpXj.js";
6
6
  const Re = An(null);
7
7
  Re.displayName = "PanelGroupContext";
@@ -18,9 +18,9 @@ const A = {
18
18
  resizeHandleEnabled: "data-panel-resize-handle-enabled",
19
19
  resizeHandleId: "data-panel-resize-handle-id",
20
20
  resizeHandleState: "data-resize-handle-state"
21
- }, Be = 10, re = Mn, Oe = Ln.useId, Hn = typeof Oe == "function" ? Oe : () => null;
21
+ }, Fe = 10, re = Dn, Oe = Ln.useId, Hn = typeof Oe == "function" ? Oe : () => null;
22
22
  let Nn = 0;
23
- function Fe(e = null) {
23
+ function Ve(e = null) {
24
24
  const n = Hn(), t = F(e || n || null);
25
25
  return t.current === null && (t.current = "" + Nn++), e ?? t.current;
26
26
  }
@@ -48,7 +48,7 @@ function on({
48
48
  const {
49
49
  collapsePanel: S,
50
50
  expandPanel: R,
51
- getPanelSize: D,
51
+ getPanelSize: M,
52
52
  getPanelStyle: N,
53
53
  groupId: q,
54
54
  isPanelCollapsed: C,
@@ -56,7 +56,7 @@ function on({
56
56
  registerPanel: K,
57
57
  resizePanel: J,
58
58
  unregisterPanel: V
59
- } = w, _ = Fe(l), M = F({
59
+ } = w, _ = Ve(l), D = F({
60
60
  callbacks: {
61
61
  onCollapse: m,
62
62
  onExpand: P,
@@ -79,39 +79,39 @@ function on({
79
79
  const {
80
80
  callbacks: k,
81
81
  constraints: $
82
- } = M.current, G = {
82
+ } = D.current, G = {
83
83
  ...$
84
84
  };
85
- M.current.id = _, M.current.idIsFromProps = l !== void 0, M.current.order = u, k.onCollapse = m, k.onExpand = P, k.onResize = f, $.collapsedSize = t, $.collapsible = r, $.defaultSize = i, $.maxSize = a, $.minSize = s, (G.collapsedSize !== $.collapsedSize || G.collapsible !== $.collapsible || G.maxSize !== $.maxSize || G.minSize !== $.minSize) && b(M.current, G);
85
+ D.current.id = _, D.current.idIsFromProps = l !== void 0, D.current.order = u, k.onCollapse = m, k.onExpand = P, k.onResize = f, $.collapsedSize = t, $.collapsible = r, $.defaultSize = i, $.maxSize = a, $.minSize = s, (G.collapsedSize !== $.collapsedSize || G.collapsible !== $.collapsible || G.maxSize !== $.maxSize || G.minSize !== $.minSize) && b(D.current, G);
86
86
  }), re(() => {
87
- const k = M.current;
87
+ const k = D.current;
88
88
  return K(k), () => {
89
89
  V(k);
90
90
  };
91
91
  }, [u, _, K, V]), tn(o, () => ({
92
92
  collapse: () => {
93
- S(M.current);
93
+ S(D.current);
94
94
  },
95
95
  expand: (k) => {
96
- R(M.current, k);
96
+ R(D.current, k);
97
97
  },
98
98
  getId() {
99
99
  return _;
100
100
  },
101
101
  getSize() {
102
- return D(M.current);
102
+ return M(D.current);
103
103
  },
104
104
  isCollapsed() {
105
- return C(M.current);
105
+ return C(D.current);
106
106
  },
107
107
  isExpanded() {
108
- return !C(M.current);
108
+ return !C(D.current);
109
109
  },
110
110
  resize: (k) => {
111
- J(M.current, k);
111
+ J(D.current, k);
112
112
  }
113
- }), [S, R, D, C, _, J]);
114
- const ee = N(M.current, i);
113
+ }), [S, R, M, C, _, J]);
114
+ const ee = N(D.current, i);
115
115
  return de(h, {
116
116
  ...I,
117
117
  children: e,
@@ -135,17 +135,17 @@ const ln = en((e, n) => de(on, {
135
135
  }));
136
136
  on.displayName = "Panel";
137
137
  ln.displayName = "forwardRef(Panel)";
138
- let Te = null, Ie = -1, Z = null;
139
- function $n(e, n) {
138
+ let Be = null, Ie = -1, Z = null;
139
+ function $n(e, n, t) {
140
+ const r = (n & dn) !== 0, i = (n & fn) !== 0, o = (n & pn) !== 0, l = (n & gn) !== 0;
140
141
  if (n) {
141
- const t = (n & dn) !== 0, r = (n & fn) !== 0, i = (n & pn) !== 0, o = (n & gn) !== 0;
142
- if (t)
143
- return i ? "se-resize" : o ? "ne-resize" : "e-resize";
144
142
  if (r)
145
- return i ? "sw-resize" : o ? "nw-resize" : "w-resize";
143
+ return o ? "se-resize" : l ? "ne-resize" : "e-resize";
146
144
  if (i)
147
- return "s-resize";
145
+ return o ? "sw-resize" : l ? "nw-resize" : "w-resize";
148
146
  if (o)
147
+ return "s-resize";
148
+ if (l)
149
149
  return "n-resize";
150
150
  }
151
151
  switch (e) {
@@ -158,17 +158,17 @@ function $n(e, n) {
158
158
  }
159
159
  }
160
160
  function kn() {
161
- Z !== null && (document.head.removeChild(Z), Te = null, Z = null, Ie = -1);
162
- }
163
- function Ne(e, n) {
164
- var t, r;
165
- const i = $n(e, n);
166
- if (Te !== i) {
167
- if (Te = i, Z === null && (Z = document.createElement("style"), document.head.appendChild(Z)), Ie >= 0) {
168
- var o;
169
- (o = Z.sheet) === null || o === void 0 || o.removeRule(Ie);
161
+ Z !== null && (document.head.removeChild(Z), Be = null, Z = null, Ie = -1);
162
+ }
163
+ function $e(e, n, t) {
164
+ var r, i;
165
+ const o = $n(e, n);
166
+ if (Be !== o) {
167
+ if (Be = o, Z === null && (Z = document.createElement("style"), document.head.appendChild(Z)), Ie >= 0) {
168
+ var l;
169
+ (l = Z.sheet) === null || l === void 0 || l.removeRule(Ie);
170
170
  }
171
- Ie = (t = (r = Z.sheet) === null || r === void 0 ? void 0 : r.insertRule(`*{cursor: ${i} !important;}`)) !== null && t !== void 0 ? t : -1;
171
+ Ie = (r = (i = Z.sheet) === null || i === void 0 ? void 0 : i.insertRule(`*{cursor: ${o} !important;}`)) !== null && r !== void 0 ? r : -1;
172
172
  }
173
173
  }
174
174
  function an(e) {
@@ -284,7 +284,7 @@ function Kn(e, n, t, r, i) {
284
284
  const f = (P = Q.get(l)) !== null && P !== void 0 ? P : 1;
285
285
  if (Q.set(l, f - 1), Ee(), f === 1 && Q.delete(l), O.includes(a)) {
286
286
  const u = O.indexOf(a);
287
- u >= 0 && O.splice(u, 1), We(), i("up", !0, null);
287
+ u >= 0 && O.splice(u, 1), De(), i("up", !0, null);
288
288
  }
289
289
  };
290
290
  }
@@ -295,13 +295,13 @@ function Un(e) {
295
295
  x: t,
296
296
  y: r
297
297
  } = Le(e);
298
- ce = !0, Ve({
298
+ ce = !0, We({
299
299
  target: n,
300
300
  x: t,
301
301
  y: r
302
- }), Ee(), O.length > 0 && (Ce("down", e), e.preventDefault(), mn(n) || e.stopImmediatePropagation());
302
+ }), Ee(), O.length > 0 && (Ce("down", e), De(), e.preventDefault(), mn(n) || e.stopImmediatePropagation());
303
303
  }
304
- function $e(e) {
304
+ function ke(e) {
305
305
  const {
306
306
  x: n,
307
307
  y: t
@@ -310,26 +310,26 @@ function $e(e) {
310
310
  const {
311
311
  target: r
312
312
  } = e;
313
- Ve({
313
+ We({
314
314
  target: r,
315
315
  x: n,
316
316
  y: t
317
317
  });
318
318
  }
319
- Ce("move", e), We(), O.length > 0 && e.preventDefault();
319
+ Ce("move", e), De(), O.length > 0 && e.preventDefault();
320
320
  }
321
- function ke(e) {
321
+ function _e(e) {
322
322
  const {
323
323
  target: n
324
324
  } = e, {
325
325
  x: t,
326
326
  y: r
327
327
  } = Le(e);
328
- Ae.clear(), ce = !1, O.length > 0 && (e.preventDefault(), mn(n) || e.stopImmediatePropagation()), Ce("up", e), Ve({
328
+ Ae.clear(), ce = !1, O.length > 0 && (e.preventDefault(), mn(n) || e.stopImmediatePropagation()), Ce("up", e), We({
329
329
  target: n,
330
330
  x: t,
331
331
  y: r
332
- }), We(), Ee();
332
+ }), De(), Ee();
333
333
  }
334
334
  function mn(e) {
335
335
  let n = e;
@@ -340,7 +340,7 @@ function mn(e) {
340
340
  }
341
341
  return !1;
342
342
  }
343
- function Ve({
343
+ function We({
344
344
  target: e,
345
345
  x: n,
346
346
  y: t
@@ -377,10 +377,10 @@ function Ve({
377
377
  }
378
378
  });
379
379
  }
380
- function _e(e, n) {
380
+ function Ge(e, n) {
381
381
  Ae.set(e, n);
382
382
  }
383
- function We() {
383
+ function De() {
384
384
  let e = !1, n = !1;
385
385
  O.forEach((r) => {
386
386
  const {
@@ -391,31 +391,31 @@ function We() {
391
391
  let t = 0;
392
392
  Ae.forEach((r) => {
393
393
  t |= r;
394
- }), e && n ? Ne("intersection", t) : e ? Ne("horizontal", t) : n ? Ne("vertical", t) : kn();
394
+ }), e && n ? $e("intersection", t) : e ? $e("horizontal", t) : n ? $e("vertical", t) : kn();
395
395
  }
396
- let Ge;
396
+ let Te;
397
397
  function Ee() {
398
398
  var e;
399
- (e = Ge) === null || e === void 0 || e.abort(), Ge = new AbortController();
399
+ (e = Te) === null || e === void 0 || e.abort(), Te = new AbortController();
400
400
  const n = {
401
401
  capture: !0,
402
- signal: Ge.signal
402
+ signal: Te.signal
403
403
  };
404
404
  Se.size && (ce ? (O.length > 0 && Q.forEach((t, r) => {
405
405
  const {
406
406
  body: i
407
407
  } = r;
408
- t > 0 && (i.addEventListener("contextmenu", ke, n), i.addEventListener("pointerleave", $e, n), i.addEventListener("pointermove", $e, n));
408
+ t > 0 && (i.addEventListener("contextmenu", _e, n), i.addEventListener("pointerleave", ke, n), i.addEventListener("pointermove", ke, n));
409
409
  }), Q.forEach((t, r) => {
410
410
  const {
411
411
  body: i
412
412
  } = r;
413
- i.addEventListener("pointerup", ke, n), i.addEventListener("pointercancel", ke, n);
413
+ i.addEventListener("pointerup", _e, n), i.addEventListener("pointercancel", _e, n);
414
414
  })) : Q.forEach((t, r) => {
415
415
  const {
416
416
  body: i
417
417
  } = r;
418
- t > 0 && (i.addEventListener("pointerdown", Un, n), i.addEventListener("pointermove", $e, n));
418
+ t > 0 && (i.addEventListener("pointerdown", Un, n), i.addEventListener("pointermove", ke, n));
419
419
  }));
420
420
  }
421
421
  function Ce(e, n) {
@@ -434,10 +434,10 @@ function y(e, n) {
434
434
  if (!e)
435
435
  throw console.error(n), Error(n);
436
436
  }
437
- function oe(e, n, t = Be) {
437
+ function oe(e, n, t = Fe) {
438
438
  return e.toFixed(t) === n.toFixed(t) ? 0 : e > n ? 1 : -1;
439
439
  }
440
- function Y(e, n, t = Be) {
440
+ function Y(e, n, t = Fe) {
441
441
  return oe(e, n, t) === 0;
442
442
  }
443
443
  function W(e, n, t) {
@@ -472,7 +472,7 @@ function se({
472
472
  oe(t, s) < 0 ? t = i : t = a;
473
473
  } else
474
474
  t = a;
475
- return t = Math.min(l, t), t = parseFloat(t.toFixed(Be)), t;
475
+ return t = Math.min(l, t), t = parseFloat(t.toFixed(Fe)), t;
476
476
  }
477
477
  function ye({
478
478
  delta: e,
@@ -570,10 +570,10 @@ function ye({
570
570
  for (; S >= 0 && S < t.length; ) {
571
571
  const R = l[S];
572
572
  y(R != null, `Previous layout not found for panel index ${S}`);
573
- const D = R + I, N = se({
573
+ const M = R + I, N = se({
574
574
  panelConstraints: t,
575
575
  panelIndex: S,
576
- size: D
576
+ size: M
577
577
  });
578
578
  if (W(R, N) || (I -= N - R, l[S] = N), W(I, 0))
579
579
  break;
@@ -694,15 +694,15 @@ function Yn({
694
694
  switch (S.key) {
695
695
  case "Enter": {
696
696
  S.preventDefault();
697
- const R = s.findIndex((D) => D.id === h);
697
+ const R = s.findIndex((M) => M.id === h);
698
698
  if (R >= 0) {
699
- const D = s[R];
700
- y(D, `No panel data found for index ${R}`);
699
+ const M = s[R];
700
+ y(M, `No panel data found for index ${R}`);
701
701
  const N = r[R], {
702
702
  collapsedSize: q = 0,
703
703
  collapsible: C,
704
704
  minSize: b = 0
705
- } = D.constraints;
705
+ } = M.constraints;
706
706
  if (N != null && C) {
707
707
  const K = ye({
708
708
  delta: W(N, q) ? b - q : q - N,
@@ -988,7 +988,7 @@ function Pn({
988
988
  tagName: P = "div",
989
989
  ...f
990
990
  }) {
991
- const u = Fe(o), x = F(null), [h, I] = ue(null), [w, S] = ue([]), R = On(), D = F({}), N = F(/* @__PURE__ */ new Map()), q = F(0), C = F({
991
+ const u = Ve(o), x = F(null), [h, I] = ue(null), [w, S] = ue([]), R = On(), M = F({}), N = F(/* @__PURE__ */ new Map()), q = F(0), C = F({
992
992
  autoSaveId: e,
993
993
  direction: r,
994
994
  dragState: h,
@@ -1023,7 +1023,7 @@ function Pn({
1023
1023
  layout: c,
1024
1024
  panelConstraints: p.map((z) => z.constraints)
1025
1025
  });
1026
- Je(v, d) || (S(d), b.current.layout = d, g && g(d), le(p, d, D.current));
1026
+ Je(v, d) || (S(d), b.current.layout = d, g && g(d), le(p, d, M.current));
1027
1027
  }
1028
1028
  }), []), re(() => {
1029
1029
  C.current.autoSaveId = e, C.current.direction = r, C.current.dragState = h, C.current.id = u, C.current.onLayout = l, C.current.storage = s;
@@ -1072,7 +1072,7 @@ function Pn({
1072
1072
  prevLayout: v,
1073
1073
  trigger: "imperative-api"
1074
1074
  });
1075
- we(v, L) || (S(L), b.current.layout = L, g && g(L), le(p, L, D.current));
1075
+ we(v, L) || (S(L), b.current.layout = L, g && g(L), le(p, L, M.current));
1076
1076
  }
1077
1077
  }
1078
1078
  }, []), J = B((c, g) => {
@@ -1090,15 +1090,15 @@ function Pn({
1090
1090
  pivotIndices: j
1091
1091
  } = ne(d, c, p), L = g ?? X;
1092
1092
  if (Y(H, E)) {
1093
- const U = N.current.get(c.id), he = U != null && U >= L ? U : L, He = ae(d, c) === d.length - 1 ? H - he : he - H, T = ye({
1094
- delta: He,
1093
+ const U = N.current.get(c.id), he = U != null && U >= L ? U : L, Ne = ae(d, c) === d.length - 1 ? H - he : he - H, T = ye({
1094
+ delta: Ne,
1095
1095
  initialLayout: p,
1096
1096
  panelConstraints: z,
1097
1097
  pivotIndices: j,
1098
1098
  prevLayout: p,
1099
1099
  trigger: "imperative-api"
1100
1100
  });
1101
- we(p, T) || (S(T), b.current.layout = T, v && v(T), le(d, T, D.current));
1101
+ we(p, T) || (S(T), b.current.layout = T, v && v(T), le(d, T, M.current));
1102
1102
  }
1103
1103
  }
1104
1104
  }, []), V = B((c) => {
@@ -1120,7 +1120,7 @@ function Pn({
1120
1120
  panelData: v,
1121
1121
  panelIndex: p
1122
1122
  });
1123
- }, [h, w]), M = B((c) => {
1123
+ }, [h, w]), D = B((c) => {
1124
1124
  const {
1125
1125
  layout: g,
1126
1126
  panelDataArray: v
@@ -1172,7 +1172,7 @@ function Pn({
1172
1172
  layout: z,
1173
1173
  panelConstraints: d.map((H) => H.constraints)
1174
1174
  });
1175
- Je(p, E) || (S(E), b.current.layout = E, g && g(E), le(d, E, D.current));
1175
+ Je(p, E) || (S(E), b.current.layout = E, g && g(E), le(d, E, M.current));
1176
1176
  }
1177
1177
  }), re(() => {
1178
1178
  const c = b.current;
@@ -1199,7 +1199,7 @@ function Pn({
1199
1199
  panelDataArray: he
1200
1200
  } = b.current, {
1201
1201
  initialLayout: Pe
1202
- } = H ?? {}, He = zn(X, c, z);
1202
+ } = H ?? {}, Ne = zn(X, c, z);
1203
1203
  let T = Qn(d, c, E, H, j, z);
1204
1204
  const Ke = E === "horizontal";
1205
1205
  Ke && g && (T = -T);
@@ -1207,11 +1207,11 @@ function Pn({
1207
1207
  delta: T,
1208
1208
  initialLayout: Pe ?? U,
1209
1209
  panelConstraints: En,
1210
- pivotIndices: He,
1210
+ pivotIndices: Ne,
1211
1211
  prevLayout: U,
1212
1212
  trigger: an(d) ? "keyboard" : "mouse-or-touch"
1213
1213
  }), Ue = !we(U, ze);
1214
- (sn(d) || un(d)) && q.current != T && (q.current = T, !Ue && T !== 0 ? Ke ? _e(c, T < 0 ? dn : fn) : _e(c, T < 0 ? pn : gn) : _e(c, 0)), Ue && (S(ze), b.current.layout = ze, L && L(ze), le(he, ze, D.current));
1214
+ (sn(d) || un(d)) && q.current != T && (q.current = T, !Ue && T !== 0 ? Ke ? Ge(c, T < 0 ? dn : fn) : Ge(c, T < 0 ? pn : gn) : Ge(c, 0)), Ue && (S(ze), b.current.layout = ze, L && L(ze), le(he, ze, M.current));
1215
1215
  };
1216
1216
  }, []), G = B((c, g) => {
1217
1217
  const {
@@ -1232,7 +1232,7 @@ function Pn({
1232
1232
  prevLayout: p,
1233
1233
  trigger: "imperative-api"
1234
1234
  });
1235
- we(p, L) || (S(L), b.current.layout = L, v && v(L), le(d, L, D.current));
1235
+ we(p, L) || (S(L), b.current.layout = L, v && v(L), le(d, L, M.current));
1236
1236
  }, []), fe = B((c, g) => {
1237
1237
  const {
1238
1238
  layout: v,
@@ -1268,12 +1268,12 @@ function Pn({
1268
1268
  });
1269
1269
  }, []), ge = B(() => {
1270
1270
  I(null);
1271
- }, []), De = B((c) => {
1271
+ }, []), He = B((c) => {
1272
1272
  const {
1273
1273
  panelDataArray: g
1274
1274
  } = b.current, v = ae(g, c);
1275
- v >= 0 && (g.splice(v, 1), delete D.current[c.id], b.current.panelDataArrayChanged = !0, R());
1276
- }, [R]), ie = Dn(() => ({
1275
+ v >= 0 && (g.splice(v, 1), delete M.current[c.id], b.current.panelDataArrayChanged = !0, R());
1276
+ }, [R]), ie = Mn(() => ({
1277
1277
  collapsePanel: K,
1278
1278
  direction: r,
1279
1279
  dragState: h,
@@ -1281,7 +1281,7 @@ function Pn({
1281
1281
  getPanelSize: V,
1282
1282
  getPanelStyle: _,
1283
1283
  groupId: u,
1284
- isPanelCollapsed: M,
1284
+ isPanelCollapsed: D,
1285
1285
  isPanelExpanded: ee,
1286
1286
  reevaluatePanelConstraints: fe,
1287
1287
  registerPanel: k,
@@ -1289,9 +1289,9 @@ function Pn({
1289
1289
  resizePanel: G,
1290
1290
  startDragging: pe,
1291
1291
  stopDragging: ge,
1292
- unregisterPanel: De,
1292
+ unregisterPanel: He,
1293
1293
  panelGroupElement: x.current
1294
- }), [K, h, r, J, V, _, u, M, ee, fe, k, $, G, pe, ge, De]), me = {
1294
+ }), [K, h, r, J, V, _, u, D, ee, fe, k, $, G, pe, ge, He]), me = {
1295
1295
  display: "flex",
1296
1296
  flexDirection: r === "horizontal" ? "row" : "column",
1297
1297
  height: "100%",
@@ -1401,8 +1401,8 @@ function In({
1401
1401
  te(() => {
1402
1402
  R.current.onClick = l, R.current.onDragging = a, R.current.onPointerDown = m, R.current.onPointerUp = P;
1403
1403
  });
1404
- const D = nn(Re);
1405
- if (D === null)
1404
+ const M = nn(Re);
1405
+ if (M === null)
1406
1406
  throw Error("PanelResizeHandle components must be rendered within a PanelGroup container");
1407
1407
  const {
1408
1408
  direction: N,
@@ -1411,7 +1411,7 @@ function In({
1411
1411
  startDragging: b,
1412
1412
  stopDragging: K,
1413
1413
  panelGroupElement: J
1414
- } = D, V = Fe(i), [_, M] = ue("inactive"), [ee, k] = ue(!1), [$, G] = ue(null), fe = F({
1414
+ } = M, V = Ve(i), [_, D] = ue("inactive"), [ee, k] = ue(!1), [$, G] = ue(null), fe = F({
1415
1415
  state: _
1416
1416
  });
1417
1417
  re(() => {
@@ -1436,12 +1436,12 @@ function In({
1436
1436
  fine: ge
1437
1437
  }, (g, v, p) => {
1438
1438
  if (!v) {
1439
- M("inactive");
1439
+ D("inactive");
1440
1440
  return;
1441
1441
  }
1442
1442
  switch (g) {
1443
1443
  case "down": {
1444
- M("drag"), me = !1, y(p, 'Expected event to be defined for "down" action'), b(V, p);
1444
+ D("drag"), me = !1, y(p, 'Expected event to be defined for "down" action'), b(V, p);
1445
1445
  const {
1446
1446
  onDragging: d,
1447
1447
  onPointerDown: z
@@ -1453,11 +1453,11 @@ function In({
1453
1453
  const {
1454
1454
  state: d
1455
1455
  } = fe.current;
1456
- me = !0, d !== "drag" && M("hover"), y(p, 'Expected event to be defined for "move" action'), $(p);
1456
+ me = !0, d !== "drag" && D("hover"), y(p, 'Expected event to be defined for "move" action'), $(p);
1457
1457
  break;
1458
1458
  }
1459
1459
  case "up": {
1460
- M("hover"), K();
1460
+ D("hover"), K();
1461
1461
  const {
1462
1462
  onClick: d,
1463
1463
  onDragging: z,
@@ -8,7 +8,7 @@ import { u as k, c as ct } from "../../../index-5Bhkapwi.js";
8
8
  import { c as it } from "../../../index-DFZozV_h.js";
9
9
  import { u as dt } from "../../../index-ByaXH_ih.js";
10
10
  import { P as ut, D as pt } from "../../../index-DYHsXnnS.js";
11
- import { h as ft, u as mt, R as ht, F as vt } from "../../../index-BvWMjxZ5.js";
11
+ import { h as ft, u as mt, R as ht, F as vt } from "../../../Combination-CmNnuUVg.js";
12
12
  import { u as Te } from "../../../index-Cv867SGx.js";
13
13
  import { c as Ee, R as gt, A as St, C as wt, a as xt } from "../../../index-PlrlSrPo.js";
14
14
  import { P as M } from "../../../index-CpDnqHCm.js";
@@ -1,5 +1,5 @@
1
1
  import { jsx as e, jsxs as n } from "react/jsx-runtime";
2
- import { R as d, T as c, C as r, a as m, b as u, D as f, P as h, O as g } from "../../../index-toVHZ337.js";
2
+ import { R as d, T as c, C as r, a as m, b as u, D as f, P as h, O as g } from "../../../index-BSWzylXR.js";
3
3
  import { XIcon as p } from "lucide-react";
4
4
  import { c as o } from "../../../utils-CRiPKpXj.js";
5
5
  function v({ ...t }) {