@evlop/native-components 1.0.72 → 1.0.75
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/main.d.ts +1 -0
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +9 -2
- package/dist/main.js.map +1 -1
- package/dist/src/Actionable.d.ts +1 -1
- package/dist/src/Actionable.d.ts.map +1 -1
- package/dist/src/Actionable.js +6 -5
- package/dist/src/Actionable.js.map +1 -1
- package/dist/src/Avatar.d.ts +1 -1
- package/dist/src/Avatar.d.ts.map +1 -1
- package/dist/src/Avatar.js +4 -4
- package/dist/src/Avatar.js.map +1 -1
- package/dist/src/Button.d.ts +9 -1
- package/dist/src/Button.d.ts.map +1 -1
- package/dist/src/Button.js +7 -3
- package/dist/src/Button.js.map +1 -1
- package/dist/src/Collection/index.d.ts +1 -2
- package/dist/src/Collection/index.d.ts.map +1 -1
- package/dist/src/ErrorBoundry.d.ts +1 -1
- package/dist/src/Flexbox/index.d.ts +9 -0
- package/dist/src/Flexbox/index.d.ts.map +1 -0
- package/dist/src/Flexbox/index.js +20 -0
- package/dist/src/Flexbox/index.js.map +1 -0
- package/dist/src/Icon/index.d.ts +20 -8
- package/dist/src/Icon/index.d.ts.map +1 -1
- package/dist/src/Icon/index.js +6 -2
- package/dist/src/Icon/index.js.map +1 -1
- package/dist/src/Image/index.d.ts +39 -4
- package/dist/src/Image/index.d.ts.map +1 -1
- package/dist/src/Image/index.js +16 -12
- package/dist/src/Image/index.js.map +1 -1
- package/dist/src/Layouts/HorizontalLayout.d.ts.map +1 -1
- package/dist/src/Layouts/HorizontalLayout.js +6 -2
- package/dist/src/Layouts/HorizontalLayout.js.map +1 -1
- package/dist/src/Layouts/index.js +5 -1
- package/dist/src/Layouts/index.js.map +1 -1
- package/dist/src/ListItem.js +1 -1
- package/dist/src/ListItem.js.map +1 -1
- package/dist/src/NativeButton/index.d.ts +12 -1
- package/dist/src/NativeButton/index.d.ts.map +1 -1
- package/dist/src/NativeButton/index.js +11 -8
- package/dist/src/NativeButton/index.js.map +1 -1
- package/dist/src/RenderBlocks/index.js +8 -4
- package/dist/src/RenderBlocks/index.js.map +1 -1
- package/dist/src/RenderComponent/index.js +22 -18
- package/dist/src/RenderComponent/index.js.map +1 -1
- package/dist/src/RenderPage/DefaultLayout.js +1 -1
- package/dist/src/RenderPage/DefaultLayout.js.map +1 -1
- package/dist/src/RenderPage/PageHeaderUpdater.js +4 -4
- package/dist/src/RenderPage/PageHeaderUpdater.js.map +1 -1
- package/dist/src/RenderPage/index.d.ts +3 -2
- package/dist/src/RenderPage/index.d.ts.map +1 -1
- package/dist/src/RenderPage/index.js +21 -18
- package/dist/src/RenderPage/index.js.map +1 -1
- package/dist/src/Row/index.d.ts +4 -2
- package/dist/src/Row/index.d.ts.map +1 -1
- package/dist/src/Row/index.js +2 -2
- package/dist/src/Row/index.js.map +1 -1
- package/dist/src/Swiper/index.js +13 -9
- package/dist/src/Swiper/index.js.map +1 -1
- package/dist/src/Text/index.d.ts +12 -4
- package/dist/src/Text/index.d.ts.map +1 -1
- package/dist/src/Text/index.js +12 -30
- package/dist/src/Text/index.js.map +1 -1
- package/dist/src/View/index.d.ts +10 -4
- package/dist/src/View/index.d.ts.map +1 -1
- package/dist/src/View/index.js +4 -3
- package/dist/src/View/index.js.map +1 -1
- package/dist/src/contexts/PageScrollViewContext.js +1 -1
- package/dist/src/contexts/PageScrollViewContext.js.map +1 -1
- package/package.json +5 -3
package/dist/src/View/index.d.ts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { ComponentWithSettings, Theme } from '@evlop/commons';
|
|
2
|
+
import React, { RefAttributes } from 'react';
|
|
3
|
+
import { View as RNView, ViewProps as RNViewProps } from 'react-native';
|
|
4
|
+
import { BackgroundProps, BorderProps, ColorProps, LayoutProps, OpacityProps, SpaceProps } from 'styled-system';
|
|
5
|
+
export declare type BaseViewProps = RNViewProps & BorderProps<Theme> & LayoutProps<Theme> & OpacityProps<Theme> & ColorProps<Theme> & BackgroundProps<Theme> & SpaceProps<Theme> & {
|
|
6
|
+
opacity?: number;
|
|
7
|
+
};
|
|
8
|
+
export declare const BaseView: React.ComponentType<BaseViewProps & RefAttributes<RNView>>;
|
|
9
|
+
declare const View: ComponentWithSettings<BaseViewProps>;
|
|
10
|
+
export default View;
|
|
5
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/View/index.tsx"],"names":[],"mappings":";
|
|
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,EAAE,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,EAAY,IAAI,IAAI,MAAM,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,cAAc,CAAC;AAElF,OAAO,EAAc,eAAe,EAAU,WAAW,EAAS,UAAU,EAAU,WAAW,EAAW,YAAY,EAAS,UAAU,EAAE,MAAM,eAAe,CAAC;AAEnK,oBAAY,aAAa,GAAG,WAAW,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;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAC,CAAC;AAE9L,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,aAAa,CAAC,aAAa,GAAG,aAAa,CAAC,MAAM,CAAC,CAU7E,CAAC;AAEJ,QAAA,MAAM,IAAI,EAAE,qBAAqB,CAAC,aAAa,CAInC,CAAC;AAEb,eAAe,IAAI,CAAC"}
|
package/dist/src/View/index.js
CHANGED
|
@@ -8,12 +8,13 @@ const commons_1 = require("@evlop/commons");
|
|
|
8
8
|
const react_native_1 = require("react-native");
|
|
9
9
|
const native_1 = __importDefault(require("styled-components/native"));
|
|
10
10
|
const styled_system_1 = require("styled-system");
|
|
11
|
-
exports.BaseView = native_1.default(react_native_1.View)(styled_system_1.border, styled_system_1.
|
|
11
|
+
exports.BaseView = (0, native_1.default)(react_native_1.View)(styled_system_1.border, styled_system_1.layout, styled_system_1.color, styled_system_1.background, styled_system_1.space, styled_system_1.opacity, {
|
|
12
12
|
zIndex: react_native_1.Platform.select({ web: 'inherit', default: 0 })
|
|
13
|
-
}
|
|
14
|
-
|
|
13
|
+
});
|
|
14
|
+
const View = (0, commons_1.withSettings)({
|
|
15
15
|
name: 'View',
|
|
16
16
|
valueOptions: [],
|
|
17
17
|
configurationOptions: [],
|
|
18
18
|
})(exports.BaseView);
|
|
19
|
+
exports.default = View;
|
|
19
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/View/index.tsx"],"names":[],"mappings":";;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/View/index.tsx"],"names":[],"mappings":";;;;;;AAAA,4CAA4E;AAE5E,+CAAkF;AAClF,sEAA8C;AAC9C,iDAAmK;AAItJ,QAAA,QAAQ,GAAgE,IAAA,gBAAM,EAAC,mBAAM,CAAC,CAC/F,sBAAM,EACN,sBAAM,EACN,qBAAK,EACL,0BAAU,EACV,qBAAK,EACL,uBAAO,EACP;IACE,MAAM,EAAE,uBAAQ,CAAC,MAAM,CAAM,EAAC,GAAG,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAC,CAAC;CAC3D,CACF,CAAC;AAEJ,MAAM,IAAI,GAAyC,IAAA,sBAAY,EAAC;IAC9D,IAAI,EAAE,MAAM;IACZ,YAAY,EAAE,EAAE;IAChB,oBAAoB,EAAE,EAAE;CACzB,CAAC,CAAC,gBAAQ,CAAC,CAAC;AAEb,kBAAe,IAAI,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const react_1 = require("react");
|
|
4
|
-
const PageScrollViewContext = react_1.createContext({ current: null });
|
|
4
|
+
const PageScrollViewContext = (0, react_1.createContext)({ current: null });
|
|
5
5
|
exports.default = PageScrollViewContext;
|
|
6
6
|
//# sourceMappingURL=PageScrollViewContext.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PageScrollViewContext.js","sourceRoot":"","sources":["../../../src/contexts/PageScrollViewContext.ts"],"names":[],"mappings":";;AAAA,iCAAiD;AAGjD,MAAM,qBAAqB,GAAG,qBAAa,
|
|
1
|
+
{"version":3,"file":"PageScrollViewContext.js","sourceRoot":"","sources":["../../../src/contexts/PageScrollViewContext.ts"],"names":[],"mappings":";;AAAA,iCAAiD;AAGjD,MAAM,qBAAqB,GAAG,IAAA,qBAAa,EAAwB,EAAC,OAAO,EAAE,IAAI,EAAC,CAAC,CAAC;AAEpF,kBAAe,qBAAqB,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.75",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/main.js",
|
|
6
6
|
"scripts": {
|
|
@@ -36,13 +36,15 @@
|
|
|
36
36
|
"@babel/preset-env": "^7.7.6",
|
|
37
37
|
"@babel/preset-flow": "^7.7.4",
|
|
38
38
|
"@babel/preset-react": "^7.7.4",
|
|
39
|
-
"@evlop/commons": "^1.0.
|
|
39
|
+
"@evlop/commons": "^1.0.134",
|
|
40
40
|
"@evlop/core": "^1.0.0",
|
|
41
41
|
"@types/lodash": "^4.14.178",
|
|
42
42
|
"@types/react-native": "^0.63.42",
|
|
43
43
|
"@types/recompose": "^0.30.10",
|
|
44
|
+
"@types/styled-components-react-native": "^5.1.3",
|
|
44
45
|
"@types/styled-system": "^5.1.15",
|
|
45
46
|
"babel-loader": "^8.0.6",
|
|
47
|
+
"i18next": "^21.8.9",
|
|
46
48
|
"lodash": "^4.17.15",
|
|
47
49
|
"query-string": "^7.1.0",
|
|
48
50
|
"react": "^16.12.0",
|
|
@@ -53,7 +55,7 @@
|
|
|
53
55
|
"recompose": "^0.30.0",
|
|
54
56
|
"styled-components": "^4.4.1",
|
|
55
57
|
"styled-system": "^5.1.5",
|
|
56
|
-
"typescript": "^4.
|
|
58
|
+
"typescript": "^4.7.3",
|
|
57
59
|
"webpack": "^4.41.2",
|
|
58
60
|
"webpack-cli": "^3.3.10",
|
|
59
61
|
"website-essentials": "^1.0.8"
|