@syzy/apphost 1.0.5 → 1.0.6

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.
@@ -1,11 +1,11 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { Routes, Route } from "react-router-dom";
3
3
  // import Home from "./components/Home/Home";
4
4
  import ProfileForm from "./components/ProfileForm/ProfileForm";
5
- import BranchMapping from "./components/Mappings/BranchMapping/Branch";
6
- import MappingFormBranchUser from "./components/Mappings/BranchMapping/MappingFormBranchUser";
7
- import ComponentRoleMapping from "./components/Mappings/ComponentMapping/ComponentRoleMapping";
8
- import MappingFormUserRole from "./components/Mappings/RoleMapping/MappingFormUserRole";
5
+ // import BranchMapping from "./components/Mappings/BranchMapping/Branch";
6
+ // import MappingFormBranchUser from "./components/Mappings/BranchMapping/MappingFormBranchUser";
7
+ // import ComponentRoleMapping from "./components/Mappings/ComponentMapping/ComponentRoleMapping";
8
+ // import MappingFormUserRole from "./components/Mappings/RoleMapping/MappingFormUserRole";
9
9
  export const AppHostRoutes = () => {
10
- return (_jsxs(Routes, { children: [_jsx(Route, { path: "/apphost/profile-form", element: _jsx(ProfileForm, {}) }), _jsx(Route, { path: "/apphost/branch", element: _jsx(BranchMapping, {}) }), _jsx(Route, { path: "/apphost/mapping-branch-user", element: _jsx(MappingFormBranchUser, {}) }), _jsx(Route, { path: "/apphost/mapping-user-role", element: _jsx(MappingFormUserRole, {}) }), _jsx(Route, { path: "/apphost/component-role-mapping", element: _jsx(ComponentRoleMapping, {}) })] }));
10
+ return (_jsx(Routes, { children: _jsx(Route, { path: "/apphost/profile-form", element: _jsx(ProfileForm, {}) }) }));
11
11
  };
@@ -1,3 +1,2 @@
1
- import '../Mappings/MappingForm/MappingForm.css';
2
1
  declare const ProfileForm: () => import("react/jsx-runtime").JSX.Element;
3
2
  export default ProfileForm;
@@ -6,7 +6,6 @@ import { toast } from "react-toastify";
6
6
  import { useCreateProfileMutation } from "../../api/mapping-api";
7
7
  import { generateClient } from "aws-amplify/api";
8
8
  import { useProfileSchema } from "./profileSchema";
9
- import '../Mappings/MappingForm/MappingForm.css';
10
9
  import { logger } from "../../util/Logger";
11
10
  import { useLocation, useNavigate } from "react-router-dom";
12
11
  import { useUpdateProfileMutation } from "../../api/mapping-api";
Binary file
package/dist/index.d.ts CHANGED
@@ -1,12 +1,3 @@
1
- import './styles/global.css';
2
- import './styles/button.css';
3
- import './styles/typography.css';
4
- import './styles/login.css';
5
- import './styles/MappingForm.css';
6
- import './styles/SettingsPage.css';
7
- import './styles/sidebar.css';
8
- import './styles/withSyzyAuth.css';
9
- import './styles/index.css';
10
1
  export { AppHostProvider } from "./AppHostProvider";
11
2
  export { AppHostRoutes } from "./AppHostRoutes";
12
3
  export { configureAppHost } from "./configureAppHost";
package/dist/index.js CHANGED
@@ -1,12 +1,3 @@
1
- import './styles/global.css';
2
- import './styles/button.css';
3
- import './styles/typography.css';
4
- import './styles/login.css';
5
- import './styles/MappingForm.css';
6
- import './styles/SettingsPage.css';
7
- import './styles/sidebar.css';
8
- import './styles/withSyzyAuth.css';
9
- import './styles/index.css';
10
1
  export { AppHostProvider } from "./AppHostProvider";
11
2
  export { AppHostRoutes } from "./AppHostRoutes";
12
3
  export { configureAppHost } from "./configureAppHost";
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syzy/apphost",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -11,7 +11,7 @@
11
11
  ],
12
12
  "scripts": {
13
13
  "clean": "rimraf dist",
14
- "build": "npm run clean && tsc -p tsconfig.app.json && vite build",
14
+ "build": "npm run clean && vite build && tsc -p tsconfig.app.json",
15
15
  "dev": "vite"
16
16
  },
17
17
  "peerDependencies": {