@ngrok/mantle 0.0.3 → 0.0.5

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.
Files changed (65) hide show
  1. package/dist/index.d.ts +151 -120
  2. package/dist/index.d.ts.map +1 -0
  3. package/dist/index.js +960 -1276
  4. package/dist/index.js.map +1 -0
  5. package/dist/{assets/mantle.css → mantle.css} +5 -29
  6. package/package.json +49 -50
  7. package/dist/assets/fonts/euclid-square/EuclidSquare-Bold-WebS.woff +0 -0
  8. package/dist/assets/fonts/euclid-square/EuclidSquare-BoldItalic-WebS.woff +0 -0
  9. package/dist/assets/fonts/euclid-square/EuclidSquare-Light-WebS.woff +0 -0
  10. package/dist/assets/fonts/euclid-square/EuclidSquare-LightItalic-WebS.woff +0 -0
  11. package/dist/assets/fonts/euclid-square/EuclidSquare-Medium-WebS.woff +0 -0
  12. package/dist/assets/fonts/euclid-square/EuclidSquare-MediumItalic-WebS.woff +0 -0
  13. package/dist/assets/fonts/euclid-square/EuclidSquare-Regular-WebS.woff +0 -0
  14. package/dist/assets/fonts/euclid-square/EuclidSquare-RegularItalic-WebS.woff +0 -0
  15. package/dist/assets/fonts/euclid-square/EuclidSquare-Semibold-WebS.woff +0 -0
  16. package/dist/assets/fonts/euclid-square/EuclidSquare-SemiboldItalic-WebS.woff +0 -0
  17. package/dist/assets/fonts/euclid-square/swisstypefaces-EULA.pdf +0 -0
  18. package/dist/assets/fonts/fonts.css +0 -65
  19. package/dist/assets/fonts/ibm-plex-mono/IBMPlexMono-Bold.woff +0 -0
  20. package/dist/assets/fonts/ibm-plex-mono/IBMPlexMono-BoldItalic.woff +0 -0
  21. package/dist/assets/fonts/ibm-plex-mono/IBMPlexMono-ExtraLight.woff +0 -0
  22. package/dist/assets/fonts/ibm-plex-mono/IBMPlexMono-ExtraLightItalic.woff +0 -0
  23. package/dist/assets/fonts/ibm-plex-mono/IBMPlexMono-Italic.woff +0 -0
  24. package/dist/assets/fonts/ibm-plex-mono/IBMPlexMono-Light.woff +0 -0
  25. package/dist/assets/fonts/ibm-plex-mono/IBMPlexMono-LightItalic.woff +0 -0
  26. package/dist/assets/fonts/ibm-plex-mono/IBMPlexMono-Medium.woff +0 -0
  27. package/dist/assets/fonts/ibm-plex-mono/IBMPlexMono-MediumItalic.woff +0 -0
  28. package/dist/assets/fonts/ibm-plex-mono/IBMPlexMono-Regular.woff +0 -0
  29. package/dist/assets/fonts/ibm-plex-mono/IBMPlexMono-SemiBold.woff +0 -0
  30. package/dist/assets/fonts/ibm-plex-mono/IBMPlexMono-SemiBoldItalic.woff +0 -0
  31. package/dist/assets/fonts/ibm-plex-mono/IBMPlexMono-Text.woff +0 -0
  32. package/dist/assets/fonts/ibm-plex-mono/IBMPlexMono-TextItalic.woff +0 -0
  33. package/dist/assets/fonts/ibm-plex-mono/IBMPlexMono-Thin.woff +0 -0
  34. package/dist/assets/fonts/ibm-plex-mono/IBMPlexMono-ThinItalic.woff +0 -0
  35. package/dist/assets/fonts/ibm-plex-mono/license.txt +0 -92
  36. package/dist/dts/anchor/index.d.ts +0 -5
  37. package/dist/dts/back-to-top-button/index.d.ts +0 -8
  38. package/dist/dts/button/index.d.ts +0 -27
  39. package/dist/dts/card/index.d.ts +0 -25
  40. package/dist/dts/code-block/code.d.ts +0 -6
  41. package/dist/dts/code-block/index.d.ts +0 -24
  42. package/dist/dts/code-block/line-numbers.d.ts +0 -8
  43. package/dist/dts/code-block/supported-languages.d.ts +0 -18
  44. package/dist/dts/cx/index.d.ts +0 -7
  45. package/dist/dts/drawer/index.d.ts +0 -22
  46. package/dist/dts/dropdown-menu/index.d.ts +0 -27
  47. package/dist/dts/hooks/use-matches-media-query.d.ts +0 -1
  48. package/dist/dts/hooks/use-prefers-reduced-motion.d.ts +0 -4
  49. package/dist/dts/index.d.ts +0 -21
  50. package/dist/dts/input/index.d.ts +0 -24
  51. package/dist/dts/input/types.d.ts +0 -20
  52. package/dist/dts/media-object/index.d.ts +0 -23
  53. package/dist/dts/portal/index.d.ts +0 -6
  54. package/dist/dts/select/index.d.ts +0 -13
  55. package/dist/dts/skeleton/index.d.ts +0 -4
  56. package/dist/dts/tailwind-plugins/tailwind-plugin-firefox-variant.d.ts +0 -10
  57. package/dist/dts/tailwind.preset.d.ts +0 -332
  58. package/dist/dts/theme-provider/index.d.ts +0 -53
  59. package/dist/dts/tooltip/index.d.ts +0 -6
  60. package/dist/dts/types/as-child.d.ts +0 -20
  61. package/dist/dts/types/deep-non-nullable.d.ts +0 -6
  62. package/dist/dts/types/variant-props.d.ts +0 -8
  63. package/dist/dts/types/with-style-props.d.ts +0 -24
  64. package/dist/tailwind.preset.d.ts +0 -332
  65. package/dist/tailwind.preset.js +0 -365
