@ngrok/mantle 0.0.4 → 0.0.6
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.
- package/dist/index.d.ts +70 -36
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +227 -137
- package/dist/index.js.map +1 -1
- package/dist/mantle.css +490 -96
- package/package.json +54 -56
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { ClassValue } from "clsx";
|
|
2
2
|
import { AnchorHTMLAttributes, ButtonHTMLAttributes, HTMLAttributes, CSSProperties, InputHTMLAttributes, TdHTMLAttributes, ThHTMLAttributes, PropsWithChildren } from "react";
|
|
3
3
|
import { VariantProps as _VariantProps1 } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as SheetPrimitive from "@radix-ui/react-dialog";
|
|
5
5
|
import * as PopoverPrimitive from "@radix-ui/react-popover";
|
|
6
|
+
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
7
|
+
import { z } from "zod";
|
|
6
8
|
/**
|
|
7
9
|
* Conditionally add Tailwind (and other) CSS classes.
|
|
8
10
|
*
|
|
@@ -53,9 +55,8 @@ type DeepNonNullable<Type> = {
|
|
|
53
55
|
*/
|
|
54
56
|
type VariantProps<Variants extends (props?: Record<PropertyKey, unknown> | undefined) => string> = Partial<DeepNonNullable<_VariantProps1<Variants>>>;
|
|
55
57
|
declare const buttonVariants: (props?: ({
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
size?: "default" | "sm" | "lg" | null | undefined;
|
|
58
|
+
appearance?: "outline" | "solid" | "ghost" | null | undefined;
|
|
59
|
+
priority?: "default" | "muted" | "danger" | null | undefined;
|
|
59
60
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
60
61
|
type ButtonVariants = VariantProps<typeof buttonVariants>;
|
|
61
62
|
/**
|
|
@@ -71,9 +72,8 @@ export type ButtonProps = WithAsChild & ButtonHTMLAttributes<HTMLButtonElement>
|
|
|
71
72
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button
|
|
72
73
|
*/
|
|
73
74
|
export const Button: import("react").ForwardRefExoticComponent<WithAsChild & ButtonHTMLAttributes<HTMLButtonElement> & Partial<import("types/deep-non-nullable").DeepNonNullable<import("class-variance-authority").VariantProps<(props?: ({
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
size?: "default" | "sm" | "lg" | null | undefined;
|
|
75
|
+
appearance?: "outline" | "solid" | "ghost" | null | undefined;
|
|
76
|
+
priority?: "default" | "muted" | "danger" | null | undefined;
|
|
77
77
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string>>> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
78
78
|
export type CardProps = HTMLAttributes<HTMLDivElement>;
|
|
79
79
|
/**
|
|
@@ -121,6 +121,24 @@ export type WithStyleProps = {
|
|
|
121
121
|
*/
|
|
122
122
|
style?: CSSProperties;
|
|
123
123
|
};
|
|
124
|
+
/**
|
|
125
|
+
* List of supported languages for syntax highlighting.
|
|
126
|
+
* @private
|
|
127
|
+
*/
|
|
128
|
+
declare const supportedLanguages: readonly ["bash", "cs", "csharp", "css", "dotnet", "go", "html", "java", "javascript", "js", "json", "jsx", "py", "python", "rb", "ruby", "rust", "sh", "shell", "ts", "tsx", "typescript", "yaml", "yml"];
|
|
129
|
+
/**
|
|
130
|
+
* Supported languages for syntax highlighting.
|
|
131
|
+
*/
|
|
132
|
+
type SupportedLanguage = (typeof supportedLanguages)[number];
|
|
133
|
+
/**
|
|
134
|
+
* Parses a markdown code block (```) language class into a SupportedLanguage.
|
|
135
|
+
* Defaults to "sh" if no supported language is found.
|
|
136
|
+
*/
|
|
137
|
+
export function parseLanguage(value: `language-${string}` | `lang-${string}` | (string & {}) | undefined): SupportedLanguage;
|
|
138
|
+
/**
|
|
139
|
+
* Type Predicate: checks if an arbitrary value is a supported syntax highlighting language.
|
|
140
|
+
*/
|
|
141
|
+
export const isSupportedLanguage: (value: unknown) => value is "html" | "ruby" | "rb" | "json" | "go" | "py" | "bash" | "cs" | "csharp" | "css" | "dotnet" | "java" | "javascript" | "js" | "jsx" | "python" | "rust" | "sh" | "shell" | "ts" | "tsx" | "typescript" | "yaml" | "yml";
|
|
124
142
|
export const CodeBlock: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
125
143
|
export const CodeBlockBody: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
126
144
|
export const CodeBlockCode: import("react").ForwardRefExoticComponent<WithStyleProps & {
|
|
@@ -139,24 +157,19 @@ export const CodeBlockCopyButton: import("react").ForwardRefExoticComponent<With
|
|
|
139
157
|
} & import("react").RefAttributes<HTMLButtonElement>>;
|
|
140
158
|
type CodeBlockExpanderButtonProps = Omit<HTMLAttributes<HTMLButtonElement>, "children" | "aria-controls" | "aria-expanded">;
|
|
141
159
|
export const CodeBlockExpanderButton: import("react").ForwardRefExoticComponent<CodeBlockExpanderButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
142
|
-
export const
|
|
143
|
-
export const
|
|
144
|
-
export const
|
|
145
|
-
export const
|
|
146
|
-
export const
|
|
147
|
-
export const
|
|
160
|
+
export const Sheet: import("react").FC<SheetPrimitive.DialogProps>;
|
|
161
|
+
export const SheetTrigger: import("react").ForwardRefExoticComponent<SheetPrimitive.DialogTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
162
|
+
export const SheetClose: import("react").ForwardRefExoticComponent<SheetPrimitive.DialogCloseProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
163
|
+
export const SheetPortal: import("react").FC<SheetPrimitive.DialogPortalProps>;
|
|
164
|
+
export const SheetOverlay: import("react").ForwardRefExoticComponent<Omit<SheetPrimitive.DialogOverlayProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
165
|
+
export const SheetContent: import("react").ForwardRefExoticComponent<Omit<SheetPrimitive.DialogContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & _VariantProps1<(props?: ({
|
|
148
166
|
side?: "left" | "top" | "bottom" | "right" | null | undefined;
|
|
149
167
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string> & import("react").RefAttributes<HTMLDivElement>>;
|
|
150
|
-
export const
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
export const
|
|
155
|
-
({ className, ...props }: HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
156
|
-
displayName: string;
|
|
157
|
-
};
|
|
158
|
-
export const DrawerTitle: import("react").ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogTitleProps & import("react").RefAttributes<HTMLHeadingElement>, "ref"> & import("react").RefAttributes<HTMLHeadingElement>>;
|
|
159
|
-
export const DrawerDescription: import("react").ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogDescriptionProps & import("react").RefAttributes<HTMLParagraphElement>, "ref"> & import("react").RefAttributes<HTMLParagraphElement>>;
|
|
168
|
+
export const SheetBody: ({ className, ...props }: HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
|
|
169
|
+
export const SheetHeader: ({ className, ...props }: HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
|
|
170
|
+
export const SheetFooter: ({ className, ...props }: HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
|
|
171
|
+
export const SheetTitle: import("react").ForwardRefExoticComponent<Omit<SheetPrimitive.DialogTitleProps & import("react").RefAttributes<HTMLHeadingElement>, "ref"> & import("react").RefAttributes<HTMLHeadingElement>>;
|
|
172
|
+
export const SheetDescription: import("react").ForwardRefExoticComponent<Omit<SheetPrimitive.DialogDescriptionProps & import("react").RefAttributes<HTMLParagraphElement>, "ref"> & import("react").RefAttributes<HTMLParagraphElement>>;
|
|
160
173
|
/**
|
|
161
174
|
* A component to render inline code.
|
|
162
175
|
*/
|
|
@@ -182,7 +195,7 @@ export type AutoComplete = "off" | "on" | "name" | "honorific-prefix" | "given-n
|
|
|
182
195
|
*/
|
|
183
196
|
export type InputType = "button" | "checkbox" | "color" | "date" | "datetime-local" | "email" | "file" | "hidden" | "image" | "month" | "number" | "password" | "radio" | "range" | "reset" | "search" | "submit" | "tel" | "text" | "time" | "url" | "week";
|
|
184
197
|
declare const inputVariants: (props?: ({
|
|
185
|
-
state?: "default" | "
|
|
198
|
+
state?: "default" | "danger" | null | undefined;
|
|
186
199
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
187
200
|
type InputVariants = VariantProps<typeof inputVariants>;
|
|
188
201
|
/**
|
|
@@ -196,7 +209,7 @@ export type InputProps = InputVariants & Omit<InputHTMLAttributes<HTMLInputEleme
|
|
|
196
209
|
* Used to create interactive controls for web-based forms in order to accept data from the user
|
|
197
210
|
*/
|
|
198
211
|
export const Input: import("react").ForwardRefExoticComponent<Partial<import("types/deep-non-nullable").DeepNonNullable<import("class-variance-authority").VariantProps<(props?: ({
|
|
199
|
-
state?: "default" | "
|
|
212
|
+
state?: "default" | "danger" | null | undefined;
|
|
200
213
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string>>> & Omit<InputHTMLAttributes<HTMLInputElement>, "type" | "autoComplete"> & {
|
|
201
214
|
autoComplete?: AutoComplete | undefined;
|
|
202
215
|
type?: InputType | undefined;
|
|
@@ -225,17 +238,14 @@ export const MediaObjectContent: import("react").ForwardRefExoticComponent<HTMLA
|
|
|
225
238
|
export const Popover: import("react").FC<PopoverPrimitive.PopoverProps>;
|
|
226
239
|
export const PopoverTrigger: import("react").ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
227
240
|
export const PopoverContent: import("react").ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
228
|
-
export const Select: import("react").FC<
|
|
229
|
-
export const SelectGroup: import("react").ForwardRefExoticComponent<
|
|
230
|
-
export const SelectValue: import("react").ForwardRefExoticComponent<
|
|
231
|
-
export const
|
|
232
|
-
export const
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
export const
|
|
236
|
-
export const SelectLabel: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-select").SelectLabelProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
237
|
-
export const SelectOption: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-select").SelectItemProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
238
|
-
export const SelectSeparator: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-select").SelectSeparatorProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
241
|
+
export const Select: import("react").FC<SelectPrimitive.SelectProps>;
|
|
242
|
+
export const SelectGroup: import("react").ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
243
|
+
export const SelectValue: import("react").ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & import("react").RefAttributes<HTMLSpanElement>>;
|
|
244
|
+
export const SelectTrigger: import("react").ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
245
|
+
export const SelectContent: import("react").ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
246
|
+
export const SelectLabel: import("react").ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
247
|
+
export const SelectItem: import("react").ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
248
|
+
export const SelectSeparator: import("react").ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
239
249
|
type Props = Exclude<HTMLAttributes<HTMLDivElement>, "children">;
|
|
240
250
|
export function Skeleton({ className, ...props }: Props): import("react/jsx-runtime").JSX.Element;
|
|
241
251
|
export const Table: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLTableElement> & import("react").RefAttributes<HTMLTableElement>>;
|
|
@@ -297,5 +307,29 @@ type Primitive = string | number | boolean | undefined | null;
|
|
|
297
307
|
* Tagged template literal to format code blocks and normalize leading indentation
|
|
298
308
|
*/
|
|
299
309
|
export function code(strings: TemplateStringsArray, ...values: Primitive[]): string;
|
|
310
|
+
declare const metaSchema: z.ZodObject<{
|
|
311
|
+
collapsible: z.ZodDefault<z.ZodBoolean>;
|
|
312
|
+
disableCopy: z.ZodDefault<z.ZodBoolean>;
|
|
313
|
+
mode: z.ZodOptional<z.ZodEnum<["file", "cli"]>>;
|
|
314
|
+
title: z.ZodOptional<z.ZodString>;
|
|
315
|
+
}, "strip", z.ZodTypeAny, {
|
|
316
|
+
collapsible: boolean;
|
|
317
|
+
disableCopy: boolean;
|
|
318
|
+
mode?: "file" | "cli" | undefined;
|
|
319
|
+
title?: string | undefined;
|
|
320
|
+
}, {
|
|
321
|
+
collapsible?: boolean | undefined;
|
|
322
|
+
disableCopy?: boolean | undefined;
|
|
323
|
+
mode?: "file" | "cli" | undefined;
|
|
324
|
+
title?: string | undefined;
|
|
325
|
+
}>;
|
|
326
|
+
type Meta = z.infer<typeof metaSchema>;
|
|
327
|
+
/**
|
|
328
|
+
* Parses a markdown code block (```) metastring into a meta object.
|
|
329
|
+
* Defaults to DefaultMeta if no metastring given or if metastring is invalid.
|
|
330
|
+
* Useful for parsing the metastring from a markdown code block to pass into the
|
|
331
|
+
* CodeBlock components as props.
|
|
332
|
+
*/
|
|
333
|
+
export function parseMetastring(value: string | undefined): Meta;
|
|
300
334
|
|
|
301
335
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":"
|
|
1
|
+
{"mappings":";;;;;;;AAGA;;;;GAIG;AACH,mBAAmB,GAAG,MAAM,EAAE,UAAU,EAAE,UAEzC;ACVD;;GAEG;AACH,0BAA0B;IACzB;;;;;;;;;;;;;OAaG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;ACdF,OAAA,MAAM,8BAA+B,MAAM,GAAG,SAAS,WAIrD,CAAC;AAIH;;;;;;;;GAQG;AACH,OAAA,MAAM,2JAIJ,CAAC;AC1BH;;GAEG;AACH,qBAA4B,IAAI,IAAI;KAClC,QAAQ,IAAI,MAAM,IAAI,CAAC,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,EAAE;CAC/C,CAAC;ACFF;;;;GAIG;AACH,kBAAyB,QAAQ,SAAS,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC,WAAW,EAAE,OAAO,CAAC,GAAG,SAAS,KAAK,MAAM,IAAI,OAAO,CAChH,gBAAgB,eAAgB,QAAQ,CAAC,CAAC,CAC1C,CAAC;ACHF,QAAA,MAAM;;;8EA2DL,CAAC;AAEF,sBAAsB,aAAa,qBAAqB,CAAC,CAAC;AAE1D;;GAEG;AACH,0BAA0B,WAAW,GAAG,qBAAqB,iBAAiB,CAAC,GAAG,cAAc,CAAC;AAEjG;;;;;;;GAOG;AACH,OAAA,MAAM;;;qIAML,CAAC;ACnFF,wBAAwB,eAAe,cAAc,CAAC,CAAC;AAEvD;;;GAGG;AACH,OAAO,MAAM,0GAQX,CAAC;AAGH;;GAEG;AACH,OAAO,MAAM,8GAIX,CAAC;AAGH;;GAEG;AAC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AIL,CAAC;ACzDF;;GAEG;AACH,QAAA,MAAM,yFAA0F,CAAC;AAEjG;;GAEG;AACH,oBAAa,CAAC,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC;AAErC;;GAEG;AACH,OAAA,MAAM,eAAgB,KAAK,+EAAU,CAAC;AAEtC;;GAEG;AACH,wBAAiB,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,KAAK,CAM/C;AAOD;;GAEG;AACH,0BAA0B,CAAC,OAAO,KAAK,EAAE,QAAQ,EAAE,CAAC,OAAO,KAAK,KAAK,IAAI,CAAC,CAAC;AA6B3E,iCAA0B,iBAAiB,GAAG;IAC7C,YAAY,CAAC,EAAE,KAAK,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;GAEG;AACH,8BAAuB,EAAE,QAAQ,EAAE,YAAuB,EAAE,UAAgC,EAAE,EAAE,kBAAkB,2CAmDjH;AAED;;;;GAIG;AACH,+CAMC;AAsCD;;;GAGG;AACH,OAAA,MAAM;;;6CAuCL,CAAC;AClOF,OAAA,MAAM,2FAA0B,CAAC;AAEjC,OAAA,MAAM,2EAAc,CAAC;AAErB,OAAA,MAAM,mKAAwB,CAAC;AAE/B,OAAA,MAAM,6NAYL,CAAC;ACtBF,iBAAiB,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,GAAG,IAAI,CAAC;AAE9D;;GAEG;AACH,qBAAqB,OAAO,EAAE,oBAAoB,EAAE,GAAG,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CAwBlF;ACxBD,QAAA,MAAM;;;;;;;;;;;;;;;EAKJ,CAAC;AAIH,YAAmB,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;AAW9C;;;;;GAKG;AACH,gCAAgC,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,CA2B/D","sources":["components/components/cx/index.ts","components/components/types/as-child.ts","components/components/anchor/index.tsx","components/components/types/deep-non-nullable.ts","components/components/types/variant-props.ts","components/components/button/index.tsx","components/components/card/index.tsx","components/components/types/with-style-props.ts","components/components/code-block/line-numbers.ts","components/components/code-block/supported-languages.ts","components/components/code-block/index.tsx","components/components/sheet/index.tsx","components/components/inline-code/index.tsx","components/components/input/types.ts","components/components/input/index.tsx","components/components/media-object/index.tsx","components/components/popover/index.tsx","components/components/select/index.tsx","components/components/skeleton/index.tsx","components/components/table/index.tsx","components/components/theme-provider/index.tsx","components/components/tooltip/index.tsx","components/components/code-block/code.ts","components/components/code-block/parse-metastring.ts","components/components/index.tsx","components/index.tsx"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"// component exports\nexport { Anchor, anchorClassNames } from \"./anchor\";\nexport { Button } from \"./button\";\nexport { Card, CardBody, CardFooter, CardHeader, CardTitle } from \"./card\";\nexport {\n\tCodeBlock,\n\tCodeBlockBody,\n\tCodeBlockCode,\n\tCodeBlockCopyButton,\n\tCodeBlockExpanderButton,\n\tCodeBlockHeader,\n\tCodeBlockTitle,\n} from \"./code-block\";\nexport {\n\tSheet,\n\tSheetBody,\n\tSheetClose,\n\tSheetContent,\n\tSheetDescription,\n\tSheetFooter,\n\tSheetHeader,\n\tSheetOverlay,\n\tSheetPortal,\n\tSheetTitle,\n\tSheetTrigger,\n} from \"./sheet\";\nexport { InlineCode } from \"./inline-code\";\nexport { Input } from \"./input\";\nexport { MediaObject, MediaObjectMedia, MediaObjectContent } from \"./media-object\";\nexport { Popover, PopoverTrigger, PopoverContent } from \"./popover\";\nexport {\n\tSelect,\n\tSelectContent,\n\tSelectGroup,\n\tSelectLabel,\n\tSelectItem,\n\tSelectSeparator,\n\tSelectTrigger,\n\tSelectValue,\n} from \"./select\";\nexport { Skeleton } from \"./skeleton\";\nexport { Table, TableHeader, TableBody, TableFooter, TableHead, TableRow, TableCell, TableCaption } from \"./table\";\nexport { PreventWrongThemeFlash, ThemeProvider } from \"./theme-provider\";\nexport { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider } from \"./tooltip\";\n\n// utils exports\nexport { code } from \"./code-block/code\";\nexport { parseMetastring } from \"./code-block/parse-metastring\";\nexport { isSupportedLanguage, parseLanguage } from \"./code-block/supported-languages\";\nexport { cx } from \"./cx\";\nexport { isTheme, theme, useTheme } from \"./theme-provider\";\n\n// types exports\nexport type { ButtonProps } from \"./button\";\nexport type { CardProps, CardTitleProps } from \"./card\";\nexport type { InputProps } from \"./input\";\nexport type { AutoComplete, InputType } from \"./input/types\";\nexport type { Theme, ThemeProviderProps } from \"./theme-provider\";\nexport type { WithAsChild } from \"./types/as-child\";\nexport type { WithStyleProps } from \"./types/with-style-props\";\n"],"names":[],"version":3,"file":"index.d.ts.map"}
|