floating-copilot-widget 1.4.0 → 1.4.2

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.
@@ -247,9 +247,11 @@
247
247
  .copilot-message-user .copilot-message-content {
248
248
  background: linear-gradient(135deg, var(--primary-color, #6366f1) 0%,
249
249
  rgba(var(--primary-color, 99, 102, 241), 0.9) 100%);
250
- color: white;
250
+ color: #ffffff;
251
251
  border-radius: 16px 4px 16px 16px;
252
252
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
253
+ font-weight: 600;
254
+ text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
253
255
  }
254
256
 
255
257
  .copilot-message-bot .copilot-message-content {
@@ -302,29 +304,30 @@
302
304
  }
303
305
 
304
306
  .copilot-send-btn {
305
- padding: 11px 16px;
307
+ padding: 12px 18px;
306
308
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
307
309
  color: white;
308
310
  border: none;
309
311
  border-radius: 10px;
310
312
  cursor: pointer;
311
- font-weight: 700;
312
- font-size: 18px;
313
+ font-weight: 900;
314
+ font-size: 22px;
313
315
  transition: var(--transition-smooth);
314
316
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
315
317
  letter-spacing: 0.3px;
316
- min-width: 50px;
318
+ min-width: 54px;
317
319
  flex-shrink: 0;
318
320
  display: flex;
319
321
  align-items: center;
320
322
  justify-content: center;
323
+ line-height: 1;
324
+ text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
321
325
  }
322
326
 
323
327
  .copilot-send-btn:hover {
324
- background: linear-gradient(135deg, var(--primary-color, #6366f1) 0%,
325
- rgba(var(--primary-color, 99, 102, 241), 0.7) 100%);
328
+ background: linear-gradient(135deg, #5558e3 0%, #4338ca 100%);
326
329
  transform: translateY(-2px);
327
- box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
330
+ box-shadow: 0 6px 16px rgba(99, 102, 241, 0.5);
328
331
  }
329
332
 
330
333
  .copilot-send-btn:active {
@@ -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.2",
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",