@lax-wp/design-system 0.9.17 → 0.9.18

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.
@@ -12,6 +12,8 @@ export interface MarkdownPreviewProps {
12
12
  enableSyntaxHighlighting?: boolean;
13
13
  /** Whether to remove indentation from lists and align all content to the left */
14
14
  noIndent?: boolean;
15
+ /** Whether to display all content with uniform font size/weight (paragraph-like) while keeping formatting */
16
+ showMinimalPreview?: boolean;
15
17
  }
16
18
  /**
17
19
  * MarkdownPreview component displays rendered markdown content.
@@ -36,6 +38,7 @@ export interface MarkdownPreviewProps {
36
38
  * - Dark mode support
37
39
  * - Configurable link behavior
38
40
  * - Optional no-indent mode for aligned content
41
+ * - Minimal preview mode (uniform typography)
39
42
  *
40
43
  * @example
41
44
  * ```tsx
@@ -43,6 +46,7 @@ export interface MarkdownPreviewProps {
43
46
  * content="# Hello World\n\nThis is **bold** text."
44
47
  * linkTarget="_blank"
45
48
  * noIndent={false}
49
+ * showMinimalPreview={false}
46
50
  * />
47
51
  * ```
48
52
  */
@@ -48,6 +48,8 @@ export interface RichMarkdownInputProps {
48
48
  onKeyDown?: (e: React.KeyboardEvent<HTMLTextAreaElement>) => void;
49
49
  /** Whether to remove indentation from lists and align all content to the left in preview */
50
50
  noIndent?: boolean;
51
+ /** Whether to display all content with uniform font size/weight (paragraph-like) while keeping formatting */
52
+ showMinimalPreview?: boolean;
51
53
  /** Callback function called when the markdown value changes */
52
54
  onChange: (value: string) => void;
53
55
  }
@@ -77,6 +79,7 @@ export interface RichMarkdownInputProps {
77
79
  * - Clear button (optional)
78
80
  * - Suffix icon support
79
81
  * - Custom keyboard handlers
82
+ * - Minimal preview mode (uniform typography)
80
83
  *
81
84
  * @example
82
85
  * ```tsx
@@ -90,6 +93,7 @@ export interface RichMarkdownInputProps {
90
93
  * isClearable
91
94
  * errorMessage="Invalid input"
92
95
  * tooltip="Use markdown formatting"
96
+ * showMinimalPreview={false}
93
97
  * />
94
98
  * ```
95
99
  */