Skip to main content
Glama

Storyden

by Southclaws
Mozilla Public License 2.0
227
alert.mjs1.21 kB
import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs'; import { createRecipe } from './create-recipe.mjs'; const alertDefaultVariants = {} const alertCompoundVariants = [] const alertSlotNames = [ [ "root", "alert__root" ], [ "content", "alert__content" ], [ "description", "alert__description" ], [ "icon", "alert__icon" ], [ "title", "alert__title" ] ] const alertSlotFns = /* @__PURE__ */ alertSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, alertDefaultVariants, getSlotCompoundVariant(alertCompoundVariants, slotName))]) const alertFn = memo((props = {}) => { return Object.fromEntries(alertSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)])) }) const alertVariantKeys = [] const getVariantProps = (variants) => ({ ...alertDefaultVariants, ...compact(variants) }) export const alert = /* @__PURE__ */ Object.assign(alertFn, { __recipe__: false, __name__: 'alert', raw: (props) => props, classNameMap: {}, variantKeys: alertVariantKeys, variantMap: {}, splitVariantProps(props) { return splitProps(props, alertVariantKeys) }, 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