floating-copilot-widget 1.4.0 → 1.4.1

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.
@@ -303,13 +303,13 @@
303
303
 
304
304
  .copilot-send-btn {
305
305
  padding: 11px 16px;
306
- background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
306
+ background: linear-gradient(135deg, #6366f1 0%, #5b5fff 100%);
307
307
  color: white;
308
308
  border: none;
309
309
  border-radius: 10px;
310
310
  cursor: pointer;
311
- font-weight: 700;
312
- font-size: 18px;
311
+ font-weight: 800;
312
+ font-size: 20px;
313
313
  transition: var(--transition-smooth);
314
314
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
315
315
  letter-spacing: 0.3px;
@@ -318,6 +318,7 @@
318
318
  display: flex;
319
319
  align-items: center;
320
320
  justify-content: center;
321
+ line-height: 1;
321
322
  }
322
323
 
323
324
  .copilot-send-btn:hover {
@@ -231,7 +231,7 @@ export const FloatingCopilot = ({ config = {} }) => {
231
231
  handleSendMessage();
232
232
  }
233
233
  } }),
234
- React.createElement("button", { className: "copilot-send-btn", onClick: handleSendMessage, "aria-label": "Send message" }, "\u23CE")),
234
+ React.createElement("button", { className: "copilot-send-btn", onClick: handleSendMessage, "aria-label": "Send message" }, "\u2192")),
235
235
  finalConfig.resizable && !isMaximized && (React.createElement("div", { className: "copilot-resize-handle", onMouseDown: handleMouseDownResize, title: "Drag to resize" }))));
236
236
  };
237
237
  export default FloatingCopilot;
package/dist/index.esm.js CHANGED
@@ -253,7 +253,7 @@ const FloatingCopilot = ({ config = {} }) => {
253
253
  handleSendMessage();
254
254
  }
255
255
  } }),
256
- React.createElement("button", { className: "copilot-send-btn", onClick: handleSendMessage, "aria-label": "Send message" }, "\u23CE")),
256
+ React.createElement("button", { className: "copilot-send-btn", onClick: handleSendMessage, "aria-label": "Send message" }, "\u2192")),
257
257
  finalConfig.resizable && !isMaximized && (React.createElement("div", { className: "copilot-resize-handle", onMouseDown: handleMouseDownResize, title: "Drag to resize" }))));
258
258
  };
259
259
 
package/dist/index.js CHANGED
@@ -257,7 +257,7 @@ const FloatingCopilot = ({ config = {} }) => {
257
257
  handleSendMessage();
258
258
  }
259
259
  } }),
260
- React.createElement("button", { className: "copilot-send-btn", onClick: handleSendMessage, "aria-label": "Send message" }, "\u23CE")),
260
+ React.createElement("button", { className: "copilot-send-btn", onClick: handleSendMessage, "aria-label": "Send message" }, "\u2192")),
261
261
  finalConfig.resizable && !isMaximized && (React.createElement("div", { className: "copilot-resize-handle", onMouseDown: handleMouseDownResize, title: "Drag to resize" }))));
262
262
  };
263
263
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "floating-copilot-widget",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "A highly configurable floating chat widget plugin for React websites. Draggable, resizable, themeable, and production-ready.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",