docs(site): add Slider and Tooltip API reference pages (#862)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Darius Cepulis
2026-03-16 14:05:33 -05:00
committed by GitHub
co-authored by Claude Opus 4.6
parent 487be3ea96
commit 7a5ce94bca
44 changed files with 1126 additions and 48 deletions
@@ -19,9 +19,10 @@ import InlineMarkdown from './InlineMarkdown.astro';
interface Props {
component: string;
partOrder?: string[];
}
const { component } = Astro.props;
const { component, partOrder } = Astro.props;
const { framework } = Astro.params;
if (!framework || !isValidFramework(framework)) {
throw new Error(`Invalid or missing framework param.`);
@@ -31,7 +32,7 @@ const entry = await getEntry('componentReference', kebabCase(component));
const apiRef: ComponentReference | null = entry?.data ?? null;
if (!apiRef) return;
const apiReferenceModel = createComponentReferenceModel(component, apiRef);
const apiReferenceModel = createComponentReferenceModel(component, apiRef, partOrder);
if (!apiReferenceModel) return;
const showAttributeName = framework === 'html';