@benev/web 0.1.0-9 → 0.1.1

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-9",
3
+ "version": "0.1.1",
4
4
  "description": "✨ benev web sdk",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -28,8 +28,8 @@
28
28
  "lit": "^3.3.2"
29
29
  },
30
30
  "dependencies": {
31
- "@e280/authlocal": "^0.3.2",
32
- "@e280/kv": "^0.2.0",
31
+ "@e280/authlocal": "^0.3.5",
32
+ "@e280/kv": "^0.2.1",
33
33
  "@e280/renraku": "0.6.0-6",
34
34
  "@e280/stz": "^0.3.10"
35
35
  },
@@ -12,8 +12,7 @@ export default css`@layer benev.view {
12
12
  inset: 0;
13
13
  transition:
14
14
  opacity var(--benev-anim) linear,
15
- transform var(--benev-anim) ease,
16
- visiblity 0ms linear allow-discrete;
15
+ transform var(--benev-anim) ease;
17
16
 
18
17
  display: flex;
19
18
  flex-direction: column;
@@ -23,11 +22,11 @@ export default css`@layer benev.view {
23
22
  }
24
23
 
25
24
  .veil {
25
+ z-index: 1;
26
26
  pointer-events: all;
27
27
  background: var(--benev-bg);
28
28
 
29
29
  opacity: 1;
30
- visibility: visible;
31
30
 
32
31
  .scalar {
33
32
  transform: scale(100%);
@@ -43,7 +42,6 @@ export default css`@layer benev.view {
43
42
  :host(:not([loading])) .veil {
44
43
  pointer-events: none;
45
44
  opacity: 0;
46
- visiblity: hidden;
47
45
 
48
46
  .scalar {
49
47
  transform: scale(0%);
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")}
@@ -11,8 +11,7 @@ export default css `@layer benev.view {
11
11
  inset: 0;
12
12
  transition:
13
13
  opacity var(--benev-anim) linear,
14
- transform var(--benev-anim) ease,
15
- visiblity 0ms linear allow-discrete;
14
+ transform var(--benev-anim) ease;
16
15
 
17
16
  display: flex;
18
17
  flex-direction: column;
@@ -22,11 +21,11 @@ export default css `@layer benev.view {
22
21
  }
23
22
 
24
23
  .veil {
24
+ z-index: 1;
25
25
  pointer-events: all;
26
26
  background: var(--benev-bg);
27
27
 
28
28
  opacity: 1;
29
- visibility: visible;
30
29
 
31
30
  .scalar {
32
31
  transform: scale(100%);
@@ -42,7 +41,6 @@ export default css `@layer benev.view {
42
41
  :host(:not([loading])) .veil {
43
42
  pointer-events: none;
44
43
  opacity: 0;
45
- visiblity: hidden;
46
44
 
47
45
  .scalar {
48
46
  transform: scale(0%);
@@ -1 +1 @@
1
- {"version":3,"file":"style.css.js","sourceRoot":"","sources":["../../../s/dom/loader/style.css.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,GAAG,EAAC,MAAM,KAAK,CAAA;AACvB,eAAe,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkDhB,CAAA"}
1
+ {"version":3,"file":"style.css.js","sourceRoot":"","sources":["../../../s/dom/loader/style.css.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,GAAG,EAAC,MAAM,KAAK,CAAA;AACvB,eAAe,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgDhB,CAAA"}
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 CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
  <title>@benev/web</title>
9
9
  <link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='0.9em' font-size='90'>😇</text></svg>"/>
10
- <script type="module" src="main.bundle.min.js?v=79a18e923793"></script>
10
+ <script type="module" src="main.bundle.min.js?v=402cc9283210"></script>
11
11
  <style>
12
12
  @layer benev, demo;
13
13
 
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"}
@@ -160,7 +160,13 @@ svg {
160
160
  backdrop-filter: blur(0.4em);
161
161
 
162
162
  [part="icon"] {
163
- transform: scale(150%);
163
+ font-size: 2em;
164
+ width: 1.5em;
165
+ height: 1.5em;
166
+ display: grid;
167
+ place-items: center;
168
+ margin: -0.3em;
169
+ margin-left: 0;
164
170
  }
165
171
 
166
172
  [part="alias"] {
@@ -201,7 +207,7 @@ ${IA}
201
207
  [part="box"] {
202
208
  display: flex;
203
209
  flex-direction: row;
204
- align-items: center;
210
+ align-items: stretch;
205
211
  gap: 0.25em;
206
212
  width: max-content;
207
213
  max-width: 100%;
@@ -307,8 +313,7 @@ button {
307
313
  inset: 0;
308
314
  transition:
309
315
  opacity var(--benev-anim) linear,
310
- transform var(--benev-anim) ease,
311
- visiblity 0ms linear allow-discrete;
316
+ transform var(--benev-anim) ease;
312
317
 
313
318
  display: flex;
314
319
  flex-direction: column;
@@ -318,11 +323,11 @@ button {
318
323
  }
319
324
 
320
325
  .veil {
326
+ z-index: 1;
321
327
  pointer-events: all;
322
328
  background: var(--benev-bg);
323
329
 
324
330
  opacity: 1;
325
- visibility: visible;
326
331
 
327
332
  .scalar {
328
333
  transform: scale(100%);
@@ -338,7 +343,6 @@ button {
338
343
  :host(:not([loading])) .veil {
339
344
  pointer-events: none;
340
345
  opacity: 0;
341
- visiblity: hidden;
342
346
 
343
347
  .scalar {
344
348
  transform: scale(0%);