@lettuceai/crisp 1.2.2 → 1.3.0

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.
@@ -0,0 +1,15 @@
1
+ export interface InlineMarkdownProps {
2
+ children: string;
3
+ className?: string;
4
+ }
5
+ /** ATX headings kept as text: the first `#` of a heading line is escaped. */
6
+ export declare function escapeHeadings(text: string): string;
7
+ /**
8
+ * Markdown inside a line of text — a card's description, a list row's preview. Bold,
9
+ * italic, strikethrough and inline code keep their emphasis; paragraphs, lists and quotes
10
+ * run on as one line so a line clamp still works; headings stay as the text they were
11
+ * typed as, and links are plain text, since the line usually sits inside a button.
12
+ *
13
+ * Raw HTML is not enabled: descriptions and messages are untrusted text.
14
+ */
15
+ export declare function InlineMarkdown({ children, className }: InlineMarkdownProps): import("react").JSX.Element;
@@ -60,6 +60,7 @@ export * from "./PartitionBar";
60
60
  export * from "./Popover";
61
61
  export * from "./primitives";
62
62
  export * from "./Progress";
63
+ export * from "./InlineMarkdown";
63
64
  export * from "./Prose";
64
65
  export * from "./Radio";
65
66
  export * from "./Resizable";