Skip to main content
Glama

Storyden

by Southclaws
Mozilla Public License 2.0
227
tooltip.mjs1.26 kB
import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs'; import { createRecipe } from './create-recipe.mjs'; const tooltipDefaultVariants = {} const tooltipCompoundVariants = [] const tooltipSlotNames = [ [ "trigger", "tooltip__trigger" ], [ "arrow", "tooltip__arrow" ], [ "arrowTip", "tooltip__arrowTip" ], [ "positioner", "tooltip__positioner" ], [ "content", "tooltip__content" ] ] const tooltipSlotFns = /* @__PURE__ */ tooltipSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, tooltipDefaultVariants, getSlotCompoundVariant(tooltipCompoundVariants, slotName))]) const tooltipFn = memo((props = {}) => { return Object.fromEntries(tooltipSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)])) }) const tooltipVariantKeys = [] const getVariantProps = (variants) => ({ ...tooltipDefaultVariants, ...compact(variants) }) export const tooltip = /* @__PURE__ */ Object.assign(tooltipFn, { __recipe__: false, __name__: 'tooltip', raw: (props) => props, classNameMap: {}, variantKeys: tooltipVariantKeys, variantMap: {}, splitVariantProps(props) { return splitProps(props, tooltipVariantKeys) }, 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