@rbxts/app-forge 0.2.1 → 0.2.2

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.
@@ -2,7 +2,6 @@ import { usePx } from "@rbxts/loners-pretty-react-hooks";
2
2
  import React from "@rbxts/react";
3
3
  import type Types from "./types";
4
4
  import type AppForge from ".";
5
- import ReactRoblox from "@rbxts/react-roblox";
6
5
  export declare const AppRegistry: Map<string, Types.AppRegistry>;
7
6
  export declare function App(props: Types.AppRegistryProps): <T extends new (props: Types.MainProps) => Args>(constructor: T) => T;
8
7
  export declare abstract class Args {
@@ -10,7 +9,6 @@ export declare abstract class Args {
10
9
  readonly props: AppProps & {
11
10
  px: ReturnType<typeof usePx>;
12
11
  };
13
- readonly root: ReactRoblox.Root | undefined;
14
12
  readonly bind: React.Binding<boolean>;
15
13
  readonly name: AppNames[number];
16
14
  constructor(props: Types.MainProps);
@@ -26,7 +26,6 @@ do
26
26
  Args = {}
27
27
  function Args:constructor(props)
28
28
  local _binding = props
29
- local root = _binding.root
30
29
  local target = _binding.target
31
30
  local forge = _binding.forge
32
31
  local name = _binding.name
@@ -35,7 +34,6 @@ do
35
34
  end
36
35
  local px = usePx(target)
37
36
  self.Forge = forge
38
- self.root = root
39
37
  local _object = table.clone(props)
40
38
  setmetatable(_object, nil)
41
39
  _object.px = px
package/out/types.d.ts CHANGED
@@ -16,7 +16,6 @@ declare namespace Types {
16
16
  props: AppProps;
17
17
  forge: AppForge;
18
18
  target?: GuiObject | Camera;
19
- root?: ReactRoblox.Root;
20
19
  };
21
20
 
22
21
  type AppRegistry = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/app-forge",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "An App Manager for react",
5
5
  "main": "out/init.lua",
6
6
  "packageManager": "bun@1.3.1",