@bendyline/docblocks-react 2.6.2 → 2.7.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 (54) hide show
  1. package/README.md +3 -10
  2. package/THIRD_PARTY_NOTICES.txt +4284 -3651
  3. package/dist/AiDiagrams-XWOM3YZX.js +13 -0
  4. package/dist/AiEditorAssistant-M4LI2CRY.js +771 -0
  5. package/dist/AudioExportDialog-F23QXNPB.js +253 -0
  6. package/dist/DocumentConflictDialog-5LRVIGXS.js +111 -0
  7. package/dist/ExportDialog-L6FG6W3H.js +9 -0
  8. package/dist/{ExportToolbarControls-QYLBRWM7.js → ExportToolbarControls-BRCPZ7H3.js} +108 -42
  9. package/dist/{GitUI-L5T3XHZG.js → GitUI-LZW3IUXO.js} +5 -5
  10. package/dist/PresentationMaker-622NHMIN.js +9 -0
  11. package/dist/QuickOpenDialog-2KK4SEBU.js +356 -0
  12. package/dist/Settings-DuXk6baH.d.ts +144 -0
  13. package/dist/{ShareDialog-4OX3UPJ4.js → ShareDialog-N7GPM4SB.js} +10 -59
  14. package/dist/SpeechToolbarControl-UZQKGQWD.js +434 -0
  15. package/dist/TextFromNarration-XYRAB6O2.js +598 -0
  16. package/dist/WorkspaceSearchPanel-OUQQ5DOM.js +328 -0
  17. package/dist/chunk-2IYBBFQX.js +201 -0
  18. package/dist/{chunk-LG6HAWCK.js → chunk-56KO2LYN.js} +35 -4
  19. package/dist/chunk-5OZBGIIT.js +1826 -0
  20. package/dist/chunk-6B7G33D5.js +88 -0
  21. package/dist/chunk-ARATARVJ.js +40 -0
  22. package/dist/{chunk-ODYNOPC3.js → chunk-BCQZTWE5.js} +57 -17
  23. package/dist/chunk-EA4BO6E4.js +73 -0
  24. package/dist/chunk-G4MFB3IO.js +208 -0
  25. package/dist/chunk-I44HKDQX.js +314 -0
  26. package/dist/chunk-K4I3NJFL.js +49 -0
  27. package/dist/chunk-KBDZDFPU.js +61 -0
  28. package/dist/{chunk-FNSRCCBC.js → chunk-KWG6UP5O.js} +0 -10
  29. package/dist/chunk-MMOTEQK6.js +518 -0
  30. package/dist/chunk-OINKNX26.js +574 -0
  31. package/dist/chunk-Q5ZVP5LV.js +1711 -0
  32. package/dist/chunk-RP3DVNTI.js +62 -0
  33. package/dist/{chunk-FMDLZ4ZG.js → chunk-SGQKTKDX.js} +2 -2
  34. package/dist/chunk-TBLZBNQF.js +25 -0
  35. package/dist/{chunk-M5Y5WO7Z.js → chunk-UG4G7PJ4.js} +1 -1
  36. package/dist/chunk-UONFWKJ7.js +22 -0
  37. package/dist/chunk-VO2JYYQZ.js +40 -0
  38. package/dist/{chunk-EBWYGTN7.js → chunk-X437UAF7.js} +6 -0
  39. package/dist/chunk-YS4HVWIO.js +63 -0
  40. package/dist/editor.d.ts +36 -1
  41. package/dist/editor.js +16 -1
  42. package/dist/export/index.d.ts +27 -11
  43. package/dist/export/index.js +11 -7
  44. package/dist/index.d.ts +100 -13
  45. package/dist/index.js +3916 -1633
  46. package/dist/{run-export-I2XOVGG4.js → run-export-47X5FTYZ.js} +3 -3
  47. package/dist/settings/index.d.ts +32 -101
  48. package/dist/settings/index.js +14 -2
  49. package/package.json +9 -9
  50. package/src/styles/docblocks.css +2332 -656
  51. package/dist/ExportDialog-Q4VWI43H.js +0 -9
  52. package/dist/chunk-JDJVRDOP.js +0 -92
  53. package/dist/chunk-Q6XNIKDG.js +0 -669
  54. package/dist/{GitToolbarControl-O5AXBC6T.js → GitToolbarControl-J4UYZDV6.js} +3 -3
