@arcadeai/design-system 3.29.1 → 3.30.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 (70) hide show
  1. package/dist/assets/icons/yugabytedb.js +10 -0
  2. package/dist/{calendar-cxv-TTEh.js → calendar-CjLXktko.js} +1 -1
  3. package/dist/components/index.js +189 -187
  4. package/dist/components/ui/atoms/accordion.js +1 -1
  5. package/dist/components/ui/atoms/alert-dialog.js +1 -1
  6. package/dist/components/ui/atoms/alert.js +2 -2
  7. package/dist/components/ui/atoms/avatar.js +1 -1
  8. package/dist/components/ui/atoms/badge.js +2 -2
  9. package/dist/components/ui/atoms/breadcrumb.js +1 -1
  10. package/dist/components/ui/atoms/button.js +2 -2
  11. package/dist/components/ui/atoms/byoc-badge.d.ts +1 -1
  12. package/dist/components/ui/atoms/byoc-badge.d.ts.map +1 -1
  13. package/dist/components/ui/atoms/byoc-badge.js +2 -2
  14. package/dist/components/ui/atoms/calendar.js +2 -2
  15. package/dist/components/ui/atoms/card.js +1 -1
  16. package/dist/components/ui/atoms/chart.d.ts.map +1 -1
  17. package/dist/components/ui/atoms/chart.js +1 -1
  18. package/dist/components/ui/atoms/checkbox.js +1 -1
  19. package/dist/components/ui/atoms/command.js +364 -288
  20. package/dist/components/ui/atoms/dialog.js +1 -1
  21. package/dist/components/ui/atoms/dropdown-menu.js +1 -1
  22. package/dist/components/ui/atoms/form.js +1 -1
  23. package/dist/components/ui/atoms/hover-card.js +1 -1
  24. package/dist/components/ui/atoms/icons/adp.js +1 -1
  25. package/dist/components/ui/atoms/icons/index.d.ts +1 -0
  26. package/dist/components/ui/atoms/icons/index.d.ts.map +1 -1
  27. package/dist/components/ui/atoms/icons/index.js +32 -30
  28. package/dist/components/ui/atoms/icons/workday.js +1 -1
  29. package/dist/components/ui/atoms/icons/yugabytedb.d.ts +4 -0
  30. package/dist/components/ui/atoms/icons/yugabytedb.d.ts.map +1 -0
  31. package/dist/components/ui/atoms/icons/yugabytedb.js +20 -0
  32. package/dist/components/ui/atoms/index.js +179 -177
  33. package/dist/components/ui/atoms/input.js +1 -1
  34. package/dist/components/ui/atoms/label.js +1 -1
  35. package/dist/components/ui/atoms/popover.js +1 -1
  36. package/dist/components/ui/atoms/pro-badge.js +2 -2
  37. package/dist/components/ui/atoms/progress.js +1 -1
  38. package/dist/components/ui/atoms/radio-group.js +1 -1
  39. package/dist/components/ui/atoms/resizable.js +1 -1
  40. package/dist/components/ui/atoms/scroll-area.js +1 -1
  41. package/dist/components/ui/atoms/select.js +1 -1
  42. package/dist/components/ui/atoms/separator.js +1 -1
  43. package/dist/components/ui/atoms/sheet.js +1 -1
  44. package/dist/components/ui/atoms/sidebar.js +2 -2
  45. package/dist/components/ui/atoms/skeleton.js +1 -1
  46. package/dist/components/ui/atoms/slider.js +1 -1
  47. package/dist/components/ui/atoms/switch.js +1 -1
  48. package/dist/components/ui/atoms/table.js +1 -1
  49. package/dist/components/ui/atoms/tabs.js +1 -1
  50. package/dist/components/ui/atoms/textarea.js +1 -1
  51. package/dist/components/ui/atoms/toggle.js +2 -2
  52. package/dist/components/ui/atoms/tooltip.js +1 -1
  53. package/dist/components/ui/atoms/view-tools-control.js +1 -1
  54. package/dist/components/ui/atoms/virtualized-grid.js +7 -6
  55. package/dist/components/ui/index.js +189 -187
  56. package/dist/components/ui/molecules/date-time-picker.js +1 -1
  57. package/dist/components/ui/molecules/index.js +1 -1
  58. package/dist/components/ui/molecules/requirement-badges.js +2 -2
  59. package/dist/components/ui/molecules/tool-card.js +1 -1
  60. package/dist/components/ui/molecules/toolkit-card.js +3 -3
  61. package/dist/{index-r7CUvu2m.js → index-DBUvnhgM.js} +1 -1
  62. package/dist/lib/utils.js +1 -1
  63. package/dist/main.js +203 -201
  64. package/dist/metadata/toolkit-icons.d.ts.map +1 -1
  65. package/dist/metadata/toolkit-icons.js +48 -46
  66. package/dist/metadata/toolkits.d.ts.map +1 -1
  67. package/dist/metadata/toolkits.js +13 -0
  68. package/dist/{toolkit-card-DE-5B2dS.js → toolkit-card-B23qLCqG.js} +2 -2
  69. package/dist/{utils-6KgZuQUR.js → utils-CVF2pBPP.js} +555 -396
  70. package/package.json +32 -33
