Skip to main content
Glama

Storyden

by Southclaws
Mozilla Public License 2.0
227
checkbox.mjs1.34 kB
import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs'; import { createRecipe } from './create-recipe.mjs'; const checkboxDefaultVariants = { "size": "md" } const checkboxCompoundVariants = [] const checkboxSlotNames = [ [ "root", "checkbox__root" ], [ "label", "checkbox__label" ], [ "control", "checkbox__control" ], [ "indicator", "checkbox__indicator" ], [ "group", "checkbox__group" ] ] const checkboxSlotFns = /* @__PURE__ */ checkboxSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, checkboxDefaultVariants, getSlotCompoundVariant(checkboxCompoundVariants, slotName))]) const checkboxFn = memo((props = {}) => { return Object.fromEntries(checkboxSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)])) }) const checkboxVariantKeys = [ "size" ] const getVariantProps = (variants) => ({ ...checkboxDefaultVariants, ...compact(variants) }) export const checkbox = /* @__PURE__ */ Object.assign(checkboxFn, { __recipe__: false, __name__: 'checkbox', raw: (props) => props, classNameMap: {}, variantKeys: checkboxVariantKeys, variantMap: { "size": [ "sm", "md", "lg" ] }, splitVariantProps(props) { return splitProps(props, checkboxVariantKeys) }, getVariantProps })

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Southclaws/storyden'

If you have feedback or need assistance with the MCP directory API, please join our Discord server