@ngrok/mantle 0.0.2 → 0.0.4
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 +110 -120
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +883 -1258
- package/dist/index.js.map +1 -0
- package/dist/{assets/mantle.css → mantle.css} +5 -29
- package/package.json +46 -48
- package/dist/assets/fonts/euclid-square/EuclidSquare-Bold-WebS.woff +0 -0
- package/dist/assets/fonts/euclid-square/EuclidSquare-BoldItalic-WebS.woff +0 -0
- package/dist/assets/fonts/euclid-square/EuclidSquare-Light-WebS.woff +0 -0
- package/dist/assets/fonts/euclid-square/EuclidSquare-LightItalic-WebS.woff +0 -0
- package/dist/assets/fonts/euclid-square/EuclidSquare-Medium-WebS.woff +0 -0
- package/dist/assets/fonts/euclid-square/EuclidSquare-MediumItalic-WebS.woff +0 -0
- package/dist/assets/fonts/euclid-square/EuclidSquare-Regular-WebS.woff +0 -0
- package/dist/assets/fonts/euclid-square/EuclidSquare-RegularItalic-WebS.woff +0 -0
- package/dist/assets/fonts/euclid-square/EuclidSquare-Semibold-WebS.woff +0 -0
- package/dist/assets/fonts/euclid-square/EuclidSquare-SemiboldItalic-WebS.woff +0 -0
- package/dist/assets/fonts/euclid-square/swisstypefaces-EULA.pdf +0 -0
- package/dist/assets/fonts/fonts.css +0 -65
- package/dist/assets/fonts/ibm-plex-mono/IBMPlexMono-Bold.woff +0 -0
- package/dist/assets/fonts/ibm-plex-mono/IBMPlexMono-BoldItalic.woff +0 -0
- package/dist/assets/fonts/ibm-plex-mono/IBMPlexMono-ExtraLight.woff +0 -0
- package/dist/assets/fonts/ibm-plex-mono/IBMPlexMono-ExtraLightItalic.woff +0 -0
- package/dist/assets/fonts/ibm-plex-mono/IBMPlexMono-Italic.woff +0 -0
- package/dist/assets/fonts/ibm-plex-mono/IBMPlexMono-Light.woff +0 -0
- package/dist/assets/fonts/ibm-plex-mono/IBMPlexMono-LightItalic.woff +0 -0
- package/dist/assets/fonts/ibm-plex-mono/IBMPlexMono-Medium.woff +0 -0
- package/dist/assets/fonts/ibm-plex-mono/IBMPlexMono-MediumItalic.woff +0 -0
- package/dist/assets/fonts/ibm-plex-mono/IBMPlexMono-Regular.woff +0 -0
- package/dist/assets/fonts/ibm-plex-mono/IBMPlexMono-SemiBold.woff +0 -0
- package/dist/assets/fonts/ibm-plex-mono/IBMPlexMono-SemiBoldItalic.woff +0 -0
- package/dist/assets/fonts/ibm-plex-mono/IBMPlexMono-Text.woff +0 -0
- package/dist/assets/fonts/ibm-plex-mono/IBMPlexMono-TextItalic.woff +0 -0
- package/dist/assets/fonts/ibm-plex-mono/IBMPlexMono-Thin.woff +0 -0
- package/dist/assets/fonts/ibm-plex-mono/IBMPlexMono-ThinItalic.woff +0 -0
- package/dist/assets/fonts/ibm-plex-mono/license.txt +0 -92
- package/dist/dts/anchor/index.d.ts +0 -5
- package/dist/dts/back-to-top-button/index.d.ts +0 -8
- package/dist/dts/button/index.d.ts +0 -27
- package/dist/dts/card/index.d.ts +0 -25
- package/dist/dts/code-block/code.d.ts +0 -6
- package/dist/dts/code-block/index.d.ts +0 -24
- package/dist/dts/code-block/line-numbers.d.ts +0 -8
- package/dist/dts/code-block/supported-languages.d.ts +0 -18
- package/dist/dts/cx/index.d.ts +0 -7
- package/dist/dts/drawer/index.d.ts +0 -22
- package/dist/dts/dropdown-menu/index.d.ts +0 -27
- package/dist/dts/hooks/use-matches-media-query.d.ts +0 -1
- package/dist/dts/hooks/use-prefers-reduced-motion.d.ts +0 -4
- package/dist/dts/index.d.ts +0 -21
- package/dist/dts/input/index.d.ts +0 -24
- package/dist/dts/input/types.d.ts +0 -20
- package/dist/dts/media-object/index.d.ts +0 -23
- package/dist/dts/portal/index.d.ts +0 -6
- package/dist/dts/select/index.d.ts +0 -13
- package/dist/dts/skeleton/index.d.ts +0 -4
- package/dist/dts/tailwind-plugins/tailwind-plugin-firefox-variant.d.ts +0 -10
- package/dist/dts/tailwind.preset.d.ts +0 -332
- package/dist/dts/theme-provider/index.d.ts +0 -53
- package/dist/dts/tooltip/index.d.ts +0 -6
- package/dist/dts/types/as-child.d.ts +0 -20
- package/dist/dts/types/deep-non-nullable.d.ts +0 -6
- package/dist/dts/types/variant-props.d.ts +0 -8
- package/dist/dts/types/with-style-props.d.ts +0 -24
- package/dist/tailwind.preset.d.ts +0 -332
- package/dist/tailwind.preset.js +0 -365
package/dist/index.d.ts
CHANGED
|
@@ -1,29 +1,18 @@
|
|
|
1
|
-
|
|
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";
|
|
2
6
|
/**
|
|
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.
|
|
7
|
+
* Conditionally add Tailwind (and other) CSS classes.
|
|
9
8
|
*
|
|
10
|
-
*
|
|
9
|
+
* Allows for tailwind overrides in LTR-specificity-like order of applied classes.
|
|
11
10
|
*/
|
|
12
|
-
|
|
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
|
+
export function cx(...inputs: ClassValue[]): string;
|
|
23
12
|
/**
|
|
24
13
|
* Utility type for adding the `asChild` boolean prop to a component.
|
|
25
14
|
*/
|
|
26
|
-
type WithAsChild = {
|
|
15
|
+
export type WithAsChild = {
|
|
27
16
|
/**
|
|
28
17
|
* Use the `asChild` prop to compose Radix's functionality onto alternative
|
|
29
18
|
* element types or your own React components.
|
|
@@ -40,34 +29,39 @@ type WithAsChild = {
|
|
|
40
29
|
*/
|
|
41
30
|
asChild?: boolean;
|
|
42
31
|
};
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
32
|
+
export const anchorClassNames: (className: string | undefined) => string;
|
|
33
|
+
/**
|
|
34
|
+
* Fundamental component for rendering links to external addresses.
|
|
35
|
+
*
|
|
36
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a
|
|
37
|
+
*
|
|
38
|
+
* @note If you need to link to an internal application route, prefer using the
|
|
39
|
+
* [`react-router-dom` `<Link>`](https://reactrouter.com/en/main/components/link) or the
|
|
40
|
+
* [`@remix-run/react` `<Link>`](https://remix.run/docs/en/main/components/link).
|
|
41
|
+
*/
|
|
42
|
+
export const Anchor: import("react").ForwardRefExoticComponent<AnchorHTMLAttributes<HTMLAnchorElement> & WithAsChild & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
47
43
|
/**
|
|
48
44
|
* Makes all properties in an object non-nullable, recursively.
|
|
49
45
|
*/
|
|
50
46
|
type DeepNonNullable<Type> = {
|
|
51
47
|
[Property in keyof Type]-?: Type[Property] & {};
|
|
52
48
|
};
|
|
53
|
-
|
|
54
49
|
/**
|
|
55
50
|
* Variant props that are optional and cannot be `null`.
|
|
56
51
|
*
|
|
57
52
|
* Using VariantProps directly from CVA produces that can be `null`, which is not what we want.
|
|
58
53
|
*/
|
|
59
|
-
type VariantProps<Variants extends (props?: Record<PropertyKey, unknown> | undefined) => string> = Partial<DeepNonNullable<
|
|
60
|
-
|
|
54
|
+
type VariantProps<Variants extends (props?: Record<PropertyKey, unknown> | undefined) => string> = Partial<DeepNonNullable<_VariantProps1<Variants>>>;
|
|
61
55
|
declare const buttonVariants: (props?: ({
|
|
62
56
|
priority?: "default" | "primary" | "secondary" | null | undefined;
|
|
63
57
|
state?: "default" | "danger" | null | undefined;
|
|
64
58
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
65
|
-
} &
|
|
59
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
66
60
|
type ButtonVariants = VariantProps<typeof buttonVariants>;
|
|
67
61
|
/**
|
|
68
62
|
* The props for the `Button` component.
|
|
69
63
|
*/
|
|
70
|
-
type ButtonProps = WithAsChild & ButtonHTMLAttributes<HTMLButtonElement> & ButtonVariants;
|
|
64
|
+
export type ButtonProps = WithAsChild & ButtonHTMLAttributes<HTMLButtonElement> & ButtonVariants;
|
|
71
65
|
/**
|
|
72
66
|
* Renders a button or a component that looks like a button, an interactive
|
|
73
67
|
* element activated by a user with a mouse, keyboard, finger, voice command, or
|
|
@@ -76,41 +70,39 @@ type ButtonProps = WithAsChild & ButtonHTMLAttributes<HTMLButtonElement> & Butto
|
|
|
76
70
|
*
|
|
77
71
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button
|
|
78
72
|
*/
|
|
79
|
-
|
|
73
|
+
export const Button: import("react").ForwardRefExoticComponent<WithAsChild & ButtonHTMLAttributes<HTMLButtonElement> & Partial<import("types/deep-non-nullable").DeepNonNullable<import("class-variance-authority").VariantProps<(props?: ({
|
|
80
74
|
priority?: "default" | "primary" | "secondary" | null | undefined;
|
|
81
75
|
state?: "default" | "danger" | null | undefined;
|
|
82
76
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
83
|
-
} &
|
|
84
|
-
|
|
85
|
-
type CardProps = HTMLAttributes<HTMLDivElement>;
|
|
77
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string>>> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
78
|
+
export type CardProps = HTMLAttributes<HTMLDivElement>;
|
|
86
79
|
/**
|
|
87
80
|
* A container that can be used to display content in a box resembling a playing
|
|
88
81
|
* card.
|
|
89
82
|
*/
|
|
90
|
-
|
|
83
|
+
export const Card: import("react").ForwardRefExoticComponent<CardProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
91
84
|
/**
|
|
92
85
|
* The main content of a card. Usually composed as a direct child of a `Card` component.
|
|
93
86
|
*/
|
|
94
|
-
|
|
87
|
+
export const CardBody: import("react").ForwardRefExoticComponent<CardProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
95
88
|
/**
|
|
96
89
|
* The footer container of a card. Usually composed as a direct child of a `Card` component.
|
|
97
90
|
*/
|
|
98
|
-
|
|
91
|
+
export const CardFooter: import("react").ForwardRefExoticComponent<CardProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
99
92
|
/**
|
|
100
93
|
* The header container of a card. Usually composed as a direct child of a `Card` component.
|
|
101
94
|
*/
|
|
102
|
-
|
|
103
|
-
type CardTitleProps = HTMLAttributes<HTMLHeadingElement> & WithAsChild;
|
|
95
|
+
export const CardHeader: import("react").ForwardRefExoticComponent<CardProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
96
|
+
export type CardTitleProps = HTMLAttributes<HTMLHeadingElement> & WithAsChild;
|
|
104
97
|
/**
|
|
105
98
|
* The title of a card. Usually composed as a direct child of a `CardHeader` component.
|
|
106
99
|
*/
|
|
107
|
-
|
|
108
|
-
|
|
100
|
+
export const CardTitle: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLHeadingElement> & WithAsChild & import("react").RefAttributes<HTMLParagraphElement>>;
|
|
109
101
|
/**
|
|
110
102
|
* Helper type that includes an optional className and style prop for react
|
|
111
103
|
* components.
|
|
112
104
|
*/
|
|
113
|
-
type WithStyleProps = {
|
|
105
|
+
export type WithStyleProps = {
|
|
114
106
|
/**
|
|
115
107
|
* A string. Specifies the element’s CSS class name.
|
|
116
108
|
*
|
|
@@ -129,45 +121,46 @@ type WithStyleProps = {
|
|
|
129
121
|
*/
|
|
130
122
|
style?: CSSProperties;
|
|
131
123
|
};
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
declare const CodeBlockCode: react.ForwardRefExoticComponent<WithStyleProps & {
|
|
124
|
+
export const CodeBlock: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
125
|
+
export const CodeBlockBody: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
126
|
+
export const CodeBlockCode: import("react").ForwardRefExoticComponent<WithStyleProps & {
|
|
136
127
|
children?: string | undefined;
|
|
137
128
|
highlightLines?: (number | `${number}-${number}`)[] | undefined;
|
|
138
|
-
language?: "html" | "ruby" | "
|
|
129
|
+
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
130
|
showLineNumbers?: boolean | undefined;
|
|
140
|
-
} & react.RefAttributes<HTMLPreElement>>;
|
|
141
|
-
|
|
142
|
-
|
|
131
|
+
} & import("react").RefAttributes<HTMLPreElement>>;
|
|
132
|
+
export const CodeBlockHeader: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
133
|
+
export const CodeBlockTitle: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLHeadingElement> & {
|
|
143
134
|
asChild?: boolean | undefined;
|
|
144
|
-
} & react.RefAttributes<HTMLHeadingElement>>;
|
|
145
|
-
|
|
135
|
+
} & import("react").RefAttributes<HTMLHeadingElement>>;
|
|
136
|
+
export const CodeBlockCopyButton: import("react").ForwardRefExoticComponent<WithStyleProps & {
|
|
146
137
|
onCopy?: ((value: string) => void) | undefined;
|
|
147
138
|
onCopyError?: ((error: unknown) => void) | undefined;
|
|
148
|
-
} & react.RefAttributes<HTMLButtonElement>>;
|
|
139
|
+
} & import("react").RefAttributes<HTMLButtonElement>>;
|
|
149
140
|
type CodeBlockExpanderButtonProps = Omit<HTMLAttributes<HTMLButtonElement>, "children" | "aria-controls" | "aria-expanded">;
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
({ className, ...props }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
141
|
+
export const CodeBlockExpanderButton: import("react").ForwardRefExoticComponent<CodeBlockExpanderButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
142
|
+
export const Drawer: import("react").FC<DrawerPrimitive.DialogProps>;
|
|
143
|
+
export const DrawerTrigger: import("react").ForwardRefExoticComponent<DrawerPrimitive.DialogTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
144
|
+
export const DrawerClose: import("react").ForwardRefExoticComponent<DrawerPrimitive.DialogCloseProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
145
|
+
export const DrawerPortal: import("react").FC<DrawerPrimitive.DialogPortalProps>;
|
|
146
|
+
export const DrawerOverlay: import("react").ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogOverlayProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
147
|
+
export const DrawerContent: import("react").ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & _VariantProps1<(props?: ({
|
|
148
|
+
side?: "left" | "top" | "bottom" | "right" | null | undefined;
|
|
149
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string> & import("react").RefAttributes<HTMLDivElement>>;
|
|
150
|
+
export const DrawerHeader: {
|
|
151
|
+
({ className, ...props }: HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
162
152
|
displayName: string;
|
|
163
153
|
};
|
|
164
|
-
|
|
165
|
-
({ className, ...props }: HTMLAttributes<HTMLDivElement>):
|
|
154
|
+
export const DrawerFooter: {
|
|
155
|
+
({ className, ...props }: HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
166
156
|
displayName: string;
|
|
167
157
|
};
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
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>>;
|
|
160
|
+
/**
|
|
161
|
+
* A component to render inline code.
|
|
162
|
+
*/
|
|
163
|
+
export const InlineCode: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLSpanElement> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
171
164
|
/**
|
|
172
165
|
* (Not a Boolean attribute!) The autocomplete attribute takes as its value a space-separated string that describes what,
|
|
173
166
|
* if any, type of autocomplete functionality the input should provide. A typical implementation of autocomplete recalls
|
|
@@ -180,36 +173,34 @@ declare const DrawerDescription: react.ForwardRefExoticComponent<Omit<DrawerPrim
|
|
|
180
173
|
*
|
|
181
174
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete#values
|
|
182
175
|
*/
|
|
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";
|
|
176
|
+
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
177
|
/**
|
|
185
178
|
* A string specifying the type of control to render. For example, to create a checkbox, a value of `"checkbox"` is used.
|
|
186
179
|
* If omitted (or an unknown value is specified), the input type `"text"` is used, creating a plaintext input field.
|
|
187
180
|
*
|
|
188
181
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#input_types
|
|
189
182
|
*/
|
|
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
|
-
|
|
183
|
+
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
184
|
declare const inputVariants: (props?: ({
|
|
193
|
-
state?: "default" | "
|
|
194
|
-
} &
|
|
185
|
+
state?: "default" | "success" | "danger" | null | undefined;
|
|
186
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
195
187
|
type InputVariants = VariantProps<typeof inputVariants>;
|
|
196
188
|
/**
|
|
197
189
|
* The props for the `Input` component.
|
|
198
190
|
*/
|
|
199
|
-
type InputProps = InputVariants & Omit<InputHTMLAttributes<HTMLInputElement>, "autoComplete" | "type"> & {
|
|
191
|
+
export type InputProps = InputVariants & Omit<InputHTMLAttributes<HTMLInputElement>, "autoComplete" | "type"> & {
|
|
200
192
|
autoComplete?: AutoComplete;
|
|
201
193
|
type?: InputType;
|
|
202
194
|
};
|
|
203
195
|
/**
|
|
204
196
|
* Used to create interactive controls for web-based forms in order to accept data from the user
|
|
205
197
|
*/
|
|
206
|
-
|
|
207
|
-
state?: "default" | "
|
|
208
|
-
} &
|
|
198
|
+
export const Input: import("react").ForwardRefExoticComponent<Partial<import("types/deep-non-nullable").DeepNonNullable<import("class-variance-authority").VariantProps<(props?: ({
|
|
199
|
+
state?: "default" | "success" | "danger" | null | undefined;
|
|
200
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string>>> & Omit<InputHTMLAttributes<HTMLInputElement>, "type" | "autoComplete"> & {
|
|
209
201
|
autoComplete?: AutoComplete | undefined;
|
|
210
202
|
type?: InputType | undefined;
|
|
211
|
-
} & react.RefAttributes<HTMLInputElement>>;
|
|
212
|
-
|
|
203
|
+
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
213
204
|
/**
|
|
214
205
|
* The media object is an image/icon (media) to the left, with descriptive
|
|
215
206
|
* content (title and subtitle/description) to the right.
|
|
@@ -222,31 +213,39 @@ declare const Input: react.ForwardRefExoticComponent<Partial<DeepNonNullable<cla
|
|
|
222
213
|
* Compose the media object with the `MediaObjectMedia` and `MediaObjectContent`
|
|
223
214
|
* components as direct children.
|
|
224
215
|
*/
|
|
225
|
-
|
|
216
|
+
export const MediaObject: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
226
217
|
/**
|
|
227
218
|
* The container for an image or icon to display in the media slot of the media object.
|
|
228
219
|
*/
|
|
229
|
-
|
|
220
|
+
export const MediaObjectMedia: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
230
221
|
/**
|
|
231
222
|
* The container for the content slot of a media object.
|
|
232
223
|
*/
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
224
|
+
export const MediaObjectContent: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
225
|
+
export const Popover: import("react").FC<PopoverPrimitive.PopoverProps>;
|
|
226
|
+
export const PopoverTrigger: import("react").ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
227
|
+
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<import("@radix-ui/react-select").SelectProps>;
|
|
229
|
+
export const SelectGroup: import("react").ForwardRefExoticComponent<import("@radix-ui/react-select").SelectGroupProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
230
|
+
export const SelectValue: import("react").ForwardRefExoticComponent<import("@radix-ui/react-select").SelectValueProps & import("react").RefAttributes<HTMLSpanElement>>;
|
|
231
|
+
export const SelectIcon: import("react").ForwardRefExoticComponent<import("@radix-ui/react-select").SelectIconProps & import("react").RefAttributes<HTMLSpanElement>>;
|
|
232
|
+
export const SelectTrigger: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-select").SelectTriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
240
233
|
hideIcon?: boolean | undefined;
|
|
241
|
-
} & react.RefAttributes<HTMLButtonElement>>;
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
234
|
+
} & import("react").RefAttributes<HTMLButtonElement>>;
|
|
235
|
+
export const SelectContent: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-select").SelectContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
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>>;
|
|
247
239
|
type Props = Exclude<HTMLAttributes<HTMLDivElement>, "children">;
|
|
248
|
-
|
|
249
|
-
|
|
240
|
+
export function Skeleton({ className, ...props }: Props): import("react/jsx-runtime").JSX.Element;
|
|
241
|
+
export const Table: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLTableElement> & import("react").RefAttributes<HTMLTableElement>>;
|
|
242
|
+
export const TableHeader: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLTableSectionElement> & import("react").RefAttributes<HTMLTableSectionElement>>;
|
|
243
|
+
export const TableBody: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLTableSectionElement> & import("react").RefAttributes<HTMLTableSectionElement>>;
|
|
244
|
+
export const TableFooter: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLTableSectionElement> & import("react").RefAttributes<HTMLTableSectionElement>>;
|
|
245
|
+
export const TableRow: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLTableRowElement> & import("react").RefAttributes<HTMLTableRowElement>>;
|
|
246
|
+
export const TableHead: import("react").ForwardRefExoticComponent<ThHTMLAttributes<HTMLTableCellElement> & import("react").RefAttributes<HTMLTableCellElement>>;
|
|
247
|
+
export const TableCell: import("react").ForwardRefExoticComponent<TdHTMLAttributes<HTMLTableCellElement> & import("react").RefAttributes<HTMLTableCellElement>>;
|
|
248
|
+
export const TableCaption: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLTableCaptionElement> & import("react").RefAttributes<HTMLTableCaptionElement>>;
|
|
250
249
|
/**
|
|
251
250
|
* themes is a tuple of valid themes.
|
|
252
251
|
*/
|
|
@@ -254,58 +253,49 @@ declare const themes: readonly ["system", "light", "dark", "light-high-contrast"
|
|
|
254
253
|
/**
|
|
255
254
|
* Theme is a string literal type that represents a valid theme.
|
|
256
255
|
*/
|
|
257
|
-
type Theme = (typeof themes)[number];
|
|
256
|
+
export type Theme = (typeof themes)[number];
|
|
258
257
|
/**
|
|
259
258
|
* theme is a helper which translates the Theme type into a string literal type.
|
|
260
259
|
*/
|
|
261
|
-
|
|
260
|
+
export const theme: (value: Theme) => "dark" | "light" | "system" | "light-high-contrast" | "dark-high-contrast";
|
|
262
261
|
/**
|
|
263
262
|
* Type predicate that checks if a value is a valid theme.
|
|
264
263
|
*/
|
|
265
|
-
|
|
264
|
+
export function isTheme(value: unknown): value is Theme;
|
|
266
265
|
/**
|
|
267
266
|
* ThemeProviderState is the shape of the state returned by the ThemeProviderContext.
|
|
268
267
|
*/
|
|
269
268
|
type ThemeProviderState = [theme: Theme, setTheme: (theme: Theme) => void];
|
|
270
|
-
type ThemeProviderProps = PropsWithChildren & {
|
|
269
|
+
export type ThemeProviderProps = PropsWithChildren & {
|
|
271
270
|
defaultTheme?: Theme;
|
|
272
271
|
storageKey?: string;
|
|
273
272
|
};
|
|
274
273
|
/**
|
|
275
274
|
* ThemeProvider is a React Context Provider that provides the current theme and a function to set the theme.
|
|
276
275
|
*/
|
|
277
|
-
|
|
276
|
+
export function ThemeProvider({ children, defaultTheme, storageKey }: ThemeProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
278
277
|
/**
|
|
279
278
|
* useTheme returns the current theme and a function to set the theme.
|
|
280
279
|
*
|
|
281
280
|
* @note This function will throw an error if used outside of a ThemeProvider context tree.
|
|
282
281
|
*/
|
|
283
|
-
|
|
282
|
+
export function useTheme(): ThemeProviderState;
|
|
284
283
|
/**
|
|
285
284
|
* PreventWrongThemeFlash is a React component that prevents the wrong theme from flashing on initial page load.
|
|
286
285
|
* Render as high as possible in the DOM, preferably in the <head> element.
|
|
287
286
|
*/
|
|
288
|
-
|
|
287
|
+
export const PreventWrongThemeFlash: ({ defaultTheme, storageKey, }: {
|
|
289
288
|
defaultTheme?: "dark" | "light" | "system" | "light-high-contrast" | "dark-high-contrast" | undefined;
|
|
290
289
|
storageKey?: string | undefined;
|
|
291
|
-
}) =>
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
declare const TooltipContent: react.ForwardRefExoticComponent<Omit<_radix_ui_react_tooltip.TooltipContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
297
|
-
|
|
290
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
291
|
+
export const TooltipProvider: import("react").FC<import("@radix-ui/react-tooltip").TooltipProviderProps>;
|
|
292
|
+
export const Tooltip: import("react").FC<import("@radix-ui/react-tooltip").TooltipProps>;
|
|
293
|
+
export const TooltipTrigger: import("react").ForwardRefExoticComponent<import("@radix-ui/react-tooltip").TooltipTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
294
|
+
export const TooltipContent: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-tooltip").TooltipContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
298
295
|
type Primitive = string | number | boolean | undefined | null;
|
|
299
296
|
/**
|
|
300
297
|
* Tagged template literal to format code blocks and normalize leading indentation
|
|
301
298
|
*/
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
/**
|
|
305
|
-
* Conditionally add Tailwind (and other) CSS classes.
|
|
306
|
-
*
|
|
307
|
-
* Allows for tailwind overrides in LTR-specificity-like order of applied classes.
|
|
308
|
-
*/
|
|
309
|
-
declare function cx(...inputs: ClassValue[]): string;
|
|
299
|
+
export function code(strings: TemplateStringsArray, ...values: Primitive[]): string;
|
|
310
300
|
|
|
311
|
-
|
|
301
|
+
//# 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,GAAG,SAAS,KAAK,MAAM,IAAI,OAAO,CAChH,gBAAgB,eAAgB,QAAQ,CAAC,CAAC,CAC1C,CA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AM,yJAIL,CAAC;ACjDF;;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","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/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,"// 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\tSelectIcon,\n\tSelectLabel,\n\tSelectOption,\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 { 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"}
|