@mintlify/components 0.3.13 → 0.3.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- export declare function CodeBlock({ filename, filenameColor, copiedTooltipColor, children, }: {
3
- filename?: string;
4
- /** Color of the filename text and the border underneath it when the content is being shown */
5
- filenameColor?: string;
6
- /** Background color for the tooltip saying Copied when you click the clipboard */
7
- copiedTooltipColor?: string;
8
- children?: any;
9
- }): JSX.Element;
@@ -1,11 +0,0 @@
1
- /// <reference types="react" />
2
- export declare type CodeGroupProps = {
3
- children: any;
4
- isSmallText?: boolean;
5
- };
6
- /**
7
- * Group multiple code blocks into a tabbed UI.
8
- *
9
- * @param {CodeBlock[]} props.children
10
- */
11
- export declare function CodeGroup({ children, isSmallText }: CodeGroupProps): JSX.Element;
@@ -1,6 +0,0 @@
1
- import { ReactElement } from "react";
2
- export declare function CodeTabBar({ filename, filenameColor, children, }: {
3
- filename: string;
4
- filenameColor?: string;
5
- children?: ReactElement;
6
- }): JSX.Element;
@@ -1,2 +0,0 @@
1
- /// <reference types="react" />
2
- export declare function CopyToClipboard(): JSX.Element;
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- export declare function CopyToClipboardButton({ textToCopy, copiedTooltipColor, }: {
3
- textToCopy: string;
4
- copiedTooltipColor?: string;
5
- }): JSX.Element | null;
@@ -1,3 +0,0 @@
1
- import { CodeBlock } from "./CodeBlock";
2
- import { CodeGroup } from "./CodeGroup";
3
- export { CodeBlock, CodeGroup };
@@ -1,12 +0,0 @@
1
- /// <reference types="react" />
2
- /**
3
- * Group multiple code blocks into a tabbed UI
4
- *
5
- * @param {object} props
6
- * @param {CodeBlock[]} props.children
7
- */
8
- export declare function CodeGroup({ actions, isSmallText, children, }: {
9
- actions: any;
10
- isSmallText: boolean;
11
- children: any;
12
- }): JSX.Element;
@@ -1,14 +0,0 @@
1
- /// <reference types="react" />
2
- /**
3
- * The toggle moves according to the dark class name.
4
- * defaultChecked exists so the input values returned by onChange are in sync with the original theme.
5
- */
6
- export declare function LightDarkToggle({ defaultChecked, onChange, colors, }: {
7
- defaultChecked: boolean;
8
- onChange: (enabled: boolean) => void;
9
- colors?: {
10
- brandColor: string;
11
- lightBackground: string;
12
- darkBackground: string;
13
- };
14
- }): JSX.Element;
@@ -1,7 +0,0 @@
1
- /// <reference types="react" />
2
- export declare function UserDefinedIcon({ icon, size, color, }: {
3
- icon: React.ReactNode;
4
- size?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 12;
5
- color?: string;
6
- }): JSX.Element | null;
7
- export declare const isBrandsIcon: (icon?: string) => boolean;