@umami/shiso 0.51.0 → 0.53.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
@@ -38,7 +38,7 @@
38
38
  }
39
39
 
40
40
  /* virtual-css:css:2dd9c1a25bf05a14c9a7ab7ce1da6aef */
41
- .CodeBlock_container__YzkwN {
41
+ .CodeBlock_container__OGZlM {
42
42
  position: relative;
43
43
  background: var(--background-color);
44
44
  border: 1px solid var(--base-color-1);
@@ -47,14 +47,15 @@
47
47
  white-space: pre-wrap;
48
48
  word-wrap: break-word;
49
49
  }
50
- pre.CodeBlock_container__YzkwN code {
50
+ pre.CodeBlock_container__OGZlM code {
51
51
  font-family: var(--font-family-code);
52
52
  color: var(--font-color);
53
+ font-size: var(--font-size);
53
54
  padding: 0;
54
55
  border: 0;
55
56
  background: transparent;
56
57
  }
57
- .CodeBlock_button__ZjNjN {
58
+ .CodeBlock_button__Y2Y2Z {
58
59
  border: 0;
59
60
  position: absolute;
60
61
  right: var(--spacing-5);
@@ -62,13 +63,13 @@ pre.CodeBlock_container__YzkwN code {
62
63
  cursor: pointer;
63
64
  background: transparent;
64
65
  }
65
- .CodeBlock_copy__Y2UyM {
66
+ .CodeBlock_copy__NWI2Y {
66
67
  color: var(--base-color-4);
67
68
  }
68
- .CodeBlock_copy__Y2UyM:hover {
69
+ .CodeBlock_copy__NWI2Y:hover {
69
70
  color: var(--base-color-1);
70
71
  }
71
- .CodeBlock_check__ODM5Z {
72
+ .CodeBlock_check__YzQzO {
72
73
  color: var(--success-color);
73
74
  }
74
75
 
package/dist/index.js CHANGED
@@ -97,13 +97,13 @@ var import_react_zen10 = require("@umami/react-zen");
97
97
 
98
98
  // src/components/CodeBlock.tsx
99
99
  var import_react2 = require("react");
100
+ var import_classnames2 = __toESM(require("classnames"));
100
101
  var import_react_zen2 = require("@umami/react-zen");
101
102
 
102
103
  // css-modules:E:\dev\umami-shiso\src\components\CodeBlock.module.css
103
- var CodeBlock_default = { "container": "CodeBlock_container__YzkwN", "button": "CodeBlock_button__ZjNjN", "copy": "CodeBlock_copy__Y2UyM", "check": "CodeBlock_check__ODM5Z" };
104
+ var CodeBlock_default = { "container": "CodeBlock_container__OGZlM", "button": "CodeBlock_button__Y2Y2Z", "copy": "CodeBlock_copy__NWI2Y", "check": "CodeBlock_check__YzQzO" };
104
105
 
105
106
  // src/components/CodeBlock.tsx
106
- var import_classnames2 = __toESM(require("classnames"));
107
107
  var import_jsx_runtime2 = require("react/jsx-runtime");
108
108
  function CodeBlock(props) {
109
109
  const textInput = (0, import_react2.useRef)(null);
@@ -195,7 +195,7 @@ function TopNav({ tabs }) {
195
195
  const pathname = (0, import_navigation2.usePathname)();
196
196
  const tab = tabs?.find(({ id, url }) => id !== "docs" ? pathname.startsWith(url) : false);
197
197
  const selected = tab?.id || "docs";
198
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_react_zen4.Box, { marginBottom: "6", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_react_zen4.Tabs, { selectedKey: selected, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_react_zen4.TabList, { items: tabs, children: ({ id, label, url }) => {
198
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_react_zen4.Box, { maxWidth: "100vw", overflowX: "auto", overflowY: "hidden", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_react_zen4.Tabs, { selectedKey: selected, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_react_zen4.TabList, { items: tabs, children: ({ id, label, url }) => {
199
199
  return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_react_zen4.Tab, { id, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_link2.default, { href: url, children: label }) });
200
200
  } }) }) });
201
201
  }
@@ -307,40 +307,28 @@ function Docs({ content, config }) {
307
307
  );
308
308
  const { top } = config?.docs || {};
309
309
  const navDisplay = {
310
- default: "none",
311
310
  xs: "none",
312
- sm: "none",
313
- md: "none",
314
- lg: "block",
315
- xl: "block"
311
+ lg: "block"
316
312
  };
317
313
  const linksDisplay = {
318
- default: "none",
319
314
  xs: "none",
320
- sm: "none",
321
- md: "none",
322
- lg: "block",
323
- xl: "block"
315
+ lg: "block"
324
316
  };
325
317
  const menuDisplay = {
326
- lg: "none",
327
- xl: "none"
318
+ lg: "none"
328
319
  };
329
320
  const MobileMenuButton = () => /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_react_zen7.DialogTrigger, { children: [
330
321
  /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_react_zen7.Button, { children: [
331
322
  /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_react_zen7.Icon, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_react_zen7.Icons.Menu, {}) }),
332
323
  /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_react_zen7.Text, { children: "Menu" })
333
324
  ] }),
334
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_react_zen7.Modal, { position: "bottom", offset: "40px", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_react_zen7.Dialog, { variant: "sheet", children: ({ close }) => {
335
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
336
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_react_zen7.Row, { justifyContent: "flex-end", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_react_zen7.Button, { onPress: () => close(), variant: "quiet", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_react_zen7.Icon, { size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_react_zen7.Icons.Close, {}) }) }) }),
337
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_react_zen7.Box, { height: "100%", overflow: "auto", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SideNav, { tabs, navigation }) })
338
- ] });
325
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_react_zen7.Modal, { position: "left", offset: "70px", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_react_zen7.Dialog, { variant: "sheet", children: ({ close }) => {
326
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_react_zen7.Box, { overflow: "auto", padding: "4", onClick: close, children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SideNav, { tabs, navigation }) });
339
327
  } }) })
