@ceed/ads 0.0.72 → 0.0.74

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.
@@ -21,5 +21,5 @@ declare const Button: React.ForwardRefExoticComponent<Omit<{
21
21
  loadingPosition?: "center" | "end" | "start" | undefined;
22
22
  } & Omit<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
23
23
  ref?: ((instance: HTMLButtonElement | null) => void) | React.RefObject<HTMLButtonElement> | null | undefined;
24
- }, "color" | "tabIndex" | "variant" | "sx" | "disabled" | "size" | "endDecorator" | "loading" | "startDecorator" | "component" | keyof import("@mui/joy").ButtonSlotsAndSlotProps | "action" | "focusVisibleClassName" | "fullWidth" | "loadingIndicator" | "loadingPosition"> & MotionProps, "ref"> & React.RefAttributes<HTMLElement>>;
24
+ }, "color" | "tabIndex" | "variant" | "sx" | "disabled" | "size" | "endDecorator" | "loading" | "startDecorator" | "component" | "fullWidth" | "loadingIndicator" | "loadingPosition" | "action" | "focusVisibleClassName" | keyof import("@mui/joy").ButtonSlotsAndSlotProps> & MotionProps, "ref"> & React.RefAttributes<HTMLElement>>;
25
25
  export { Button };
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  declare const Modal: import("framer-motion").CustomDomComponent<Pick<import("@mui/base").ModalOwnProps, "children" | "container" | "open" | "disablePortal" | "keepMounted" | "disableAutoFocus" | "disableEnforceFocus" | "disableRestoreFocus" | "disableEscapeKeyDown" | "disableScrollLock" | "hideBackdrop"> & {
3
- onClose?: ((event: {}, reason: "escapeKeyDown" | "backdropClick" | "closeClick") => void) | undefined;
3
+ onClose?: ((event: {}, reason: "backdropClick" | "escapeKeyDown" | "closeClick") => void) | undefined;
4
4
  sx?: import("@mui/joy/styles/types").SxProps | undefined;
5
5
  } & import("@mui/joy").ModalSlotsAndSlotProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
6
6
  ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
@@ -2,7 +2,25 @@ import React from "react";
2
2
  import { TextareaProps } from "@mui/joy";
3
3
  import { MotionProps } from "framer-motion";
4
4
  declare const Textarea: {
5
- (props: TextareaProps & MotionProps): React.JSX.Element;
5
+ (props: {
6
+ label?: string | undefined;
7
+ error?: boolean | undefined;
8
+ helperText?: React.ReactNode;
9
+ } & {
10
+ component?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
11
+ } & import("@mui/joy").TextareaSlotsAndSlotProps & Pick<React.TextareaHTMLAttributes<HTMLTextAreaElement>, "defaultValue" | "autoFocus" | "id" | "onFocus" | "onBlur" | "onChange" | "onKeyDown" | "onKeyUp" | "onClick" | "disabled" | "required" | "autoComplete" | "readOnly" | "value" | "name" | "placeholder"> & {
12
+ color?: import("@mui/types").OverridableStringUnion<import("@mui/joy").ColorPaletteProp, import("@mui/joy").TextareaPropsColorOverrides> | undefined;
13
+ endDecorator?: React.ReactNode;
14
+ error?: boolean | undefined;
15
+ maxRows?: string | number | undefined;
16
+ minRows?: string | number | undefined;
17
+ startDecorator?: React.ReactNode;
18
+ size?: import("@mui/types").OverridableStringUnion<"sm" | "md" | "lg", import("@mui/joy").TextareaPropsSizeOverrides> | undefined;
19
+ sx?: import("@mui/joy/styles/types").SxProps | undefined;
20
+ variant?: import("@mui/types").OverridableStringUnion<import("@mui/joy").VariantProp, import("@mui/joy").TextareaPropsVariantOverrides> | undefined;
21
+ } & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
22
+ ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
23
+ }, "color" | "defaultValue" | "autoFocus" | "id" | "onFocus" | "onBlur" | "onChange" | "onKeyDown" | "onKeyUp" | "onClick" | "variant" | "sx" | "disabled" | "size" | "error" | "required" | "autoComplete" | "readOnly" | "value" | "endDecorator" | "name" | "placeholder" | "startDecorator" | "component" | keyof import("@mui/joy").TextareaSlotsAndSlotProps | "maxRows" | "minRows"> & MotionProps): React.JSX.Element;
6
24
  displayName: string;
7
25
  };
8
26
  export { Textarea };