@commonsku/styles 1.17.39 → 1.17.40

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.ts CHANGED
@@ -316,15 +316,14 @@ declare const H6: styled_components.StyledComponent<"h6", any, {
316
316
  } & SharedStyleTypes, never>;
317
317
  //# sourceMappingURL=Headings.d.ts.map
318
318
 
319
- type ImgProps = {
320
- src?: string;
321
- alt?: string;
322
- max_attempts?: number;
323
- attempt_interval?: number;
324
- onRetry?: OnErrorEventHandler;
325
- onFailed?: OnErrorEventHandler;
326
- } & React__default.DetailedHTMLProps<React__default.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>;
327
- declare const Img: React__default.ForwardRefExoticComponent<Omit<ImgProps, "ref"> & React__default.RefAttributes<HTMLImageElement>>;
319
+ declare const Img: React__default.ForwardRefExoticComponent<{
320
+ src?: string | undefined;
321
+ alt?: string | undefined;
322
+ max_attempts?: number | undefined;
323
+ attempt_interval?: number | undefined;
324
+ onRetry?: OnErrorEventHandler | undefined;
325
+ onFailed?: OnErrorEventHandler | undefined;
326
+ } & Omit<React__default.DetailedHTMLProps<React__default.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, "ref"> & React__default.RefAttributes<HTMLImageElement>>;
328
327
  //# sourceMappingURL=Img.d.ts.map
329
328
 
330
329
  declare const iconSize: {
@@ -831,6 +830,7 @@ type ToggleProps = React__default.PropsWithChildren<{
831
830
  stretch?: boolean;
832
831
  onClick?: React__default.MouseEventHandler<HTMLDivElement>;
833
832
  size?: ToggleSize$2;
833
+ style?: React__default.CSSProperties;
834
834
  } & SharedStyleTypes>;
835
835
  declare const Toggle: ({ size, ...props }: ToggleProps) => React__default.JSX.Element;
836
836
 
@@ -2354,7 +2354,7 @@ type NotificationExtraContentProps = {
2354
2354
  linkText?: string;
2355
2355
  };
2356
2356
  type NotificationIconProps = {
2357
- alertType?: "neutral" | "success" | "error";
2357
+ alertType?: "neutral" | "success" | "error" | "warn";
2358
2358
  };
2359
2359
  type AlertNotificationProps = React__default.PropsWithChildren<{
2360
2360
  style?: React__default.CSSProperties;
@@ -3462,13 +3462,14 @@ type CommonProps$1 = {
3462
3462
  type ToggleSwitchProps = {
3463
3463
  onClick?: React__default.MouseEventHandler<HTMLDivElement>;
3464
3464
  style?: React__default.CSSProperties;
3465
+ dotStyles?: React__default.CSSProperties;
3465
3466
  } & CommonProps$1 & Omit<Omit<Omit<BaseCskuProps, 'hidden'>, 'color'>, 'style'>;
3466
3467
  type ToggleSwitchStatedProps = {
3467
3468
  initialSelected?: boolean;
3468
3469
  style?: React__default.CSSProperties;
3469
3470
  onClick?: (value: boolean) => void;
3470
3471
  } & Omit<CommonProps$1, 'selected'> & Omit<BaseCskuProps, 'style'>;
3471
- declare const ToggleSwitchStyled: ({ onClick, size, selected, stretch, style, ...props }: ToggleSwitchProps) => React__default.JSX.Element;
3472
+ declare const ToggleSwitchStyled: ({ onClick, size, selected, stretch, style, dotStyles, ...props }: ToggleSwitchProps) => React__default.JSX.Element;
3472
3473
  declare const ToggleSwitch: ({ size, initialSelected, stretch, onClick, ...props }: ToggleSwitchStatedProps) => React__default.JSX.Element;
3473
3474
 
3474
3475
  type GenericObj = {