@webqit/webflo 0.20.54 → 0.20.55

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
@@ -12,7 +12,7 @@
12
12
  "vanila-javascript"
13
13
  ],
14
14
  "homepage": "https://webqit.io/tooling/webflo",
15
- "version": "0.20.54",
15
+ "version": "0.20.55",
16
16
  "license": "MIT",
17
17
  "repository": {
18
18
  "type": "git",
@@ -571,6 +571,9 @@ export class WebfloClient extends AppRuntime {
571
571
  await synthesizeWhile(async () => {
572
572
  Observer.set(this.transition, 'phase', 'old');
573
573
  const viewTransition = document.startViewTransition({ update: updateCallback, types: ['navigation', viewTransitionRel] });
574
+ if (detail.navigationType) {
575
+ viewTransition.types.add(detail.navigationType);
576
+ }
574
577
  try { await viewTransition.updateCallbackDone; } catch (e) { console.log(e); }
575
578
  Observer.set(this.transition, 'phase', 'new');
576
579
  try { await viewTransition.ready; } catch (e) { console.log(e); }
@@ -1396,6 +1396,7 @@ export class ModalElement extends BaseElement {
1396
1396
  :host(._horz) .view {
1397
1397
  overflow-y: hidden;
1398
1398
  overflow-x: auto;
1399
+ scrollbar-width: none;
1399
1400
 
1400
1401
  scroll-timeline-axis: inline;
1401
1402
  }
@@ -600,6 +600,10 @@ export class WebfloServer extends AppRuntime {
600
600
  responseMeta.set('static', true);
601
601
  responseMeta.set('index', scopeObj.index);
602
602
 
603
+ if (FLAGS['dev'] && httpEvent.url.pathname === '/@hmr') {
604
+ response.headers.set('Cache-Control', 'no-store');
605
+ }
606
+
603
607
  return response;
604
608
  };
605
609