@coorpacademy/components 10.19.12 → 10.19.13-alpha.4

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.
@@ -2,7 +2,7 @@ import React from 'react';
2
2
 
3
3
  const DemoTs = ({
4
4
  plop
5
- }) => /*#__PURE__*/React.createElement("p", null, plop);
5
+ }) => /*#__PURE__*/React.createElement("p", null, "demo web: ", plop);
6
6
 
7
7
  export default DemoTs;
8
8
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/template/app-review/demo-ts/index.tsx"],"names":["React","DemoTs","plop"],"mappings":"AAAA,OAAOA,KAAP,MAAuC,OAAvC;;AAIA,MAAMC,MAAyB,GAAG,CAAC;AAACC,EAAAA;AAAD,CAAD,kBAAmB,+BAAIA,IAAJ,CAArD;;AAEA,eAAeD,MAAf","sourcesContent":["import React, {FunctionComponent} from 'react';\n\nexport type Props = {plop: string};\n\nconst DemoTs: FunctionComponent = ({plop}: Props) => <p>{plop}</p>;\n\nexport default DemoTs;\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../../src/template/app-review/demo-ts/index.tsx"],"names":["React","DemoTs","plop"],"mappings":"AAAA,OAAOA,KAAP,MAAkB,OAAlB;;AAIA,MAAMC,MAAM,GAAG,CAAC;AAACC,EAAAA;AAAD,CAAD,kBAAmB,6CAAcA,IAAd,CAAlC;;AAEA,eAAeD,MAAf","sourcesContent":["import React from 'react';\n\nexport type Props = {plop: string};\n\nconst DemoTs = ({plop}: Props) => <p>demo web: {plop}</p>;\n\nexport default DemoTs;\n"],"file":"index.js"}
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { View } from 'react-native';
3
+
4
+ const DemoTs = ({
5
+ plop
6
+ }) => /*#__PURE__*/React.createElement(View, null, " demo mobile: ", plop);
7
+
8
+ export default DemoTs;
9
+ //# sourceMappingURL=index.native.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/template/app-review/demo-ts/index.native.tsx"],"names":["React","View","DemoTs","plop"],"mappings":"AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,SAAQC,IAAR,QAAmB,cAAnB;;AAIA,MAAMC,MAAM,GAAG,CAAC;AAACC,EAAAA;AAAD,CAAD,kBAAmB,oBAAC,IAAD,0BAAqBA,IAArB,CAAlC;;AAEA,eAAeD,MAAf","sourcesContent":["import React from 'react';\nimport {View} from 'react-native';\n\nexport type Props = {plop: string};\n\nconst DemoTs = ({plop}: Props) => <View> demo mobile: {plop}</View>;\n\nexport default DemoTs;\n"],"file":"index.native.js"}
@@ -9,7 +9,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
9
9
 
10
10
  const DemoTs = ({
11
11
  plop
12
- }) => /*#__PURE__*/_react.default.createElement("p", null, plop);
12
+ }) => /*#__PURE__*/_react.default.createElement("p", null, "demo web: ", plop);
13
13
 
14
14
  var _default = DemoTs;
15
15
  exports.default = _default;
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/template/app-review/demo-ts/index.tsx"],"names":["DemoTs","plop"],"mappings":";;;;;AAAA;;;;AAIA,MAAMA,MAAyB,GAAG,CAAC;AAACC,EAAAA;AAAD,CAAD,kBAAmB,wCAAIA,IAAJ,CAArD;;eAEeD,M","sourcesContent":["import React, {FunctionComponent} from 'react';\n\nexport type Props = {plop: string};\n\nconst DemoTs: FunctionComponent = ({plop}: Props) => <p>{plop}</p>;\n\nexport default DemoTs;\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../../src/template/app-review/demo-ts/index.tsx"],"names":["DemoTs","plop"],"mappings":";;;;;AAAA;;;;AAIA,MAAMA,MAAM,GAAG,CAAC;AAACC,EAAAA;AAAD,CAAD,kBAAmB,sDAAcA,IAAd,CAAlC;;eAEeD,M","sourcesContent":["import React from 'react';\n\nexport type Props = {plop: string};\n\nconst DemoTs = ({plop}: Props) => <p>demo web: {plop}</p>;\n\nexport default DemoTs;\n"],"file":"index.js"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+
6
+ var _react = _interopRequireDefault(require("react"));
7
+
8
+ var _reactNative = require("react-native");
9
+
10
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
+
12
+ const DemoTs = ({
13
+ plop
14
+ }) => /*#__PURE__*/_react.default.createElement(_reactNative.View, null, " demo mobile: ", plop);
15
+
16
+ var _default = DemoTs;
17
+ exports.default = _default;
18
+ //# sourceMappingURL=index.native.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/template/app-review/demo-ts/index.native.tsx"],"names":["DemoTs","plop"],"mappings":";;;;;AAAA;;AACA;;;;AAIA,MAAMA,MAAM,GAAG,CAAC;AAACC,EAAAA;AAAD,CAAD,kBAAmB,6BAAC,iBAAD,0BAAqBA,IAArB,CAAlC;;eAEeD,M","sourcesContent":["import React from 'react';\nimport {View} from 'react-native';\n\nexport type Props = {plop: string};\n\nconst DemoTs = ({plop}: Props) => <View> demo mobile: {plop}</View>;\n\nexport default DemoTs;\n"],"file":"index.native.js"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coorpacademy/components",
3
- "version": "10.19.12",
3
+ "version": "10.19.13-alpha.4+c599b8c9c",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -73,7 +73,13 @@
73
73
  "react-tooltip": "^4.2.6"
74
74
  },
75
75
  "peerDependencies": {
76
- "react": "^17.0.2"
76
+ "react": "^17.0.2",
77
+ "react-native": "^0.68.2"
78
+ },
79
+ "resolutions": {
80
+ "@types/react": "^17.0.2",
81
+ "@types/react-native": "0.68.0",
82
+ "@types/react-dom": "17.0.14"
77
83
  },
78
84
  "devDependencies": {
79
85
  "@babel/cli": "^7.8.4",
@@ -100,6 +106,8 @@
100
106
  "@storybook/addons": "^5.3.18",
101
107
  "@storybook/react": "^5.3.18",
102
108
  "@testing-library/react": "12.1.5",
109
+ "@types/react": "^17.0.2",
110
+ "@types/react-native": "^0.68.0",
103
111
  "@wojtekmaj/enzyme-adapter-react-17": "^0.6.7",
104
112
  "ava": "^3.8.2",
105
113
  "babel-loader": "^8.1.0",
@@ -129,5 +137,5 @@
129
137
  "webpack": "^4.43.0"
130
138
  },
131
139
  "author": "CoorpAcademy",
132
- "gitHead": "4fc0ae07513c922d7cbe6e5fddfbcb316ccf6fa5"
140
+ "gitHead": "c599b8c9cf6a0ab510dce61de9c63b1fb05b540a"
133
141
  }