elseware-ui 2.9.2 → 2.9.3

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.
@@ -1,7 +1,9 @@
1
+ import "../../../styles/components/markdown/index.css";
1
2
  import "@mdxeditor/editor/style.css";
2
3
  interface MarkdownEditorProps {
3
4
  value: string;
4
5
  onChange: (value: string) => void;
6
+ darkMode?: boolean;
5
7
  }
6
8
  declare function MarkdownEditor({ value, onChange }: MarkdownEditorProps): import("react/jsx-runtime").JSX.Element;
7
9
  export default MarkdownEditor;
@@ -1,3 +1,4 @@
1
+ import "../../../styles/components/markdown/index.css";
1
2
  import "@mdxeditor/editor/style.css";
2
3
  interface MarkdownViewerProps {
3
4
  value: string;
@@ -18,3 +18,4 @@ export declare const artifactOptions: {
18
18
  label: string;
19
19
  value: string;
20
20
  }[];
21
+ export declare const sampleMarkdownContent = "\n# Hello Markdown\n\nWelcome to the **Markdown Editor**! \nThis editor supports *rich formatting*, _underline_, ~~strikethrough~~ and more.\n\n---\n\n## \uD83D\uDD17 Links\nCheck out [Elseware Games](https://elseware.games) \u2014 your source for game tools.\n\n---\n\n## \uD83D\uDCF7 Images\n![Example Image](https://via.placeholder.com/150)\n\n---\n\n## \uD83D\uDD22 Lists\n\n### - Unordered List\n- Item one\n- Item two\n - Nested item\n- Item three\n\n### 1. Ordered List\n1. First\n2. Second\n3. Third\n\n### \u2705 Task List\n- [x] Task completed\n- [ ] Task pending\n- [ ] Another task\n\n---\n\n## \uD83D\uDCE6 Blockquote\n> \"Great software is built, not bought.\"\n\n---\n\n## \uD83D\uDCCA Table\n\n| Feature | Supported |\n| ------------- | --------- |\n| Headings | \u2705 |\n| Lists | \u2705 |\n| Links | \u2705 |\n| Tables | \u2705 |\n| Images | \u2705 |\n| Quotes | \u2705 |\n| Thematic Line | \u2705 |\n\n---\n\n## \uD83D\uDC4B Final Words\n\nHappy editing with **Markdown Editor**!\n";