Files
NapCatQQ/.pnpm-store/v3/files/d5/e3922cc56e69d093800861cb10344d3604699b22844a7324d65c4d6662ce5e7fa0761b37aef85a6117e518494a6344dbf1e742db388ab831922cbeddd11f0b
TanTan e311ca3275
Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

438 lines
9.5 KiB
Plaintext

import * as tailwind_variants from 'tailwind-variants';
import { VariantProps } from 'tailwind-variants';
import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
/**
* Accordion wrapper **Tailwind Variants** component
*
* const styles = accordion({...})
*
* @example
* <div role="group" className={styles())}>
* // accordion elements
* </div>
*/
declare const accordion: tailwind_variants.TVReturnType<{
variant: {
light: "";
shadow: "px-4 shadow-medium rounded-medium bg-content1";
bordered: "px-4 border-medium border-divider rounded-medium";
splitted: "flex flex-col gap-2";
};
fullWidth: {
true: "w-full";
};
}, undefined, "px-2", tailwind_variants_dist_config.TVConfig<{
variant: {
light: "";
shadow: "px-4 shadow-medium rounded-medium bg-content1";
bordered: "px-4 border-medium border-divider rounded-medium";
splitted: "flex flex-col gap-2";
};
fullWidth: {
true: "w-full";
};
}, {
variant: {
light: "";
shadow: "px-4 shadow-medium rounded-medium bg-content1";
bordered: "px-4 border-medium border-divider rounded-medium";
splitted: "flex flex-col gap-2";
};
fullWidth: {
true: "w-full";
};
}>, {
variant: {
light: "";
shadow: "px-4 shadow-medium rounded-medium bg-content1";
bordered: "px-4 border-medium border-divider rounded-medium";
splitted: "flex flex-col gap-2";
};
fullWidth: {
true: "w-full";
};
}, undefined, tailwind_variants.TVReturnType<{
variant: {
light: "";
shadow: "px-4 shadow-medium rounded-medium bg-content1";
bordered: "px-4 border-medium border-divider rounded-medium";
splitted: "flex flex-col gap-2";
};
fullWidth: {
true: "w-full";
};
}, undefined, "px-2", tailwind_variants_dist_config.TVConfig<{
variant: {
light: "";
shadow: "px-4 shadow-medium rounded-medium bg-content1";
bordered: "px-4 border-medium border-divider rounded-medium";
splitted: "flex flex-col gap-2";
};
fullWidth: {
true: "w-full";
};
}, {
variant: {
light: "";
shadow: "px-4 shadow-medium rounded-medium bg-content1";
bordered: "px-4 border-medium border-divider rounded-medium";
splitted: "flex flex-col gap-2";
};
fullWidth: {
true: "w-full";
};
}>, unknown, unknown, undefined>>;
/**
* AccordionItem wrapper **Tailwind Variants** component
*
* const {base, heading, indicator, trigger, startContent, title, subtitle, content } = accordionItem({...})
*
* @example
* <div className={base())}>
* <div className={heading())}>
* <button className={trigger())}>
* <div className={startContent()}>
* // content
* </div>
* <div className={titleWrapper()}>
* <h3 className={title())}>Title</h3>
* <span className={subtitle())}>Subtitle</span>
* </div>
* <span className={indicator())}>Indicator</span>
* </button>
* </div>
* <div className={content())}>Content</div>
* </div>
*/
declare const accordionItem: tailwind_variants.TVReturnType<{
variant: {
splitted: {
base: string;
};
};
isCompact: {
true: {
trigger: string;
title: string;
subtitle: string;
indicator: string;
content: string;
};
};
isDisabled: {
true: {
base: string;
};
};
hideIndicator: {
true: {
indicator: string;
};
};
disableAnimation: {
true: {
content: string;
};
false: {
indicator: string;
trigger: string;
};
};
disableIndicatorAnimation: {
true: {
indicator: string;
};
false: {
indicator: string;
};
};
}, {
base: string;
heading: string;
trigger: string[];
startContent: string;
indicator: string;
titleWrapper: string;
title: string;
subtitle: string;
content: string;
}, undefined, tailwind_variants_dist_config.TVConfig<{
variant: {
splitted: {
base: string;
};
};
isCompact: {
true: {
trigger: string;
title: string;
subtitle: string;
indicator: string;
content: string;
};
};
isDisabled: {
true: {
base: string;
};
};
hideIndicator: {
true: {
indicator: string;
};
};
disableAnimation: {
true: {
content: string;
};
false: {
indicator: string;
trigger: string;
};
};
disableIndicatorAnimation: {
true: {
indicator: string;
};
false: {
indicator: string;
};
};
}, {
variant: {
splitted: {
base: string;
};
};
isCompact: {
true: {
trigger: string;
title: string;
subtitle: string;
indicator: string;
content: string;
};
};
isDisabled: {
true: {
base: string;
};
};
hideIndicator: {
true: {
indicator: string;
};
};
disableAnimation: {
true: {
content: string;
};
false: {
indicator: string;
trigger: string;
};
};
disableIndicatorAnimation: {
true: {
indicator: string;
};
false: {
indicator: string;
};
};
}>, {
variant: {
splitted: {
base: string;
};
};
isCompact: {
true: {
trigger: string;
title: string;
subtitle: string;
indicator: string;
content: string;
};
};
isDisabled: {
true: {
base: string;
};
};
hideIndicator: {
true: {
indicator: string;
};
};
disableAnimation: {
true: {
content: string;
};
false: {
indicator: string;
trigger: string;
};
};
disableIndicatorAnimation: {
true: {
indicator: string;
};
false: {
indicator: string;
};
};
}, {
base: string;
heading: string;
trigger: string[];
startContent: string;
indicator: string;
titleWrapper: string;
title: string;
subtitle: string;
content: string;
}, tailwind_variants.TVReturnType<{
variant: {
splitted: {
base: string;
};
};
isCompact: {
true: {
trigger: string;
title: string;
subtitle: string;
indicator: string;
content: string;
};
};
isDisabled: {
true: {
base: string;
};
};
hideIndicator: {
true: {
indicator: string;
};
};
disableAnimation: {
true: {
content: string;
};
false: {
indicator: string;
trigger: string;
};
};
disableIndicatorAnimation: {
true: {
indicator: string;
};
false: {
indicator: string;
};
};
}, {
base: string;
heading: string;
trigger: string[];
startContent: string;
indicator: string;
titleWrapper: string;
title: string;
subtitle: string;
content: string;
}, undefined, tailwind_variants_dist_config.TVConfig<{
variant: {
splitted: {
base: string;
};
};
isCompact: {
true: {
trigger: string;
title: string;
subtitle: string;
indicator: string;
content: string;
};
};
isDisabled: {
true: {
base: string;
};
};
hideIndicator: {
true: {
indicator: string;
};
};
disableAnimation: {
true: {
content: string;
};
false: {
indicator: string;
trigger: string;
};
};
disableIndicatorAnimation: {
true: {
indicator: string;
};
false: {
indicator: string;
};
};
}, {
variant: {
splitted: {
base: string;
};
};
isCompact: {
true: {
trigger: string;
title: string;
subtitle: string;
indicator: string;
content: string;
};
};
isDisabled: {
true: {
base: string;
};
};
hideIndicator: {
true: {
indicator: string;
};
};
disableAnimation: {
true: {
content: string;
};
false: {
indicator: string;
trigger: string;
};
};
disableIndicatorAnimation: {
true: {
indicator: string;
};
false: {
indicator: string;
};
};
}>, unknown, unknown, undefined>>;
type AccordionGroupVariantProps = VariantProps<typeof accordion>;
type AccordionItemVariantProps = VariantProps<typeof accordionItem>;
type AccordionItemSlots = keyof ReturnType<typeof accordionItem>;
export { AccordionGroupVariantProps, AccordionItemSlots, AccordionItemVariantProps, accordion, accordionItem };