mayak-common-library 0.0.968 → 0.0.969

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/dist/index.d.mts CHANGED
@@ -1093,13 +1093,16 @@ interface IMainBoxProps {
1093
1093
  }
1094
1094
  declare function Main({ children, className }: IMainBoxProps): react_jsx_runtime.JSX.Element;
1095
1095
 
1096
- interface CustomButtonProps extends ButtonProps, PropsWithChildren {
1096
+ interface CustomButtonProps extends PropsWithChildren {
1097
1097
  bolt?: boolean;
1098
1098
  border?: boolean;
1099
1099
  base?: boolean;
1100
1100
  small?: boolean;
1101
1101
  large?: boolean;
1102
1102
  medium?: boolean;
1103
+ className?: string;
1104
+ onClick?: () => void;
1105
+ endIcon?: JSX.Element;
1103
1106
  }
1104
1107
  declare const Button: FC<CustomButtonProps>;
1105
1108
 
@@ -1205,7 +1208,7 @@ declare const ToggleSort: FC<ToggleSortProps>;
1205
1208
 
1206
1209
  declare const StyledButton: _emotion_styled.StyledComponent<_mui_material.ButtonOwnProps & Omit<_mui_material.ButtonBaseOwnProps, "classes"> & _mui_material_OverridableComponent.CommonProps & Omit<Omit<react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
1207
1210
  ref?: ((instance: HTMLButtonElement | null) => void | react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | react.RefObject<HTMLButtonElement> | null | undefined;
1208
- }, "style" | "children" | "className" | "tabIndex" | "color" | "href" | "sx" | "disabled" | "action" | "loading" | "size" | "classes" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "loadingIndicator" | "loadingPosition" | "startIcon" | "variant"> & {
1211
+ }, "style" | "children" | "className" | "tabIndex" | "color" | "href" | "sx" | "disabled" | "action" | "loading" | "size" | "endIcon" | "classes" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "fullWidth" | "loadingIndicator" | "loadingPosition" | "startIcon" | "variant"> & {
1209
1212
  theme?: _emotion_react.Theme;
1210
1213
  }, {}, {}>;
1211
1214
 
package/dist/index.d.ts CHANGED
@@ -1093,13 +1093,16 @@ interface IMainBoxProps {
1093
1093
  }
1094
1094
  declare function Main({ children, className }: IMainBoxProps): react_jsx_runtime.JSX.Element;
1095
1095
 
1096
- interface CustomButtonProps extends ButtonProps, PropsWithChildren {
1096
+ interface CustomButtonProps extends PropsWithChildren {
1097
1097
  bolt?: boolean;
1098
1098
  border?: boolean;
1099
1099
  base?: boolean;
1100
1100
  small?: boolean;
1101
1101
  large?: boolean;
1102
1102
  medium?: boolean;
1103
+ className?: string;
1104
+ onClick?: () => void;
1105
+ endIcon?: JSX.Element;
1103
1106
  }
1104
1107
  declare const Button: FC<CustomButtonProps>;
1105
1108
 
@@ -1205,7 +1208,7 @@ declare const ToggleSort: FC<ToggleSortProps>;
1205
1208
 
1206
1209
  declare const StyledButton: _emotion_styled.StyledComponent<_mui_material.ButtonOwnProps & Omit<_mui_material.ButtonBaseOwnProps, "classes"> & _mui_material_OverridableComponent.CommonProps & Omit<Omit<react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
1207
1210
  ref?: ((instance: HTMLButtonElement | null) => void | react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | react.RefObject<HTMLButtonElement> | null | undefined;
1208
- }, "style" | "children" | "className" | "tabIndex" | "color" | "href" | "sx" | "disabled" | "action" | "loading" | "size" | "classes" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "loadingIndicator" | "loadingPosition" | "startIcon" | "variant"> & {
1211
+ }, "style" | "children" | "className" | "tabIndex" | "color" | "href" | "sx" | "disabled" | "action" | "loading" | "size" | "endIcon" | "classes" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "fullWidth" | "loadingIndicator" | "loadingPosition" | "startIcon" | "variant"> & {
1209
1212
  theme?: _emotion_react.Theme;
1210
1213
  }, {}, {}>;
1211
1214