uilib-native 4.4.0 → 4.5.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.
@@ -0,0 +1,34 @@
1
+ import React from 'react';
2
+ import { ViewStyle } from 'react-native';
3
+ type HighlightFrameType = {
4
+ x: number;
5
+ y: number;
6
+ width: number;
7
+ height: number;
8
+ };
9
+ type HighlightViewTagParams = {
10
+ padding: number | ViewStyle['padding'];
11
+ offset: Pick<HighlightFrameType, 'x' | 'y'>;
12
+ };
13
+ export type HighlighterOverlayViewProps = {
14
+ visible: boolean;
15
+ overlayColor?: string;
16
+ borderRadius?: number;
17
+ strokeColor?: string;
18
+ strokeWidth?: number;
19
+ onRequestClose?: () => void;
20
+ highlightFrame?: HighlightFrameType;
21
+ style?: ViewStyle;
22
+ highlightViewTag?: number | null;
23
+ children?: JSX.Element[] | JSX.Element;
24
+ highlightViewTagParams?: HighlightViewTagParams;
25
+ minimumRectSize?: Pick<HighlightFrameType, 'width' | 'height'>;
26
+ innerPadding?: number;
27
+ accessible?: boolean;
28
+ testID?: string;
29
+ };
30
+ declare const HighlighterOverlayView: {
31
+ (props: HighlighterOverlayViewProps): React.JSX.Element;
32
+ displayName: string;
33
+ };
34
+ export default HighlighterOverlayView;
@@ -0,0 +1,34 @@
1
+ import React from 'react';
2
+ import { ViewStyle } from 'react-native';
3
+ type HighlightFrameType = {
4
+ x: number;
5
+ y: number;
6
+ width: number;
7
+ height: number;
8
+ };
9
+ type HighlightViewTagParams = {
10
+ padding: number | ViewStyle['padding'];
11
+ offset: Pick<HighlightFrameType, 'x' | 'y'>;
12
+ };
13
+ export type HighlighterOverlayViewProps = {
14
+ visible: boolean;
15
+ overlayColor?: string;
16
+ borderRadius?: number;
17
+ strokeColor?: string;
18
+ strokeWidth?: number;
19
+ onRequestClose?: () => void;
20
+ highlightFrame?: HighlightFrameType;
21
+ style?: ViewStyle;
22
+ highlightViewTag?: number | null;
23
+ children?: JSX.Element[] | JSX.Element;
24
+ highlightViewTagParams?: HighlightViewTagParams;
25
+ minimumRectSize?: Pick<HighlightFrameType, 'width' | 'height'>;
26
+ innerPadding?: number;
27
+ accessible?: boolean;
28
+ testID?: string;
29
+ };
30
+ declare const HighlighterOverlayView: {
31
+ (props: HighlighterOverlayViewProps): React.JSX.Element;
32
+ displayName: string;
33
+ };
34
+ export default HighlighterOverlayView;
@@ -0,0 +1,3 @@
1
+ import 'react';
2
+ declare const CustomKeyboardView: () => null;
3
+ export default CustomKeyboardView;
@@ -0,0 +1,6 @@
1
+ import 'react';
2
+ declare const KeyboardTrackingView: {
3
+ (): null;
4
+ scrollBehaviors: {};
5
+ };
6
+ export default KeyboardTrackingView;
@@ -0,0 +1,6 @@
1
+ import DynamicFonts, { FontExtension } from './DynamicFonts';
2
+ import HighlighterOverlayView from './HighlighterOverlayView';
3
+ import SafeAreaSpacerView from './SafeArea/SafeAreaSpacerView';
4
+ import SafeAreaInsetsManager from './SafeArea/SafeAreaInsetsManager';
5
+ import Keyboard, { KeyboardTrackingViewProps, KeyboardAccessoryViewProps } from './Keyboard';
6
+ export { DynamicFonts, FontExtension, HighlighterOverlayView, SafeAreaSpacerView, SafeAreaInsetsManager, Keyboard, KeyboardTrackingViewProps, KeyboardAccessoryViewProps };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uilib-native",
3
- "version": "4.4.0",
3
+ "version": "4.5.0",
4
4
  "homepage": "https://github.com/wix/react-native-ui-lib",
5
5
  "description": "uilib native components (separated from js components)",
6
6
  "main": "components/index",