@bendyline/docblocks-react 2.7.4 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bendyline/docblocks-react",
3
- "version": "2.7.4",
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.4",
89
- "@bendyline/squisq": "2.12.5",
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.12.10",
92
- "@bendyline/squisq-formats": "2.7.6",
93
- "@bendyline/squisq-react": "2.12.6",
94
- "@bendyline/squisq-video": "2.4.5",
95
- "@bendyline/squisq-video-react": "2.5.7",
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
  },
@@ -993,6 +993,9 @@
993
993
  .db-tree-context {
994
994
  position: fixed;
995
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);
996
999
  background: var(--db-bg-raised);
997
1000
  border: 1px solid var(--db-border);
998
1001
  border-radius: 4px;
@@ -2251,6 +2254,9 @@ html:has(.db-shell--mobile) .squisq-toolbar-overflow-menu {
2251
2254
  box-sizing: border-box;
2252
2255
  padding: 16px;
2253
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);
2254
2260
  }
2255
2261
 
2256
2262
  /* Palette-style dialogs (quick-open) sit near the top, where the eye already is. */
@@ -5845,9 +5851,13 @@ html:has(.db-shell) :is(.squisq-view-menu-checkbox, .squisq-view-menu-radio) {
5845
5851
  animation: db-welcome-loop-nudge 3s ease-in-out infinite;
5846
5852
  }
5847
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. */
5848
5857
  .db-welcome-loop-stage {
5849
5858
  position: relative;
5850
5859
  aspect-ratio: 4 / 3;
5860
+ container-type: inline-size;
5851
5861
  }
5852
5862
 
5853
5863
  .db-welcome-loop-frame {
@@ -5890,10 +5900,15 @@ html:has(.db-shell) :is(.squisq-view-menu-checkbox, .squisq-view-menu-radio) {
5890
5900
  color: #2b241c;
5891
5901
  }
5892
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. */
5893
5905
  .db-welcome-loop-frame--slide,
5894
5906
  .db-welcome-loop-frame--video {
5907
+ box-sizing: border-box;
5895
5908
  height: 75%;
5896
5909
  justify-content: center;
5910
+ gap: 2cqi;
5911
+ padding: 6cqi 8cqi;
5897
5912
  background: radial-gradient(circle at 30% 20%, #5a3322, #24170f 72%);
5898
5913
  color: #f6ecdc;
5899
5914
  }
@@ -5905,14 +5920,32 @@ html:has(.db-shell) :is(.squisq-view-menu-checkbox, .squisq-view-menu-radio) {
5905
5920
  }
5906
5921
 
5907
5922
  .db-welcome-loop-frame--slide strong {
5908
- font-size: 21px;
5923
+ font-size: 7cqi;
5924
+ text-wrap: balance;
5925
+ }
5926
+
5927
+ .db-welcome-loop-frame--slide span {
5928
+ font-size: 4cqi;
5909
5929
  }
5910
5930
 
5931
+ /* The bottom padding keeps the list centered in the picture above the
5932
+ player controls. */
5911
5933
  .db-welcome-loop-frame--video {
5912
- justify-content: flex-start;
5934
+ padding-bottom: 12cqi;
5913
5935
  animation-delay: 6s;
5914
5936
  }
5915
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
+
5916
5949
  .db-welcome-loop-play {
5917
5950
  position: absolute;
5918
5951
  bottom: 11px;
@@ -7870,15 +7903,18 @@ button.db-git-file-row:hover {
7870
7903
 
7871
7904
  /* Folder and empty states do not render Squisq's toolbar, and the first-run
7872
7905
  welcome screen covers it. Preserve a top drag strip in those states and
7873
- 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. */
7874
7910
  .db-shell .db-shell-empty::before,
7875
7911
  .db-shell .db-folder-view::before,
7876
7912
  .db-shell .db-welcome-gateway::before {
7877
7913
  content: '';
7878
7914
  position: absolute;
7879
7915
  top: 0;
7880
- left: env(titlebar-area-x, 0px);
7881
- width: env(titlebar-area-width, 100%);
7916
+ left: 0;
7917
+ right: max(0px, calc(100vw - env(titlebar-area-x, 0px) - env(titlebar-area-width, 100vw)));
7882
7918
  height: var(--db-wco-titlebar-height);
7883
7919
  app-region: drag;
7884
7920
  -webkit-app-region: drag;