indicator-ui 0.0.290 → 0.0.291

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.
@@ -1,4 +1,4 @@
1
- import React, { HTMLAttributes, ReactNode, Ref } from "react";
1
+ import { HTMLAttributes } from "react";
2
2
  /**
3
3
  * Триггер события скролла, может быть,
4
4
  * либо значением отступа скролла от верха компонента
@@ -30,15 +30,6 @@ type ScrollProviderBasePropsType = {
30
30
  * По умолчанию: *10* _(10px)_.
31
31
  * */
32
32
  accuracy?: number;
33
- /**
34
- * Компонент обертка, скролл которого будет отслеживаться.
35
- *
36
- * **Warning:** у компонента есть обязательные _пропсы_: `ref`, `children`
37
- * */
38
- wrapper?: React.ReactElement<{
39
- children?: ReactNode;
40
- ref: Ref<HTMLElement>;
41
- }>;
42
33
  /**
43
34
  * При прокрутке в самом верху вверх.
44
35
  * */
@@ -7,10 +7,6 @@ export declare const ScrollProvider: React.ForwardRefExoticComponent<Omit<React.
7
7
  onScrollTop?: () => void;
8
8
  onScroll?: import("../types").ScrollProviderOnScrollType;
9
9
  accuracy?: number;
10
- wrapper?: React.ReactElement<{
11
- children?: React.ReactNode;
12
- ref: React.Ref<HTMLElement>;
13
- }>;
14
10
  onWheelTopUp?: () => void;
15
11
  onWheelBottomDown?: () => void;
16
12
  className?: string;
@@ -20,10 +16,6 @@ export declare const ScrollProvider: React.ForwardRefExoticComponent<Omit<React.
20
16
  onScrollTop?: () => void;
21
17
  onScroll?: import("../types").ScrollProviderOnScrollType;
22
18
  accuracy?: number;
23
- wrapper?: React.ReactElement<{
24
- children?: React.ReactNode;
25
- ref: React.Ref<HTMLElement>;
26
- }>;
27
19
  onWheelTopUp?: () => void;
28
20
  onWheelBottomDown?: () => void;
29
21
  className?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "indicator-ui",
3
- "version": "0.0.290",
3
+ "version": "0.0.291",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/types/src/index.d.ts",
6
6
  "style": "dist/index.css",