@evlop/native-components 1.0.209 → 1.0.211
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 +2 -17
- 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 +1 -1
- package/dist/cjs/src/Button.d.ts.map +1 -1
- package/dist/cjs/src/Button.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 -2
- package/dist/cjs/src/Icon/index.d.ts.map +1 -1
- 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/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/_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 +1 -1
- 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/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/main.ai.d.ts +126 -0
- 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 +2 -17
- package/dist/types/src/Avatar.d.ts.map +1 -1
- package/dist/types/src/Button.d.ts +1 -1
- package/dist/types/src/Button.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 -2
- 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/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
|
@@ -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":";AAIA,iBAAS,gBAAgB,CAAC,EAAC,IAAI,EAAC;;CAAA,eAM/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":";AAWA,QAAA,MAAM,gBAAgB;;iBAgDrB,CAAC;AAUF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="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
|
-
}):
|
|
7
|
+
}): 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":";AASA,iBAAS,aAAa,CAAC,EAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAC;;;;;CAAA,eAgF1D;AA+BD,eAAe,aAAa,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
/// <reference types="lodash" />
|
|
2
|
-
import React from 'react';
|
|
3
3
|
export declare const RenderPage: ({ id }: {
|
|
4
4
|
id: any;
|
|
5
|
-
}) =>
|
|
6
|
-
export declare const getPageComponentById: ((pageId: any) => (props: any) =>
|
|
5
|
+
}) => JSX.Element;
|
|
6
|
+
export declare const getPageComponentById: ((pageId: any) => (props: any) => 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":";;AAaA,eAAO,MAAM,UAAU;;iBAgHtB,CAAC;AAEF,eAAO,MAAM,oBAAoB,4BAA6B,GAAG,qDAA2C,CAAC;AAE7G,eAAO,MAAM,uBAAuB,UAAkB,GAAG,aAAa,GAAG,EAAE;;sCAsBxD,CAAC;AAEpB,eAAe,UAAU,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="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):
|
|
13
|
+
declare function RenderTabs({ tabs, animatedScrollPostion }: RenderTabsProps): 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":";AAIA,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,eA6FnE;AAiCD,eAAe,UAAU,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { PaginationProps } from './index';
|
|
3
|
-
export default function DashPagination({ length, activeIndex, onChangeIndex }: PaginationProps):
|
|
3
|
+
export default function DashPagination({ length, activeIndex, onChangeIndex }: PaginationProps): 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":";AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EAAE,MAAM,EAAE,WAAW,EAAE,aAAa,EAAE,EAAE,eAAe,eAuC7F"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PaginationProps } from './index';
|
|
3
|
-
declare function DotPagination({ length, activeIndex, onChangeIndex }: PaginationProps):
|
|
3
|
+
declare function DotPagination({ length, activeIndex, onChangeIndex }: PaginationProps): 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,eAsC7E;;AAkCD,wBAAyC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { PaginationProps } from './index';
|
|
3
|
-
export default function LinePagination({ length, activeIndex, onChangeIndex }: PaginationProps):
|
|
3
|
+
export default function LinePagination({ length, activeIndex, onChangeIndex }: PaginationProps): 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":";AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EAAE,MAAM,EAAE,WAAW,EAAE,aAAa,EAAE,EAAE,eAAe,eA+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'>):
|
|
3
|
+
declare function NumberPagination({ length, activeIndex }: Omit<PaginationProps, 'onChangeIndex'>): 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,eA6BxF;;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 type PaginationType = 'dash' | 'dot' | 'line' | 'number';
|
|
8
|
+
export declare 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,oBAAY,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
|
-
type TextVariantProp = {
|
|
5
|
+
declare type TextVariantProp = {
|
|
6
6
|
variant?: string;
|
|
7
7
|
};
|
|
8
|
-
type NativeTextProps = RNTextProps & BorderProps<Theme> & LayoutProps<Theme> & BackgroundProps<Theme> & ColorProps<Theme> & TypographyProps<Theme> & SpaceProps<Theme> & TextVariantProp & {
|
|
8
|
+
declare type NativeTextProps = RNTextProps & BorderProps<Theme> & LayoutProps<Theme> & BackgroundProps<Theme> & ColorProps<Theme> & TypographyProps<Theme> & SpaceProps<Theme> & TextVariantProp & {
|
|
9
9
|
fontScale?: number;
|
|
10
10
|
};
|
|
11
|
-
export type BaseTextProps = NativeTextProps & {
|
|
11
|
+
export declare 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,aAAK,eAAe,GAAG;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAC,CAAC;AAE1C,aAAK,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,oBAAY,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 type BaseViewProps = RNViewProps & FlexboxProps<Theme> & BorderProps<Theme> & LayoutProps<Theme> & OpacityProps<Theme> & ColorProps<Theme> & BackgroundProps<Theme> & SpaceProps<Theme> & PositionProps<Theme> & OpacityProps<Theme>;
|
|
5
|
+
export declare 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,oBAAY,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
|
-
type Container = ScrollView | FlatList<any> | VirtualizedList<any> | Animated.AnimatedComponent<typeof VirtualizedList>;
|
|
4
|
-
type PageContainerContext = {
|
|
3
|
+
declare type Container = ScrollView | FlatList<any> | VirtualizedList<any> | Animated.AnimatedComponent<typeof VirtualizedList>;
|
|
4
|
+
declare 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,aAAK,SAAS,GAAG,UAAU,GAAG,QAAQ,CAAC,GAAG,CAAC,GAAG,eAAe,CAAC,GAAG,CAAC,GAAG,QAAQ,CAAC,iBAAiB,CAAC,OAAO,eAAe,CAAC,CAAC;AAExH,aAAK,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 type PageInsets = {
|
|
2
|
+
export declare 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
|
-
type PageInsetsProviderProps = {
|
|
8
|
+
declare 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,oBAAY,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,aAAK,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 type AppOnlyColors = 'header-tint' | 'header-background' | 'footer-background' | 'footer-tint' | 'body-background';
|
|
4
|
+
export declare 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,oBAAY,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.211",
|
|
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 && npm run build:types-for-ai",
|
|
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.350",
|
|
41
41
|
"@react-navigation/native": "^7.1.17",
|
|
42
42
|
"@types/lodash": "^4.14.178",
|
|
43
43
|
"@types/react-native": "^0.73.0",
|