@amboss/design-system 3.27.4 → 3.27.5

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.
@@ -7,6 +7,7 @@ import { type ButtonProps } from "../Button/Button";
7
7
  import type { PolymorphicComponentPropsWithRef } from "../../types";
8
8
  import type { RoundButtonProps } from "../RoundButton/RoundButton";
9
9
  import type { IconName } from "../Icon/Icon";
10
+ import { type BasePromptInputHeaderProps } from "./PromptInputHeader";
10
11
  type SendButtonProps = Omit<RoundButtonProps, "icon" | "variant"> & {
11
12
  icon?: "arrow-up" | "search" | "arrow-right" | "voice";
12
13
  };
@@ -17,6 +18,7 @@ type BottomToolbarConfig = {
17
18
  };
18
19
  export type PromptInputProps = {
19
20
  "data-e2e-test-id"?: string;
21
+ header?: BasePromptInputHeaderProps;
20
22
  variant?: "ai";
21
23
  skipAIAnimation?: boolean;
22
24
  bottomToolbar?: BottomToolbarConfig;
@@ -42,6 +44,7 @@ export type PromptInputProps = {
42
44
  } & Omit<PromptTextAreaProps, "isCollapsed" | "isAutocompleteListOpen" | "selectedListItem" | "hasLeftIcon"> & Pick<AutocompleteListProps, "autocompleteListItems" | "autocompleteListFooter" | "portalContainer">;
43
45
  declare const PromptInputComponent: React.ForwardRefExoticComponent<{
44
46
  "data-e2e-test-id"?: string;
47
+ header?: BasePromptInputHeaderProps;
45
48
  variant?: "ai";
46
49
  skipAIAnimation?: boolean;
47
50
  bottomToolbar?: BottomToolbarConfig;