@clevertask/scribe 0.0.11 → 0.0.13

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 (40) hide show
  1. package/README.md +80 -4
  2. package/dist/assets/index.css +1 -1
  3. package/dist/components/Menu/BarMenu.js +21 -21
  4. package/dist/components/Menu/BubbleMenu.js +1 -1
  5. package/dist/components/Menu/Mobile/ListOptionBar.d.ts +6 -0
  6. package/dist/components/Menu/Mobile/ListOptionBar.js +37 -0
  7. package/dist/components/Scribe/extension/emoji/suggest.js +5 -6
  8. package/dist/components/Scribe/extension/extension-link.js +240 -244
  9. package/dist/components/Scribe/extension/extension-selectedText.js +1 -1
  10. package/dist/components/Scribe/extension/index.d.ts +1 -1
  11. package/dist/components/Scribe/extension/index.js +24 -25
  12. package/dist/components/Scribe/extension/slashCommand/SlashCommandList.js +5 -5
  13. package/dist/components/Scribe/extension/slashCommand/index.js +2 -2
  14. package/dist/components/Scribe/extension/slashCommand/items.js +6 -7
  15. package/dist/components/Scribe/extension/slashCommand/renderItems.js +10 -11
  16. package/dist/components/Scribe/index.d.ts +1 -0
  17. package/dist/components/Scribe/index.js +101 -79
  18. package/dist/index-BfaHEr44.js +159 -0
  19. package/dist/index-Bvgjhwaj.js +2349 -0
  20. package/dist/{index-CasgquAq.js → index-CWvaDN_2.js} +16838 -5196
  21. package/dist/{index-DeZ8laak.js → index-flsxByQS.js} +1587 -1527
  22. package/dist/main.css +4 -4
  23. package/dist/main.js +8 -6
  24. package/dist/marked.esm-H7n4rMcO.js +1554 -0
  25. package/dist/purify.es-DcWaZU6I.js +552 -0
  26. package/dist/turndown.browser.es-RmA_HBaI.js +649 -0
  27. package/dist/utils/convert-legacy-math-delimiters.d.ts +1 -0
  28. package/dist/utils/convert-legacy-math-delimiters.js +13 -0
  29. package/dist/utils/create-scribe-editor.js +7 -6
  30. package/dist/utils/html-to-markdown.js +7 -6
  31. package/dist/utils/index.d.ts +1 -0
  32. package/dist/utils/index.js +8 -6
  33. package/dist/utils/markdown-to-html.js +4 -3
  34. package/package.json +57 -53
  35. package/dist/browser-BJWkU9cc.js +0 -2106
  36. package/dist/components/Scribe/extension/math-extension.d.ts +0 -2
  37. package/dist/components/Scribe/extension/math-extension.js +0 -11770
  38. package/dist/index-BqFHWqw6.js +0 -156
  39. package/dist/index-C_aWB8qt.js +0 -2291
  40. package/dist/turndown.browser.es-C1wFFc_i.js +0 -1172
package/dist/main.css CHANGED
@@ -105,7 +105,7 @@
105
105
  --tw-contain-paint: ;
106
106
  --tw-contain-style: ;
107
107
  }/*
108
- ! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com
108
+ ! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com
109
109
  *//*
110
110
  1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
111
111
  2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
@@ -703,7 +703,7 @@ video {
703
703
  font-weight: 500;
704
704
  font-family: inherit;
705
705
  color: var(--tw-prose-kbd);
706
- box-shadow: 0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%), 0 3px 0 rgb(var(--tw-prose-kbd-shadows) / 10%);
706
+ box-shadow: 0 0 0 1px var(--tw-prose-kbd-shadows), 0 3px 0 var(--tw-prose-kbd-shadows);
707
707
  font-size: 0.875em;
708
708
  border-radius: 0.3125rem;
709
709
  padding-top: 0.1875em;
@@ -840,7 +840,7 @@ video {
840
840
  --tw-prose-quote-borders: #e5e7eb;
841
841
  --tw-prose-captions: #6b7280;
842
842
  --tw-prose-kbd: #111827;
843
- --tw-prose-kbd-shadows: 17 24 39;
843
+ --tw-prose-kbd-shadows: rgb(17 24 39 / 10%);
844
844
  --tw-prose-code: #111827;
845
845
  --tw-prose-pre-code: #e5e7eb;
846
846
  --tw-prose-pre-bg: #1f2937;
@@ -858,7 +858,7 @@ video {
858
858
  --tw-prose-invert-quote-borders: #374151;
859
859
  --tw-prose-invert-captions: #9ca3af;
860
860
  --tw-prose-invert-kbd: #fff;
861
- --tw-prose-invert-kbd-shadows: 255 255 255;
861
+ --tw-prose-invert-kbd-shadows: rgb(255 255 255 / 10%);
862
862
  --tw-prose-invert-code: #fff;
863
863
  --tw-prose-invert-pre-code: #d1d5db;
864
864
  --tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);
package/dist/main.js CHANGED
@@ -1,12 +1,14 @@
1
- import { Scribe as e } from "./components/Scribe/index.js";
1
+ import { Scribe as o } from "./components/Scribe/index.js";
2
2
  import { html2md as m } from "./utils/html-to-markdown.js";
3
- import { md2html as f } from "./utils/markdown-to-html.js";
3
+ import { md2html as p } from "./utils/markdown-to-html.js";
4
4
  import { isInViewport as x } from "./utils/is-in-viewport.js";
5
- import { createScribeEditor as d } from "./utils/create-scribe-editor.js";
5
+ import { convertLegacyMathDelimiters as a } from "./utils/convert-legacy-math-delimiters.js";
6
+ import { createScribeEditor as h } from "./utils/create-scribe-editor.js";
6
7
  export {
7
- e as Scribe,
8
- d as createScribeEditor,
8
+ o as Scribe,
9
+ a as convertLegacyMathDelimiters,
10
+ h as createScribeEditor,
9
11
  m as html2md,
10
12
  x as isInViewport,
11
- f as md2html
13
+ p as md2html
12
14
  };