ai-design-system 0.1.48 → 0.1.50

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.
@@ -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
- <ImageIcon className="mr-2 size-4" /> {label}
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 ?? <PlusIcon className="size-4" />}
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
- <MicIcon className="size-4" />
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, PaperclipIcon } from "lucide-react";
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
- <PaperclipIcon size={12} />
177
+ <div className="size-3" />
178
178
  <span className="max-w-[100px] truncate">{children}</span>
179
179
  </span>
180
180
  );
@@ -160,7 +160,7 @@ export const PageLayout = React.memo<PageLayoutProps>(
160
160
  const pageContainer = (
161
161
  <PageContainer className={`overflow-hidden ${className ?? ""}`}>
162
162
  <AppHeader {...header} />
163
- <div className={`min-h-0 flex-1 overflow-x-hidden ${layoutSections ? "overflow-hidden" : "overflow-y-auto"}`}>
163
+ <div className={`min-h-0 flex-1 flex flex-col overflow-x-hidden ${layoutSections ? "overflow-hidden" : "overflow-y-auto"}`}>
164
164
  {contentArea}
165
165
  </div>
166
166
  </PageContainer>
@@ -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, ChevronRight, CircleIcon } from "lucide-react"
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
- <ChevronRight className="ml-auto size-4" />
220
+ <ChevronRightIcon className="ml-auto size-4" />
221
221
  </DropdownMenuPrimitive.SubTrigger>
222
222
  )
223
223
  }
package/dist/index.cjs CHANGED
@@ -2049,7 +2049,7 @@ var PageLayout = React3__namespace.memo(
2049
2049
  ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex min-h-0 flex-1 flex-col", children });
2050
2050
  const pageContainer = /* @__PURE__ */ jsxRuntime.jsxs(PageContainer, { className: `overflow-hidden ${className != null ? className : ""}`, children: [
2051
2051
  /* @__PURE__ */ jsxRuntime.jsx(AppHeader, __spreadValues({}, header)),
2052
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: `min-h-0 flex-1 overflow-x-hidden ${layoutSections ? "overflow-hidden" : "overflow-y-auto"}`, children: contentArea })
2052
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: `min-h-0 flex-1 flex flex-col overflow-x-hidden ${layoutSections ? "overflow-hidden" : "overflow-y-auto"}`, children: contentArea })
2053
2053
  ] });
2054
2054
  return /* @__PURE__ */ jsxRuntime.jsxs(
2055
2055
  LayoutProvider,
@@ -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;