@rownd/react-native 0.1.2 → 0.1.3

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.
Files changed (37) hide show
  1. package/lib/commonjs/tailwind.config.js +17 -0
  2. package/lib/commonjs/tailwind.config.js.map +1 -0
  3. package/lib/commonjs/utils/tailwind.js +1 -1
  4. package/lib/commonjs/utils/tailwind.js.map +1 -1
  5. package/lib/module/tailwind.config.js +10 -0
  6. package/lib/module/tailwind.config.js.map +1 -0
  7. package/lib/module/utils/tailwind.js +1 -1
  8. package/lib/module/utils/tailwind.js.map +1 -1
  9. package/lib/typescript/{src/components → components}/AuthenticatedComponent.d.ts +0 -0
  10. package/lib/typescript/{src/components → components}/AutoSigninDialog.d.ts +1 -0
  11. package/lib/typescript/{src/components → components}/DefaultContext.d.ts +0 -0
  12. package/lib/typescript/{src/components → components}/GlobalContext.d.ts +0 -0
  13. package/lib/typescript/{src/components → components}/RowndComponents.d.ts +1 -0
  14. package/lib/typescript/{src/components → components}/RowndProvider.d.ts +0 -0
  15. package/lib/typescript/{src/components → components}/SignIn.d.ts +1 -0
  16. package/lib/typescript/{src/data → data}/actions.d.ts +0 -0
  17. package/lib/typescript/{src/hooks → hooks}/api.d.ts +0 -0
  18. package/lib/typescript/{src/hooks → hooks}/debounce.d.ts +0 -0
  19. package/lib/typescript/{src/hooks → hooks}/fingerprint.d.ts +0 -0
  20. package/lib/typescript/{src/hooks → hooks}/index.d.ts +0 -0
  21. package/lib/typescript/{src/hooks → hooks}/interval.d.ts +0 -0
  22. package/lib/typescript/{src/hooks → hooks}/nav.d.ts +0 -0
  23. package/lib/typescript/{src/hooks → hooks}/rownd.d.ts +0 -0
  24. package/lib/typescript/{src/index.d.ts → index.d.ts} +0 -0
  25. package/lib/typescript/{src/types.d.ts → types.d.ts} +0 -0
  26. package/lib/typescript/{src/utils → utils}/config.d.ts +0 -0
  27. package/lib/typescript/{src/utils → utils}/events.d.ts +0 -0
  28. package/lib/typescript/{src/utils → utils}/form.d.ts +1 -0
  29. package/lib/typescript/{src/utils → utils}/queue.d.ts +0 -0
  30. package/lib/typescript/{src/utils → utils}/storage.d.ts +0 -0
  31. package/lib/typescript/{src/utils → utils}/tailwind.d.ts +0 -0
  32. package/lib/typescript/{src/utils → utils}/tokens.d.ts +0 -0
  33. package/lib/typescript/{src/utils → utils}/user-data.d.ts +0 -0
  34. package/package.json +1 -1
  35. package/src/tailwind.config.ts +9 -0
  36. package/src/utils/tailwind.ts +1 -1
  37. package/lib/typescript/example2/App.d.ts +0 -11
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _default = {
8
+ content: ['./src/**/*.{js,jsx,ts,tsx}'],
9
+ theme: {
10
+ extend: {}
11
+ },
12
+ plugins: [],
13
+ variants: ['dark'],
14
+ corePlugins: require('tailwind-rn/unsupported-core-plugins')
15
+ };
16
+ exports.default = _default;
17
+ //# sourceMappingURL=tailwind.config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["content","theme","extend","plugins","variants","corePlugins","require"],"sources":["tailwind.config.ts"],"sourcesContent":["export default {\n content: ['./src/**/*.{js,jsx,ts,tsx}'],\n theme: {\n extend: {},\n },\n plugins: [],\n variants: ['dark'],\n corePlugins: require('tailwind-rn/unsupported-core-plugins'),\n};\n"],"mappings":";;;;;;eAAe;EACbA,OAAO,EAAE,CAAC,4BAAD,CADI;EAEbC,KAAK,EAAE;IACLC,MAAM,EAAE;EADH,CAFM;EAKbC,OAAO,EAAE,EALI;EAMbC,QAAQ,EAAE,CAAC,MAAD,CANG;EAObC,WAAW,EAAEC,OAAO,CAAC,sCAAD;AAPP,C"}
@@ -7,7 +7,7 @@ exports.default = void 0;
7
7
 
8
8
  var _twrnc = require("twrnc");
9
9
 
10
- var _tailwind = _interopRequireDefault(require("../../tailwind.config"));
10
+ var _tailwind = _interopRequireDefault(require("../tailwind.config"));
11
11
 
12
12
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
13
 