340
328
  ] });
341
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_react_zen7.Box, { flexGrow: "1", children: [
342
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_react_zen7.Row, { display: menuDisplay, justifyContent: "flex-end", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(MobileMenuButton, {}) }),
329
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_react_zen7.Column, { gap: "6", children: [
343
330
  tabs && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(TopNav, { tabs }),
331
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_react_zen7.Row, { display: menuDisplay, justifyContent: "flex-end", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(MobileMenuButton, {}) }),
344
332
  /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_react_zen7.Row, { gap: "6", children: [
345
333
  /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
346
334
  SideNav,
@@ -410,7 +398,7 @@ function Blogs({ content, config, ...props }) {
410
398
  const items = content.sort(
411
399
  (a, b) => new Date(b?.meta?.date).getTime() - new Date(a?.meta?.date).getTime()
412
400
  );
413
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_react_zen9.Grid, { gap: "5", columns: "repeat(auto-fit, minmax(400px, 1fr)", children: items?.map(({ meta, slug }) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Card, { url: `/blog/${slug}`, ...meta }, slug)) });
401
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_react_zen9.Grid, { gap: "5", columns: { xs: "1fr", lg: "repeat(auto-fit, minmax(400px, 1fr))" }, children: items?.map(({ meta, slug }) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Card, { url: `/blog/${slug}`, ...meta }, slug)) });
414
402
  }
415
403
 
416
404
  // src/components/Shiso.tsx
