Skip to content

Commit

Permalink
changed to style.css and added shadow dom
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaseduoli committed Jul 18, 2023
1 parent b3dd8fe commit 62fbbf9
Show file tree
Hide file tree
Showing 12 changed files with 1,010 additions and 1,102 deletions.
2 changes: 1 addition & 1 deletion dist/build/static/js/bundle.min.js

Large diffs are not rendered by default.

40 changes: 0 additions & 40 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,11 @@
"@types/react": "^18.2.14",
"@types/react-dom": "^18.2.6",
"axios": "^1.4.0",
"incstr": "^1.2.3",
"lucide-react": "^0.256.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-scripts": "5.0.1",
"react-shadow": "^20.3.0",
"short-unique-id": "^4.4.4",
"typescript": "^4.9.5",
"uglifyjs-webpack-plugin": "^2.2.0",
"web-vitals": "^2.1.4"
Expand Down Expand Up @@ -50,8 +48,6 @@
]
},
"devDependencies": {
"mangle-css-class-webpack-plugin": "^5.0.9",
"tailwindcss": "^3.3.2",
"webpack-cli": "^5.1.4"
}
}
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body style="width: 100vh; height: 100vh;">
<body style="width: 100vh; height: 100vh; ">
<langflow-chat window_title="Langflow Chat" online="false" online_message="We'll reply as soon as we can!" offline_message="We can't reply right now!" flow_id="c9e09201-420e-49a3-9ea4-df8d88d28c24"
host_url="http:https://localhost:3000"
style="position: fixed; bottom: 50px; right: 50px;"
Expand Down
2 changes: 1 addition & 1 deletion src/chatWidget/chatWindow/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export default function ChatWindow(
type="text"
placeholder={placeholder||"Type your message..."}
style={input_style}
className="cl-input_element"
className="cl-input-element"
/>
<button style={send_button_style} disabled={sendingMessage} onClick={handleClick}>
<Send style={send_icon_style} className={"cl-send-icon " + (!sendingMessage ? 'cl-notsending-message' : "cl-sending-message")} />
Expand Down
Loading

0 comments on commit 62fbbf9

Please sign in to comment.