@yoyomq/ije-react 0.1.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,29 @@
1
+ <p align="center">
2
+ <img src="../../assets/yoyo.svg" width="56" height="56" alt="Yoyo" />
3
+ </p>
4
+
5
+ <h1 align="center">@yoyomq/ije-react</h1>
6
+
7
+ <p align="center">React wrappers for the Ije SDK by <strong>Yoyo</strong>.</p>
8
+
9
+ ---
10
+
11
+ > ⚠️ **Placeholder — not yet implemented.** This package currently exports
12
+ > nothing. First-class, typed React components are planned.
13
+
14
+ In the meantime, the [`@yoyomq/ije-ui`](../ui) Web Components work inside React
15
+ directly — initialize once and use the tags as JSX:
16
+
17
+ ```tsx
18
+ import { useEffect } from 'react';
19
+ import { Ije } from '@yoyomq/ije-core';
20
+ import '@yoyomq/ije-ui';
21
+
22
+ export function Dashboard({ apiKey }: { apiKey: string }) {
23
+ useEffect(() => { Ije.init({ apiKey }); }, [apiKey]);
24
+ return <ije-map-tracker device-id="truck-001" title="Vehicle Location" />;
25
+ }
26
+ ```
27
+
28
+ 📖 **Full documentation:** see the [Ije SDK README](../../README.md), including the
29
+ [Using with React](../../README.md#using-with-react) section.
File without changes
package/dist/index.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";
File without changes
@@ -0,0 +1 @@
1
+ "use strict";
package/package.json ADDED
@@ -0,0 +1,29 @@
1
+ {
2
+ "name": "@yoyomq/ije-react",
3
+ "version": "0.1.0",
4
+ "main": "dist/index.js",
5
+ "types": "dist/index.d.ts",
6
+ "source": "src/index.tsx",
7
+ "files": [
8
+ "dist",
9
+ "README.md"
10
+ ],
11
+ "publishConfig": {
12
+ "access": "public"
13
+ },
14
+ "dependencies": {
15
+ "@yoyomq/ije-ui": "0.1.0",
16
+ "@yoyomq/ije-core": "0.1.0"
17
+ },
18
+ "peerDependencies": {
19
+ "react": ">=16.8.0",
20
+ "react-dom": ">=16.8.0"
21
+ },
22
+ "devDependencies": {
23
+ "@types/react": "^18.2.0",
24
+ "typescript": "latest"
25
+ },
26
+ "scripts": {
27
+ "build": "node_modules/.bin/tsc"
28
+ }
29
+ }