create-hum 0.0.3 → 0.0.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-hum",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "type": "module",
5
5
  "description": "Scaffolds a new Hum project",
6
6
  "repository": {
@@ -10,8 +10,8 @@
10
10
  },
11
11
  "dependencies": {
12
12
  "@hono/node-server": "^2.1.4",
13
- "@humjs/core": "^0.0.2",
14
- "@humjs/vite-plugin": "^0.0.2",
13
+ "@humjs/core": "^0.1.0",
14
+ "@humjs/vite-plugin": "^0.0.3",
15
15
  "@preact/signals": "^2.11.3",
16
16
  "hono": "^4.13.13",
17
17
  "preact": "^11.0.1"
@@ -12,7 +12,7 @@ export const head = define.head(({ url }) => (
12
12
  ));
13
13
 
14
14
  /**
15
- * `f-client-nav` on the wrapper makes every link/submit inside it a client side
15
+ * `data-hum-client-nav` on the wrapper makes every link/submit inside it a client side
16
16
  * navigation: the browser does not do a full reload, only the `<Partial>` regions
17
17
  * of the target page are fetched and swapped in. The target page reuses the same
18
18
  * partial `name`, so the region updates without touching the rest of the layout.
@@ -20,7 +20,7 @@ export const head = define.head(({ url }) => (
20
20
  export default function PartialsPage(props: RouteProps) {
21
21
  const topic = props.url.searchParams.get("topic") ?? "";
22
22
  return (
23
- <div f-client-nav>
23
+ <div data-hum-client-nav>
24
24
  <p>Client side navigation swaps only the partial region below.</p>
25
25
  <nav>
26
26
  <a href="/partials">Home</a>