@examplary/ui 1.6.0 → 1.7.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.
@@ -35,6 +35,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
35
35
  }
36
36
  };
37
37
  import * as _React from "react";
38
+ import * as _ReactDom from "react-dom";
38
39
  import * as ExamplaryUI from "../../index";
39
40
  var componentCache = new Map();
40
41
  // Little helper to evaluate the JS code in the context of the module
@@ -69,6 +70,8 @@ export var fetchComponent = function (url) { return __awaiter(void 0, void 0, vo
69
70
  var require_1 = function (name) {
70
71
  if (name === "react")
71
72
  return _React;
73
+ if (name === "react-dom")
74
+ return _ReactDom;
72
75
  if (name === "@examplary/ui")
73
76
  return ExamplaryUI;
74
77
  throw new Error("Module not found: ".concat(name));
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@examplary/ui",
3
3
  "description": "UI components for the Examplary testing platform.",
4
4
  "packageManager": "yarn@4.5.3",
5
- "version": "1.6.0",
5
+ "version": "1.7.0",
6
6
  "type": "module",
7
7
  "main": "dist/index.js",
8
8
  "files": [
@@ -26,6 +26,7 @@
26
26
  "@tailwindcss/forms": "^0.5.10",
27
27
  "@tailwindcss/typography": "^0.5.16",
28
28
  "@tiptap/core": "^3.0.7",
29
+ "@tiptap/extension-document": "^3.0.9",
29
30
  "@tiptap/extension-file-handler": "^3.0.7",
30
31
  "@tiptap/extension-highlight": "^3.0.7",
31
32
  "@tiptap/extension-link": "^3.0.7",
@@ -40,6 +41,7 @@
40
41
  "i18next-browser-languagedetector": "^8.2.0",
41
42
  "katex": "^0.16.22",
42
43
  "lucide-react": "^0.526.0",
44
+ "react-hot-toast": "^2.5.2",
43
45
  "tailwind-animate": "^0.2.10",
44
46
  "tailwind-merge": "^3.3.1",
45
47
  "tailwindcss-animate": "^1.0.7"