@bendyline/docblocks-react 2.7.0 → 2.7.2

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 (43) hide show
  1. package/README.md +1 -1
  2. package/THIRD_PARTY_NOTICES.txt +98 -48
  3. package/dist/{AiDiagrams-XWOM3YZX.js → AiDiagrams-LFV4YU6W.js} +2 -2
  4. package/dist/{AiEditorAssistant-M4LI2CRY.js → AiEditorAssistant-GN2KXKZD.js} +21 -6
  5. package/dist/{ExportDialog-L6FG6W3H.js → ExportDialog-JRVZCG3J.js} +2 -2
  6. package/dist/{ExportToolbarControls-BRCPZ7H3.js → ExportToolbarControls-2FEIHNMW.js} +28 -18
  7. package/dist/{GitToolbarControl-J4UYZDV6.js → GitToolbarControl-B7KG4MFP.js} +4 -4
  8. package/dist/{GitUI-LZW3IUXO.js → GitUI-RCWUZVS6.js} +2 -2
  9. package/dist/KeyboardShortcutsDialog-NOD4P25G.js +145 -0
  10. package/dist/{PresentationMaker-622NHMIN.js → PresentationMaker-ITNP5SDO.js} +2 -2
  11. package/dist/{Settings-DuXk6baH.d.ts → Settings-RDYvDDI0.d.ts} +13 -11
  12. package/dist/ShareDialog-XUA2OVGI.js +292 -0
  13. package/dist/{SpeechToolbarControl-UZQKGQWD.js → SpeechToolbarControl-CLU7RB2G.js} +2 -2
  14. package/dist/{TextFromNarration-XYRAB6O2.js → TextFromNarration-NITJQ4IB.js} +1 -1
  15. package/dist/{WorkspaceSearchPanel-OUQQ5DOM.js → WorkspaceSearchPanel-J6BKEZQJ.js} +8 -2
  16. package/dist/{chunk-UG4G7PJ4.js → chunk-5O5YTOXG.js} +1 -1
  17. package/dist/{chunk-VO2JYYQZ.js → chunk-6JJOGV6M.js} +5 -13
  18. package/dist/{chunk-X437UAF7.js → chunk-6MSHXQNB.js} +7 -2
  19. package/dist/{chunk-Q5ZVP5LV.js → chunk-BLUEZG7T.js} +40 -32
  20. package/dist/chunk-DICE7VBJ.js +77 -0
  21. package/dist/{chunk-MRUK56JS.js → chunk-GMA4KGGO.js} +7 -3
  22. package/dist/{chunk-BCQZTWE5.js → chunk-HRWEGPTY.js} +18 -4
  23. package/dist/chunk-K7XJDJUJ.js +126 -0
  24. package/dist/{chunk-5OZBGIIT.js → chunk-NAH52736.js} +86 -28
  25. package/dist/{chunk-YS4HVWIO.js → chunk-SPUPWCSI.js} +49 -1
  26. package/dist/{chunk-MMOTEQK6.js → chunk-SSB43524.js} +165 -70
  27. package/dist/{chunk-G4MFB3IO.js → chunk-VG434562.js} +2 -70
  28. package/dist/{chunk-OINKNX26.js → chunk-X3DDTJKR.js} +1 -1
  29. package/dist/{chunk-SGQKTKDX.js → chunk-Y5OE3HJC.js} +14 -4
  30. package/dist/editor.js +7 -5
  31. package/dist/export/index.d.ts +17 -6
  32. package/dist/export/index.js +4 -4
  33. package/dist/index.d.ts +24 -6
  34. package/dist/index.js +452 -247
  35. package/dist/proofing/index.js +11 -1
  36. package/dist/run-export-CS3HRNAZ.js +13 -0
  37. package/dist/settings/index.d.ts +1 -1
  38. package/dist/settings/index.js +1 -1
  39. package/package.json +9 -8
  40. package/src/styles/docblocks.css +481 -271
  41. package/dist/ShareDialog-N7GPM4SB.js +0 -310
  42. package/dist/chunk-EA4BO6E4.js +0 -73
  43. package/dist/run-export-47X5FTYZ.js +0 -11
@@ -8,6 +8,13 @@ import { createHarperProofingProvider } from "@bendyline/squisq-editor-react/pro
8
8
 
9
9
  // src/Proofing/proofing-dictionary.ts
10
10
  var STORAGE_KEY = "docblocks:proofingDictionary";
