react-pdf-levelup 2.0.18 → 2.0.20

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.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import React$1 from 'react';
2
- export { Text, View } from '@react-pdf/renderer';
2
+ export { Font, StyleSheet, Text, View } from '@react-pdf/renderer';
3
3
 
4
4
  interface LayoutPDFProps {
5
5
  children: React$1.ReactNode;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import React$1 from 'react';
2
- export { Text, View } from '@react-pdf/renderer';
2
+ export { Font, StyleSheet, Text, View } from '@react-pdf/renderer';
3
3
 
4
4
  interface LayoutPDFProps {
5
5
  children: React$1.ReactNode;
package/dist/index.js CHANGED
@@ -48,6 +48,7 @@ __export(index_exports, {
48
48
  Col9: () => Col9,
49
49
  Container: () => Container,
50
50
  Em: () => Em,
51
+ Font: () => import_renderer11.Font,
51
52
  Footer: () => Footer,
52
53
  H1: () => H1,
53
54
  H2: () => H2,
@@ -69,6 +70,7 @@ __export(index_exports, {
69
70
  Small: () => Small,
70
71
  Span: () => Span,
71
72
  Strong: () => Strong,
73
+ StyleSheet: () => import_renderer11.StyleSheet,
72
74
  Table: () => Table,
73
75
  Tbody: () => Tbody,
74
76
  Td: () => Td,
@@ -352,6 +354,7 @@ var styles5 = import_renderer5.StyleSheet.create({
352
354
  fontFamily: "Helvetica",
353
355
  borderRight: 1,
354
356
  borderColor: "#000"
357
+ // borderTopWidth: 0,
355
358
  },
356
359
  cellSmall: {
357
360
  width: "25%"
@@ -513,7 +516,7 @@ var import_qrcode = __toESM(require("qrcode"));
513
516
  var generateQRAsBase64 = async ({
514
517
  value,
515
518
  size = 150,
516
- colorDark = "#000000",
519
+ colorDark = "#282828",
517
520
  colorLight = "#ffffff",
518
521
  margin = 0,
519
522
  errorCorrectionLevel = "M"
@@ -821,6 +824,7 @@ var generatePDF_default = generatePDF;
821
824
  Col9,
822
825
  Container,
823
826
  Em,
827
+ Font,
824
828
  Footer,
825
829
  H1,
826
830
  H2,
@@ -842,6 +846,7 @@ var generatePDF_default = generatePDF;
842
846
  Small,
843
847
  Span,
844
848
  Strong,
849
+ StyleSheet,
845
850
  Table,
846
851
  Tbody,
847
852
  Td,
package/dist/index.mjs CHANGED
@@ -266,6 +266,7 @@ var styles5 = StyleSheet5.create({
266
266
  fontFamily: "Helvetica",
267
267
  borderRight: 1,
268
268
  borderColor: "#000"
269
+ // borderTopWidth: 0,
269
270
  },
270
271
  cellSmall: {
271
272
  width: "25%"
@@ -427,7 +428,7 @@ import QRCode from "qrcode";
427
428
  var generateQRAsBase64 = async ({
428
429
  value,
429
430
  size = 150,
430
- colorDark = "#000000",
431
+ colorDark = "#282828",
431
432
  colorLight = "#ffffff",
432
433
  margin = 0,
433
434
  errorCorrectionLevel = "M"
@@ -664,7 +665,7 @@ var LI = ({ children, style, bulletType = "disc", isOrdered = false, index = 1,
664
665
  };
665
666
 
666
667
  // src/components/core/index.tsx
667
- import { View as View7, Text as Text6 } from "@react-pdf/renderer";
668
+ import { View as View7, Text as Text6, StyleSheet as StyleSheet10, Font } from "@react-pdf/renderer";
668
669
 
669
670
  // src/functions/decodeBase64Pdf.ts
670
671
  var decodeBase64Pdf = (base64, fileName) => {
@@ -734,6 +735,7 @@ export {
734
735
  Col9,
735
736
  Container,
736
737
  Em,
738
+ Font,
737
739
  Footer,
738
740
  H1,
739
741
  H2,
@@ -755,6 +757,7 @@ export {
755
757
  Small,
756
758
  Span,
757
759
  Strong,
760
+ StyleSheet10 as StyleSheet,
758
761
  Table,
759
762
  Tbody,
760
763
  Td,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-pdf-levelup",
3
- "version": "2.0.18",
3
+ "version": "2.0.20",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [
@@ -27,7 +27,7 @@
27
27
  "qrcode": "^1.5.4",
28
28
  "react": "^18.2.0",
29
29
  "react-dom": "^18.2.0",
30
- "react-pdf-levelup": "^2.0.17",
30
+ "react-pdf-levelup": "^2.0.18",
31
31
  "react-router-dom": "^7.4.1",
32
32
  "rimraf": "^6.0.1",
33
33
  "ts-node": "^10.9.2"