@pandacss/logger 0.0.0-dev-20221220144042 → 0.0.0-dev-20221222091824

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.
package/dist/index.js CHANGED
@@ -370,7 +370,7 @@ __export(src_exports, {
370
370
  });
371
371
  module.exports = __toCommonJS(src_exports);
372
372
 
373
- // ../../node_modules/.pnpm/boxen@7.0.0/node_modules/boxen/index.js
373
+ // ../../node_modules/.pnpm/boxen@7.0.1/node_modules/boxen/index.js
374
374
  var import_node_process2 = __toESM(require("process"), 1);
375
375
 
376
376
  // ../../node_modules/.pnpm/ansi-regex@6.0.1/node_modules/ansi-regex/index.js
@@ -909,7 +909,7 @@ function widestLine(string) {
909
909
  return lineWidth;
910
910
  }
911
911
 
912
- // ../../node_modules/.pnpm/boxen@7.0.0/node_modules/boxen/index.js
912
+ // ../../node_modules/.pnpm/boxen@7.0.1/node_modules/boxen/index.js
913
913
  var import_cli_boxes = __toESM(require_cli_boxes(), 1);
914
914
 
915
915
  // ../../node_modules/.pnpm/camelcase@7.0.0/node_modules/camelcase/index.js
@@ -992,7 +992,7 @@ function camelCase(input, options) {
992
992
  return postProcess(input, toUpperCase);
993
993
  }
994
994
 
995
- // ../../node_modules/.pnpm/boxen@7.0.0/node_modules/boxen/index.js
995
+ // ../../node_modules/.pnpm/boxen@7.0.1/node_modules/boxen/index.js
996
996
  var import_ansi_align = __toESM(require_ansi_align(), 1);
997
997
 
998
998
  // ../../node_modules/.pnpm/ansi-styles@6.1.1/node_modules/ansi-styles/index.js
@@ -1319,7 +1319,7 @@ function wrapAnsi(string, columns, options) {
1319
1319
  return String(string).normalize().replace(/\r\n/g, "\n").split("\n").map((line) => exec(line, columns, options)).join("\n");
1320
1320
  }
1321
1321
 
1322
- // ../../node_modules/.pnpm/boxen@7.0.0/node_modules/boxen/index.js
1322
+ // ../../node_modules/.pnpm/boxen@7.0.1/node_modules/boxen/index.js
1323
1323
  var import_cli_boxes2 = __toESM(require_cli_boxes(), 1);
1324
1324
  var NEWLINE = "\n";
1325
1325
  var PAD = " ";
@@ -1489,10 +1489,9 @@ var boxContent = (content, contentWidth, options) => {
1489
1489
  }
1490
1490
  const top = colorizeBorder(NEWLINE.repeat(options.margin.top) + marginLeft + chars.topLeft + (options.title ? makeTitle(options.title, chars.top.repeat(contentWidth), options.titleAlignment) : chars.top.repeat(contentWidth)) + chars.topRight);
1491
1491
  const bottom = colorizeBorder(marginLeft + chars.bottomLeft + chars.bottom.repeat(contentWidth) + chars.bottomRight + NEWLINE.repeat(options.margin.bottom));
1492
- const LINE_SEPARATOR = contentWidth + BORDERS_WIDTH + options.margin.left >= columns ? "" : NEWLINE;
1493
1492
  const lines = content.split(NEWLINE);
1494
- const middle = lines.map((line) => marginLeft + colorizeBorder(chars.left) + colorizeContent(line) + colorizeBorder(chars.right)).join(LINE_SEPARATOR);
1495
- return top + LINE_SEPARATOR + middle + LINE_SEPARATOR + bottom;
1493
+ const middle = lines.map((line) => marginLeft + colorizeBorder(chars.left) + colorizeContent(line) + colorizeBorder(chars.right)).join(NEWLINE);
1494
+ return top + NEWLINE + middle + NEWLINE + bottom;
1496
1495
  };
