@rbxts/app-forge 0.7.2-prototype.34 → 0.7.2-prototype.36

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.
@@ -1,6 +1,5 @@
1
1
  import Vide from "@rbxts/vide";
2
2
  import type Types from "./types";
3
- import type AppForge from "./forge";
4
3
  export declare const AppRegistry: Map<string, Map<string, Types.AppRegistry.Static>>;
5
4
  export declare const AppSources: Map<string, Map<string, Vide.Source<boolean>>>;
6
5
  /**
@@ -13,9 +12,8 @@ export declare function App<N extends AppNames>(props: Types.AppRegistry.Props<N
13
12
  * Base class for all AppForge Apps.
14
13
  */
15
14
  export declare abstract class Args {
16
- readonly source: Vide.Source<boolean>;
17
15
  readonly props: Types.Props.Class;
18
- readonly forge: AppForge;
16
+ readonly source: Vide.Source<boolean>;
19
17
  readonly group: AppGroups;
20
18
  readonly name: AppNames;
21
19
  constructor(props: Types.Props.Main, name: AppNames, group?: AppGroups);
@@ -75,7 +75,6 @@ do
75
75
  function Args:constructor(props, name, group)
76
76
  local _binding = props
77
77
  local forge = _binding.forge
78
- self.forge = forge
79
78
  local _condition = group
80
79
  if not (_condition ~= "" and _condition) then
81
80
  _condition = "None"
package/out/renders.luau CHANGED
@@ -44,7 +44,6 @@ do
44
44
  if not render then
45
45
  return nil
46
46
  end
47
- -- only ROOT apps are returned
48
47
  local _result = render.entry.rules
49
48
  if _result ~= nil then
50
49
  _result = _result.parent
@@ -252,9 +251,6 @@ do
252
251
  return render
253
252
  end
254
253
  function Renders:initalize(props, target, root)
255
- local _attributes = table.clone(props)
256
- setmetatable(_attributes, nil)
257
- local renders = Vide.jsx(self.Load, _attributes)
258
254
  if target then
259
255
  mount(function()
260
256
  if not self.__px then
@@ -273,6 +269,9 @@ do
273
269
  usePx(_result, _result_1, _result_2)
274
270
  self.__px = true
275
271
  end
272
+ local _attributes = table.clone(props)
273
+ setmetatable(_attributes, nil)
274
+ local renders = Vide.jsx(self.Load, _attributes)
276
275
  if root then
277
276
  root.Name = "App Tree"
278
277
  apply(root)({
@@ -303,7 +302,9 @@ do
303
302
  usePx(_result, _result_1, _result_2)
304
303
  self.__px = true
305
304
  end
306
- return renders
305
+ local _attributes = table.clone(props)
306
+ setmetatable(_attributes, nil)
307
+ return Vide.jsx(self.Load, _attributes)
307
308
  end
308
309
  end
309
310
  end
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/app-forge",
3
- "version": "0.7.2-prototype.34",
3
+ "version": "0.7.2-prototype.36",
4
4
  "description": "An App Manager for Vide",
5
5
  "main": "out/init.lua",
6
6
  "types": "out/index.d.ts",