ai-design-system 0.1.48 → 0.1.49
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/prompt-input.tsx +3 -6
- package/components/ai-elements/queue.tsx +2 -2
- package/components/index.ts +2 -2
- package/components/ui/dropdown-menu.tsx +2 -2
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -37,10 +37,7 @@ import {
|
|
|
37
37
|
import { cn } from "@/lib/utils";
|
|
38
38
|
import type { ChatStatus, FileUIPart } from "ai";
|
|
39
39
|
import {
|
|
40
|
-
ImageIcon,
|
|
41
40
|
Loader2Icon,
|
|
42
|
-
MicIcon,
|
|
43
|
-
PlusIcon,
|
|
44
41
|
SendIcon,
|
|
45
42
|
SquareIcon,
|
|
46
43
|
XIcon,
|
|
@@ -387,7 +384,7 @@ export const PromptInputActionAddAttachments = ({
|
|
|
387
384
|
attachments.openFileDialog();
|
|
388
385
|
}}
|
|
389
386
|
>
|
|
390
|
-
|
|
387
|
+
{label}
|
|
391
388
|
</DropdownMenuItem>
|
|
392
389
|
);
|
|
393
390
|
};
|
|
@@ -925,7 +922,7 @@ export const PromptInputActionMenuTrigger = ({
|
|
|
925
922
|
}: PromptInputActionMenuTriggerProps) => (
|
|
926
923
|
<DropdownMenuTrigger asChild>
|
|
927
924
|
<PromptInputButton className={className} {...props}>
|
|
928
|
-
{children
|
|
925
|
+
{children}
|
|
929
926
|
</PromptInputButton>
|
|
930
927
|
</DropdownMenuTrigger>
|
|
931
928
|
);
|
|
@@ -1148,7 +1145,7 @@ export const PromptInputSpeechButton = ({
|
|
|
1148
1145
|
onClick={toggleListening}
|
|
1149
1146
|
{...props}
|
|
1150
1147
|
>
|
|
1151
|
-
<
|
|
1148
|
+
<div className="size-4" />
|
|
1152
1149
|
</PromptInputButton>
|
|
1153
1150
|
);
|
|
1154
1151
|
};
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "@/components/ui/collapsible";
|
|
9
9
|
import { ScrollArea } from "@/components/ui/scroll-area";
|
|
10
10
|
import { cn } from "@/lib/utils";
|
|
11
|
-
import { ChevronDownIcon
|
|
11
|
+
import { ChevronDownIcon } from "lucide-react";
|
|
12
12
|
import type { ComponentProps } from "react";
|
|
13
13
|
|
|
14
14
|
export type QueueMessagePart = {
|
|
@@ -174,7 +174,7 @@ export const QueueItemFile = ({
|
|
|
174
174
|
)}
|
|
175
175
|
{...props}
|
|
176
176
|
>
|
|
177
|
-
<
|
|
177
|
+
<div className="size-3" />
|
|
178
178
|
<span className="max-w-[100px] truncate">{children}</span>
|
|
179
179
|
</span>
|
|
180
180
|
);
|
package/components/index.ts
CHANGED
|
@@ -8,8 +8,8 @@ export type * from './blocks';
|
|
|
8
8
|
export type * from './features';
|
|
9
9
|
|
|
10
10
|
// Composites (value exports not covered by export type *)
|
|
11
|
-
export { ModeSwitcher, ApprovalCard } from './composites';
|
|
12
|
-
export type { ApprovalCardProps, ActionRequest, ReviewConfig } from './composites';
|
|
11
|
+
export { ModeSwitcher, ApprovalCard, ProjectSwitcher, FormReportsDrawerForm } from './composites';
|
|
12
|
+
export type { ApprovalCardProps, ActionRequest, ReviewConfig, ProjectSwitcherProps, Project, FormReportsDrawerFormProps } from './composites';
|
|
13
13
|
export { getLayoutedElements, SectionLayout } from './blocks';
|
|
14
14
|
export type { SectionLayoutSection } from './blocks';
|
|
15
15
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import * as React from "react"
|
|
4
4
|
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu"
|
|
5
|
-
import { CheckIcon,
|
|
5
|
+
import { CheckIcon, ChevronRightIcon, CircleIcon } from "lucide-react"
|
|
6
6
|
|
|
7
7
|
import { cn } from "@/lib/utils"
|
|
8
8
|
|
|
@@ -217,7 +217,7 @@ function DropdownMenuSubTrigger({
|
|
|
217
217
|
{...props}
|
|
218
218
|
>
|
|
219
219
|
{children}
|
|
220
|
-
<
|
|
220
|
+
<ChevronRightIcon className="ml-auto size-4" />
|
|
221
221
|
</DropdownMenuPrimitive.SubTrigger>
|
|
222
222
|
)
|
|
223
223
|
}
|
package/dist/index.cjs
CHANGED
|
@@ -11599,9 +11599,11 @@ Object.defineProperty(exports, "applyNodeChanges", {
|
|
|
11599
11599
|
exports.AIDocEditor = AIDocEditor;
|
|
11600
11600
|
exports.ApprovalCard = ApprovalCard;
|
|
11601
11601
|
exports.DashboardFeature = DashboardFeature;
|
|
11602
|
+
exports.FormReportsDrawerForm = FormReportsDrawerForm;
|
|
11602
11603
|
exports.FormReportsFeature = FormReportsFeature;
|
|
11603
11604
|
exports.ModeSwitcher = ModeSwitcher;
|
|
11604
11605
|
exports.PageLayout = PageLayout;
|
|
11606
|
+
exports.ProjectSwitcher = ProjectSwitcher;
|
|
11605
11607
|
exports.RefinementPanel = RefinementPanel;
|
|
11606
11608
|
exports.SectionLayout = SectionLayout;
|
|
11607
11609
|
exports.SpecNavigator = SpecNavigator;
|