@dryanovski/react-native-components 1.0.0

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/README.md ADDED
@@ -0,0 +1 @@
1
+ # Components
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ // Provider
4
+ export * from "./providers/ThemeProvider.js";
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":";;AAAA;AACA,cAAc,8BAA2B","ignoreList":[]}
@@ -0,0 +1 @@
1
+ {"type":"module"}
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+
3
+ import React from 'react';
4
+ import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
5
+ export const ThemeProvider = ({
6
+ children
7
+ }) => {
8
+ return /*#__PURE__*/_jsx(_Fragment, {
9
+ children: children
10
+ });
11
+ };
12
+ export default ThemeProvider;
13
+ //# sourceMappingURL=ThemeProvider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Fragment","_Fragment","jsx","_jsx","ThemeProvider","children"],"sourceRoot":"../../../src","sources":["providers/ThemeProvider.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AAAC,SAAAC,QAAA,IAAAC,SAAA,EAAAC,GAAA,IAAAC,IAAA;AAG1B,OAAO,MAAMC,aAA2C,GAAGA,CAAC;EAAEC;AAAS,CAAC,KAAK;EAC3E,oBAAOF,IAAA,CAAAF,SAAA;IAAAI,QAAA,EAAGA;EAAQ,CAAG,CAAC;AACxB,CAAC;AAED,eAAeD,aAAa","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../src","sources":["providers/types.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1 @@
1
+ {"type":"module"}
@@ -0,0 +1,2 @@
1
+ export * from './providers/ThemeProvider';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AACA,cAAc,2BAA2B,CAAC"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import type { ThemeProviderProps } from './types';
3
+ export declare const ThemeProvider: React.FC<ThemeProviderProps>;
4
+ export default ThemeProvider;
5
+ //# sourceMappingURL=ThemeProvider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../../../src/providers/ThemeProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAEtD,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -0,0 +1,5 @@
1
+ export type ThemeProviderProps = {
2
+ children: React.ReactNode;
3
+ configuration?: {};
4
+ };
5
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/providers/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,aAAa,CAAC,EAAE,EAAE,CAAC;CACpB,CAAC"}
package/package.json ADDED
@@ -0,0 +1,112 @@
1
+ {
2
+ "name": "@dryanovski/react-native-components",
3
+ "version": "1.0.0",
4
+ "description": "Collection of reusable React Native components for building mobile applications.",
5
+ "main": "./lib/module/index.js",
6
+ "types": "./lib/typescript/src/index.d.ts",
7
+ "source": "./src/index.tsx",
8
+ "exports": {
9
+ ".": {
10
+ "source": "./src/index.tsx",
11
+ "types": "./lib/typescript/src/index.d.ts",
12
+ "default": "./lib/module/index.js"
13
+ },
14
+ "./package.json": "./package.json"
15
+ },
16
+ "files": [
17
+ "src",
18
+ "lib"
19
+ ],
20
+ "scripts": {
21
+ "test": "jest",
22
+ "lint": "eslint \"**/*.{js,ts,tsx}\"",
23
+ "clean": "del-cli lib",
24
+ "prepare": "bob build"
25
+ },
26
+ "keywords": [
27
+ "react-native",
28
+ "ios",
29
+ "components",
30
+ "android"
31
+ ],
32
+ "devDependencies": {
33
+ "@eslint/compat": "^1.2.7",
34
+ "@eslint/eslintrc": "^3.3.0",
35
+ "@eslint/js": "^9.22.0",
36
+ "@react-native-community/cli": "latest",
37
+ "@react-native/babel-preset": "0.78.2",
38
+ "@react-native/eslint-config": "^0.78.0",
39
+ "@types/jest": "^29.5.5",
40
+ "@types/react": "^19.0.12",
41
+ "babel-plugin-module-resolver": "^5.0.2",
42
+ "babel-plugin-transform-remove-imports": "^1.8.0",
43
+ "del-cli": "^5.1.0",
44
+ "eslint": "^9.22.0",
45
+ "eslint-config-prettier": "^10.1.1",
46
+ "eslint-plugin-prettier": "^5.2.3",
47
+ "jest": "^29.7.0",
48
+ "prettier": "^3.0.3",
49
+ "prettier-plugin-organize-imports": "^4.1.0",
50
+ "react": "19.1.0",
51
+ "react-native": "0.81.5",
52
+ "react-native-builder-bob": "^0.40.12",
53
+ "react-native-gesture-handler": "^2.28.0",
54
+ "react-native-reanimated": "~4.1.1",
55
+ "react-native-safe-area-context": "~5.6.0",
56
+ "react-native-screens": "~4.16.0",
57
+ "react-native-svg": "15.12.1",
58
+ "react-native-worklets": "0.5.1",
59
+ "typescript": "^5.8.3"
60
+ },
61
+ "peerDependencies": {
62
+ "react": ">=19.0.0",
63
+ "react-native": ">=0.81.0",
64
+ "react-native-reanimated": "~4.1.1",
65
+ "react-native-safe-area-context": "~5.6.0",
66
+ "react-native-screens": ">=4",
67
+ "react-native-svg": "^15.12.1",
68
+ "react-native-worklets": "0.5.1"
69
+ },
70
+ "jest": {
71
+ "preset": "react-native",
72
+ "passWithNoTests": true,
73
+ "modulePathIgnorePatterns": [
74
+ "<rootDir>/example/node_modules",
75
+ "<rootDir>/lib/"
76
+ ]
77
+ },
78
+ "prettier": {
79
+ "quoteProps": "consistent",
80
+ "singleQuote": true,
81
+ "tabWidth": 2,
82
+ "trailingComma": "es5",
83
+ "useTabs": false,
84
+ "plugins": [
85
+ "prettier-plugin-organize-imports"
86
+ ]
87
+ },
88
+ "react-native-builder-bob": {
89
+ "source": "src",
90
+ "output": "lib",
91
+ "targets": [
92
+ [
93
+ "module",
94
+ {
95
+ "esm": true,
96
+ "configFile": true
97
+ }
98
+ ],
99
+ [
100
+ "typescript",
101
+ {
102
+ "project": "tsconfig.build.json"
103
+ }
104
+ ]
105
+ ]
106
+ },
107
+ "create-react-native-library": {
108
+ "languages": "js",
109
+ "type": "library",
110
+ "version": "0.51.1"
111
+ }
112
+ }
package/src/index.tsx ADDED
@@ -0,0 +1,2 @@
1
+ // Provider
2
+ export * from './providers/ThemeProvider';
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import type { ThemeProviderProps } from './types';
3
+
4
+ export const ThemeProvider: React.FC<ThemeProviderProps> = ({ children }) => {
5
+ return <>{children}</>;
6
+ };
7
+
8
+ export default ThemeProvider;
@@ -0,0 +1,4 @@
1
+ export type ThemeProviderProps = {
2
+ children: React.ReactNode;
3
+ configuration?: {};
4
+ };