@devalok/shilp-sutra 0.49.0 → 0.49.1
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/_chunks/badge-group.js +4 -4
- package/dist/_chunks/block-shell.js +1 -1
- package/dist/_chunks/chart-container.js +1 -1
- package/dist/_chunks/chat.js +3 -3
- package/dist/_chunks/colors.js +2 -2
- package/dist/_chunks/document-preview.js +4 -4
- package/dist/_chunks/emoji-suggestion.js +5 -5
- package/dist/_chunks/emoji-suggestion.js.map +1 -1
- package/dist/_chunks/emoji.js +1 -1
- package/dist/_chunks/field-state.js +1 -1
- package/dist/_chunks/grid-lines.js +1 -1
- package/dist/_chunks/image-preview.js +7 -7
- package/dist/_chunks/keybinding.js +1 -1
- package/dist/_chunks/link-context.js +1 -1
- package/dist/_chunks/mention-suggestion.js +2 -2
- package/dist/_chunks/mention.js +1 -1
- package/dist/_chunks/motion-provider.js +1 -1
- package/dist/_chunks/normalize-icon.js +1 -1
- package/dist/_chunks/oauth-button.js +2 -2
- package/dist/_chunks/popover.js +17 -17
- package/dist/_chunks/primitives.js +1 -1
- package/dist/_chunks/shared.js +5 -5
- package/dist/_chunks/success.js +4 -4
- package/dist/_chunks/tiptap.js +11 -11
- package/dist/_chunks/tooltip.js +1 -1
- package/dist/_chunks/tree-view.js +2 -2
- package/dist/_chunks/use-calendar.js +1 -1
- package/dist/_chunks/use-controllable-open.js +1 -1
- package/dist/_chunks/vendor-client.js +1 -1
- package/dist/_chunks/vendor-utils.js +1 -1
- package/dist/ai/block-renderer.js +7 -7
- package/dist/ai/blocks/error.js +1 -1
- package/dist/ai/blocks/index.js +2 -2
- package/dist/ai/blocks/text.js +1 -1
- package/dist/ai/command-bar.js +6 -6
- package/dist/ai/conversation.js +2 -2
- package/dist/ai/index.js +3 -3
- package/dist/composed/avatar-group.js +1 -1
- package/dist/composed/bulk-action-bar.js +1 -1
- package/dist/composed/command-palette.js +6 -6
- package/dist/composed/content-card.js +1 -1
- package/dist/composed/date-picker/index.js +10 -10
- package/dist/composed/emoji-picker.js +4 -4
- package/dist/composed/empty-state.js +1 -1
- package/dist/composed/extensions/emoji-node.js +1 -1
- package/dist/composed/extensions/emoji-suggestion.js +1 -1
- package/dist/composed/file-preview.js +14 -14
- package/dist/composed/filter-bar.js +1 -1
- package/dist/composed/multi-select-popover.js +3 -3
- package/dist/composed/priority-indicator.js +1 -1
- package/dist/composed/responsive-modal.js +21 -21
- package/dist/composed/rich-chat-input.js +445 -445
- package/dist/composed/rich-chat-input.js.map +1 -1
- package/dist/composed/rich-text-editor.js +28 -28
- package/dist/composed/status-badge.js +1 -1
- package/dist/motion/index.js +2 -2
- package/dist/shell/bottom-navbar.js +2 -2
- package/dist/shell/index.js +2 -2
- package/dist/shell/link-context.js +2 -2
- package/dist/shell/notification-center.js +3 -3
- package/dist/shell/sidebar.js +2 -2
- package/dist/shell/top-bar.js +1 -1
- package/dist/ui/accordion.js +14 -14
- package/dist/ui/alert-dialog.js +31 -31
- package/dist/ui/alert.js +1 -1
- package/dist/ui/aspect-ratio.js +1 -1
- package/dist/ui/autocomplete.js +7 -7
- package/dist/ui/avatar.js +15 -15
- package/dist/ui/badge-group.js +1 -1
- package/dist/ui/badge.js +1 -1
- package/dist/ui/banner.js +1 -1
- package/dist/ui/breadcrumb.js +1 -1
- package/dist/ui/button.js +5 -5
- package/dist/ui/card.js +1 -1
- package/dist/ui/charts/area-chart.js +6 -6
- package/dist/ui/charts/bar-chart.js +6 -6
- package/dist/ui/charts/chart-container.js +1 -1
- package/dist/ui/charts/gauge-chart.js +2 -2
- package/dist/ui/charts/index.js +2 -2
- package/dist/ui/charts/line-chart.js +6 -6
- package/dist/ui/charts/pie-chart.js +5 -5
- package/dist/ui/charts/radar-chart.js +5 -5
- package/dist/ui/charts/sparkline.js +2 -2
- package/dist/ui/chat/index.js +2 -2
- package/dist/ui/checkbox.js +5 -5
- package/dist/ui/collapsible.js +4 -4
- package/dist/ui/color-input.js +4 -4
- package/dist/ui/combobox.js +7 -7
- package/dist/ui/context-menu.js +41 -41
- package/dist/ui/dialog.js +25 -25
- package/dist/ui/dot.js +1 -1
- package/dist/ui/dropdown-menu.js +51 -51
- package/dist/ui/hover-card.js +9 -9
- package/dist/ui/icon-button.js +1 -1
- package/dist/ui/index.js +6 -6
- package/dist/ui/input.js +2 -2
- package/dist/ui/label.js +1 -1
- package/dist/ui/lib/utils.js +4 -4
- package/dist/ui/link.js +1 -1
- package/dist/ui/menubar.js +53 -53
- package/dist/ui/navigation-menu.js +27 -27
- package/dist/ui/number-input.js +2 -2
- package/dist/ui/oauth-button/index.js +2 -2
- package/dist/ui/pagination.js +1 -1
- package/dist/ui/popover.js +2 -2
- package/dist/ui/progress.js +2 -2
- package/dist/ui/radio.js +2 -2
- package/dist/ui/segmented-control.js +1 -1
- package/dist/ui/select.js +35 -35
- package/dist/ui/separator.js +1 -1
- package/dist/ui/sheet.js +22 -22
- package/dist/ui/sidebar.js +2 -2
- package/dist/ui/skeleton.js +1 -1
- package/dist/ui/slider.js +7 -7
- package/dist/ui/split-button.js +3 -3
- package/dist/ui/stat-card.js +2 -2
- package/dist/ui/stat-flash.js +1 -1
- package/dist/ui/stepper.js +1 -1
- package/dist/ui/surface.js +2 -2
- package/dist/ui/switch.js +2 -2
- package/dist/ui/table-row-link.js +1 -1
- package/dist/ui/tabs.js +13 -13
- package/dist/ui/text.js +1 -1
- package/dist/ui/textarea.js +2 -2
- package/dist/ui/toggle-group.js +1 -1
- package/dist/ui/toggle.js +2 -2
- package/dist/ui/tooltip.js +16 -16
- package/dist/ui/tree-view/index.js +2 -2
- package/llms.txt +1 -1
- package/mcp-manifest.json +1 -1
- package/package.json +1 -1
- package/skill/SKILL.md +1 -1
- package/skill/references/components.md +1 -1
package/dist/ui/banner.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { motionProps as e, springs as t } from "./lib/motion.js";
|
|
3
|
-
import {
|
|
3
|
+
import { cva as n } from "../_chunks/vendor-utils.js";
|
|
4
4
|
import { cn as r } from "./lib/utils.js";
|
|
5
5
|
import { Icon as i } from "./icon.js";
|
|
6
6
|
import * as a from "react";
|
package/dist/ui/breadcrumb.js
CHANGED
package/dist/ui/button.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Slot as e, Slottable as t } from "../_chunks/primitives.js";
|
|
3
3
|
import { IconProvider as n } from "./icon-context.js";
|
|
4
4
|
import { motionProps as ee } from "./lib/motion.js";
|
|
5
|
-
import {
|
|
5
|
+
import { cva as r } from "../_chunks/vendor-utils.js";
|
|
6
6
|
import { cn as i } from "./lib/utils.js";
|
|
7
7
|
import { Spinner as a } from "./spinner.js";
|
|
8
8
|
import { Icon as te } from "./icon.js";
|
|
9
|
-
import {
|
|
9
|
+
import { normalizeIcon as o } from "../_chunks/normalize-icon.js";
|
|
10
10
|
import { getGroupPositionStyle as ne, useButtonGroup as re, useButtonGroupItem as ie } from "./button-group.js";
|
|
11
11
|
import { ProcessingOverlay as ae } from "./button-processing.js";
|
|
12
12
|
import * as s from "react";
|
|
@@ -292,7 +292,7 @@ var u = r("relative inline-flex items-center justify-center whitespace-nowrap fo
|
|
|
292
292
|
}, b));
|
|
293
293
|
}));
|
|
294
294
|
}, W = !!y, G = W ? B === "loading" : _e, K = B === "success" || B === "error", q = K ? void 0 : x === !0 ? "working" : x === !1 || !x ? W && B === "loading" && !x ? "working" : void 0 : x, J = !!q, Se = be ?? k ?? "accent";
|
|
295
|
-
if (he) return /* @__PURE__ */ c(
|
|
295
|
+
if (he) return /* @__PURE__ */ c(e, {
|
|
296
296
|
className: i(u({
|
|
297
297
|
variant: O,
|
|
298
298
|
color: k,
|
|
@@ -303,7 +303,7 @@ var u = r("relative inline-flex items-center justify-center whitespace-nowrap fo
|
|
|
303
303
|
disabled: N || G,
|
|
304
304
|
"aria-busy": G || void 0,
|
|
305
305
|
...w,
|
|
306
|
-
children: /* @__PURE__ */ c(
|
|
306
|
+
children: /* @__PURE__ */ c(t, { children: C })
|
|
307
307
|
});
|
|
308
308
|
let Y = de[M] ?? {
|
|
309
309
|
start: "",
|
package/dist/ui/card.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { motionProps as e, springs as t } from "./lib/motion.js";
|
|
3
|
-
import {
|
|
3
|
+
import { cva as n } from "../_chunks/vendor-utils.js";
|
|
4
4
|
import { cn as r } from "./lib/utils.js";
|
|
5
5
|
import * as i from "react";
|
|
6
6
|
import { jsx as a } from "react/jsx-runtime";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { motionProps as e, tweens as t } from "../lib/motion.js";
|
|
3
3
|
import { cn as n } from "../lib/utils.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
4
|
+
import { ChartTooltip as r, Legend as i, useChartTooltip as a } from "../../_chunks/tooltip.js";
|
|
5
|
+
import { resolveColor as o, useReducedMotion as s } from "../../_chunks/colors.js";
|
|
6
|
+
import { Axis as c, GridLines as l } from "../../_chunks/grid-lines.js";
|
|
7
|
+
import { ChartContainer as u } from "../../_chunks/chart-container.js";
|
|
8
8
|
import * as d from "react";
|
|
9
9
|
import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
10
10
|
import { motion as h } from "framer-motion";
|
|
@@ -12,7 +12,7 @@ import { scaleLinear as g, scalePoint as _ } from "d3-scale";
|
|
|
12
12
|
import { area as v, curveLinear as y, curveMonotoneX as b, line as x, stack as S, stackOffsetNone as C, stackOrderNone as w } from "d3-shape";
|
|
13
13
|
//#region src/ui/charts/area-chart.tsx
|
|
14
14
|
var T = d.forwardRef(({ data: T, xKey: E, series: D, curved: O = !1, stacked: k = !1, fillOpacity: A = .3, gradient: j = !1, strokeWidth: M = 2, height: N = 300, showGrid: P = !0, showTooltip: F = !0, showLegend: I = !1, animate: L = !0, xLabel: R, yLabel: z, ariaLabel: B, className: V, ...H }, U) => {
|
|
15
|
-
let { tooltip: W, show: G, hide: K } =
|
|
15
|
+
let { tooltip: W, show: G, hide: K } = a(), q = s(), J = L && !q, Y = D.map((e, t) => o(e.color, t)), X = d.useId();
|
|
16
16
|
return /* @__PURE__ */ m(h.div, {
|
|
17
17
|
ref: U,
|
|
18
18
|
className: n("relative", V),
|
|
@@ -161,7 +161,7 @@ var T = d.forwardRef(({ data: T, xKey: E, series: D, curved: O = !1, stacked: k
|
|
|
161
161
|
] });
|
|
162
162
|
}
|
|
163
163
|
}),
|
|
164
|
-
F && /* @__PURE__ */ p(
|
|
164
|
+
F && /* @__PURE__ */ p(r, { state: W }),
|
|
165
165
|
I && D.length > 1 && /* @__PURE__ */ p(i, {
|
|
166
166
|
items: D.map((e, t) => ({
|
|
167
167
|
label: e.label,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { motionProps as e, tweens as t } from "../lib/motion.js";
|
|
3
3
|
import { cn as n } from "../lib/utils.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
4
|
+
import { ChartTooltip as r, Legend as i, useChartTooltip as a } from "../../_chunks/tooltip.js";
|
|
5
|
+
import { resolveColor as o, useReducedMotion as s } from "../../_chunks/colors.js";
|
|
6
|
+
import { Axis as c, GridLines as l } from "../../_chunks/grid-lines.js";
|
|
7
|
+
import { ChartContainer as u } from "../../_chunks/chart-container.js";
|
|
8
8
|
import * as d from "react";
|
|
9
9
|
import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
10
10
|
import { motion as h } from "framer-motion";
|
|
11
11
|
import { scaleBand as g, scaleLinear as _ } from "d3-scale";
|
|
12
12
|
//#region src/ui/charts/bar-chart.tsx
|
|
13
13
|
var v = d.forwardRef(({ data: d, xKey: v, yKey: y, orientation: b = "vertical", stacked: x = !1, grouped: S = !1, color: C, height: w = 300, showGrid: T = !0, showTooltip: E = !0, showLegend: D = !1, animate: O = !0, barRadius: k = 4, xLabel: A, yLabel: j, seriesLabels: M, ariaLabel: N, className: P, ...F }, I) => {
|
|
14
|
-
let { tooltip: L, show: R, hide: z } =
|
|
14
|
+
let { tooltip: L, show: R, hide: z } = a(), B = s(), V = b === "vertical", H = O && !B, U = Array.isArray(y) ? y : [y], W = U.length > 1, G = W ? U.map((e, t) => o(Array.isArray(C) ? C[t] : typeof C == "string" ? C : void 0, t)) : [o(typeof C == "string" ? C : Array.isArray(C) ? C[0] : void 0, 0)];
|
|
15
15
|
return /* @__PURE__ */ m(h.div, {
|
|
16
16
|
ref: I,
|
|
17
17
|
className: n("relative", P),
|
|
@@ -111,7 +111,7 @@ var v = d.forwardRef(({ data: d, xKey: v, yKey: y, orientation: b = "vertical",
|
|
|
111
111
|
] });
|
|
112
112
|
}
|
|
113
113
|
}),
|
|
114
|
-
E && /* @__PURE__ */ p(
|
|
114
|
+
E && /* @__PURE__ */ p(r, { state: L }),
|
|
115
115
|
D && W && /* @__PURE__ */ p(i, {
|
|
116
116
|
items: U.map((e, t) => ({
|
|
117
117
|
label: M?.[t] ?? e,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { motionProps as e, tweens as t } from "../lib/motion.js";
|
|
3
3
|
import { cn as n } from "../lib/utils.js";
|
|
4
|
-
import {
|
|
4
|
+
import { getTransitionDuration as r, resolveColor as i, useReducedMotion as a } from "../../_chunks/colors.js";
|
|
5
5
|
import * as o from "react";
|
|
6
6
|
import { jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
7
7
|
import { motion as l } from "framer-motion";
|
|
8
8
|
import { arc as u } from "d3-shape";
|
|
9
9
|
//#region src/ui/charts/gauge-chart.tsx
|
|
10
10
|
var d = (e) => e * Math.PI / 180, f = o.forwardRef(({ value: o, max: f = 100, min: p = 0, label: m, valueLabel: h, color: g, trackColor: _ = "var(--color-surface-border)", height: v = 200, startAngle: y = -120, endAngle: b = 120, thickness: x = 16, animate: S = !0, className: C, ...w }, T) => {
|
|
11
|
-
let E =
|
|
11
|
+
let E = a(), D = r(E, S ? 600 : 0), O = S && !E, k = i(g, 0), A = v, j = A / 2, M = Math.min(Math.max(o, p), f), N = f === p ? 0 : (M - p) / (f - p), P = y + (b - y) * N, F = typeof h == "function" ? h(M) : typeof h == "string" ? h : String(M), I = u().innerRadius(j - x).outerRadius(j).startAngle(d(y)).endAngle(d(b)).cornerRadius(x / 2), L = u().innerRadius(j - x).outerRadius(j).startAngle(d(y)).endAngle(d(P)).cornerRadius(x / 2), R = I(null) ?? "", z = L(null) ?? "";
|
|
12
12
|
return /* @__PURE__ */ s(l.div, {
|
|
13
13
|
ref: T,
|
|
14
14
|
className: n("inline-flex flex-col items-center", C),
|
package/dist/ui/charts/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { t } from "../../_chunks/chart-container.js";
|
|
2
|
+
import { Legend as e } from "../../_chunks/tooltip.js";
|
|
3
|
+
import { ChartContainer as t } from "../../_chunks/chart-container.js";
|
|
4
4
|
import { AreaChart as n } from "./area-chart.js";
|
|
5
5
|
import { BarChart as r } from "./bar-chart.js";
|
|
6
6
|
import { GaugeChart as i } from "./gauge-chart.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { motionProps as e, tweens as t } from "../lib/motion.js";
|
|
3
3
|
import { cn as n } from "../lib/utils.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
4
|
+
import { ChartTooltip as r, Legend as i, useChartTooltip as a } from "../../_chunks/tooltip.js";
|
|
5
|
+
import { resolveColor as o, useReducedMotion as s } from "../../_chunks/colors.js";
|
|
6
|
+
import { Axis as c, GridLines as l } from "../../_chunks/grid-lines.js";
|
|
7
|
+
import { ChartContainer as u } from "../../_chunks/chart-container.js";
|
|
8
8
|
import * as d from "react";
|
|
9
9
|
import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
10
10
|
import { motion as h } from "framer-motion";
|
|
@@ -12,7 +12,7 @@ import { scaleLinear as g, scalePoint as _ } from "d3-scale";
|
|
|
12
12
|
import { curveLinear as v, curveMonotoneX as y, line as b } from "d3-shape";
|
|
13
13
|
//#region src/ui/charts/line-chart.tsx
|
|
14
14
|
var x = d.forwardRef(({ data: d, xKey: x, series: S, curved: C = !1, showDots: w = !1, dotSize: T = 4, strokeWidth: E = 2, height: D = 300, showGrid: O = !0, showTooltip: k = !0, showLegend: A = !1, animate: j = !0, xLabel: M, yLabel: N, ariaLabel: P, className: F, ...I }, L) => {
|
|
15
|
-
let { tooltip: R, show: z, hide: B } =
|
|
15
|
+
let { tooltip: R, show: z, hide: B } = a(), V = s(), H = j && !V, U = S.map((e, t) => o(e.color, t));
|
|
16
16
|
return /* @__PURE__ */ m(h.div, {
|
|
17
17
|
ref: L,
|
|
18
18
|
className: n("relative", F),
|
|
@@ -119,7 +119,7 @@ var x = d.forwardRef(({ data: d, xKey: x, series: S, curved: C = !1, showDots: w
|
|
|
119
119
|
] });
|
|
120
120
|
}
|
|
121
121
|
}),
|
|
122
|
-
k && /* @__PURE__ */ p(
|
|
122
|
+
k && /* @__PURE__ */ p(r, { state: R }),
|
|
123
123
|
A && S.length > 1 && /* @__PURE__ */ p(i, {
|
|
124
124
|
items: S.map((e, t) => ({
|
|
125
125
|
label: e.label,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { motionProps as e, tweens as t } from "../lib/motion.js";
|
|
3
3
|
import { cn as n } from "../lib/utils.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { ChartTooltip as r, Legend as i, useChartTooltip as a } from "../../_chunks/tooltip.js";
|
|
5
|
+
import { resolveColor as o, useReducedMotion as s } from "../../_chunks/colors.js";
|
|
6
6
|
import * as c from "react";
|
|
7
7
|
import { useEffect as l, useRef as u, useState as d } from "react";
|
|
8
8
|
import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
@@ -10,7 +10,7 @@ import { motion as h } from "framer-motion";
|
|
|
10
10
|
import { arc as g, pie as _ } from "d3-shape";
|
|
11
11
|
//#region src/ui/charts/pie-chart.tsx
|
|
12
12
|
var v = c.forwardRef(({ data: c, variant: v = "pie", innerRadius: y = .6, padAngle: b = 0, cornerRadius: x = 0, height: S = 300, showTooltip: C = !0, showLegend: w = !1, showLabels: T = !1, animate: E = !0, className: D, centerLabel: O, ariaLabel: k, ...A }, j) => {
|
|
13
|
-
let M = u(null), [N, P] = d(0), [F, I] = d(null), { tooltip: L, show: R, hide: z } =
|
|
13
|
+
let M = u(null), [N, P] = d(0), [F, I] = d(null), { tooltip: L, show: R, hide: z } = a(), B = s(), V = E && !B;
|
|
14
14
|
l(() => {
|
|
15
15
|
if (!M.current) return;
|
|
16
16
|
let e = new ResizeObserver((e) => {
|
|
@@ -19,7 +19,7 @@ var v = c.forwardRef(({ data: c, variant: v = "pie", innerRadius: y = .6, padAng
|
|
|
19
19
|
});
|
|
20
20
|
return e.observe(M.current), () => e.disconnect();
|
|
21
21
|
}, []);
|
|
22
|
-
let H = (N > 0 ? Math.min(N, S) : S) / 2, U = v === "donut" ? H * y : 0, W = c.map((e, t) =>
|
|
22
|
+
let H = (N > 0 ? Math.min(N, S) : S) / 2, U = v === "donut" ? H * y : 0, W = c.map((e, t) => o(e.color, t)), G = c.reduce((e, t) => e + t.value, 0), K = _().value((e) => e.value).padAngle(b).sort(null)(c), q = g().innerRadius(U).outerRadius(H - 2).cornerRadius(x), J = U + (H - 2 - U) * .7, Y = g().innerRadius(J).outerRadius(J);
|
|
23
23
|
return /* @__PURE__ */ m(h.div, {
|
|
24
24
|
ref: (e) => {
|
|
25
25
|
M.current = e, typeof j == "function" ? j(e) : j && (j.current = e);
|
|
@@ -97,7 +97,7 @@ var v = c.forwardRef(({ data: c, variant: v = "pie", innerRadius: y = .6, padAng
|
|
|
97
97
|
})
|
|
98
98
|
]
|
|
99
99
|
})
|
|
100
|
-
}), C && /* @__PURE__ */ p(
|
|
100
|
+
}), C && /* @__PURE__ */ p(r, { state: L })] }), w && /* @__PURE__ */ p(i, {
|
|
101
101
|
items: c.map((e, t) => ({
|
|
102
102
|
label: e.label,
|
|
103
103
|
color: W[t]
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { motionProps as e, tweens as t } from "../lib/motion.js";
|
|
3
3
|
import { cn as n } from "../lib/utils.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { ChartTooltip as r, Legend as i, useChartTooltip as a } from "../../_chunks/tooltip.js";
|
|
5
|
+
import { resolveColor as o, useReducedMotion as s } from "../../_chunks/colors.js";
|
|
6
6
|
import * as c from "react";
|
|
7
7
|
import { useEffect as l, useRef as u, useState as d } from "react";
|
|
8
8
|
import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
@@ -10,7 +10,7 @@ import { motion as h } from "framer-motion";
|
|
|
10
10
|
import { curveLinearClosed as g, lineRadial as _ } from "d3-shape";
|
|
11
11
|
//#region src/ui/charts/radar-chart.tsx
|
|
12
12
|
var v = c.forwardRef(({ data: c, axes: v, series: y, maxValue: b, levels: x = 5, fillOpacity: S = .25, showDots: C = !1, height: w = 300, showTooltip: T = !0, showLegend: E = !1, animate: D = !0, ariaLabel: O, className: k, ...A }, j) => {
|
|
13
|
-
let M = u(null), [N, P] = d(0), { tooltip: F, show: I, hide: L } =
|
|
13
|
+
let M = u(null), [N, P] = d(0), { tooltip: F, show: I, hide: L } = a(), R = s(), z = D && !R;
|
|
14
14
|
l(() => {
|
|
15
15
|
if (!M.current) return;
|
|
16
16
|
let e = new ResizeObserver((e) => {
|
|
@@ -19,7 +19,7 @@ var v = c.forwardRef(({ data: c, axes: v, series: y, maxValue: b, levels: x = 5,
|
|
|
19
19
|
});
|
|
20
20
|
return e.observe(M.current), () => e.disconnect();
|
|
21
21
|
}, []);
|
|
22
|
-
let B = (N > 0 ? Math.min(N, w) : w) / 2 - 40, V = y.map((e, t) =>
|
|
22
|
+
let B = (N > 0 ? Math.min(N, w) : w) / 2 - 40, V = y.map((e, t) => o(e.color, t)), H = b ?? Math.max(...c.flatMap((e) => y.map((t) => Number(e[t.key]) || 0)), 1), U = 2 * Math.PI / v.length, W = _().radius((e) => B * e / H).angle((e, t) => t * U).curve(g), G = (e) => v.map((t, n) => Number(c[n]?.[e]) || 0), K = (e, t) => {
|
|
23
23
|
let n = U * e - Math.PI / 2, r = B * t / H;
|
|
24
24
|
return {
|
|
25
25
|
x: r * Math.cos(n),
|
|
@@ -156,7 +156,7 @@ var v = c.forwardRef(({ data: c, axes: v, series: y, maxValue: b, levels: x = 5,
|
|
|
156
156
|
})
|
|
157
157
|
]
|
|
158
158
|
})
|
|
159
|
-
}), T && /* @__PURE__ */ p(
|
|
159
|
+
}), T && /* @__PURE__ */ p(r, { state: F })] }), E && /* @__PURE__ */ p(i, {
|
|
160
160
|
items: y.map((e, t) => ({
|
|
161
161
|
label: e.label,
|
|
162
162
|
color: V[t]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { cn as e } from "../lib/utils.js";
|
|
3
|
-
import {
|
|
3
|
+
import { resolveColor as t, useReducedMotion as n } from "../../_chunks/colors.js";
|
|
4
4
|
import * as r from "react";
|
|
5
5
|
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
6
6
|
import { motion as o } from "framer-motion";
|
|
@@ -11,7 +11,7 @@ var d = {
|
|
|
11
11
|
duration: 1,
|
|
12
12
|
ease: "easeOut"
|
|
13
13
|
}, f = r.forwardRef(({ data: r, variant: f = "line", width: p = 120, height: m = 32, color: h, showLastDot: g = !1, strokeWidth: _ = 1.5, animate: v = !0, className: y, ...b }, x) => {
|
|
14
|
-
let S =
|
|
14
|
+
let S = t(h, 0), C = n(), w = v && !C;
|
|
15
15
|
if (!r.length) return null;
|
|
16
16
|
let T = f === "bar" ? 1 : _, E = p - T * 2, D = m - T * 2, O = s().domain([0, Math.max(r.length - 1, 1)]).range([T, T + E]), k = Math.min(...r), A = Math.max(...r), j = k === A ? [k - 1, A + 1] : [k, A], M = s().domain(j).range([T + D, T]);
|
|
17
17
|
if (f === "bar") {
|
package/dist/ui/chat/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
export {
|
|
2
|
+
import { DateSeparator as e, Message as t, MessageInput as n, MessageList as r, SystemMessage as i, TypingIndicator as a, UnreadSeparator as o, useMessageContext as s } from "../../_chunks/chat.js";
|
|
3
|
+
export { e as DateSeparator, t as Message, n as MessageInput, r as MessageList, i as SystemMessage, a as TypingIndicator, o as UnreadSeparator, s as useMessageContext };
|
package/dist/ui/checkbox.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Checkbox as e, CheckboxIndicator as t } from "../_chunks/primitives.js";
|
|
3
3
|
import { durations as n } from "./lib/motion.js";
|
|
4
4
|
import { cn as r } from "./lib/utils.js";
|
|
5
5
|
import { useFormField as i } from "./form.js";
|
|
6
|
-
import {
|
|
6
|
+
import { resolveFieldState as a } from "../_chunks/field-state.js";
|
|
7
7
|
import * as o from "react";
|
|
8
8
|
import { jsx as s } from "react/jsx-runtime";
|
|
9
9
|
import { AnimatePresence as c, motion as l } from "framer-motion";
|
|
@@ -24,7 +24,7 @@ var u = {
|
|
|
24
24
|
let S = _ !== void 0, [C, w] = o.useState(h ? "indeterminate" : !!y), T = i(), E = a(m, T.state), D = b["aria-describedby"] ?? T.helperTextId, O = b["aria-required"] ?? T.required, k = h ? "indeterminate" : S ? _ : C, A = k === !0 || k === "indeterminate", j = o.useCallback((e) => {
|
|
25
25
|
S || w(e), v?.(e);
|
|
26
26
|
}, [S, v]);
|
|
27
|
-
return /* @__PURE__ */ s(
|
|
27
|
+
return /* @__PURE__ */ s(e, {
|
|
28
28
|
ref: x,
|
|
29
29
|
checked: S || h ? k : void 0,
|
|
30
30
|
defaultChecked: !S && !h ? y : void 0,
|
|
@@ -34,7 +34,7 @@ var u = {
|
|
|
34
34
|
"aria-describedby": D,
|
|
35
35
|
"aria-required": O || void 0,
|
|
36
36
|
...b,
|
|
37
|
-
children: /* @__PURE__ */ s(c, { children: A && /* @__PURE__ */ s(
|
|
37
|
+
children: /* @__PURE__ */ s(c, { children: A && /* @__PURE__ */ s(t, {
|
|
38
38
|
forceMount: !0,
|
|
39
39
|
asChild: !0,
|
|
40
40
|
children: /* @__PURE__ */ s(l.span, {
|
|
@@ -84,6 +84,6 @@ var u = {
|
|
|
84
84
|
}) })
|
|
85
85
|
});
|
|
86
86
|
});
|
|
87
|
-
p.displayName =
|
|
87
|
+
p.displayName = e.displayName;
|
|
88
88
|
//#endregion
|
|
89
89
|
export { p as Checkbox };
|
package/dist/ui/collapsible.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Content$3 as e, Root$9 as t, Trigger$10 as n } from "../_chunks/primitives.js";
|
|
3
3
|
import { tweens as r } from "./lib/motion.js";
|
|
4
4
|
import { cn as i } from "./lib/utils.js";
|
|
5
5
|
import * as a from "react";
|
|
6
6
|
import { jsx as o } from "react/jsx-runtime";
|
|
7
7
|
import { motion as s } from "framer-motion";
|
|
8
8
|
//#region src/ui/collapsible.tsx
|
|
9
|
-
var c =
|
|
9
|
+
var c = t, l = n, u = a.forwardRef(({ className: t, children: n, ...a }, c) => /* @__PURE__ */ o(e, {
|
|
10
10
|
ref: c,
|
|
11
|
-
className: i("overflow-hidden data-[state=open]:animate-collapsible-down data-[state=closed]:animate-collapsible-up",
|
|
11
|
+
className: i("overflow-hidden data-[state=open]:animate-collapsible-down data-[state=closed]:animate-collapsible-up", t),
|
|
12
12
|
...a,
|
|
13
13
|
children: /* @__PURE__ */ o(s.div, {
|
|
14
14
|
initial: !1,
|
|
@@ -17,6 +17,6 @@ var c = n, l = e, u = a.forwardRef(({ className: e, children: n, ...a }, c) => /
|
|
|
17
17
|
children: n
|
|
18
18
|
})
|
|
19
19
|
}));
|
|
20
|
-
u.displayName =
|
|
20
|
+
u.displayName = e.displayName;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { c as Collapsible, u as CollapsibleContent, l as CollapsibleTrigger };
|
package/dist/ui/color-input.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { durations as e, springs as t } from "./lib/motion.js";
|
|
3
3
|
import { cn as n } from "./lib/utils.js";
|
|
4
|
-
import {
|
|
5
|
-
import { i,
|
|
4
|
+
import { Z as r } from "../_chunks/vendor-client.js";
|
|
5
|
+
import { Popover as i, PopoverContent as a, PopoverTrigger as o } from "../_chunks/popover.js";
|
|
6
6
|
import * as s from "react";
|
|
7
7
|
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
8
8
|
import { AnimatePresence as u, motion as d } from "framer-motion";
|
|
@@ -174,10 +174,10 @@ var y = s.forwardRef(({ value: y = "#000000", onChange: b, presets: x, disabled:
|
|
|
174
174
|
ref: k,
|
|
175
175
|
className: n("inline-flex flex-col", D),
|
|
176
176
|
...O,
|
|
177
|
-
children: /* @__PURE__ */ l(
|
|
177
|
+
children: /* @__PURE__ */ l(i, {
|
|
178
178
|
open: M,
|
|
179
179
|
onOpenChange: H,
|
|
180
|
-
children: [/* @__PURE__ */ c(
|
|
180
|
+
children: [/* @__PURE__ */ c(o, {
|
|
181
181
|
asChild: !0,
|
|
182
182
|
children: E === "inline" ? /* @__PURE__ */ c(d.button, {
|
|
183
183
|
type: "button",
|
package/dist/ui/combobox.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Content2$6 as e, Portal$3 as t, Root2$8 as n, Trigger$8 as r } from "../_chunks/primitives.js";
|
|
3
3
|
import { IconProvider as ee } from "./icon-context.js";
|
|
4
4
|
import { springs as te, tweens as ne } from "./lib/motion.js";
|
|
5
|
-
import {
|
|
5
|
+
import { cva as i } from "../_chunks/vendor-utils.js";
|
|
6
6
|
import { cn as a } from "./lib/utils.js";
|
|
7
7
|
import { Icon as o } from "./icon.js";
|
|
8
8
|
import { useFormField as s } from "./form.js";
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
9
|
+
import { normalizeIcon as c } from "../_chunks/normalize-icon.js";
|
|
10
|
+
import { resolveFieldState as re } from "../_chunks/field-state.js";
|
|
11
11
|
import * as l from "react";
|
|
12
12
|
import { Fragment as ie, jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
13
13
|
import { IconCheck as f, IconChevronDown as p, IconSearch as m, IconX as h } from "@tabler/icons-react";
|
|
@@ -158,13 +158,13 @@ var _ = {
|
|
|
158
158
|
children: w
|
|
159
159
|
});
|
|
160
160
|
}, Q = s(), $ = re(M, Q.state), _e = $ === "error", ve = Q.helperTextId, ye = Q.required;
|
|
161
|
-
return /* @__PURE__ */ u(
|
|
161
|
+
return /* @__PURE__ */ u(n, {
|
|
162
162
|
open: I,
|
|
163
163
|
onOpenChange: fe,
|
|
164
164
|
children: /* @__PURE__ */ d("div", {
|
|
165
165
|
className: a("relative", le),
|
|
166
166
|
...N,
|
|
167
|
-
children: [/* @__PURE__ */ u(
|
|
167
|
+
children: [/* @__PURE__ */ u(r, {
|
|
168
168
|
asChild: !0,
|
|
169
169
|
disabled: E,
|
|
170
170
|
children: /* @__PURE__ */ d("button", {
|
|
@@ -186,7 +186,7 @@ var _ = {
|
|
|
186
186
|
className: a("ml-ds-02 shrink-0 opacity-50 transition-transform duration-fast-01 ease-productive-standard", I && "rotate-180")
|
|
187
187
|
})]
|
|
188
188
|
})
|
|
189
|
-
}), /* @__PURE__ */ u(
|
|
189
|
+
}), /* @__PURE__ */ u(t, { children: /* @__PURE__ */ u(e, {
|
|
190
190
|
asChild: !0,
|
|
191
191
|
sideOffset: 4,
|
|
192
192
|
align: "start",
|
package/dist/ui/context-menu.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { CheckboxItem2$2 as e, Content2$5 as t, Group2$2 as n, Item2$3 as r, ItemIndicator2$2 as i, Label2$2 as a, Portal2$2 as o, RadioGroup2$2 as s, RadioItem2$2 as c, Root2$7 as l, Separator2$2 as u, Sub2$2 as d, SubContent2$2 as f, SubTrigger2$2 as p, Trigger$7 as m } from "../_chunks/primitives.js";
|
|
3
3
|
import { springs as h, tweens as g } from "./lib/motion.js";
|
|
4
4
|
import { cn as _ } from "./lib/utils.js";
|
|
5
5
|
import { Icon as v } from "./icon.js";
|
|
@@ -21,32 +21,32 @@ var D = y.createContext(!1), O = y.createContext(!1), k = ({ onOpenChange: e, ..
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
k.displayName = "ContextMenu";
|
|
24
|
-
var A =
|
|
25
|
-
let [
|
|
26
|
-
|
|
27
|
-
}, [
|
|
24
|
+
var A = m, j = n, M = o, N = ({ open: e, defaultOpen: t = !1, onOpenChange: n, ...r }) => {
|
|
25
|
+
let [i, a] = y.useState(t), o = e !== void 0, s = o ? e : i, c = y.useCallback((e) => {
|
|
26
|
+
o || a(e), n?.(e);
|
|
27
|
+
}, [o, n]);
|
|
28
28
|
return /* @__PURE__ */ b(O.Provider, {
|
|
29
|
-
value:
|
|
30
|
-
children: /* @__PURE__ */ b(
|
|
31
|
-
open:
|
|
32
|
-
onOpenChange:
|
|
33
|
-
...
|
|
29
|
+
value: s,
|
|
30
|
+
children: /* @__PURE__ */ b(d, {
|
|
31
|
+
open: s,
|
|
32
|
+
onOpenChange: c,
|
|
33
|
+
...r
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
};
|
|
37
37
|
N.displayName = "ContextMenuSub";
|
|
38
|
-
var P =
|
|
39
|
-
ref:
|
|
38
|
+
var P = s, F = y.forwardRef(({ className: e, inset: t, children: n, ...r }, i) => /* @__PURE__ */ x(p, {
|
|
39
|
+
ref: i,
|
|
40
40
|
className: _("flex cursor-default select-none items-center rounded-control px-ds-03 py-ds-02b text-ds-md outline-hidden focus:bg-surface-raised focus:text-surface-fg data-[state=open]:bg-surface-raised data-[state=open]:text-surface-fg", t && "pl-ds-07", e),
|
|
41
|
-
...
|
|
41
|
+
...r,
|
|
42
42
|
children: [n, /* @__PURE__ */ b(v, {
|
|
43
43
|
icon: C,
|
|
44
44
|
size: "sm",
|
|
45
45
|
className: "ml-auto"
|
|
46
46
|
})]
|
|
47
47
|
}));
|
|
48
|
-
F.displayName =
|
|
49
|
-
var I = y.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ b(T, { children: y.useContext(O) && /* @__PURE__ */ b(
|
|
48
|
+
F.displayName = p.displayName;
|
|
49
|
+
var I = y.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ b(T, { children: y.useContext(O) && /* @__PURE__ */ b(f, {
|
|
50
50
|
ref: r,
|
|
51
51
|
forceMount: !0,
|
|
52
52
|
asChild: !0,
|
|
@@ -72,14 +72,14 @@ var I = y.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */
|
|
|
72
72
|
children: t
|
|
73
73
|
})
|
|
74
74
|
}) }));
|
|
75
|
-
I.displayName =
|
|
76
|
-
var L = y.forwardRef(({ className:
|
|
75
|
+
I.displayName = f.displayName;
|
|
76
|
+
var L = y.forwardRef(({ className: e, children: n, ...r }, i) => /* @__PURE__ */ b(T, { children: y.useContext(D) && /* @__PURE__ */ b(o, {
|
|
77
77
|
forceMount: !0,
|
|
78
|
-
children: /* @__PURE__ */ b(
|
|
79
|
-
ref:
|
|
78
|
+
children: /* @__PURE__ */ b(t, {
|
|
79
|
+
ref: i,
|
|
80
80
|
forceMount: !0,
|
|
81
81
|
asChild: !0,
|
|
82
|
-
...
|
|
82
|
+
...r,
|
|
83
83
|
children: /* @__PURE__ */ b(E.div, {
|
|
84
84
|
initial: {
|
|
85
85
|
opacity: 0,
|
|
@@ -97,58 +97,58 @@ var L = y.forwardRef(({ className: t, children: r, ...i }, a) => /* @__PURE__ */
|
|
|
97
97
|
...h.snappy,
|
|
98
98
|
opacity: g.fade
|
|
99
99
|
},
|
|
100
|
-
className: _("z-popover rounded-overlay bg-surface-overlay p-ds-02 text-surface-fg shadow-floating",
|
|
101
|
-
children:
|
|
100
|
+
className: _("z-popover rounded-overlay bg-surface-overlay p-ds-02 text-surface-fg shadow-floating", e),
|
|
101
|
+
children: n
|
|
102
102
|
})
|
|
103
103
|
})
|
|
104
104
|
}) }));
|
|
105
|
-
L.displayName =
|
|
106
|
-
var R = y.forwardRef(({ className: e, inset: t, ...n },
|
|
107
|
-
ref:
|
|
105
|
+
L.displayName = t.displayName;
|
|
106
|
+
var R = y.forwardRef(({ className: e, inset: t, ...n }, i) => /* @__PURE__ */ b(r, {
|
|
107
|
+
ref: i,
|
|
108
108
|
className: _("relative flex cursor-default select-none items-center rounded-control px-ds-03 py-ds-02b text-ds-md outline-hidden focus:bg-surface-raised focus:text-surface-fg data-[disabled]:pointer-events-none data-[disabled]:opacity-action-disabled", t && "pl-ds-07", e),
|
|
109
109
|
...n
|
|
110
110
|
}));
|
|
111
|
-
R.displayName =
|
|
112
|
-
var z = y.forwardRef(({ className:
|
|
113
|
-
ref:
|
|
114
|
-
className: _("relative flex cursor-default select-none items-center rounded-control py-ds-02b pl-ds-07 pr-ds-03 text-ds-md outline-hidden focus:bg-surface-raised focus:text-surface-fg data-[disabled]:pointer-events-none data-[disabled]:opacity-action-disabled",
|
|
115
|
-
checked:
|
|
116
|
-
...
|
|
111
|
+
R.displayName = r.displayName;
|
|
112
|
+
var z = y.forwardRef(({ className: t, children: n, checked: r, ...a }, o) => /* @__PURE__ */ x(e, {
|
|
113
|
+
ref: o,
|
|
114
|
+
className: _("relative flex cursor-default select-none items-center rounded-control py-ds-02b pl-ds-07 pr-ds-03 text-ds-md outline-hidden focus:bg-surface-raised focus:text-surface-fg data-[disabled]:pointer-events-none data-[disabled]:opacity-action-disabled", t),
|
|
115
|
+
checked: r,
|
|
116
|
+
...a,
|
|
117
117
|
children: [/* @__PURE__ */ b("span", {
|
|
118
118
|
className: "absolute left-ds-03 flex h-ico-sm w-ico-sm items-center justify-center",
|
|
119
|
-
children: /* @__PURE__ */ b(
|
|
119
|
+
children: /* @__PURE__ */ b(i, { children: /* @__PURE__ */ b(v, {
|
|
120
120
|
icon: S,
|
|
121
121
|
size: "sm"
|
|
122
122
|
}) })
|
|
123
|
-
}),
|
|
123
|
+
}), n]
|
|
124
124
|
}));
|
|
125
|
-
z.displayName =
|
|
126
|
-
var B = y.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ x(
|
|
125
|
+
z.displayName = e.displayName;
|
|
126
|
+
var B = y.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ x(c, {
|
|
127
127
|
ref: r,
|
|
128
128
|
className: _("relative flex cursor-default select-none items-center rounded-control py-ds-02b pl-ds-07 pr-ds-03 text-ds-md outline-hidden focus:bg-surface-raised focus:text-surface-fg data-[disabled]:pointer-events-none data-[disabled]:opacity-action-disabled", e),
|
|
129
129
|
...n,
|
|
130
130
|
children: [/* @__PURE__ */ b("span", {
|
|
131
131
|
className: "absolute left-ds-03 flex h-ico-sm w-ico-sm items-center justify-center",
|
|
132
|
-
children: /* @__PURE__ */ b(
|
|
132
|
+
children: /* @__PURE__ */ b(i, { children: /* @__PURE__ */ b(v, {
|
|
133
133
|
icon: w,
|
|
134
134
|
size: "sm",
|
|
135
135
|
className: "fill-current"
|
|
136
136
|
}) })
|
|
137
137
|
}), t]
|
|
138
138
|
}));
|
|
139
|
-
B.displayName =
|
|
140
|
-
var V = y.forwardRef(({ className: e, inset: t, ...n }, r) => /* @__PURE__ */ b(
|
|
139
|
+
B.displayName = c.displayName;
|
|
140
|
+
var V = y.forwardRef(({ className: e, inset: t, ...n }, r) => /* @__PURE__ */ b(a, {
|
|
141
141
|
ref: r,
|
|
142
142
|
className: _("px-ds-03 py-ds-02b text-ds-md font-semibold text-surface-fg", t && "pl-ds-07", e),
|
|
143
143
|
...n
|
|
144
144
|
}));
|
|
145
|
-
V.displayName =
|
|
146
|
-
var H = y.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ b(
|
|
145
|
+
V.displayName = a.displayName;
|
|
146
|
+
var H = y.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ b(u, {
|
|
147
147
|
ref: n,
|
|
148
148
|
className: _("-mx-ds-01 my-ds-02 h-px bg-surface-border", e),
|
|
149
149
|
...t
|
|
150
150
|
}));
|
|
151
|
-
H.displayName =
|
|
151
|
+
H.displayName = u.displayName;
|
|
152
152
|
var U = ({ className: e, ...t }) => /* @__PURE__ */ b("span", {
|
|
153
153
|
className: _("ml-auto text-ds-sm text-surface-fg-subtle", e),
|
|
154
154
|
...t
|