gm-printer-label 3.1.7-beta.1 → 3.2.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-printer-label",
3
- "version": "3.1.7-beta.1",
3
+ "version": "3.2.0",
4
4
  "description": "",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -1,5 +1,5 @@
1
1
  // eslint-disable-next-line
2
- import editCSS from 'css-loader!postcss-loader!less-loader!./style.lesss'
2
+ import editCSS from './style.lesss'
3
3
 
4
4
  function getCSS () {
5
5
  return editCSS.toString()
@@ -279,7 +279,7 @@ class Block extends React.Component {
279
279
  value={template(production_barcode, data)}
280
280
  textMargin={0}
281
281
  margin={0}
282
- height={style.height}
282
+ height={parseInt(style.height) - 14}
283
283
  width={2}
284
284
  displayValue={false}
285
285
  dataName={production_barcode}
@@ -7,9 +7,9 @@ import ReactDOM from 'react-dom'
7
7
  import BatchPrinter from './batch_printer'
8
8
 
9
9
  // eslint-disable-next-line
10
- import normalizeCSS from 'css-loader!./normalize.csss'
10
+ import normalizeCSS from './normalize.csss'
11
11
  // eslint-disable-next-line
12
- import printerCSS from 'css-loader!postcss-loader!less-loader!./style.lesss'
12
+ import printerCSS from './style.lesss'
13
13
  import { afterImgAndSvgLoaded } from '../util'
14
14
 
15
15
  function getHtml (props) {
package/.eslintcache DELETED
@@ -1 +0,0 @@
1
- [{"/Volumes/gm-project/gm-printer-label/src/index.js":"1","/Volumes/gm-project/gm-printer-label/src/common/editor_compoents/edit_modify_filed.js":"2","/Volumes/gm-project/gm-printer-label/src/common/config.js":"3","/Volumes/gm-project/gm-printer-label/src/common/editor_compoents/store.js":"4","/Volumes/gm-project/gm-printer-label/src/util.js":"5","/Volumes/gm-project/gm-printer-label/src/printer/printer.js":"6","/Volumes/gm-project/gm-printer-label/src/printer/page.js":"7","/Volumes/gm-project/gm-printer-label/src/printer/block.js":"8","/Volumes/gm-project/gm-printer-label/src/common/editor_compoents/edit.js":"9","/Volumes/gm-project/gm-printer-label/src/common/editor_compoents/edit_select.js":"10","/Volumes/gm-project/gm-printer-label/src/printer/batch_printer.js":"11"},{"size":180,"mtime":1658462117054,"results":"12","hashOfConfig":"13"},{"size":4956,"mtime":1670828102437},{"size":1699,"mtime":1658461960259},{"size":7294,"mtime":1661759246118,"results":"14","hashOfConfig":"13"},{"size":1937,"mtime":1661225223156,"results":"15","hashOfConfig":"13"},{"size":1832,"mtime":1670827635163,"results":"16","hashOfConfig":"13"},{"size":411,"mtime":1660567552793},{"size":12566,"mtime":1670827660171},{"size":2928,"mtime":1661759246116},{"size":6103,"mtime":1661767254469},{"size":825,"mtime":1670827635162},{"filePath":"17","messages":"18","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"17s6x9q",{"filePath":"19","messages":"20","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"21","messages":"22","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"23","messages":"24","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/Volumes/gm-project/gm-printer-label/src/index.js",[],"/Volumes/gm-project/gm-printer-label/src/common/editor_compoents/store.js",[],"/Volumes/gm-project/gm-printer-label/src/util.js",[],"/Volumes/gm-project/gm-printer-label/src/printer/printer.js",[]]