@@ -445,12 +433,8 @@ function Blog({ title, code, author, date, image, anchors, backUrl }) {
445
433
  const { config } = useShiso();
446
434
  const { top } = config?.blog || {};
447
435
  const linksDisplay = {
448
- default: "none",
449
436
  xs: "none",
450
- sm: "none",
451
- md: "none",
452
- lg: "block",
453
- xl: "block"
437
+ lg: "block"
454
438
  };
455
439
  return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_react_zen11.Column, { gap: "8", maxWidth: "960px", style: { margin: "0 auto" }, children: [
456
440
  /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_react_zen11.Box, { flexGrow: "1", paddingY: "6", children: title && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_react_zen11.Heading, { size: "6", as: "h1", align: "center", children: title }) }),
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
 
3
3
  // src/components/Blog.tsx
4
- import { Heading as Heading4, Box as Box7, Text as Text6, Row as Row4, Column as Column4, Image as Image2, Icon as Icon5, Icons as Icons5, Button as Button3 } from "@umami/react-zen";
4
+ import { Heading as Heading4, Box as Box7, Text as Text6, Row as Row4, Column as Column5, Image as Image2, Icon as Icon5, Icons as Icons5, Button as Button3 } from "@umami/react-zen";
5
5
  import { format as format2 } from "date-fns";
6
6
 
7
7
  // src/components/PageLinks.tsx
@@ -60,13 +60,13 @@ import { Code } from "@umami/react-zen";
60
60
 
61
61
  // src/components/CodeBlock.tsx
62
62
  import { useState as useState2, useRef } from "react";
63
+ import classNames2 from "classnames";
63
64
  import { Icon, Icons } from "@umami/react-zen";
64
65
 
65
66
  // css-modules:E:\dev\umami-shiso\src\components\CodeBlock.module.css
66
- var CodeBlock_default = { "container": "CodeBlock_container__YzkwN", "button": "CodeBlock_button__ZjNjN", "copy": "CodeBlock_copy__Y2UyM", "check": "CodeBlock_check__ODM5Z" };
67
+ var CodeBlock_default = { "container": "CodeBlock_container__OGZlM", "button": "CodeBlock_button__Y2Y2Z", "copy": "CodeBlock_copy__NWI2Y", "check": "CodeBlock_check__YzQzO" };
67
68
 
68
69
  // src/components/CodeBlock.tsx
69
- import classNames2 from "classnames";
70
70
  import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
71
71
  function CodeBlock(props) {
72
72
  const textInput = useRef(null);
@@ -92,6 +92,7 @@ import {
92
92
  Icon as Icon3,
93
93
  Icons as Icons3,
94
94
  Row as Row2,
95
+ Column as Column3,
95
96
  Modal,
96
97
  DialogTrigger,
97
98
  Dialog,
@@ -169,7 +170,7 @@ function TopNav({ tabs }) {
169
170
  const pathname = usePathname2();
170
171
  const tab = tabs?.find(({ id, url }) => id !== "docs" ? pathname.startsWith(url) : false);
171
172
  const selected = tab?.id || "docs";
172
- return /* @__PURE__ */ jsx4(Box2, { marginBottom: "6", children: /* @__PURE__ */ jsx4(Tabs, { selectedKey: selected, children: /* @__PURE__ */ jsx4(TabList, { items: tabs, children: ({ id, label, url }) => {
173
+ return /* @__PURE__ */ jsx4(Box2, { maxWidth: "100vw", overflowX: "auto", overflowY: "hidden", children: /* @__PURE__ */ jsx4(Tabs, { selectedKey: selected, children: /* @__PURE__ */ jsx4(TabList, { items: tabs, children: ({ id, label, url }) => {
173
174
  return /* @__PURE__ */ jsx4(Tab, { id, children: /* @__PURE__ */ jsx4(Link2, { href: url, children: label }) });
174
175
  } }) }) });
175
176
  }
@@ -245,7 +246,7 @@ var NavigationButton = ({
245
246
  };
246
247
 
247
248
  // src/components/Docs.tsx
248
- import { Fragment, jsx as jsx7, jsxs as jsxs6 } from "react/jsx-runtime";
249
+ import { jsx as jsx7, jsxs as jsxs6 } from "react/jsx-runtime";
249
250
  function parseContent(content, config = {}) {
250
251
  const { tabs, navigation } = config;
251
252
  const keys = Object.keys(navigation);
@@ -280,40 +281,28 @@ function Docs({ content, config }) {
280
281
  );
281
282
  const { top } = config?.docs || {};
282
283
  const navDisplay = {
283
- default: "none",
284
284
  xs: "none",
285
- sm: "none",
286
- md: "none",
287
- lg: "block",
288
- xl: "block"
285
+ lg: "block"
289
286
  };
290
287
  const linksDisplay = {
291
- default: "none",
292
288
  xs: "none",
293
- sm: "none",
294
- md: "none",
295
- lg: "block",
296
- xl: "block"
289
+ lg: "block"
297
290
  };
298
291
  const menuDisplay = {
299
- lg: "none",
300
- xl: "none"
292
+ lg: "none"
301
293
  };
302
294
  const MobileMenuButton = () => /* @__PURE__ */ jsxs6(DialogTrigger, { children: [
303
295
  /* @__PURE__ */ jsxs6(Button, { children: [
304
296
  /* @__PURE__ */ jsx7(Icon3, { children: /* @__PURE__ */ jsx7(Icons3.Menu, {}) }),
305
297
  /* @__PURE__ */ jsx7(Text4, { children: "Menu" })
306
298
  ] }),
307
- /* @__PURE__ */ jsx7(Modal, { position: "bottom", offset: "40px", children: /* @__PURE__ */ jsx7(Dialog, { variant: "sheet", children: ({ close }) => {
308
- return /* @__PURE__ */ jsxs6(Fragment, { children: [
309
- /* @__PURE__ */ jsx7(Row2, { justifyContent: "flex-end", children: /* @__PURE__ */ jsx7(Button, { onPress: () => close(), variant: "quiet", children: /* @__PURE__ */ jsx7(Icon3, { size: "sm", children: /* @__PURE__ */ jsx7(Icons3.Close, {}) }) }) }),
310
- /* @__PURE__ */ jsx7(Box5, { height: "100%", overflow: "auto", children: /* @__PURE__ */ jsx7(SideNav, { tabs, navigation }) })
311
- ] });
299
+ /* @__PURE__ */ jsx7(Modal, { position: "left", offset: "70px", children: /* @__PURE__ */ jsx7(Dialog, { variant: "sheet", children: ({ close }) => {
300
+ return /* @__PURE__ */ jsx7(Box5, { overflow: "auto", padding: "4", onClick: close, children: /* @__PURE__ */ jsx7(SideNav, { tabs, navigation }) });
312
301
  } }) })
313
302
  ] });
314
- return /* @__PURE__ */ jsxs6(Box5, { flexGrow: "1", children: [
315
- /* @__PURE__ */ jsx7(Row2, { display: menuDisplay, justifyContent: "flex-end", children: /* @__PURE__ */ jsx7(MobileMenuButton, {}) }),
303
+ return /* @__PURE__ */ jsxs6(Column3, { gap: "6", children: [
316
304
  tabs && /* @__PURE__ */ jsx7(TopNav, { tabs }),
305
+ /* @__PURE__ */ jsx7(Row2, { display: menuDisplay, justifyContent: "flex-end", children: /* @__PURE__ */ jsx7(MobileMenuButton, {}) }),
317
306
  /* @__PURE__ */ jsxs6(Row2, { gap: "6", children: [
318
307
  /* @__PURE__ */ jsx7(
319
308
  SideNav,
@@ -346,14 +335,14 @@ function Docs({ content, config }) {
346
335
  import { Grid } from "@umami/react-zen";
347
336
 
348
337
  // src/components/Card.tsx
349
- import { Box as Box6, Image, Column as Column3, Row as Row3, Heading as Heading3, Text as Text5, Button as Button2, Icon as Icon4, Icons as Icons4 } from "@umami/react-zen";
338
+ import { Box as Box6, Image, Column as Column4, Row as Row3, Heading as Heading3, Text as Text5, Button as Button2, Icon as Icon4, Icons as Icons4 } from "@umami/react-zen";
350
339
  import Link4 from "next/link";
351
340
  import { format } from "date-fns";
352
341
  import { jsx as jsx8, jsxs as jsxs7 } from "react/jsx-runtime";
353
342
  function Card({ title, description, date, author, url, image }) {
354
- return /* @__PURE__ */ jsxs7(Column3, { border: true, borderRadius: "3", overflow: "hidden", children: [
343
+ return /* @__PURE__ */ jsxs7(Column4, { border: true, borderRadius: "3", overflow: "hidden", children: [
355
344
  image && /* @__PURE__ */ jsx8(Box6, { height: "240px", children: /* @__PURE__ */ jsx8(Image, { src: image, alt: title, objectFit: "cover" }) }),
356
- /* @__PURE__ */ jsxs7(Column3, { padding: "6", gap: "4", flexGrow: "1", children: [
345
+ /* @__PURE__ */ jsxs7(Column4, { padding: "6", gap: "4", flexGrow: "1", children: [
357
346
  /* @__PURE__ */ jsxs7(Row3, { justifyContent: "space-between", children: [
358
347
  /* @__PURE__ */ jsx8(Text5, { color: "muted", children: date && format(new Date(date), "PP") }),
359
348
  /* @__PURE__ */ jsxs7(Text5, { color: "muted", children: [
@@ -361,7 +350,7 @@ function Card({ title, description, date, author, url, image }) {
361
350
  author
362
351
  ] })
363
352
  ] }),
364
- /* @__PURE__ */ jsxs7(Column3, { gap: "4", flexGrow: "1", children: [
353
+ /* @__PURE__ */ jsxs7(Column4, { gap: "4", flexGrow: "1", children: [
365
354
  /* @__PURE__ */ jsx8(Heading3, { size: "3", as: "header", children: /* @__PURE__ */ jsx8(Link4, { href: url, children: title }) }),
366
355
  /* @__PURE__ */ jsx8(Box6, { marginY: "5", as: "p", children: /* @__PURE__ */ jsx8(Text5, { color: "muted", size: "3", children: description }) })
367
356
  ] }),
@@ -383,7 +372,7 @@ function Blogs({ content, config, ...props }) {
383
372
  const items = content.sort(
384
373
  (a, b) => new Date(b?.meta?.date).getTime() - new Date(a?.meta?.date).getTime()
385
374
  );
386
- return /* @__PURE__ */ jsx9(Grid, { gap: "5", columns: "repeat(auto-fit, minmax(400px, 1fr)", children: items?.map(({ meta, slug }) => /* @__PURE__ */ jsx9(Card, { url: `/blog/${slug}`, ...meta }, slug)) });
375
+ return /* @__PURE__ */ jsx9(Grid, { gap: "5", columns: { xs: "1fr", lg: "repeat(auto-fit, minmax(400px, 1fr))" }, children: items?.map(({ meta, slug }) => /* @__PURE__ */ jsx9(Card, { url: `/blog/${slug}`, ...meta }, slug)) });
387
376
  }
388
377
 
389
378
  // src/components/Shiso.tsx
@@ -418,14 +407,10 @@ function Blog({ title, code, author, date, image, anchors, backUrl }) {
418
407
  const { config } = useShiso();
419
408
  const { top } = config?.blog || {};
420
409
  const linksDisplay = {
421
- default: "none",
422
410
  xs: "none",
423
- sm: "none",
424
- md: "none",
425
- lg: "block",
426
- xl: "block"
411
+ lg: "block"
427
412
  };
428
- return /* @__PURE__ */ jsxs8(Column4, { gap: "8", maxWidth: "960px", style: { margin: "0 auto" }, children: [
413
+ return /* @__PURE__ */ jsxs8(Column5, { gap: "8", maxWidth: "960px", style: { margin: "0 auto" }, children: [
429
414
  /* @__PURE__ */ jsx11(Box7, { flexGrow: "1", paddingY: "6", children: title && /* @__PURE__ */ jsx11(Heading4, { size: "6", as: "h1", align: "center", children: title }) }),
430
415
  /* @__PURE__ */ jsxs8(Row4, { justifyContent: "space-between", children: [
431
416
  /* @__PURE__ */ jsx11(Text6, { color: "muted", children: date && format2(new Date(date), "PPP") }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umami/shiso",
3
- "version": "0.51.0",
3
+ "version": "0.53.0",
4
4
  "description": "A content layer for Next.js",
5
5
  "homepage": "https://shiso.umami.is",
6
6
  "repository": {
@@ -18,19 +18,6 @@
18
18
  "publishConfig": {
19
19
  "access": "public"
20
20
  },
21
- "scripts": {
22
- "dev": "next dev --port 8001 --turbo",
23
- "build": "next build",
24
- "start": "next start",
25
- "lint": "next lint",
26
- "icons": "svgr ./src/assets --out-dir src/components/svg --typescript",
27
- "components": "tsc -p tsconfig.components.json",
28
- "server": "tsc -p tsconfig.server.json",
29
- "esbuild": "node esbuild.mjs",
30
- "dts": "node dts.mjs",
31
- "css": "node css.mjs",
32
- "bundle": "npm-run-all components server dts esbuild css"
33
- },
34
21
  "lint-staged": {
35
22
  "**/*.{js,jsx,ts,tsx}": [
36
23
  "prettier --write",
@@ -45,6 +32,8 @@
45
32
  ]
46
33
  },
47
34
  "dependencies": {
35
+ "@fontsource/inter": "^5.2.5",
36
+ "@fontsource/jetbrains-mono": "^5.2.5",
48
37
  "@mdx-js/loader": "^3.0.0",
49
38
  "@mdx-js/mdx": "^3.1.0",
50
39
  "@mdx-js/react": "^3.0.0",
@@ -56,8 +45,8 @@
56
45
  "highlight.js": "^11.11.1",
57
46
  "next": "15.2.1",
58
47
  "next-mdx-remote": "^5.0.0",
59
- "react": "^19.0.0",
60
- "react-dom": "^19.0.0",
48
+ "react": "^19.1.0",
49
+ "react-dom": "^19.1.0",
61
50
  "recursive-readdir": "^2.2.3",
62
51
  "rehype-highlight": "^7.0.1",
63
52
  "rehype-slug": "^6.0.0",
@@ -68,34 +57,41 @@
68
57
  "@svgr/cli": "^8.1.0",
69
58
  "@types/css-modules": "^1.0.5",
70
59
  "@types/mdx": "^2.0.11",
71
- "@types/node": "^22.10.4",
72
- "@types/react": "^19.0.2",
73
- "@types/react-dom": "^19.0.2",
60
+ "@types/node": "^22.15.3",
61
+ "@types/react": "^19.1.2",
62
+ "@types/react-dom": "^19.1.3",
74
63
  "@umami/esbuild-plugin-css-modules": "^0.4.0",
75
64
  "dts-bundle": "^0.7.3",
76
- "esbuild": "^0.25.0",
65
+ "esbuild": "^0.25.3",
77
66
  "esbuild-plugin-css-modules": "^0.3.0",
78
- "eslint": "^9.21.0",
67
+ "eslint": "^9.25.1",
79
68
  "eslint-config-next": "15.1.3",
80
69
  "eslint-config-prettier": "^9.1.0",
81
70
  "eslint-import-resolver-alias": "^1.1.2",
82
71
  "eslint-plugin-import": "^2.29.1",
83
- "eslint-plugin-prettier": "^5.1.3",
72
+ "eslint-plugin-prettier": "^5.2.6",
84
73
  "husky": "^9.1.1",
85
- "lint-staged": "^15.3.0",
74
+ "lint-staged": "^15.5.1",
86
75
  "npm-run-all": "^4.1.5",
87
76
  "prettier": "^3.2.5",
88
77
  "remark-frontmatter": "^5.0.0",
89
- "remark-mdx-frontmatter": "^5.0.0",
78
+ "remark-mdx-frontmatter": "^5.1.0",
90
79
  "stylelint": "^15.10.1",
91
80
  "stylelint-config-prettier": "^9.0.5",
92
81
  "stylelint-config-recommended": "^14.0.1",
93
- "typescript": "^5"
82
+ "typescript": "^5.8.3"
94
83
  },
95
- "pnpm": {
96
- "onlyBuiltDependencies": [
97
- "esbuild",
98
- "sharp"
99
- ]
84
+ "scripts": {
85
+ "dev": "next dev --port 8001 --turbo",
86
+ "build": "next build",
87
+ "start": "next start",
88
+ "lint": "next lint",
89
+ "icons": "svgr ./src/assets --out-dir src/components/svg --typescript",
90
+ "components": "tsc -p tsconfig.components.json",
91
+ "server": "tsc -p tsconfig.server.json",
92
+ "esbuild": "node esbuild.mjs",
93
+ "dts": "node dts.mjs",
94
+ "css": "node css.mjs",
95
+ "bundle": "npm-run-all components server dts esbuild css"
100
96
  }
101
- }
97
+ }
package/styles.css CHANGED
@@ -4614,7 +4614,7 @@ body a.Button_button__NDYwM {
4614
4614
  }
4615
4615
 
4616
4616
  /* virtual-css:css:2dd9c1a25bf05a14c9a7ab7ce1da6aef */
4617
- .CodeBlock_container__YzkwN {
4617
+ .CodeBlock_container__OGZlM {
4618
4618
  position: relative;
4619
4619
  background: var(--background-color);
4620
4620
  border: 1px solid var(--base-color-1);
@@ -4623,14 +4623,15 @@ body a.Button_button__NDYwM {
4623
4623
  white-space: pre-wrap;
4624
4624
  word-wrap: break-word;
4625
4625
  }
4626
- pre.CodeBlock_container__YzkwN code {
4626
+ pre.CodeBlock_container__OGZlM code {
4627
4627
  font-family: var(--font-family-code);
4628
4628
  color: var(--font-color);
4629
+ font-size: var(--font-size);
4629
4630
  padding: 0;
4630
4631
  border: 0;
4631
4632
  background: transparent;
4632
4633
  }
4633
- .CodeBlock_button__ZjNjN {
4634
+ .CodeBlock_button__Y2Y2Z {
4634
4635
  border: 0;
4635
4636
  position: absolute;
4636
4637
  right: var(--spacing-5);
@@ -4638,13 +4639,13 @@ pre.CodeBlock_container__YzkwN code {
4638
4639
  cursor: pointer;
4639
4640
  background: transparent;
4640
4641
  }
4641
- .CodeBlock_copy__Y2UyM {
4642
+ .CodeBlock_copy__NWI2Y {
4642
4643
  color: var(--base-color-4);
4643
4644
  }
4644
- .CodeBlock_copy__Y2UyM:hover {
4645
+ .CodeBlock_copy__NWI2Y:hover {
4645
4646
  color: var(--base-color-1);
4646
4647
  }
4647
- .CodeBlock_check__ODM5Z {
4648
+ .CodeBlock_check__YzQzO {
4648
4649
  color: var(--success-color);
4649
4650
  }
4650
4651