@@ -1,6 +1,6 @@
1
1
  import { jsx as s, jsxs as Q, Fragment as be } from "react/jsx-runtime";
2
2
  import { CheckIcon as lt, ChevronDownIcon as _e, ChevronUpIcon as ct } from "lucide-react";
3
- import { c as G } from "../../../utils-6KgZuQUR.js";
3
+ import { c as G } from "../../../utils-CVF2pBPP.js";
4
4
  import * as n from "react";
5
5
  import * as Ee from "react-dom";
6
6
  import { c as Ne } from "../../../index-rKs9bXHr.js";
@@ -1,5 +1,5 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { c as p } from "../../../utils-6KgZuQUR.js";
2
+ import { c as p } from "../../../utils-CVF2pBPP.js";
3
3
  import * as d from "react";
4
4
  import { P as m } from "../../../index-DLohNuco.js";
5
5
  var v = "Separator", n = "horizontal", f = ["horizontal", "vertical"], l = d.forwardRef((r, o) => {
@@ -1,6 +1,6 @@
1
1
  import { jsx as e, jsxs as n } from "react/jsx-runtime";
2
2
  import { XIcon as d } from "lucide-react";
3
- import { c as o } from "../../../utils-6KgZuQUR.js";
3
+ import { c as o } from "../../../utils-CVF2pBPP.js";
4
4
  import { R as c, C as r, a as m, D as u, T as f, b as h, P as g, O as p } from "../../../index-By-GFSsC.js";
5
5
  function v({ ...t }) {
6
6
  return /* @__PURE__ */ e(c, { "data-slot": "sheet", ...t });
@@ -1,5 +1,5 @@
1
1
  import { jsx as t, jsxs as m } from "react/jsx-runtime";
2
- import { c as M } from "../../../index-r7CUvu2m.js";
2
+ import { c as M } from "../../../index-DBUvnhgM.js";
3
3
  import { PanelLeftIcon as k } from "lucide-react";
4
4
  import * as c from "react";
5
5
  import { Button as E } from "./button.js";
@@ -9,7 +9,7 @@ import { Sheet as T, SheetContent as O, SheetHeader as R, SheetTitle as A, Sheet
9
9
  import { Skeleton as _ } from "./skeleton.js";
10
10
  import { Tooltip as P, TooltipTrigger as H, TooltipContent as K, TooltipProvider as L } from "./tooltip.js";
11
11
  import { useIsMobile as j } from "../../../hooks/use-mobile.js";
12
- import { c as r } from "../../../utils-6KgZuQUR.js";
12
+ import { c as r } from "../../../utils-CVF2pBPP.js";
13
13
  import { S as h } from "../../../index-D2LZVjSn.js";
14
14
  const G = "sidebar_state", U = 60, $ = 60, V = 24, W = 7, Y = U * $ * V * W, q = "16rem", F = "18rem", X = "3rem", J = "b", y = c.createContext(null);
15
15
  function S() {
@@ -1,5 +1,5 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { c as n } from "../../../utils-6KgZuQUR.js";
2
+ import { c as n } from "../../../utils-CVF2pBPP.js";
3
3
  function m({ className: e, ...t }) {
4
4
  return /* @__PURE__ */ o(
5
5
  "div",
@@ -1,6 +1,6 @@
1
1
  import { jsx as m, jsxs as j } from "react/jsx-runtime";
2
2
  import * as c from "react";
3
- import { c as H } from "../../../utils-6KgZuQUR.js";
3
+ import { c as H } from "../../../utils-CVF2pBPP.js";
4
4
  import { c as X } from "../../../index-rKs9bXHr.js";
5
5
  import { c as _ } from "../../../index-B695uy69.js";
6
6
  import { u as C } from "../../../index-D2LZVjSn.js";
@@ -1,5 +1,5 @@
1
1
  import { jsxs as y, jsx as s } from "react/jsx-runtime";
2
- import { c as g } from "../../../utils-6KgZuQUR.js";
2
+ import { c as g } from "../../../utils-CVF2pBPP.js";
3
3
  import * as n from "react";
4
4
  import { c as M } from "../../../index-B695uy69.js";
5
5
  import { u as x } from "../../../index-D2LZVjSn.js";
@@ -1,5 +1,5 @@
1
1
  import { jsxs as l, jsx as a } from "react/jsx-runtime";
2
- import { c as o } from "../../../utils-6KgZuQUR.js";
2
+ import { c as o } from "../../../utils-CVF2pBPP.js";
3
3
  import { ScrollArea as n, ScrollBar as s } from "./scroll-area.js";
4
4
  function i({
5
5
  className: t,
@@ -1,5 +1,5 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
- import { c as m } from "../../../utils-6KgZuQUR.js";
2
+ import { c as m } from "../../../utils-CVF2pBPP.js";
3
3
  import * as f from "react";
4
4
  import { c as T } from "../../../index-B695uy69.js";
5
5
  import { c as S } from "../../../index-DFZozV_h.js";
@@ -1,5 +1,5 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import { c as t } from "../../../utils-6KgZuQUR.js";
2
+ import { c as t } from "../../../utils-CVF2pBPP.js";
3
3
  function n({ className: r, ...e }) {
4
4
  return /* @__PURE__ */ i(
5
5
  "textarea",
@@ -1,6 +1,6 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
- import { c as u } from "../../../index-r7CUvu2m.js";
3
- import { c as f } from "../../../utils-6KgZuQUR.js";
2
+ import { c as u } from "../../../index-DBUvnhgM.js";
3
+ import { c as f } from "../../../utils-CVF2pBPP.js";
4
4
  import * as g from "react";
5
5
  import { c as m } from "../../../index-B695uy69.js";
6
6
  import { u as v } from "../../../index-437EL2iq.js";
@@ -1,5 +1,5 @@
1
1
  import { jsx as u, jsxs as H } from "react/jsx-runtime";
2
- import { c as K } from "../../../utils-6KgZuQUR.js";
2
+ import { c as K } from "../../../utils-CVF2pBPP.js";
3
3
  import * as s from "react";
4
4
  import { c as C } from "../../../index-B695uy69.js";
5
5
  import { u as S, a as W } from "../../../index-D2LZVjSn.js";
@@ -1,7 +1,7 @@
1
1
  import { jsxs as e, jsx as l } from "react/jsx-runtime";
2
2
  import { ChevronRight as c } from "lucide-react";
3
3
  import { Button as p } from "./button.js";
4
- import { c as f } from "../../../utils-6KgZuQUR.js";
4
+ import { c as f } from "../../../utils-CVF2pBPP.js";
5
5
  import * as u from "react";
6
6
  import { createPropsComparator as g } from "../utils/memo.js";
7
7
  function x(o, t = 0, r) {
@@ -1,5 +1,5 @@
1
1
  import { jsx as x } from "react/jsx-runtime";
2
- import * as M from "react";
2
+ import * as w from "react";
3
3
  import { useRef as F, useState as D, useEffect as T, useMemo as k } from "react";
4
4
  import { flushSync as N } from "react-dom";
5
5
  function y(r, l, e) {
@@ -294,8 +294,8 @@ class U {
294
294
  let f, m;
295
295
  if (b !== void 0 && this.options.lanes > 1) {
296
296
  f = b;
297
- const S = v[f], w = S !== void 0 ? c[S] : void 0;
298
- m = w ? w.end + this.options.gap : s + t;
297
+ const S = v[f], M = S !== void 0 ? c[S] : void 0;
298
+ m = M ? M.end + this.options.gap : s + t;
299
299
  } else {
300
300
  const S = this.options.lanes === 1 ? c[a - 1] : this.getFurthestMeasurement(c, a);
301
301
  m = S ? S.end + this.options.gap : s + t, f = S ? S.lane : a % this.options.lanes, this.options.lanes > 1 && this.laneAssignments.set(a, f);
@@ -463,6 +463,7 @@ class U {
463
463
  }
464
464
  const [v, a] = c;
465
465
  this._scrollToOffset(v, { adjustments: void 0, behavior: t }), this.targetWindow.requestAnimationFrame(() => {
466
+ if (!this.targetWindow) return;
466
467
  const g = () => {
467
468
  if (this.currentScrollToIndex !== e) return;
468
469
  const b = this.getScrollOffset(), f = this.getOffsetForIndex(e, a);
@@ -566,18 +567,18 @@ function q({
566
567
  }
567
568
  return { startIndex: o, endIndex: i };
568
569
  }
569
- const A = typeof document < "u" ? M.useLayoutEffect : M.useEffect;
570
+ const A = typeof document < "u" ? w.useLayoutEffect : w.useEffect;
570
571
  function K({
571
572
  useFlushSync: r = !0,
572
573
  ...l
573
574
  }) {
574
- const e = M.useReducer(() => ({}), {})[1], s = {
575
+ const e = w.useReducer(() => ({}), {})[1], s = {
575
576
  ...l,
576
577
  onChange: (n, o) => {
577
578
  var i;
578
579
  r && o ? N(e) : e(), (i = l.onChange) == null || i.call(l, n, o);
579
580
  }
580
- }, [t] = M.useState(
581
+ }, [t] = w.useState(
581
582
  () => new U(s)
582
583
  );
583
584
  return t.setOptions(s), A(() => t._didMount(), []), A(() => t._willUpdate()), t;