Compare commits

..

No commits in common. "main" and "0.4.1" have entirely different histories.
main ... 0.4.1

7 changed files with 5 additions and 24 deletions

View file

@ -1,7 +1,6 @@
name: publish to wally and pesde
on:
workflow_dispatch:
release:
types: [published]

View file

@ -4,7 +4,5 @@ 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 Instances = vide.Instances
export type Properties<T> = vide.Properties<T>
return vide

View file

@ -1,5 +1,5 @@
name = "centau/vide"
version = "0.4.1"
version = "0.4.0"
description = "A reactive Luau library for creating UI."
authors = ["centau"]
repository = "https://github.com/centau/vide"

View file

@ -52,7 +52,7 @@ local function create(class_or_instance: string|Instance, properties: { [unknown
else constructor
end
export type Instances = {
type Instances = {
Folder: Folder,
BillboardGui: BillboardGui,
CanvasGroup: CanvasGroup,
@ -70,23 +70,11 @@ export type Instances = {
UIGradient: UIGradient,
UIGridLayout: UIGridLayout,
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,
WorldModel: WorldModel,
}
export type function Properties(instance: type?)
type function Properties(instance: type?)
local properties = types.newtable()
while instance do

View file

@ -1,12 +1,10 @@
assert(game, "when using vide outside of Roblox, require lib.luau instead")
local vide = require("@self/lib")
local vide = require(script.lib)
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 Instances = vide.Instances
export type Properties<T> = vide.Properties<T>
return vide

View file

@ -27,8 +27,6 @@ export type Source<T> = source.Source<T>
export type source<T> = Source<T>
export type Context<T> = context.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)
if game then debug.profilebegin("VIDE STEP") end

View file

@ -2,7 +2,7 @@
name = "centau/vide"
description = "A reactive Luau library for creating UI. "
license = "MIT"
version = "0.4.1"
version = "0.4.0"
registry = "https://github.com/UpliftGames/wally-index"
realm = "shared"
include = ["default.project.json", "LICENSE", "src"]