system-canvas-standalone 0.2.37 → 0.2.38

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.
@@ -22466,21 +22466,45 @@ var SystemCanvas = (() => {
22466
22466
  top: screen.y,
22467
22467
  transform: "translate(0, 0)",
22468
22468
  userSelect: "none"
22469
- }, children: [(0, import_jsx_runtime32.jsx)("svg", { width: "16", height: "20", viewBox: "0 0 16 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: (0, import_jsx_runtime32.jsx)("path", { d: "M1 1L1 15L5 11L8 18L10 17L7 10L13 10L1 1Z", fill: collab.color, stroke: "#fff", strokeWidth: "1.5", strokeLinejoin: "round" }) }), (0, import_jsx_runtime32.jsx)("div", { style: {
22469
+ }, children: [(0, import_jsx_runtime32.jsx)("svg", { width: "16", height: "20", viewBox: "0 0 16 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: (0, import_jsx_runtime32.jsx)("path", { d: "M1 1L1 15L5 11L8 18L10 17L7 10L13 10L1 1Z", fill: collab.color, stroke: "#fff", strokeWidth: "1.5", strokeLinejoin: "round" }) }), (0, import_jsx_runtime32.jsxs)("div", { style: {
22470
22470
  position: "absolute",
22471
22471
  top: 18,
22472
22472
  left: 8,
22473
- fontSize: 11,
22474
- lineHeight: "16px",
22475
- padding: "1px 6px",
22473
+ display: "flex",
22474
+ alignItems: "center",
22475
+ gap: 4,
22476
+ background: collab.color,
22476
22477
  borderRadius: 8,
22478
+ padding: "1px 4px 1px 2px",
22479
+ boxShadow: "0 1px 3px rgba(0,0,0,0.3)",
22480
+ whiteSpace: "nowrap",
22481
+ fontFamily: "sans-serif"
22482
+ }, children: [(0, import_jsx_runtime32.jsx)("div", { style: {
22483
+ width: 16,
22484
+ height: 16,
22485
+ borderRadius: "50%",
22486
+ overflow: "hidden",
22487
+ flexShrink: 0,
22488
+ display: "flex",
22489
+ alignItems: "center",
22490
+ justifyContent: "center",
22491
+ background: collab.image ? "transparent" : collab.color
22492
+ }, children: collab.image ? (0, import_jsx_runtime32.jsx)("img", { src: collab.image, width: 16, height: 16, style: { objectFit: "cover", borderRadius: "50%" } }) : (0, import_jsx_runtime32.jsx)("div", { style: {
22493
+ width: 16,
22494
+ height: 16,
22495
+ display: "flex",
22496
+ alignItems: "center",
22497
+ justifyContent: "center",
22477
22498
  background: collab.color,
22478
22499
  color: "#fff",
22479
- whiteSpace: "nowrap",
22480
- fontFamily: "sans-serif",
22481
- fontWeight: 500,
22482
- boxShadow: "0 1px 3px rgba(0,0,0,0.3)"
22483
- }, children: collab.name })] }, `cursor-${collab.id}`);
22500
+ fontSize: 9,
22501
+ fontWeight: 700
22502
+ }, children: collab.name ? collab.name[0].toUpperCase() : "?" }) }), (0, import_jsx_runtime32.jsx)("span", { style: {
22503
+ fontSize: 11,
22504
+ lineHeight: "16px",
22505
+ color: "#fff",
22506
+ fontWeight: 500
22507
+ }, children: collab.name })] })] }, `cursor-${collab.id}`);
22484
22508
  }), Array.from(flashNodeIds.keys()).map((nodeId) => {
22485
22509
  const node = nodeMap.get(nodeId);
22486
22510
  if (!node)