@ngrok/mantle 0.0.14 → 0.0.16

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 (113) hide show
  1. package/dist/components/alert/index.d.ts +2 -0
  2. package/dist/components/alert/index.d.ts.map +1 -0
  3. package/dist/components/alert/src/alert.d.ts +9 -0
  4. package/dist/components/alert/src/alert.d.ts.map +1 -0
  5. package/dist/components/anchor/index.d.ts +2 -0
  6. package/dist/components/anchor/index.d.ts.map +1 -0
  7. package/dist/components/anchor/src/anchor.d.ts +15 -0
  8. package/dist/components/anchor/src/anchor.d.ts.map +1 -0
  9. package/dist/components/back-to-top-button/index.d.ts +9 -0
  10. package/dist/components/back-to-top-button/index.d.ts.map +1 -0
  11. package/dist/components/button/index.d.ts +3 -0
  12. package/dist/components/button/index.d.ts.map +1 -0
  13. package/dist/components/button/src/button.d.ts +26 -0
  14. package/dist/components/button/src/button.d.ts.map +1 -0
  15. package/dist/components/card/index.d.ts +3 -0
  16. package/dist/components/card/index.d.ts.map +1 -0
  17. package/dist/components/card/src/card.d.ts +26 -0
  18. package/dist/components/card/src/card.d.ts.map +1 -0
  19. package/dist/components/code-block/index.d.ts +5 -0
  20. package/dist/components/code-block/index.d.ts.map +1 -0
  21. package/dist/components/code-block/src/code-block.d.ts +25 -0
  22. package/dist/components/code-block/src/code-block.d.ts.map +1 -0
  23. package/dist/components/code-block/src/code.d.ts +7 -0
  24. package/dist/components/code-block/src/code.d.ts.map +1 -0
  25. package/dist/components/code-block/src/line-numbers.d.ts +9 -0
  26. package/dist/components/code-block/src/line-numbers.d.ts.map +1 -0
  27. package/dist/components/code-block/src/parse-metastring.d.ts +48 -0
  28. package/dist/components/code-block/src/parse-metastring.d.ts.map +1 -0
  29. package/dist/components/code-block/src/supported-languages.d.ts +24 -0
  30. package/dist/components/code-block/src/supported-languages.d.ts.map +1 -0
  31. package/dist/components/core/index.d.ts +2 -0
  32. package/dist/components/core/index.d.ts.map +1 -0
  33. package/dist/components/core/src/cx.d.ts +8 -0
  34. package/dist/components/core/src/cx.d.ts.map +1 -0
  35. package/dist/components/dropdown-menu/index.d.ts +2 -0
  36. package/dist/components/dropdown-menu/index.d.ts.map +1 -0
  37. package/dist/components/dropdown-menu/src/dropdown-menu.d.ts +37 -0
  38. package/dist/components/dropdown-menu/src/dropdown-menu.d.ts.map +1 -0
  39. package/dist/components/hooks/use-matches-media-query.d.ts +2 -0
  40. package/dist/components/hooks/use-matches-media-query.d.ts.map +1 -0
  41. package/dist/components/hooks/use-prefers-reduced-motion.d.ts +5 -0
  42. package/dist/components/hooks/use-prefers-reduced-motion.d.ts.map +1 -0
  43. package/dist/components/index.d.ts +21 -0
  44. package/dist/components/index.d.ts.map +1 -0
  45. package/dist/components/inline-code/index.d.ts +2 -0
  46. package/dist/components/inline-code/index.d.ts.map +1 -0
  47. package/dist/components/inline-code/src/inline-code.d.ts +7 -0
  48. package/dist/components/inline-code/src/inline-code.d.ts.map +1 -0
  49. package/dist/components/input/index.d.ts +4 -0
  50. package/dist/components/input/index.d.ts.map +1 -0
  51. package/dist/components/input/src/input.d.ts +18 -0
  52. package/dist/components/input/src/input.d.ts.map +1 -0
  53. package/dist/components/input/src/types.d.ts +21 -0
  54. package/dist/components/input/src/types.d.ts.map +1 -0
  55. package/dist/components/media-object/index.d.ts +2 -0
  56. package/dist/components/media-object/index.d.ts.map +1 -0
  57. package/dist/components/media-object/src/media-object.d.ts +24 -0
  58. package/dist/components/media-object/src/media-object.d.ts.map +1 -0
  59. package/dist/components/password-input/index.d.ts +3 -0
  60. package/dist/components/password-input/index.d.ts.map +1 -0
  61. package/dist/components/password-input/src/password-input.d.ts +10 -0
  62. package/dist/components/password-input/src/password-input.d.ts.map +1 -0
  63. package/dist/components/popover/index.d.ts +2 -0
  64. package/dist/components/popover/index.d.ts.map +1 -0
  65. package/dist/components/popover/src/popover.d.ts +7 -0
  66. package/dist/components/popover/src/popover.d.ts.map +1 -0
  67. package/dist/components/portal/index.d.ts +7 -0
  68. package/dist/components/portal/index.d.ts.map +1 -0
  69. package/dist/components/select/index.d.ts +2 -0
  70. package/dist/components/select/index.d.ts.map +1 -0
  71. package/dist/components/select/src/select.d.ts +17 -0
  72. package/dist/components/select/src/select.d.ts.map +1 -0
  73. package/dist/components/sheet/index.d.ts +2 -0
  74. package/dist/components/sheet/index.d.ts.map +1 -0
  75. package/dist/components/sheet/src/sheet.d.ts +18 -0
  76. package/dist/components/sheet/src/sheet.d.ts.map +1 -0
  77. package/dist/components/skeleton/index.d.ts +2 -0
  78. package/dist/components/skeleton/index.d.ts.map +1 -0
  79. package/dist/components/skeleton/src/skeleton.d.ts +12 -0
  80. package/dist/components/skeleton/src/skeleton.d.ts.map +1 -0
  81. package/dist/components/table/index.d.ts +2 -0
  82. package/dist/components/table/index.d.ts.map +1 -0
  83. package/dist/components/table/src/table.d.ts +11 -0
  84. package/dist/components/table/src/table.d.ts.map +1 -0
  85. package/dist/components/text-area/index.d.ts +3 -0
  86. package/dist/components/text-area/index.d.ts.map +1 -0
  87. package/dist/components/text-area/src/text-area.d.ts +14 -0
  88. package/dist/components/text-area/src/text-area.d.ts.map +1 -0
  89. package/dist/components/theme-provider/index.d.ts +4 -0
  90. package/dist/components/theme-provider/index.d.ts.map +1 -0
  91. package/dist/components/theme-provider/src/theme-provider.d.ts +63 -0
  92. package/dist/components/theme-provider/src/theme-provider.d.ts.map +1 -0
  93. package/dist/components/tooltip/index.d.ts +2 -0
  94. package/dist/components/tooltip/index.d.ts.map +1 -0
  95. package/dist/components/tooltip/src/tooltip.d.ts +11 -0
  96. package/dist/components/tooltip/src/tooltip.d.ts.map +1 -0
  97. package/dist/components/types/index.d.ts +5 -0
  98. package/dist/components/types/index.d.ts.map +1 -0
  99. package/dist/components/types/src/as-child.d.ts +21 -0
  100. package/dist/components/types/src/as-child.d.ts.map +1 -0
  101. package/dist/components/types/src/deep-non-nullable.d.ts +7 -0
  102. package/dist/components/types/src/deep-non-nullable.d.ts.map +1 -0
  103. package/dist/components/types/src/variant-props.d.ts +9 -0
  104. package/dist/components/types/src/variant-props.d.ts.map +1 -0
  105. package/dist/components/types/src/with-style-props.d.ts +25 -0
  106. package/dist/components/types/src/with-style-props.d.ts.map +1 -0
  107. package/dist/index.js +29 -26
  108. package/dist/index.js.map +1 -1
  109. package/dist/tsconfig.publish.tsbuildinfo +1 -0
  110. package/package.json +13 -6
  111. package/dist/index.d.ts +0 -403
  112. package/dist/index.d.ts.map +0 -1
  113. /package/{dist → assets}/mantle.css +0 -0
