@evlop/native-components 1.0.208 → 1.0.209
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/cjs/src/Actionable.d.ts +4 -4
- package/dist/cjs/src/Actionable.d.ts.map +1 -1
- package/dist/cjs/src/AnimatedView.d.ts +1 -1
- package/dist/cjs/src/AnimatedView.d.ts.map +1 -1
- package/dist/cjs/src/Avatar.d.ts +17 -2
- package/dist/cjs/src/Avatar.d.ts.map +1 -1
- package/dist/cjs/src/Avatar.js +2 -2
- package/dist/cjs/src/Avatar.js.map +1 -1
- package/dist/cjs/src/Button.d.ts +10 -6
- package/dist/cjs/src/Button.d.ts.map +1 -1
- package/dist/cjs/src/Button.js.map +1 -1
- package/dist/cjs/src/ErrorBoundry.d.ts +5 -2
- package/dist/cjs/src/ErrorBoundry.d.ts.map +1 -1
- package/dist/cjs/src/ErrorBoundry.js.map +1 -1
- package/dist/cjs/src/Flexbox/index.d.ts +1 -1
- package/dist/cjs/src/Flexbox/index.d.ts.map +1 -1
- package/dist/cjs/src/Icon/index.d.ts +3 -4
- package/dist/cjs/src/Icon/index.d.ts.map +1 -1
- package/dist/cjs/src/Icon/index.js +2 -2
- package/dist/cjs/src/Icon/index.js.map +1 -1
- package/dist/cjs/src/Image/NativeImage.d.ts +1 -1
- package/dist/cjs/src/Image/NativeImage.d.ts.map +1 -1
- package/dist/cjs/src/Image/NativeImage.native.d.ts +1 -1
- package/dist/cjs/src/Image/NativeImage.native.d.ts.map +1 -1
- package/dist/cjs/src/Image/index.d.ts +3 -3
- package/dist/cjs/src/Image/index.d.ts.map +1 -1
- package/dist/cjs/src/ImageBackground/index.d.ts +2 -2
- package/dist/cjs/src/ImageBackground/index.d.ts.map +1 -1
- package/dist/cjs/src/NativeButton/index.d.ts +1 -2
- package/dist/cjs/src/NativeButton/index.d.ts.map +1 -1
- package/dist/cjs/src/NativeButton/index.js.map +1 -1
- package/dist/cjs/src/RenderBlocks/RenderBlocksAsScrollView.d.ts +2 -2
- package/dist/cjs/src/RenderBlocks/RenderBlocksAsScrollView.d.ts.map +1 -1
- package/dist/cjs/src/RenderBlocks/RenderBlocksAsVirtualizedList.d.ts +2 -2
- package/dist/cjs/src/RenderBlocks/RenderBlocksAsVirtualizedList.d.ts.map +1 -1
- package/dist/cjs/src/RenderBlocks/index.d.ts +2 -2
- package/dist/cjs/src/RenderBlocks/index.d.ts.map +1 -1
- package/dist/cjs/src/RenderComponent/index.d.ts +2 -2
- package/dist/cjs/src/RenderComponent/index.d.ts.map +1 -1
- package/dist/cjs/src/RenderPage/DynamicLayout.d.ts +2 -2
- package/dist/cjs/src/RenderPage/DynamicLayout.d.ts.map +1 -1
- package/dist/cjs/src/RenderPage/RenderPageBody.d.ts +2 -2
- package/dist/cjs/src/RenderPage/RenderPageBody.d.ts.map +1 -1
- package/dist/cjs/src/RenderPage/RenderPageFooter.d.ts +2 -2
- package/dist/cjs/src/RenderPage/RenderPageFooter.d.ts.map +1 -1
- package/dist/cjs/src/RenderPage/RenderPageHeader.d.ts +2 -2
- package/dist/cjs/src/RenderPage/RenderPageHeader.d.ts.map +1 -1
- package/dist/cjs/src/RenderPage/RenderPageHeader.js +1 -1
- package/dist/cjs/src/RenderPage/RenderPageHeader.js.map +1 -1
- package/dist/cjs/src/RenderPage/_IconWithBadge.d.ts +2 -2
- package/dist/cjs/src/RenderPage/_IconWithBadge.d.ts.map +1 -1
- package/dist/cjs/src/RenderPage/index.d.ts +3 -3
- package/dist/cjs/src/RenderPage/index.d.ts.map +1 -1
- package/dist/cjs/src/RenderPage/index.js +6 -5
- package/dist/cjs/src/RenderPage/index.js.map +1 -1
- package/dist/cjs/src/RenderTabs/index.d.ts +2 -2
- package/dist/cjs/src/RenderTabs/index.d.ts.map +1 -1
- package/dist/cjs/src/Swiper/DashPagination.d.ts +2 -2
- package/dist/cjs/src/Swiper/DashPagination.d.ts.map +1 -1
- package/dist/cjs/src/Swiper/DotPagination.d.ts +1 -1
- package/dist/cjs/src/Swiper/DotPagination.d.ts.map +1 -1
- package/dist/cjs/src/Swiper/LinePagination.d.ts +2 -2
- package/dist/cjs/src/Swiper/LinePagination.d.ts.map +1 -1
- package/dist/cjs/src/Swiper/NumberPagination.d.ts +1 -1
- package/dist/cjs/src/Swiper/NumberPagination.d.ts.map +1 -1
- package/dist/cjs/src/Swiper/index.d.ts +1 -1
- package/dist/cjs/src/Swiper/index.d.ts.map +1 -1
- package/dist/cjs/src/Text/index.d.ts +3 -3
- package/dist/cjs/src/Text/index.d.ts.map +1 -1
- package/dist/cjs/src/View/index.d.ts +1 -1
- package/dist/cjs/src/View/index.d.ts.map +1 -1
- package/dist/cjs/src/contexts/PageContainerContext.d.ts +2 -2
- package/dist/cjs/src/contexts/PageContainerContext.d.ts.map +1 -1
- package/dist/cjs/src/contexts/PageContainerContext.js +1 -1
- package/dist/cjs/src/contexts/PageContainerContext.js.map +1 -1
- package/dist/cjs/src/contexts/PageInsetsContext.d.ts +2 -2
- package/dist/cjs/src/contexts/PageInsetsContext.d.ts.map +1 -1
- package/dist/cjs/src/types.d.ts +1 -1
- package/dist/cjs/src/types.d.ts.map +1 -1
- package/dist/types/src/Actionable.d.ts +4 -4
- package/dist/types/src/Actionable.d.ts.map +1 -1
- package/dist/types/src/AnimatedView.d.ts +1 -1
- package/dist/types/src/AnimatedView.d.ts.map +1 -1
- package/dist/types/src/Avatar.d.ts +17 -2
- package/dist/types/src/Avatar.d.ts.map +1 -1
- package/dist/types/src/Button.d.ts +10 -6
- package/dist/types/src/Button.d.ts.map +1 -1
- package/dist/types/src/ErrorBoundry.d.ts +5 -2
- package/dist/types/src/ErrorBoundry.d.ts.map +1 -1
- package/dist/types/src/Flexbox/index.d.ts +1 -1
- package/dist/types/src/Flexbox/index.d.ts.map +1 -1
- package/dist/types/src/Icon/index.d.ts +3 -4
- package/dist/types/src/Icon/index.d.ts.map +1 -1
- package/dist/types/src/Image/NativeImage.d.ts +1 -1
- package/dist/types/src/Image/NativeImage.d.ts.map +1 -1
- package/dist/types/src/Image/NativeImage.native.d.ts +1 -1
- package/dist/types/src/Image/NativeImage.native.d.ts.map +1 -1
- package/dist/types/src/Image/index.d.ts +3 -3
- package/dist/types/src/Image/index.d.ts.map +1 -1
- package/dist/types/src/ImageBackground/index.d.ts +2 -2
- package/dist/types/src/ImageBackground/index.d.ts.map +1 -1
- package/dist/types/src/NativeButton/index.d.ts +1 -2
- package/dist/types/src/NativeButton/index.d.ts.map +1 -1
- package/dist/types/src/RenderBlocks/RenderBlocksAsScrollView.d.ts +2 -2
- package/dist/types/src/RenderBlocks/RenderBlocksAsScrollView.d.ts.map +1 -1
- package/dist/types/src/RenderBlocks/RenderBlocksAsVirtualizedList.d.ts +2 -2
- package/dist/types/src/RenderBlocks/RenderBlocksAsVirtualizedList.d.ts.map +1 -1
- package/dist/types/src/RenderBlocks/index.d.ts +2 -2
- package/dist/types/src/RenderBlocks/index.d.ts.map +1 -1
- package/dist/types/src/RenderComponent/index.d.ts +2 -2
- package/dist/types/src/RenderComponent/index.d.ts.map +1 -1
- package/dist/types/src/RenderPage/DynamicLayout.d.ts +2 -2
- package/dist/types/src/RenderPage/DynamicLayout.d.ts.map +1 -1
- package/dist/types/src/RenderPage/RenderPageBody.d.ts +2 -2
- package/dist/types/src/RenderPage/RenderPageBody.d.ts.map +1 -1
- package/dist/types/src/RenderPage/RenderPageFooter.d.ts +2 -2
- package/dist/types/src/RenderPage/RenderPageFooter.d.ts.map +1 -1
- package/dist/types/src/RenderPage/RenderPageHeader.d.ts +2 -2
- package/dist/types/src/RenderPage/RenderPageHeader.d.ts.map +1 -1
- package/dist/types/src/RenderPage/_IconWithBadge.d.ts +2 -2
- package/dist/types/src/RenderPage/_IconWithBadge.d.ts.map +1 -1
- package/dist/types/src/RenderPage/index.d.ts +3 -3
- package/dist/types/src/RenderPage/index.d.ts.map +1 -1
- package/dist/types/src/RenderTabs/index.d.ts +2 -2
- package/dist/types/src/RenderTabs/index.d.ts.map +1 -1
- package/dist/types/src/Swiper/DashPagination.d.ts +2 -2
- package/dist/types/src/Swiper/DashPagination.d.ts.map +1 -1
- package/dist/types/src/Swiper/DotPagination.d.ts +1 -1
- package/dist/types/src/Swiper/DotPagination.d.ts.map +1 -1
- package/dist/types/src/Swiper/LinePagination.d.ts +2 -2
- package/dist/types/src/Swiper/LinePagination.d.ts.map +1 -1
- package/dist/types/src/Swiper/NumberPagination.d.ts +1 -1
- package/dist/types/src/Swiper/NumberPagination.d.ts.map +1 -1
- package/dist/types/src/Swiper/index.d.ts +1 -1
- package/dist/types/src/Swiper/index.d.ts.map +1 -1
- package/dist/types/src/Text/index.d.ts +3 -3
- package/dist/types/src/Text/index.d.ts.map +1 -1
- package/dist/types/src/View/index.d.ts +1 -1
- package/dist/types/src/View/index.d.ts.map +1 -1
- package/dist/types/src/contexts/PageContainerContext.d.ts +2 -2
- package/dist/types/src/contexts/PageContainerContext.d.ts.map +1 -1
- package/dist/types/src/contexts/PageInsetsContext.d.ts +2 -2
- package/dist/types/src/contexts/PageInsetsContext.d.ts.map +1 -1
- package/dist/types/src/types.d.ts +1 -1
- package/dist/types/src/types.d.ts.map +1 -1
- package/package.json +3 -3
- package/dist/types/main.ai.d.ts +0 -123
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Action } from '@evlop/commons';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { ButtonProps as RNButtonProps } from 'react-native';
|
|
4
4
|
export declare const NativeButton: React.ForwardRefExoticComponent<RNButtonProps & {
|
|
5
|
-
color: Color;
|
|
6
5
|
action: Action;
|
|
7
6
|
} & {
|
|
8
7
|
model?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/NativeButton/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/NativeButton/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAwC,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAC9E,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAsB,WAAW,IAAI,aAAa,EAAE,MAAM,cAAc,CAAC;AA4BhF,eAAO,MAAM,YAAY;YAzBuB,MAAM;;;;;;;;6BAkCxC,CAAC;AAGf,eAAe,YAAY,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
declare function RenderBlocksAsScrollview({ items }: {
|
|
3
3
|
items: any;
|
|
4
|
-
}): JSX.Element;
|
|
4
|
+
}): React.JSX.Element;
|
|
5
5
|
export default RenderBlocksAsScrollview;
|
|
6
6
|
//# sourceMappingURL=RenderBlocksAsScrollView.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RenderBlocksAsScrollView.d.ts","sourceRoot":"","sources":["../../../../src/RenderBlocks/RenderBlocksAsScrollView.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"RenderBlocksAsScrollView.d.ts","sourceRoot":"","sources":["../../../../src/RenderBlocks/RenderBlocksAsScrollView.tsx"],"names":[],"mappings":"AACA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAavC,iBAAS,wBAAwB,CAAC,EAAC,KAAK,EAAC;;CAAA,qBAQxC;AAED,eAAe,wBAAwB,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
declare function RenderBlocksAsVirtualizedList({ items, onEndReached, animatedScrollPostion }: {
|
|
3
3
|
items: any;
|
|
4
4
|
onEndReached: any;
|
|
5
5
|
animatedScrollPostion: any;
|
|
6
|
-
}): JSX.Element;
|
|
6
|
+
}): React.JSX.Element;
|
|
7
7
|
export default RenderBlocksAsVirtualizedList;
|
|
8
8
|
//# sourceMappingURL=RenderBlocksAsVirtualizedList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RenderBlocksAsVirtualizedList.d.ts","sourceRoot":"","sources":["../../../../src/RenderBlocks/RenderBlocksAsVirtualizedList.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"RenderBlocksAsVirtualizedList.d.ts","sourceRoot":"","sources":["../../../../src/RenderBlocks/RenderBlocksAsVirtualizedList.tsx"],"names":[],"mappings":"AACA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAoC5D,iBAAS,6BAA6B,CAAC,EAAC,KAAK,EAAE,YAAY,EAAE,qBAAqB,EAAC;;;;CAAA,qBA4ClF;AAMD,eAAe,6BAA6B,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export declare const RenderBlocks: ({ blocks, disableScrollview, animatedScrollPostion }: {
|
|
3
3
|
blocks: any;
|
|
4
4
|
disableScrollview?: boolean;
|
|
5
5
|
animatedScrollPostion: any;
|
|
6
|
-
}) => JSX.Element;
|
|
6
|
+
}) => React.JSX.Element;
|
|
7
7
|
export default RenderBlocks;
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/RenderBlocks/index.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/RenderBlocks/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAyCzE,eAAO,MAAM,YAAY;;;;uBA+ExB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -8,7 +8,7 @@ export declare const RenderComponent: ({ insideScrollview, dataModel, model, typ
|
|
|
8
8
|
uuid?: any;
|
|
9
9
|
data: any;
|
|
10
10
|
children?: any;
|
|
11
|
-
}) => JSX.Element;
|
|
11
|
+
}) => React.JSX.Element;
|
|
12
12
|
export declare const Component: React.MemoExoticComponent<({ insideScrollview, dataModel, model, type, componentId, uuid, data: layoutComponentData, children }: {
|
|
13
13
|
insideScrollview?: boolean;
|
|
14
14
|
dataModel?: any;
|
|
@@ -18,6 +18,6 @@ export declare const Component: React.MemoExoticComponent<({ insideScrollview, d
|
|
|
18
18
|
uuid?: any;
|
|
19
19
|
data: any;
|
|
20
20
|
children?: any;
|
|
21
|
-
}) => JSX.Element>;
|
|
21
|
+
}) => React.JSX.Element>;
|
|
22
22
|
export default Component;
|
|
23
23
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/RenderComponent/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAqC,MAAM,OAAO,CAAC;AAO1D,eAAO,MAAM,eAAe;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/RenderComponent/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAqC,MAAM,OAAO,CAAC;AAO1D,eAAO,MAAM,eAAe;;;;;;;;;uBAwE3B,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;wBAA8B,CAAC;AAErD,eAAe,SAAS,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
declare function DynamicLayout({ layout, children }: {
|
|
3
3
|
layout: any;
|
|
4
4
|
children: any;
|
|
5
|
-
}): JSX.Element;
|
|
5
|
+
}): React.JSX.Element;
|
|
6
6
|
export default DynamicLayout;
|
|
7
7
|
//# sourceMappingURL=DynamicLayout.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DynamicLayout.d.ts","sourceRoot":"","sources":["../../../../src/RenderPage/DynamicLayout.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"DynamicLayout.d.ts","sourceRoot":"","sources":["../../../../src/RenderPage/DynamicLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,iBAAS,aAAa,CAAC,EAAC,MAAM,EAAE,QAAQ,EAAC;;;CAAA,qBAMxC;AAED,eAAe,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RenderPageBody.d.ts","sourceRoot":"","sources":["../../../../src/RenderPage/RenderPageBody.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"RenderPageBody.d.ts","sourceRoot":"","sources":["../../../../src/RenderPage/RenderPageBody.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAKvC,QAAA,MAAM,cAAc;;uBA0CnB,CAAA;AAED,eAAe,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RenderPageFooter.d.ts","sourceRoot":"","sources":["../../../../src/RenderPage/RenderPageFooter.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"RenderPageFooter.d.ts","sourceRoot":"","sources":["../../../../src/RenderPage/RenderPageFooter.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,iBAAS,gBAAgB,CAAC,EAAC,IAAI,EAAC;;CAAA,qBAM/B;AAED,eAAe,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RenderPageHeader.d.ts","sourceRoot":"","sources":["../../../../src/RenderPage/RenderPageHeader.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"RenderPageHeader.d.ts","sourceRoot":"","sources":["../../../../src/RenderPage/RenderPageHeader.tsx"],"names":[],"mappings":"AAGA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAQpD,QAAA,MAAM,gBAAgB;;uBAgDrB,CAAC;AAUF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
declare function IconWithBadge({ icon, size: iconSize, color, badge }: {
|
|
3
3
|
icon: any;
|
|
4
4
|
size: any;
|
|
5
5
|
color: any;
|
|
6
6
|
badge: any;
|
|
7
|
-
}): JSX.Element;
|
|
7
|
+
}): React.JSX.Element;
|
|
8
8
|
export default IconWithBadge;
|
|
9
9
|
//# sourceMappingURL=_IconWithBadge.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_IconWithBadge.d.ts","sourceRoot":"","sources":["../../../../src/RenderPage/_IconWithBadge.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"_IconWithBadge.d.ts","sourceRoot":"","sources":["../../../../src/RenderPage/_IconWithBadge.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAqC,MAAM,OAAO,CAAC;AAO1D,iBAAS,aAAa,CAAC,EAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAC;;;;;CAAA,qBAgF1D;AA+BD,eAAe,aAAa,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
/// <reference types="lodash" />
|
|
2
|
+
import React from 'react';
|
|
3
3
|
export declare const RenderPage: ({ id }: {
|
|
4
4
|
id: any;
|
|
5
|
-
}) => JSX.Element;
|
|
6
|
-
export declare const getPageComponentById: ((pageId: any) => (props: any) => JSX.Element) & import("lodash").MemoizedFunction;
|
|
5
|
+
}) => React.JSX.Element;
|
|
6
|
+
export declare const getPageComponentById: ((pageId: any) => (props: any) => React.JSX.Element) & import("lodash").MemoizedFunction;
|
|
7
7
|
export declare const getScreenOptionsForPage: ((page: any, pageTypes: any[]) => {
|
|
8
8
|
title: string;
|
|
9
9
|
}) & import("lodash").MemoizedFunction;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/RenderPage/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/RenderPage/index.tsx"],"names":[],"mappings":";AAGA,OAAO,KAA6C,MAAM,OAAO,CAAC;AAUlE,eAAO,MAAM,UAAU;;uBAgHtB,CAAC;AAEF,eAAO,MAAM,oBAAoB,4BAA6B,GAAG,2DAA2C,CAAC;AAE7G,eAAO,MAAM,uBAAuB,UAAkB,GAAG,aAAa,GAAG,EAAE;;sCAsBxD,CAAC;AAEpB,eAAe,UAAU,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { Route } from 'react-native-tab-view';
|
|
3
3
|
interface Tab extends Route {
|
|
4
4
|
id: string;
|
|
@@ -10,6 +10,6 @@ interface RenderTabsProps {
|
|
|
10
10
|
tabs: Tab[];
|
|
11
11
|
animatedScrollPostion?: any;
|
|
12
12
|
}
|
|
13
|
-
declare function RenderTabs({ tabs, animatedScrollPostion }: RenderTabsProps): JSX.Element;
|
|
13
|
+
declare function RenderTabs({ tabs, animatedScrollPostion }: RenderTabsProps): React.JSX.Element;
|
|
14
14
|
export default RenderTabs;
|
|
15
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/RenderTabs/index.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/RenderTabs/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAEzE,OAAO,EAAE,KAAK,EAAkC,MAAM,uBAAuB,CAAC;AAM9E,UAAU,GAAI,SAAQ,KAAK;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,GAAG,EAAE,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,UAAU,eAAe;IACrB,IAAI,EAAE,GAAG,EAAE,CAAC;IACZ,qBAAqB,CAAC,EAAE,GAAG,CAAC;CAC/B;AAmCD,iBAAS,UAAU,CAAC,EAAE,IAAI,EAAE,qBAAqB,EAAE,EAAE,eAAe,qBA6FnE;AAiCD,eAAe,UAAU,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { PaginationProps } from './index';
|
|
3
|
-
export default function DashPagination({ length, activeIndex, onChangeIndex }: PaginationProps): JSX.Element;
|
|
3
|
+
export default function DashPagination({ length, activeIndex, onChangeIndex }: PaginationProps): React.JSX.Element;
|
|
4
4
|
//# sourceMappingURL=DashPagination.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashPagination.d.ts","sourceRoot":"","sources":["../../../../src/Swiper/DashPagination.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"DashPagination.d.ts","sourceRoot":"","sources":["../../../../src/Swiper/DashPagination.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EAAE,MAAM,EAAE,WAAW,EAAE,aAAa,EAAE,EAAE,eAAe,qBAuC7F"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PaginationProps } from './index';
|
|
3
|
-
declare function DotPagination({ length, activeIndex, onChangeIndex }: PaginationProps): JSX.Element;
|
|
3
|
+
declare function DotPagination({ length, activeIndex, onChangeIndex }: PaginationProps): React.JSX.Element;
|
|
4
4
|
declare const _default: React.MemoExoticComponent<typeof DotPagination>;
|
|
5
5
|
export default _default;
|
|
6
6
|
//# sourceMappingURL=DotPagination.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DotPagination.d.ts","sourceRoot":"","sources":["../../../../src/Swiper/DotPagination.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAI1C,iBAAS,aAAa,CAAC,EAAE,MAAM,EAAE,WAAW,EAAE,aAAa,EAAE,EAAE,eAAe,
|
|
1
|
+
{"version":3,"file":"DotPagination.d.ts","sourceRoot":"","sources":["../../../../src/Swiper/DotPagination.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAI1C,iBAAS,aAAa,CAAC,EAAE,MAAM,EAAE,WAAW,EAAE,aAAa,EAAE,EAAE,eAAe,qBAsC7E;;AAkCD,wBAAyC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { PaginationProps } from './index';
|
|
3
|
-
export default function LinePagination({ length, activeIndex, onChangeIndex }: PaginationProps): JSX.Element;
|
|
3
|
+
export default function LinePagination({ length, activeIndex, onChangeIndex }: PaginationProps): React.JSX.Element;
|
|
4
4
|
//# sourceMappingURL=LinePagination.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinePagination.d.ts","sourceRoot":"","sources":["../../../../src/Swiper/LinePagination.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"LinePagination.d.ts","sourceRoot":"","sources":["../../../../src/Swiper/LinePagination.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EAAE,MAAM,EAAE,WAAW,EAAE,aAAa,EAAE,EAAE,eAAe,qBA+B7F"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PaginationProps } from './index';
|
|
3
|
-
declare function NumberPagination({ length, activeIndex }: Omit<PaginationProps, 'onChangeIndex'>): JSX.Element;
|
|
3
|
+
declare function NumberPagination({ length, activeIndex }: Omit<PaginationProps, 'onChangeIndex'>): React.JSX.Element;
|
|
4
4
|
declare const _default: React.MemoExoticComponent<typeof NumberPagination>;
|
|
5
5
|
export default _default;
|
|
6
6
|
//# sourceMappingURL=NumberPagination.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NumberPagination.d.ts","sourceRoot":"","sources":["../../../../src/Swiper/NumberPagination.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAI1C,iBAAS,gBAAgB,CAAC,EAAE,MAAM,EAAE,WAAW,EAAE,EAAE,IAAI,CAAC,eAAe,EAAE,eAAe,CAAC,
|
|
1
|
+
{"version":3,"file":"NumberPagination.d.ts","sourceRoot":"","sources":["../../../../src/Swiper/NumberPagination.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAI1C,iBAAS,gBAAgB,CAAC,EAAE,MAAM,EAAE,WAAW,EAAE,EAAE,IAAI,CAAC,eAAe,EAAE,eAAe,CAAC,qBA6BxF;;AAgCD,wBAA4C"}
|
|
@@ -5,7 +5,7 @@ export interface PaginationProps {
|
|
|
5
5
|
activeIndex: Animated.AnimatedAddition<number>;
|
|
6
6
|
onChangeIndex: (index: number) => void;
|
|
7
7
|
}
|
|
8
|
-
export
|
|
8
|
+
export type PaginationType = 'dash' | 'dot' | 'line' | 'number';
|
|
9
9
|
export interface SwiperRef {
|
|
10
10
|
scrollToIndex: (index: number) => void;
|
|
11
11
|
scrollTo: (options: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Swiper/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6F,MAAM,OAAO,CAAC;AAClH,OAAO,EAAE,QAAQ,EAA0D,SAAS,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAM1I,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,QAAQ,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC;IAC/C,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACxC;AAED,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Swiper/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6F,MAAM,OAAO,CAAC;AAClH,OAAO,EAAE,QAAQ,EAA0D,SAAS,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAM1I,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,QAAQ,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC;IAC/C,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACxC;AAED,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,KAAK,GAAG,MAAM,GAAG,QAAQ,CAAC;AAEhE,MAAM,WAAW,SAAS;IACxB,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,QAAQ,EAAE,CAAC,OAAO,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,OAAO,CAAA;KAAE,KAAK,IAAI,CAAC;CACnE;AAED,MAAM,WAAW,WAAW,CAAC,CAAC,GAAG,GAAG,CAAE,SAAQ,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,MAAM,GAAG,YAAY,GAAG,YAAY,GAAG,eAAe,GAAG,gCAAgC,GAAG,8BAA8B,GAAG,eAAe,CAAC;IAChN,IAAI,EAAE,CAAC,EAAE,CAAC;IACV,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,eAAe,CAAC,EAAE,SAAS,CAAC;IAC5B,UAAU,CAAC,EAAE,cAAc,CAAC,CAAC,CAAC,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,MAAM,oFA8FV,CAAA;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -2,13 +2,13 @@ import { ComponentWithSettings, Theme } from '@evlop/commons';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { TextProps as RNTextProps } from 'react-native';
|
|
4
4
|
import { BackgroundProps, BorderProps, ColorProps, LayoutProps, SpaceProps, TypographyProps } from 'styled-system';
|
|
5
|
-
|
|
5
|
+
type TextVariantProp = {
|
|
6
6
|
variant?: string;
|
|
7
7
|
};
|
|
8
|
-
|
|
8
|
+
type NativeTextProps = RNTextProps & BorderProps<Theme> & LayoutProps<Theme> & BackgroundProps<Theme> & ColorProps<Theme> & TypographyProps<Theme> & SpaceProps<Theme> & TextVariantProp & {
|
|
9
9
|
fontScale?: number;
|
|
10
10
|
};
|
|
11
|
-
export
|
|
11
|
+
export type BaseTextProps = NativeTextProps & {
|
|
12
12
|
content?: string;
|
|
13
13
|
};
|
|
14
14
|
export declare const BaseText: React.ComponentType<BaseTextProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Text/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EAErB,KAAK,EAEN,MAAM,gBAAgB,CAAC;AAExB,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAkB,SAAS,IAAI,WAAW,EAAE,MAAM,cAAc,CAAC;AAExE,OAAO,EAAc,eAAe,EAAU,WAAW,EAAS,UAAU,EAAU,WAAW,EAAS,UAAU,EAAsB,eAAe,EAAW,MAAM,eAAe,CAAC;AAM1L,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Text/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EAErB,KAAK,EAEN,MAAM,gBAAgB,CAAC;AAExB,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAkB,SAAS,IAAI,WAAW,EAAE,MAAM,cAAc,CAAC;AAExE,OAAO,EAAc,eAAe,EAAU,WAAW,EAAS,UAAU,EAAU,WAAW,EAAS,UAAU,EAAsB,eAAe,EAAW,MAAM,eAAe,CAAC;AAM1L,KAAK,eAAe,GAAG;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAC,CAAC;AAE1C,KAAK,eAAe,GAAG,WAAW,GAAG,WAAW,CAAC,KAAK,CAAC,GAAG,WAAW,CAAC,KAAK,CAAC,GAAG,eAAe,CAAC,KAAK,CAAC,GAAG,UAAU,CAAC,KAAK,CAAC,GAAG,eAAe,CAAC,KAAK,CAAC,GAAG,UAAU,CAAC,KAAK,CAAC,GAAG,eAAe,GAAG;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAC,CAAC;AA8BhN,MAAM,MAAM,aAAa,GAAG,eAAe,GAAG;IAAE,OAAO,CAAC,EAAE,MAAM,CAAA;CAAC,CAAC;AAMlE,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,aAAa,CAAC,aAAa,CAcvD,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,qBAAqB,CAAC,aAAa,CAgC1C,CAAC;AAEb,eAAe,IAAI,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { ComponentWithSettings, Theme } from '@evlop/commons';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { View as RNView, ViewProps as RNViewProps } from 'react-native';
|
|
4
4
|
import { BackgroundProps, BorderProps, ColorProps, LayoutProps, OpacityProps, SpaceProps, PositionProps, FlexboxProps } from 'styled-system';
|
|
5
|
-
export
|
|
5
|
+
export type BaseViewProps = RNViewProps & FlexboxProps<Theme> & BorderProps<Theme> & LayoutProps<Theme> & OpacityProps<Theme> & ColorProps<Theme> & BackgroundProps<Theme> & SpaceProps<Theme> & PositionProps<Theme> & OpacityProps<Theme>;
|
|
6
6
|
export declare const BaseView: React.ComponentType<BaseViewProps & React.RefAttributes<RNView>>;
|
|
7
7
|
declare const View: ComponentWithSettings<BaseViewProps>;
|
|
8
8
|
export default View;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/View/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,KAAK,EAAgB,MAAM,gBAAgB,CAAC;AAC5E,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,IAAI,MAAM,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,cAAc,CAAC;AAExE,OAAO,EAAc,eAAe,EAAU,WAAW,EAAS,UAAU,EAAU,WAAW,EAAW,YAAY,EAAS,UAAU,EAAY,aAAa,EAAW,YAAY,EAAE,MAAM,eAAe,CAAC;AAEnN,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/View/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,KAAK,EAAgB,MAAM,gBAAgB,CAAC;AAC5E,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,IAAI,MAAM,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,cAAc,CAAC;AAExE,OAAO,EAAc,eAAe,EAAU,WAAW,EAAS,UAAU,EAAU,WAAW,EAAW,YAAY,EAAS,UAAU,EAAY,aAAa,EAAW,YAAY,EAAE,MAAM,eAAe,CAAC;AAEnN,MAAM,MAAM,aAAa,GAAI,WAAW,GAAG,YAAY,CAAC,KAAK,CAAC,GAAG,WAAW,CAAC,KAAK,CAAC,GAAG,WAAW,CAAC,KAAK,CAAC,GAAG,YAAY,CAAC,KAAK,CAAC,GAAG,UAAU,CAAC,KAAK,CAAC,GAAG,eAAe,CAAC,KAAK,CAAC,GAAG,UAAU,CAAC,KAAK,CAAC,GAAG,aAAa,CAAC,KAAK,CAAC,GAAG,YAAY,CAAC,KAAK,CAAC,CAAC;AAE7O,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,aAAa,CAAC,aAAa,GAAG,KAAK,CAAC,aAAa,CAAC,MAAM,CAAC,CASnF,CAAC;AAEJ,QAAA,MAAM,IAAI,EAAE,qBAAqB,CAAC,aAAa,CAInC,CAAC;AAGb,eAAe,IAAI,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RefObject } from "react";
|
|
2
2
|
import { Animated, FlatList, ScrollView, VirtualizedList } from "react-native";
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
type Container = ScrollView | FlatList<any> | VirtualizedList<any> | Animated.AnimatedComponent<typeof VirtualizedList>;
|
|
4
|
+
type PageContainerContext = {
|
|
5
5
|
ref: RefObject<Container>;
|
|
6
6
|
offsetTop: number;
|
|
7
7
|
setOffsetTop: (identifier: string, offset: number) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PageContainerContext.d.ts","sourceRoot":"","sources":["../../../../src/contexts/PageContainerContext.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,SAAS,EAAsD,MAAM,OAAO,CAAC;AACrG,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/E,
|
|
1
|
+
{"version":3,"file":"PageContainerContext.d.ts","sourceRoot":"","sources":["../../../../src/contexts/PageContainerContext.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,SAAS,EAAsD,MAAM,OAAO,CAAC;AACrG,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/E,KAAK,SAAS,GAAG,UAAU,GAAG,QAAQ,CAAC,GAAG,CAAC,GAAG,eAAe,CAAC,GAAG,CAAC,GAAG,QAAQ,CAAC,iBAAiB,CAAC,OAAO,eAAe,CAAC,CAAC;AAExH,KAAK,oBAAoB,GAAG;IACxB,GAAG,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAG,IAAI,CAAC;IACzD,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAG,IAAI,CAAC;CAC/D,CAAA;AAED,eAAO,MAAM,oBAAoB,+CAM/B,CAAC;AAOH,wBAAgB,6BAA6B,IAAI,oBAAoB,CAyBpE;AAED,wBAAgB,gBAAgB,yBAE/B;AAED,eAAe,oBAAoB,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export
|
|
2
|
+
export type PageInsets = {
|
|
3
3
|
top: number;
|
|
4
4
|
bottom: number;
|
|
5
5
|
};
|
|
6
6
|
export declare const PageInsetsContext: React.Context<PageInsets>;
|
|
7
7
|
export declare function usePageInsets(): PageInsets;
|
|
8
|
-
|
|
8
|
+
type PageInsetsProviderProps = {
|
|
9
9
|
top?: number;
|
|
10
10
|
bottom?: number;
|
|
11
11
|
children?: React.ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PageInsetsContext.d.ts","sourceRoot":"","sources":["../../../../src/contexts/PageInsetsContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6C,MAAM,OAAO,CAAC;AAElE,
|
|
1
|
+
{"version":3,"file":"PageInsetsContext.d.ts","sourceRoot":"","sources":["../../../../src/contexts/PageInsetsContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6C,MAAM,OAAO,CAAC;AAElE,MAAM,MAAM,UAAU,GAAG;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,iBAAiB,2BAG5B,CAAC;AAEH,wBAAgB,aAAa,IAAI,UAAU,CAE1C;AAED,KAAK,uBAAuB,GAAG;IAC7B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAahE,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export interface AnyProps {
|
|
2
2
|
[key: string]: any;
|
|
3
3
|
}
|
|
4
|
-
export
|
|
4
|
+
export type AppOnlyColors = 'header-tint' | 'header-background' | 'footer-background' | 'footer-tint' | 'body-background';
|
|
5
5
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QAAQ;IACrB,CAAC,GAAG,EAAC,MAAM,GAAG,GAAG,CAAC;CACrB;AAED,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QAAQ;IACrB,CAAC,GAAG,EAAC,MAAM,GAAG,GAAG,CAAC;CACrB;AAED,MAAM,MAAM,aAAa,GAAG,aAAa,GAAG,mBAAmB,GAAG,mBAAmB,GAAG,aAAa,GAAG,iBAAiB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@evlop/native-components",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.209",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/cjs/main.js",
|
|
6
6
|
"types": "dist/types/main.d.ts",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"prepack": "npm run build",
|
|
9
9
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
10
10
|
"prebuild": "rm -rf dist",
|
|
11
|
-
"build": "npm run build:cjs && npm run build:types && npm run copy-assets
|
|
11
|
+
"build": "npm run build:cjs && npm run build:types && npm run copy-assets",
|
|
12
12
|
"build:cjs": "tsc --module commonjs --outDir dist/cjs",
|
|
13
13
|
"build:types": "tsc --declaration --declarationDir dist/types --emitDeclarationOnly",
|
|
14
14
|
"build:types-for-ai": "dts-bundle-generator -o dist/types/main.ai.d.ts types-for-ai.ts --no-check --no-banner --export-referenced-types=false",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"styled-system": "^5.1.5"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@evlop/commons": "^1.0.
|
|
40
|
+
"@evlop/commons": "^1.0.349",
|
|
41
41
|
"@react-navigation/native": "^7.1.17",
|
|
42
42
|
"@types/lodash": "^4.14.178",
|
|
43
43
|
"@types/react-native": "^0.73.0",
|
package/dist/types/main.ai.d.ts
DELETED
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
import { Action, Color, ComponentWithSettings, IconIdentifier, Theme } from '@evlop/commons';
|
|
2
|
-
import React$1 from 'react';
|
|
3
|
-
import { FlatListProps, ImageBackgroundProps as RNImageBackgroundProps, ImageProps, ListRenderItem, PressableProps, TextProps as RNTextProps, TextStyle, View as RNView, ViewProps, ViewProps as RNViewProps, ViewStyle } from 'react-native';
|
|
4
|
-
import { BackgroundColorProps, BackgroundProps, BorderProps, ColorProps, FlexProps, FlexboxProps, FlexboxProps as SSFlexboxProps, FontSizeProps, FontWeightProps, LayoutProps, OpacityProps, PositionProps, ResponsiveValue, SpaceProps, ThemeValue, TypographyProps } from 'styled-system';
|
|
5
|
-
|
|
6
|
-
type BaseViewProps = RNViewProps & FlexboxProps<Theme> & BorderProps<Theme> & LayoutProps<Theme> & OpacityProps<Theme> & ColorProps<Theme> & BackgroundProps<Theme> & SpaceProps<Theme> & PositionProps<Theme> & OpacityProps<Theme>;
|
|
7
|
-
declare const BaseView: React$1.ComponentType<BaseViewProps & React$1.RefAttributes<RNView>>;
|
|
8
|
-
interface GapProps {
|
|
9
|
-
gap?: ResponsiveValue<ThemeValue<"space", Theme>, Theme>;
|
|
10
|
-
rowGap?: ResponsiveValue<ThemeValue<"space", Theme>, Theme>;
|
|
11
|
-
columnGap?: ResponsiveValue<ThemeValue<"space", Theme>, Theme>;
|
|
12
|
-
}
|
|
13
|
-
type BaseFlexboxProps = RNViewProps & BorderProps<Theme> & SSFlexboxProps<Theme> & LayoutProps<Theme> & ColorProps<Theme> & BackgroundProps<Theme> & SpaceProps<Theme> & PositionProps<Theme> & GapProps;
|
|
14
|
-
declare const BaseFlexbox: React$1.ComponentType<BaseFlexboxProps>;
|
|
15
|
-
type TextVariantProp = {
|
|
16
|
-
variant?: string;
|
|
17
|
-
};
|
|
18
|
-
type NativeTextProps = RNTextProps & BorderProps<Theme> & LayoutProps<Theme> & BackgroundProps<Theme> & ColorProps<Theme> & TypographyProps<Theme> & SpaceProps<Theme> & TextVariantProp & {
|
|
19
|
-
fontScale?: number;
|
|
20
|
-
};
|
|
21
|
-
type BaseTextProps = NativeTextProps & {
|
|
22
|
-
content?: string;
|
|
23
|
-
};
|
|
24
|
-
declare const BaseText: React$1.ComponentType<BaseTextProps>;
|
|
25
|
-
type AppOnlyColors = "header-tint" | "header-background" | "footer-background" | "footer-tint" | "body-background";
|
|
26
|
-
type BaseIconProps = {
|
|
27
|
-
icon?: IconIdentifier;
|
|
28
|
-
size?: number;
|
|
29
|
-
color?: Color | AppOnlyColors;
|
|
30
|
-
flipOnRTL?: boolean;
|
|
31
|
-
onPress?: any;
|
|
32
|
-
};
|
|
33
|
-
declare const BaseIcon: React$1.ComponentType<BaseIconProps>;
|
|
34
|
-
type ButtonSize = "sm" | "md" | "lg" | "xl" | "2xl";
|
|
35
|
-
interface BaseButtonProps extends ViewProps, FontWeightProps<Theme>, FontSizeProps<Theme>, LayoutProps<Theme>, SpaceProps<Theme>, BackgroundColorProps<Theme>, BorderProps<Theme> {
|
|
36
|
-
disabled?: boolean;
|
|
37
|
-
loading?: boolean;
|
|
38
|
-
label?: string;
|
|
39
|
-
variant?: "filled" | "outlined" | "dim-outlined" | "dim-filled-outlined" | "ghost";
|
|
40
|
-
size?: ButtonSize;
|
|
41
|
-
color?: Color;
|
|
42
|
-
textColor?: Color;
|
|
43
|
-
textStyle?: TextStyle;
|
|
44
|
-
action?: Action;
|
|
45
|
-
icon?: IconIdentifier;
|
|
46
|
-
iconPosition?: "left" | "right";
|
|
47
|
-
}
|
|
48
|
-
declare const BaseButton: React$1.FC<BaseButtonProps>;
|
|
49
|
-
type EffectType = "none" | "scale" | "opacity" | "both" | "elevation" | "border" | "color" | "ripple" | "spring";
|
|
50
|
-
type FeedbackType = "none" | "light" | "medium" | "heavy" | "success" | "error" | "warning";
|
|
51
|
-
interface BaseActionableProps extends PressableProps {
|
|
52
|
-
effect?: EffectType;
|
|
53
|
-
feedback?: FeedbackType;
|
|
54
|
-
action: Action;
|
|
55
|
-
[key: string]: any;
|
|
56
|
-
}
|
|
57
|
-
declare const BaseActionable: React$1.ComponentType<BaseActionableProps>;
|
|
58
|
-
type NativeImageProps = ImageProps;
|
|
59
|
-
declare const imageSizes: {
|
|
60
|
-
xxxs: number;
|
|
61
|
-
"3xs": number;
|
|
62
|
-
xxs: number;
|
|
63
|
-
"2xs": number;
|
|
64
|
-
xs: number;
|
|
65
|
-
sm: number;
|
|
66
|
-
md: number;
|
|
67
|
-
lg: number;
|
|
68
|
-
xl: number;
|
|
69
|
-
xxl: number;
|
|
70
|
-
"2xl": number;
|
|
71
|
-
xxxl: number;
|
|
72
|
-
"3xl": number;
|
|
73
|
-
fluid: string;
|
|
74
|
-
};
|
|
75
|
-
type ImageSize = keyof (typeof imageSizes);
|
|
76
|
-
type StyledImageProps = NativeImageProps & BorderProps<Theme> & SpaceProps<Theme> & {
|
|
77
|
-
width?: ImageSize | number;
|
|
78
|
-
height?: ImageSize | number;
|
|
79
|
-
minHeight?: ImageSize | number;
|
|
80
|
-
minWidth?: ImageSize | number;
|
|
81
|
-
aspectRatio?: string | number;
|
|
82
|
-
};
|
|
83
|
-
declare const BaseImage: React$1.ForwardRefExoticComponent<Partial<StyledImageProps> & {
|
|
84
|
-
src?: string;
|
|
85
|
-
placeholder?: string;
|
|
86
|
-
} & React$1.RefAttributes<any>>;
|
|
87
|
-
type StyledImageBackgroundProps = RNImageBackgroundProps & FlexProps<Theme> & BorderProps<Theme> & LayoutProps<Theme> & OpacityProps<Theme> & ColorProps<Theme> & BackgroundProps<Theme> & SpaceProps<Theme>;
|
|
88
|
-
type BaseImageBackgroundProps = StyledImageBackgroundProps & {
|
|
89
|
-
src?: string;
|
|
90
|
-
placeholder?: string;
|
|
91
|
-
};
|
|
92
|
-
declare const BaseImageBackground: ComponentWithSettings<BaseImageBackgroundProps>;
|
|
93
|
-
type PaginationType = "dash" | "dot" | "line" | "number";
|
|
94
|
-
interface SwiperRef {
|
|
95
|
-
scrollToIndex: (index: number) => void;
|
|
96
|
-
scrollTo: (options: {
|
|
97
|
-
index: number;
|
|
98
|
-
animated: boolean;
|
|
99
|
-
}) => void;
|
|
100
|
-
}
|
|
101
|
-
interface SwiperProps<T = any> extends Omit<FlatListProps<T>, "data" | "renderItem" | "horizontal" | "pagingEnabled" | "showsHorizontalScrollIndicator" | "showsVerticalScrollIndicator" | "getItemLayout"> {
|
|
102
|
-
data: T[];
|
|
103
|
-
autoplay?: boolean;
|
|
104
|
-
autoplayInterval?: number;
|
|
105
|
-
paginationType?: PaginationType;
|
|
106
|
-
paginationStyle?: ViewStyle;
|
|
107
|
-
renderItem?: ListRenderItem<T>;
|
|
108
|
-
itemWidth?: number;
|
|
109
|
-
}
|
|
110
|
-
export declare const Swiper: React$1.ForwardRefExoticComponent<SwiperProps<any> & React$1.RefAttributes<SwiperRef>>;
|
|
111
|
-
|
|
112
|
-
export {
|
|
113
|
-
BaseActionable as Actionable,
|
|
114
|
-
BaseButton as Button,
|
|
115
|
-
BaseFlexbox as Flexbox,
|
|
116
|
-
BaseIcon as Icon,
|
|
117
|
-
BaseImage as Image,
|
|
118
|
-
BaseImageBackground as ImageBackground,
|
|
119
|
-
BaseText as Text,
|
|
120
|
-
BaseView as Box,
|
|
121
|
-
};
|
|
122
|
-
|
|
123
|
-
export {};
|