@pdfme/ui 1.0.13 → 1.0.14

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": "@pdfme/ui",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "author": "hand-dot",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -85,7 +85,7 @@ const BarcodeSchemaUI = (
85
85
  color: '#000',
86
86
  height: Number(schema.height) * ZOOM,
87
87
  width: Number(schema.width) * ZOOM,
88
- background: editable || value ? 'rgba(255, 255, 255, 0.8)' : 'none',
88
+ backgroundColor: editable || value ? 'rgb(242 244 255 / 75%)' : 'none',
89
89
  border: 'none',
90
90
  display: 'flex',
91
91
  alignItems: 'center',
@@ -30,10 +30,10 @@ const TextSchemaUI = (
30
30
  lineHeight: `${schema.lineHeight ?? DEFAULT_LINE_HEIGHT}em`,
31
31
  whiteSpace: 'pre-line',
32
32
  wordBreak: 'break-all',
33
- background: 'transparent',
34
33
  border: 'none',
35
34
  color: schema.fontColor ? schema.fontColor : DEFAULT_FONT_COLOR,
36
- backgroundColor: schema.data && schema.backgroundColor ? schema.backgroundColor : 'transparent',
35
+ backgroundColor:
36
+ schema.data && schema.backgroundColor ? schema.backgroundColor : 'rgb(242 244 255 / 75%)',
37
37
  };
38
38
 
39
39
  return editable ? (