1497
1496
  var sanitizeOptions = (options) => {
1498
1497
  if (options.fullscreen && import_node_process2.default?.stdout) {
package/dist/index.mjs CHANGED
@@ -355,7 +355,7 @@ var require_ansi_align = __commonJS({
355
355
  }
356
356
  });
357
357
 
358
- // ../../node_modules/.pnpm/boxen@7.0.0/node_modules/boxen/index.js
358
+ // ../../node_modules/.pnpm/boxen@7.0.1/node_modules/boxen/index.js
359
359
  import process3 from "node:process";
360
360
 
361
361
  // ../../node_modules/.pnpm/ansi-regex@6.0.1/node_modules/ansi-regex/index.js
@@ -894,7 +894,7 @@ function widestLine(string) {
894
894
  return lineWidth;
895
895
  }
896
896
 
897
- // ../../node_modules/.pnpm/boxen@7.0.0/node_modules/boxen/index.js
897
+ // ../../node_modules/.pnpm/boxen@7.0.1/node_modules/boxen/index.js
898
898
  var import_cli_boxes = __toESM(require_cli_boxes(), 1);
899
899
 
900
900
  // ../../node_modules/.pnpm/camelcase@7.0.0/node_modules/camelcase/index.js
@@ -977,7 +977,7 @@ function camelCase(input, options) {
977
977
  return postProcess(input, toUpperCase);
978
978
  }
979
979
 
980
- // ../../node_modules/.pnpm/boxen@7.0.0/node_modules/boxen/index.js
980
+ // ../../node_modules/.pnpm/boxen@7.0.1/node_modules/boxen/index.js
981
981
  var import_ansi_align = __toESM(require_ansi_align(), 1);
982
982
 
983
983
  // ../../node_modules/.pnpm/ansi-styles@6.1.1/node_modules/ansi-styles/index.js
@@ -1304,7 +1304,7 @@ function wrapAnsi(string, columns, options) {
1304
1304
  return String(string).normalize().replace(/\r\n/g, "\n").split("\n").map((line) => exec(line, columns, options)).join("\n");
1305
1305
  }
1306
1306
 
1307
- // ../../node_modules/.pnpm/boxen@7.0.0/node_modules/boxen/index.js
1307
+ // ../../node_modules/.pnpm/boxen@7.0.1/node_modules/boxen/index.js
1308
1308
  var import_cli_boxes2 = __toESM(require_cli_boxes(), 1);
1309
1309
  var NEWLINE = "\n";
1310
1310
  var PAD = " ";
@@ -1474,10 +1474,9 @@ var boxContent = (content, contentWidth, options) => {
1474
1474
  }
1475
1475
  const top = colorizeBorder(NEWLINE.repeat(options.margin.top) + marginLeft + chars.topLeft + (options.title ? makeTitle(options.title, chars.top.repeat(contentWidth), options.titleAlignment) : chars.top.repeat(contentWidth)) + chars.topRight);
1476
1476
  const bottom = colorizeBorder(marginLeft + chars.bottomLeft + chars.bottom.repeat(contentWidth) + chars.bottomRight + NEWLINE.repeat(options.margin.bottom));
1477
- const LINE_SEPARATOR = contentWidth + BORDERS_WIDTH + options.margin.left >= columns ? "" : NEWLINE;
1478
1477
  const lines = content.split(NEWLINE);
1479
- const middle = lines.map((line) => marginLeft + colorizeBorder(chars.left) + colorizeContent(line) + colorizeBorder(chars.right)).join(LINE_SEPARATOR);
1480
- return top + LINE_SEPARATOR + middle + LINE_SEPARATOR + bottom;
1478
+ const middle = lines.map((line) => marginLeft + colorizeBorder(chars.left) + colorizeContent(line) + colorizeBorder(chars.right)).join(NEWLINE);
1479
+ return top + NEWLINE + middle + NEWLINE + bottom;
1481
1480
  };
1482
1481
  var sanitizeOptions = (options) => {
1483
1482
  if (options.fullscreen && process3?.stdout) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/logger",
3
- "version": "0.0.0-dev-20221220144042",
3
+ "version": "0.0.0-dev-20221222091824",
4
4
  "description": "The core css panda library",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -18,7 +18,7 @@
18
18
  },
19
19
  "devDependencies": {
20
20
  "matcher": "5.0.0",
21
- "boxen": "^7.0.0"
21
+ "boxen": "^7.0.1"
22
22
  },
23
23
  "scripts": {
24
24
  "build": "tsup src/index.ts --format=esm,cjs --dts",