@edifice.io/react 2.0.0-develop-pedago.4 → 2.0.0-develop-pedago.5
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.
|
@@ -3,7 +3,7 @@ import { EdificeClientContext } from "./EdificeClientProvider.context.js";
|
|
|
3
3
|
function useEdificeClient() {
|
|
4
4
|
const context = useContext(EdificeClientContext);
|
|
5
5
|
if (!context)
|
|
6
|
-
throw new Error("Cannot be used outside of
|
|
6
|
+
throw new Error("Cannot be used outside of EdificeClientProvider");
|
|
7
7
|
return context;
|
|
8
8
|
}
|
|
9
9
|
export {
|
|
@@ -3,7 +3,7 @@ import { EdificeThemeContext } from "./EdificeThemeProvider.context.js";
|
|
|
3
3
|
function useEdificeTheme() {
|
|
4
4
|
const context = useContext(EdificeThemeContext);
|
|
5
5
|
if (!context)
|
|
6
|
-
throw new Error("Cannot be used outside of
|
|
6
|
+
throw new Error("Cannot be used outside of EdificeThemeProvider");
|
|
7
7
|
return context;
|
|
8
8
|
}
|
|
9
9
|
export {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@edifice.io/react",
|
|
3
|
-
"version": "2.0.0-develop-pedago.
|
|
3
|
+
"version": "2.0.0-develop-pedago.5",
|
|
4
4
|
"description": "Edifice React Library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -119,9 +119,9 @@
|
|
|
119
119
|
"react-slugify": "^3.0.3",
|
|
120
120
|
"swiper": "^10.1.0",
|
|
121
121
|
"ua-parser-js": "^1.0.36",
|
|
122
|
-
"@edifice.io/bootstrap": "2.0.0-develop-pedago.
|
|
123
|
-
"@edifice.io/tiptap-extensions": "2.0.0-develop-pedago.
|
|
124
|
-
"@edifice.io/utilities": "2.0.0-develop-pedago.
|
|
122
|
+
"@edifice.io/bootstrap": "2.0.0-develop-pedago.5",
|
|
123
|
+
"@edifice.io/tiptap-extensions": "2.0.0-develop-pedago.5",
|
|
124
|
+
"@edifice.io/utilities": "2.0.0-develop-pedago.5"
|
|
125
125
|
},
|
|
126
126
|
"devDependencies": {
|
|
127
127
|
"@babel/plugin-transform-react-pure-annotations": "^7.23.3",
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
"typescript-eslint": "^8.8.1",
|
|
148
148
|
"vite": "^5.4.11",
|
|
149
149
|
"vite-plugin-dts": "^4.1.0",
|
|
150
|
-
"@edifice.io/client": "2.0.0-develop-pedago.
|
|
150
|
+
"@edifice.io/client": "2.0.0-develop-pedago.5"
|
|
151
151
|
},
|
|
152
152
|
"peerDependencies": {
|
|
153
153
|
"@react-spring/web": "^9.7.5",
|