@@ -1 +1 @@
1
- {"version":3,"names":["tw","create","twConfig"],"sources":["tailwind.ts"],"sourcesContent":["import { create } from 'twrnc';\nimport twConfig from '../../tailwind.config';\n\nconst tw = create(twConfig);\n\nexport default tw;\n"],"mappings":";;;;;;;AAAA;;AACA;;;;AAEA,MAAMA,EAAE,GAAG,IAAAC,aAAA,EAAOC,iBAAP,CAAX;eAEeF,E"}
1
+ {"version":3,"names":["tw","create","twConfig"],"sources":["tailwind.ts"],"sourcesContent":["import { create } from 'twrnc';\nimport twConfig from '../tailwind.config';\n\nconst tw = create(twConfig);\n\nexport default tw;\n"],"mappings":";;;;;;;AAAA;;AACA;;;;AAEA,MAAMA,EAAE,GAAG,IAAAC,aAAA,EAAOC,iBAAP,CAAX;eAEeF,E"}
@@ -0,0 +1,10 @@
1
+ export default {
2
+ content: ['./src/**/*.{js,jsx,ts,tsx}'],
3
+ theme: {
4
+ extend: {}
5
+ },
6
+ plugins: [],
7
+ variants: ['dark'],
8
+ corePlugins: require('tailwind-rn/unsupported-core-plugins')
9
+ };
10
+ //# sourceMappingURL=tailwind.config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["content","theme","extend","plugins","variants","corePlugins","require"],"sources":["tailwind.config.ts"],"sourcesContent":["export default {\n content: ['./src/**/*.{js,jsx,ts,tsx}'],\n theme: {\n extend: {},\n },\n plugins: [],\n variants: ['dark'],\n corePlugins: require('tailwind-rn/unsupported-core-plugins'),\n};\n"],"mappings":"AAAA,eAAe;EACbA,OAAO,EAAE,CAAC,4BAAD,CADI;EAEbC,KAAK,EAAE;IACLC,MAAM,EAAE;EADH,CAFM;EAKbC,OAAO,EAAE,EALI;EAMbC,QAAQ,EAAE,CAAC,MAAD,CANG;EAObC,WAAW,EAAEC,OAAO,CAAC,sCAAD;AAPP,CAAf"}
@@ -1,5 +1,5 @@
1
1
  import { create } from 'twrnc';
2
- import twConfig from '../../tailwind.config';
2
+ import twConfig from '../tailwind.config';
3
3
  const tw = create(twConfig);
4
4
  export default tw;
5
5
  //# sourceMappingURL=tailwind.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["create","twConfig","tw"],"sources":["tailwind.ts"],"sourcesContent":["import { create } from 'twrnc';\nimport twConfig from '../../tailwind.config';\n\nconst tw = create(twConfig);\n\nexport default tw;\n"],"mappings":"AAAA,SAASA,MAAT,QAAuB,OAAvB;AACA,OAAOC,QAAP,MAAqB,uBAArB;AAEA,MAAMC,EAAE,GAAGF,MAAM,CAACC,QAAD,CAAjB;AAEA,eAAeC,EAAf"}
1
+ {"version":3,"names":["create","twConfig","tw"],"sources":["tailwind.ts"],"sourcesContent":["import { create } from 'twrnc';\nimport twConfig from '../tailwind.config';\n\nconst tw = create(twConfig);\n\nexport default tw;\n"],"mappings":"AAAA,SAASA,MAAT,QAAuB,OAAvB;AACA,OAAOC,QAAP,MAAqB,oBAArB;AAEA,MAAMC,EAAE,GAAGF,MAAM,CAACC,QAAD,CAAjB;AAEA,eAAeC,EAAf"}
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export declare function AutoSigninDialog(): JSX.Element;
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export declare function RowndComponents(): JSX.Element;
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export declare function SignIn(): JSX.Element;
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare type FormFieldProps = {
2
3
  id?: string;
3
4
  name: string;
File without changes
File without changes
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rownd/react-native",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Rownd bindings for React Native",
5
5
  "private": false,
6
6
  "main": "lib/commonjs/index",
@@ -0,0 +1,9 @@
1
+ export default {
2
+ content: ['./src/**/*.{js,jsx,ts,tsx}'],
3
+ theme: {
4
+ extend: {},
5
+ },
6
+ plugins: [],
7
+ variants: ['dark'],
8
+ corePlugins: require('tailwind-rn/unsupported-core-plugins'),
9
+ };
@@ -1,5 +1,5 @@
1
1
  import { create } from 'twrnc';
2
- import twConfig from '../../tailwind.config';
2
+ import twConfig from '../tailwind.config';
3
3
 
4
4
  const tw = create(twConfig);
5
5
 
@@ -1,11 +0,0 @@
1
- /**
2
- * Sample React Native App
3
- * https://github.com/facebook/react-native
4
- *
5
- * Generated with the TypeScript template
6
- * https://github.com/react-native-community/react-native-template-typescript
7
- *
8
- * @format
9
- */
10
- declare const App: () => JSX.Element;
11
- export default App;