@bendyline/docblocks-react 2.7.3 → 2.7.5
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.
- package/THIRD_PARTY_NOTICES.txt +56 -25
- package/dist/{AiDiagrams-QE3LVYFK.js → AiDiagrams-5P657GFC.js} +3 -3
- package/dist/{AiEditorAssistant-YLJ5OZK2.js → AiEditorAssistant-V4MZRC6Q.js} +5 -5
- package/dist/{AiStudyDialog-4TQZZGU3.js → AiStudyDialog-GSCFTG3G.js} +2 -2
- package/dist/{AudioExportDialog-F23QXNPB.js → AudioExportDialog-IOYIEAER.js} +1 -1
- package/dist/{DocumentConflictDialog-5LRVIGXS.js → DocumentConflictDialog-DZ2BV2IH.js} +1 -1
- package/dist/ExportDialog-LGWBXIWN.js +9 -0
- package/dist/{ExportToolbarControls-A2YBKUUD.js → ExportToolbarControls-HOV424TO.js} +84 -13
- package/dist/{GitUI-RCWUZVS6.js → GitUI-F3CNBURE.js} +1 -1
- package/dist/{KeyboardShortcutsDialog-G5OBDTNR.js → KeyboardShortcutsDialog-HVKDFP5Z.js} +1 -1
- package/dist/{PresentationMaker-P2JP6UUX.js → PresentationMaker-H5B44Q7P.js} +3 -3
- package/dist/{QuickOpenDialog-2KK4SEBU.js → QuickOpenDialog-ENVFGIHS.js} +1 -1
- package/dist/{Settings-ByNImjk5.d.ts → Settings-CfhY489G.d.ts} +1 -1
- package/dist/{ShareDialog-XUA2OVGI.js → ShareDialog-PF7D7ORP.js} +1 -1
- package/dist/{SpeechToolbarControl-CLU7RB2G.js → SpeechToolbarControl-KNI2C4JJ.js} +1 -1
- package/dist/{TextFromNarration-NITJQ4IB.js → TextFromNarration-EYOMW2IW.js} +1 -1
- package/dist/{chunk-6PA7QBZT.js → chunk-7CSBRAMT.js} +20 -4
- package/dist/{chunk-YPIVCCTB.js → chunk-CUCWCZRO.js} +8 -14
- package/dist/{chunk-ZMCQO57Q.js → chunk-FBPCURCS.js} +8 -1
- package/dist/{chunk-Y5OE3HJC.js → chunk-GFK4TCKN.js} +11 -5
- package/dist/chunk-H3BK5MK6.js +34 -0
- package/dist/{chunk-3CE5RH2B.js → chunk-I4JURPYS.js} +2 -2
- package/dist/{chunk-6B7G33D5.js → chunk-KBUHWZCF.js} +1 -1
- package/dist/{chunk-EOU2JWAQ.js → chunk-USKX66SA.js} +91 -14
- package/dist/{chunk-56KO2LYN.js → chunk-VJPGZCFS.js} +4 -0
- package/dist/editor.js +3 -3
- package/dist/export/index.d.ts +9 -2
- package/dist/export/index.js +4 -4
- package/dist/index.d.ts +13 -4
- package/dist/index.js +1292 -869
- package/dist/{run-export-OHRNT2TP.js → run-export-SPNNH32M.js} +1 -1
- package/dist/settings/index.d.ts +1 -1
- package/dist/settings/index.js +2 -2
- package/package.json +8 -8
- package/src/styles/docblocks.css +73 -14
- package/dist/ExportDialog-JRVZCG3J.js +0 -9
- package/dist/chunk-YBEYTVU2.js +0 -12
package/dist/settings/index.d.ts
CHANGED
|
@@ -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-
|
|
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-CfhY489G.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';
|
package/dist/settings/index.js
CHANGED
|
@@ -16,8 +16,8 @@ import {
|
|
|
16
16
|
resolveWriteCanvasFonts,
|
|
17
17
|
saveInterfaceFont,
|
|
18
18
|
saveProofingPreferences
|
|
19
|
-
} from "../chunk-
|
|
20
|
-
import "../chunk-
|
|
19
|
+
} from "../chunk-FBPCURCS.js";
|
|
20
|
+
import "../chunk-VJPGZCFS.js";
|
|
21
21
|
export {
|
|
22
22
|
AccentColorSettings,
|
|
23
23
|
AiSettingsControls,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bendyline/docblocks-react",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.5",
|
|
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,14 @@
|
|
|
85
85
|
}
|
|
86
86
|
},
|
|
87
87
|
"dependencies": {
|
|
88
|
-
"@bendyline/docblocks": "2.7.
|
|
89
|
-
"@bendyline/squisq": "2.
|
|
88
|
+
"@bendyline/docblocks": "2.7.5",
|
|
89
|
+
"@bendyline/squisq": "2.13.0",
|
|
90
90
|
"@bendyline/squisq-calc": "2.11.2",
|
|
91
|
-
"@bendyline/squisq-editor-react": "2.
|
|
92
|
-
"@bendyline/squisq-formats": "2.
|
|
93
|
-
"@bendyline/squisq-react": "2.12.
|
|
94
|
-
"@bendyline/squisq-video": "2.4.
|
|
95
|
-
"@bendyline/squisq-video-react": "2.5.
|
|
91
|
+
"@bendyline/squisq-editor-react": "2.13.1",
|
|
92
|
+
"@bendyline/squisq-formats": "2.8.1",
|
|
93
|
+
"@bendyline/squisq-react": "2.12.8",
|
|
94
|
+
"@bendyline/squisq-video": "2.4.6",
|
|
95
|
+
"@bendyline/squisq-video-react": "2.5.9",
|
|
96
96
|
"lucide-react": "1.52.0",
|
|
97
97
|
"qrcode": "1.5.4"
|
|
98
98
|
},
|
package/src/styles/docblocks.css
CHANGED
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
'Helvetica Neue', Arial, sans-serif;
|
|
35
35
|
/* Metadata face: counts, timestamps, version strings, section labels. A
|
|
36
36
|
small mono sets what you read apart from what you act on. */
|
|
37
|
-
--db-meta-font: '
|
|
37
|
+
--db-meta-font: 'Inconsolata', ui-monospace, SFMono-Regular, Consolas, monospace;
|
|
38
38
|
/* Squisq's chrome reads `--squisq-ux-font` with a `system-ui` fallback, the
|
|
39
39
|
same bridge shape as the `--squisq-*` color tokens further down. Binding
|
|
40
40
|
it carries the chrome face into the editor toolbar, menus and dialogs.
|
|
@@ -329,7 +329,7 @@
|
|
|
329
329
|
.db-explorer-title {
|
|
330
330
|
font-family: var(--db-meta-font);
|
|
331
331
|
font-weight: 500;
|
|
332
|
-
font-size:
|
|
332
|
+
font-size: 12px;
|
|
333
333
|
text-transform: uppercase;
|
|
334
334
|
letter-spacing: 0.06em;
|
|
335
335
|
color: var(--db-text-muted);
|
|
@@ -805,6 +805,16 @@
|
|
|
805
805
|
cursor: pointer;
|
|
806
806
|
}
|
|
807
807
|
|
|
808
|
+
/* A listed file the provider could not read (e.g. a sync client holding it). */
|
|
809
|
+
.db-tree-read-issue {
|
|
810
|
+
flex-shrink: 0;
|
|
811
|
+
margin-left: 4px;
|
|
812
|
+
padding: 0 4px;
|
|
813
|
+
color: var(--db-danger, #c33);
|
|
814
|
+
font-size: 11px;
|
|
815
|
+
font-weight: 700;
|
|
816
|
+
}
|
|
817
|
+
|
|
808
818
|
.db-tree--drop-target {
|
|
809
819
|
box-shadow: inset 0 0 0 2px var(--db-accent);
|
|
810
820
|
background: var(--db-accent-soft-08);
|
|
@@ -883,7 +893,7 @@
|
|
|
883
893
|
overflow: hidden;
|
|
884
894
|
color: var(--db-text-secondary);
|
|
885
895
|
font-family: var(--db-meta-font);
|
|
886
|
-
font-size:
|
|
896
|
+
font-size: 12px;
|
|
887
897
|
font-variant-numeric: tabular-nums;
|
|
888
898
|
text-align: right;
|
|
889
899
|
text-overflow: ellipsis;
|
|
@@ -983,6 +993,9 @@
|
|
|
983
993
|
.db-tree-context {
|
|
984
994
|
position: fixed;
|
|
985
995
|
z-index: 1000;
|
|
996
|
+
/* Portaled onto <body>, outside .db-shell, where no font is set; the items
|
|
997
|
+
inherit theirs, so without this they render in the browser's serif. */
|
|
998
|
+
font-family: var(--db-ui-font);
|
|
986
999
|
background: var(--db-bg-raised);
|
|
987
1000
|
border: 1px solid var(--db-border);
|
|
988
1001
|
border-radius: 4px;
|
|
@@ -1792,6 +1805,7 @@ body.db-resizing-sidebar * {
|
|
|
1792
1805
|
.db-shell .squisq-status-bar {
|
|
1793
1806
|
line-height: 16px;
|
|
1794
1807
|
font-family: var(--db-meta-font);
|
|
1808
|
+
font-size: 13px;
|
|
1795
1809
|
}
|
|
1796
1810
|
|
|
1797
1811
|
.db-shell-sidebar-footer {
|
|
@@ -2240,6 +2254,9 @@ html:has(.db-shell--mobile) .squisq-toolbar-overflow-menu {
|
|
|
2240
2254
|
box-sizing: border-box;
|
|
2241
2255
|
padding: 16px;
|
|
2242
2256
|
background: rgba(0, 0, 0, 0.4);
|
|
2257
|
+
/* The AI, presentation and narration dialogs portal onto <body>, outside
|
|
2258
|
+
.db-shell; give them the chrome face the shell would have. */
|
|
2259
|
+
font-family: var(--db-ui-font);
|
|
2243
2260
|
}
|
|
2244
2261
|
|
|
2245
2262
|
/* Palette-style dialogs (quick-open) sit near the top, where the eye already is. */
|
|
@@ -2362,6 +2379,7 @@ html:has(.db-shell--mobile) .squisq-toolbar-overflow-menu {
|
|
|
2362
2379
|
.db-about-version code {
|
|
2363
2380
|
color: var(--db-text);
|
|
2364
2381
|
font-family: var(--db-meta-font);
|
|
2382
|
+
font-size: 14px;
|
|
2365
2383
|
user-select: all;
|
|
2366
2384
|
}
|
|
2367
2385
|
|
|
@@ -2379,7 +2397,7 @@ html:has(.db-shell--mobile) .squisq-toolbar-overflow-menu {
|
|
|
2379
2397
|
|
|
2380
2398
|
.db-settings-legend {
|
|
2381
2399
|
font-family: var(--db-meta-font);
|
|
2382
|
-
font-size:
|
|
2400
|
+
font-size: 12px;
|
|
2383
2401
|
font-weight: 500;
|
|
2384
2402
|
text-transform: uppercase;
|
|
2385
2403
|
letter-spacing: 0.06em;
|
|
@@ -3416,12 +3434,17 @@ html:has(.db-shell--mobile) .squisq-toolbar-overflow-menu {
|
|
|
3416
3434
|
|
|
3417
3435
|
.db-export-footer {
|
|
3418
3436
|
display: flex;
|
|
3437
|
+
flex-wrap: wrap;
|
|
3419
3438
|
justify-content: flex-end;
|
|
3420
3439
|
gap: 8px;
|
|
3421
3440
|
padding: 12px 20px 16px;
|
|
3422
3441
|
border-top: 1px solid var(--db-border);
|
|
3423
3442
|
}
|
|
3424
3443
|
|
|
3444
|
+
.db-export-open-after-save {
|
|
3445
|
+
flex-basis: 100%;
|
|
3446
|
+
}
|
|
3447
|
+
|
|
3425
3448
|
.db-export-more-formats {
|
|
3426
3449
|
margin: 4px 0 0;
|
|
3427
3450
|
padding-top: 12px;
|
|
@@ -3988,13 +4011,19 @@ html:has(.db-shell--mobile) .squisq-toolbar-overflow-menu {
|
|
|
3988
4011
|
color: var(--db-text-secondary);
|
|
3989
4012
|
}
|
|
3990
4013
|
|
|
3991
|
-
.db-shell
|
|
4014
|
+
.db-shell
|
|
4015
|
+
.squisq-editor-shell
|
|
4016
|
+
.squisq-media-bin
|
|
4017
|
+
:is(.squisq-media-bin-record, .squisq-media-bin-upload) {
|
|
3992
4018
|
background: var(--db-accent-tint-strong);
|
|
3993
4019
|
border-color: var(--db-border);
|
|
3994
4020
|
color: var(--db-text-secondary);
|
|
3995
4021
|
}
|
|
3996
4022
|
|
|
3997
|
-
.db-shell
|
|
4023
|
+
.db-shell
|
|
4024
|
+
.squisq-editor-shell
|
|
4025
|
+
.squisq-media-bin
|
|
4026
|
+
:is(.squisq-media-bin-record, .squisq-media-bin-upload):hover {
|
|
3998
4027
|
background: var(--db-bg-hover);
|
|
3999
4028
|
border-color: var(--db-border-strong);
|
|
4000
4029
|
}
|
|
@@ -5799,7 +5828,7 @@ html:has(.db-shell) :is(.squisq-view-menu-checkbox, .squisq-view-menu-radio) {
|
|
|
5799
5828
|
display: block;
|
|
5800
5829
|
margin-bottom: 10px;
|
|
5801
5830
|
color: var(--db-text-muted);
|
|
5802
|
-
font: 600
|
|
5831
|
+
font: 600 12px/1 var(--db-meta-font);
|
|
5803
5832
|
letter-spacing: 0.04em;
|
|
5804
5833
|
}
|
|
5805
5834
|
|
|
@@ -5807,7 +5836,7 @@ html:has(.db-shell) :is(.squisq-view-menu-checkbox, .squisq-view-menu-radio) {
|
|
|
5807
5836
|
display: block;
|
|
5808
5837
|
overflow: hidden;
|
|
5809
5838
|
color: var(--db-text-secondary);
|
|
5810
|
-
font:
|
|
5839
|
+
font: 13px/1.65 var(--db-meta-font);
|
|
5811
5840
|
white-space: pre-wrap;
|
|
5812
5841
|
overflow-wrap: anywhere;
|
|
5813
5842
|
}
|
|
@@ -5822,9 +5851,13 @@ html:has(.db-shell) :is(.squisq-view-menu-checkbox, .squisq-view-menu-radio) {
|
|
|
5822
5851
|
animation: db-welcome-loop-nudge 3s ease-in-out infinite;
|
|
5823
5852
|
}
|
|
5824
5853
|
|
|
5854
|
+
/* The stage is a container so the slide and video frames can size their type
|
|
5855
|
+
against it (cqi) rather than in pixels: like a real slide, the words fill
|
|
5856
|
+
the canvas at whatever width the welcome screen gives it. */
|
|
5825
5857
|
.db-welcome-loop-stage {
|
|
5826
5858
|
position: relative;
|
|
5827
5859
|
aspect-ratio: 4 / 3;
|
|
5860
|
+
container-type: inline-size;
|
|
5828
5861
|
}
|
|
5829
5862
|
|
|
5830
5863
|
.db-welcome-loop-frame {
|
|
@@ -5867,10 +5900,15 @@ html:has(.db-shell) :is(.squisq-view-menu-checkbox, .squisq-view-menu-radio) {
|
|
|
5867
5900
|
color: #2b241c;
|
|
5868
5901
|
}
|
|
5869
5902
|
|
|
5903
|
+
/* 16:9 frames, so 100cqi wide by 56.25cqi tall. Their type is in cqi to keep
|
|
5904
|
+
presentation proportions at every stage size. */
|
|
5870
5905
|
.db-welcome-loop-frame--slide,
|
|
5871
5906
|
.db-welcome-loop-frame--video {
|
|
5907
|
+
box-sizing: border-box;
|
|
5872
5908
|
height: 75%;
|
|
5873
5909
|
justify-content: center;
|
|
5910
|
+
gap: 2cqi;
|
|
5911
|
+
padding: 6cqi 8cqi;
|
|
5874
5912
|
background: radial-gradient(circle at 30% 20%, #5a3322, #24170f 72%);
|
|
5875
5913
|
color: #f6ecdc;
|
|
5876
5914
|
}
|
|
@@ -5882,14 +5920,32 @@ html:has(.db-shell) :is(.squisq-view-menu-checkbox, .squisq-view-menu-radio) {
|
|
|
5882
5920
|
}
|
|
5883
5921
|
|
|
5884
5922
|
.db-welcome-loop-frame--slide strong {
|
|
5885
|
-
font-size:
|
|
5923
|
+
font-size: 7cqi;
|
|
5924
|
+
text-wrap: balance;
|
|
5925
|
+
}
|
|
5926
|
+
|
|
5927
|
+
.db-welcome-loop-frame--slide span {
|
|
5928
|
+
font-size: 4cqi;
|
|
5886
5929
|
}
|
|
5887
5930
|
|
|
5931
|
+
/* The bottom padding keeps the list centered in the picture above the
|
|
5932
|
+
player controls. */
|
|
5888
5933
|
.db-welcome-loop-frame--video {
|
|
5889
|
-
|
|
5934
|
+
padding-bottom: 12cqi;
|
|
5890
5935
|
animation-delay: 6s;
|
|
5891
5936
|
}
|
|
5892
5937
|
|
|
5938
|
+
.db-welcome-loop-frame--video em {
|
|
5939
|
+
margin: 0 0 1cqi;
|
|
5940
|
+
font-size: 8.5cqi;
|
|
5941
|
+
line-height: 1.15;
|
|
5942
|
+
}
|
|
5943
|
+
|
|
5944
|
+
.db-welcome-loop-frame--video span {
|
|
5945
|
+
font-size: 5.75cqi;
|
|
5946
|
+
line-height: 1.3;
|
|
5947
|
+
}
|
|
5948
|
+
|
|
5893
5949
|
.db-welcome-loop-play {
|
|
5894
5950
|
position: absolute;
|
|
5895
5951
|
bottom: 11px;
|
|
@@ -5927,7 +5983,7 @@ html:has(.db-shell) :is(.squisq-view-menu-checkbox, .squisq-view-menu-radio) {
|
|
|
5927
5983
|
margin: 0;
|
|
5928
5984
|
padding: 0;
|
|
5929
5985
|
color: var(--db-text-muted);
|
|
5930
|
-
font: 600
|
|
5986
|
+
font: 600 12px/1 var(--db-meta-font);
|
|
5931
5987
|
letter-spacing: 0.08em;
|
|
5932
5988
|
list-style: none;
|
|
5933
5989
|
text-transform: uppercase;
|
|
@@ -7847,15 +7903,18 @@ button.db-git-file-row:hover {
|
|
|
7847
7903
|
|
|
7848
7904
|
/* Folder and empty states do not render Squisq's toolbar, and the first-run
|
|
7849
7905
|
welcome screen covers it. Preserve a top drag strip in those states and
|
|
7850
|
-
keep folder content below it.
|
|
7906
|
+
keep folder content below it. The titlebar-area values are measured from
|
|
7907
|
+
the window, but these panes start after the sidebar: span the pane and
|
|
7908
|
+
reserve only the caption-button inset on the right, or the strip
|
|
7909
|
+
overhangs the pane and the welcome screen scrolls sideways. */
|
|
7851
7910
|
.db-shell .db-shell-empty::before,
|
|
7852
7911
|
.db-shell .db-folder-view::before,
|
|
7853
7912
|
.db-shell .db-welcome-gateway::before {
|
|
7854
7913
|
content: '';
|
|
7855
7914
|
position: absolute;
|
|
7856
7915
|
top: 0;
|
|
7857
|
-
left:
|
|
7858
|
-
|
|
7916
|
+
left: 0;
|
|
7917
|
+
right: max(0px, calc(100vw - env(titlebar-area-x, 0px) - env(titlebar-area-width, 100vw)));
|
|
7859
7918
|
height: var(--db-wco-titlebar-height);
|
|
7860
7919
|
app-region: drag;
|
|
7861
7920
|
-webkit-app-region: drag;
|
package/dist/chunk-YBEYTVU2.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
// src/Export/transform-summaries.ts
|
|
2
|
-
var transformStyleSummariesPromise = null;
|
|
3
|
-
function loadTransformStyleSummaries() {
|
|
4
|
-
transformStyleSummariesPromise ?? (transformStyleSummariesPromise = import("@bendyline/squisq/transform").then(
|
|
5
|
-
({ getTransformStyleSummaries }) => getTransformStyleSummaries()
|
|
6
|
-
));
|
|
7
|
-
return transformStyleSummariesPromise;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export {
|
|
11
|
-
loadTransformStyleSummaries
|
|
12
|
-
};
|