zudoku 0.18.2 → 0.18.3

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.
@@ -2,7 +2,7 @@ const o = () => {
2
2
  const r = new SharedWorker(
3
3
  new URL(
4
4
  /* @vite-ignore */
5
- "./assets/worker-CPsGZsve.js",
5
+ "./assets/worker-DFqp3K5a.js",
6
6
  import.meta.url
7
7
  ),
8
8
  { type: "module" }
@@ -1,5 +1,5 @@
1
1
  import "./jsx-runtime-B6kdoens.js";
2
- import { o as a } from "./index-DNxQ_rCt.js";
2
+ import { o as a } from "./index-DVheR31u.js";
3
3
  import "./utils-DcpDOncX.js";
4
4
  import "lucide-react";
5
5
  import "./hook-hEqe7fPB.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zudoku",
3
- "version": "0.18.2",
3
+ "version": "0.18.3",
4
4
  "type": "module",
5
5
  "homepage": "https://zudoku.dev",
6
6
  "repository": {
@@ -141,7 +141,7 @@
141
141
  "@types/react": "18.3.11",
142
142
  "@types/react-dom": "18.3.1",
143
143
  "@vitejs/plugin-react": "4.3.1",
144
- "@zudoku/config": "0.18.2",
144
+ "@zudoku/config": "0.18.3",
145
145
  "@zudoku/httpsnippet": "10.0.9",
146
146
  "@zudoku/react-helmet-async": "2.0.4",
147
147
  "autoprefixer": "10.4.20",
@@ -87,7 +87,6 @@ export const Header = memo(function HeaderInner() {
87
87
  loading="lazy"
88
88
  />
89
89
  <img
90
- data-hide-on-theme="light"
91
90
  src={
92
91
  /https?:\/\//.test(page.logo.src.dark)
93
92
  ? page.logo.src.dark
@@ -98,7 +97,7 @@ export const Header = memo(function HeaderInner() {
98
97
  }
99
98
  alt={page.logo.alt ?? page.pageTitle}
100
99
  style={{ width: page.logo.width }}
101
- className="h-10"
100
+ className="h-10 hidden dark:block"
102
101
  loading="lazy"
103
102
  />
104
103
  </>
@@ -64,9 +64,7 @@ export const upgradeSchema = (schema: Record<string, any>): OpenAPIDocument => {
64
64
  schema = traverse(schema, (sub) => {
65
65
  if (sub.example !== undefined) {
66
66
  sub.examples = {
67
- default: {
68
- value: sub.example,
69
- },
67
+ default: sub.example,
70
68
  };
71
69
  delete sub.example;
72
70
  }