@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.
- package/dist/assets/icons/yugabytedb.js +10 -0
- package/dist/{calendar-cxv-TTEh.js → calendar-CjLXktko.js} +1 -1
- package/dist/components/index.js +189 -187
- package/dist/components/ui/atoms/accordion.js +1 -1
- package/dist/components/ui/atoms/alert-dialog.js +1 -1
- package/dist/components/ui/atoms/alert.js +2 -2
- package/dist/components/ui/atoms/avatar.js +1 -1
- package/dist/components/ui/atoms/badge.js +2 -2
- package/dist/components/ui/atoms/breadcrumb.js +1 -1
- package/dist/components/ui/atoms/button.js +2 -2
- package/dist/components/ui/atoms/byoc-badge.d.ts +1 -1
- package/dist/components/ui/atoms/byoc-badge.d.ts.map +1 -1
- package/dist/components/ui/atoms/byoc-badge.js +2 -2
- package/dist/components/ui/atoms/calendar.js +2 -2
- package/dist/components/ui/atoms/card.js +1 -1
- package/dist/components/ui/atoms/chart.d.ts.map +1 -1
- package/dist/components/ui/atoms/chart.js +1 -1
- package/dist/components/ui/atoms/checkbox.js +1 -1
- package/dist/components/ui/atoms/command.js +364 -288
- package/dist/components/ui/atoms/dialog.js +1 -1
- package/dist/components/ui/atoms/dropdown-menu.js +1 -1
- package/dist/components/ui/atoms/form.js +1 -1
- package/dist/components/ui/atoms/hover-card.js +1 -1
- package/dist/components/ui/atoms/icons/adp.js +1 -1
- package/dist/components/ui/atoms/icons/index.d.ts +1 -0
- package/dist/components/ui/atoms/icons/index.d.ts.map +1 -1
- package/dist/components/ui/atoms/icons/index.js +32 -30
- package/dist/components/ui/atoms/icons/workday.js +1 -1
- package/dist/components/ui/atoms/icons/yugabytedb.d.ts +4 -0
- package/dist/components/ui/atoms/icons/yugabytedb.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/yugabytedb.js +20 -0
- package/dist/components/ui/atoms/index.js +179 -177
- package/dist/components/ui/atoms/input.js +1 -1
- package/dist/components/ui/atoms/label.js +1 -1
- package/dist/components/ui/atoms/popover.js +1 -1
- package/dist/components/ui/atoms/pro-badge.js +2 -2
- package/dist/components/ui/atoms/progress.js +1 -1
- package/dist/components/ui/atoms/radio-group.js +1 -1
- package/dist/components/ui/atoms/resizable.js +1 -1
- package/dist/components/ui/atoms/scroll-area.js +1 -1
- package/dist/components/ui/atoms/select.js +1 -1
- package/dist/components/ui/atoms/separator.js +1 -1
- package/dist/components/ui/atoms/sheet.js +1 -1
- package/dist/components/ui/atoms/sidebar.js +2 -2
- package/dist/components/ui/atoms/skeleton.js +1 -1
- package/dist/components/ui/atoms/slider.js +1 -1
- package/dist/components/ui/atoms/switch.js +1 -1
- package/dist/components/ui/atoms/table.js +1 -1
- package/dist/components/ui/atoms/tabs.js +1 -1
- package/dist/components/ui/atoms/textarea.js +1 -1
- package/dist/components/ui/atoms/toggle.js +2 -2
- package/dist/components/ui/atoms/tooltip.js +1 -1
- package/dist/components/ui/atoms/view-tools-control.js +1 -1
- package/dist/components/ui/atoms/virtualized-grid.js +7 -6
- package/dist/components/ui/index.js +189 -187
- package/dist/components/ui/molecules/date-time-picker.js +1 -1
- package/dist/components/ui/molecules/index.js +1 -1
- package/dist/components/ui/molecules/requirement-badges.js +2 -2
- package/dist/components/ui/molecules/tool-card.js +1 -1
- package/dist/components/ui/molecules/toolkit-card.js +3 -3
- package/dist/{index-r7CUvu2m.js → index-DBUvnhgM.js} +1 -1
- package/dist/lib/utils.js +1 -1
- package/dist/main.js +203 -201
- package/dist/metadata/toolkit-icons.d.ts.map +1 -1
- package/dist/metadata/toolkit-icons.js +48 -46
- package/dist/metadata/toolkits.d.ts.map +1 -1
- package/dist/metadata/toolkits.js +13 -0
- package/dist/{toolkit-card-DE-5B2dS.js → toolkit-card-B23qLCqG.js} +2 -2
- package/dist/{utils-6KgZuQUR.js → utils-CVF2pBPP.js} +555 -396
- 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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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,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-
|
|
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-
|
|
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 { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { c as m } from "../../../utils-
|
|
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,6 +1,6 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { c as u } from "../../../index-
|
|
3
|
-
import { c as f } from "../../../utils-
|
|
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-
|
|
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-
|
|
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
|
|
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],
|
|
298
|
-
m =
|
|
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" ?
|
|
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 =
|
|
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] =
|
|
581
|
+
}, [t] = w.useState(
|
|
581
582
|
() => new U(s)
|
|
582
583
|
);
|
|
583
584
|
return t.setOptions(s), A(() => t._didMount(), []), A(() => t._willUpdate()), t;
|