repo stringclasses 254
values | file_path stringlengths 29 241 | code stringlengths 100 233k | tokens int64 14 69.4k |
|---|---|---|---|
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Component/Slider/Wrapper.luau | --!strict
-- this script was generated by the build system, please do not make manual edits
local _Package = script.Parent.Parent.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local Maid = require(_Packages:WaitForChild("Maid"))
local ColdFusion = require(_Packages:WaitForChild("ColdFusion"))
-- Mod... | 3,550 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Component/Slider/_Config.story.luau | --!strict
local _Package = script.Parent.Parent.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local Maid = require(_Packages:WaitForChild("Maid"))
local Icons = require(_Packages:WaitForChild("MaterialIcons"))
-- Modules
local Style = require(_Package:WaitForChild("Style"))
local Enums = require(_Pac... | 1,256 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Component/Slider/_Theme.story.luau | --!strict
local _Package = script.Parent.Parent.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local Maid = require(_Packages:WaitForChild("Maid"))
-- Modules
local Style = require(_Package:WaitForChild("Style"))
local Enums = require(_Package:WaitForChild("Enums"))
-- Types
-- Constants
-- Variables... | 1,028 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Component/Snackbar/Large/ColdFusion.luau | --!strict
local _Package = script.Parent.Parent.Parent.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local Maid = require(_Packages:WaitForChild("Maid"))
local ColdFusion = require(_Packages:WaitForChild("ColdFusion"))
local Icons = require(_Packages:WaitForChild("MaterialIcons"))
-- Modules
local I... | 3,806 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Component/Snackbar/Large/Defaults.luau | --!strict
-- this script was generated by the build system, please do not make manual edits
local _Package = script.Parent.Parent.Parent.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local Maid = require(_Packages:WaitForChild("Maid"))
local ColdFusion = require(_Packages:WaitForChild("ColdFusion"))
... | 660 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Component/Snackbar/Large/Fusion.luau | --!strict
-- this script was generated by the build system, please do not make manual edits
local _Package = script.Parent.Parent.Parent.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local Maid = require(_Packages:WaitForChild("Maid"))
local ColdFusion = require(_Packages:WaitForChild("ColdFusion"))
... | 1,639 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Component/Snackbar/Large/React.luau | --!strict
-- this script was generated by the build system, please do not make manual edits
local _Package = script.Parent.Parent.Parent.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local Maid = require(_Packages:WaitForChild("Maid"))
local ColdFusion = require(_Packages:WaitForChild("ColdFusion"))
... | 3,260 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Component/Snackbar/Large/Roact.luau | --!strict
-- this script was generated by the build system, please do not make manual edits
local _Package = script.Parent.Parent.Parent.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local Maid = require(_Packages:WaitForChild("Maid"))
local ColdFusion = require(_Packages:WaitForChild("ColdFusion"))
... | 3,245 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Component/Snackbar/Large/Wrapper.luau | --!strict
-- this script was generated by the build system, please do not make manual edits
local _Package = script.Parent.Parent.Parent.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local Maid = require(_Packages:WaitForChild("Maid"))
local ColdFusion = require(_Packages:WaitForChild("ColdFusion"))
... | 2,140 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Component/Snackbar/Large/_Config.story.luau | --!strict
local _Package = script.Parent.Parent.Parent.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local Maid = require(_Packages:WaitForChild("Maid"))
-- Modules
local Style = require(_Package:WaitForChild("Style"))
local Enums = require(_Package:WaitForChild("Enums"))
-- Types
-- Constants
-- V... | 1,053 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Component/Snackbar/Large/_Theme.story.luau | --!strict
local _Package = script.Parent.Parent.Parent.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local Maid = require(_Packages:WaitForChild("Maid"))
-- Modules
local Style = require(_Package:WaitForChild("Style"))
local Enums = require(_Package:WaitForChild("Enums"))
-- Types
-- Constants
-- V... | 1,165 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Component/Snackbar/Small/ColdFusion.luau | --!strict
local _Package = script.Parent.Parent.Parent.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local Maid = require(_Packages:WaitForChild("Maid"))
local ColdFusion = require(_Packages:WaitForChild("ColdFusion"))
local Icons = require(_Packages:WaitForChild("MaterialIcons"))
-- Modules
local I... | 3,810 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Component/Snackbar/Small/React.luau | --!strict
-- this script was generated by the build system, please do not make manual edits
local _Package = script.Parent.Parent.Parent.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local Maid = require(_Packages:WaitForChild("Maid"))
local ColdFusion = require(_Packages:WaitForChild("ColdFusion"))
... | 3,260 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Component/Snackbar/Small/Roact.luau | --!strict
-- this script was generated by the build system, please do not make manual edits
local _Package = script.Parent.Parent.Parent.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local Maid = require(_Packages:WaitForChild("Maid"))
local ColdFusion = require(_Packages:WaitForChild("ColdFusion"))
... | 3,245 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Component/Snackbar/Small/Wrapper.luau | --!strict
-- this script was generated by the build system, please do not make manual edits
local _Package = script.Parent.Parent.Parent.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local Maid = require(_Packages:WaitForChild("Maid"))
local ColdFusion = require(_Packages:WaitForChild("ColdFusion"))
... | 2,140 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Component/Snackbar/Small/_Config.story.luau | --!strict
local _Package = script.Parent.Parent.Parent.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local Maid = require(_Packages:WaitForChild("Maid"))
-- Modules
local Style = require(_Package:WaitForChild("Style"))
local Enums = require(_Package:WaitForChild("Enums"))
-- Types
-- Constants
-- V... | 914 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Component/Snackbar/Small/_Theme.story.luau | --!strict
local _Package = script.Parent.Parent.Parent.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local Maid = require(_Packages:WaitForChild("Maid"))
-- Modules
local Style = require(_Package:WaitForChild("Style"))
local Enums = require(_Package:WaitForChild("Enums"))
-- Types
-- Constants
-- V... | 993 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Component/Switch/ColdFusion.luau | --!strict
local _Package = script.Parent.Parent.Parent
local _Packages = _Package.Parent
-- Services
local SoundService = game:GetService("SoundService")
-- Packages
local Maid = require(_Packages:WaitForChild("Maid"))
local ColdFusion = require(_Packages:WaitForChild("ColdFusion"))
local Icons = require(_Packages:Wait... | 6,295 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Component/Switch/Defaults.luau | --!strict
-- this script was generated by the build system, please do not make manual edits
local _Package = script.Parent.Parent.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local Maid = require(_Packages:WaitForChild("Maid"))
local ColdFusion = require(_Packages:WaitForChild("ColdFusion"))
-- Mod... | 632 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Component/Switch/Fusion.luau | --!strict
-- this script was generated by the build system, please do not make manual edits
local _Package = script.Parent.Parent.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local Maid = require(_Packages:WaitForChild("Maid"))
local ColdFusion = require(_Packages:WaitForChild("ColdFusion"))
-- Mod... | 1,612 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Component/Switch/React.luau | --!strict
-- this script was generated by the build system, please do not make manual edits
local _Package = script.Parent.Parent.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local Maid = require(_Packages:WaitForChild("Maid"))
local ColdFusion = require(_Packages:WaitForChild("ColdFusion"))
local ... | 2,981 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Component/Switch/Roact.luau | --!strict
-- this script was generated by the build system, please do not make manual edits
local _Package = script.Parent.Parent.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local Maid = require(_Packages:WaitForChild("Maid"))
local ColdFusion = require(_Packages:WaitForChild("ColdFusion"))
local R... | 2,966 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Component/Switch/Wrapper.luau | --!strict
-- this script was generated by the build system, please do not make manual edits
local _Package = script.Parent.Parent.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local Maid = require(_Packages:WaitForChild("Maid"))
local ColdFusion = require(_Packages:WaitForChild("ColdFusion"))
-- Mod... | 2,197 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Component/Switch/_Config.story.luau | --!strict
local _Package = script.Parent.Parent.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local Maid = require(_Packages:WaitForChild("Maid"))
-- Modules
local Style = require(_Package:WaitForChild("Style"))
local Enums = require(_Package:WaitForChild("Enums"))
-- Types
-- Constants
-- Variable... | 1,452 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Component/Switch/_Theme.story.luau | --!strict
local _Package = script.Parent.Parent.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local Maid = require(_Packages:WaitForChild("Maid"))
-- Modules
local Style = require(_Package:WaitForChild("Style"))
local Enums = require(_Package:WaitForChild("Enums"))
-- Types
-- Constants
-- Variable... | 719 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Component/TextField/Base.luau | --!strict
local _Package = script.Parent.Parent.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local Maid = require(_Packages:WaitForChild("Maid"))
local ColdFusion = require(_Packages:WaitForChild("ColdFusion"))
local Icons = require(_Packages:WaitForChild("MaterialIcons"))
local OutlineIcons = requi... | 5,882 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Component/TextField/Filled/ColdFusion.luau | --!strict
local _Package = script.Parent.Parent.Parent.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local Maid = require(_Packages:WaitForChild("Maid"))
local ColdFusion = require(_Packages:WaitForChild("ColdFusion"))
-- Modules
local Types = require(_Package:WaitForChild("Types"))
local Style = re... | 2,255 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Component/TextField/Filled/Defaults.luau | --!strict
-- this script was generated by the build system, please do not make manual edits
local _Package = script.Parent.Parent.Parent.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local Maid = require(_Packages:WaitForChild("Maid"))
local ColdFusion = require(_Packages:WaitForChild("ColdFusion"))
... | 804 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Component/TextField/Filled/Fusion.luau | --!strict
-- this script was generated by the build system, please do not make manual edits
local _Package = script.Parent.Parent.Parent.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local Maid = require(_Packages:WaitForChild("Maid"))
local ColdFusion = require(_Packages:WaitForChild("ColdFusion"))
... | 1,969 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Component/TextField/Filled/React.luau | --!strict
-- this script was generated by the build system, please do not make manual edits
local _Package = script.Parent.Parent.Parent.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local Maid = require(_Packages:WaitForChild("Maid"))
local ColdFusion = require(_Packages:WaitForChild("ColdFusion"))
... | 3,393 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Component/TextField/Filled/Roact.luau | --!strict
-- this script was generated by the build system, please do not make manual edits
local _Package = script.Parent.Parent.Parent.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local Maid = require(_Packages:WaitForChild("Maid"))
local ColdFusion = require(_Packages:WaitForChild("ColdFusion"))
... | 3,378 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Component/TextField/Filled/Wrapper.luau | --!strict
-- this script was generated by the build system, please do not make manual edits
local _Package = script.Parent.Parent.Parent.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local Maid = require(_Packages:WaitForChild("Maid"))
local ColdFusion = require(_Packages:WaitForChild("ColdFusion"))
... | 2,656 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Component/TextField/Filled/_Config.story.luau | --!strict
local _Package = script.Parent.Parent.Parent.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local Maid = require(game:GetService("ReplicatedStorage"):WaitForChild("Packages"):WaitForChild("Maid"))
-- Modules
local Style = require(_Package:WaitForChild("Style"))
local Enums = require(_Packag... | 2,086 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Component/TextField/Filled/_Theme.story.luau | --!strict
local _Package = script.Parent.Parent.Parent.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local Maid = require(game:GetService("ReplicatedStorage"):WaitForChild("Packages"):WaitForChild("Maid"))
-- Modules
local Style = require(_Package:WaitForChild("Style"))
local Enums = require(_Packag... | 759 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Component/TextField/Outlined/ColdFusion.luau | --!strict
local _Package = script.Parent.Parent.Parent.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local Maid = require(_Packages:WaitForChild("Maid"))
local ColdFusion = require(_Packages:WaitForChild("ColdFusion"))
-- Modules
local Types = require(_Package:WaitForChild("Types"))
local Style = re... | 2,185 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Component/TextField/Outlined/Defaults.luau | --!strict
-- this script was generated by the build system, please do not make manual edits
local _Package = script.Parent.Parent.Parent.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local Maid = require(_Packages:WaitForChild("Maid"))
local ColdFusion = require(_Packages:WaitForChild("ColdFusion"))
... | 794 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Component/TextField/Outlined/Fusion.luau | --!strict
-- this script was generated by the build system, please do not make manual edits
local _Package = script.Parent.Parent.Parent.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local Maid = require(_Packages:WaitForChild("Maid"))
local ColdFusion = require(_Packages:WaitForChild("ColdFusion"))
... | 1,947 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Component/TextField/Outlined/React.luau | --!strict
-- this script was generated by the build system, please do not make manual edits
local _Package = script.Parent.Parent.Parent.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local Maid = require(_Packages:WaitForChild("Maid"))
local ColdFusion = require(_Packages:WaitForChild("ColdFusion"))
... | 3,365 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Component/TextField/Outlined/Roact.luau | --!strict
-- this script was generated by the build system, please do not make manual edits
local _Package = script.Parent.Parent.Parent.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local Maid = require(_Packages:WaitForChild("Maid"))
local ColdFusion = require(_Packages:WaitForChild("ColdFusion"))
... | 3,350 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Component/TextField/Outlined/Wrapper.luau | --!strict
-- this script was generated by the build system, please do not make manual edits
local _Package = script.Parent.Parent.Parent.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local Maid = require(_Packages:WaitForChild("Maid"))
local ColdFusion = require(_Packages:WaitForChild("ColdFusion"))
... | 2,624 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Component/TextField/Outlined/_Config.story.luau | --!strict
local _Package = script.Parent.Parent.Parent.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local Maid = require(game:GetService("ReplicatedStorage"):WaitForChild("Packages"):WaitForChild("Maid"))
-- Modules
local Style = require(_Package:WaitForChild("Style"))
local Enums = require(_Packag... | 1,999 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Enums.luau | --strict
-- this script was generated by nightcycle/pseudo-enum, do not manually edit
export type SoundType =
"hero_simple_celebration_02"
| "navigation_cancel"
| "ui_tap_variant_03"
| "alert_error_03"
| "notification_ambient"
| "state_change_confirm_up"
| "ringtone_minimal"
| "hero_decorative_celebration_01"
... | 5,107 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Sounds.luau | --!strict
local _Package = script.Parent
local _Packages = _Package.Parent
-- Services
local SoundService = game:GetService("SoundService")
-- Packages
-- Modules
local Enums = require(_Package:WaitForChild("Enums"))
-- Types
-- Constants
local LIBRARY: { [Enums.SoundType]: string } = table.freeze({
hero_simple_celebr... | 842 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Style/init.luau | --!strict
local _Package = script.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local HashUtil = require(_Packages:WaitForChild("HashUtil"))
-- Modules
local Typography = require(_Package:WaitForChild("Typography"))
local Theme = require(_Package:WaitForChild("Theme"))
local Enums = require(_Package... | 857 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Theme/Palette.story.luau | --!strict
-- Services
-- Packages
local Maid = require(game:GetService("ReplicatedStorage"):WaitForChild("Packages"):WaitForChild("Maid"))
-- Modules
local Enums = require(script.Parent.Parent:WaitForChild("Enums"))
-- Types
-- Constants
-- Variables
-- References
-- Class
return function(frame: Frame)
local maid = Ma... | 456 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Theme/Scheme.story.luau | --!strict
-- Services
-- Packages
local Enums = require(script.Parent.Parent:WaitForChild("Enums"))
local Maid = require(game:GetService("ReplicatedStorage"):WaitForChild("Packages"):WaitForChild("Maid"))
-- Modules
-- Types
-- Constants
-- Variables
-- References
-- Class
return function(frame: Frame)
local maid = M... | 808 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Theme/init.luau | --!strict
--!native
local _Package = script.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local HashUtil = require(_Packages:WaitForChild("HashUtil"))
local TableUtil = require(_Packages:WaitForChild("TableUtil"))
-- Modules
local ThemeUtil = require(script:WaitForChild("ThemeUtil"))
local HCT = req... | 2,849 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Transition/Graph.story.luau | --!strict
local _Package = script.Parent.Parent
local _Packages = _Package.Parent
-- Services
local RunService = game:GetService("RunService")
-- Packages
local Maid = require(_Packages:WaitForChild("Maid"))
local ColdFusion = require(_Packages:WaitForChild("ColdFusion"))
local CurveUtil = require(_Packages:WaitForChil... | 2,058 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Transition/init.luau | --!strict
local _Package = script.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local CurveUtil = require(_Packages:WaitForChild("CurveUtil"))
-- Modules
local Enums = require(_Package:WaitForChild("Enums"))
-- Types
-- Constants
local EMP_FLIP_POINT = 0.2
local EMP_WEIGHT = 0.45
local STD_FLIP_POIN... | 871 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Translators.luau | --!strict
--!native
local _Package = script.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local ColdFusion = require(_Packages:WaitForChild("ColdFusion"))
local Fusion = require(_Packages:WaitForChild("Fusion"))
local Maid = require(_Packages:WaitForChild("Maid"))
-- Modules
-- Types
type Maid = Maid... | 844 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Types.luau | --!strict
-- Services
-- Packages
-- Modules
-- Types
export type AppearanceData = {
Color3: Color3,
Transparency: number,
}
export type ShadowData = {
Offset: Vector2,
Appearance: AppearanceData,
}
export type RenderData = {
Scale: number,
Border: AppearanceData,
Background: AppearanceData,
Sound: SoundData?... | 858 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Typography.luau | --!strict
local _Package = script.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local HashUtil = require(_Packages:WaitForChild("HashUtil"))
-- Modules
local Enums = require(_Package:WaitForChild("Enums"))
local Types = require(_Package:WaitForChild("Types"))
-- Types
export type FontData = Types.Fo... | 1,730 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Util/Container/ColdFusion.luau | --!strict
local _Package = script.Parent.Parent.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local ColdFusion = require(_Packages:WaitForChild("ColdFusion"))
local Maid = require(_Packages:WaitForChild("Maid"))
-- Modules
local Types = require(_Package:WaitForChild("Types"))
local Style = require(_P... | 329 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Util/ImageLabel/ColdFusion.luau | --!strict
local _Package = script.Parent.Parent.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local ColdFusion = require(_Packages:WaitForChild("ColdFusion"))
local Maid = require(_Packages:WaitForChild("Maid"))
-- Modules
local Types = require(_Package:WaitForChild("Types"))
local Style = require(_P... | 444 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Util/List/ColdFusion.luau | --!strict
local _Package = script.Parent.Parent.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local ColdFusion = require(_Packages:WaitForChild("ColdFusion"))
local Maid = require(_Packages:WaitForChild("Maid"))
-- Modules
local Types = require(_Package:WaitForChild("Types"))
local Style = require(_P... | 912 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Util/Padding/ColdFusion.luau | --!strict
local _Package = script.Parent.Parent.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local ColdFusion = require(_Packages:WaitForChild("ColdFusion"))
local Maid = require(_Packages:WaitForChild("Maid"))
-- Modules
local Types = require(_Package:WaitForChild("Types"))
local Style = require(_P... | 679 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Util/PopUp/ColdFusion.luau | --!strict
local _Package = script.Parent.Parent.Parent
local _Packages = _Package.Parent
-- Services
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
-- Packages
local ColdFusion = require(_Packages:WaitForChild("ColdFusion"))
local Maid = require(_Packages:WaitForChild("Maid"... | 1,001 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Util/PopUp/_Config.story.luau | --!strict
-- Services
-- Packages
local Maid = require(game:GetService("ReplicatedStorage"):WaitForChild("Packages"):WaitForChild("Maid"))
local ColdFusion =
require(game:GetService("ReplicatedStorage"):WaitForChild("Packages"):WaitForChild("ColdFusion"))
-- Modules
-- Types
-- Constants
local ANCHOR_POINT_KEY = "Gui... | 571 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Util/ScrollingContainer/ColdFusion.luau | --!strict
local _Package = script.Parent.Parent.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local ColdFusion = require(_Packages:WaitForChild("ColdFusion"))
local Maid = require(_Packages:WaitForChild("Maid"))
-- Modules
local Types = require(_Package:WaitForChild("Types"))
local Style = require(_P... | 559 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Util/ScrollingContainer/_Config.story.luau | --!strict
local _Package = script.Parent.Parent.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local Maid = require(_Packages:WaitForChild("Maid"))
-- Modules
-- Types
-- Constants
-- Variables
-- References
-- Class
return function(frame: Frame)
local maid = Maid.new()
task.spawn(function()
local... | 240 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Util/TextLabel/ColdFusion.luau | --!strict
local _Package = script.Parent.Parent.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local ColdFusion = require(_Packages:WaitForChild("ColdFusion"))
local Maid = require(_Packages:WaitForChild("Maid"))
-- Modules
local Types = require(_Package:WaitForChild("Types"))
local Style = require(_P... | 2,151 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/Util/init.luau | --!strict
local _Package = script.Parent
local _Packages = _Package.Parent
-- Services
-- Packages
local ColdFusion = require(_Packages:WaitForChild("ColdFusion"))
-- Modules
local Types = require(_Package:WaitForChild("Types"))
local Style = require(_Package:WaitForChild("Style"))
-- Types
type State<V> = ColdFusion.... | 348 |
nightcycle/synthetic | nightcycle-synthetic-1a0c0d5/src/init.luau | --!strict
local _Package = script
local _Packages = _Package.Parent
-- Services
-- Packages
-- Modules
local Types = require(_Package:WaitForChild("Types"))
local Style = require(_Package:WaitForChild("Style"))
local Enums = require(_Package:WaitForChild("Enums"))
-- Types
export type ImageData = Types.ImageData
export... | 1,340 |
nezuo/spark | nezuo-spark-6d54423/examples/matter/src/client/exampleSystem.luau | local function exampleSystem(_, state)
local actions = state.actions
-- Here we use the helper methods we added: justPressed and justReleased.
if actions:justPressed("jump") then
print("Jumped!")
end
if actions:justReleased("attack") then
print("Attack released!")
end
local move = actions:clampedAxis2d("m... | 103 |
nezuo/spark | nezuo-spark-6d54423/examples/matter/src/client/init.client.luau | local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RunService = game:GetService("RunService")
local Matter = require(ReplicatedStorage.Packages.Matter)
local Spark = require(ReplicatedStorage.Packages.Spark)
local exampleSystem = require(script.exampleSystem)
local updateInput = require(script.update... | 341 |
nezuo/spark | nezuo-spark-6d54423/examples/matter/src/client/updateInput.luau | local function updateInput(_, state)
state.actions:update(state.inputState)
state.inputState:clear()
end
return {
system = updateInput,
event = "RenderStepped",
priority = -math.huge, -- You want to update input before all other systems run.
}
| 57 |
nezuo/spark | nezuo-spark-6d54423/examples/minimal/src/client/init.client.luau | local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RunService = game:GetService("RunService")
local Spark = require(ReplicatedStorage.Packages.Spark)
local Actions = Spark.Actions
local InputState = Spark.InputState
local VirtualAxis2d = Spark.VirtualAxis2d
local inputState = InputState.new()
loca... | 286 |
nezuo/spark | nezuo-spark-6d54423/examples/rebinding/src/client/UserInterface.luau | local Players = game:GetService("Players")
local UserInterface = {}
function UserInterface.createRebindingMenu()
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = Players.LocalPlayer.PlayerGui
local background = Instance.new("Frame")
background.AnchorPoint = Vector2.new(0.5, 0.5)
background.Positio... | 562 |
nezuo/spark | nezuo-spark-6d54423/examples/rebinding/src/client/init.client.luau | local ReplicatedStorage = game:GetService("ReplicatedStorage")
local UserInputService = game:GetService("UserInputService")
local Spark = require(ReplicatedStorage.Packages.Spark)
local UserInterface = require(script.UserInterface)
local KeyboardBindings = require(ReplicatedStorage.Shared.KeyboardBindings)
local Acti... | 1,187 |
nezuo/spark | nezuo-spark-6d54423/examples/rebinding/src/server/init.server.luau | local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local KeyboardBindings = require(ReplicatedStorage.Shared.KeyboardBindings)
local allCustomizedBindings = {}
local function onPlayerAdded(player)
-- Here you would load the player's custom bindings using DataSt... | 364 |
nezuo/spark | nezuo-spark-6d54423/examples/rebinding/src/shared/KeyboardBindings.luau | return {
jump = { name = "Jump", action = "jump", default = Enum.KeyCode.Space },
moveUp = { name = "Move Up", action = "move", direction = "up", default = Enum.KeyCode.W },
moveDown = { name = "Move Down", action = "move", direction = "down", default = Enum.KeyCode.S },
moveLeft = { name = "Move Left", action = "m... | 127 |
nezuo/spark | nezuo-spark-6d54423/src/Actions.luau | local UserInputService = game:GetService("UserInputService")
local Bindings = require(script.Parent.Binding.Bindings)
local Signal = require(script.Parent.Signal)
local getDeviceFromInput = require(script.Parent.getDeviceFromInput)
local function isInputInDevices(input, devices)
if typeof(input) == "table" then
if... | 2,713 |
nezuo/spark | nezuo-spark-6d54423/src/Actions.test.luau | local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Spark = require(script.Parent)
local VirtualAxis = require(script.Parent.VirtualAxis)
local VirtualAxis2d = require(script.Parent.VirtualAxis2d)
local MutableInputState = require(ReplicatedStorage.MutableInputState)
local Actions = Spark.Actions
re... | 4,049 |
nezuo/spark | nezuo-spark-6d54423/src/Binding/ActionConfig.luau | --[=[
`ActionConfig` allows you to configure an action with modifiers.
```lua
local actions = Actions.new({ "look" }):setRebuildBindings(function(bindings)
bindings:bind("look")
-- ActionConfig is returned by Bindings:bind.
:addModifiers(scale(0.5, Vector2.new(0.5, 0.5)))
end)
```
@class ActionConfig
]=... | 225 |
nezuo/spark | nezuo-spark-6d54423/src/Binding/Bind.luau | --[=[
Allows you to add modifiers to a set of inputs.
```lua
local actions = Actions.new({ "look" }):setRebuildBindings(function(bindings)
bindings:bind(
"look",
Bind.new(Enum.KeyCode.Thumbstick2):addModifiers(scale(0.5, Vector2.new(0.5, 0.5)))
)
end)
```
@class Bind
]=]
local Bind = {}
Bind.__index =... | 219 |
nezuo/spark | nezuo-spark-6d54423/src/Binding/Bindings.luau | local ActionConfig = require(script.Parent.ActionConfig)
local Bind = require(script.Parent.Bind)
--[=[
Bind inputs to actions.
```lua
local actions = Actions.new({ "move", "jump" }):setRebuildBindings(function(bindings)
bindings:bind("move", VirtualAxis2d.new({
up = Enum.KeyCode.W,
down = Enum.KeyCode.S,
... | 294 |
nezuo/spark | nezuo-spark-6d54423/src/InputState.luau | local UserInputService = game:GetService("UserInputService")
local Inputs = require(script.Parent.Inputs)
--[=[
Stores input state derived from [UserInputService] and is used to update [Actions].
:::note
You should only ever create one `InputState`.
:::
@class InputState
]=]
local InputState = {}
InputState.__... | 1,694 |
nezuo/spark | nezuo-spark-6d54423/src/Inputs.luau | return {
GAMEPAD_TRIGGERS = {
[Enum.KeyCode.ButtonL2] = true,
[Enum.KeyCode.ButtonR2] = true,
},
GAMEPAD_BUTTONS = {
[Enum.KeyCode.ButtonA] = true,
[Enum.KeyCode.ButtonB] = true,
[Enum.KeyCode.ButtonX] = true,
[Enum.KeyCode.ButtonY] = true,
[Enum.KeyCode.ButtonL1] = true,
[Enum.KeyCode.ButtonL3] = tr... | 259 |
nezuo/spark | nezuo-spark-6d54423/src/Modifiers/deadZone.luau | local function scaledDeadZone(value: number, lowerThreshold: number): number
local lowerBound = math.max(math.abs(value) - lowerThreshold, 0)
local scaledValue = lowerBound / (1 - lowerThreshold)
return math.min(scaledValue, 1) * math.sign(value)
end
--[=[
Applies a deadzone to the input, then rescales the remain... | 466 |
nezuo/spark | nezuo-spark-6d54423/src/Modifiers/scale.luau | --[=[
Scales the axis and axis2d values by the given scale factors.
Use this to adjust the sensitivity of the input.
@param axisScale number
@param axis2dScale Vector2
@return Modifier
@within Modifiers
]=]
local function scale(
axisScale: number,
axis2dScale: Vector2
): (pressed: boolean, axis: number, axis2... | 142 |
nezuo/spark | nezuo-spark-6d54423/src/Rebind.luau | local UserInputService = game:GetService("UserInputService")
local getDeviceFromInput = require(script.Parent.getDeviceFromInput)
local Inputs = require(script.Parent.Inputs)
local Promise = require(script.Parent.Parent.Promise)
--[=[
Queries for the first button a user presses. This is useful for rebinding based on... | 726 |
nezuo/spark | nezuo-spark-6d54423/src/Signal.luau | --[=[
@class Signal
]=]
local Signal = {}
Signal.__index = Signal
function Signal.new()
return setmetatable({
connections = {},
}, Signal)
end
function Signal:fire(...)
for _, connection in self.connections do
task.spawn(connection, ...)
end
end
--[=[
@param connection function | thread
@return () -> () -... | 125 |
nezuo/spark | nezuo-spark-6d54423/src/getDeviceFromInput.luau | --[=[
Returns the [Device] for the given input if it exists.
@param input Button
@return Device?
@within Spark
]=]
local function getDeviceFromInput(input)
if typeof(input) ~= "EnumItem" then
return nil
end
if input:IsA("UserInputType") then
if string.match(input.Name, "^Gamepad") ~= nil then
return "G... | 208 |
nezuo/spark | nezuo-spark-6d54423/src/init.luau | export type Button = Enum.KeyCode | Enum.UserInputType
export type VirtualAxis = {
kind: "VirtualAxis",
positive: Button?,
negative: Button?,
}
export type VirtualAxis2d = {
kind: "VirtualAxis2d",
up: Button?,
down: Button?,
left: Button?,
right: Button?,
}
export type Input = Button | VirtualAxis | VirtualAxis... | 1,234 |
team-fireworks/prvdmwrong | team-fireworks-prvdmwrong-a935ae2/.lune/build.luau | local collectPackages = require("@lune-lib/utils/collect-packages")
local fs = require("@lune/fs")
local path = require("@lune-lib/utils/path")
local process = require("@lune/process")
local roblox = require("@lune/roblox")
local rootConfig = require("@lune-lib/root-config")
local selectPackages = require("@lune-lib/ut... | 3,108 |
team-fireworks/prvdmwrong | team-fireworks-prvdmwrong-a935ae2/.lune/lib/configure.luau | -- Repository
export type RootPublisher = {
scope: string,
registry: string,
}
local function publisher(x: RootPublisher)
return table.freeze(x)
end
export type RepoConfig = {
repository: string,
homepage: string,
packageDir: string,
defaults: {
authors: { string },
license: string,
version: string,
},... | 363 |
team-fireworks/prvdmwrong | team-fireworks-prvdmwrong-a935ae2/.lune/lib/tiniest/tiniest.luau | -- From dphfox/tiniest, licenced under BSD
--!strict
local tiniest_plugin = require("./tiniest_plugin")
type Context = DescribeContext | RunContext
type DescribeContext = {
type: "describe",
labels: { string },
add_test: (Test) -> (),
}
type RunContext = {
type: "run",
}
export type ErrorReport = {
type: "tin... | 1,328 |
team-fireworks/prvdmwrong | team-fireworks-prvdmwrong-a935ae2/.lune/lib/tiniest/tiniest_expect.luau | -- From dphfox/tiniest, licenced under BSD
--!strict
local tiniest_quote = require("./tiniest_quote")
local tiniest_expect = {}
type Context = {
target: unknown,
test: string,
params: { unknown },
}
local context: Context = {
target = nil,
test = "",
params = {},
}
local function fail(message: string?): neve... | 1,033 |
team-fireworks/prvdmwrong | team-fireworks-prvdmwrong-a935ae2/.lune/lib/tiniest/tiniest_for_lune.luau | -- From dphfox/tiniest, licensed under BSD3
--!strict
local tiniest = require("./tiniest")
local tiniest_expect = require("./tiniest_expect")
local tiniest_pretty = require("./tiniest_pretty")
local tiniest_snapshot = require("./tiniest_snapshot")
local tiniest_time = require("./tiniest_time")
local fs = require("@lu... | 832 |
team-fireworks/prvdmwrong | team-fireworks-prvdmwrong-a935ae2/.lune/lib/tiniest/tiniest_plugin.luau | -- From dphfox/tiniest, licenced under BSD
--!strict
export type Plugin = {
is_tiniest_plugin: true,
}
local tiniest_plugin = {}
function tiniest_plugin.configure(plugins: { any }?)
if plugins ~= nil then
for index, plugin in plugins do
if not plugin.is_tiniest_plugin then
error(`sanity check: plugin #{in... | 180 |
team-fireworks/prvdmwrong | team-fireworks-prvdmwrong-a935ae2/.lune/lib/tiniest/tiniest_pretty.luau | -- From dphfox/tiniest, licenced under BSD
--!strict
local tiniest = require("./tiniest")
local tiniest_plugin = require("./tiniest_plugin")
type Test = tiniest.Test
type TestRunResult = tiniest.TestRunResult
type RunResult = tiniest.RunResult
export type Options = {
plugins: nil | { tiniest_plugin.Plugin },
disabl... | 1,762 |
team-fireworks/prvdmwrong | team-fireworks-prvdmwrong-a935ae2/.lune/lib/tiniest/tiniest_quote.luau | -- From dphfox/tiniest, licenced under BSD
--!strict
local function tiniest_quote(x: unknown, given_indent_amount: number?): string
if type(x) == "nil" or type(x) == "number" or type(x) == "boolean" or type(x) == "userdata" then
return tostring(x)
elseif type(x) == "string" then
return string.format("%q", x)
el... | 367 |
team-fireworks/prvdmwrong | team-fireworks-prvdmwrong-a935ae2/.lune/lib/tiniest/tiniest_snapshot.luau | -- From dphfox/tiniest, licensed under BSD3
--!strict
local tiniest = require("./tiniest")
local tiniest_quote = require("./tiniest_quote")
type Test = tiniest.Test
export type TestRunResult = tiniest.TestRunResult & {
num_snapshots_updated: number,
num_snapshots_obsolete: number,
}
export type RunResult = tiniest.... | 1,218 |
team-fireworks/prvdmwrong | team-fireworks-prvdmwrong-a935ae2/.lune/lib/tiniest/tiniest_time.luau | -- From dphfox/tiniest, licenced under BSD
--!strict
local tiniest = require("./tiniest")
local tiniest_pretty = require("./tiniest_pretty")
type Test = tiniest.Test
export type TestRunResult = tiniest.TestRunResult & {
duration: number,
}
export type RunResult = tiniest.RunResult & {
duration: number,
}
export ty... | 615 |
team-fireworks/prvdmwrong | team-fireworks-prvdmwrong-a935ae2/.lune/lib/types.luau | local configure = require("@lune-lib/configure")
export type PackageContext = {
rootDir: string,
outDir: string,
outWorkDir: string,
packagesDir: string,
packages: { [string]: Package },
}
export type Package = {
absolutePath: string,
relativePath: string,
config: configure.PackageConfig,
}
return nil
| 76 |
team-fireworks/prvdmwrong | team-fireworks-prvdmwrong-a935ae2/.lune/lib/utils/collect-packages.luau | local configure = require("@lune-lib/configure")
local fs = require("@lune/fs")
local path = require("@lune-lib/utils/path")
local types = require("@lune-lib/types")
local function collectPackages(rootPath: string, packageDir: string)
local packages: { types.Package } = {}
local packageDirPath = path(rootPath, packa... | 290 |
team-fireworks/prvdmwrong | team-fireworks-prvdmwrong-a935ae2/.lune/lib/utils/path.luau | local process = require("@lune/process")
local delimiter = if process.os == "windows" then "\\" else "/"
local function path(...: string)
return table.concat({ ... }, delimiter)
end
return path
| 44 |
team-fireworks/prvdmwrong | team-fireworks-prvdmwrong-a935ae2/.lune/lib/utils/print-divider.luau | local styles = require("./styles")
local LINE_COUNT = 80
local bold = styles.bold
local dim = styles.dim
local function printDivider(str: string, lineCount: number?)
local dashRepeats = ((lineCount or LINE_COUNT) - str:len()) * 0.5
local extraIfUneven = if str:len() % 2 ~= 0 then 1 else 0
return print(bold(`{dim(... | 126 |
team-fireworks/prvdmwrong | team-fireworks-prvdmwrong-a935ae2/.lune/lib/utils/select-packages.luau | local process = require("@lune/process")
local stdio = require("@lune/stdio")
local types = require("@lune-lib/types")
local function selectPackages(packages: { types.Package }): {
names: { string },
nameToPackage: { [string]: types.Package },
selected: { string },
}
local packageNames = {}
local nameToPackage = ... | 254 |
team-fireworks/prvdmwrong | team-fireworks-prvdmwrong-a935ae2/.lune/pesde-scripts/roblox_sync_config_generator.luau | return (require)("./../../lune_packages/.pesde/pesde+scripts_rojo/0.1.0/scripts_rojo/roblox_sync_config_generator")
| 35 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.