package/dist/index.d.ts CHANGED
@@ -1,29 +1,20 @@
1
- /// <reference types="react" />
1
+ import { ClassValue } from "clsx";
2
+ import { AnchorHTMLAttributes, ButtonHTMLAttributes, HTMLAttributes, CSSProperties, InputHTMLAttributes, TdHTMLAttributes, ThHTMLAttributes, PropsWithChildren } from "react";
3
+ import { VariantProps as _VariantProps1 } from "class-variance-authority";
4
+ import * as DrawerPrimitive from "@radix-ui/react-dialog";
5
+ import * as PopoverPrimitive from "@radix-ui/react-popover";
6
+ import * as SelectPrimitive from "@radix-ui/react-select";
7
+ import { z } from "zod";
2
8
  /**
3
- * @ngrok/mantle v0.0.3
4
- *
5
- * Copyright (c) ngrok.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE.md file in the root directory of this source tree.
9
+ * Conditionally add Tailwind (and other) CSS classes.
9
10
  *
10
- * @license MIT
11
- */
12
- import * as react from 'react';
13
- import { AnchorHTMLAttributes, ButtonHTMLAttributes, HTMLAttributes, CSSProperties, InputHTMLAttributes, PropsWithChildren } from 'react';
14
- import * as class_variance_authority from 'class-variance-authority';
15
- import { VariantProps as VariantProps$1 } from 'class-variance-authority';
16
- import * as class_variance_authority_types from 'class-variance-authority/types';
17
- import * as react_jsx_runtime from 'react/jsx-runtime';
18
- import * as DrawerPrimitive from '@radix-ui/react-dialog';
19
- import * as _radix_ui_react_select from '@radix-ui/react-select';
20
- import * as _radix_ui_react_tooltip from '@radix-ui/react-tooltip';
21
- import { ClassValue } from 'clsx';
22
-
11
+ * Allows for tailwind overrides in LTR-specificity-like order of applied classes.
12
+ */
13
+ export function cx(...inputs: ClassValue[]): string;
23
14
  /**
24
15
  * Utility type for adding the `asChild` boolean prop to a component.
25
16
  */
