@actioneer/ads 0.6.0 → 0.7.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/components/ai-elements/agent-trace.d.ts +2 -2
- package/components/ai-elements/agent-trace.js +163 -104
- package/components/ai-elements/chain-of-thought.d.ts +2 -2
- package/components/ai-elements/chain-of-thought.js +1 -1
- package/components/ai-elements/index.d.ts +0 -5
- package/components/ai-elements/inline-citation.js +1 -1
- package/components/alert.d.ts +6 -6
- package/components/alert.js +89 -53
- package/components/answer-sources.d.ts +2 -6
- package/components/answer-sources.js +58 -60
- package/components/answer.d.ts +5 -0
- package/components/answer.js +311 -271
- package/components/assistant-ui/composer-harness.js +15 -20
- package/components/assistant-ui/composer.d.ts +3 -1
- package/components/assistant-ui/composer.js +148 -144
- package/components/assistant-ui/index.d.ts +0 -3
- package/components/assistant-ui/thread-context.d.ts +3 -1
- package/components/assistant-ui/thread.js +50 -42
- package/components/avatar.js +42 -42
- package/components/badge.d.ts +5 -6
- package/components/badge.js +13 -76
- package/components/body-page-header.d.ts +15 -0
- package/components/body-page-header.js +24 -0
- package/components/brand-loader.d.ts +0 -3
- package/components/brand-loader.js +10 -32
- package/components/breadcrumbs.d.ts +0 -7
- package/components/breadcrumbs.js +54 -71
- package/components/button.d.ts +1 -1
- package/components/button.js +55 -49
- package/components/chart.js +298 -296
- package/components/chip.d.ts +13 -1
- package/components/chip.js +93 -80
- package/components/collection-header.d.ts +17 -0
- package/components/collection-header.js +31 -0
- package/components/connector-card.d.ts +6 -6
- package/components/connector-card.js +31 -32
- package/components/date-range-picker.d.ts +2 -1
- package/components/date-range-picker.js +158 -122
- package/components/drawer.d.ts +19 -3
- package/components/drawer.js +109 -100
- package/components/dropdown.d.ts +1 -2
- package/components/dropdown.js +88 -89
- package/components/field.js +39 -34
- package/components/file-dropzone.js +1 -1
- package/components/index.d.ts +4 -4
- package/components/index.js +499 -546
- package/components/infinite-canvas.js +24 -24
- package/components/input-field.d.ts +18 -3
- package/components/input-field.js +88 -72
- package/components/input.js +16 -15
- package/components/modal.d.ts +31 -3
- package/components/modal.js +243 -169
- package/components/number-field.js +45 -42
- package/components/page-body.d.ts +12 -0
- package/components/page-body.js +18 -0
- package/components/pagination.js +36 -36
- package/components/select.d.ts +21 -0
- package/components/select.js +189 -148
- package/components/setting-row.d.ts +6 -5
- package/components/setting-row.js +33 -32
- package/components/sidebar.d.ts +2 -0
- package/components/sidebar.js +165 -155
- package/components/skeleton.js +8 -7
- package/components/slider.js +1 -1
- package/components/surface-loader.d.ts +11 -0
- package/components/surface-loader.js +35 -0
- package/components/table.d.ts +16 -10
- package/components/table.js +426 -410
- package/components/tabs.d.ts +2 -0
- package/components/tabs.js +159 -294
- package/components/textarea.js +9 -9
- package/components/toast.d.ts +1 -1
- package/components/toast.js +181 -118
- package/components/tree.d.ts +5 -1
- package/components/tree.js +54 -49
- package/components/typography.d.ts +4 -4
- package/components/typography.js +13 -13
- package/components/ui/button.d.ts +1 -1
- package/components/ui/dialog.js +33 -33
- package/demo/components/add-to-artifact.js +6 -10
- package/lib/cn.js +11 -4
- package/lib/icons.d.ts +4 -0
- package/lib/icons.js +107 -106
- package/lib/interactive.d.ts +1 -1
- package/llms.txt +95 -152
- package/manifest.json +1628 -2729
- package/package.json +1 -2
- package/styles.css +347 -223
- package/theme.css +303 -177
- package/components/agent-icon.d.ts +0 -76
- package/components/agent-icon.js +0 -265
- package/components/ai-elements/queue.d.ts +0 -60
- package/components/ai-elements/queue.js +0 -193
- package/components/ai-elements/speech-input.d.ts +0 -16
- package/components/ai-elements/speech-input.js +0 -151
- package/components/ai-elements/task-progress.d.ts +0 -41
- package/components/ai-elements/task-progress.js +0 -224
- package/components/ai-elements/task.d.ts +0 -39
- package/components/ai-elements/task.js +0 -105
- package/components/ai-elements/voice.d.ts +0 -90
- package/components/ai-elements/voice.js +0 -496
- package/components/assistant-ui/follow-up-suggestions.d.ts +0 -11
- package/components/assistant-ui/follow-up-suggestions.js +0 -72
- package/components/assistant-ui/suggestions.d.ts +0 -7
- package/components/assistant-ui/suggestions.js +0 -19
- package/components/assistant-ui/voice.d.ts +0 -18
- package/components/link.d.ts +0 -14
- package/components/link.js +0 -72
- package/components/navbar.d.ts +0 -15
- package/components/navbar.js +0 -68
- package/components/pixel-icon.d.ts +0 -37
- package/components/pixel-icon.js +0 -859
package/components/typography.js
CHANGED
|
@@ -5,8 +5,8 @@ import { cn as c } from "../lib/cn.js";
|
|
|
5
5
|
const u = {
|
|
6
6
|
1: { tag: "h1", className: "text-2xl font-medium tracking-tight" },
|
|
7
7
|
2: { tag: "h2", className: "text-xl font-medium tracking-tight" },
|
|
8
|
-
3: { tag: "h3", className: "text-
|
|
9
|
-
4: { tag: "h4", className: "text-
|
|
8
|
+
3: { tag: "h3", className: "text-l font-medium" },
|
|
9
|
+
4: { tag: "h4", className: "text-m font-medium" }
|
|
10
10
|
}, p = d.forwardRef(
|
|
11
11
|
({ className: e, level: a = 1, children: t, ...m }, s) => {
|
|
12
12
|
const { tag: r, className: o } = u[a];
|
|
@@ -15,10 +15,10 @@ const u = {
|
|
|
15
15
|
);
|
|
16
16
|
p.displayName = "Heading";
|
|
17
17
|
const y = {
|
|
18
|
-
xs: "text-
|
|
19
|
-
sm: "text-
|
|
20
|
-
md: "text-
|
|
21
|
-
lg: "text-
|
|
18
|
+
xs: "text-s",
|
|
19
|
+
sm: "text-s",
|
|
20
|
+
md: "text-m",
|
|
21
|
+
lg: "text-l"
|
|
22
22
|
}, N = {
|
|
23
23
|
regular: "font-normal",
|
|
24
24
|
medium: "font-medium",
|
|
@@ -29,15 +29,15 @@ const y = {
|
|
|
29
29
|
tertiary: "text-tertiary"
|
|
30
30
|
}, h = d.forwardRef(
|
|
31
31
|
({ className: e, size: a = "md", color: t, muted: m = !1, weight: s, as: r = "p", children: o, ...l }, x) => {
|
|
32
|
-
const
|
|
32
|
+
const f = r, g = t ? n[t] : m ? n.tertiary : n.primary;
|
|
33
33
|
return /* @__PURE__ */ i(
|
|
34
|
-
|
|
34
|
+
f,
|
|
35
35
|
{
|
|
36
36
|
ref: x,
|
|
37
37
|
className: c(
|
|
38
38
|
y[a],
|
|
39
39
|
s && N[s],
|
|
40
|
-
|
|
40
|
+
g,
|
|
41
41
|
e
|
|
42
42
|
),
|
|
43
43
|
...l,
|
|
@@ -47,20 +47,20 @@ const y = {
|
|
|
47
47
|
}
|
|
48
48
|
);
|
|
49
49
|
h.displayName = "Text";
|
|
50
|
-
const
|
|
50
|
+
const C = d.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ i(
|
|
51
51
|
"code",
|
|
52
52
|
{
|
|
53
53
|
ref: t,
|
|
54
54
|
className: c(
|
|
55
|
-
"rounded bg-muted px-1.5 py-0.5 tabular-nums text-
|
|
55
|
+
"rounded bg-muted px-1.5 py-0.5 tabular-nums text-s",
|
|
56
56
|
e
|
|
57
57
|
),
|
|
58
58
|
...a
|
|
59
59
|
}
|
|
60
60
|
));
|
|
61
|
-
|
|
61
|
+
C.displayName = "Code";
|
|
62
62
|
export {
|
|
63
|
-
|
|
63
|
+
C as Code,
|
|
64
64
|
p as Heading,
|
|
65
65
|
h as Text
|
|
66
66
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
declare const buttonVariants: (props?: ({
|
|
4
|
-
variant?: "
|
|
4
|
+
variant?: "link" | "default" | "outline" | "secondary" | "ghost" | "destructive" | null | undefined;
|
|
5
5
|
size?: "default" | "xs" | "sm" | "lg" | "icon" | "icon-sm" | "icon-xs" | "icon-lg" | null | undefined;
|
|
6
6
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
7
|
declare function Button({ className, variant, size, asChild, ...props }: React.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
|
package/components/ui/dialog.js
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as e, jsxs as c } from "react/jsx-runtime";
|
|
3
3
|
import * as s from "react";
|
|
4
|
-
import { Close as
|
|
4
|
+
import { Close as _ } from "../../lib/icons.js";
|
|
5
5
|
import { Dialog as o } from "radix-ui";
|
|
6
|
-
import { MotionConfig as
|
|
6
|
+
import { MotionConfig as v, AnimatePresence as x, motion as p } from "motion/react";
|
|
7
7
|
import { cn as u } from "../../lib/cn.js";
|
|
8
8
|
import "./button.js";
|
|
9
|
-
import { modalPanelVariants as
|
|
10
|
-
const
|
|
9
|
+
import { modalPanelVariants as b, backdropVariants as C } from "../../lib/motion.js";
|
|
10
|
+
const m = s.createContext(!1);
|
|
11
11
|
function j({
|
|
12
12
|
open: t,
|
|
13
13
|
defaultOpen: i = !1,
|
|
14
14
|
onOpenChange: n,
|
|
15
|
-
children:
|
|
16
|
-
...
|
|
15
|
+
children: r,
|
|
16
|
+
...a
|
|
17
17
|
}) {
|
|
18
|
-
const l = t !== void 0, [d,
|
|
19
|
-
return /* @__PURE__ */ e(
|
|
18
|
+
const l = t !== void 0, [d, h] = s.useState(i), f = l ? t : d;
|
|
19
|
+
return /* @__PURE__ */ e(m.Provider, { value: f, children: /* @__PURE__ */ e(
|
|
20
20
|
o.Root,
|
|
21
21
|
{
|
|
22
22
|
"data-slot": "dialog",
|
|
23
23
|
open: f,
|
|
24
|
-
onOpenChange: (
|
|
25
|
-
l ||
|
|
24
|
+
onOpenChange: (g) => {
|
|
25
|
+
l || h(g), n == null || n(g);
|
|
26
26
|
},
|
|
27
|
-
...
|
|
28
|
-
children:
|
|
27
|
+
...a,
|
|
28
|
+
children: r
|
|
29
29
|
}
|
|
30
30
|
) });
|
|
31
31
|
}
|
|
@@ -34,23 +34,23 @@ function R({
|
|
|
34
34
|
}) {
|
|
35
35
|
return /* @__PURE__ */ e(o.Trigger, { "data-slot": "dialog-trigger", ...t });
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function M({
|
|
38
38
|
...t
|
|
39
39
|
}) {
|
|
40
40
|
return /* @__PURE__ */ e(o.Portal, { "data-slot": "dialog-portal", ...t });
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function D({
|
|
43
43
|
className: t,
|
|
44
44
|
forceMount: i,
|
|
45
45
|
asChild: n,
|
|
46
|
-
...
|
|
46
|
+
...r
|
|
47
47
|
}) {
|
|
48
|
-
const
|
|
49
|
-
return /* @__PURE__ */ e(
|
|
50
|
-
|
|
48
|
+
const a = s.useContext(m);
|
|
49
|
+
return /* @__PURE__ */ e(v, { reducedMotion: "user", children: /* @__PURE__ */ e(x, { initial: !1, children: a && /* @__PURE__ */ e(o.Overlay, { forceMount: !0, asChild: !0, ...r, children: /* @__PURE__ */ e(
|
|
50
|
+
p.div,
|
|
51
51
|
{
|
|
52
52
|
"data-slot": "dialog-overlay",
|
|
53
|
-
variants:
|
|
53
|
+
variants: C,
|
|
54
54
|
initial: "hidden",
|
|
55
55
|
animate: "visible",
|
|
56
56
|
exit: "hidden",
|
|
@@ -62,14 +62,14 @@ function V({
|
|
|
62
62
|
className: t,
|
|
63
63
|
children: i,
|
|
64
64
|
showCloseButton: n = !0,
|
|
65
|
-
forceMount:
|
|
66
|
-
asChild:
|
|
65
|
+
forceMount: r,
|
|
66
|
+
asChild: a,
|
|
67
67
|
...l
|
|
68
68
|
}) {
|
|
69
|
-
const d = s.useContext(
|
|
70
|
-
return /* @__PURE__ */ c(
|
|
71
|
-
/* @__PURE__ */ e(
|
|
72
|
-
/* @__PURE__ */ e(
|
|
69
|
+
const d = s.useContext(m);
|
|
70
|
+
return /* @__PURE__ */ c(M, { "data-slot": "dialog-portal", forceMount: !0, children: [
|
|
71
|
+
/* @__PURE__ */ e(D, {}),
|
|
72
|
+
/* @__PURE__ */ e(v, { reducedMotion: "user", children: /* @__PURE__ */ e(x, { initial: !1, children: d && /* @__PURE__ */ e(
|
|
73
73
|
o.Content,
|
|
74
74
|
{
|
|
75
75
|
"data-slot": "dialog-content",
|
|
@@ -77,14 +77,14 @@ function V({
|
|
|
77
77
|
className: "pointer-events-none fixed inset-0 z-50 grid place-items-center p-4 outline-none",
|
|
78
78
|
...l,
|
|
79
79
|
children: /* @__PURE__ */ c(
|
|
80
|
-
|
|
80
|
+
p.div,
|
|
81
81
|
{
|
|
82
|
-
variants:
|
|
82
|
+
variants: b,
|
|
83
83
|
initial: "hidden",
|
|
84
84
|
animate: "visible",
|
|
85
85
|
exit: "hidden",
|
|
86
86
|
className: u(
|
|
87
|
-
"pointer-events-auto relative
|
|
87
|
+
"pointer-events-auto relative flex max-h-[calc(100dvh-2rem)] w-full max-w-[38.75rem] flex-col overflow-hidden rounded-xl bg-elevated text-foreground shadow-[0_2px_4px_-1px_rgb(0_0_0/0.34),0_16px_32px_-8px_rgb(0_0_0/0.46)] outline-none max-sm:max-h-[calc(100dvh-1rem)] max-sm:rounded-lg",
|
|
88
88
|
t
|
|
89
89
|
),
|
|
90
90
|
children: [
|
|
@@ -93,9 +93,9 @@ function V({
|
|
|
93
93
|
o.Close,
|
|
94
94
|
{
|
|
95
95
|
"data-slot": "dialog-close",
|
|
96
|
-
className: "absolute top-
|
|
96
|
+
className: "absolute right-2 top-2 z-10 inline-flex size-7 items-center justify-center rounded-sm text-secondary outline-none transition-[background,color,transform] duration-150 ease-out hover:bg-muted hover:text-foreground active:scale-[0.97] focus-visible:ring-3 focus-visible:ring-ring disabled:pointer-events-none motion-reduce:transition-none motion-reduce:active:scale-100 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
|
97
97
|
children: [
|
|
98
|
-
/* @__PURE__ */ e(
|
|
98
|
+
/* @__PURE__ */ e(_, {}),
|
|
99
99
|
/* @__PURE__ */ e("span", { className: "sr-only", children: "Close" })
|
|
100
100
|
]
|
|
101
101
|
}
|
|
@@ -115,7 +115,7 @@ function A({
|
|
|
115
115
|
o.Title,
|
|
116
116
|
{
|
|
117
117
|
"data-slot": "dialog-title",
|
|
118
|
-
className: u("text-
|
|
118
|
+
className: u("text-[15px] font-semibold leading-5", t),
|
|
119
119
|
...i
|
|
120
120
|
}
|
|
121
121
|
);
|
|
@@ -123,8 +123,8 @@ function A({
|
|
|
123
123
|
export {
|
|
124
124
|
j as Dialog,
|
|
125
125
|
V as DialogContent,
|
|
126
|
-
|
|
127
|
-
|
|
126
|
+
D as DialogOverlay,
|
|
127
|
+
M as DialogPortal,
|
|
128
128
|
A as DialogTitle,
|
|
129
129
|
R as DialogTrigger
|
|
130
130
|
};
|
|
@@ -9,7 +9,6 @@ import "../../components/spinner.js";
|
|
|
9
9
|
import "../../components/reveal.js";
|
|
10
10
|
import { Field as C } from "../../components/field.js";
|
|
11
11
|
import "../../components/typography.js";
|
|
12
|
-
import "../../components/link.js";
|
|
13
12
|
import "../../components/divider.js";
|
|
14
13
|
import "../../components/kbd.js";
|
|
15
14
|
import "../../components/code-block.js";
|
|
@@ -56,19 +55,20 @@ import "../../components/badge.js";
|
|
|
56
55
|
import "../../components/chip.js";
|
|
57
56
|
import "../../components/timeline.js";
|
|
58
57
|
import "../../components/alert.js";
|
|
58
|
+
import "../../components/surface-loader.js";
|
|
59
59
|
import "../../components/pixel-blast-svg.js";
|
|
60
|
-
import "../../components/pixel-icon.js";
|
|
61
|
-
import "../../components/agent-icon.js";
|
|
62
60
|
import "../../components/brand-texture.js";
|
|
63
61
|
import { Progress as Y } from "../../components/progress.js";
|
|
64
62
|
import "../../components/progress-circle.js";
|
|
65
63
|
import "../../components/skeleton.js";
|
|
66
64
|
import "../../components/empty-state.js";
|
|
65
|
+
import "../../components/body-page-header.js";
|
|
66
|
+
import "../../components/collection-header.js";
|
|
67
67
|
import "../../components/page-header.js";
|
|
68
|
-
import "../../components/navbar.js";
|
|
69
68
|
import "../../components/breadcrumbs.js";
|
|
70
69
|
import "../../components/pagination.js";
|
|
71
70
|
import "../../components/sidebar.js";
|
|
71
|
+
import "../../components/page-body.js";
|
|
72
72
|
import "../../components/panel.js";
|
|
73
73
|
import "../../components/collapsible.js";
|
|
74
74
|
import "../../components/selection-action-bar.js";
|
|
@@ -80,14 +80,10 @@ import "../../components/ai-elements/inline-citation.js";
|
|
|
80
80
|
import "../../components/ai-elements/message.js";
|
|
81
81
|
import "../../components/ai-elements/research-activity.js";
|
|
82
82
|
import "../../components/ai-elements/shimmer.js";
|
|
83
|
-
import "../../components/ai-elements/task.js";
|
|
84
|
-
import "../../components/ai-elements/task-progress.js";
|
|
85
83
|
import "../../components/ai-elements/tool.js";
|
|
86
|
-
import "../../components/ai-elements/voice.js";
|
|
87
84
|
import "@assistant-ui/react";
|
|
88
85
|
import "../../components/assistant-ui/composer.js";
|
|
89
86
|
import "../../components/assistant-ui/answer-tool-ui.js";
|
|
90
|
-
import "../../components/assistant-ui/follow-up-suggestions.js";
|
|
91
87
|
import "../../components/assistant-ui/message.js";
|
|
92
88
|
import "../../components/assistant-ui/selection-toolbar.js";
|
|
93
89
|
import "../../components/ui/button.js";
|
|
@@ -109,7 +105,7 @@ import "../../components/assistant-ui/quote.js";
|
|
|
109
105
|
import "../../components/assistant-ui/sources.js";
|
|
110
106
|
import "../../components/assistant-ui/tool-fallback.js";
|
|
111
107
|
import "../../components/assistant-ui/tool-group.js";
|
|
112
|
-
function
|
|
108
|
+
function ti({
|
|
113
109
|
block: i,
|
|
114
110
|
trigger: v = "button",
|
|
115
111
|
className: A,
|
|
@@ -361,5 +357,5 @@ function oi({
|
|
|
361
357
|
] });
|
|
362
358
|
}
|
|
363
359
|
export {
|
|
364
|
-
|
|
360
|
+
ti as AddToArtifact
|
|
365
361
|
};
|
package/lib/cn.js
CHANGED
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { clsx as t } from "clsx";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
import { extendTailwindMerge as s } from "tailwind-merge";
|
|
4
|
+
const n = s({
|
|
5
|
+
extend: {
|
|
6
|
+
classGroups: {
|
|
7
|
+
"font-size": [{ text: ["s", "m", "l", "xl", "2xl"] }]
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
function l(...e) {
|
|
12
|
+
return n(t(e));
|
|
6
13
|
}
|
|
7
14
|
export {
|
|
8
|
-
|
|
15
|
+
l as cn
|
|
9
16
|
};
|
package/lib/icons.d.ts
CHANGED
|
@@ -201,6 +201,10 @@ export declare const MoreVertical: React.ForwardRefExoticComponent<Omit<import('
|
|
|
201
201
|
/** Legacy Hugeicons prop — `>= 2` maps to weight="bold", else ignored. */
|
|
202
202
|
strokeWidth?: number;
|
|
203
203
|
} & React.RefAttributes<SVGSVGElement>>;
|
|
204
|
+
export declare const DragHandle: React.ForwardRefExoticComponent<Omit<import('@phosphor-icons/react').IconProps, "ref"> & {
|
|
205
|
+
/** Legacy Hugeicons prop — `>= 2` maps to weight="bold", else ignored. */
|
|
206
|
+
strokeWidth?: number;
|
|
207
|
+
} & React.RefAttributes<SVGSVGElement>>;
|
|
204
208
|
export declare const Link: React.ForwardRefExoticComponent<Omit<import('@phosphor-icons/react').IconProps, "ref"> & {
|
|
205
209
|
/** Legacy Hugeicons prop — `>= 2` maps to weight="bold", else ignored. */
|
|
206
210
|
strokeWidth?: number;
|
package/lib/icons.js
CHANGED
|
@@ -1,121 +1,122 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as h } from "react/jsx-runtime";
|
|
3
3
|
import * as C from "react";
|
|
4
|
-
import {
|
|
5
|
-
function e(
|
|
4
|
+
import { Code as g, Check as p, Copy as u, FileText as $, X as d, UploadSimple as k, EyeSlash as S, Eye as f, Minus as w, Plus as T, CaretDown as P, MagnifyingGlass as A, Info as L, WarningCircle as y, Warning as B, CheckCircle as m, CaretUp as U, ArrowsDownUp as x, ChatCircle as M, ArrowUpRight as D, Clock as I, Database as O, ArrowSquareOut as F, Table as b, CaretLeft as R, CaretRight as v, CornersOut as H, Magnet as G, Tray as W, ArrowLeft as E, DotsThree as z, User as V, XCircle as N, CircleDashed as Q, ArrowsClockwise as q, Paperclip as X, Quotes as j, At as J, Lightning as K, Sparkle as Y, File as Z, DownloadSimple as _, Image as n, BracketsCurly as ee, MusicNotes as oe, VideoCamera as te, ImageBroken as ne, Pulse as se, Archive as ae, ArrowDown as re, ArrowRight as ce, ArrowUp as le, Scroll as ie, Bell as he, Stack as Ce, BookOpen as ge, Brain as pe, CalendarBlank as ue, Phone as $e, ListChecks as de, Cube as ke, DotsNine as Se, Funnel as fe, Folder as we, FolderOpen as Te, Gauge as Pe, GitBranch as Ae, Hash as Le, ClockCounterClockwise as ye, House as Be, SquaresFour as me, Leaf as Ue, Lightbulb as xe, Link as Me, CircleNotch as De, SignOut as Ie, Envelope as Oe, Microphone as Fe, MicrophoneSlash as be, DotsThreeVertical as Re, Palette as ve, SidebarSimple as He, Pause as Ge, PencilSimple as We, PhoneSlash as Ee, ChartPie as ze, Play as Ve, Plug as Ne, Presentation as Qe, Rocket as qe, Gear as Xe, Shapes as je, ShareNetwork as Je, Star as Ke, Stop as Ye, ArrowsLeftRight as Ze, Target as _e, Binoculars as eo, TextB as oo, TextT as to, TextItalic as no, TextStrikethrough as so, TextUnderline as ao, ToggleRight as ro, Trash as co, Users as lo, Wrench as io } from "@phosphor-icons/react";
|
|
5
|
+
function e(s, a) {
|
|
6
6
|
const o = C.forwardRef(function({ strokeWidth: t, weight: r, ...c }, l) {
|
|
7
7
|
const i = r ?? (t != null && t >= 2 ? "bold" : "regular");
|
|
8
|
-
return /* @__PURE__ */ h(
|
|
8
|
+
return /* @__PURE__ */ h(s, { ref: l, size: "1em", weight: i, ...c });
|
|
9
9
|
});
|
|
10
10
|
return o.displayName = a, o;
|
|
11
11
|
}
|
|
12
|
-
const
|
|
12
|
+
const po = e(re, "ArrowDown"), uo = e(E, "ArrowLeft"), $o = e(ce, "ArrowRight"), ko = e(le, "ArrowUp"), So = e(D, "ArrowUpRight"), fo = e(P, "ChevronDown"), wo = e(R, "ChevronLeft"), To = e(v, "ChevronRight"), Po = e(U, "ChevronUp"), Ao = e(x, "SortIcon"), Lo = e(Ze, "SwapHorizontal"), yo = e(F, "ExternalLink"), Bo = e(He, "PanelLeft"), mo = e(J, "At"), Uo = e($e, "Call"), xo = e(d, "Close"), Mo = e(N, "CloseCircle"), Do = e(u, "Copy"), Io = e(_, "Download"), Oo = e(Ie, "LogOut"), Fo = e(Fe, "Mic"), bo = e(be, "MicOff"), Ro = e(Ee, "PhoneOff"), vo = e(We, "Pencil"), Ho = e(j, "Quote"), Go = e(f, "Eye"), Wo = e(S, "EyeOff"), Eo = e(Le, "Hash"), zo = e(n, "ImageUpload"), Vo = e(k, "Upload"), No = e(to, "TextFont"), Qo = e(oo, "TextBold"), qo = e(no, "TextItalicStyle"), Xo = e(so, "TextStrike"), jo = e(ao, "TextUnderlineStyle"), Jo = e(ro, "ToggleOn"), Ko = e(ue, "Calendar"), Yo = e(I, "Clock"), Zo = e(g, "Code"), _o = e(Ye, "Stop"), et = e(G, "Magnet"), ot = e(H, "Maximize"), tt = e(w, "Minus"), nt = e(z, "MoreHorizontal"), st = e(Re, "MoreVertical"), at = e(Se, "DragHandle"), rt = e(Me, "Link"), ct = e(T, "Plus"), lt = e(q, "Refresh"), it = e(ie, "AuditTrail"), ht = e(A, "Search"), Ct = e(Je, "Share"), gt = e(co, "Trash"), pt = e(p, "Check"), ut = e(De, "Loader"), $t = e(m, "CheckCircle"), dt = e(L, "Info"), kt = e(B, "Warning"), St = e(he, "Bell"), ft = e(y, "WarningCircle"), wt = e(se, "Activity"), Tt = e(M, "AgentChat"), Pt = e(K, "Bolt"), At = e(ge, "BookOpen"), Lt = e(pe, "Brain"), yt = e(de, "CheckList"), Bt = e(ke, "Component"), mt = e(O, "Database"), Ut = e(b, "Table"), xt = e(fe, "Filter"), Mt = e(ae, "Archive"), Dt = e(Z, "File"), It = e($, "FileText"), Ot = e(we, "Folder"), Ft = e(n, "Image"), bt = e(ne, "ImageOff"), Rt = e(oe, "Music"), vt = e(te, "Video"), Ht = e(ee, "Braces"), Gt = e(Te, "FolderOpen"), Wt = e(Pe, "Gauge"), Et = e(Ae, "GitBranch"), zt = e(ye, "HistoryClock"), Vt = e(Be, "Home"), Nt = e(Ce, "Blocks"), Qt = e(W, "Inbox"), qt = e(xe, "Lightbulb"), Xt = e(Ue, "Leaf"), jt = e(me, "LayoutGrid"), Jt = e(Oe, "Mail"), Kt = e(ve, "Palette"), Yt = e(ze, "PieChart"), Zt = e(Ne, "Plug"), _t = e(qe, "Rocket"), en = e(Xe, "Settings"), on = e(je, "Shapes"), tn = e(Y, "Sparkles"), nn = e(Ke, "Star"), sn = e(eo, "Telescope"), an = e(_e, "Target"), rn = e(V, "User"), cn = e(lo, "Users"), ln = e(Ve, "Play"), hn = e(Qe, "Presentation"), Cn = e(Ge, "Pause"), gn = e(X, "Paperclip"), pn = e(Q, "CircleDashed"), un = e(io, "Wrench");
|
|
13
13
|
export {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
14
|
+
wt as Activity,
|
|
15
|
+
Tt as AgentChat,
|
|
16
|
+
Mt as Archive,
|
|
17
|
+
po as ArrowDown,
|
|
18
|
+
uo as ArrowLeft,
|
|
19
|
+
$o as ArrowRight,
|
|
20
|
+
ko as ArrowUp,
|
|
21
|
+
So as ArrowUpRight,
|
|
22
|
+
mo as At,
|
|
23
|
+
it as AuditTrail,
|
|
24
|
+
St as Bell,
|
|
25
|
+
Nt as Blocks,
|
|
26
|
+
Pt as Bolt,
|
|
27
|
+
At as BookOpen,
|
|
28
|
+
Ht as Braces,
|
|
29
|
+
Lt as Brain,
|
|
30
|
+
Ko as Calendar,
|
|
31
|
+
Uo as Call,
|
|
32
|
+
pt as Check,
|
|
33
|
+
$t as CheckCircle,
|
|
34
|
+
yt as CheckList,
|
|
35
|
+
fo as ChevronDown,
|
|
36
|
+
wo as ChevronLeft,
|
|
37
|
+
To as ChevronRight,
|
|
38
|
+
Po as ChevronUp,
|
|
39
|
+
pn as CircleDashed,
|
|
40
|
+
Yo as Clock,
|
|
41
|
+
xo as Close,
|
|
42
|
+
Mo as CloseCircle,
|
|
43
|
+
Zo as Code,
|
|
44
|
+
Bt as Component,
|
|
45
|
+
Do as Copy,
|
|
46
|
+
mt as Database,
|
|
47
47
|
Io as Download,
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
Go as
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
Ft as
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
48
|
+
at as DragHandle,
|
|
49
|
+
yo as ExternalLink,
|
|
50
|
+
Go as Eye,
|
|
51
|
+
Wo as EyeOff,
|
|
52
|
+
Dt as File,
|
|
53
|
+
It as FileText,
|
|
54
|
+
xt as Filter,
|
|
55
|
+
Ot as Folder,
|
|
56
|
+
Gt as FolderOpen,
|
|
57
|
+
Wt as Gauge,
|
|
58
|
+
Et as GitBranch,
|
|
59
|
+
Eo as Hash,
|
|
60
|
+
zt as HistoryClock,
|
|
61
|
+
Vt as Home,
|
|
62
|
+
Ft as Image,
|
|
63
|
+
bt as ImageOff,
|
|
64
|
+
zo as ImageUpload,
|
|
65
|
+
Qt as Inbox,
|
|
66
|
+
dt as Info,
|
|
67
|
+
jt as LayoutGrid,
|
|
68
|
+
Xt as Leaf,
|
|
69
|
+
qt as Lightbulb,
|
|
70
|
+
rt as Link,
|
|
71
|
+
ut as Loader,
|
|
71
72
|
Oo as LogOut,
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
73
|
+
et as Magnet,
|
|
74
|
+
Jt as Mail,
|
|
75
|
+
ot as Maximize,
|
|
75
76
|
Fo as Mic,
|
|
76
77
|
bo as MicOff,
|
|
77
|
-
|
|
78
|
-
|
|
78
|
+
tt as Minus,
|
|
79
|
+
nt as MoreHorizontal,
|
|
79
80
|
st as MoreVertical,
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
81
|
+
Rt as Music,
|
|
82
|
+
Kt as Palette,
|
|
83
|
+
Bo as PanelLeft,
|
|
84
|
+
gn as Paperclip,
|
|
85
|
+
Cn as Pause,
|
|
86
|
+
vo as Pencil,
|
|
87
|
+
Ro as PhoneOff,
|
|
88
|
+
Yt as PieChart,
|
|
89
|
+
ln as Play,
|
|
90
|
+
Zt as Plug,
|
|
91
|
+
ct as Plus,
|
|
92
|
+
hn as Presentation,
|
|
93
|
+
Ho as Quote,
|
|
94
|
+
lt as Refresh,
|
|
95
|
+
_t as Rocket,
|
|
96
|
+
ht as Search,
|
|
97
|
+
en as Settings,
|
|
98
|
+
on as Shapes,
|
|
99
|
+
Ct as Share,
|
|
100
|
+
Ao as SortIcon,
|
|
101
|
+
tn as Sparkles,
|
|
102
|
+
nn as Star,
|
|
103
|
+
_o as Stop,
|
|
104
|
+
Lo as SwapHorizontal,
|
|
105
|
+
Ut as Table,
|
|
106
|
+
an as Target,
|
|
107
|
+
sn as Telescope,
|
|
108
|
+
Qo as TextBold,
|
|
109
|
+
No as TextFont,
|
|
110
|
+
qo as TextItalicStyle,
|
|
111
|
+
Xo as TextStrike,
|
|
112
|
+
jo as TextUnderlineStyle,
|
|
113
|
+
Jo as ToggleOn,
|
|
114
|
+
gt as Trash,
|
|
115
|
+
Vo as Upload,
|
|
116
|
+
rn as User,
|
|
117
|
+
cn as Users,
|
|
118
|
+
vt as Video,
|
|
119
|
+
kt as Warning,
|
|
120
|
+
ft as WarningCircle,
|
|
121
|
+
un as Wrench
|
|
121
122
|
};
|
package/lib/interactive.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
2
2
|
/**
|
|
3
3
|
* `interactive()` — a reusable interactive-border primitive.
|
|
4
4
|
*
|
|
5
|
-
* Returns the classes that make ANY bordered element
|
|
5
|
+
* Returns the classes that make ANY bordered element change its border and bloom
|
|
6
6
|
* into an (optionally animated) glow on hover / focus / focus-within. Compose it
|
|
7
7
|
* onto text fields, cards, tiles, buttons — anything. Backed by the
|
|
8
8
|
* `.ads-interactive` rules + CSS custom properties in `index.css`, so it stays
|