@rbxts/app-forge 0.7.2-alpha.28 → 0.7.2-alpha.29

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/out/mount.luau CHANGED
@@ -210,6 +210,9 @@ do
210
210
  apply(loaded.container)({
211
211
  ZIndex = index,
212
212
  })
213
+ apply(loaded.render)({
214
+ ZIndex = index,
215
+ })
213
216
  end
214
217
  function AppForge:set(name, value, rules)
215
218
  if rules == nil then
@@ -42,6 +42,11 @@ do
42
42
  })
43
43
  self:anchor(name, rules.parent, props)
44
44
  end
45
+ -- Index
46
+ if rules.zIndex ~= nil then
47
+ self.debug:logTag("rules", name, "Applying ZIndex", rules.zIndex)
48
+ self:index(name, rules.zIndex)
49
+ end
45
50
  end
46
51
  function Rules:checkRules(name)
47
52
  local _processing = self.processing
package/out/types.d.ts CHANGED
@@ -68,10 +68,12 @@ declare namespace Types {
68
68
 
69
69
  export type Static = {
70
70
  exclusiveGroup?: string;
71
+ zIndex?: number;
71
72
  } & (WithParent<string> | WithoutParent);
72
73
 
73
74
  export type Generic<N extends AppNames = AppNames> = {
74
75
  exclusiveGroup?: AppGroups;
76
+ zIndex?: number;
75
77
  } & (WithParent<Exclude<AppNames, N>> | WithoutParent);
76
78
  }
77
79
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/app-forge",
3
- "version": "0.7.2-alpha.28",
3
+ "version": "0.7.2-alpha.29",
4
4
  "description": "An App Manager for Vide",
5
5
  "main": "out/init.lua",
6
6
  "types": "out/index.d.ts",