@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.
Files changed (65) hide show
  1. package/dist/index.d.ts +110 -120
  2. package/dist/index.d.ts.map +1 -0
  3. package/dist/index.js +883 -1258
  4. package/dist/index.js.map +1 -0
  5. package/dist/{assets/mantle.css → mantle.css} +5 -29
  6. package/package.json +46 -48
  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
@@ -1,27 +0,0 @@
1
- import { type ButtonHTMLAttributes } from "react";
2
- import type { WithAsChild } from "../types/as-child";
3
- import type { VariantProps } from "../types/variant-props";
4
- declare const buttonVariants: (props?: ({
5
- priority?: "default" | "primary" | "secondary" | null | undefined;
6
- state?: "default" | "danger" | null | undefined;
7
- size?: "default" | "sm" | "lg" | null | undefined;
8
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
9
- type ButtonVariants = VariantProps<typeof buttonVariants>;
10
- /**
11
- * The props for the `Button` component.
12
- */
13
- export type ButtonProps = WithAsChild & ButtonHTMLAttributes<HTMLButtonElement> & ButtonVariants;
14
- /**
15
- * Renders a button or a component that looks like a button, an interactive
16
- * element activated by a user with a mouse, keyboard, finger, voice command, or
17
- * other assistive technology. Once activated, it then performs an action, such
18
- * as submitting a form or opening a dialog.
19
- *
20
- * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button
21
- */
22
- declare const Button: import("react").ForwardRefExoticComponent<WithAsChild & ButtonHTMLAttributes<HTMLButtonElement> & Partial<import("../types/deep-non-nullable").DeepNonNullable<import("class-variance-authority").VariantProps<(props?: ({
23
- priority?: "default" | "primary" | "secondary" | null | undefined;
24
- state?: "default" | "danger" | null | undefined;
25
- size?: "default" | "sm" | "lg" | null | undefined;
26
- } & import("class-variance-authority/types").ClassProp) | undefined) => string>>> & import("react").RefAttributes<HTMLButtonElement>>;
27
- export { Button, buttonVariants };
@@ -1,25 +0,0 @@
1
- import type { HTMLAttributes } from "react";
2
- import type { WithAsChild } from "../types/as-child";
3
- export type CardProps = HTMLAttributes<HTMLDivElement>;
4
- /**
5
- * A container that can be used to display content in a box resembling a playing
6
- * card.
7
- */
8
- export declare const Card: import("react").ForwardRefExoticComponent<CardProps & import("react").RefAttributes<HTMLDivElement>>;
9
- /**
10
- * The main content of a card. Usually composed as a direct child of a `Card` component.
11
- */
12
- export declare const CardBody: import("react").ForwardRefExoticComponent<CardProps & import("react").RefAttributes<HTMLDivElement>>;
13
- /**
14
- * The footer container of a card. Usually composed as a direct child of a `Card` component.
15
- */
16
- export declare const CardFooter: import("react").ForwardRefExoticComponent<CardProps & import("react").RefAttributes<HTMLDivElement>>;
17
- /**
18
- * The header container of a card. Usually composed as a direct child of a `Card` component.
19
- */
20
- export declare const CardHeader: import("react").ForwardRefExoticComponent<CardProps & import("react").RefAttributes<HTMLDivElement>>;
21
- export type CardTitleProps = HTMLAttributes<HTMLHeadingElement> & WithAsChild;
22
- /**
23
- * The title of a card. Usually composed as a direct child of a `CardHeader` component.
24
- */
25
- export declare const CardTitle: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLHeadingElement> & WithAsChild & import("react").RefAttributes<HTMLParagraphElement>>;
@@ -1,6 +0,0 @@
1
- type Primitive = string | number | boolean | undefined | null;
2
- /**
3
- * Tagged template literal to format code blocks and normalize leading indentation
4
- */
5
- export declare function code(strings: TemplateStringsArray, ...values: Primitive[]): string;
6
- export {};
@@ -1,24 +0,0 @@
1
- import { HTMLAttributes } from "react";
2
- import "prismjs/components/prism-bash.js";
3
- import "prismjs/components/prism-jsx.js";
4
- import "prismjs/components/prism-tsx.js";
5
- import type { WithStyleProps } from "../types/with-style-props";
6
- declare const CodeBlock: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
7
- declare const CodeBlockBody: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
8
- declare const CodeBlockCode: import("react").ForwardRefExoticComponent<WithStyleProps & {
9
- children?: string | undefined;
10
- highlightLines?: (number | `${number}-${number}`)[] | undefined;
11
- 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;
12
- showLineNumbers?: boolean | undefined;
13
- } & import("react").RefAttributes<HTMLPreElement>>;
14
- declare const CodeBlockHeader: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
15
- declare const CodeBlockTitle: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLHeadingElement> & {
16
- asChild?: boolean | undefined;
17
- } & import("react").RefAttributes<HTMLHeadingElement>>;
18
- declare const CodeBlockCopyButton: import("react").ForwardRefExoticComponent<WithStyleProps & {
19
- onCopy?: ((value: string) => void) | undefined;
20
- onCopyError?: ((error: unknown) => void) | undefined;
21
- } & import("react").RefAttributes<HTMLButtonElement>>;
22
- type CodeBlockExpanderButtonProps = Omit<HTMLAttributes<HTMLButtonElement>, "children" | "aria-controls" | "aria-expanded">;
23
- declare const CodeBlockExpanderButton: import("react").ForwardRefExoticComponent<CodeBlockExpanderButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
24
- export { CodeBlock, CodeBlockBody, CodeBlockCode, CodeBlockCopyButton, CodeBlockExpanderButton, CodeBlockHeader, CodeBlockTitle, };
@@ -1,8 +0,0 @@
1
- /**
2
- * A line range is a string in the format of `start-end` where `start` and `end` are line numbers.
3
- */
4
- export type LineRange = `${number}-${number}`;
5
- /**
6
- * Given a list of line ranges and numbers, resolves them into a unique list of line numbers as a set.
7
- */
8
- export declare function resolveLineNumbers(...items: (LineRange | number)[]): Set<number>;
@@ -1,18 +0,0 @@
1
- /**
2
- * List of supported languages for syntax highlighting.
3
- */
4
- 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"];
5
- /**
6
- * Supported languages for syntax highlighting.
7
- */
8
- export type SupportedLanguage = (typeof supportedLanguages)[number];
9
- /**
10
- * Type Predicate: checks if an arbitrary value is a supported syntax highlighting language.
11
- */
12
- export declare const isSupportedLanguage: (value: unknown) => value is "html" | "ruby" | "bash" | "cs" | "csharp" | "css" | "dotnet" | "go" | "java" | "javascript" | "js" | "json" | "jsx" | "py" | "python" | "rb" | "rust" | "sh" | "shell" | "ts" | "tsx" | "typescript" | "yaml" | "yml";
13
- /**
14
- * Formats a language name into a class name that Prism.js can understand.
15
- * @default "language-sh"
16
- */
17
- export declare function formatLanguageClassName(language?: SupportedLanguage | undefined): "language-html" | "language-ruby" | "language-bash" | "language-cs" | "language-csharp" | "language-css" | "language-dotnet" | "language-go" | "language-java" | "language-javascript" | "language-js" | "language-json" | "language-jsx" | "language-py" | "language-python" | "language-rb" | "language-rust" | "language-sh" | "language-shell" | "language-ts" | "language-tsx" | "language-typescript" | "language-yaml" | "language-yml";
18
- export {};
@@ -1,7 +0,0 @@
1
- import { type ClassValue } from "clsx";
2
- /**
3
- * Conditionally add Tailwind (and other) CSS classes.
4
- *
5
- * Allows for tailwind overrides in LTR-specificity-like order of applied classes.
6
- */
7
- export declare function cx(...inputs: ClassValue[]): string;
@@ -1,22 +0,0 @@
1
- import * as DrawerPrimitive from "@radix-ui/react-dialog";
2
- import { type VariantProps } from "class-variance-authority";
3
- import { HTMLAttributes } from "react";
4
- declare const Drawer: import("react").FC<DrawerPrimitive.DialogProps>;
5
- declare const DrawerTrigger: import("react").ForwardRefExoticComponent<DrawerPrimitive.DialogTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
6
- declare const DrawerClose: import("react").ForwardRefExoticComponent<DrawerPrimitive.DialogCloseProps & import("react").RefAttributes<HTMLButtonElement>>;
7
- declare const DrawerPortal: import("react").FC<DrawerPrimitive.DialogPortalProps>;
8
- declare const DrawerOverlay: import("react").ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogOverlayProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
9
- declare const DrawerContent: import("react").ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: ({
10
- side?: "left" | "right" | "bottom" | "top" | null | undefined;
11
- } & import("class-variance-authority/types").ClassProp) | undefined) => string> & import("react").RefAttributes<HTMLDivElement>>;
12
- declare const DrawerHeader: {
13
- ({ className, ...props }: HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
14
- displayName: string;
15
- };
16
- declare const DrawerFooter: {
17
- ({ className, ...props }: HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
18
- displayName: string;
19
- };
20
- declare const DrawerTitle: import("react").ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogTitleProps & import("react").RefAttributes<HTMLHeadingElement>, "ref"> & import("react").RefAttributes<HTMLHeadingElement>>;
21
- declare const DrawerDescription: import("react").ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogDescriptionProps & import("react").RefAttributes<HTMLParagraphElement>, "ref"> & import("react").RefAttributes<HTMLParagraphElement>>;
22
- export { Drawer, DrawerPortal, DrawerOverlay, DrawerTrigger, DrawerClose, DrawerContent, DrawerHeader, DrawerFooter, DrawerTitle, DrawerDescription, };
@@ -1,27 +0,0 @@
1
- /// <reference types="react" />
2
- import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
3
- declare const DropdownMenu: import("react").FC<DropdownMenuPrimitive.DropdownMenuProps>;
4
- declare const DropdownMenuTrigger: import("react").ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
5
- declare const DropdownMenuGroup: import("react").ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & import("react").RefAttributes<HTMLDivElement>>;
6
- declare const DropdownMenuPortal: import("react").FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
7
- declare const DropdownMenuSub: import("react").FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
8
- declare const DropdownMenuRadioGroup: import("react").ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & import("react").RefAttributes<HTMLDivElement>>;
9
- declare const DropdownMenuSubTrigger: import("react").ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
10
- inset?: boolean | undefined;
11
- } & import("react").RefAttributes<HTMLDivElement>>;
12
- declare const DropdownMenuSubContent: import("react").ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
13
- declare const DropdownMenuContent: import("react").ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
14
- declare const DropdownMenuItem: import("react").ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
15
- inset?: boolean | undefined;
16
- } & import("react").RefAttributes<HTMLDivElement>>;
17
- declare const DropdownMenuCheckboxItem: import("react").ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
18
- declare const DropdownMenuRadioItem: import("react").ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
19
- declare const DropdownMenuLabel: import("react").ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
20
- inset?: boolean | undefined;
21
- } & import("react").RefAttributes<HTMLDivElement>>;
22
- declare const DropdownMenuSeparator: import("react").ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
23
- declare const DropdownMenuShortcut: {
24
- ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
25
- displayName: string;
26
- };
27
- export { DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuGroup, DropdownMenuPortal, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuRadioGroup, };
@@ -1 +0,0 @@
1
- export declare function useMatchesMediaQuery(mediaQuery: MediaQueryList): boolean;
@@ -1,4 +0,0 @@
1
- /**
2
- * usePrefersReducedMotion returns true if the user has opted out of animations
3
- */
4
- export declare function usePrefersReducedMotion(): boolean;
@@ -1,21 +0,0 @@
1
- export { Anchor, anchorClassNames } from "./anchor";
2
- export { Button } from "./button";
3
- export { Card, CardBody, CardFooter, CardHeader, CardTitle } from "./card";
4
- export { CodeBlock, CodeBlockBody, CodeBlockCode, CodeBlockCopyButton, CodeBlockExpanderButton, CodeBlockHeader, CodeBlockTitle, } from "./code-block";
5
- export { Drawer, DrawerPortal, DrawerOverlay, DrawerTrigger, DrawerClose, DrawerContent, DrawerHeader, DrawerFooter, DrawerTitle, DrawerDescription, } from "./drawer";
6
- export { Input } from "./input";
7
- export { MediaObject, MediaObjectMedia, MediaObjectContent } from "./media-object";
8
- export { Select, SelectContent, SelectGroup, SelectIcon, SelectLabel, SelectOption, SelectSeparator, SelectTrigger, SelectValue, } from "./select";
9
- export { Skeleton } from "./skeleton";
10
- export { PreventWrongThemeFlash, ThemeProvider } from "./theme-provider";
11
- export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider } from "./tooltip";
12
- export { code } from "./code-block/code";
13
- export { cx } from "./cx";
14
- export { isTheme, theme, useTheme } from "./theme-provider";
15
- export type { ButtonProps } from "./button";
16
- export type { CardProps, CardTitleProps } from "./card";
17
- export type { InputProps } from "./input";
18
- export type { AutoComplete, InputType } from "./input/types";
19
- export type { Theme, ThemeProviderProps } from "./theme-provider";
20
- export type { WithAsChild } from "./types/as-child";
21
- export type { WithStyleProps } from "./types/with-style-props";
@@ -1,24 +0,0 @@
1
- import type { InputHTMLAttributes } from "react";
2
- import type { VariantProps } from "../types/variant-props";
3
- import type { AutoComplete, InputType } from "./types";
4
- declare const inputVariants: (props?: ({
5
- state?: "default" | "danger" | "success" | null | undefined;
6
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
- type InputVariants = VariantProps<typeof inputVariants>;
8
- /**
9
- * The props for the `Input` component.
10
- */
11
- export type InputProps = InputVariants & Omit<InputHTMLAttributes<HTMLInputElement>, "autoComplete" | "type"> & {
12
- autoComplete?: AutoComplete;
13
- type?: InputType;
14
- };
15
- /**
16
- * Used to create interactive controls for web-based forms in order to accept data from the user
17
- */
18
- declare const Input: import("react").ForwardRefExoticComponent<Partial<import("../types/deep-non-nullable").DeepNonNullable<import("class-variance-authority").VariantProps<(props?: ({
19
- state?: "default" | "danger" | "success" | null | undefined;
20
- } & import("class-variance-authority/types").ClassProp) | undefined) => string>>> & Omit<InputHTMLAttributes<HTMLInputElement>, "type" | "autoComplete"> & {
21
- autoComplete?: AutoComplete | undefined;
22
- type?: InputType | undefined;
23
- } & import("react").RefAttributes<HTMLInputElement>>;
24
- export { Input };
@@ -1,20 +0,0 @@
1
- /**
2
- * (Not a Boolean attribute!) The autocomplete attribute takes as its value a space-separated string that describes what,
3
- * if any, type of autocomplete functionality the input should provide. A typical implementation of autocomplete recalls
4
- * previous values entered in the same input field, but more complex forms of autocomplete can exist. For instance, a
5
- * browser could integrate with a device's contacts list to autocomplete email addresses in an email input field.
6
- *
7
- * The autocomplete attribute is valid on hidden, text, search, url, tel, email, date, month, week, time, datetime-local,
8
- * number, range, color, and password. This attribute has no effect on input types that do not return numeric or text
9
- * data, being valid for all input types except checkbox, radio, file, or any of the button types.
10
- *
11
- * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete#values
12
- */
13
- 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";
14
- /**
15
- * A string specifying the type of control to render. For example, to create a checkbox, a value of `"checkbox"` is used.
16
- * If omitted (or an unknown value is specified), the input type `"text"` is used, creating a plaintext input field.
17
- *
18
- * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#input_types
19
- */
20
- 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";
@@ -1,23 +0,0 @@
1
- import type { HTMLAttributes } from "react";
2
- /**
3
- * The media object is an image/icon (media) to the left, with descriptive
4
- * content (title and subtitle/description) to the right.
5
- *
6
- * Change the spacing between the media and content by passing a `gap-*` class.
7
- * The default gap is `gap-4`.
8
- *
9
- * Use flexbox utilities to change the alignment of the media and content.
10
- *
11
- * Compose the media object with the `MediaObjectMedia` and `MediaObjectContent`
12
- * components as direct children.
13
- */
14
- declare const MediaObject: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
15
- /**
16
- * The container for an image or icon to display in the media slot of the media object.
17
- */
18
- declare const MediaObjectMedia: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
19
- /**
20
- * The container for the content slot of a media object.
21
- */
22
- declare const MediaObjectContent: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
23
- export { MediaObject, MediaObjectMedia, MediaObjectContent };
@@ -1,6 +0,0 @@
1
- import { PropsWithChildren } from "react";
2
- type Props = PropsWithChildren<{
3
- container?: HTMLElement | null;
4
- }>;
5
- export declare const Portal: ({ children, container }: Props) => import("react/jsx-runtime").JSX.Element;
6
- export {};
@@ -1,13 +0,0 @@
1
- /// <reference types="react" />
2
- declare const Select: import("react").FC<import("@radix-ui/react-select").SelectProps>;
3
- declare const SelectGroup: import("react").ForwardRefExoticComponent<import("@radix-ui/react-select").SelectGroupProps & import("react").RefAttributes<HTMLDivElement>>;
4
- declare const SelectValue: import("react").ForwardRefExoticComponent<import("@radix-ui/react-select").SelectValueProps & import("react").RefAttributes<HTMLSpanElement>>;
5
- declare const SelectIcon: import("react").ForwardRefExoticComponent<import("@radix-ui/react-select").SelectIconProps & import("react").RefAttributes<HTMLSpanElement>>;
6
- declare const SelectTrigger: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-select").SelectTriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & {
7
- hideIcon?: boolean | undefined;
8
- } & import("react").RefAttributes<HTMLButtonElement>>;
9
- declare const SelectContent: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-select").SelectContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
10
- declare const SelectLabel: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-select").SelectLabelProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
11
- declare const SelectOption: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-select").SelectItemProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
12
- declare const SelectSeparator: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-select").SelectSeparatorProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
13
- export { Select, SelectContent, SelectGroup, SelectIcon, SelectLabel, SelectOption, SelectSeparator, SelectTrigger, SelectValue, };
@@ -1,4 +0,0 @@
1
- import { HTMLAttributes } from "react";
2
- type Props = Exclude<HTMLAttributes<HTMLDivElement>, "children">;
3
- declare function Skeleton({ className, ...props }: Props): import("react/jsx-runtime").JSX.Element;
4
- export { Skeleton };
@@ -1,10 +0,0 @@
1
- /**
2
- * This plugin adds a `firefox` variant to TailwindCSS.
3
- *
4
- * @see https://gist.github.com/samselikoff/b3c5126ee4f4e69e60b0af0aa5bfb2e7
5
- */
6
- declare const firefoxVariantPlugin: {
7
- handler: import("tailwindcss/types/config").PluginCreator;
8
- config?: Partial<import("tailwindcss/types/config").Config> | undefined;
9
- };
10
- export default firefoxVariantPlugin;