@@ -0,0 +1,2 @@
1
+ export { Alert, AlertContent, AlertTitle, AlertDescription } from "./src/alert";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/alert/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { HTMLAttributes } from "react";
2
+ declare const Alert: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & Partial<import("../../types").DeepNonNullable<import("class-variance-authority").VariantProps<(props?: ({
3
+ priority?: "danger" | "default" | "info" | "success" | "warning" | null | undefined;
4
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string>>> & import("react").RefAttributes<HTMLDivElement>>;
5
+ declare const AlertContent: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
6
+ declare const AlertTitle: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLHeadingElement> & import("react").RefAttributes<HTMLParagraphElement>>;
7
+ declare const AlertDescription: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLParagraphElement>>;
8
+ export { Alert, AlertContent, AlertTitle, AlertDescription };
9
+ //# sourceMappingURL=alert.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../../../../components/alert/src/alert.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAqB5C,QAAA,MAAM,KAAK;;kIAIV,CAAC;AAGF,QAAA,MAAM,YAAY,2HAEhB,CAAC;AAGH,QAAA,MAAM,UAAU,qIAIf,CAAC;AAGF,QAAA,MAAM,gBAAgB,uIAIrB,CAAC;AAGF,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,UAAU,EAAE,gBAAgB,EAAE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { Anchor, anchorClassNames } from "./src/anchor";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/anchor/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { AnchorHTMLAttributes } from "react";
2
+ import { WithAsChild } from "../../types/src/as-child";
3
+ declare const anchorClassNames: (className: string | undefined) => string;
4
+ /**
5
+ * Fundamental component for rendering links to external addresses.
6
+ *
7
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a
8
+ *
9
+ * @note If you need to link to an internal application route, prefer using the
10
+ * [`react-router-dom` `<Link>`](https://reactrouter.com/en/main/components/link) or the
11
+ * [`@remix-run/react` `<Link>`](https://remix.run/docs/en/main/components/link).
12
+ */
13
+ declare const Anchor: import("react").ForwardRefExoticComponent<AnchorHTMLAttributes<HTMLAnchorElement> & WithAsChild & import("react").RefAttributes<HTMLAnchorElement>>;
14
+ export { Anchor, anchorClassNames };
15
+ //# sourceMappingURL=anchor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"anchor.d.ts","sourceRoot":"","sources":["../../../../components/anchor/src/anchor.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAc,MAAM,OAAO,CAAC;AAEzD,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAEvD,QAAA,MAAM,gBAAgB,cAAe,MAAM,GAAG,SAAS,WAIrD,CAAC;AAIH;;;;;;;;GAQG;AACH,QAAA,MAAM,MAAM,qJAIV,CAAC;AAGH,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { type CSSProperties } from "react";
2
+ type Props = {
3
+ className?: string;
4
+ showThresholdPx?: number;
5
+ style?: CSSProperties;
6
+ };
7
+ export declare const BackToTopButton: ({ className, showThresholdPx, style }: Props) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/back-to-top-button/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAqB,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAM9D,KAAK,KAAK,GAAG;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,aAAa,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,eAAe,0CAAiD,KAAK,4CAuCjF,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { Button } from "./src/button";
2
+ export type { ButtonProps } from "./src/button";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/button/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAEtC,YAAY,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC"}
@@ -0,0 +1,26 @@
1
+ import { type ButtonHTMLAttributes } from "react";
2
+ import type { WithAsChild } from "../../types/src/as-child";
3
+ import type { VariantProps } from "../../types/src/variant-props";
4
+ declare const buttonVariants: (props?: ({
5
+ appearance?: "link" | "outlined" | "filled" | "ghost" | null | undefined;
6
+ priority?: "danger" | "default" | "muted" | null | undefined;
7
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
+ type ButtonVariants = VariantProps<typeof buttonVariants>;
9
+ /**
10
+ * The props for the `Button` component.
11
+ */
12
+ export type ButtonProps = WithAsChild & ButtonHTMLAttributes<HTMLButtonElement> & ButtonVariants;
13
+ /**
14
+ * Renders a button or a component that looks like a button, an interactive
15
+ * element activated by a user with a mouse, keyboard, finger, voice command, or
16
+ * other assistive technology. Once activated, it then performs an action, such
17
+ * as submitting a form or opening a dialog.
18
+ *
19
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button
20
+ */
21
+ declare const Button: import("react").ForwardRefExoticComponent<WithAsChild & ButtonHTMLAttributes<HTMLButtonElement> & Partial<import("../..").DeepNonNullable<import("class-variance-authority").VariantProps<(props?: ({
22
+ appearance?: "link" | "outlined" | "filled" | "ghost" | null | undefined;
23
+ priority?: "danger" | "default" | "muted" | null | undefined;
24
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string>>> & import("react").RefAttributes<HTMLButtonElement>>;
25
+ export { Button, buttonVariants };
26
+ //# sourceMappingURL=button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../components/button/src/button.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAc,KAAK,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAE9D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAElE,QAAA,MAAM,cAAc;;;8EAsEnB,CAAC;AAEF,KAAK,cAAc,GAAG,YAAY,CAAC,OAAO,cAAc,CAAC,CAAC;AAE1D;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,WAAW,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,GAAG,cAAc,CAAC;AAEjG;;;;;;;GAOG;AACH,QAAA,MAAM,MAAM;;;qIAMX,CAAC;AAGF,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { Card, CardBody, CardFooter, CardHeader, CardTitle } from "./src/card";
2
+ export type { CardProps, CardTitleProps } from "./src/card";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/card/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAE/E,YAAY,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC"}
@@ -0,0 +1,26 @@
1
+ import type { HTMLAttributes } from "react";
2
+ import type { WithAsChild } from "../../types/src/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>>;
26
+ //# sourceMappingURL=card.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../../components/card/src/card.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAE5D,MAAM,MAAM,SAAS,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEvD;;;GAGG;AACH,eAAO,MAAM,IAAI,sGAIf,CAAC;AAGH;;GAEG;AACH,eAAO,MAAM,QAAQ,sGAInB,CAAC;AAGH;;GAEG;AACH,eAAO,MAAM,UAAU,sGAIrB,CAAC;AAGH;;GAEG;AACH,eAAO,MAAM,UAAU,sGAIrB,CAAC;AAGH,MAAM,MAAM,cAAc,GAAG,cAAc,CAAC,kBAAkB,CAAC,GAAG,WAAW,CAAC;AAE9E;;GAEG;AACH,eAAO,MAAM,SAAS,mJAGpB,CAAC"}
@@ -0,0 +1,5 @@
1
+ export { CodeBlock, CodeBlockBody, CodeBlockCode, CodeBlockCopyButton, CodeBlockExpanderButton, CodeBlockHeader, CodeBlockTitle, } from "./src/code-block";
2
+ export { code } from "./src/code";
3
+ export { parseMetastring } from "./src/parse-metastring";
4
+ export { isSupportedLanguage, parseLanguage } from "./src/supported-languages";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/code-block/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,SAAS,EACT,aAAa,EACb,aAAa,EACb,mBAAmB,EACnB,uBAAuB,EACvB,eAAe,EACf,cAAc,GACd,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAClC,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC"}
@@ -0,0 +1,25 @@
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/src/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?: "bash" | "cs" | "csharp" | "css" | "dotnet" | "go" | "html" | "java" | "javascript" | "js" | "json" | "jsx" | "py" | "python" | "rb" | "ruby" | "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, };
25
+ //# sourceMappingURL=code-block.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"code-block.d.ts","sourceRoot":"","sources":["../../../../components/code-block/src/code-block.tsx"],"names":[],"mappings":"AAEA,OAAO,EAKN,cAAc,EAQd,MAAM,OAAO,CAAC;AACf,OAAO,kCAAkC,CAAC;AAC1C,OAAO,iCAAiC,CAAC;AACzC,OAAO,iCAAiC,CAAC;AAOzC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAmCvE,QAAA,MAAM,SAAS,2HA4Cb,CAAC;AAGH,QAAA,MAAM,aAAa,2HAEjB,CAAC;AAUH,QAAA,MAAM,aAAa;eANP,MAAM,GAAG,SAAS;;;;kDA4D5B,CAAC;AAGH,QAAA,MAAM,eAAe,2HAMnB,CAAC;AAGH,QAAA,MAAM,cAAc;;sDAKnB,CAAC;AAQF,QAAA,MAAM,mBAAmB;sBAJP,MAAM,KAAK,IAAI;2BACV,OAAO,KAAK,IAAI;qDAsDtC,CAAC;AAGF,KAAK,4BAA4B,GAAG,IAAI,CACvC,cAAc,CAAC,iBAAiB,CAAC,EACjC,UAAU,GAAG,eAAe,GAAG,eAAe,CAC9C,CAAC;AAEF,QAAA,MAAM,uBAAuB,4HAoC5B,CAAC;AAGF,OAAO,EACN,SAAS,EACT,aAAa,EACb,aAAa,EACb,mBAAmB,EACnB,uBAAuB,EACvB,eAAe,EACf,cAAc,GACd,CAAC"}
@@ -0,0 +1,7 @@
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 {};
7
+ //# sourceMappingURL=code.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"code.d.ts","sourceRoot":"","sources":["../../../../components/code-block/src/code.ts"],"names":[],"mappings":"AAAA,KAAK,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,GAAG,IAAI,CAAC;AAE9D;;GAEG;AACH,wBAAgB,IAAI,CAAC,OAAO,EAAE,oBAAoB,EAAE,GAAG,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CAwBlF"}
@@ -0,0 +1,9 @@
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>;
9
+ //# sourceMappingURL=line-numbers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"line-numbers.d.ts","sourceRoot":"","sources":["../../../../components/code-block/src/line-numbers.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,GAAG,MAAM,IAAI,MAAM,EAAE,CAAC;AAE9C;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,GAAG,KAAK,EAAE,CAAC,SAAS,GAAG,MAAM,CAAC,EAAE,GAAG,GAAG,CAAC,MAAM,CAAC,CAqChF"}
@@ -0,0 +1,48 @@
1
+ import { z } from "zod";
2
+ declare const modes: readonly ["file", "cli"];
3
+ export type Mode = (typeof modes)[number];
4
+ declare const metaSchema: z.ZodObject<{
5
+ collapsible: z.ZodDefault<z.ZodBoolean>;
6
+ disableCopy: z.ZodDefault<z.ZodBoolean>;
7
+ mode: z.ZodOptional<z.ZodEnum<["file", "cli"]>>;
8
+ title: z.ZodOptional<z.ZodString>;
9
+ }, "strip", z.ZodTypeAny, {
10
+ collapsible: boolean;
11
+ disableCopy: boolean;
12
+ mode?: "file" | "cli" | undefined;
13
+ title?: string | undefined;
14
+ }, {
15
+ collapsible?: boolean | undefined;
16
+ disableCopy?: boolean | undefined;
17
+ mode?: "file" | "cli" | undefined;
18
+ title?: string | undefined;
19
+ }>;
20
+ export type MetaInput = z.input<typeof metaSchema>;
21
+ export type Meta = z.infer<typeof metaSchema>;
22
+ export declare const defaultMeta: {
23
+ readonly collapsible: false;
24
+ readonly disableCopy: false;
25
+ readonly mode: undefined;
26
+ readonly title: undefined;
27
+ };
28
+ export type DefaultMeta = typeof defaultMeta;
29
+ /**
30
+ * Parses a markdown code block (```) metastring into a meta object.
31
+ * Defaults to DefaultMeta if no metastring given or if metastring is invalid.
32
+ * Useful for parsing the metastring from a markdown code block to pass into the
33
+ * CodeBlock components as props.
34
+ */
35
+ export declare function parseMetastring(value: string | undefined): Meta;
36
+ /**
37
+ * Remove leading and trailing `"` quotes around value
38
+ * @private
39
+ */
40
+ export declare function normalizeValue(value: string | undefined): string | undefined;
41
+ /**
42
+ * Splits a metastring into an array of tokens that can be parsed into a meta object.
43
+ * Should allow for quotes and spaces in tokens
44
+ * @private
45
+ */
46
+ export declare function tokenizeMetastring(value: string | undefined): string[];
47
+ export {};
48
+ //# sourceMappingURL=parse-metastring.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parse-metastring.d.ts","sourceRoot":"","sources":["../../../../components/code-block/src/parse-metastring.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,QAAA,MAAM,KAAK,0BAA2B,CAAC;AACvC,MAAM,MAAM,IAAI,GAAG,CAAC,OAAO,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC;AAE1C,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;EAKd,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AAEnD,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AAE9C,eAAO,MAAM,WAAW;;;;;CAKC,CAAC;AAE1B,MAAM,MAAM,WAAW,GAAG,OAAO,WAAW,CAAC;AAE7C;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,CA2B/D;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,sBAEvD;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,EAAE,CA0BtE"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * List of supported languages for syntax highlighting.
3
+ * @private
4
+ */
5
+ export 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"];
6
+ /**
7
+ * Supported languages for syntax highlighting.
8
+ */
9
+ export type SupportedLanguage = (typeof supportedLanguages)[number];
10
+ /**
11
+ * Parses a markdown code block (```) language class into a SupportedLanguage.
12
+ * Defaults to "sh" if no supported language is found.
13
+ */
14
+ export declare function parseLanguage(value: `language-${string}` | `lang-${string}` | (string & {}) | undefined): SupportedLanguage;
15
+ /**
16
+ * Type Predicate: checks if an arbitrary value is a supported syntax highlighting language.
17
+ */
18
+ export declare const isSupportedLanguage: (value: unknown) => value is "bash" | "cs" | "csharp" | "css" | "dotnet" | "go" | "html" | "java" | "javascript" | "js" | "json" | "jsx" | "py" | "python" | "rb" | "ruby" | "rust" | "sh" | "shell" | "ts" | "tsx" | "typescript" | "yaml" | "yml";
19
+ /**
20
+ * Formats a language name into a class name that Prism.js can understand.
21
+ * @default "language-sh"
22
+ */
23
+ export declare function formatLanguageClassName(language?: SupportedLanguage | undefined): "language-bash" | "language-cs" | "language-csharp" | "language-css" | "language-dotnet" | "language-go" | "language-html" | "language-java" | "language-javascript" | "language-js" | "language-json" | "language-jsx" | "language-py" | "language-python" | "language-rb" | "language-ruby" | "language-rust" | "language-sh" | "language-shell" | "language-ts" | "language-tsx" | "language-typescript" | "language-yaml" | "language-yml";
24
+ //# sourceMappingURL=supported-languages.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"supported-languages.d.ts","sourceRoot":"","sources":["../../../../components/code-block/src/supported-languages.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,kBAAkB,4MAyBrB,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEpE;;;GAGG;AACH,wBAAgB,aAAa,CAC5B,KAAK,EAAE,YAAY,MAAM,EAAE,GAAG,QAAQ,MAAM,EAAE,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,GAAG,SAAS,GACxE,iBAAiB,CAUnB;AAED;;GAEG;AACH,eAAO,MAAM,mBAAmB,UAAW,OAAO,oOAEjD,CAAC;AAOF;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,QAAQ,GAAE,iBAAiB,GAAG,SAAgB,kbAIrF"}
@@ -0,0 +1,2 @@
1
+ export { cx } from "./src/cx";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/core/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,UAAU,CAAC"}
@@ -0,0 +1,8 @@
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;
8
+ //# sourceMappingURL=cx.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cx.d.ts","sourceRoot":"","sources":["../../../../components/core/src/cx.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,UAAU,EAAE,MAAM,MAAM,CAAC;AAG7C;;;;GAIG;AACH,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,UAEzC"}
@@ -0,0 +1,2 @@
1
+ export { DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, } from "./src/dropdown-menu";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/dropdown-menu/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,YAAY,EACZ,mBAAmB,EACnB,mBAAmB,EACnB,gBAAgB,EAChB,wBAAwB,EACxB,qBAAqB,EACrB,iBAAiB,EACjB,qBAAqB,EACrB,oBAAoB,GACpB,MAAM,qBAAqB,CAAC"}
@@ -0,0 +1,37 @@
1
+ import * as Ariakit from "@ariakit/react";
2
+ import type { ComponentPropsWithoutRef, HTMLAttributes } from "react";
3
+ import { WithAsChild } from "../../types";
4
+ declare const DropdownMenu: typeof Ariakit.MenuProvider;
5
+ declare const DropdownMenuTrigger: import("react").ForwardRefExoticComponent<Omit<Omit<Ariakit.MenuButtonOptions<"button" | "div"> & Omit<(Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
6
+ ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
7
+ }) | (Omit<import("react").DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
8
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
9
+ }), keyof Ariakit.MenuButtonOptions<T>> & {
10
+ [index: `data-${string}`]: unknown;
11
+ }, "ref">, "render"> & WithAsChild & import("react").RefAttributes<HTMLButtonElement>>;
12
+ declare const DropdownMenuContent: import("react").ForwardRefExoticComponent<Omit<Ariakit.MenuOptions<"div"> & Omit<Omit<import("react").DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
13
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
14
+ }, keyof Ariakit.MenuOptions<T>> & {
15
+ [index: `data-${string}`]: unknown;
16
+ }, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
17
+ declare const DropdownMenuItem: import("react").ForwardRefExoticComponent<Omit<Ariakit.MenuItemOptions<"div"> & Omit<Omit<import("react").DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
18
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
19
+ }, keyof Ariakit.MenuItemOptions<T>> & {
20
+ [index: `data-${string}`]: unknown;
21
+ }, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
22
+ type DropdownMenuCheckboxItemProps = Omit<ComponentPropsWithoutRef<typeof Ariakit.MenuItemCheckbox>, "render">;
23
+ declare const DropdownMenuCheckboxItem: import("react").ForwardRefExoticComponent<DropdownMenuCheckboxItemProps & import("react").RefAttributes<HTMLDivElement>>;
24
+ type DropdownMenuRadioItemProps = Omit<ComponentPropsWithoutRef<typeof Ariakit.MenuItemRadio>, "render">;
25
+ declare const DropdownMenuRadioItem: import("react").ForwardRefExoticComponent<DropdownMenuRadioItemProps & import("react").RefAttributes<HTMLDivElement>>;
26
+ declare const DropdownMenuLabel: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
27
+ declare const DropdownMenuSeparator: import("react").ForwardRefExoticComponent<Omit<Ariakit.MenuSeparatorOptions<"hr"> & Omit<Omit<import("react").DetailedHTMLProps<HTMLAttributes<HTMLHRElement>, HTMLHRElement>, "ref"> & {
28
+ ref?: ((instance: HTMLHRElement | null) => void) | import("react").RefObject<HTMLHRElement> | null | undefined;
29
+ }, keyof Ariakit.MenuSeparatorOptions<T>> & {
30
+ [index: `data-${string}`]: unknown;
31
+ }, "ref"> & import("react").RefAttributes<HTMLHRElement>>;
32
+ declare const DropdownMenuShortcut: {
33
+ ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
34
+ displayName: string;
35
+ };
36
+ export { DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, };
37
+ //# sourceMappingURL=dropdown-menu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dropdown-menu.d.ts","sourceRoot":"","sources":["../../../../components/dropdown-menu/src/dropdown-menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAE1C,OAAO,KAAK,EAAE,wBAAwB,EAAc,cAAc,EAAE,MAAM,OAAO,CAAC;AAGlF,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,QAAA,MAAM,YAAY,6BAAuB,CAAC;AAG1C,QAAA,MAAM,mBAAmB;;;;;;sFAiBxB,CAAC;AAGF,QAAA,MAAM,mBAAmB;;;;0DAYxB,CAAC;AAGF,QAAA,MAAM,gBAAgB;;;;0DAYpB,CAAC;AAGH,KAAK,6BAA6B,GAAG,IAAI,CAAC,wBAAwB,CAAC,OAAO,OAAO,CAAC,gBAAgB,CAAC,EAAE,QAAQ,CAAC,CAAC;AAC/G,QAAA,MAAM,wBAAwB,0HAiB7B,CAAC;AAGF,KAAK,0BAA0B,GAAG,IAAI,CAAC,wBAAwB,CAAC,OAAO,OAAO,CAAC,aAAa,CAAC,EAAE,QAAQ,CAAC,CAAC;AACzG,QAAA,MAAM,qBAAqB,uHAgB1B,CAAC;AASF,QAAA,MAAM,iBAAiB,2LAItB,CAAC;AAGF,QAAA,MAAM,qBAAqB;;;;yDAKzB,CAAC;AAGH,QAAA,MAAM,oBAAoB;8BAA6B,oBAAoB,CAAC,eAAe,CAAC;;CAE3F,CAAC;AAGF,OAAO,EACN,YAAY,EACZ,mBAAmB,EACnB,mBAAmB,EACnB,gBAAgB,EAChB,wBAAwB,EACxB,qBAAqB,EACrB,iBAAiB,EACjB,qBAAqB,EACrB,oBAAoB,GASpB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare function useMatchesMediaQuery(query: string): boolean;
2
+ //# sourceMappingURL=use-matches-media-query.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-matches-media-query.d.ts","sourceRoot":"","sources":["../../../components/hooks/use-matches-media-query.tsx"],"names":[],"mappings":"AAEA,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,WAoBjD"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * usePrefersReducedMotion returns true if the user has opted out of animations
3
+ */
4
+ export declare function usePrefersReducedMotion(): boolean;
5
+ //# sourceMappingURL=use-prefers-reduced-motion.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-prefers-reduced-motion.d.ts","sourceRoot":"","sources":["../../../components/hooks/use-prefers-reduced-motion.tsx"],"names":[],"mappings":"AASA;;GAEG;AACH,wBAAgB,uBAAuB,YAuBtC"}
@@ -0,0 +1,21 @@
1
+ export * from "./alert";
2
+ export * from "./anchor";
3
+ export * from "./button";
4
+ export * from "./card";
5
+ export * from "./code-block";
6
+ export * from "./core";
7
+ export * from "./dropdown-menu";
8
+ export * from "./inline-code";
9
+ export * from "./input";
10
+ export * from "./media-object";
11
+ export * from "./password-input";
12
+ export * from "./popover";
13
+ export * from "./select";
14
+ export * from "./sheet";
15
+ export * from "./skeleton";
16
+ export * from "./table";
17
+ export * from "./text-area";
18
+ export * from "./theme-provider";
19
+ export * from "./tooltip";
20
+ export type * from "./types";
21
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../components/index.tsx"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAG1B,mBAAmB,SAAS,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { InlineCode } from "./src/inline-code";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/inline-code/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { HTMLAttributes } from "react";
2
+ /**
3
+ * A component to render inline code.
4
+ */
5
+ declare const InlineCode: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLSpanElement> & import("react").RefAttributes<HTMLSpanElement>>;
6
+ export { InlineCode };
7
+ //# sourceMappingURL=inline-code.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inline-code.d.ts","sourceRoot":"","sources":["../../../../components/inline-code/src/inline-code.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,cAAc,EAAE,MAAM,OAAO,CAAC;AAGnD;;GAEG;AACH,QAAA,MAAM,UAAU,6HASd,CAAC;AAGH,OAAO,EAAE,UAAU,EAAE,CAAC"}
@@ -0,0 +1,4 @@
1
+ export { Input } from "./src/input";
2
+ export type { InputProps } from "./src/input";
3
+ export type { AutoComplete, InputType } from "./src/types";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/input/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEpC,YAAY,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAC9C,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
@@ -0,0 +1,18 @@
1
+ import type { InputHTMLAttributes } from "react";
2
+ import type { AutoComplete, InputType } from "./types";
3
+ /**
4
+ * The props for the `Input` component.
5
+ */
6
+ export type InputProps = Omit<InputHTMLAttributes<HTMLInputElement>, "autoComplete" | "type"> & {
7
+ autoComplete?: AutoComplete;
8
+ type?: InputType;
9
+ };
10
+ /**
11
+ * Used to create interactive controls for web-based forms in order to accept data from the user
12
+ */
13
+ declare const Input: import("react").ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "type" | "autoComplete"> & {
14
+ autoComplete?: AutoComplete | undefined;
15
+ type?: InputType | undefined;
16
+ } & import("react").RefAttributes<HTMLInputElement>>;
17
+ export { Input };
18
+ //# sourceMappingURL=input.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../../components/input/src/input.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAGjD,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAiBvD;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,cAAc,GAAG,MAAM,CAAC,GAAG;IAC/F,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,IAAI,CAAC,EAAE,SAAS,CAAC;CACjB,CAAC;AAEF;;GAEG;AACH,QAAA,MAAM,KAAK;;;oDAGT,CAAC;AAGH,OAAO,EAAE,KAAK,EAAE,CAAC"}
@@ -0,0 +1,21 @@
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";
21
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../components/input/src/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,YAAY,GACrB,KAAK,GACL,IAAI,GACJ,MAAM,GACN,kBAAkB,GAClB,YAAY,GACZ,iBAAiB,GACjB,aAAa,GACb,kBAAkB,GAClB,UAAU,GACV,OAAO,GACP,UAAU,GACV,cAAc,GACd,kBAAkB,GAClB,eAAe,GACf,oBAAoB,GACpB,cAAc,GACd,gBAAgB,GAChB,eAAe,GACf,eAAe,GACf,eAAe,GACf,gBAAgB,GAChB,gBAAgB,GAChB,gBAAgB,GAChB,gBAAgB,GAChB,SAAS,GACT,cAAc,GACd,aAAa,GACb,SAAS,GACT,eAAe,GACf,oBAAoB,GACpB,gBAAgB,GAChB,WAAW,GACX,QAAQ,GACR,cAAc,GACd,aAAa,GACb,QAAQ,GACR,SAAS,GACT,sBAAsB,GACtB,oBAAoB,GACpB,UAAU,GACV,MAAM,GACN,UAAU,GACV,YAAY,GACZ,WAAW,GACX,KAAK,GACL,KAAK,GACL,kBAAkB,GAClB,cAAc,GACd,eAAe,GACf,WAAW,GACX,eAAe,GACf,MAAM,GACN,KAAK,GACL,OAAO,CAAC;AAEX;;;;;GAKG;AACH,MAAM,MAAM,SAAS,GAClB,QAAQ,GACR,UAAU,GACV,OAAO,GACP,MAAM,GACN,gBAAgB,GAChB,OAAO,GACP,MAAM,GACN,QAAQ,GACR,OAAO,GACP,OAAO,GACP,QAAQ,GACR,UAAU,GACV,OAAO,GACP,OAAO,GACP,OAAO,GACP,QAAQ,GACR,QAAQ,GACR,KAAK,GACL,MAAM,GACN,MAAM,GACN,KAAK,GACL,MAAM,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { MediaObject, MediaObjectMedia, MediaObjectContent } from "./src/media-object";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/media-object/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC"}
@@ -0,0 +1,24 @@
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 };
24
+ //# sourceMappingURL=media-object.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"media-object.d.ts","sourceRoot":"","sources":["../../../../components/media-object/src/media-object.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C;;;;;;;;;;;GAWG;AACH,QAAA,MAAM,WAAW,2HAMhB,CAAC;AAGF;;GAEG;AACH,QAAA,MAAM,gBAAgB,2HAMrB,CAAC;AAGF;;GAEG;AACH,QAAA,MAAM,kBAAkB,2HAMvB,CAAC;AAGF,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { PasswordInput } from "./src/password-input";
2
+ export type { PasswordInputProps } from "./src/password-input";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/password-input/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAErD,YAAY,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type { InputHTMLAttributes } from "react";
2
+ import type { AutoComplete } from "../../input";
3
+ export type PasswordInputProps = Omit<InputHTMLAttributes<HTMLInputElement>, "autoComplete" | "type"> & {
4
+ autoComplete?: AutoComplete;
5
+ };
6
+ declare const PasswordInput: import("react").ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "type" | "autoComplete"> & {
7
+ autoComplete?: AutoComplete | undefined;
8
+ } & import("react").RefAttributes<HTMLInputElement>>;
9
+ export { PasswordInput };
10
+ //# sourceMappingURL=password-input.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"password-input.d.ts","sourceRoot":"","sources":["../../../../components/password-input/src/password-input.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAEjD,OAAO,KAAK,EAAE,YAAY,EAAa,MAAM,aAAa,CAAC;AAG3D,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,cAAc,GAAG,MAAM,CAAC,GAAG;IACvG,YAAY,CAAC,EAAE,YAAY,CAAC;CAC5B,CAAC;AAoBF,QAAA,MAAM,aAAa;;oDAyBjB,CAAC;AAGH,OAAO,EAAE,aAAa,EAAE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { Popover, PopoverTrigger, PopoverContent } from "./src/popover";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/popover/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC"}
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import * as PopoverPrimitive from "@radix-ui/react-popover";
3
+ declare const Popover: import("react").FC<PopoverPrimitive.PopoverProps>;
4
+ declare const PopoverTrigger: import("react").ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
5
+ declare const PopoverContent: import("react").ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
6
+ export { Popover, PopoverTrigger, PopoverContent };
7
+ //# sourceMappingURL=popover.d.ts.map