11
+ var DOCBLOCKS_PROOFING_WORDS = Object.freeze([
12
+ "DocBlocks",
13
+ "Squisq",
14
+ "DBK",
15
+ "CLI",
16
+ "MCP"
17
+ ]);
11
18
  function readWords() {
12
19
  try {
13
20
  const raw = localStorage.getItem(STORAGE_KEY);
@@ -38,7 +45,10 @@ function createDocBlocksProofingProvider(options) {
38
45
  const { wasmUrl, dictionary } = options;
39
46
  return createHarperProofingProvider({
40
47
  wasmUrl,
41
- initialWords: dictionary?.read() ?? [],
48
+ // Sentence case is an intentional house style, not a grammar error.
49
+ // Keep every other spelling, grammar, and spacing rule at its default.
50
+ lintConfig: { UseTitleCase: false },
51
+ initialWords: [...DOCBLOCKS_PROOFING_WORDS, ...dictionary?.read() ?? []],
42
52
  onDictionaryWord: dictionary ? (word) => dictionary.append(word) : void 0
43
53
  });
44
54
  }
@@ -0,0 +1,13 @@
1
+ import {
2
+ exporterThemeId,
3
+ runExport
4
+ } from "./chunk-HRWEGPTY.js";
5
+ import {
6
+ buildExportFilename
7
+ } from "./chunk-5O5YTOXG.js";
8
+ import "./chunk-6MSHXQNB.js";
9
+ export {
10
+ buildExportFilename,
11
+ exporterThemeId,
12
+ runExport
13
+ };
@@ -1,4 +1,4 @@
1
- export { A as AccentColor, a as AccentColorSettings, b as AccentColorSettingsProps, c as AiSettingsControls, d as AiSettingsControlsProps, D as DEFAULT_INTERFACE_FONT, e as DEFAULT_PROOFING_PREFERENCES, f as DEFAULT_WRITE_CANVAS_FONT_SCHEME, I as InterfaceFontPreference, g as InterfaceFontSettings, h as InterfaceFontSettingsProps, P as ProofingPreferences, i as ProofingSettingsControls, j as ProofingSettingsControlsProps, S as SettingsDialog, k as SettingsDialogProps, T as ThemePreference, l as ThemeSettings, m as ThemeSettingsProps, W as WRITE_CANVAS_FONT_SCHEMES, n as WriteCanvasFontScheme, o as WriteCanvasFontSchemeGroup, p as WriteCanvasFontSchemeOption, q as WriteCanvasPreferences, r as WriteCanvasSettingsControls, s as WriteCanvasSettingsControlsProps, t as loadInterfaceFont, u as loadProofingPreferences, v as resolveWriteCanvasFonts, w as saveInterfaceFont, x as saveProofingPreferences } from '../Settings-DuXk6baH.js';
1
+ export { A as AccentColor, a as AccentColorSettings, b as AccentColorSettingsProps, c as AiSettingsControls, d as AiSettingsControlsProps, D as DEFAULT_INTERFACE_FONT, e as DEFAULT_PROOFING_PREFERENCES, f as DEFAULT_WRITE_CANVAS_FONT_SCHEME, I as InterfaceFontPreference, g as InterfaceFontSettings, h as InterfaceFontSettingsProps, P as ProofingPreferences, i as ProofingSettingsControls, j as ProofingSettingsControlsProps, S as SettingsDialog, k as SettingsDialogProps, T as ThemePreference, l as ThemeSettings, m as ThemeSettingsProps, W as WRITE_CANVAS_FONT_SCHEMES, n as WriteCanvasFontScheme, o as WriteCanvasFontSchemeGroup, p as WriteCanvasFontSchemeOption, q as WriteCanvasPreferences, r as WriteCanvasSettingsControls, s as WriteCanvasSettingsControlsProps, t as loadInterfaceFont, u as loadProofingPreferences, v as resolveWriteCanvasFonts, w as saveInterfaceFont, x as saveProofingPreferences } from '../Settings-RDYvDDI0.js';
2
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
3
3
  import { WorkspaceSettings } from '@bendyline/docblocks/workspace-settings';
4
4
  import '@bendyline/docblocks/host';
@@ -16,7 +16,7 @@ import {
16
16
  resolveWriteCanvasFonts,
17
17
  saveInterfaceFont,
18
18
  saveProofingPreferences
19
- } from "../chunk-Q5ZVP5LV.js";
19
+ } from "../chunk-BLUEZG7T.js";
20
20
  import "../chunk-56KO2LYN.js";
21
21
  export {
22
22
  AccentColorSettings,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bendyline/docblocks-react",
3
- "version": "2.7.0",
3
+ "version": "2.7.2",
4
4
  "description": "React components for DocBlocks — file explorer, workspace picker, and editor shell",
5
5
  "license": "MIT",
6
6
  "author": "Bendyline",
@@ -85,14 +85,15 @@
85
85
  }
86
86
  },
87
87
  "dependencies": {
88
- "@bendyline/docblocks": "2.7.0",
89
- "@bendyline/squisq": "2.11.19",
88
+ "@bendyline/docblocks": "2.7.2",
89
+ "@bendyline/squisq": "2.12.0",
90
90
  "@bendyline/squisq-calc": "2.11.2",
91
- "@bendyline/squisq-editor-react": "2.11.23",
92
- "@bendyline/squisq-formats": "2.6.19",
93
- "@bendyline/squisq-react": "2.11.21",
94
- "@bendyline/squisq-video": "2.3.23",
95
- "@bendyline/squisq-video-react": "2.4.25",
91
+ "@bendyline/squisq-editor-react": "2.12.1",
92
+ "@bendyline/squisq-formats": "2.7.1",
93
+ "@bendyline/squisq-react": "2.12.1",
94
+ "@bendyline/squisq-video": "2.4.0",
95
+ "@bendyline/squisq-video-react": "2.5.1",
96
+ "lucide-react": "1.52.0",
96
97
  "qrcode": "1.5.4"
97
98
  },
98
99
  "devDependencies": {