@noirmd/previewer 1.2.0 → 2.0.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.
Files changed (53) hide show
  1. package/dist/NReditor.cjs +851 -895
  2. package/dist/NReditor.cjs.map +1 -1
  3. package/dist/NReditor.d.cts +1 -1
  4. package/dist/NReditor.d.ts +1 -1
  5. package/dist/NReditor.js +852 -896
  6. package/dist/NReditor.js.map +1 -1
  7. package/dist/admonition.css +55 -0
  8. package/dist/{markdown.css → base.css} +96 -126
  9. package/dist/blockquote.css +16 -0
  10. package/dist/button.css +32 -0
  11. package/dist/card.css +143 -0
  12. package/dist/codeblock.css +59 -0
  13. package/dist/core.cjs +9 -1
  14. package/dist/core.cjs.map +1 -1
  15. package/dist/core.js +9 -1
  16. package/dist/core.js.map +1 -1
  17. package/dist/details.css +45 -0
  18. package/dist/editor.css +56 -9
  19. package/dist/fonts/material-icons-round.woff2 +0 -0
  20. package/dist/index.cjs +852 -883
  21. package/dist/index.cjs.map +1 -1
  22. package/dist/index.d.cts +41 -70
  23. package/dist/index.d.ts +41 -70
  24. package/dist/index.js +851 -877
  25. package/dist/index.js.map +1 -1
  26. package/dist/list.css +18 -0
  27. package/dist/modal.css +82 -0
  28. package/dist/react.cjs +852 -886
  29. package/dist/react.cjs.map +1 -1
  30. package/dist/react.d.cts +44 -73
  31. package/dist/react.d.ts +44 -73
  32. package/dist/react.js +851 -880
  33. package/dist/react.js.map +1 -1
  34. package/dist/slide.css +21 -0
  35. package/dist/table.css +36 -0
  36. package/dist/toc.css +45 -0
  37. package/dist/vanilla.cjs +42 -28
  38. package/dist/vanilla.cjs.map +1 -1
  39. package/dist/vanilla.css +32 -677
  40. package/dist/vanilla.d.cts +8 -2
  41. package/dist/vanilla.d.ts +8 -2
  42. package/dist/vanilla.js +41 -28
  43. package/dist/vanilla.js.map +1 -1
  44. package/dist/variables.css +53 -0
  45. package/dist/vue.cjs +931 -1121
  46. package/dist/vue.cjs.map +1 -1
  47. package/dist/vue.d.cts +63 -214
  48. package/dist/vue.d.ts +63 -214
  49. package/dist/vue.js +930 -1120
  50. package/dist/vue.js.map +1 -1
  51. package/editor.css +56 -9
  52. package/package.json +5 -10
  53. package/markdown.css +0 -344
@@ -0,0 +1,53 @@
1
+ /* ============================================================
2
+ NoirMD Vanilla — CSS Variables
3
+
4
+ Override-friendly design tokens. Host themes can win by
5
+ defining --color-* variables; fallbacks are used otherwise.
6
+ ============================================================ */
7
+
8
+ /* ── Material Icons Round (self-hosted) ────────────────────
9
+ All directives (admonitions, buttons, modals, cards, ...)
10
+ render icons via the `material-icons-round` ligature
11
+ font. Self-hosted so icons work offline and without host
12
+ dependencies. */
13
+
14
+ @font-face {
15
+ font-family: 'Material Icons Round';
16
+ font-style: normal;
17
+ font-weight: 400;
18
+ font-display: block;
19
+ src: url('./fonts/material-icons-round.woff2') format('woff2');
20
+ }
21
+
22
+ .material-icons-round {
23
+ font-family: 'Material Icons Round';
24
+ font-weight: 400;
25
+ font-style: normal;
26
+ font-size: 24px;
27
+ line-height: 1;
28
+ letter-spacing: normal;
29
+ text-transform: none;
30
+ display: inline-block;
31
+ white-space: nowrap;
32
+ word-wrap: normal;
33
+ direction: ltr;
34
+ font-feature-settings: 'liga';
35
+ -webkit-font-smoothing: antialiased;
36
+ }
37
+
38
+ .nr-prose {
39
+ --nr-bg: var(--color-background-primary, #0f172a);
40
+ --nr-bg-secondary: var(--color-background-secondary-solid, #1e293b);
41
+ --nr-text: var(--color-text-primary, #e2e8f0);
42
+ --nr-text-secondary: var(--color-text-secondary, #94a3b8);
43
+ --nr-border: var(--color-border, #334155);
44
+ --nr-accent: var(--color-accent-primary, #0ea5e9);
45
+ --nr-accent-hover: var(--color-accent-hover, #38bdf8);
46
+ --nr-info: #3b82f6;
47
+ --nr-warning: #f59e0b;
48
+ --nr-danger: #ef4444;
49
+ --nr-success: #22c55e;
50
+ --nr-radius: 1rem;
51
+ --nr-radius-sm: 0.5rem;
52
+ --nr-radius-lg: 1.5rem;
53
+ }