mirror of
https://github.com/centau/vide.git
synced 2026-08-20 14:41:37 +00:00
Compare commits
2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f3bfc65607 | ||
|
|
452060a533 |
7 changed files with 24 additions and 5 deletions
1
.github/workflows/wallypesde.yml
vendored
1
.github/workflows/wallypesde.yml
vendored
|
|
@ -1,6 +1,7 @@
|
||||||
name: publish to wally and pesde
|
name: publish to wally and pesde
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
release:
|
release:
|
||||||
types: [published]
|
types: [published]
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,5 +4,7 @@ export type source<T> = vide.source<T>
|
||||||
export type Source<T> = vide.Source<T>
|
export type Source<T> = vide.Source<T>
|
||||||
export type context<T> = vide.context<T>
|
export type context<T> = vide.context<T>
|
||||||
export type Context<T> = vide.Context<T>
|
export type Context<T> = vide.Context<T>
|
||||||
|
export type Instances = vide.Instances
|
||||||
|
export type Properties<T> = vide.Properties<T>
|
||||||
|
|
||||||
return vide
|
return vide
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
name = "centau/vide"
|
name = "centau/vide"
|
||||||
version = "0.4.0"
|
version = "0.4.1"
|
||||||
description = "A reactive Luau library for creating UI."
|
description = "A reactive Luau library for creating UI."
|
||||||
authors = ["centau"]
|
authors = ["centau"]
|
||||||
repository = "https://github.com/centau/vide"
|
repository = "https://github.com/centau/vide"
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,7 @@ local function create(class_or_instance: string|Instance, properties: { [unknown
|
||||||
else constructor
|
else constructor
|
||||||
end
|
end
|
||||||
|
|
||||||
type Instances = {
|
export type Instances = {
|
||||||
Folder: Folder,
|
Folder: Folder,
|
||||||
BillboardGui: BillboardGui,
|
BillboardGui: BillboardGui,
|
||||||
CanvasGroup: CanvasGroup,
|
CanvasGroup: CanvasGroup,
|
||||||
|
|
@ -70,11 +70,23 @@ type Instances = {
|
||||||
UIGradient: UIGradient,
|
UIGradient: UIGradient,
|
||||||
UIGridLayout: UIGridLayout,
|
UIGridLayout: UIGridLayout,
|
||||||
UIListLayout: UIListLayout,
|
UIListLayout: UIListLayout,
|
||||||
|
UISizeConstraint: UISizeConstraint,
|
||||||
|
UITextSizeConstraint: UITextSizeConstraint,
|
||||||
|
UIScale: UIScale,
|
||||||
|
UIPadding: UIPadding,
|
||||||
|
UIStroke: UIStroke,
|
||||||
|
UIFlexItem: UIFlexItem,
|
||||||
|
UIPageLayout: UIPageLayout,
|
||||||
|
UITableLayout: UITableLayout,
|
||||||
|
VideoFrame: VideoFrame,
|
||||||
|
ViewportFrame: ViewportFrame,
|
||||||
|
ProximityPrompt: ProximityPrompt,
|
||||||
|
UIDragDetector: UIDragDetector,
|
||||||
Camera: Camera,
|
Camera: Camera,
|
||||||
WorldModel: WorldModel,
|
WorldModel: WorldModel,
|
||||||
}
|
}
|
||||||
|
|
||||||
type function Properties(instance: type?)
|
export type function Properties(instance: type?)
|
||||||
local properties = types.newtable()
|
local properties = types.newtable()
|
||||||
|
|
||||||
while instance do
|
while instance do
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,12 @@
|
||||||
assert(game, "when using vide outside of Roblox, require lib.luau instead")
|
assert(game, "when using vide outside of Roblox, require lib.luau instead")
|
||||||
|
|
||||||
local vide = require(script.lib)
|
local vide = require("@self/lib")
|
||||||
|
|
||||||
export type source<T> = vide.source<T>
|
export type source<T> = vide.source<T>
|
||||||
export type Source<T> = vide.Source<T>
|
export type Source<T> = vide.Source<T>
|
||||||
export type context<T> = vide.context<T>
|
export type context<T> = vide.context<T>
|
||||||
export type Context<T> = vide.Context<T>
|
export type Context<T> = vide.Context<T>
|
||||||
|
export type Instances = vide.Instances
|
||||||
|
export type Properties<T> = vide.Properties<T>
|
||||||
|
|
||||||
return vide
|
return vide
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,8 @@ export type Source<T> = source.Source<T>
|
||||||
export type source<T> = Source<T>
|
export type source<T> = Source<T>
|
||||||
export type Context<T> = context.Context<T>
|
export type Context<T> = context.Context<T>
|
||||||
export type context<T> = Context<T>
|
export type context<T> = Context<T>
|
||||||
|
export type Instances = create.Instances
|
||||||
|
export type Properties<T> = create.Properties<T>
|
||||||
|
|
||||||
local function step(dt: number)
|
local function step(dt: number)
|
||||||
if game then debug.profilebegin("VIDE STEP") end
|
if game then debug.profilebegin("VIDE STEP") end
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
name = "centau/vide"
|
name = "centau/vide"
|
||||||
description = "A reactive Luau library for creating UI. "
|
description = "A reactive Luau library for creating UI. "
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
version = "0.4.0"
|
version = "0.4.1"
|
||||||
registry = "https://github.com/UpliftGames/wally-index"
|
registry = "https://github.com/UpliftGames/wally-index"
|
||||||
realm = "shared"
|
realm = "shared"
|
||||||
include = ["default.project.json", "LICENSE", "src"]
|
include = ["default.project.json", "LICENSE", "src"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue