@crimsonsunset/jsg-logger 1.7.4 → 1.7.5

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.
@@ -9981,7 +9981,7 @@ cjs.exports.default = Draggable;
9981
9981
  cjs.exports.DraggableCore = DraggableCore2;
9982
9982
  var cjsExports = cjs.exports;
9983
9983
  const Draggable$1 = /* @__PURE__ */ getDefaultExportFromCjs(cjsExports);
9984
- function FloatingButton({ onClick, isActive, logCount = 0 }) {
9984
+ function FloatingButton({ onClick, isActive, logCount = 0, onClose }) {
9985
9985
  const widgetWidth = 112;
9986
9986
  const widgetHeight = 185;
9987
9987
  const positionPresets = {
@@ -10107,7 +10107,9 @@ function FloatingButton({ onClick, isActive, logCount = 0 }) {
10107
10107
  className: "drag-handle",
10108
10108
  cursor: "grab",
10109
10109
  padding: 6,
10110
- textAlign: "center",
10110
+ display: "flex",
10111
+ alignItems: "center",
10112
+ justifyContent: "space-between",
10111
10113
  borderBottom: "1px solid #4a5568",
10112
10114
  background: "#0d1f28",
10113
10115
  borderTopLeftRadius: 8,
@@ -10122,7 +10124,34 @@ function FloatingButton({ onClick, isActive, logCount = 0 }) {
10122
10124
  onMouseLeave: (e2) => {
10123
10125
  e2.currentTarget.style.background = "#0d1f28";
10124
10126
  },
10125
- children: /* @__PURE__ */ u$1(Text, { size: 300, color: "#718096", fontWeight: 600, children: "⋮⋮ drag ⋮⋮" })
10127
+ children: [
10128
+ /* @__PURE__ */ u$1(Text, { size: 300, color: "#718096", fontWeight: 600, children: "⋮⋮ drag ⋮⋮" }),
10129
+ onClose && /* @__PURE__ */ u$1(
10130
+ Pane,
10131
+ {
10132
+ cursor: "pointer",
10133
+ padding: 2,
10134
+ onClick: (e2) => {
10135
+ e2.stopPropagation();
10136
+ onClose();
10137
+ },
10138
+ onMouseEnter: (e2) => {
10139
+ e2.currentTarget.style.color = "#e53e3e";
10140
+ },
10141
+ onMouseLeave: (e2) => {
10142
+ e2.currentTarget.style.color = "#718096";
10143
+ },
10144
+ style: {
10145
+ color: "#718096",
10146
+ transition: "color 0.2s",
10147
+ fontSize: "14px",
10148
+ fontWeight: "bold",
10149
+ lineHeight: "1"
10150
+ },
10151
+ children: "✕"
10152
+ }
10153
+ )
10154
+ ]
10126
10155
  }
10127
10156
  ),
10128
10157
  /* @__PURE__ */ u$1(
@@ -12867,7 +12896,7 @@ let devtoolsModule = null;
12867
12896
  let devtoolsModulePromise = null;
12868
12897
  if (defaultDevtoolsEnabled) {
12869
12898
  metaLog("[JSG-LOGGER] DevTools module pre-loading started (default config enabled)");
12870
- devtoolsModulePromise = import("./panel-entry-DzGsV7s-.js").then((module) => {
12899
+ devtoolsModulePromise = import("./panel-entry-BZ56bT66.js").then((module) => {
12871
12900
  devtoolsModule = module;
12872
12901
  metaLog("[JSG-LOGGER] DevTools module pre-loaded successfully");
12873
12902
  return module;
@@ -13240,7 +13269,7 @@ const _JSGLogger = class _JSGLogger {
13240
13269
  devtoolsModule = await devtoolsModulePromise;
13241
13270
  } else {
13242
13271
  devtoolsLogger2.info("Loading DevTools module dynamically (runtime config override)...");
13243
- devtoolsModule = await import("./panel-entry-DzGsV7s-.js");
13272
+ devtoolsModule = await import("./panel-entry-BZ56bT66.js");
13244
13273
  }
13245
13274
  } else {
13246
13275
  devtoolsLogger2.info("Using pre-loaded DevTools module");