@umami/shiso 0.27.0 → 0.28.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.css CHANGED
@@ -103,55 +103,55 @@ pre.CodeBlock_container__YmFmN code {
103
103
  }
104
104
 
105
105
  /* virtual-css:css:7938c95522eda3e1f8244364ad70b38c */
106
- .ContentArea_content__NDVhM {
106
+ .ContentArea_content__NGFkN {
107
107
  font-size: 16px;
108
108
  margin-bottom: 60px;
109
109
  }
110
- .ContentArea_content__NDVhM > p {
111
- color: var(--font-color-muted);
110
+ .ContentArea_content__NGFkN > p {
111
+ color: var(--font-color);
112
112
  line-height: 1.8;
113
113
  }
114
- .ContentArea_content__NDVhM a {
114
+ .ContentArea_content__NGFkN a {
115
115
  color: var(--font-color);
116
116
  font-weight: 600;
117
117
  text-decoration: underline var(--border-color);
118
118
  text-underline-offset: 4px;
119
119
  }
120
- .ContentArea_content__NDVhM a:hover {
120
+ .ContentArea_content__NGFkN a:hover {
121
121
  color: var(--font-color);
122
122
  text-decoration: underline var(--primary-color);
123
123
  }
124
- .ContentArea_content__NDVhM h1 {
124
+ .ContentArea_content__NGFkN h1 {
125
125
  font-size: var(--font-size-8);
126
126
  letter-spacing: var(--letter-spacing-1);
127
127
  margin: 0 0 var(--spacing-4) 0;
128
128
  }
129
- .ContentArea_content__NDVhM h2 {
129
+ .ContentArea_content__NGFkN h2 {
130
130
  font-size: var(--font-size-6);
131
131
  letter-spacing: var(--letter-spacing-1);
132
132
  margin: var(--spacing-8) 0 var(--spacing-4) 0;
133
133
  }
134
- .ContentArea_content__NDVhM h3 {
134
+ .ContentArea_content__NGFkN h3 {
135
135
  font-size: var(--font-size-5);
136
136
  letter-spacing: var(--letter-spacing-1);
137
137
  margin: var(--spacing-7) 0 var(--spacing-4) 0;
138
138
  }
139
- .ContentArea_content__NDVhM *[id] {
139
+ .ContentArea_content__NGFkN *[id] {
140
140
  scroll-margin-top: var(--spacing-4);
141
141
  }
142
- .ContentArea_content__NDVhM ul {
142
+ .ContentArea_content__NGFkN ul {
143
143
  list-style: disc;
144
144
  }
145
- .ContentArea_content__NDVhM ol {
145
+ .ContentArea_content__NGFkN ol {
146
146
  list-style: decimal;
147
147
  }
148
- .ContentArea_content__NDVhM pre {
148
+ .ContentArea_content__NGFkN pre {
149
149
  margin: var(--spacing-5) 0;
150
150
  }
151
- .ContentArea_content__NDVhM code {
151
+ .ContentArea_content__NGFkN code {
152
152
  font-size: 14px;
153
153
  }
154
- .ContentArea_content__NDVhM code:not([class]) {
154
+ .ContentArea_content__NGFkN code:not([class]) {
155
155
  font-family: var(--font-family-code);
156
156
  color: var(--font-color);
157
157
  padding: var(--spacing-1);
package/dist/index.js CHANGED
@@ -276,7 +276,7 @@ function TopNav({ tabs }) {
276
276
  var import_react_zen8 = require("@umami/react-zen");
277
277
 
278
278
  // css-modules:/Users/mikecao/Development/umami-software/shiso/src/components/ContentArea.module.css
279
- var ContentArea_default = { "content": "ContentArea_content__NDVhM" };
279
+ var ContentArea_default = { "content": "ContentArea_content__NGFkN" };
280
280
 
281
281
  // src/components/ContentArea.tsx
282
282
  var import_link3 = __toESM(require("next/link"));
@@ -284,8 +284,8 @@ var import_jsx_runtime9 = require("react/jsx-runtime");
284
284
  function ContentArea({ section, title, description, code, next, prev }) {
285
285
  return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_react_zen8.Box, { flexGrow: 1, children: [
286
286
  section && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_react_zen8.Text, { color: "primary", weight: "bold", children: section }),
287
- title && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_react_zen8.Heading, { size: "2", as: "h1", children: title }),
288
- description && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_react_zen8.Text, { color: "muted", children: description }),
287
+ title && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_react_zen8.Heading, { size: "2", as: "h1", marginY: "3", children: title }),
288
+ description && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_react_zen8.Text, { color: "muted", size: "3", children: description }),
289
289
  /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_react_zen8.Box, { className: ContentArea_default.content, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Markdown, { code }) }),
290
290
  /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_react_zen8.Row, { justifyContent: "space-between", children: [
291
291
  /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(NavigationButton, { ...prev, isPrev: true }),
package/dist/index.mjs CHANGED
@@ -252,7 +252,7 @@ function TopNav({ tabs }) {
252
252
  import { Heading, Box as Box3, Text as Text2, Row, Icon as Icon2, Icons as Icons2 } from "@umami/react-zen";
253
253
 
254
254
  // css-modules:/Users/mikecao/Development/umami-software/shiso/src/components/ContentArea.module.css
255
- var ContentArea_default = { "content": "ContentArea_content__NDVhM" };
255
+ var ContentArea_default = { "content": "ContentArea_content__NGFkN" };
256
256
 
257
257
  // src/components/ContentArea.tsx
258
258
  import Link3 from "next/link";
@@ -260,8 +260,8 @@ import { jsx as jsx9, jsxs as jsxs5 } from "react/jsx-runtime";
260
260
  function ContentArea({ section, title, description, code, next, prev }) {
261
261
  return /* @__PURE__ */ jsxs5(Box3, { flexGrow: 1, children: [
262
262
  section && /* @__PURE__ */ jsx9(Text2, { color: "primary", weight: "bold", children: section }),
263
- title && /* @__PURE__ */ jsx9(Heading, { size: "2", as: "h1", children: title }),
264
- description && /* @__PURE__ */ jsx9(Text2, { color: "muted", children: description }),
263
+ title && /* @__PURE__ */ jsx9(Heading, { size: "2", as: "h1", marginY: "3", children: title }),
264
+ description && /* @__PURE__ */ jsx9(Text2, { color: "muted", size: "3", children: description }),
265
265
  /* @__PURE__ */ jsx9(Box3, { className: ContentArea_default.content, children: /* @__PURE__ */ jsx9(Markdown, { code }) }),
266
266
  /* @__PURE__ */ jsxs5(Row, { justifyContent: "space-between", children: [
267
267
  /* @__PURE__ */ jsx9(NavigationButton, { ...prev, isPrev: true }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umami/shiso",
3
- "version": "0.27.0",
3
+ "version": "0.28.0",
4
4
  "description": "A content layer for Next.js",
5
5
  "homepage": "https://umami.is/shiso",
6
6
  "repository": {