@assistant-ui/react 0.5.26 → 0.5.27

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.d.mts CHANGED
@@ -1234,6 +1234,9 @@ declare const exports$9: {
1234
1234
  declare const _default$8: typeof AssistantMessage & typeof exports$9;
1235
1235
 
1236
1236
  declare const AssistantModal: FC<ThreadConfig>;
1237
+ type AssistantModalButtonProps = TooltipIconButtonProps & {
1238
+ "data-state"?: "open" | "closed";
1239
+ };
1237
1240
  declare const exports$8: {
1238
1241
  Root: FC<PopoverPrimitive.PopoverProps & {
1239
1242
  config?: ThreadConfig | undefined;
@@ -1244,6 +1247,8 @@ declare const exports$8: {
1244
1247
  Content: react.ForwardRefExoticComponent<Partial<Omit<Omit<Omit<PopoverPrimitive.PopoverContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & {
1245
1248
  dissmissOnInteractOutside?: boolean | undefined;
1246
1249
  } & react.RefAttributes<HTMLDivElement>, "ref">, "asChild">> & react.RefAttributes<HTMLDivElement>>;
1250
+ Button: react.ForwardRefExoticComponent<Partial<AssistantModalButtonProps> & react.RefAttributes<HTMLButtonElement>>;
1251
+ Anchor: react.ForwardRefExoticComponent<Partial<Omit<Omit<Omit<PopoverPrimitive.PopoverAnchorProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>, "ref">, "asChild">> & react.RefAttributes<HTMLDivElement>>;
1247
1252
  };
1248
1253
  declare const _default$7: typeof AssistantModal & typeof exports$8;
1249
1254
 
package/dist/index.d.ts CHANGED
@@ -1234,6 +1234,9 @@ declare const exports$9: {
1234
1234
  declare const _default$8: typeof AssistantMessage & typeof exports$9;
1235
1235
 
1236
1236
  declare const AssistantModal: FC<ThreadConfig>;
1237
+ type AssistantModalButtonProps = TooltipIconButtonProps & {
1238
+ "data-state"?: "open" | "closed";
1239
+ };
1237
1240
  declare const exports$8: {
1238
1241
  Root: FC<PopoverPrimitive.PopoverProps & {
1239
1242
  config?: ThreadConfig | undefined;
@@ -1244,6 +1247,8 @@ declare const exports$8: {
1244
1247
  Content: react.ForwardRefExoticComponent<Partial<Omit<Omit<Omit<PopoverPrimitive.PopoverContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & {
1245
1248
  dissmissOnInteractOutside?: boolean | undefined;
1246
1249
  } & react.RefAttributes<HTMLDivElement>, "ref">, "asChild">> & react.RefAttributes<HTMLDivElement>>;
1250
+ Button: react.ForwardRefExoticComponent<Partial<AssistantModalButtonProps> & react.RefAttributes<HTMLButtonElement>>;
1251
+ Anchor: react.ForwardRefExoticComponent<Partial<Omit<Omit<Omit<PopoverPrimitive.PopoverAnchorProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>, "ref">, "asChild">> & react.RefAttributes<HTMLDivElement>>;
1247
1252
  };
1248
1253
  declare const _default$7: typeof AssistantModal & typeof exports$8;
1249
1254
 
package/dist/index.js CHANGED
@@ -3865,7 +3865,9 @@ AssistantModalContent.displayName = "AssistantModalContent";
3865
3865
  var exports11 = {
3866
3866
  Root: AssistantModalRoot,
3867
3867
  Trigger: AssistantModalTrigger,
3868
- Content: AssistantModalContent
3868
+ Content: AssistantModalContent,
3869
+ Button: AssistantModalButton,
3870
+ Anchor: AssistantModalAnchor
3869
3871
  };
3870
3872
  var assistant_modal_default = Object.assign(AssistantModal, exports11);
3871
3873