@actioneer/ads 0.5.7 → 0.5.9
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/bin/ads-init.mjs +6 -0
- package/components/accordion.js +50 -48
- package/components/agent-icon.d.ts +12 -0
- package/components/agent-icon.js +133 -120
- package/components/ai-elements/chain-of-thought.d.ts +1 -1
- package/components/ai-elements/chain-of-thought.js +108 -108
- package/components/ai-elements/chart.js +16 -14
- package/components/ai-elements/inline-citation.js +41 -41
- package/components/ai-elements/message.js +4 -4
- package/components/ai-elements/queue.js +7 -7
- package/components/ai-elements/research-activity.js +114 -114
- package/components/ai-elements/shimmer.d.ts +2 -2
- package/components/ai-elements/speech-input.js +28 -28
- package/components/ai-elements/task-progress.js +26 -16
- package/components/ai-elements/task.js +17 -17
- package/components/ai-elements/tool.js +6 -6
- package/components/ai-elements/transcript.js +6 -5
- package/components/ai-elements/voice.js +1 -1
- package/components/alert.js +10 -10
- package/components/answer-sources.js +1 -1
- package/components/answer.js +115 -114
- package/components/assistant-ui/action-bar.js +94 -48
- package/components/assistant-ui/attachment.js +103 -75
- package/components/assistant-ui/badge.d.ts +1 -1
- package/components/assistant-ui/badge.js +17 -17
- package/components/assistant-ui/chain-of-thought.d.ts +1 -1
- package/components/assistant-ui/composer-add-context.js +9 -9
- package/components/assistant-ui/composer-deep-research.js +5 -5
- package/components/assistant-ui/composer-harness.js +11 -9
- package/components/assistant-ui/composer-trigger-popover.js +45 -34
- package/components/assistant-ui/composer.js +59 -59
- package/components/assistant-ui/error.js +14 -14
- package/components/assistant-ui/file.d.ts +1 -1
- package/components/assistant-ui/image.d.ts +1 -1
- package/components/assistant-ui/image.js +113 -103
- package/components/assistant-ui/markdown-text.js +18 -18
- package/components/assistant-ui/message.js +46 -45
- package/components/assistant-ui/quote.js +1 -1
- package/components/assistant-ui/reasoning.d.ts +1 -1
- package/components/assistant-ui/reasoning.js +66 -77
- package/components/assistant-ui/suggestions.js +4 -4
- package/components/assistant-ui/thread.js +22 -22
- package/components/assistant-ui/tool-fallback.js +60 -63
- package/components/assistant-ui/tool-group.d.ts +1 -1
- package/components/assistant-ui/tool-group.js +36 -42
- package/components/audio-waveform.js +25 -24
- package/components/autocomplete.d.ts +1 -0
- package/components/autocomplete.js +45 -43
- package/components/avatar.d.ts +1 -0
- package/components/avatar.js +27 -26
- package/components/badge.d.ts +1 -1
- package/components/breadcrumbs.d.ts +2 -0
- package/components/breadcrumbs.js +52 -50
- package/components/button.d.ts +2 -2
- package/components/button.js +22 -20
- package/components/card.js +8 -8
- package/components/carousel.js +105 -104
- package/components/chart.d.ts +6 -0
- package/components/chart.js +743 -672
- package/components/checkbox.js +74 -38
- package/components/chip.d.ts +1 -1
- package/components/code-block.js +3 -3
- package/components/collapsible.js +67 -23
- package/components/connector-card.js +6 -6
- package/components/drawer.d.ts +18 -11
- package/components/drawer.js +81 -78
- package/components/dropdown.d.ts +2 -0
- package/components/dropdown.js +88 -79
- package/components/empty-state.d.ts +1 -1
- package/components/empty-state.js +7 -7
- package/components/field.d.ts +4 -0
- package/components/field.js +45 -34
- package/components/file-dropzone.js +12 -12
- package/components/index.d.ts +3 -0
- package/components/index.js +584 -558
- package/components/input-field.js +51 -46
- package/components/input.js +20 -20
- package/components/link.js +9 -9
- package/components/modal.d.ts +5 -1
- package/components/modal.js +121 -76
- package/components/navbar.d.ts +1 -1
- package/components/navbar.js +1 -1
- package/components/number-field.js +38 -29
- package/components/page-header.js +12 -12
- package/components/pagination.js +19 -19
- package/components/panel.js +2 -2
- package/components/pixel-blast-svg.js +3 -3
- package/components/pixel-icon.d.ts +4 -0
- package/components/pixel-icon.js +210 -164
- package/components/popover.d.ts +1 -1
- package/components/popover.js +66 -64
- package/components/progress-circle.js +36 -32
- package/components/progress.js +28 -24
- package/components/radio.js +59 -49
- package/components/resizable-panel.js +1 -1
- package/components/reveal.d.ts +2 -2
- package/components/ripple.d.ts +3 -3
- package/components/scroll-area.js +17 -16
- package/components/segmented.d.ts +1 -0
- package/components/segmented.js +39 -36
- package/components/select.d.ts +7 -0
- package/components/select.js +186 -137
- package/components/setting-row.js +45 -42
- package/components/sidebar.js +131 -127
- package/components/skeleton.js +5 -5
- package/components/spinner.d.ts +13 -4
- package/components/spinner.js +42 -42
- package/components/stepper.js +21 -21
- package/components/switch.js +41 -39
- package/components/table.d.ts +16 -0
- package/components/table.js +393 -260
- package/components/tabs.js +149 -137
- package/components/toast.js +66 -66
- package/components/tooltip.js +2 -2
- package/components/tree.js +62 -51
- package/components/typography.d.ts +2 -1
- package/components/typography.js +33 -32
- package/components/ui/button.d.ts +2 -2
- package/components/ui/button.js +19 -19
- package/components/ui/collapsible.d.ts +1 -5
- package/components/ui/dialog.d.ts +3 -3
- package/components/ui/dialog.js +95 -58
- package/components/ui/tooltip.d.ts +2 -2
- package/components/ui/tooltip.js +67 -33
- package/components/viz-charts.js +95 -95
- package/demo/components/add-to-artifact.js +363 -0
- package/demo/lib/artifact-library.js +142 -0
- package/demo/lib/artifact-pin-guard.js +12 -0
- package/fonts/aribau-grotesk-medium.woff2 +0 -0
- package/fonts/aribau-grotesk-regular.woff2 +0 -0
- package/fonts.css +11 -11
- package/hooks/agents-ui/use-agent-audio-visualizer-aura.js +17 -16
- package/hooks/agents-ui/use-agent-audio-visualizer-wave.js +21 -20
- package/lib/icons.d.ts +24 -0
- package/lib/icons.js +114 -108
- package/lib/motion.d.ts +42 -39
- package/lib/motion.js +112 -52
- package/lib/spinner-mark.d.ts +9 -0
- package/lib/spinner-mark.js +98 -0
- package/llms.txt +53 -19
- package/manifest.json +258 -36
- package/package.json +1 -1
- package/styles.css +143 -124
- package/theme.css +90 -93
- package/components/ui/collapsible.js +0 -35
- package/fonts/aribau-grotesk-500.otf +0 -0
- package/fonts/aribau-grotesk-600.woff2 +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as
|
|
2
|
+
import { jsxs as h, jsx as e, Fragment as B } from "react/jsx-runtime";
|
|
3
3
|
import * as t from "react";
|
|
4
|
-
import { ArrowLeft as
|
|
5
|
-
import { cn as
|
|
6
|
-
const
|
|
4
|
+
import { ArrowLeft as y } from "../lib/icons.js";
|
|
5
|
+
import { cn as c } from "../lib/cn.js";
|
|
6
|
+
const w = t.createContext({
|
|
7
7
|
count: 0
|
|
8
|
-
}),
|
|
8
|
+
}), C = t.createContext(0);
|
|
9
9
|
function R(s) {
|
|
10
10
|
let n = (s == null ? void 0 : s.parentElement) ?? null;
|
|
11
11
|
for (; n; ) {
|
|
@@ -15,102 +15,104 @@ function R(s) {
|
|
|
15
15
|
}
|
|
16
16
|
return null;
|
|
17
17
|
}
|
|
18
|
-
const
|
|
18
|
+
const z = t.forwardRef(
|
|
19
19
|
({
|
|
20
20
|
className: s,
|
|
21
21
|
children: n,
|
|
22
22
|
sticky: r,
|
|
23
|
-
onBack:
|
|
24
|
-
backLabel:
|
|
23
|
+
onBack: u,
|
|
24
|
+
backLabel: x = "Back",
|
|
25
25
|
actions: m,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
center: f,
|
|
27
|
+
meta: b,
|
|
28
|
+
...v
|
|
29
|
+
}, l) => {
|
|
30
|
+
const a = t.Children.toArray(n), i = t.useRef(null), p = t.useCallback(
|
|
30
31
|
(o) => {
|
|
31
|
-
|
|
32
|
+
i.current = o, typeof l == "function" ? l(o) : l && (l.current = o);
|
|
32
33
|
},
|
|
33
|
-
[
|
|
34
|
-
), [
|
|
34
|
+
[l]
|
|
35
|
+
), [N, k] = t.useState(!1);
|
|
35
36
|
return t.useEffect(() => {
|
|
36
37
|
if (!r) return;
|
|
37
|
-
const o = R(
|
|
38
|
-
return
|
|
39
|
-
}, [r]), /* @__PURE__ */
|
|
38
|
+
const o = R(i.current), d = o ?? window, g = () => k((o ? o.scrollTop : window.scrollY) > 2);
|
|
39
|
+
return g(), d.addEventListener("scroll", g, { passive: !0 }), () => d.removeEventListener("scroll", g);
|
|
40
|
+
}, [r]), /* @__PURE__ */ h(
|
|
40
41
|
"nav",
|
|
41
42
|
{
|
|
42
|
-
ref:
|
|
43
|
+
ref: p,
|
|
43
44
|
"aria-label": "Breadcrumb",
|
|
44
|
-
"data-stuck": r ?
|
|
45
|
-
className:
|
|
46
|
-
"flex w-full items-center",
|
|
47
|
-
r && "sticky top-0 z-40 bg-background transition-[border-color] duration-
|
|
45
|
+
"data-stuck": r ? N ? "true" : "false" : void 0,
|
|
46
|
+
className: c(
|
|
47
|
+
"relative flex w-full items-center",
|
|
48
|
+
r && "sticky top-0 z-40 bg-background transition-[border-color] duration-150 ease-out motion-reduce:transition-none",
|
|
48
49
|
// Sticky offsets resolve against the scrollport's PADDING box, so in
|
|
49
50
|
// a padded panel the pinned trail sits below a strip the content
|
|
50
51
|
// would otherwise scroll through. This cover extends the trail's own
|
|
51
52
|
// background over that gap (a no-op at rest, where the strip is the
|
|
52
53
|
// panel's empty padding).
|
|
53
54
|
r && "before:absolute before:inset-x-0 before:-top-8 before:h-8 before:bg-inherit before:content-['']",
|
|
54
|
-
r && (
|
|
55
|
+
r && (N ? "border-b border-border" : "border-b border-transparent"),
|
|
55
56
|
s
|
|
56
57
|
),
|
|
57
|
-
...
|
|
58
|
+
...v,
|
|
58
59
|
children: [
|
|
59
|
-
|
|
60
|
+
u && /* @__PURE__ */ e(
|
|
60
61
|
"button",
|
|
61
62
|
{
|
|
62
63
|
type: "button",
|
|
63
|
-
onClick:
|
|
64
|
-
"aria-label":
|
|
65
|
-
className:
|
|
66
|
-
"mr-1 inline-flex size-6 shrink-0 items-center justify-center rounded-
|
|
64
|
+
onClick: u,
|
|
65
|
+
"aria-label": x,
|
|
66
|
+
className: c(
|
|
67
|
+
"mr-1 inline-flex size-6 shrink-0 items-center justify-center rounded-sm text-muted-foreground",
|
|
67
68
|
"transition-colors hover:bg-fill hover:text-foreground",
|
|
68
69
|
"outline-none focus-visible:ring-3 focus-visible:ring-ring [&_svg]:size-4"
|
|
69
70
|
),
|
|
70
|
-
children: /* @__PURE__ */ e(
|
|
71
|
+
children: /* @__PURE__ */ e(y, { "aria-hidden": !0 })
|
|
71
72
|
}
|
|
72
73
|
),
|
|
73
|
-
/* @__PURE__ */ e("ol", { className: "flex min-w-0 items-center gap-1.5 text-base", children: /* @__PURE__ */ e(
|
|
74
|
-
|
|
74
|
+
/* @__PURE__ */ e("ol", { className: "flex min-w-0 items-center gap-1.5 text-base", children: /* @__PURE__ */ e(w.Provider, { value: { count: a.length }, children: a.map((o, d) => /* @__PURE__ */ e(C.Provider, { value: d, children: o }, d)) }) }),
|
|
75
|
+
b && /* @__PURE__ */ e("div", { className: "ml-4 flex min-w-0 shrink items-center gap-3 text-xs text-muted-foreground", children: b }),
|
|
76
|
+
f && /* @__PURE__ */ e("div", { className: "absolute left-1/2 top-1/2 z-50 flex -translate-x-1/2 -translate-y-1/2 items-center", children: f }),
|
|
75
77
|
m && /* @__PURE__ */ e("div", { className: "ml-auto flex shrink-0 items-center gap-2 pl-4", children: m })
|
|
76
78
|
]
|
|
77
79
|
}
|
|
78
80
|
);
|
|
79
81
|
}
|
|
80
82
|
);
|
|
81
|
-
|
|
82
|
-
const E = t.forwardRef(({ className: s, href: n, isCurrent: r, icon:
|
|
83
|
-
const { count:
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
] }),
|
|
83
|
+
z.displayName = "Breadcrumbs";
|
|
84
|
+
const E = t.forwardRef(({ className: s, href: n, isCurrent: r, icon: u, children: x, ...m }, f) => {
|
|
85
|
+
const { count: b } = t.useContext(w), l = t.useContext(C) === b - 1, a = "inline-flex items-center gap-1.5", i = /* @__PURE__ */ h(B, { children: [
|
|
86
|
+
u && /* @__PURE__ */ e("span", { "aria-hidden": !0, className: "flex shrink-0 items-center [&_svg]:size-4", children: u }),
|
|
87
|
+
x
|
|
88
|
+
] }), p = r ? /* @__PURE__ */ e(
|
|
87
89
|
"span",
|
|
88
90
|
{
|
|
89
91
|
"aria-current": "page",
|
|
90
|
-
className: a
|
|
91
|
-
children:
|
|
92
|
+
className: c(a, "font-normal text-primary"),
|
|
93
|
+
children: i
|
|
92
94
|
}
|
|
93
95
|
) : n ? /* @__PURE__ */ e(
|
|
94
96
|
"a",
|
|
95
97
|
{
|
|
96
98
|
href: n,
|
|
97
|
-
className:
|
|
98
|
-
|
|
99
|
+
className: c(
|
|
100
|
+
a,
|
|
99
101
|
"font-normal text-muted-foreground transition-colors hover:text-foreground",
|
|
100
102
|
"outline-none focus-visible:ring-3 focus-visible:ring-ring rounded-sm"
|
|
101
103
|
),
|
|
102
|
-
children:
|
|
104
|
+
children: i
|
|
103
105
|
}
|
|
104
|
-
) : /* @__PURE__ */ e("span", { className: a
|
|
105
|
-
return /* @__PURE__ */
|
|
106
|
+
) : /* @__PURE__ */ e("span", { className: c(a, "text-muted-foreground"), children: i });
|
|
107
|
+
return /* @__PURE__ */ h(
|
|
106
108
|
"li",
|
|
107
109
|
{
|
|
108
110
|
ref: f,
|
|
109
|
-
className:
|
|
111
|
+
className: c("flex items-center gap-1.5", s),
|
|
110
112
|
...m,
|
|
111
113
|
children: [
|
|
112
|
-
|
|
113
|
-
!
|
|
114
|
+
p,
|
|
115
|
+
!l && /* @__PURE__ */ e("span", { "aria-hidden": !0, className: "shrink-0 select-none text-border-strong", children: "/" })
|
|
114
116
|
]
|
|
115
117
|
}
|
|
116
118
|
);
|
|
@@ -118,5 +120,5 @@ const E = t.forwardRef(({ className: s, href: n, isCurrent: r, icon: c, children
|
|
|
118
120
|
E.displayName = "BreadcrumbItem";
|
|
119
121
|
export {
|
|
120
122
|
E as BreadcrumbItem,
|
|
121
|
-
|
|
123
|
+
z as Breadcrumbs
|
|
122
124
|
};
|
package/components/button.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
export declare const buttonVariants: (props?: ({
|
|
4
|
-
variant?: "danger" | "soft" | "
|
|
5
|
-
size?: "
|
|
4
|
+
variant?: "danger" | "soft" | "outline" | "link" | "solid" | "secondary" | "ghost" | null | undefined;
|
|
5
|
+
size?: "xs" | "sm" | "md" | "lg" | "icon" | "icon-sm" | "icon-xs" | null | undefined;
|
|
6
6
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
7
|
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
8
8
|
isLoading?: boolean;
|
package/components/button.js
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as r, jsx as
|
|
3
|
-
import * as
|
|
2
|
+
import { jsxs as r, jsx as m } from "react/jsx-runtime";
|
|
3
|
+
import * as b from "react";
|
|
4
4
|
import { cva as v } from "class-variance-authority";
|
|
5
5
|
import { cn as n } from "../lib/cn.js";
|
|
6
|
-
import { Spinner as
|
|
6
|
+
import { Spinner as f } from "./spinner.js";
|
|
7
7
|
const p = v(
|
|
8
8
|
[
|
|
9
9
|
"relative inline-flex items-center justify-center gap-2 whitespace-nowrap",
|
|
10
10
|
"font-normal select-none",
|
|
11
11
|
"rounded-md border border-transparent",
|
|
12
|
-
"transition-[background,border,color,box-shadow,transform] duration-
|
|
12
|
+
"transition-[background,border,color,box-shadow,transform] duration-150 ease-out motion-reduce:transition-none",
|
|
13
13
|
"outline-none focus-visible:ring-3 focus-visible:ring-ring",
|
|
14
14
|
// Press feedback: the button visibly answers the press (guide: any
|
|
15
|
-
// pressable element scales down on :active).
|
|
16
|
-
|
|
15
|
+
// pressable element scales down on :active). Movement is dropped under
|
|
16
|
+
// reduced-motion; color/opacity feedback stays.
|
|
17
|
+
"active:scale-[0.97] motion-reduce:active:scale-100",
|
|
17
18
|
"disabled:pointer-events-none",
|
|
18
19
|
"[&_svg]:pointer-events-none [&_svg]:shrink-0"
|
|
19
20
|
],
|
|
@@ -21,26 +22,26 @@ const p = v(
|
|
|
21
22
|
variants: {
|
|
22
23
|
variant: {
|
|
23
24
|
solid: "bg-brand text-brand-foreground shadow-[var(--inner-glow-cta)] hover:bg-brand-hover",
|
|
24
|
-
secondary: "bg-fill text-fill-foreground shadow-[var(--inner-glow-fill)] hover:bg-
|
|
25
|
+
secondary: "bg-fill text-fill-foreground shadow-[var(--inner-glow-fill)] hover:bg-muted",
|
|
25
26
|
outline: "border-border bg-transparent text-foreground hover:border-border-strong hover:bg-muted",
|
|
26
27
|
ghost: "bg-transparent text-foreground hover:bg-muted",
|
|
27
|
-
soft: "bg-muted text-foreground shadow-[var(--inner-glow-fill)] hover:bg-
|
|
28
|
+
soft: "bg-muted text-foreground shadow-[var(--inner-glow-fill)] hover:bg-accent",
|
|
28
29
|
link: "bg-transparent text-foreground underline-offset-4 hover:underline active:scale-none",
|
|
29
30
|
danger: "bg-danger text-danger-foreground hover:bg-danger/90 focus-visible:ring-danger/40"
|
|
30
31
|
},
|
|
31
32
|
size: {
|
|
32
|
-
xs: "h-7 px-2.5 text-xs [&_svg]:size-3.5",
|
|
33
|
-
sm: "h-8 px-3 text-xs [&_svg]:size-4",
|
|
34
|
-
md: "h-10 px-4 text-xs [&_svg]:size-4",
|
|
35
|
-
lg: "h-11 px-5 text-base [&_svg]:size-5",
|
|
36
|
-
icon: "size-10 rounded-
|
|
37
|
-
"icon-sm": "size-8 rounded-
|
|
38
|
-
"icon-xs": "size-7 rounded-
|
|
33
|
+
xs: "h-7 rounded-sm px-2.5 text-xs [&_svg]:size-3.5",
|
|
34
|
+
sm: "h-8 rounded-sm px-3 text-xs [&_svg]:size-4",
|
|
35
|
+
md: "h-10 rounded-md px-4 text-xs [&_svg]:size-4",
|
|
36
|
+
lg: "h-11 rounded-md px-5 text-base [&_svg]:size-5",
|
|
37
|
+
icon: "size-10 rounded-md [&_svg]:size-4",
|
|
38
|
+
"icon-sm": "size-8 rounded-sm [&_svg]:size-4",
|
|
39
|
+
"icon-xs": "size-7 rounded-sm [&_svg]:size-4"
|
|
39
40
|
}
|
|
40
41
|
},
|
|
41
42
|
defaultVariants: { variant: "solid", size: "md" }
|
|
42
43
|
}
|
|
43
|
-
), x =
|
|
44
|
+
), x = b.forwardRef(
|
|
44
45
|
({
|
|
45
46
|
className: o,
|
|
46
47
|
variant: t,
|
|
@@ -52,10 +53,10 @@ const p = v(
|
|
|
52
53
|
disabled: l,
|
|
53
54
|
children: g,
|
|
54
55
|
...u
|
|
55
|
-
},
|
|
56
|
+
}, c) => /* @__PURE__ */ r(
|
|
56
57
|
"button",
|
|
57
58
|
{
|
|
58
|
-
ref:
|
|
59
|
+
ref: c,
|
|
59
60
|
disabled: l || e,
|
|
60
61
|
"aria-busy": e || void 0,
|
|
61
62
|
className: n(
|
|
@@ -67,9 +68,10 @@ const p = v(
|
|
|
67
68
|
),
|
|
68
69
|
...u,
|
|
69
70
|
children: [
|
|
70
|
-
e && /* @__PURE__ */
|
|
71
|
-
|
|
71
|
+
e && /* @__PURE__ */ m(
|
|
72
|
+
f,
|
|
72
73
|
{
|
|
74
|
+
variant: "action",
|
|
73
75
|
size: "sm",
|
|
74
76
|
className: "absolute",
|
|
75
77
|
"aria-hidden": !0
|
package/components/card.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import { jsx as t } from "react/jsx-runtime";
|
|
3
3
|
import * as d from "react";
|
|
4
4
|
import { cn as o } from "../lib/cn.js";
|
|
5
|
-
const
|
|
5
|
+
const l = d.forwardRef(
|
|
6
6
|
({ className: r, isHoverable: e, isPressable: a, children: s, ...n }, i) => {
|
|
7
|
-
const
|
|
7
|
+
const c = o(
|
|
8
8
|
"bg-card text-card-foreground rounded-xl",
|
|
9
|
-
(a || e) && "shadow-elevation transition-[box-shadow,transform] duration-
|
|
9
|
+
(a || e) && "shadow-elevation transition-[box-shadow,transform] duration-150 ease-out motion-reduce:transition-none",
|
|
10
10
|
e && "hover:-translate-y-0.5",
|
|
11
11
|
r
|
|
12
12
|
);
|
|
@@ -16,7 +16,7 @@ const c = d.forwardRef(
|
|
|
16
16
|
ref: i,
|
|
17
17
|
type: "button",
|
|
18
18
|
className: o(
|
|
19
|
-
|
|
19
|
+
c,
|
|
20
20
|
"w-full text-left cursor-pointer",
|
|
21
21
|
"outline-none focus-visible:ring-3 focus-visible:ring-ring",
|
|
22
22
|
"active:translate-y-px"
|
|
@@ -24,10 +24,10 @@ const c = d.forwardRef(
|
|
|
24
24
|
...n,
|
|
25
25
|
children: s
|
|
26
26
|
}
|
|
27
|
-
) : /* @__PURE__ */ t("div", { ref: i, className:
|
|
27
|
+
) : /* @__PURE__ */ t("div", { ref: i, className: c, ...n, children: s });
|
|
28
28
|
}
|
|
29
29
|
);
|
|
30
|
-
|
|
30
|
+
l.displayName = "Card";
|
|
31
31
|
const f = d.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ t(
|
|
32
32
|
"div",
|
|
33
33
|
{
|
|
@@ -41,7 +41,7 @@ const m = d.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ t(
|
|
|
41
41
|
"h3",
|
|
42
42
|
{
|
|
43
43
|
ref: a,
|
|
44
|
-
className: o("text-base font-
|
|
44
|
+
className: o("text-base font-medium leading-none", r),
|
|
45
45
|
...e
|
|
46
46
|
}
|
|
47
47
|
));
|
|
@@ -73,7 +73,7 @@ const x = d.forwardRef(
|
|
|
73
73
|
);
|
|
74
74
|
x.displayName = "CardFooter";
|
|
75
75
|
export {
|
|
76
|
-
|
|
76
|
+
l as Card,
|
|
77
77
|
u as CardBody,
|
|
78
78
|
p as CardDescription,
|
|
79
79
|
x as CardFooter,
|