26
- type WithAsChild = {
17
+ export type WithAsChild = {
27
18
  /**
28
19
  * Use the `asChild` prop to compose Radix's functionality onto alternative
29
20
  * element types or your own React components.
@@ -40,34 +31,39 @@ type WithAsChild = {
40
31
  */
41
32
  asChild?: boolean;
42
33
  };
43
-
44
- declare const anchorClassNames: (className: string | undefined) => string;
45
- declare const Anchor: react.ForwardRefExoticComponent<AnchorHTMLAttributes<HTMLAnchorElement> & WithAsChild & react.RefAttributes<HTMLAnchorElement>>;
46
-
34
+ export const anchorClassNames: (className: string | undefined) => string;
35
+ /**
36
+ * Fundamental component for rendering links to external addresses.
37
+ *
38
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a
39
+ *
40
+ * @note If you need to link to an internal application route, prefer using the
41
+ * [`react-router-dom` `<Link>`](https://reactrouter.com/en/main/components/link) or the
42
+ * [`@remix-run/react` `<Link>`](https://remix.run/docs/en/main/components/link).
43
+ */
44
+ export const Anchor: import("react").ForwardRefExoticComponent<AnchorHTMLAttributes<HTMLAnchorElement> & WithAsChild & import("react").RefAttributes<HTMLAnchorElement>>;
47
45
  /**
48
46
  * Makes all properties in an object non-nullable, recursively.
49
47
  */
50
48
  type DeepNonNullable<Type> = {
51
49
  [Property in keyof Type]-?: Type[Property] & {};
52
50
  };
53
-
54
51
  /**
55
52
  * Variant props that are optional and cannot be `null`.
56
53
  *
57
54
  * Using VariantProps directly from CVA produces that can be `null`, which is not what we want.
58
55
  */
59
- type VariantProps<Variants extends (props?: Record<PropertyKey, unknown> | undefined) => string> = Partial<DeepNonNullable<VariantProps$1<Variants>>>;
60
-
56
+ type VariantProps<Variants extends (props?: Record<PropertyKey, unknown> | undefined) => string> = Partial<DeepNonNullable<_VariantProps1<Variants>>>;
61
57
  declare const buttonVariants: (props?: ({
62
58
  priority?: "default" | "primary" | "secondary" | null | undefined;
63
59
  state?: "default" | "danger" | null | undefined;
64
60
  size?: "default" | "sm" | "lg" | null | undefined;
65
- } & class_variance_authority_types.ClassProp) | undefined) => string;
61
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
66
62
  type ButtonVariants = VariantProps<typeof buttonVariants>;
67
63
  /**
68
64
  * The props for the `Button` component.
69
65
  */
70
- type ButtonProps = WithAsChild & ButtonHTMLAttributes<HTMLButtonElement> & ButtonVariants;
66
+ export type ButtonProps = WithAsChild & ButtonHTMLAttributes<HTMLButtonElement> & ButtonVariants;
71
67
  /**
72
68
  * Renders a button or a component that looks like a button, an interactive
73
69
  * element activated by a user with a mouse, keyboard, finger, voice command, or
@@ -76,41 +72,39 @@ type ButtonProps = WithAsChild & ButtonHTMLAttributes<HTMLButtonElement> & Butto
76
72
  *
77
73
  * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button
78
74
  */
79
- declare const Button: react.ForwardRefExoticComponent<WithAsChild & ButtonHTMLAttributes<HTMLButtonElement> & Partial<DeepNonNullable<class_variance_authority.VariantProps<(props?: ({
75
+ export const Button: import("react").ForwardRefExoticComponent<WithAsChild & ButtonHTMLAttributes<HTMLButtonElement> & Partial<import("types/deep-non-nullable").DeepNonNullable<import("class-variance-authority").VariantProps<(props?: ({
80
76
  priority?: "default" | "primary" | "secondary" | null | undefined;
81
77
  state?: "default" | "danger" | null | undefined;
82
78
  size?: "default" | "sm" | "lg" | null | undefined;
83
- } & class_variance_authority_types.ClassProp) | undefined) => string>>> & react.RefAttributes<HTMLButtonElement>>;
84
-
85
- type CardProps = HTMLAttributes<HTMLDivElement>;
79
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string>>> & import("react").RefAttributes<HTMLButtonElement>>;
80
+ export type CardProps = HTMLAttributes<HTMLDivElement>;
86
81
  /**
87
82
  * A container that can be used to display content in a box resembling a playing
88
83
  * card.
89
84
  */
90
- declare const Card: react.ForwardRefExoticComponent<CardProps & react.RefAttributes<HTMLDivElement>>;
85
+ export const Card: import("react").ForwardRefExoticComponent<CardProps & import("react").RefAttributes<HTMLDivElement>>;
91
86
  /**
92
87
  * The main content of a card. Usually composed as a direct child of a `Card` component.
93
88
  */
94
- declare const CardBody: react.ForwardRefExoticComponent<CardProps & react.RefAttributes<HTMLDivElement>>;
89
+ export const CardBody: import("react").ForwardRefExoticComponent<CardProps & import("react").RefAttributes<HTMLDivElement>>;
95
90
  /**
96
91
  * The footer container of a card. Usually composed as a direct child of a `Card` component.
97
92
  */
98
- declare const CardFooter: react.ForwardRefExoticComponent<CardProps & react.RefAttributes<HTMLDivElement>>;
93
+ export const CardFooter: import("react").ForwardRefExoticComponent<CardProps & import("react").RefAttributes<HTMLDivElement>>;
99
94
  /**
100
95
  * The header container of a card. Usually composed as a direct child of a `Card` component.
101
96
  */
102
- declare const CardHeader: react.ForwardRefExoticComponent<CardProps & react.RefAttributes<HTMLDivElement>>;
103
- type CardTitleProps = HTMLAttributes<HTMLHeadingElement> & WithAsChild;
97
+ export const CardHeader: import("react").ForwardRefExoticComponent<CardProps & import("react").RefAttributes<HTMLDivElement>>;
98
+ export type CardTitleProps = HTMLAttributes<HTMLHeadingElement> & WithAsChild;
104
99
  /**
105
100
  * The title of a card. Usually composed as a direct child of a `CardHeader` component.
106
101
  */
107
- declare const CardTitle: react.ForwardRefExoticComponent<HTMLAttributes<HTMLHeadingElement> & WithAsChild & react.RefAttributes<HTMLParagraphElement>>;
108
-
102
+ export const CardTitle: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLHeadingElement> & WithAsChild & import("react").RefAttributes<HTMLParagraphElement>>;
109
103
  /**
110
104
  * Helper type that includes an optional className and style prop for react
111
105
  * components.
112
106
  */
113
- type WithStyleProps = {
107
+ export type WithStyleProps = {
114
108
  /**
115
109
  * A string. Specifies the element’s CSS class name.
116
110
  *
@@ -129,45 +123,64 @@ type WithStyleProps = {
129
123
  */
130
124
  style?: CSSProperties;
131
125
  };
132
-
133
- declare const CodeBlock: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
134
- declare const CodeBlockBody: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
135
- declare const CodeBlockCode: react.ForwardRefExoticComponent<WithStyleProps & {
126
+ /**
127
+ * List of supported languages for syntax highlighting.
128
+ * @private
129
+ */
130
+ 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"];
131
+ /**
132
+ * Supported languages for syntax highlighting.
133
+ */
134
+ type SupportedLanguage = (typeof supportedLanguages)[number];
135
+ /**
136
+ * Parses a markdown code block (```) language class into a SupportedLanguage.
137
+ * Defaults to "sh" if no supported language is found.
138
+ */
139
+ export function parseLanguage(value: `language-${string}` | `lang-${string}` | (string & {}) | undefined): SupportedLanguage;
140
+ /**
141
+ * Type Predicate: checks if an arbitrary value is a supported syntax highlighting language.
142
+ */
143
+ 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";
144
+ export const CodeBlock: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
145
+ export const CodeBlockBody: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
146
+ export const CodeBlockCode: import("react").ForwardRefExoticComponent<WithStyleProps & {
136
147
  children?: string | undefined;
137
148
  highlightLines?: (number | `${number}-${number}`)[] | undefined;
138
- language?: "html" | "ruby" | "bash" | "cs" | "csharp" | "css" | "dotnet" | "go" | "java" | "javascript" | "js" | "json" | "jsx" | "py" | "python" | "rb" | "rust" | "sh" | "shell" | "ts" | "tsx" | "typescript" | "yaml" | "yml" | undefined;
149
+ language?: "html" | "ruby" | "rb" | "json" | "go" | "py" | "bash" | "cs" | "csharp" | "css" | "dotnet" | "java" | "javascript" | "js" | "jsx" | "python" | "rust" | "sh" | "shell" | "ts" | "tsx" | "typescript" | "yaml" | "yml" | undefined;
139
150
  showLineNumbers?: boolean | undefined;
140
- } & react.RefAttributes<HTMLPreElement>>;
141
- declare const CodeBlockHeader: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
142
- declare const CodeBlockTitle: react.ForwardRefExoticComponent<HTMLAttributes<HTMLHeadingElement> & {
151
+ } & import("react").RefAttributes<HTMLPreElement>>;
152
+ export const CodeBlockHeader: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
153
+ export const CodeBlockTitle: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLHeadingElement> & {
143
154
  asChild?: boolean | undefined;
144
- } & react.RefAttributes<HTMLHeadingElement>>;
145
- declare const CodeBlockCopyButton: react.ForwardRefExoticComponent<WithStyleProps & {
155
+ } & import("react").RefAttributes<HTMLHeadingElement>>;
156
+ export const CodeBlockCopyButton: import("react").ForwardRefExoticComponent<WithStyleProps & {
146
157
  onCopy?: ((value: string) => void) | undefined;
147
158
  onCopyError?: ((error: unknown) => void) | undefined;
148
- } & react.RefAttributes<HTMLButtonElement>>;
159
+ } & import("react").RefAttributes<HTMLButtonElement>>;
149
160
  type CodeBlockExpanderButtonProps = Omit<HTMLAttributes<HTMLButtonElement>, "children" | "aria-controls" | "aria-expanded">;
150
- declare const CodeBlockExpanderButton: react.ForwardRefExoticComponent<CodeBlockExpanderButtonProps & react.RefAttributes<HTMLButtonElement>>;
151
-
152
- declare const Drawer: react.FC<DrawerPrimitive.DialogProps>;
153
- declare const DrawerTrigger: react.ForwardRefExoticComponent<DrawerPrimitive.DialogTriggerProps & react.RefAttributes<HTMLButtonElement>>;
154
- declare const DrawerClose: react.ForwardRefExoticComponent<DrawerPrimitive.DialogCloseProps & react.RefAttributes<HTMLButtonElement>>;
155
- declare const DrawerPortal: react.FC<DrawerPrimitive.DialogPortalProps>;
156
- declare const DrawerOverlay: react.ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogOverlayProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
157
- declare const DrawerContent: react.ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & VariantProps$1<(props?: ({
158
- side?: "left" | "right" | "bottom" | "top" | null | undefined;
159
- } & class_variance_authority_types.ClassProp) | undefined) => string> & react.RefAttributes<HTMLDivElement>>;
160
- declare const DrawerHeader: {
161
- ({ className, ...props }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
161
+ export const CodeBlockExpanderButton: import("react").ForwardRefExoticComponent<CodeBlockExpanderButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
162
+ export const Drawer: import("react").FC<DrawerPrimitive.DialogProps>;
163
+ export const DrawerTrigger: import("react").ForwardRefExoticComponent<DrawerPrimitive.DialogTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
164
+ export const DrawerClose: import("react").ForwardRefExoticComponent<DrawerPrimitive.DialogCloseProps & import("react").RefAttributes<HTMLButtonElement>>;
165
+ export const DrawerPortal: import("react").FC<DrawerPrimitive.DialogPortalProps>;
166
+ export const DrawerOverlay: import("react").ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogOverlayProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
167
+ export const DrawerContent: import("react").ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & _VariantProps1<(props?: ({
168
+ side?: "left" | "top" | "bottom" | "right" | null | undefined;
169
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string> & import("react").RefAttributes<HTMLDivElement>>;
170
+ export const DrawerHeader: {
171
+ ({ className, ...props }: HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
162
172
  displayName: string;
163
173
  };
164
- declare const DrawerFooter: {
165
- ({ className, ...props }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
174
+ export const DrawerFooter: {
175
+ ({ className, ...props }: HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
166
176
  displayName: string;
167
177
  };
168
- declare const DrawerTitle: react.ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogTitleProps & react.RefAttributes<HTMLHeadingElement>, "ref"> & react.RefAttributes<HTMLHeadingElement>>;
169
- declare const DrawerDescription: react.ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogDescriptionProps & react.RefAttributes<HTMLParagraphElement>, "ref"> & react.RefAttributes<HTMLParagraphElement>>;
170
-
178
+ export const DrawerTitle: import("react").ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogTitleProps & import("react").RefAttributes<HTMLHeadingElement>, "ref"> & import("react").RefAttributes<HTMLHeadingElement>>;
179
+ export const DrawerDescription: import("react").ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogDescriptionProps & import("react").RefAttributes<HTMLParagraphElement>, "ref"> & import("react").RefAttributes<HTMLParagraphElement>>;
180
+ /**
181
+ * A component to render inline code.
182
+ */
183
+ export const InlineCode: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLSpanElement> & import("react").RefAttributes<HTMLSpanElement>>;
171
184
  /**
172
185
  * (Not a Boolean attribute!) The autocomplete attribute takes as its value a space-separated string that describes what,
173
186
  * if any, type of autocomplete functionality the input should provide. A typical implementation of autocomplete recalls
@@ -180,36 +193,34 @@ declare const DrawerDescription: react.ForwardRefExoticComponent<Omit<DrawerPrim
180
193
  *
181
194
  * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete#values
182
195
  */
183
- type AutoComplete = "off" | "on" | "name" | "honorific-prefix" | "given-name" | "additional-name" | "family-name" | "honorific-suffix" | "nickname" | "email" | "username" | "new-password" | "current-password" | "one-time-code" | "organization-title" | "organization" | "street-address" | "address-line1" | "address-line2" | "address-line3" | "address-level4" | "address-level3" | "address-level2" | "address-level1" | "country" | "country-name" | "postal-code" | "cc-name" | "cc-given-name" | "cc-additional-name" | "cc-family-name" | "cc-number" | "cc-exp" | "cc-exp-month" | "cc-exp-year" | "cc-csc" | "cc-type" | "transaction-currency" | "transaction-amount" | "language" | "bday" | "bday-day" | "bday-month" | "bday-year" | "sex" | "tel" | "tel-country-code" | "tel-national" | "tel-area-code" | "tel-local" | "tel-extension" | "impp" | "url" | "photo";
196
+ export type AutoComplete = "off" | "on" | "name" | "honorific-prefix" | "given-name" | "additional-name" | "family-name" | "honorific-suffix" | "nickname" | "email" | "username" | "new-password" | "current-password" | "one-time-code" | "organization-title" | "organization" | "street-address" | "address-line1" | "address-line2" | "address-line3" | "address-level4" | "address-level3" | "address-level2" | "address-level1" | "country" | "country-name" | "postal-code" | "cc-name" | "cc-given-name" | "cc-additional-name" | "cc-family-name" | "cc-number" | "cc-exp" | "cc-exp-month" | "cc-exp-year" | "cc-csc" | "cc-type" | "transaction-currency" | "transaction-amount" | "language" | "bday" | "bday-day" | "bday-month" | "bday-year" | "sex" | "tel" | "tel-country-code" | "tel-national" | "tel-area-code" | "tel-local" | "tel-extension" | "impp" | "url" | "photo";
184
197
  /**
185
198
  * A string specifying the type of control to render. For example, to create a checkbox, a value of `"checkbox"` is used.
186
199
  * If omitted (or an unknown value is specified), the input type `"text"` is used, creating a plaintext input field.
187
200
  *
188
201
  * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#input_types
189
202
  */
190
- 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";
191
-
203
+ 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";
192
204
  declare const inputVariants: (props?: ({
193
- state?: "default" | "danger" | "success" | null | undefined;
194
- } & class_variance_authority_types.ClassProp) | undefined) => string;
205
+ state?: "default" | "success" | "danger" | null | undefined;
206
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
195
207
  type InputVariants = VariantProps<typeof inputVariants>;
196
208
  /**
197
209
  * The props for the `Input` component.
198
210
  */
199
- type InputProps = InputVariants & Omit<InputHTMLAttributes<HTMLInputElement>, "autoComplete" | "type"> & {
211
+ export type InputProps = InputVariants & Omit<InputHTMLAttributes<HTMLInputElement>, "autoComplete" | "type"> & {
200
212
  autoComplete?: AutoComplete;
201
213
  type?: InputType;
202
214
  };
203
215
  /**
204
216
  * Used to create interactive controls for web-based forms in order to accept data from the user
205
217
  */
206
- declare const Input: react.ForwardRefExoticComponent<Partial<DeepNonNullable<class_variance_authority.VariantProps<(props?: ({
207
- state?: "default" | "danger" | "success" | null | undefined;
208
- } & class_variance_authority_types.ClassProp) | undefined) => string>>> & Omit<InputHTMLAttributes<HTMLInputElement>, "type" | "autoComplete"> & {
218
+ export const Input: import("react").ForwardRefExoticComponent<Partial<import("types/deep-non-nullable").DeepNonNullable<import("class-variance-authority").VariantProps<(props?: ({
219
+ state?: "default" | "success" | "danger" | null | undefined;
220
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string>>> & Omit<InputHTMLAttributes<HTMLInputElement>, "type" | "autoComplete"> & {
209
221
  autoComplete?: AutoComplete | undefined;
210
222
  type?: InputType | undefined;
211
- } & react.RefAttributes<HTMLInputElement>>;
212
-
223
+ } & import("react").RefAttributes<HTMLInputElement>>;
213
224
  /**
214
225
  * The media object is an image/icon (media) to the left, with descriptive
215
226
  * content (title and subtitle/description) to the right.
@@ -222,31 +233,36 @@ declare const Input: react.ForwardRefExoticComponent<Partial<DeepNonNullable<cla
222
233
  * Compose the media object with the `MediaObjectMedia` and `MediaObjectContent`
223
234
  * components as direct children.
224
235
  */
225
- declare const MediaObject: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
236
+ export const MediaObject: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
226
237
  /**
227
238
  * The container for an image or icon to display in the media slot of the media object.
228
239
  */
229
- declare const MediaObjectMedia: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
240
+ export const MediaObjectMedia: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
230
241
  /**
231
242
  * The container for the content slot of a media object.
232
243
  */
233
- declare const MediaObjectContent: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
234
-
235
- declare const Select: react.FC<_radix_ui_react_select.SelectProps>;
236
- declare const SelectGroup: react.ForwardRefExoticComponent<_radix_ui_react_select.SelectGroupProps & react.RefAttributes<HTMLDivElement>>;
237
- declare const SelectValue: react.ForwardRefExoticComponent<_radix_ui_react_select.SelectValueProps & react.RefAttributes<HTMLSpanElement>>;
238
- declare const SelectIcon: react.ForwardRefExoticComponent<_radix_ui_react_select.SelectIconProps & react.RefAttributes<HTMLSpanElement>>;
239
- declare const SelectTrigger: react.ForwardRefExoticComponent<Omit<_radix_ui_react_select.SelectTriggerProps & react.RefAttributes<HTMLButtonElement>, "ref"> & {
240
- hideIcon?: boolean | undefined;
241
- } & react.RefAttributes<HTMLButtonElement>>;
242
- declare const SelectContent: react.ForwardRefExoticComponent<Omit<_radix_ui_react_select.SelectContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
243
- declare const SelectLabel: react.ForwardRefExoticComponent<Omit<_radix_ui_react_select.SelectLabelProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
244
- declare const SelectOption: react.ForwardRefExoticComponent<Omit<_radix_ui_react_select.SelectItemProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
245
- declare const SelectSeparator: react.ForwardRefExoticComponent<Omit<_radix_ui_react_select.SelectSeparatorProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
246
-
244
+ export const MediaObjectContent: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
245
+ export const Popover: import("react").FC<PopoverPrimitive.PopoverProps>;
246
+ export const PopoverTrigger: import("react").ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
247
+ export const PopoverContent: import("react").ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
248
+ export const Select: import("react").FC<SelectPrimitive.SelectProps>;
249
+ export const SelectGroup: import("react").ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & import("react").RefAttributes<HTMLDivElement>>;
250
+ export const SelectValue: import("react").ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & import("react").RefAttributes<HTMLSpanElement>>;
251
+ export const SelectTrigger: import("react").ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
252
+ export const SelectContent: import("react").ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
253
+ export const SelectLabel: import("react").ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
254
+ export const SelectItem: import("react").ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
255
+ export const SelectSeparator: import("react").ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
247
256
  type Props = Exclude<HTMLAttributes<HTMLDivElement>, "children">;
248
- declare function Skeleton({ className, ...props }: Props): react_jsx_runtime.JSX.Element;
249
-
257
+ export function Skeleton({ className, ...props }: Props): import("react/jsx-runtime").JSX.Element;
258
+ export const Table: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLTableElement> & import("react").RefAttributes<HTMLTableElement>>;
259
+ export const TableHeader: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLTableSectionElement> & import("react").RefAttributes<HTMLTableSectionElement>>;
260
+ export const TableBody: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLTableSectionElement> & import("react").RefAttributes<HTMLTableSectionElement>>;
261
+ export const TableFooter: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLTableSectionElement> & import("react").RefAttributes<HTMLTableSectionElement>>;
262
+ export const TableRow: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLTableRowElement> & import("react").RefAttributes<HTMLTableRowElement>>;
263
+ export const TableHead: import("react").ForwardRefExoticComponent<ThHTMLAttributes<HTMLTableCellElement> & import("react").RefAttributes<HTMLTableCellElement>>;
264
+ export const TableCell: import("react").ForwardRefExoticComponent<TdHTMLAttributes<HTMLTableCellElement> & import("react").RefAttributes<HTMLTableCellElement>>;
265
+ export const TableCaption: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLTableCaptionElement> & import("react").RefAttributes<HTMLTableCaptionElement>>;
250
266
  /**
251
267
  * themes is a tuple of valid themes.
252
268
  */
@@ -254,58 +270,73 @@ declare const themes: readonly ["system", "light", "dark", "light-high-contrast"
254
270
  /**
255
271
  * Theme is a string literal type that represents a valid theme.
256
272
  */
257
- type Theme = (typeof themes)[number];
273
+ export type Theme = (typeof themes)[number];
258
274
  /**
259
275
  * theme is a helper which translates the Theme type into a string literal type.
260
276
  */
261
- declare const theme: (value: Theme) => "dark" | "light" | "system" | "light-high-contrast" | "dark-high-contrast";
277
+ export const theme: (value: Theme) => "dark" | "light" | "system" | "light-high-contrast" | "dark-high-contrast";
262
278
  /**
263
279
  * Type predicate that checks if a value is a valid theme.
264
280
  */
265
- declare function isTheme(value: unknown): value is Theme;
281
+ export function isTheme(value: unknown): value is Theme;
266
282
  /**
267
283
  * ThemeProviderState is the shape of the state returned by the ThemeProviderContext.
268
284
  */
269
285
  type ThemeProviderState = [theme: Theme, setTheme: (theme: Theme) => void];
270
- type ThemeProviderProps = PropsWithChildren & {
286
+ export type ThemeProviderProps = PropsWithChildren & {
271
287
  defaultTheme?: Theme;
272
288
  storageKey?: string;
273
289
  };
274
290
  /**
275
291
  * ThemeProvider is a React Context Provider that provides the current theme and a function to set the theme.
276
292
  */
277
- declare function ThemeProvider({ children, defaultTheme, storageKey }: ThemeProviderProps): react_jsx_runtime.JSX.Element;
293
+ export function ThemeProvider({ children, defaultTheme, storageKey }: ThemeProviderProps): import("react/jsx-runtime").JSX.Element;
278
294
  /**
279
295
  * useTheme returns the current theme and a function to set the theme.
280
296
  *
281
297
  * @note This function will throw an error if used outside of a ThemeProvider context tree.
282
298
  */
283
- declare function useTheme(): ThemeProviderState;
299
+ export function useTheme(): ThemeProviderState;
284
300
  /**
285
301
  * PreventWrongThemeFlash is a React component that prevents the wrong theme from flashing on initial page load.
286
302
  * Render as high as possible in the DOM, preferably in the <head> element.
287
303
  */
288
- declare const PreventWrongThemeFlash: ({ defaultTheme, storageKey, }: {
304
+ export const PreventWrongThemeFlash: ({ defaultTheme, storageKey, }: {
289
305
  defaultTheme?: "dark" | "light" | "system" | "light-high-contrast" | "dark-high-contrast" | undefined;
290
306
  storageKey?: string | undefined;
291
- }) => react_jsx_runtime.JSX.Element;
292
-
293
- declare const TooltipProvider: react.FC<_radix_ui_react_tooltip.TooltipProviderProps>;
294
- declare const Tooltip: react.FC<_radix_ui_react_tooltip.TooltipProps>;
295
- declare const TooltipTrigger: react.ForwardRefExoticComponent<_radix_ui_react_tooltip.TooltipTriggerProps & react.RefAttributes<HTMLButtonElement>>;
296
- declare const TooltipContent: react.ForwardRefExoticComponent<Omit<_radix_ui_react_tooltip.TooltipContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
297
-
307
+ }) => import("react/jsx-runtime").JSX.Element;
308
+ export const TooltipProvider: import("react").FC<import("@radix-ui/react-tooltip").TooltipProviderProps>;
309
+ export const Tooltip: import("react").FC<import("@radix-ui/react-tooltip").TooltipProps>;
310
+ export const TooltipTrigger: import("react").ForwardRefExoticComponent<import("@radix-ui/react-tooltip").TooltipTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
311
+ export const TooltipContent: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-tooltip").TooltipContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
298
312
  type Primitive = string | number | boolean | undefined | null;
299
313
  /**
300
314
  * Tagged template literal to format code blocks and normalize leading indentation
301
315
  */
302
- declare function code(strings: TemplateStringsArray, ...values: Primitive[]): string;
303
-
316
+ export function code(strings: TemplateStringsArray, ...values: Primitive[]): string;
317
+ declare const metaSchema: z.ZodObject<{
318
+ collapsible: z.ZodDefault<z.ZodBoolean>;
319
+ disableCopy: z.ZodDefault<z.ZodBoolean>;
320
+ mode: z.ZodOptional<z.ZodEnum<["file", "cli"]>>;
321
+ title: z.ZodOptional<z.ZodString>;
322
+ }, "strip", z.ZodTypeAny, {
323
+ collapsible: boolean;
324
+ disableCopy: boolean;
325
+ mode?: "file" | "cli" | undefined;
326
+ title?: string | undefined;
327
+ }, {
328
+ collapsible?: boolean | undefined;
329
+ disableCopy?: boolean | undefined;
330
+ mode?: "file" | "cli" | undefined;
331
+ title?: string | undefined;
332
+ }>;
333
+ type Meta = z.infer<typeof metaSchema>;
304
334
  /**
305
- * Conditionally add Tailwind (and other) CSS classes.
306
- *
307
- * Allows for tailwind overrides in LTR-specificity-like order of applied classes.
335
+ * Parses a markdown code block (```) metastring into a meta object.
336
+ * Defaults to DefaultMeta if no metastring given or if metastring is invalid.
337
+ * Useful for parsing the metastring from a markdown code block to pass into the
338
+ * CodeBlock components as props.
308
339
  */
309
- declare function cx(...inputs: ClassValue[]): string;
340
+ export function parseMetastring(value: string | undefined): Meta;
310
341
 
311
- export { Anchor, type AutoComplete, Button, type ButtonProps, Card, CardBody, CardFooter, CardHeader, type CardProps, CardTitle, type CardTitleProps, CodeBlock, CodeBlockBody, CodeBlockCode, CodeBlockCopyButton, CodeBlockExpanderButton, CodeBlockHeader, CodeBlockTitle, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, Input, type InputProps, type InputType, MediaObject, MediaObjectContent, MediaObjectMedia, PreventWrongThemeFlash, Select, SelectContent, SelectGroup, SelectIcon, SelectLabel, SelectOption, SelectSeparator, SelectTrigger, SelectValue, Skeleton, type Theme, ThemeProvider, type ThemeProviderProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type WithAsChild, type WithStyleProps, anchorClassNames, code, cx, isTheme, theme, useTheme };
342
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;;;;;AAGA;;;;GAIG;AACH,mBAAmB,GAAG,MAAM,EAAE,UAAU,EAAE,UAEzC;ACVD;;GAEG;AACH,0BAA0B;IACzB;;;;;;;;;;;;;OAaG;IACH,OAAO,CAAC,EAAE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AAC;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/drawer/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\tDrawer,\n\tDrawerPortal,\n\tDrawerOverlay,\n\tDrawerTrigger,\n\tDrawerClose,\n\tDrawerContent,\n\tDrawerHeader,\n\tDrawerFooter,\n\tDrawerTitle,\n\tDrawerDescription,\n} from \"./drawer\";\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"}