Skip to content

Commit

Permalink
Renamed Components folder to "States" to remove possible confusion
Browse files Browse the repository at this point in the history
  • Loading branch information
MiaGobble committed Aug 1, 2024
1 parent 32dc692 commit 6d24d5f
Show file tree
Hide file tree
Showing 12 changed files with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ local EULERS_NUMBER = 2.71828

-- Imports
local Modules = script.Parent.Parent.Parent.Modules
local Components = script.Parent.Parent
local States = script.Parent.Parent
local PackType = require(Modules.PackType)
local UnpackType = require(Modules.UnpackType)
local Computed = require(Components.Computed)
local Computed = require(States.Computed)
local Janitor = require(Modules.Janitor)
local Signal = require(Modules.Signal)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ local TweenService = game:GetService("TweenService")

-- Imports
local Modules = script.Parent.Parent.Parent.Modules
local Components = script.Parent.Parent
local States = script.Parent.Parent
local PackType = require(Modules.PackType)
local UnpackType = require(Modules.UnpackType)
local Computed = require(Components.Computed)
local Computed = require(States.Computed)
local Janitor = require(Modules.Janitor)
local Signal = require(Modules.Signal)

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
24 changes: 12 additions & 12 deletions src/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,94 +6,94 @@
local Seam = {}

-- Variables
local Components = script.Components
local States = script.States

--[=[
@prop New New
@within Seam
]=]

Seam.New = require(Components.New)
Seam.New = require(States.New)
Seam.new = Seam.New

--[=[
@prop Children Children
@within Seam
]=]

Seam.Children = require(Components.Children)
Seam.Children = require(States.Children)
Seam.children = Seam.Children

--[=[
@prop Value Value
@within Seam
]=]

Seam.Value = require(Components.Value)
Seam.Value = require(States.Value)
Seam.value = Seam.Value

--[=[
@prop Computed Computed
@within Seam
]=]

Seam.Computed = require(Components.Computed)
Seam.Computed = require(States.Computed)
Seam.computed = Seam.Computed

--[=[
@prop Spring Spring
@within Seam
]=]

Seam.Spring = require(Components.Animation.Spring)
Seam.Spring = require(States.Animation.Spring)
Seam.spring = Seam.Spring

--[=[
@prop Tween Tween
@within Seam
]=]

Seam.Tween = require(Components.Animation.Tween)
Seam.Tween = require(States.Animation.Tween)
Seam.tween = Seam.Tween

--[=[
@prop Scope Scope
@within Seam
]=]

Seam.Scope = require(Components.Scope)
Seam.Scope = require(States.Scope)
Seam.scope = Seam.Scope

--[=[
@prop OnEvent OnEvent
@within Seam
]=]

Seam.OnEvent = require(Components.OnEvent)
Seam.OnEvent = require(States.OnEvent)
Seam.onEvent = Seam.OnEvent

--[=[
@prop OnChange OnChanged
@within Seam
]=]

Seam.OnChanged = require(Components.OnChanged)
Seam.OnChanged = require(States.OnChanged)
Seam.onChanged = Seam.OnChanged

--[=[
@prop DeclareComponent DeclareComponent
@within Seam
]=]

Seam.DeclareComponent = require(Components.DeclareComponent)
Seam.DeclareComponent = require(States.DeclareComponent)
Seam.declareComponent = Seam.DeclareComponent

--[=[
@prop From From
@within Seam
]=]

Seam.From = require(Components.From)
Seam.From = require(States.From)
Seam.from = Seam.From

return Seam

0 comments on commit 6d24d5f

Please sign in to comment.