This commit is contained in:
Mary Hipp 2023-03-14 14:08:42 -04:00
parent e414fcf3fb
commit 5f59f24f92
4 changed files with 7 additions and 10169 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,19 +1,9 @@
{
"name": "@invoke-ai/invoke-ai-ui",
"version": "0.0.4",
"publishConfig": {
"access": "restricted",
"registry": "https://npm.pkg.github.com"
},
"main": "./dist/invoke-ai-ui.umd.js",
"module": "./dist/invoke-ai-ui.es.js",
"exports": {
".": {
"import": "./dist/invoke-ai-ui.es.js",
"require": "./dist/invoke-ai-ui.umd.js"
}
},
"name": "invoke-ai-ui",
"private": true,
"version": "0.0.1",
"scripts": {
"prepare": "cd ../../../ && husky install invokeai/frontend/web/.husky",
"dev": "concurrently \"vite dev\" \"yarn run theme:watch\"",
"build": "yarn run lint && vite build",
"build:package": "vite build --mode=package",
@ -59,7 +49,6 @@
"dateformat": "^5.0.3",
"formik": "^2.2.9",
"framer-motion": "^9.0.4",
"husky": "^8.0.3",
"i18next": "^22.4.10",
"i18next-browser-languagedetector": "^7.0.1",
"i18next-http-backend": "^2.1.1",
@ -102,6 +91,7 @@
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^8.0.3",
"lint-staged": "^13.1.2",
"madge": "^6.0.0",
"postinstall-postinstall": "^2.1.0",

View File

@ -40,7 +40,7 @@ const App = (props: PropsWithChildren) => {
w={APP_WIDTH}
h={APP_HEIGHT}
>
{props.children ? props.children : <SiteHeader />}
{props.children || <SiteHeader />}
<Flex gap={4} w="full" h="full">
<InvokeTabs />
<ImageGalleryPanel />

View File

@ -3,7 +3,5 @@ import ReactDOM from 'react-dom/client';
import Component from './component';
ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
<Component>
<div>CUSTOM HEADER</div>
</Component>
<Component />
);