repo stringclasses 350
values | file_path stringlengths 29 200 | language stringclasses 2
values | file_type stringclasses 4
values | code stringlengths 2 1.01M | tokens int64 2 598k |
|---|---|---|---|---|---|
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Chip/Accessory.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local PackageManager = require(Foundation.PackageManager)
local BuilderIcons = PackageManager.getPackage("BuilderIcons")
local migrationLookup = BuilderIcons.Migration["uiblox"]
local Components = Foundation.Components
local Utility = Foundation.Utility
local Enums = Fou... | 1,121 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Chip/Chip.story.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local PackageManager = require(Foundation.PackageManager)
local Fusion = PackageManager.getPackage("Fusion")
local Dash = PackageManager.getPackage("Dash")
local BuilderIcons = PackageManager.getPackage("BuilderIcons")
local Components = Foundation.Components
local Utili... | 3,037 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Chip/init.luau | luau | .luau | local Foundation = script.Parent.Parent
local PackageManager = require(Foundation.PackageManager)
local BuilderIcons = PackageManager.getPackage("BuilderIcons")
local IconVariant = BuilderIcons.IconVariant
local Components = Foundation.Components
local Utility = Foundation.Utility
local Enums = Foundation.Enums
loca... | 1,300 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Chip/useAccessoryVariants.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local useVariants = require(Utility.useVariants)
local composeStyleVariant = require(Utility.composeStyleVariant)
local ChipSize = require(Enums.ChipSize)
type ChipSize = ChipSize.ChipSize
type Style = "... | 854 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Chip/useChipVariants.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local useVariants = require(Utility.useVariants)
local composeStyleVariant = require(Utility.composeStyleVariant)
local Types = require(Utility.Types)
local ChipSize = require(Enums.ChipSize)
local ChipVa... | 729 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/ChipGroup/ChipGroup.story.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local PackageManager = require(Foundation.PackageManager)
local Fusion = PackageManager.getPackage("Fusion")
local Components = Foundation.Components
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local ChipGroup = require(script.Parent)
local View =... | 1,064 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/ChipGroup/init.luau | luau | .luau | local Foundation = script.Parent.Parent
local Components = Foundation.Components
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local Chip = require(Components.Chip)
local ScrollView = require(Components.ScrollView)
local View = require(Components.View)
local Accessory = require(Components.Chip.Ac... | 1,754 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/ChipGroup/useChipGroupVariants.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local useVariants = require(Utility.useVariants)
local ChipSize = require(Enums.ChipSize)
local ChipGroupVariant = require(Enums.ChipGroupVariant)
type ChipGroupVariant = ChipGroupVariant.ChipGroupVariant... | 507 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/ChipGroup/useClippingRect.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local Utility = Foundation.Utility
local unwrap = require(Utility.unwrap)
local Types = require(Utility.Types)
type UsedAs<T> = Types.UsedAs<T>
type Scope = Types.Scope
return function(scope: Scope, guiObject: UsedAs<GuiObject>): UsedAs<Rect>
local rect = scope:Value(... | 369 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/CloseAffordance/CloseAffordance.story.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local PackageManager = require(Foundation.PackageManager)
local Fusion = PackageManager.getPackage("Fusion")
local Dash = PackageManager.getPackage("Dash")
local Components = Foundation.Components
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local C... | 2,544 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Divider/Divider.story.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local PackageManager = require(Foundation.PackageManager)
local Fusion = PackageManager.getPackage("Fusion")
local Dash = PackageManager.getPackage("Dash")
local Components = Foundation.Components
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local D... | 890 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Divider/init.luau | luau | .luau | local Foundation = script.Parent.Parent
local Components = Foundation.Components
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local useDividerVariants = require(script.useDividerVariants)
local View = require(Components.View)
local unwrap = require(Utility.unwrap)
local withDefaults = require(U... | 462 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Divider/useDividerVariants.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local useVariants = require(Utility.useVariants)
local composeStyleVariant = require(Utility.composeStyleVariant)
local Types = require(Utility.Types)
local Orientation = require(Enums.Orientation)
local ... | 576 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Dropdown/Dropdown.story.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local PackageManager = require(Foundation.PackageManager)
local Fusion = PackageManager.getPackage("Fusion")
local Dash = PackageManager.getPackage("Dash")
local BuilderIcons = PackageManager.getPackage("BuilderIcons")
local Utility = Foundation.Utility
local Enums = Fou... | 5,863 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Dropdown/DropdownControl.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local PackageManager = require(Foundation.PackageManager)
local BuilderIcons = PackageManager.getPackage("BuilderIcons")
local Components = Foundation.Components
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local useDropdownVariants = require(script... | 1,697 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Dropdown/init.luau | luau | .luau | local Foundation = script.Parent.Parent
local Components = Foundation.Components
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local DropdownControl = require(script.DropdownControl)
local markSelectedItem = require(script.markSelectedItem)
local Popover = require(Components.Popover)
local BaseMe... | 1,350 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Dropdown/markSelectedItem.luau | luau | .luau | --!strict
local Foundation = script.Parent.Parent.Parent
local Components = Foundation.Components
local Utility = Foundation.Utility
local BaseMenu = require(Components.BaseMenu)
local Types = require(Utility.Types)
type BaseMenuItem = BaseMenu.BaseMenuItem
type BaseMenuItems<Item> = BaseMenu.BaseMenuItems<Item>
typ... | 254 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Dropdown/useDropdownVariants.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local PackageManager = require(Foundation.PackageManager)
local Dash = PackageManager.getPackage("Dash")
local Components = Foundation.Components
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local useVariants = require(Utility.useVariants)
local com... | 1,017 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Empty/Empty.story.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local PackageManager = require(Foundation.PackageManager)
local Fusion = PackageManager.getPackage("Fusion")
local Dash = PackageManager.getPackage("Dash")
local Components = Foundation.Components
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local E... | 848 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Empty/init.luau | luau | .luau | local Foundation = script.Parent.Parent
local Components = Foundation.Components
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local Icon = require(Components.Icon)
local Text = require(Components.Text)
local View = require(Components.View)
local Button = require(Components.Button)
local unwrap =... | 605 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Fragment.luau | luau | .luau | --[[
Fragment is a placeholder component that can be used to render children components in the same scope
as the main component it's been provided to. This is necessary in certain components, due to
children components' scope outliving the main component's scope.
]]
local Foundation = script.Parent.Parent
local Pac... | 241 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Gradient.luau | luau | .luau | --!nonstrict
local Foundation = script.Parent.Parent
local unwrap = require(Foundation.Utility.unwrap)
local stripProps = require(Foundation.Utility.stripProps)
local Types = require(Foundation.Utility.Types)
local COMPONENT_ONLY_PROPERTIES = {
"fillDirection",
"top"
}
type Scope = Types.Scope
type Use = Types.Us... | 309 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/HintText/HintText.story.luau | luau | .luau | --!nonstrict
local Foundation = script.Parent.Parent.Parent
local PackageManager = require(Foundation.PackageManager)
local Fusion = PackageManager.getPackage("Fusion")
local HintText = require(Foundation.Components.HintText)
local View = require(Foundation.Components.View)
local ThemeProvider = require(Foundation.... | 242 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/HintText/init.luau | luau | .luau | local Foundation = script.Parent.Parent
local Utility = Foundation.Utility
local Text = require(Foundation.Components.Text)
local unwrap = require(Utility.unwrap)
local withCommonProps = require(Utility.withCommonProps)
local Types = require(Utility.Types)
type UsedAs<T> = Types.UsedAs<T>
type Scope = Types.Scope
ty... | 348 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Icon/Icon.story.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local PackageManager = require(Foundation.PackageManager)
local Fusion = PackageManager.getPackage("Fusion")
local Dash = PackageManager.getPackage("Dash")
local BuilderIcons = PackageManager.getPackage("BuilderIcons")
local Enums = Foundation.Enums
local IconSize = req... | 399 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Icon/init.luau | luau | .luau | local Foundation = script.Parent.Parent
local PackageManager = require(Foundation.PackageManager)
local BuilderIcons = PackageManager.getPackage("BuilderIcons")
local Components = Foundation.Components
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local migrateFontSize = require(script.migrateFon... | 905 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Icon/migrateFontSize.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local Tokens = require(Foundation.Providers.ThemeProvider.Tokens)
type Tokens = Tokens.Tokens
local function migrateFontSize(size: number, tokens: Tokens): number
local snapInterval = tokens.Size.Size_100
local mediumMin = tokens.Size.Size_600
local mediumMax = tokens... | 110 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Icon/migrateIconName.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local PackageManager = require(Foundation.PackageManager)
local BuilderIcons = PackageManager.getPackage("BuilderIcons")
local migrationLookUp = BuilderIcons.Migration
type IconVariant = typeof(BuilderIcons.IconVariant)
local function migrateIconName(name: string): { na... | 88 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/IconButton/useIconButtonPadding.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local unwrap = require(Utility.unwrap)
local Types = require(Utility.Types)
local IconSize = require(Enums.IconSize)
type UsedAs<T> = Types.UsedAs<T>
type Scope = Types.Scope
type Use = Types.Use
type Ic... | 355 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Image/CloudAsset/isCloudAsset.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent.Parent
local PackageManager = require(Foundation.PackageManager)
local FoundationCloudAssets = PackageManager.getPackage("FoundationCloudAssets").Assets
return function(img: string)
return FoundationCloudAssets[img] ~= nil
end
| 50 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Image/Image.story.luau | luau | .luau | --!nonstrict
local Foundation = script.Parent.Parent.Parent
local PackageManager = require(Foundation.PackageManager)
local Fusion = PackageManager.getPackage("Fusion")
local Dash = PackageManager.getPackage("Dash")
local Assets = PackageManager.getPackage("FoundationCloudAssets").Assets
local Components = Foundatio... | 1,616 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Image/ImageSet/Images.story.luau | luau | .luau | --!nonstrict
local Foundation = script.Parent.Parent.Parent.Parent
local PackageManager = require(Foundation.PackageManager)
local Fusion = PackageManager.getPackage("Fusion")
local FoundationImages = PackageManager.getPackage("FoundationImages")
local Image = require(Foundation.Components.Image)
local View = requir... | 874 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Image/ImageSet/getScaledSlice.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent.Parent
local PackageManager = require(Foundation.PackageManager)
local FoundationImages = PackageManager.getPackage("FoundationImages")
local Types = require(Foundation.Utility.Types)
type Slice = Types.Slice
local function getScaledSlice(sliceCenter: Rect?, sliceScale:... | 145 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Image/ImageSet/isFoundationImage.luau | luau | .luau | local function isFoundationImage(image: string?)
return image ~= nil and image ~= "" and image:match("^%w+://.*$") == nil
end
return isFoundationImage
| 39 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Image/init.luau | luau | .luau | local Foundation = script.Parent.Parent
local PackageManager = require(Foundation.PackageManager)
local Fusion = PackageManager.getPackage("Fusion")
local Dash = PackageManager.getPackage("Dash")
local FoundationImages = PackageManager.getPackage("FoundationImages")
local FoundationCloudAssets = PackageManager.getPack... | 1,553 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/InputField/InputField.story.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local PackageManager = require(Foundation.PackageManager)
local Fusion = PackageManager.getPackage("Fusion")
local Dash = PackageManager.getPackage("Dash")
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local Components = Foundation.Components
local u... | 712 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/InputField/composeInputFieldVariants.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local getInputVariantsFactory = require(script.Parent.getInputVariantsFactory)
local composeStyleVariant = require(Utility.composeStyleVariant)
local Radius = require(Enums.Radius)
local InputSize = requi... | 294 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/InputField/getInputVariantsFactory.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local PackageManager = require(Foundation.PackageManager)
local Dash = PackageManager.getPackage("Dash")
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local composeStyleVariant = require(Utility.composeStyleVariant)
local Types = require(Utility.Type... | 892 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/InputField/init.luau | luau | .luau | local Foundation = script.Parent.Parent
local Components = Foundation.Components
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local View = require(Components.View)
local InputLabel = require(Components.InputLabel)
local HintText = require(Components.HintText)
local unwrap = require(Utility.unwra... | 955 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/InputLabel/InputLabel.story.luau | luau | .luau | --!nonstrict
local Foundation = script.Parent.Parent.Parent
local PackageManager = require(Foundation.PackageManager)
local Fusion = PackageManager.getPackage("Fusion")
local InputLabel = require(Foundation.Components.InputLabel)
local View = require(Foundation.Components.View)
local ThemeProvider = require(Foundat... | 417 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/InputLabel/init.luau | luau | .luau | local Foundation = script.Parent.Parent
local Components = Foundation.Components
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local Text = require(Components.Text)
local unwrap = require(Utility.unwrap)
local stripProps = require(Utility.stripProps)
local withDefaults = require(Utility.withDefau... | 936 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Interactable/getOriginalBackgroundStyle.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local Utility = Foundation.Utility
local unwrap = require(Utility.unwrap)
local Types = require(Utility.Types)
type UsedAs<T> = Types.UsedAs<T>
type ColorStyle = Types.ColorStyle
local function getOriginalBackgroundStyle(
backgroundColor: UsedAs<Color3>?,
backgroundTr... | 109 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Interactable/init.luau | luau | .luau | local Foundation = script.Parent.Parent
local PackageManager = require(Foundation.PackageManager)
local Fusion = PackageManager.getPackage("Fusion")
local Dash = PackageManager.getPackage("Dash")
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local getStateLayerStyle = require(script.getStateLayer... | 1,825 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Knob/getKnobSize.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local Enums = Foundation.Enums
local InputSize = require(Enums.InputSize)
type InputSize = InputSize.InputSize
return function(tokens: {[string]: any}, size: InputSize): UDim2
local knobSizes: { [InputSize]: number } = {
[InputSize.XSmall] = tokens.Size.Size_300,
[... | 147 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Knob/useKnobVariants.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local getKnobSize = require(script.Parent.getKnobSize)
local useVariants = require(Utility.useVariants)
local composeStyleVariant = require(Utility.composeStyleVariant)
local Types = require(Utility.Types... | 750 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Menu/Menu.story.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local PackageManager = require(Foundation.PackageManager)
local Fusion = PackageManager.getPackage("Fusion")
local Dash = PackageManager.getPackage("Dash")
local Components = Foundation.Components
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local M... | 5,966 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Menu/init.luau | luau | .luau | local Foundation = script.Parent.Parent
local Components = Foundation.Components
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local Popover = require(Components.Popover)
local BaseMenu = require(Components.BaseMenu)
local unwrap = require(Utility.unwrap)
local withDefaults = require(Utility.with... | 929 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Padding.luau | luau | .luau | local Foundation = script.Parent.Parent
local Utility = Foundation.Utility
local isState = require(Utility.isState)
local unwrap = require(Utility.unwrap)
local Types = require(Utility.Types)
type UsedAs<T> = Types.UsedAs<T>
type Scope = Types.Scope
type Padding = Types.Padding
type PaddingTable = Types.PaddingTable... | 566 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Popover/Anchor/PopoverAnchor.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent.Parent
local Components = Foundation.Components
local Utility = Foundation.Utility
local PopoverContext = require(script.Parent.Parent.PopoverContext)
local View = require(Components.View)
local unwrap = require(Utility.unwrap)
local isState = require(Utility.isState)
... | 666 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Popover/Anchor/init.luau | luau | .luau | local PopoverAnchor = require(script.PopoverAnchor)
export type PopoverAnchorProps = PopoverAnchor.PopoverAnchorProps
return PopoverAnchor
| 31 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Popover/Content/PopoverContent.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent.Parent
local Components = Foundation.Components
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local Providers = Foundation.Providers
local useFloating = require(script.Parent.Parent.useFloating)
local PopoverContext = require(script.Parent.Parent.Popo... | 2,446 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Popover/Content/init.luau | luau | .luau | local PopoverContent = require(script.PopoverContent)
export type PopoverContentProps = PopoverContent.PopoverContentProps
return PopoverContent
| 31 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Popover/ContentPlugin/init.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local Components = Foundation.Components
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local Providers = Foundation.Providers
local PopoverContent = require(script.Parent.Content)
local PopoverArrow = require(script.Parent.PopoverArrow)
local PopoverS... | 2,002 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Popover/ContentPlugin/useArrowPosition.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent.Parent
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local unwrap = require(Utility.unwrap)
local Types = require(Utility.Types)
local Radius = require(Enums.Radius)
local PopoverSide = require(Enums.PopoverSide)
local Constants = require(Foundation... | 867 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Popover/ContentPlugin/usePanelSizing.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent.Parent
local Enums = Foundation.Enums
local Utility = Foundation.Utility
local positioning = require(script.Parent.Parent.positioning)
local unwrap = require(Utility.unwrap)
local isState = require(Utility.isState)
local Types = require(Utility.Types)
local PopoverSide... | 910 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Popover/ContentPlugin/usePluginAnchor.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent.Parent
local Utility = Foundation.Utility
local Components = Foundation.Components
local View = require(Components.View)
local unwrap = require(Utility.unwrap)
local Types = require(Utility.Types)
local StudioUri = require(Utility.Plugin.StudioUri)
local OverlayProvider ... | 1,412 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Popover/Popover.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local Utility = Foundation.Utility
local PopoverAnchor = require(script.Parent.Anchor)
local PopoverContext = require(script.Parent.PopoverContext)
local PopoverContentProxy = require(script.Parent.PopoverContentProxy)
local unwrap = require(Utility.unwrap)
local withDef... | 377 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Popover/Popover.story.luau | luau | .luau | --!nonstrict
local Foundation = script.Parent.Parent.Parent
local PackageManager = require(Foundation.PackageManager)
local Fusion = PackageManager.getPackage("Fusion")
local Dash = PackageManager.getPackage("Dash")
local Components = Foundation.Components
local Utility = Foundation.Utility
local Enums = Foundation.... | 3,924 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Popover/PopoverArrow.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local PackageManager = require(Foundation.PackageManager)
local Dash = PackageManager.getPackage("Dash")
local Components = Foundation.Components
local Utility = Foundation.Utility
local View = require(Components.View)
local unwrap = require(Utility.unwrap)
local strip... | 410 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Popover/PopoverContentProxy.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local Utility = Foundation.Utility
local Content = require(script.Parent.Content)
local ContentPlugin = require(script.Parent.ContentPlugin)
local isPluginSecurity = require(Utility.isPluginSecurity)
local Types = require(Utility.Types)
local PluginProvider = require(Fo... | 183 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Popover/PopoverContext.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local PackageManager = require(Foundation.PackageManager)
local Fusion = PackageManager.getPackage("Fusion")
local Utility = Foundation.Utility
local Types = require(Utility.Types)
local StudioUri = require(Utility.Plugin.StudioUri)
type UsedAs<T> = Types.UsedAs<T>
type... | 139 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Popover/PopoverShadow.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local Components = Foundation.Components
local Utility = Foundation.Utility
local Image = require(Components.Image)
local unwrap = require(Utility.unwrap)
local Types = require(Utility.Types)
local ThemeProvider = require(Foundation.Providers.ThemeProvider)
local Const... | 373 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Popover/init.luau | luau | .luau | local Popover = require(script.Popover)
local PopoverAnchor = require(script.Anchor)
local PopoverContent = require(script.Content)
export type PopoverProps = Popover.PopoverProps
export type PopoverAnchorProps = PopoverAnchor.PopoverAnchorProps
export type PopoverContentProps = PopoverContent.PopoverContentProps
ret... | 95 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Popover/positioning.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local Enums = Foundation.Enums
local PopoverAlign = require(Enums.PopoverAlign)
local PopoverSide = require(Enums.PopoverSide)
type PopoverSide = PopoverSide.PopoverSide
type PopoverAlign = PopoverAlign.PopoverAlign
local function calculatePopoverBounds(
side: PopoverS... | 2,223 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Popover/useFloating.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local positioning = require(script.Parent.positioning)
local unwrap = require(Utility.unwrap)
local isState = require(Utility.isState)
local Types = require(Utility.Types)
local PopoverAlign = require(En... | 1,247 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Popover/useMeasurableRef.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local PackageManager = require(Foundation.PackageManager)
local Signal = PackageManager.getPackage("Signal")
local Utility = Foundation.Utility
local unwrap = require(Utility.unwrap)
local isState = require(Utility.isState)
local Types = require(Utility.Types)
type Use... | 756 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/RadioGroup/Item/RadioGroupItem.story.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent.Parent
local PackageManager = require(Foundation.PackageManager)
local Fusion = PackageManager.getPackage("Fusion")
local Dash = PackageManager.getPackage("Dash")
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local RadioGroupItem = require(script.Par... | 595 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/RadioGroup/Item/init.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local Components = Foundation.Components
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local BaseInput = require(Components.BaseInput)
local View = require(Components.View)
local unwrap = require(Utility.unwrap)
local withDefaults = require(Utility.w... | 672 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/RadioGroup/Item/useRadioGroupItemVariants.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent.Parent
local Components = Foundation.Components
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local BaseInput = require(Components.BaseInput)
local useVariants = require(Utility.useVariants)
local composeStyleVariant = require(Utility.composeStyleVar... | 502 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/RadioGroup/RadioGroup.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local Components = Foundation.Components
local Utility = Foundation.Utility
local View = require(Components.View)
local unwrap = require(Utility.unwrap)
local isState = require(Utility.isState)
local withDefaults = require(Utility.withDefaults)
local withCommonProps = r... | 491 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/RadioGroup/RadioGroup.story.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local PackageManager = require(Foundation.PackageManager)
local Fusion = PackageManager.getPackage("Fusion")
local Dash = PackageManager.getPackage("Dash")
local Components = Foundation.Components
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local R... | 1,720 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/RadioGroup/RadioGroupContext.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local PackageManager = require(Foundation.PackageManager)
local Fusion = PackageManager.getPackage("Fusion")
local Utility = Foundation.Utility
local Types = require(Utility.Types)
type UsedAs<T> = Types.UsedAs<T>
export type RadioGroupContextType = {
value: UsedAs<st... | 136 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/RadioGroup/init.luau | luau | .luau | local RadioGroupRoot = require(script.RadioGroup)
local RadioGroupItem = require(script.Item)
local RadioGroup = {
Root = RadioGroupRoot,
Item = RadioGroupItem
}
export type RadioGroupProps = RadioGroupRoot.RadioGroupProps
export type RadioGroupItemProps = RadioGroupItem.RadioGroupItemProps
return RadioGroup
| 73 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/RadioGroup/useRadioGroup.luau | luau | .luau | local RadioGroupContext = require(script.Parent.RadioGroupContext)
export type RadioGroupContextType = RadioGroupContext.RadioGroupContextType
local function useRadioGroup(): RadioGroupContextType
return RadioGroupContext:now()
end
return useRadioGroup
| 54 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/ScrollView/ScrollView.story.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local PackageManager = require(Foundation.PackageManager)
local Fusion = PackageManager.getPackage("Fusion")
local Components = Foundation.Components
local Utility = Foundation.Utility
local Text = require(Components.Text)
local View = require(Components.View)
local Fra... | 1,257 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/ScrollView/init.luau | luau | .luau | local Foundation = script.Parent.Parent
local PackageManager = require(Foundation.PackageManager)
local Fusion = PackageManager.getPackage("Fusion")
local Dash = PackageManager.getPackage("Dash")
local Components = Foundation.Components
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local View = r... | 2,248 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/SearchInput/SearchInput.story.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local PackageManager = require(Foundation.PackageManager)
local Fusion = PackageManager.getPackage("Fusion")
local Dash = PackageManager.getPackage("Dash")
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local Components = Foundation.Components
local u... | 1,360 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/SearchInput/init.luau | luau | .luau | local Foundation = script.Parent.Parent
local PackageManager = require(Foundation.PackageManager)
local Components = Foundation.Components
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local View = require(Components.View)
local Icon = require(Components.Icon)
local BaseTextInput = require(Compone... | 1,179 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Skeleton/Skeleton.story.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local PackageManager = require(Foundation.PackageManager)
local Fusion = PackageManager.getPackage("Fusion")
local Dash = PackageManager.getPackage("Dash")
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local Skeleton = require(script.Parent)
local u... | 374 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Slider/Slider.story.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local PackageManager = require(Foundation.PackageManager)
local Fusion = PackageManager.getPackage("Fusion")
local Dash = PackageManager.getPackage("Dash")
local Components = Foundation.Components
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local S... | 2,269 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Slider/calculateSliderStepValue.luau | luau | .luau | local function calculateSliderStepValue(unsteppedValue: number, step: number, range: NumberRange)
if step > 0 then
-- Calculate steps from the range minimum to handle non-zero ranges
local stepsFromMin = math.floor((unsteppedValue - range.Min) / step + 0.5)
local steppedValue = math.clamp(range.Min + stepsFromMi... | 116 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Slider/useSliderVariants.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local useVariants = require(Utility.useVariants)
local composeStyleVariant = require(Utility.composeStyleVariant)
local Types = require(Utility.Types)
local InputSize = require(Enums.InputSize)
local Slid... | 664 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Snackbar/Snackbar.story.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local PackageManager = require(Foundation.PackageManager)
local Fusion = PackageManager.getPackage("Fusion")
local Utility = Foundation.Utility
local Snackbar = require(script.Parent)
local View = require(Foundation.Components.View)
local unwrap = require(Utility.unwra... | 743 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/StatusIndicator/StatusIndicator.story.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local PackageManager = require(Foundation.PackageManager)
local Fusion = PackageManager.getPackage("Fusion")
local Dash = PackageManager.getPackage("Dash")
local Components = Foundation.Components
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local S... | 1,119 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/StatusIndicator/init.luau | luau | .luau | local Foundation = script.Parent.Parent
local PackageManager = require(Foundation.PackageManager)
local Fusion = PackageManager.getPackage("Fusion")
local Components = Foundation.Components
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local useStatusIndicatorVariants = require(script.useStatusIn... | 935 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/StatusIndicator/useStatusIndicatorVariants.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local useVariants = require(Utility.useVariants)
local composeStyleVariant = require(Utility.composeStyleVariant)
local Types = require(Utility.Types)
local StatusIndicatorSize = require(Enums.StatusIndic... | 1,226 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Text/FontScales.luau | luau | .luau | return {
[Font.fromEnum(Enum.Font.BuilderSans).Family] = 1.26,
}
| 21 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Text/Text.story.luau | luau | .luau | --!nonstrict
local Foundation = script.Parent.Parent.Parent
local PackageManager = require(Foundation.PackageManager)
local Fusion = PackageManager.getPackage("Fusion")
local Components = Foundation.Components
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local View = require(Components.View)
lo... | 619 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Text/init.luau | luau | .luau | --!nonstrict
local Foundation = script.Parent.Parent
local PackageManager = require(Foundation.PackageManager)
local Fusion = PackageManager.getPackage("Fusion")
local Dash = PackageManager.getPackage("Dash")
local Components = Foundation.Components
local Utility = Foundation.Utility
local FontScales = require(scri... | 1,500 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/TextArea/TextArea.story.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local PackageManager = require(Foundation.PackageManager)
local Fusion = PackageManager.getPackage("Fusion")
local Dash = PackageManager.getPackage("Dash")
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local Components = Foundation.Components
local u... | 1,400 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/TextArea/init.luau | luau | .luau | local Foundation = script.Parent.Parent
local Components = Foundation.Components
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local InputField = require(Components.InputField)
local BaseTextInput = require(Components.BaseTextInput)
local unwrap = require(Utility.unwrap)
local withDefaults = requ... | 924 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/TextInput/TextInput.story.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local PackageManager = require(Foundation.PackageManager)
local Fusion = PackageManager.getPackage("Fusion")
local Dash = PackageManager.getPackage("Dash")
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local Components = Foundation.Components
local u... | 2,004 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/TextInput/init.luau | luau | .luau | local Foundation = script.Parent.Parent
local Components = Foundation.Components
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local View = require(Components.View)
local Icon = require(Components.Icon)
local IconButton = require(Components.IconButton)
local InputField = require(Components.InputFi... | 1,382 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/TextInput/useTextInputVariants.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local PackageManager = require(Foundation.PackageManager)
local BuilderIcons = PackageManager.getPackage("BuilderIcons")
local Enums = Foundation.Enums
local Utility = Foundation.Utility
local Types = require(Utility.Types)
type ColorStyle = Types.ColorStyle
type ColorS... | 1,231 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Tooltip/Tooltip.story.luau | luau | .luau | local Foundation = script.Parent.Parent.Parent
local PackageManager = require(Foundation.PackageManager)
local Fusion = PackageManager.getPackage("Fusion")
local Dash = PackageManager.getPackage("Dash")
local Components = Foundation.Components
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local T... | 1,371 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/Tooltip/init.luau | luau | .luau | local Foundation = script.Parent.Parent
local Components = Foundation.Components
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local Text = require(Components.Text)
local View = require(Components.View)
local Popover = require(Components.Popover)
local Fragment = require(Components.Fragment)
loca... | 1,163 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/View/View.story.luau | luau | .luau | --!nonstrict
local Foundation = script.Parent.Parent.Parent
local PackageManager = require(Foundation.PackageManager)
local Fusion = PackageManager.getPackage("Fusion")
local View = require(Foundation.Components.View)
local Text = require(Foundation.Components.Text)
local unwrap = require(Foundation.Utility.unwrap)... | 725 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Components/View/init.luau | luau | .luau | local Foundation = script.Parent.Parent
local PackageManager = require(Foundation.PackageManager)
local Fusion = PackageManager.getPackage("Fusion")
local Components = Foundation.Components
local Utility = Foundation.Utility
local Enums = Foundation.Enums
local Interactable = require(Components.Interactable)
local ... | 968 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Enums/AccessoryType.luau | luau | .luau | export type AccessoryType = "Icon" | "Media" | "Avatar"
local AccessoryTypeEnum = {
Icon = "Icon" :: "Icon",
Media = "Media" :: "Media",
Avatar = "Avatar" :: "Avatar",
}
return AccessoryTypeEnum
| 59 |
TenebrisNoctua/FusionFoundation | TenebrisNoctua-FusionFoundation-7445323/Foundation/Enums/AlertSeverity.luau | luau | .luau | export type AlertSeverity = "Info" | "Warning" | "Success" | "Error"
local AlertSeverityEnum = {
Info = "Info" :: "Info",
Warning = "Warning" :: "Warning",
Success = "Success" :: "Success",
Error = "Error" :: "Error",
}
return AlertSeverityEnum
| 71 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.