local X=script.Parent.Parent local w=require(X.Parent.Fusion)local G=require(X.Themer)local F=require(X.Util)local E=w.scoped local j=w.Children local I=require(X.Components.Frame)local c=require(X.Components.Checkbox)local f={Frame=I;Checkbox=c}return{story=function(X)local E=w.innerScope(X.scope,w,f)local I=G.Theme:now()E:Frame({Parent=X.target,Padding=E:Computed(function(X)return UDim.new(0,X(I.StrokeThickness["\049"]))end),ListEnabled=true;ListFillDirection=Enum.FillDirection.Horizontal;ListPadding=E:Computed(function(X)return UDim.new(0,X(I.Spacing["\048\046\053"]))end);[j]={E:Checkbox({}),E:Checkbox({Checked=true});E:Checkbox({Disabled=true}),E:Checkbox({Disabled=true,Checked=true});E:Checkbox({Icon="\114\098\120\097\115\115\101\116\105\100\058\047\047\049\054\055\052\051\053\053\048\051\055\051",Color=F.Colors.Red["\053\048\048"],Checked=true})}})end;fusion=w}
local OnyxUI = script.Parent.Parent

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

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

local Frame = require(OnyxUI.Components.Frame)
local Checkbox = require(OnyxUI.Components.Checkbox)
local Components = {
	Frame = Frame,
	Checkbox = Checkbox,
}

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

		Scope:Frame {
			Parent = Props.target,
			Padding = Scope:Computed(function(Use)
				return UDim.new(0, Use(Theme.StrokeThickness["1"]))
			end),
			ListEnabled = true,
			ListFillDirection = Enum.FillDirection.Horizontal,
			ListPadding = Scope:Computed(function(Use)
				return UDim.new(0, Use(Theme.Spacing["0.5"]))
			end),

			[Children] = {
				Scope:Checkbox {},
				Scope:Checkbox {
					Checked = true,
				},
				Scope:Checkbox {
					Disabled = true,
				},
				Scope:Checkbox {
					Disabled = true,
					Checked = true,
				},
				Scope:Checkbox {
					Icon = "rbxassetid://16743550373",
					Color = Util.Colors.Red["500"],
					Checked = true,
				},
			},
		}
	end,
	fusion = Fusion,
}
