@arkstack/view 0.19.5 → 0.20.0

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/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
- import { _ as normalizeViewErrors, a as viteReactRefresh, c as collectViewData, d as runWithViewData, f as ViewInstance, g as ViewErrorBag, h as view, i as registerViteTag, l as enterViewData, m as resolvePackageViewsPath, n as View, o as viteTags, p as parsePackageViewName, r as ViewFactory, s as clearViewData, t as clearRouterViewPlugin, u as getViewData } from "./plugins-BmizdA9l.js";
1
+ import { _ as normalizeViewErrors, a as viteReactRefresh, c as collectViewData, d as runWithViewData, f as ViewInstance, g as ViewErrorBag, h as view, i as registerViteTag, l as enterViewData, m as resolvePackageViewsPath, n as View, o as viteTags, p as parsePackageViewName, r as ViewFactory, s as clearViewData, t as clearRouterViewPlugin, u as getViewData } from "./plugins-DzKMjefd.js";
2
2
  import edge, { Edge } from "edge.js";
3
3
  export { Edge, View, ViewErrorBag, ViewFactory, ViewInstance, clearRouterViewPlugin, clearViewData, collectViewData, edge, enterViewData, getViewData, normalizeViewErrors, parsePackageViewName, registerViteTag, resolvePackageViewsPath, runWithViewData, view, viteReactRefresh, viteTags };
@@ -556,7 +556,7 @@ var View = class View {
556
556
  static factory = new ViewFactory();
557
557
  static usesDefaultFactoryRoot = true;
558
558
  static {
559
- Hook.set("set:root-dir", { after: () => {
559
+ Hook.on("set:root-dir", { after: () => {
560
560
  if (View.usesDefaultFactoryRoot) View.factory = new ViewFactory();
561
561
  } });
562
562
  }
package/dist/setup.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as clearRouterViewPlugin } from "./plugins-BmizdA9l.js";
1
+ import { t as clearRouterViewPlugin } from "./plugins-DzKMjefd.js";
2
2
  import { CoreRouter } from "clear-router/core";
3
3
  //#region src/setup.ts
4
4
  CoreRouter.use(clearRouterViewPlugin);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arkstack/view",
3
- "version": "0.19.5",
3
+ "version": "0.20.0",
4
4
  "type": "module",
5
5
  "description": "View module for Arkstack, providing template rendering and view integration utilities.",
6
6
  "homepage": "https://arkstack.toneflix.net/guide/views",
@@ -34,13 +34,13 @@
34
34
  ],
35
35
  "dependencies": {
36
36
  "edge.js": "^6.5.0",
37
- "@arkstack/contract": "^0.19.5"
37
+ "@arkstack/contract": "^0.20.0"
38
38
  },
39
39
  "peerDependencies": {
40
40
  "@h3ravel/musket": "^2.2.13",
41
41
  "clear-router": "^2.9.3",
42
- "@arkstack/common": "^0.19.5",
43
- "@arkstack/foundry": "^0.19.5"
42
+ "@arkstack/common": "^0.20.0",
43
+ "@arkstack/foundry": "^0.20.0"
44
44
  },
45
45
  "peerDependenciesMeta": {
46
46
  "@h3ravel/musket": {