diff --git a/.github/workflows/wallypesde.yml b/.github/workflows/wallypesde.yml index 0c705b0..29198ab 100644 --- a/.github/workflows/wallypesde.yml +++ b/.github/workflows/wallypesde.yml @@ -1,7 +1,6 @@ name: publish to wally and pesde on: - workflow_dispatch: release: types: [published] diff --git a/init.luau b/init.luau index a9ae8e0..fcd8183 100644 --- a/init.luau +++ b/init.luau @@ -4,7 +4,5 @@ export type source = vide.source export type Source = vide.Source export type context = vide.context export type Context = vide.Context -export type Instances = vide.Instances -export type Properties = vide.Properties return vide diff --git a/pesde.toml b/pesde.toml index 94c8ede..aec01c5 100644 --- a/pesde.toml +++ b/pesde.toml @@ -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" diff --git a/src/create.luau b/src/create.luau index 120d17d..db33663 100644 --- a/src/create.luau +++ b/src/create.luau @@ -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 diff --git a/src/init.luau b/src/init.luau index c0fbe0e..11d1bd2 100644 --- a/src/init.luau +++ b/src/init.luau @@ -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 = vide.source export type Source = vide.Source export type context = vide.context export type Context = vide.Context -export type Instances = vide.Instances -export type Properties = vide.Properties return vide diff --git a/src/lib.luau b/src/lib.luau index a8a3885..671f1c6 100644 --- a/src/lib.luau +++ b/src/lib.luau @@ -27,8 +27,6 @@ export type Source = source.Source export type source = Source export type Context = context.Context export type context = Context -export type Instances = create.Instances -export type Properties = create.Properties local function step(dt: number) if game then debug.profilebegin("VIDE STEP") end diff --git a/wally.toml b/wally.toml index 1584e06..2b44317 100644 --- a/wally.toml +++ b/wally.toml @@ -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"]