@benev/web 0.1.0-10 → 0.1.0-11

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": "@benev/web",
3
- "version": "0.1.0-10",
3
+ "version": "0.1.0-11",
4
4
  "description": "✨ benev web sdk",
5
5
  "license": "MIT",
6
6
  "type": "module",
package/s/index-ssg.ts CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  export * from "./css/benev.csstext.js"
3
- export * from "./ssg/top-nav.js"
3
+ export * from "./ssg/benev-nav.js"
4
4
 
5
5
  export * from "./bconfig.js"
6
6
  export * from "./types.js"
package/s/index.html.ts CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  import {template, html, socialCard, dataSvgEmoji} from "@e280/scute"
3
- import {topNav} from "./ssg/top-nav.js"
3
+ import {benevNav} from "./ssg/benev-nav.js"
4
4
  import {benevCssText} from "./css/benev.csstext.js"
5
5
 
6
6
  export default template(import.meta.url, async orb => html`
@@ -33,7 +33,7 @@ export default template(import.meta.url, async orb => html`
33
33
  </benev-menu>
34
34
 
35
35
  <benev-header>
36
- ${topNav("games")}
36
+ ${benevNav("games")}
37
37
  </benev-header>
38
38
 
39
39
  <benev-loader>
@@ -3,7 +3,7 @@ import {html} from "@e280/scute"
3
3
  import {Zone} from "../types.js"
4
4
  import {bconfig} from "../bconfig.js"
5
5
 
6
- export function topNav(currentZone: Zone) {
6
+ export function benevNav(currentZone: Zone) {
7
7
  return html`
8
8
  ${navlink(currentZone, "games")}
9
9
  ${navlink(currentZone, "devlog")}
package/x/index-ssg.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  export * from "./css/benev.csstext.js";
2
- export * from "./ssg/top-nav.js";
2
+ export * from "./ssg/benev-nav.js";
3
3
  export * from "./bconfig.js";
4
4
  export * from "./types.js";
package/x/index-ssg.js CHANGED
@@ -1,5 +1,5 @@
1
1
  export * from "./css/benev.csstext.js";
2
- export * from "./ssg/top-nav.js";
2
+ export * from "./ssg/benev-nav.js";
3
3
  export * from "./bconfig.js";
4
4
  export * from "./types.js";
5
5
  //# sourceMappingURL=index-ssg.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index-ssg.js","sourceRoot":"","sources":["../s/index-ssg.ts"],"names":[],"mappings":"AACA,cAAc,wBAAwB,CAAA;AACtC,cAAc,kBAAkB,CAAA;AAEhC,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA"}
1
+ {"version":3,"file":"index-ssg.js","sourceRoot":"","sources":["../s/index-ssg.ts"],"names":[],"mappings":"AACA,cAAc,wBAAwB,CAAA;AACtC,cAAc,oBAAoB,CAAA;AAElC,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA"}
package/x/index.html.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { template, html, socialCard, dataSvgEmoji } from "@e280/scute";
2
- import { topNav } from "./ssg/top-nav.js";
2
+ import { benevNav } from "./ssg/benev-nav.js";
3
3
  import { benevCssText } from "./css/benev.csstext.js";
4
4
  export default template(import.meta.url, async (orb) => html `
5
5
  <!doctype html>
@@ -31,7 +31,7 @@ export default template(import.meta.url, async (orb) => html `
31
31
  </benev-menu>
32
32
 
33
33
  <benev-header>
34
- ${topNav("games")}
34
+ ${benevNav("games")}
35
35
  </benev-header>
36
36
 
37
37
  <benev-loader>
@@ -1 +1 @@
1
- {"version":3,"file":"index.html.js","sourceRoot":"","sources":["../s/index.html.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,QAAQ,EAAE,IAAI,EAAE,UAAU,EAAE,YAAY,EAAC,MAAM,aAAa,CAAA;AACpE,OAAO,EAAC,MAAM,EAAC,MAAM,kBAAkB,CAAA;AACvC,OAAO,EAAC,YAAY,EAAC,MAAM,wBAAwB,CAAA;AAEnD,eAAe,QAAQ,CAAC,OAAO,IAAI,CAAC,GAAG,EAAE,KAAK,EAAC,GAAG,EAAC,EAAE,CAAC,IAAI,CAAA;;;;;;;;;4BAS9B,YAAY,CAAC,IAAI,CAAC;gCACd,GAAG,CAAC,OAAO,CAAC,oBAAoB,CAAC;;;MAG3D,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC;MACtB,GAAG,CAAC,MAAM,CAAC,cAAc,CAAC;;;KAG3B,UAAU,CAAC;IACZ,UAAU,EAAE,SAAS;IACrB,QAAQ,EAAE,YAAY;IACtB,KAAK,EAAE,YAAY;IACnB,WAAW,EAAE,sBAAsB;CACnC,CAAC;;;;;;;;MAQC,MAAM,CAAC,OAAO,CAAC;;;;;;;;;;;CAWpB,CAAC,CAAA"}
1
+ {"version":3,"file":"index.html.js","sourceRoot":"","sources":["../s/index.html.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,QAAQ,EAAE,IAAI,EAAE,UAAU,EAAE,YAAY,EAAC,MAAM,aAAa,CAAA;AACpE,OAAO,EAAC,QAAQ,EAAC,MAAM,oBAAoB,CAAA;AAC3C,OAAO,EAAC,YAAY,EAAC,MAAM,wBAAwB,CAAA;AAEnD,eAAe,QAAQ,CAAC,OAAO,IAAI,CAAC,GAAG,EAAE,KAAK,EAAC,GAAG,EAAC,EAAE,CAAC,IAAI,CAAA;;;;;;;;;4BAS9B,YAAY,CAAC,IAAI,CAAC;gCACd,GAAG,CAAC,OAAO,CAAC,oBAAoB,CAAC;;;MAG3D,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC;MACtB,GAAG,CAAC,MAAM,CAAC,cAAc,CAAC;;;KAG3B,UAAU,CAAC;IACZ,UAAU,EAAE,SAAS;IACrB,QAAQ,EAAE,YAAY;IACtB,KAAK,EAAE,YAAY;IACnB,WAAW,EAAE,sBAAsB;CACnC,CAAC;;;;;;;;MAQC,QAAQ,CAAC,OAAO,CAAC;;;;;;;;;;;CAWtB,CAAC,CAAA"}
@@ -0,0 +1,2 @@
1
+ import { Zone } from "../types.js";
2
+ export declare function benevNav(currentZone: Zone): import("@e280/scute").Html;
@@ -1,6 +1,6 @@
1
1
  import { html } from "@e280/scute";
2
2
  import { bconfig } from "../bconfig.js";
3
- export function topNav(currentZone) {
3
+ export function benevNav(currentZone) {
4
4
  return html `
5
5
  ${navlink(currentZone, "games")}
6
6
  ${navlink(currentZone, "devlog")}
@@ -9,4 +9,4 @@ export function topNav(currentZone) {
9
9
  const navlink = (currentZone, zone) => ((zone === currentZone)
10
10
  ? html `<a href="${bconfig.zones[zone].path}" data-active>${zone}</a>`
11
11
  : html `<a href="${bconfig.zones[zone].path}">${zone}</a>`);
12
- //# sourceMappingURL=top-nav.js.map
12
+ //# sourceMappingURL=benev-nav.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"benev-nav.js","sourceRoot":"","sources":["../../s/ssg/benev-nav.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,IAAI,EAAC,MAAM,aAAa,CAAA;AAEhC,OAAO,EAAC,OAAO,EAAC,MAAM,eAAe,CAAA;AAErC,MAAM,UAAU,QAAQ,CAAC,WAAiB;IACzC,OAAO,IAAI,CAAA;IACR,OAAO,CAAC,WAAW,EAAE,OAAO,CAAC;IAC7B,OAAO,CAAC,WAAW,EAAE,QAAQ,CAAC;EAChC,CAAA;AACF,CAAC;AAED,MAAM,OAAO,GAAG,CAAC,WAAmB,EAAE,IAAU,EAAE,EAAE,CAAC,CACpD,CAAC,IAAI,KAAK,WAAW,CAAC;IACrB,CAAC,CAAC,IAAI,CAAA,YAAY,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,iBAAiB,IAAI,MAAM;IACrE,CAAC,CAAC,IAAI,CAAA,YAAY,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,KAAK,IAAI,MAAM,CAC1D,CAAA"}
@@ -1,2 +0,0 @@
1
- import { Zone } from "../types.js";
2
- export declare function topNav(currentZone: Zone): import("@e280/scute").Html;
@@ -1 +0,0 @@
1
- {"version":3,"file":"top-nav.js","sourceRoot":"","sources":["../../s/ssg/top-nav.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,IAAI,EAAC,MAAM,aAAa,CAAA;AAEhC,OAAO,EAAC,OAAO,EAAC,MAAM,eAAe,CAAA;AAErC,MAAM,UAAU,MAAM,CAAC,WAAiB;IACvC,OAAO,IAAI,CAAA;IACR,OAAO,CAAC,WAAW,EAAE,OAAO,CAAC;IAC7B,OAAO,CAAC,WAAW,EAAE,QAAQ,CAAC;EAChC,CAAA;AACF,CAAC;AAED,MAAM,OAAO,GAAG,CAAC,WAAmB,EAAE,IAAU,EAAE,EAAE,CAAC,CACpD,CAAC,IAAI,KAAK,WAAW,CAAC;IACrB,CAAC,CAAC,IAAI,CAAA,YAAY,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,iBAAiB,IAAI,MAAM;IACrE,CAAC,CAAC,IAAI,CAAA,YAAY,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,KAAK,IAAI,MAAM,CAC1D,CAAA"}