@prom-ui/core 0.0.142 → 0.0.150
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/Avatar/package.json +1 -1
- package/Backdrop/cjs/index.development.js +117 -0
- package/Backdrop/cjs/index.development.v2.js +117 -0
- package/Backdrop/cjs/index.production.js +1 -0
- package/Backdrop/cjs/index.production.v2.js +1 -0
- package/Backdrop/cjs/style.development.css +1 -0
- package/Backdrop/cjs/style.development.v2.css +1 -0
- package/Backdrop/cjs/style.production.css +1 -0
- package/Backdrop/cjs/style.production.v2.css +1 -0
- package/Backdrop/index.d.ts +25 -0
- package/Backdrop/index.js +7 -0
- package/Backdrop/index.v2.js +7 -0
- package/Backdrop/package.json +13 -0
- package/Body/package.json +1 -1
- package/BodyProvider/package.json +1 -1
- package/Box/package.json +1 -1
- package/Button/package.json +1 -1
- package/ButtonPageUp/package.json +1 -1
- package/Checkbox/package.json +1 -1
- package/Flex/package.json +1 -1
- package/Grid/package.json +1 -1
- package/Icon/package.json +1 -1
- package/Image/package.json +1 -1
- package/ImageEmoji/package.json +1 -1
- package/Input/package.json +1 -1
- package/InputField/package.json +1 -1
- package/KeyPress/package.json +1 -1
- package/Line/package.json +1 -1
- package/Link/package.json +1 -1
- package/List/package.json +1 -1
- package/Media/package.json +1 -1
- package/OutsideClick/package.json +1 -1
- package/Overlay/cjs/index.development.js +45 -60
- package/Overlay/cjs/index.development.v2.js +45 -60
- package/Overlay/cjs/index.production.js +1 -1
- package/Overlay/cjs/index.production.v2.js +1 -1
- package/Overlay/cjs/style.development.css +1 -1
- package/Overlay/cjs/style.development.v2.css +1 -1
- package/Overlay/cjs/style.production.css +1 -1
- package/Overlay/cjs/style.production.v2.css +1 -1
- package/Overlay/components/OverlayHeader.d.ts +11 -0
- package/Overlay/index.d.ts +5 -1
- package/Overlay/package.json +2 -2
- package/Overlay/utils.d.ts +8 -8
- package/Picture/package.json +1 -1
- package/PortableOverlay/package.json +1 -1
- package/Portal/package.json +1 -1
- package/QRCode/package.json +1 -1
- package/Rating/package.json +1 -1
- package/SafeQuery/package.json +1 -1
- package/Scroll/package.json +1 -1
- package/ScrollControls/package.json +1 -1
- package/SideOverlay/package.json +1 -1
- package/SimpleSlider/package.json +1 -1
- package/Skeleton/package.json +1 -1
- package/Spinner/package.json +1 -1
- package/Text/package.json +1 -1
- package/TextEmoji/package.json +1 -1
- package/Tooltip/package.json +1 -1
- package/Tumbler/package.json +1 -1
- package/package.json +2 -2
- package/Overlay/blocks.d.ts +0 -28
- /package/Overlay/{SwipeClose.d.ts → components/SwipeClose.d.ts} +0 -0
- /package/Overlay/{TouchScrollable.d.ts → components/TouchScrollable.d.ts} +0 -0
package/Overlay/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prom-ui/core/Overlay",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.150",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.css"
|
|
8
8
|
],
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"
|
|
10
|
+
"classnames": "^2.3.1",
|
|
11
11
|
"react-easy-swipe": "^0.0.22",
|
|
12
12
|
"react-scrolllock": "^5.0.1",
|
|
13
13
|
"react-transition-group": "^4.4.2"
|
package/Overlay/utils.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
declare type
|
|
2
|
-
declare type
|
|
3
|
-
declare type
|
|
4
|
-
height?:
|
|
5
|
-
width?:
|
|
6
|
-
maxHeight?:
|
|
7
|
-
maxWidth?:
|
|
1
|
+
declare type TypePlacement = 'adaptive' | 'top' | 'right' | 'bottom' | 'left';
|
|
2
|
+
declare type TypeSize = string | number;
|
|
3
|
+
declare type TypeGetPopupStyle = {
|
|
4
|
+
height?: TypeSize;
|
|
5
|
+
width?: TypeSize;
|
|
6
|
+
maxHeight?: TypeSize;
|
|
7
|
+
maxWidth?: TypeSize;
|
|
8
8
|
};
|
|
9
|
-
export declare const getPopupStyle: (placement:
|
|
9
|
+
export declare const getPopupStyle: (placement: TypePlacement, size: TypeSize, maxSize: TypeSize) => TypeGetPopupStyle;
|
|
10
10
|
export {};
|
package/Picture/package.json
CHANGED
package/Portal/package.json
CHANGED
package/QRCode/package.json
CHANGED
package/Rating/package.json
CHANGED
package/SafeQuery/package.json
CHANGED
package/Scroll/package.json
CHANGED
package/SideOverlay/package.json
CHANGED
package/Skeleton/package.json
CHANGED
package/Spinner/package.json
CHANGED
package/Text/package.json
CHANGED
package/TextEmoji/package.json
CHANGED
package/Tooltip/package.json
CHANGED
package/Tumbler/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prom-ui/core",
|
|
3
3
|
"author": "e.marchenko",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.150",
|
|
5
5
|
"description": "core ui blocks",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "jest",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"optional": true
|
|
67
67
|
}
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "9a7740c1bad0223e1cc0f550c81b5ec08fea5f68"
|
|
70
70
|
}
|
package/Overlay/blocks.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare const Root: any;
|
|
3
|
-
export declare const Backdrop: any;
|
|
4
|
-
export declare const Popup: any;
|
|
5
|
-
export declare const OverlayContent: any;
|
|
6
|
-
declare type AnimateProps = {
|
|
7
|
-
enabled?: boolean;
|
|
8
|
-
open?: boolean;
|
|
9
|
-
children?: React.ReactNode;
|
|
10
|
-
onEnter?: () => void;
|
|
11
|
-
onEntered?: () => void;
|
|
12
|
-
onExited?: () => void;
|
|
13
|
-
};
|
|
14
|
-
declare type OverlayHeaderProps = {
|
|
15
|
-
isShowPrevButton?: boolean;
|
|
16
|
-
isShowCloseButton?: boolean;
|
|
17
|
-
children?: React.ReactNode;
|
|
18
|
-
title?: React.ReactNode;
|
|
19
|
-
onClose?: (e: any) => void;
|
|
20
|
-
onPrev?: (e: any) => void;
|
|
21
|
-
};
|
|
22
|
-
declare type OverlayFooterProps = {
|
|
23
|
-
children?: React.ReactNode;
|
|
24
|
-
};
|
|
25
|
-
export declare const Animate: React.FC<AnimateProps>;
|
|
26
|
-
export declare const OverlayHeader: React.FC<OverlayHeaderProps>;
|
|
27
|
-
export declare const OverlayFooter: React.FC<OverlayFooterProps>;
|
|
28
|
-
export {};
|
|
File without changes
|
|
File without changes
|