laif-ds 0.2.32 → 0.2.34

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.
Files changed (39) hide show
  1. package/dist/_virtual/index4.js +5 -5
  2. package/dist/_virtual/index5.js +5 -5
  3. package/dist/components/ui/button.js +27 -26
  4. package/dist/components/ui/checkbox.js +15 -11
  5. package/dist/components/ui/secure-pdf-viewer.js +64 -57
  6. package/dist/index.d.ts +8 -2
  7. package/dist/laif-ds.css +1 -1
  8. package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +1 -1
  9. package/dist/node_modules/react-hook-form/dist/index.esm.js +1 -1
  10. package/dist/node_modules/unified/lib/index.js +1 -1
  11. package/dist/styles.v3.css +1 -1
  12. package/package.json +6 -4
  13. package/dist/_virtual/warning.js +0 -8
  14. package/dist/node_modules/dequal/dist/index.js +0 -56
  15. package/dist/node_modules/make-cancellable-promise/dist/index.js +0 -15
  16. package/dist/node_modules/make-event-props/dist/index.js +0 -114
  17. package/dist/node_modules/merge-refs/dist/index.js +0 -19
  18. package/dist/node_modules/react-pdf/dist/Document.js +0 -180
  19. package/dist/node_modules/react-pdf/dist/DocumentContext.js +0 -6
  20. package/dist/node_modules/react-pdf/dist/LinkService.js +0 -94
  21. package/dist/node_modules/react-pdf/dist/Message.js +0 -8
  22. package/dist/node_modules/react-pdf/dist/Page/AnnotationLayer.js +0 -97
  23. package/dist/node_modules/react-pdf/dist/Page/Canvas.js +0 -55
  24. package/dist/node_modules/react-pdf/dist/Page/TextLayer.js +0 -111
  25. package/dist/node_modules/react-pdf/dist/Page.js +0 -180
  26. package/dist/node_modules/react-pdf/dist/PageContext.js +0 -6
  27. package/dist/node_modules/react-pdf/dist/PasswordResponses.js +0 -8
  28. package/dist/node_modules/react-pdf/dist/StructTree.js +0 -44
  29. package/dist/node_modules/react-pdf/dist/StructTreeItem.js +0 -14
  30. package/dist/node_modules/react-pdf/dist/index.js +0 -9
  31. package/dist/node_modules/react-pdf/dist/shared/constants.js +0 -62
  32. package/dist/node_modules/react-pdf/dist/shared/hooks/useDocumentContext.js +0 -9
  33. package/dist/node_modules/react-pdf/dist/shared/hooks/usePageContext.js +0 -9
  34. package/dist/node_modules/react-pdf/dist/shared/hooks/useResolver.js +0 -20
  35. package/dist/node_modules/react-pdf/dist/shared/structTreeUtils.js +0 -55
  36. package/dist/node_modules/react-pdf/dist/shared/utils.js +0 -110
  37. package/dist/node_modules/react-pdf/node_modules/pdfjs-dist/build/pdf.js +0 -15282
  38. package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js +0 -13
  39. package/dist/node_modules/warning/warning.js +0 -39
@@ -1,13 +0,0 @@
1
- "use client";
2
- var a = process.env.NODE_ENV === "production", n = "Invariant failed";
3
- function c(t, r) {
4
- if (!t) {
5
- if (a)
6
- throw new Error(n);
7
- var o = typeof r == "function" ? r() : r, i = o ? "".concat(n, ": ").concat(o) : n;
8
- throw new Error(i);
9
- }
10
- }
11
- export {
12
- c as default
13
- };
@@ -1,39 +0,0 @@
1
- "use client";
2
- var i, c;
3
- function l() {
4
- if (c) return i;
5
- c = 1;
6
- var g = process.env.NODE_ENV !== "production", t = function() {
7
- };
8
- if (g) {
9
- var f = function(a, n) {
10
- var e = arguments.length;
11
- n = new Array(e > 1 ? e - 1 : 0);
12
- for (var r = 1; r < e; r++)
13
- n[r - 1] = arguments[r];
14
- var s = 0, u = "Warning: " + a.replace(/%s/g, function() {
15
- return n[s++];
16
- });
17
- typeof console < "u" && console.error(u);
18
- try {
19
- throw new Error(u);
20
- } catch {
21
- }
22
- };
23
- t = function(o, a, n) {
24
- var e = arguments.length;
25
- n = new Array(e > 2 ? e - 2 : 0);
26
- for (var r = 2; r < e; r++)
27
- n[r - 2] = arguments[r];
28
- if (a === void 0)
29
- throw new Error(
30
- "`warning(condition, format, ...args)` requires a warning message argument"
31
- );
32
- o || f.apply(null, [a].concat(n));
33
- };
34
- }
35
- return i = t, i;
36
- }
37
- export {
38
- l as __require
39
- };