local X=script.Parent.Parent local w=require(X.Parent.Fusion)local G=require(X.Themer)local F=w.Children local E=w.scoped local j=require(script.Parent.TextInput)local I=require(script.Parent.Frame)local c={Frame=I;TextInput=j}return{story=function(X)local E=w.innerScope(X.scope,w,c)local j=G.Theme:now()E:Frame({Parent=X.target,Size=UDim2.fromOffset(250,0),AutomaticSize=Enum.AutomaticSize.Y;ListEnabled=true;ListPadding=E:Computed(function(X)return UDim.new(0,X(j.Spacing["\048\046\053"]))end);ListHorizontalFlex=Enum.UIFlexAlignment.Fill,Padding=E:Computed(function(X)return UDim.new(0,X(j.StrokeThickness["\049"]))end),[F]={E:TextInput({});E:TextInput({PlaceholderText="\068\105\115\097\098\108\101\100 \084\101\120\116\073\110\112\117\116\046",Disabled=true});E:TextInput({PlaceholderText="\084\119\101\110\116\121 \099\104\097\114\097\099\116\101\114\115 \111\110\108\121\033";CharacterLimit=20});E:TextInput({PlaceholderText="\083\111\109\101\116\104\105\110\103 \100\097\110\103\101\114\111\117\115\033",Color=j.Colors.Error.Main})}})end;fusion=w}
local OnyxUI = script.Parent.Parent

local Fusion = require(OnyxUI.Parent.Fusion)
local Themer = require(OnyxUI.Themer)

local Children = Fusion.Children
local Scoped = Fusion.scoped

local TextInput = require(script.Parent.TextInput)
local Frame = require(script.Parent.Frame)
local Components = {
	Frame = Frame,
	TextInput = TextInput,
}

return {
	story = function(Props)
		local Scope = Fusion.innerScope(Props.scope, Fusion, Components)
		local Theme = Themer.Theme:now()

		Scope:Frame {
			Parent = Props.target,
			Size = UDim2.fromOffset(250, 0),
			AutomaticSize = Enum.AutomaticSize.Y,
			ListEnabled = true,
			ListPadding = Scope:Computed(function(Use)
				return UDim.new(0, Use(Theme.Spacing["0.5"]))
			end),
			ListHorizontalFlex = Enum.UIFlexAlignment.Fill,
			Padding = Scope:Computed(function(Use)
				return UDim.new(0, Use(Theme.StrokeThickness["1"]))
			end),

			[Children] = {
				Scope:TextInput {},
				Scope:TextInput {
					PlaceholderText = "Disabled TextInput.",
					Disabled = true,
				},
				Scope:TextInput {
					PlaceholderText = "Twenty characters only!",
					CharacterLimit = 20,
				},
				Scope:TextInput {
					PlaceholderText = "Something dangerous!",
					Color = Theme.Colors.Error.Main,
				},
			},
		}
	end,
	fusion = Fusion,
}
