import * as class_variance_authority_types from 'class-variance-authority/types'; import * as preact from 'preact'; import { JSX, ComponentChildren, ComponentType } from 'preact'; import { VariantProps } from 'class-variance-authority'; import { ClassValue } from 'clsx'; import { SiteName, NavNode, Heading, PlaygroundProvider, CopyPageAction, IslandName } from '@clean-jsdoc-theme/utils'; export { ChromeKey, DEFAULT_I18N, I18n, InterpolationVars, LanguageProvider, Messages, createI18n, useI18n, useTranslation } from '@clean-jsdoc-theme/bhasha'; /** * shadcn-style Button, ported to Preact. Variant + size are cva-driven and * resolve to the semantic theme tokens (see dwar's `@theme` mapping). * * Note: Preact function components don't forward refs by default, and we avoid * pulling in `preact/compat` just for that. Call sites that need a ref on the * underlying element use `buttonVariants(...)` on a native `