@umami/shiso 0.6.0 → 0.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.
- package/dist/index.js +0 -4
- package/dist/index.mjs +0 -4
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -196,10 +196,6 @@ var ContentArea_default = { "content": "ContentArea_content__MWQ1Z" };
|
|
|
196
196
|
// src/components/ContentArea.tsx
|
|
197
197
|
var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
198
198
|
function ContentArea({ content, components }) {
|
|
199
|
-
console.log({ content, components });
|
|
200
|
-
if (!content.code) {
|
|
201
|
-
return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("h1", { children: "boooo" });
|
|
202
|
-
}
|
|
203
199
|
return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_react_zen5.Box, { flexGrow: 1, children: [
|
|
204
200
|
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_react_zen5.Text, { color: "primary", weight: "bold", children: content.group }),
|
|
205
201
|
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_react_zen5.Heading, { size: "8", as: "h1", children: content.meta.title }),
|
package/dist/index.mjs
CHANGED
|
@@ -160,10 +160,6 @@ var ContentArea_default = { "content": "ContentArea_content__MWQ1Z" };
|
|
|
160
160
|
// src/components/ContentArea.tsx
|
|
161
161
|
import { jsx as jsx7, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
162
162
|
function ContentArea({ content, components }) {
|
|
163
|
-
console.log({ content, components });
|
|
164
|
-
if (!content.code) {
|
|
165
|
-
return /* @__PURE__ */ jsx7("h1", { children: "boooo" });
|
|
166
|
-
}
|
|
167
163
|
return /* @__PURE__ */ jsxs4(Box2, { flexGrow: 1, children: [
|
|
168
164
|
/* @__PURE__ */ jsx7(Text2, { color: "primary", weight: "bold", children: content.group }),
|
|
169
165
|
/* @__PURE__ */ jsx7(Heading, { size: "8", as: "h1", children: content.meta.title }),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umami/shiso",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "A content layer for Next.js",
|
|
5
5
|
"homepage": "https://umami.is/shiso",
|
|
6
6
|
"repository": {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"access": "public"
|
|
19
19
|
},
|
|
20
20
|
"scripts": {
|
|
21
|
-
"dev": "next dev --port 3100",
|
|
21
|
+
"dev": "next dev --port 3100 --turbo",
|
|
22
22
|
"build": "next build",
|
|
23
23
|
"start": "next start",
|
|
24
24
|
"lint": "next lint",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
]
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"@umami/react-zen": "^0.
|
|
46
|
+
"@umami/react-zen": "^0.27.0"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@mdx-js/loader": "^3.0.0",
|