swoop-common 1.0.1 → 1.0.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.
package/README.md CHANGED
@@ -1,14 +0,0 @@
1
- # swoop-common
2
-
3
- Custom JSON Forms renderers and components for Swoop Adventures.
4
-
5
- This package is intended for use within Swoop Adventures applications that leverage [JSON Forms](https://jsonforms.io/) for dynamic form rendering. It provides tailored UI components and renderers that align with Swoop's design requirements and business logic.
6
-
7
- All future custom renderers for use in "itinerary-template-builder" or "itinerary-builder-ui" should be added in this project and imported, enabling re-use between projects.
8
-
9
- ---
10
- ### Installation
11
-
12
- ```bash
13
- npm install swoop-common
14
- ```
@@ -0,0 +1 @@
1
+ export * from "./test";
package/dist/index.js ADDED
@@ -0,0 +1 @@
1
+ export * from "./test";
package/dist/test.d.ts ADDED
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ interface Props {
3
+ text: string;
4
+ }
5
+ export declare const FormView: React.FC<Props>;
6
+ export {};
package/dist/test.js ADDED
@@ -0,0 +1,5 @@
1
+ import { Typography } from "@mui/material";
2
+ import React from "react";
3
+ export const FormView = ({ text }) => {
4
+ return React.createElement(Typography, { variant: "h1" }, text);
5
+ };
package/package.json CHANGED
@@ -1,23 +1,29 @@
1
- {
2
- "name": "swoop-common",
3
- "version": "1.0.1",
4
- "main": "dist/index.js",
5
- "types": "dist/index.d.ts",
6
- "files": [
7
- "dist"
8
- ],
9
- "scripts": {
10
- "test": "echo \"Error: no test specified\" && exit 1",
11
- "build": "tsc"
12
- },
13
- "author": "",
14
- "license": "ISC",
15
- "description": "",
16
- "devDependencies": {
17
- "@eslint/js": "^9.30.1",
18
- "eslint": "^9.30.1",
19
- "eslint-plugin-react": "^7.37.5",
20
- "globals": "^16.3.0",
21
- "typescript-eslint": "^8.35.1"
22
- }
23
- }
1
+ {
2
+ "name": "swoop-common",
3
+ "version": "1.0.3",
4
+ "main": "dist/index.js",
5
+ "types": "dist/index.d.ts",
6
+ "files": [
7
+ "dist"
8
+ ],
9
+ "scripts": {
10
+ "test": "echo \"Error: no test specified\" && exit 1",
11
+ "build": "tsc"
12
+ },
13
+ "author": "",
14
+ "license": "ISC",
15
+ "description": "",
16
+ "devDependencies": {
17
+ "@eslint/js": "^9.30.1",
18
+ "eslint": "^9.30.1",
19
+ "eslint-plugin-react": "^7.37.5",
20
+ "globals": "^16.3.0",
21
+ "typescript-eslint": "^8.35.1"
22
+ },
23
+ "dependencies": {
24
+ "@emotion/react": "^11.14.0",
25
+ "@emotion/styled": "^11.14.1",
26
+ "@mui/material": "^7.2.0",
27
+ "react": "^19.1.0"
28
+ }
29
+ }