@@ -1,9 +0,0 @@
1
- import {
2
- ExportDialog
3
- } from "./chunk-FMDLZ4ZG.js";
4
- import "./chunk-YBEYTVU2.js";
5
- import "./chunk-EBWYGTN7.js";
6
- import "./chunk-LG6HAWCK.js";
7
- export {
8
- ExportDialog
9
- };
@@ -1,92 +0,0 @@
1
- // src/editor.ts
2
- import { useEffect, useState } from "react";
3
- var PORTRAIT_FORM_FACTOR_QUERY = "(orientation: portrait)";
4
- function previewViewportPresetForOrientation(isPortrait) {
5
- return isPortrait ? "portrait" : "landscape";
6
- }
7
- function useResponsivePreviewViewportPreset() {
8
- const [isPortrait, setIsPortrait] = useState(() => {
9
- if (typeof globalThis.matchMedia !== "function") return false;
10
- return globalThis.matchMedia(PORTRAIT_FORM_FACTOR_QUERY).matches;
11
- });
12
- useEffect(() => {
13
- if (typeof globalThis.matchMedia !== "function") return;
14
- const query = globalThis.matchMedia(PORTRAIT_FORM_FACTOR_QUERY);
15
- const update = () => setIsPortrait(query.matches);
16
- update();
17
- query.addEventListener("change", update);
18
- return () => query.removeEventListener("change", update);
19
- }, []);
20
- return previewViewportPresetForOrientation(isPortrait);
21
- }
22
- var EMPTY_DOCUMENT_PROMPTS = [
23
- "Start typing your content, or drop images on top of me...",
24
- "Write anything -- paste markdown, drag in images, or just start typing...",
25
- "Type away. Markdown syntax works too...",
26
- "Chapter 1 begins here...",
27
- "Once upon a time...",
28
- "A blank page. Exciting, isn't it?",
29
- "The first word is always the hardest...",
30
- "Plot twist: this is where it all starts...",
31
- "Write something the future you will thank you for...",
32
- "Begin at the beginning...",
33
- "Let's begin.",
34
- "We can be heroes...",
35
- "Here comes the sun...",
36
- "And so it begins...",
37
- "Let it be, let it be...",
38
- "Don't stop believing...",
39
- "Started from the bottom...",
40
- "This is the start of something new...",
41
- "Ground control to Major Tom...",
42
- "Come as you are...",
43
- "Every new beginning...",
44
- "Hello, is it me you're looking for?",
45
- "Imagine all the people...",
46
- "Anything you want, you got it...",
47
- "Rise above...",
48
- "Do you have the time...",
49
- "Here we are now, entertain us...",
50
- "All the small things...",
51
- "Should I stay or should I go?",
52
- "I am a patient boy -- I wait, I wait, I wait...",
53
- "Destination unknown...",
54
- "Easy like Sunday morning...",
55
- "Dance, dance, dance to the radio...",
56
- "New day rising...",
57
- "Visit the world...",
58
- "Positive mental attitude...",
59
- "Better I sing than I cry...",
60
- "Disconnect for a minute...",
61
- "We need new noise...",
62
- "Shoot the moon...",
63
- "I'll surprise you sometime -- I'll come around...",
64
- "Coming out of my cage, and doing just fine...",
65
- "Throw me to the wolves -- I'll come back, leading the pack...",
66
- "There comes a time -- no excuses...",
67
- "It's up to me now, turn on the bright lights...",
68
- "Do what you want...",
69
- "Fingers crossed...",
70
- "This is the start of how it all ends...",
71
- "It has to start somewhere, it has to start sometime -- what better place than here? what better time than now?",
72
- "I know myself, and I'll begin again...",
73
- "Dig me out, dig me in...",
74
- "Everybody's full of sugar, honey, ice and tea...",
75
- "Take time with a wounded hand, 'cause it likes to heal...",
76
- "Grab a brush and put on a little makeup...",
77
- "Amber is the color of your energy...",
78
- "Wait -- they don't love it like I love it...",
79
- "A world's been buried, where love is the law; a you-topia..."
80
- ];
81
- function pickEmptyDocumentPrompt(random = Math.random) {
82
- const index = Math.floor(random() * EMPTY_DOCUMENT_PROMPTS.length);
83
- return EMPTY_DOCUMENT_PROMPTS[index] ?? EMPTY_DOCUMENT_PROMPTS[0];
84
- }
85
-
86
- export {
87
- PORTRAIT_FORM_FACTOR_QUERY,
88
- previewViewportPresetForOrientation,
89
- useResponsivePreviewViewportPreset,
90
- EMPTY_DOCUMENT_PROMPTS,
91
- pickEmptyDocumentPrompt
92
- };