@salutejs/plasma-core 1.138.0-dev.0 → 1.139.0-dev.0

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.
@@ -224,7 +224,7 @@ export const body3: CSSObject;
224
224
  export { BreakWordProps }
225
225
 
226
226
  // @public @deprecated
227
- export const Button: React_2.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React_2.RefAttributes<any>>;
227
+ export const Button: React_2.ForwardRefExoticComponent<Omit<any, "ref"> & React_2.RefAttributes<any>>;
228
228
 
229
229
  // @public (undocumented)
230
230
  export const Button1: StyledComponent<"div", any, SpacingProps & BreakWordProps, never>;
@@ -396,7 +396,7 @@ export interface CardBodyProps extends React_2.HTMLAttributes<HTMLDivElement> {
396
396
  }
397
397
 
398
398
  // @public
399
- export const CardContent: StyledComponent<"div", any, CardContentProps, never>;
399
+ export const CardContent: StyledComponent<"div", any, {} & CardContentProps, never>;
400
400
 
401
401
  // Warning: (ae-forgotten-export) The symbol "CoverProps" needs to be exported by the entry point index.d.ts
402
402
  // Warning: (ae-forgotten-export) The symbol "NoCoverProps" needs to be exported by the entry point index.d.ts
@@ -1047,7 +1047,7 @@ export interface SkeletonGradientProps {
1047
1047
  // Warning: (ae-forgotten-export) The symbol "SliderInternalProps" needs to be exported by the entry point index.d.ts
1048
1048
  //
1049
1049
  // @public (undocumented)
1050
- export const Slider: FC<(SingleSliderProps & SliderInternalProps) | (DoubleSliderProps & SliderInternalProps)>;
1050
+ export const Slider: FC<SliderProps & SliderInternalProps>;
1051
1051
 
1052
1052
  // @public
1053
1053
  export const SliderCore: React_2.FC<SliderProps & SliderInternalProps>;
@@ -26,4 +26,4 @@ export declare const ButtonText: import("styled-components").StyledComponent<"sp
26
26
  * Базовая кнопка.
27
27
  * @deprecated
28
28
  */
29
- export declare const Button: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<any>>;
29
+ export declare const Button: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<any>>;
@@ -21,4 +21,4 @@ export declare type CardContentProps = (CoverProps | NoCoverProps) & OtherProps
21
21
  /**
22
22
  * Компонент для отображения как текстового, так и любого другого контента.
23
23
  */
24
- export declare const CardContent: import("styled-components").StyledComponent<"div", any, CardContentProps, never>;
24
+ export declare const CardContent: import("styled-components").StyledComponent<"div", any, {} & CardContentProps, never>;
@@ -1,4 +1,5 @@
1
+ import { PopupBasePlacement } from './types';
1
2
  export declare const popupBaseRootClass = "popup-base-root";
2
3
  export declare const endAnimationClass = "popup-base-end-animation";
3
4
  export declare const endTransitionClass = "popup-base-end-transition";
4
- export declare const handlePosition: (placement?: "center" | "left" | "right" | "top" | "bottom" | "top-right" | "top-left" | "bottom-right" | "bottom-left" | undefined, offset?: [number, number] | [string, string] | undefined) => import("styled-components").FlattenSimpleInterpolation;
5
+ export declare const handlePosition: (placement?: PopupBasePlacement | undefined, offset?: [number, number] | [string, string] | undefined) => import("styled-components").FlattenSimpleInterpolation;
@@ -2,4 +2,4 @@
2
2
  export { SliderCore } from './Slider';
3
3
  export { ThumbBase } from './ThumbBase';
4
4
  export type { SliderSettings, SliderProps, SingleSliderProps, DoubleSliderProps } from './types';
5
- export declare const Slider: import("react").FC<(import("./types").SingleSliderProps & import("./types").SliderInternalProps) | (import("./types").DoubleSliderProps & import("./types").SliderInternalProps)>;
5
+ export declare const Slider: import("react").FC<import("./types").SliderProps & import("./types").SliderInternalProps>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/plasma-core",
3
- "version": "1.138.0-dev.0",
3
+ "version": "1.139.0-dev.0",
4
4
  "description": "Core library for Plasma: Salute Design System",
5
5
  "author": "Salute Frontend Team <salute.developers@gmail.com>",
6
6
  "license": "MIT",
@@ -39,7 +39,7 @@
39
39
  "styled-components": "5.3.1",
40
40
  "ts-jest": "27.0.5",
41
41
  "ts-node": "10.2.1",
42
- "typescript": "4.0.8",
42
+ "typescript": "4.2.4",
43
43
  "typescript-coverage-report": "0.7.0"
44
44
  },
45
45
  "publishConfig": {
@@ -81,5 +81,5 @@
81
81
  "react-draggable": "4.4.3",
82
82
  "react-popper": "2.3.0"
83
83
  },
84
- "gitHead": "1b80e3979cf3e55af0c1c1346a93b0342a881f2a"
84
+ "gitHead": "1c65be765ea8d9431c40882ae851cea03c32a8b5"
85
85
  }