@ngrok/mantle 0.0.7 → 0.0.8
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 +335 -0
- package/dist/index.d.ts.map +1 -0
- package/package.json +11 -11
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,335 @@
|
|
|
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 SheetPrimitive 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";
|
|
8
|
+
/**
|
|
9
|
+
* Conditionally add Tailwind (and other) CSS classes.
|
|
10
|
+
*
|
|
11
|
+
* Allows for tailwind overrides in LTR-specificity-like order of applied classes.
|
|
12
|
+
*/
|
|
13
|
+
export function cx(...inputs: ClassValue[]): string;
|
|
14
|
+
/**
|
|
15
|
+
* Utility type for adding the `asChild` boolean prop to a component.
|
|
16
|
+
*/
|
|
17
|
+
export type WithAsChild = {
|
|
18
|
+
/**
|
|
19
|
+
* Use the `asChild` prop to compose Radix's functionality onto alternative
|
|
20
|
+
* element types or your own React components.
|
|
21
|
+
*
|
|
22
|
+
* All Radix primitive parts that render a DOM element accept an `asChild`
|
|
23
|
+
* prop. When `asChild` is set to `true`, Radix will not render a default DOM
|
|
24
|
+
* element, instead cloning the part's child and passing it the props and
|
|
25
|
+
* behavior required to make it functional.
|
|
26
|
+
*
|
|
27
|
+
* asChild can be used as deeply as you need to. This means it is a great way
|
|
28
|
+
* to compose multiple primitive's behavior together.
|
|
29
|
+
*
|
|
30
|
+
* @see https://www.radix-ui.com/docs/primitives/guides/composition#composition
|
|
31
|
+
*/
|
|
32
|
+
asChild?: boolean;
|
|
33
|
+
};
|
|
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>>;
|
|
45
|
+
/**
|
|
46
|
+
* Makes all properties in an object non-nullable, recursively.
|
|
47
|
+
*/
|
|
48
|
+
type DeepNonNullable<Type> = {
|
|
49
|
+
[Property in keyof Type]-?: Type[Property] & {};
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Variant props that are optional and cannot be `null`.
|
|
53
|
+
*
|
|
54
|
+
* Using VariantProps directly from CVA produces that can be `null`, which is not what we want.
|
|
55
|
+
*/
|
|
56
|
+
type VariantProps<Variants extends (props?: Record<PropertyKey, unknown> | undefined) => string> = Partial<DeepNonNullable<_VariantProps1<Variants>>>;
|
|
57
|
+
declare const buttonVariants: (props?: ({
|
|
58
|
+
appearance?: "outline" | "solid" | "ghost" | null | undefined;
|
|
59
|
+
priority?: "default" | "muted" | "danger" | null | undefined;
|
|
60
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
61
|
+
type ButtonVariants = VariantProps<typeof buttonVariants>;
|
|
62
|
+
/**
|
|
63
|
+
* The props for the `Button` component.
|
|
64
|
+
*/
|
|
65
|
+
export type ButtonProps = WithAsChild & ButtonHTMLAttributes<HTMLButtonElement> & ButtonVariants;
|
|
66
|
+
/**
|
|
67
|
+
* Renders a button or a component that looks like a button, an interactive
|
|
68
|
+
* element activated by a user with a mouse, keyboard, finger, voice command, or
|
|
69
|
+
* other assistive technology. Once activated, it then performs an action, such
|
|
70
|
+
* as submitting a form or opening a dialog.
|
|
71
|
+
*
|
|
72
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button
|
|
73
|
+
*/
|
|
74
|
+
export const Button: import("react").ForwardRefExoticComponent<WithAsChild & ButtonHTMLAttributes<HTMLButtonElement> & Partial<import("types/deep-non-nullable").DeepNonNullable<import("class-variance-authority").VariantProps<(props?: ({
|
|
75
|
+
appearance?: "outline" | "solid" | "ghost" | null | undefined;
|
|
76
|
+
priority?: "default" | "muted" | "danger" | null | undefined;
|
|
77
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string>>> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
78
|
+
export type CardProps = HTMLAttributes<HTMLDivElement>;
|
|
79
|
+
/**
|
|
80
|
+
* A container that can be used to display content in a box resembling a playing
|
|
81
|
+
* card.
|
|
82
|
+
*/
|
|
83
|
+
export const Card: import("react").ForwardRefExoticComponent<CardProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
84
|
+
/**
|
|
85
|
+
* The main content of a card. Usually composed as a direct child of a `Card` component.
|
|
86
|
+
*/
|
|
87
|
+
export const CardBody: import("react").ForwardRefExoticComponent<CardProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
88
|
+
/**
|
|
89
|
+
* The footer container of a card. Usually composed as a direct child of a `Card` component.
|
|
90
|
+
*/
|
|
91
|
+
export const CardFooter: import("react").ForwardRefExoticComponent<CardProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
92
|
+
/**
|
|
93
|
+
* The header container of a card. Usually composed as a direct child of a `Card` component.
|
|
94
|
+
*/
|
|
95
|
+
export const CardHeader: import("react").ForwardRefExoticComponent<CardProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
96
|
+
export type CardTitleProps = HTMLAttributes<HTMLHeadingElement> & WithAsChild;
|
|
97
|
+
/**
|
|
98
|
+
* The title of a card. Usually composed as a direct child of a `CardHeader` component.
|
|
99
|
+
*/
|
|
100
|
+
export const CardTitle: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLHeadingElement> & WithAsChild & import("react").RefAttributes<HTMLParagraphElement>>;
|
|
101
|
+
/**
|
|
102
|
+
* Helper type that includes an optional className and style prop for react
|
|
103
|
+
* components.
|
|
104
|
+
*/
|
|
105
|
+
export type WithStyleProps = {
|
|
106
|
+
/**
|
|
107
|
+
* A string. Specifies the element’s CSS class name.
|
|
108
|
+
*
|
|
109
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element/className
|
|
110
|
+
*/
|
|
111
|
+
className?: string;
|
|
112
|
+
/**
|
|
113
|
+
* An object with CSS styles, for example `{ fontWeight: 'bold', margin: 20 }`.
|
|
114
|
+
* Similarly to the DOM style property, the CSS property names need to be
|
|
115
|
+
* written as camelCase, for example fontWeight instead of font-weight.
|
|
116
|
+
* You can pass strings or numbers as values. If you pass a number, like
|
|
117
|
+
* `width: 100`, React will automatically append px (“pixels”) to the value
|
|
118
|
+
* unless it’s a unitless property.
|
|
119
|
+
*
|
|
120
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/style
|
|
121
|
+
*/
|
|
122
|
+
style?: CSSProperties;
|
|
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";
|
|
142
|
+
export const CodeBlock: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
143
|
+
export const CodeBlockBody: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
144
|
+
export const CodeBlockCode: import("react").ForwardRefExoticComponent<WithStyleProps & {
|
|
145
|
+
children?: string | undefined;
|
|
146
|
+
highlightLines?: (number | `${number}-${number}`)[] | undefined;
|
|
147
|
+
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;
|
|
148
|
+
showLineNumbers?: boolean | undefined;
|
|
149
|
+
} & import("react").RefAttributes<HTMLPreElement>>;
|
|
150
|
+
export const CodeBlockHeader: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
151
|
+
export const CodeBlockTitle: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLHeadingElement> & {
|
|
152
|
+
asChild?: boolean | undefined;
|
|
153
|
+
} & import("react").RefAttributes<HTMLHeadingElement>>;
|
|
154
|
+
export const CodeBlockCopyButton: import("react").ForwardRefExoticComponent<WithStyleProps & {
|
|
155
|
+
onCopy?: ((value: string) => void) | undefined;
|
|
156
|
+
onCopyError?: ((error: unknown) => void) | undefined;
|
|
157
|
+
} & import("react").RefAttributes<HTMLButtonElement>>;
|
|
158
|
+
type CodeBlockExpanderButtonProps = Omit<HTMLAttributes<HTMLButtonElement>, "children" | "aria-controls" | "aria-expanded">;
|
|
159
|
+
export const CodeBlockExpanderButton: import("react").ForwardRefExoticComponent<CodeBlockExpanderButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
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?: ({
|
|
166
|
+
side?: "left" | "top" | "bottom" | "right" | null | undefined;
|
|
167
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string> & import("react").RefAttributes<HTMLDivElement>>;
|
|
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>>;
|
|
173
|
+
/**
|
|
174
|
+
* A component to render inline code.
|
|
175
|
+
*/
|
|
176
|
+
export const InlineCode: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLSpanElement> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
177
|
+
/**
|
|
178
|
+
* (Not a Boolean attribute!) The autocomplete attribute takes as its value a space-separated string that describes what,
|
|
179
|
+
* if any, type of autocomplete functionality the input should provide. A typical implementation of autocomplete recalls
|
|
180
|
+
* previous values entered in the same input field, but more complex forms of autocomplete can exist. For instance, a
|
|
181
|
+
* browser could integrate with a device's contacts list to autocomplete email addresses in an email input field.
|
|
182
|
+
*
|
|
183
|
+
* The autocomplete attribute is valid on hidden, text, search, url, tel, email, date, month, week, time, datetime-local,
|
|
184
|
+
* number, range, color, and password. This attribute has no effect on input types that do not return numeric or text
|
|
185
|
+
* data, being valid for all input types except checkbox, radio, file, or any of the button types.
|
|
186
|
+
*
|
|
187
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete#values
|
|
188
|
+
*/
|
|
189
|
+
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";
|
|
190
|
+
/**
|
|
191
|
+
* A string specifying the type of control to render. For example, to create a checkbox, a value of `"checkbox"` is used.
|
|
192
|
+
* If omitted (or an unknown value is specified), the input type `"text"` is used, creating a plaintext input field.
|
|
193
|
+
*
|
|
194
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#input_types
|
|
195
|
+
*/
|
|
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";
|
|
197
|
+
declare const inputVariants: (props?: ({
|
|
198
|
+
state?: "default" | "danger" | null | undefined;
|
|
199
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
200
|
+
type InputVariants = VariantProps<typeof inputVariants>;
|
|
201
|
+
/**
|
|
202
|
+
* The props for the `Input` component.
|
|
203
|
+
*/
|
|
204
|
+
export type InputProps = InputVariants & Omit<InputHTMLAttributes<HTMLInputElement>, "autoComplete" | "type"> & {
|
|
205
|
+
autoComplete?: AutoComplete;
|
|
206
|
+
type?: InputType;
|
|
207
|
+
};
|
|
208
|
+
/**
|
|
209
|
+
* Used to create interactive controls for web-based forms in order to accept data from the user
|
|
210
|
+
*/
|
|
211
|
+
export const Input: import("react").ForwardRefExoticComponent<Partial<import("types/deep-non-nullable").DeepNonNullable<import("class-variance-authority").VariantProps<(props?: ({
|
|
212
|
+
state?: "default" | "danger" | null | undefined;
|
|
213
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string>>> & Omit<InputHTMLAttributes<HTMLInputElement>, "type" | "autoComplete"> & {
|
|
214
|
+
autoComplete?: AutoComplete | undefined;
|
|
215
|
+
type?: InputType | undefined;
|
|
216
|
+
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
217
|
+
/**
|
|
218
|
+
* The media object is an image/icon (media) to the left, with descriptive
|
|
219
|
+
* content (title and subtitle/description) to the right.
|
|
220
|
+
*
|
|
221
|
+
* Change the spacing between the media and content by passing a `gap-*` class.
|
|
222
|
+
* The default gap is `gap-4`.
|
|
223
|
+
*
|
|
224
|
+
* Use flexbox utilities to change the alignment of the media and content.
|
|
225
|
+
*
|
|
226
|
+
* Compose the media object with the `MediaObjectMedia` and `MediaObjectContent`
|
|
227
|
+
* components as direct children.
|
|
228
|
+
*/
|
|
229
|
+
export const MediaObject: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
230
|
+
/**
|
|
231
|
+
* The container for an image or icon to display in the media slot of the media object.
|
|
232
|
+
*/
|
|
233
|
+
export const MediaObjectMedia: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
234
|
+
/**
|
|
235
|
+
* The container for the content slot of a media object.
|
|
236
|
+
*/
|
|
237
|
+
export const MediaObjectContent: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
238
|
+
export const Popover: import("react").FC<PopoverPrimitive.PopoverProps>;
|
|
239
|
+
export const PopoverTrigger: import("react").ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
240
|
+
export const PopoverContent: import("react").ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & 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>>;
|
|
249
|
+
type Props = Exclude<HTMLAttributes<HTMLDivElement>, "children">;
|
|
250
|
+
export function Skeleton({ className, ...props }: Props): import("react/jsx-runtime").JSX.Element;
|
|
251
|
+
export const Table: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLTableElement> & import("react").RefAttributes<HTMLTableElement>>;
|
|
252
|
+
export const TableHeader: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLTableSectionElement> & import("react").RefAttributes<HTMLTableSectionElement>>;
|
|
253
|
+
export const TableBody: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLTableSectionElement> & import("react").RefAttributes<HTMLTableSectionElement>>;
|
|
254
|
+
export const TableFooter: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLTableSectionElement> & import("react").RefAttributes<HTMLTableSectionElement>>;
|
|
255
|
+
export const TableRow: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLTableRowElement> & import("react").RefAttributes<HTMLTableRowElement>>;
|
|
256
|
+
export const TableHead: import("react").ForwardRefExoticComponent<ThHTMLAttributes<HTMLTableCellElement> & import("react").RefAttributes<HTMLTableCellElement>>;
|
|
257
|
+
export const TableCell: import("react").ForwardRefExoticComponent<TdHTMLAttributes<HTMLTableCellElement> & import("react").RefAttributes<HTMLTableCellElement>>;
|
|
258
|
+
export const TableCaption: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLTableCaptionElement> & import("react").RefAttributes<HTMLTableCaptionElement>>;
|
|
259
|
+
/**
|
|
260
|
+
* themes is a tuple of valid themes.
|
|
261
|
+
*/
|
|
262
|
+
declare const themes: readonly ["system", "light", "dark", "light-high-contrast", "dark-high-contrast"];
|
|
263
|
+
/**
|
|
264
|
+
* Theme is a string literal type that represents a valid theme.
|
|
265
|
+
*/
|
|
266
|
+
export type Theme = (typeof themes)[number];
|
|
267
|
+
/**
|
|
268
|
+
* theme is a helper which translates the Theme type into a string literal type.
|
|
269
|
+
*/
|
|
270
|
+
export const theme: (value: Theme) => "dark" | "light" | "system" | "light-high-contrast" | "dark-high-contrast";
|
|
271
|
+
/**
|
|
272
|
+
* Type predicate that checks if a value is a valid theme.
|
|
273
|
+
*/
|
|
274
|
+
export function isTheme(value: unknown): value is Theme;
|
|
275
|
+
/**
|
|
276
|
+
* ThemeProviderState is the shape of the state returned by the ThemeProviderContext.
|
|
277
|
+
*/
|
|
278
|
+
type ThemeProviderState = [theme: Theme, setTheme: (theme: Theme) => void];
|
|
279
|
+
export type ThemeProviderProps = PropsWithChildren & {
|
|
280
|
+
defaultTheme?: Theme;
|
|
281
|
+
storageKey?: string;
|
|
282
|
+
};
|
|
283
|
+
/**
|
|
284
|
+
* ThemeProvider is a React Context Provider that provides the current theme and a function to set the theme.
|
|
285
|
+
*/
|
|
286
|
+
export function ThemeProvider({ children, defaultTheme, storageKey }: ThemeProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
287
|
+
/**
|
|
288
|
+
* useTheme returns the current theme and a function to set the theme.
|
|
289
|
+
*
|
|
290
|
+
* @note This function will throw an error if used outside of a ThemeProvider context tree.
|
|
291
|
+
*/
|
|
292
|
+
export function useTheme(): ThemeProviderState;
|
|
293
|
+
/**
|
|
294
|
+
* PreventWrongThemeFlash is a React component that prevents the wrong theme from flashing on initial page load.
|
|
295
|
+
* Render as high as possible in the DOM, preferably in the <head> element.
|
|
296
|
+
*/
|
|
297
|
+
export const PreventWrongThemeFlash: ({ defaultTheme, storageKey, }: {
|
|
298
|
+
defaultTheme?: "dark" | "light" | "system" | "light-high-contrast" | "dark-high-contrast" | undefined;
|
|
299
|
+
storageKey?: string | undefined;
|
|
300
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
301
|
+
export const TooltipProvider: import("react").FC<import("@radix-ui/react-tooltip").TooltipProviderProps>;
|
|
302
|
+
export const Tooltip: import("react").FC<import("@radix-ui/react-tooltip").TooltipProps>;
|
|
303
|
+
export const TooltipTrigger: import("react").ForwardRefExoticComponent<import("@radix-ui/react-tooltip").TooltipTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
304
|
+
export const TooltipContent: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-tooltip").TooltipContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
305
|
+
type Primitive = string | number | boolean | undefined | null;
|
|
306
|
+
/**
|
|
307
|
+
* Tagged template literal to format code blocks and normalize leading indentation
|
|
308
|
+
*/
|
|
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;
|
|
334
|
+
|
|
335
|
+
//# 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,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,GAA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AAiB,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"}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "mantle is ngrok's UI library and design system.",
|
|
4
4
|
"author": "ngrok",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"version": "0.0.
|
|
6
|
+
"version": "0.0.8",
|
|
7
7
|
"homepage": "https://mantle.ngrok.com",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
"@radix-ui/react-select": "2.0.0",
|
|
38
38
|
"@radix-ui/react-slot": "1.0.2",
|
|
39
39
|
"@radix-ui/react-tooltip": "1.0.7",
|
|
40
|
-
"@remix-run/css-bundle": "2.
|
|
41
|
-
"@remix-run/node": "2.
|
|
42
|
-
"@remix-run/react": "2.
|
|
43
|
-
"@remix-run/serve": "2.
|
|
40
|
+
"@remix-run/css-bundle": "2.6.0",
|
|
41
|
+
"@remix-run/node": "2.6.0",
|
|
42
|
+
"@remix-run/react": "2.6.0",
|
|
43
|
+
"@remix-run/serve": "2.6.0",
|
|
44
44
|
"@uidotdev/usehooks": "2.4.1",
|
|
45
45
|
"class-variance-authority": "0.7.0",
|
|
46
46
|
"clsx": "2.1.0",
|
|
@@ -50,12 +50,12 @@
|
|
|
50
50
|
"tiny-invariant": "1.3.1"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@commander-js/extra-typings": "
|
|
53
|
+
"@commander-js/extra-typings": "12.0.0",
|
|
54
54
|
"@ianvs/prettier-plugin-sort-imports": "4.1.1",
|
|
55
55
|
"@parcel/packager-ts": "2.11.0",
|
|
56
56
|
"@parcel/transformer-typescript-types": "2.11.0",
|
|
57
|
-
"@remix-run/dev": "2.
|
|
58
|
-
"@remix-run/eslint-config": "2.
|
|
57
|
+
"@remix-run/dev": "2.6.0",
|
|
58
|
+
"@remix-run/eslint-config": "2.6.0",
|
|
59
59
|
"@storybook/addon-essentials": "7.6.12",
|
|
60
60
|
"@storybook/addon-interactions": "7.6.12",
|
|
61
61
|
"@storybook/addon-links": "7.6.12",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"@testing-library/user-event": "14.5.2",
|
|
71
71
|
"@types/node": "20.11.16",
|
|
72
72
|
"@types/prismjs": "1.26.3",
|
|
73
|
-
"@types/react": "18.2.
|
|
73
|
+
"@types/react": "18.2.53",
|
|
74
74
|
"@types/react-dom": "18.2.18",
|
|
75
75
|
"@typescript-eslint/eslint-plugin": "6.20.0",
|
|
76
76
|
"@typescript-eslint/parser": "6.20.0",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"@vitest/ui": "1.2.2",
|
|
79
79
|
"autoprefixer": "10.4.17",
|
|
80
80
|
"browserslist": "4.22.3",
|
|
81
|
-
"commander": "
|
|
81
|
+
"commander": "12.0.0",
|
|
82
82
|
"copyfiles": "2.4.1",
|
|
83
83
|
"eslint": "8.56.0",
|
|
84
84
|
"eslint-config-prettier": "9.1.0",
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"jsdom": "24.0.0",
|
|
90
90
|
"parcel": "2.11.0",
|
|
91
91
|
"postcss": "8.4.33",
|
|
92
|
-
"prettier": "3.2.
|
|
92
|
+
"prettier": "3.2.5",
|
|
93
93
|
"prettier-plugin-tailwindcss": "0.5.11",
|
|
94
94
|
"react": "18.2.0",
|
|
95
95
|
"react-dom": "18.2.0",
|