react-pdf-levelup 2.0.13 → 2.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/dist/index.cjs CHANGED
@@ -72,11 +72,13 @@ __export(index_exports, {
72
72
  Table: () => Table,
73
73
  Tbody: () => Tbody,
74
74
  Td: () => Td,
75
+ Text: () => import_renderer10.Text,
75
76
  Th: () => Th,
76
77
  Thead: () => Thead,
77
78
  Tr: () => Tr,
78
79
  U: () => U,
79
- UL: () => UL
80
+ UL: () => UL,
81
+ View: () => import_renderer10.View
80
82
  });
81
83
  module.exports = __toCommonJS(index_exports);
82
84
 
@@ -718,6 +720,9 @@ var LI = ({ children, style, bulletType = "disc", isOrdered = false, index = 1,
718
720
  }
719
721
  return /* @__PURE__ */ import_react10.default.createElement(import_renderer9.View, { style: [styles9.li, style] }, /* @__PURE__ */ import_react10.default.createElement(import_renderer9.Text, { style: styles9.bulletPoint }, marker), /* @__PURE__ */ import_react10.default.createElement(import_renderer9.View, { style: styles9.itemContent }, typeof children === "string" ? /* @__PURE__ */ import_react10.default.createElement(import_renderer9.Text, null, children) : children));
720
722
  };
723
+
724
+ // src/components/core/index.tsx
725
+ var import_renderer10 = require("@react-pdf/renderer");
721
726
  // Annotate the CommonJS export names for ESM import in node:
722
727
  0 && (module.exports = {
723
728
  A,
@@ -762,9 +767,11 @@ var LI = ({ children, style, bulletType = "disc", isOrdered = false, index = 1,
762
767
  Table,
763
768
  Tbody,
764
769
  Td,
770
+ Text,
765
771
  Th,
766
772
  Thead,
767
773
  Tr,
768
774
  U,
769
- UL
775
+ UL,
776
+ View
770
777
  });
package/dist/index.d.cts CHANGED
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ export { Text, View } from '@react-pdf/renderer';
2
3
 
3
4
  interface LayoutPDFProps {
4
5
  children: React.ReactNode;
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ export { Text, View } from '@react-pdf/renderer';
2
3
 
3
4
  interface LayoutPDFProps {
4
5
  children: React.ReactNode;
package/dist/index.js CHANGED
@@ -636,6 +636,9 @@ var LI = ({ children, style, bulletType = "disc", isOrdered = false, index = 1,
636
636
  }
637
637
  return /* @__PURE__ */ React9.createElement(View6, { style: [styles9.li, style] }, /* @__PURE__ */ React9.createElement(Text5, { style: styles9.bulletPoint }, marker), /* @__PURE__ */ React9.createElement(View6, { style: styles9.itemContent }, typeof children === "string" ? /* @__PURE__ */ React9.createElement(Text5, null, children) : children));
638
638
  };
639
+
640
+ // src/components/core/index.tsx
641
+ import { View as View7, Text as Text6 } from "@react-pdf/renderer";
639
642
  export {
640
643
  A,
641
644
  BR,
@@ -679,9 +682,11 @@ export {
679
682
  Table,
680
683
  Tbody,
681
684
  Td,
685
+ Text6 as Text,
682
686
  Th,
683
687
  Thead,
684
688
  Tr,
685
689
  U,
686
- UL
690
+ UL,
691
+ View7 as View
687
692
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-pdf-levelup",
3
- "version": "2.0.13",
3
+ "version": "2.0.14",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -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.9",
30
+ "react-pdf-levelup": "^2.0.12",
31
31
  "react-router-dom": "^7.4.1",
32
32
  "rimraf": "^6.0.1"
33
33
  },