shareneus 1.5.98 → 1.5.99

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.
@@ -320,7 +320,8 @@ function buildBarcodeStack(code) {
320
320
  return [
321
321
  {
322
322
  svg,
323
- width: 110,
323
+ width: 92,
324
+ alignment: 'center',
324
325
  margin: [0, 0, 0, 0]
325
326
  }
326
327
  ];
@@ -446,13 +447,13 @@ function textToSvgBarcode(text) {
446
447
  const svgElement = document.createElementNS("http://www.w3.org/2000/svg", "svg");
447
448
  (0, jsbarcode_1.default)(svgElement, text, {
448
449
  format: "CODE128",
449
- width: 0.8,
450
- height: 14,
450
+ width: 1,
451
+ height: 18,
451
452
  margin: 0,
452
453
  marginTop: 0,
453
454
  displayValue: true,
454
- fontSize: 6,
455
- textMargin: 0,
455
+ fontSize: 8,
456
+ textMargin: 1,
456
457
  fontOptions: 'bold'
457
458
  });
458
459
  return svgElement.outerHTML;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shareneus",
3
- "version": "1.5.98",
3
+ "version": "1.5.99",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",