@bendyline/docblocks-react 2.6.0 → 2.6.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.
- package/THIRD_PARTY_NOTICES.txt +23 -23
- package/dist/index.js +46 -6
- package/package.json +8 -8
- package/src/styles/docblocks.css +13 -2
package/THIRD_PARTY_NOTICES.txt
CHANGED
|
@@ -15,14 +15,14 @@ This notice is included in the published npm tarball. Transitive packages instal
|
|
|
15
15
|
| Package | Version | License | Source |
|
|
16
16
|
| --- | --- | --- | --- |
|
|
17
17
|
| @antfu/install-pkg | 1.1.0 | MIT | https://github.com/antfu/install-pkg |
|
|
18
|
-
| @bendyline/squisq | 2.11.
|
|
18
|
+
| @bendyline/squisq | 2.11.4 | MIT | https://github.com/bendyline/squisq |
|
|
19
19
|
| @bendyline/squisq-calc | 2.11.0 | MIT | https://github.com/bendyline/squisq |
|
|
20
|
-
| @bendyline/squisq-editor-react | 2.11.
|
|
21
|
-
| @bendyline/squisq-formats | 2.6.
|
|
22
|
-
| @bendyline/squisq-grid-react | 2.11.
|
|
23
|
-
| @bendyline/squisq-react | 2.11.
|
|
24
|
-
| @bendyline/squisq-video | 2.3.
|
|
25
|
-
| @bendyline/squisq-video-react | 2.4.
|
|
20
|
+
| @bendyline/squisq-editor-react | 2.11.4 | MIT | https://github.com/bendyline/squisq |
|
|
21
|
+
| @bendyline/squisq-formats | 2.6.4 | MIT | https://github.com/bendyline/squisq |
|
|
22
|
+
| @bendyline/squisq-grid-react | 2.11.5 | MIT | https://github.com/bendyline/squisq |
|
|
23
|
+
| @bendyline/squisq-react | 2.11.4 | MIT | https://github.com/bendyline/squisq |
|
|
24
|
+
| @bendyline/squisq-video | 2.3.7 | MIT | https://github.com/bendyline/squisq |
|
|
25
|
+
| @bendyline/squisq-video-react | 2.4.8 | MIT | https://github.com/bendyline/squisq |
|
|
26
26
|
| @braintree/sanitize-url | 7.1.2 | MIT | https://github.com/braintree/sanitize-url |
|
|
27
27
|
| @chevrotain/types | 11.1.2 | Apache-2.0 | https://github.com/Chevrotain/chevrotain |
|
|
28
28
|
| @ffmpeg/core | 0.12.9 | GPL-2.0-or-later | https://github.com/ffmpegwasm/ffmpeg.wasm |
|
|
@@ -431,7 +431,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
431
431
|
SOFTWARE.
|
|
432
432
|
|
|
433
433
|
==============================================================================
|
|
434
|
-
Components: @bendyline/squisq-calc@2.11.0, @bendyline/squisq-editor-react@2.11.
|
|
434
|
+
Components: @bendyline/squisq-calc@2.11.0, @bendyline/squisq-editor-react@2.11.4, @bendyline/squisq-formats@2.6.4, @bendyline/squisq-grid-react@2.11.5, @bendyline/squisq-react@2.11.4, @bendyline/squisq-video-react@2.4.8, @bendyline/squisq-video@2.3.7, @bendyline/squisq@2.11.4
|
|
435
435
|
Source files: node_modules/@bendyline/squisq-calc/LICENSE, node_modules/@bendyline/squisq-editor-react/LICENSE, node_modules/@bendyline/squisq-formats/LICENSE, node_modules/@bendyline/squisq-grid-react/LICENSE, node_modules/@bendyline/squisq-react/LICENSE, node_modules/@bendyline/squisq-video-react/LICENSE, node_modules/@bendyline/squisq-video/LICENSE, node_modules/@bendyline/squisq/LICENSE
|
|
436
436
|
==============================================================================
|
|
437
437
|
MIT License
|
|
@@ -631,7 +631,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
631
631
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
632
632
|
|
|
633
633
|
==============================================================================
|
|
634
|
-
Components: @bendyline/squisq-editor-react@2.11.
|
|
634
|
+
Components: @bendyline/squisq-editor-react@2.11.4
|
|
635
635
|
Source files: node_modules/@bendyline/squisq-editor-react/NOTICE.md
|
|
636
636
|
==============================================================================
|
|
637
637
|
# Third-Party Notices for @bendyline/squisq-editor-react
|
|
@@ -679,7 +679,7 @@ Exact third-party license texts for the bundled adapter, loader, state helper,
|
|
|
679
679
|
and Font Awesome assets are shipped in THIRD_PARTY_LICENSES.txt.
|
|
680
680
|
|
|
681
681
|
==============================================================================
|
|
682
|
-
Components: @bendyline/squisq-editor-react@2.11.
|
|
682
|
+
Components: @bendyline/squisq-editor-react@2.11.4, @tiptap/core@2.27.2, @tiptap/extension-blockquote@2.27.2, @tiptap/extension-bold@2.27.2, @tiptap/extension-bubble-menu@2.27.2, @tiptap/extension-bullet-list@2.27.2, @tiptap/extension-code-block@2.27.2, @tiptap/extension-code@2.27.2, @tiptap/extension-document@2.27.2, @tiptap/extension-dropcursor@2.27.2, @tiptap/extension-floating-menu@2.27.2, @tiptap/extension-gapcursor@2.27.2, @tiptap/extension-hard-break@2.27.2, @tiptap/extension-heading@2.27.2, @tiptap/extension-history@2.27.2, @tiptap/extension-horizontal-rule@2.27.2, @tiptap/extension-image@2.27.2, @tiptap/extension-italic@2.27.2, @tiptap/extension-link@2.27.2, @tiptap/extension-list-item@2.27.2, @tiptap/extension-mention@2.27.2, @tiptap/extension-ordered-list@2.27.2, @tiptap/extension-paragraph@2.27.2, @tiptap/extension-placeholder@2.27.2, @tiptap/extension-strike@2.27.2, @tiptap/extension-table-cell@2.27.2, @tiptap/extension-table-header@2.27.2, @tiptap/extension-table-row@2.27.2, @tiptap/extension-table@2.27.2, @tiptap/extension-task-item@2.27.2, @tiptap/extension-task-list@2.27.2, @tiptap/extension-text-style@2.27.2, @tiptap/extension-text@2.27.2, @tiptap/pm@2.27.2, @tiptap/react@2.27.2, @tiptap/starter-kit@2.27.2, @tiptap/suggestion@2.27.2
|
|
683
683
|
Source files: node_modules/@bendyline/squisq-editor-react/THIRD_PARTY_LICENSES.txt
|
|
684
684
|
==============================================================================
|
|
685
685
|
THIRD-PARTY LICENSES FOR @bendyline/squisq-editor-react
|
|
@@ -952,7 +952,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
952
952
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
953
953
|
|
|
954
954
|
==============================================================================
|
|
955
|
-
Components: @bendyline/squisq-formats@2.6.
|
|
955
|
+
Components: @bendyline/squisq-formats@2.6.4
|
|
956
956
|
Source files: node_modules/@bendyline/squisq-formats/NOTICE.md
|
|
957
957
|
==============================================================================
|
|
958
958
|
# Third-Party Notices for @bendyline/squisq-formats
|
|
@@ -978,7 +978,7 @@ texts for these dependencies are included in their respective npm
|
|
|
978
978
|
distributions and source repositories.
|
|
979
979
|
|
|
980
980
|
==============================================================================
|
|
981
|
-
Components: @bendyline/squisq-formats@2.6.
|
|
981
|
+
Components: @bendyline/squisq-formats@2.6.4
|
|
982
982
|
Source files: node_modules/@bendyline/squisq-formats/THIRD_PARTY_LICENSES.txt
|
|
983
983
|
==============================================================================
|
|
984
984
|
THIRD-PARTY LICENSES FOR @bendyline/squisq-formats
|
|
@@ -1160,7 +1160,7 @@ Awesome, nor vice versa. **Please do not use brand logos for any purpose except
|
|
|
1160
1160
|
to represent the company, product, or service to which they refer.**
|
|
1161
1161
|
|
|
1162
1162
|
==============================================================================
|
|
1163
|
-
Components: @bendyline/squisq-grid-react@2.11.
|
|
1163
|
+
Components: @bendyline/squisq-grid-react@2.11.5
|
|
1164
1164
|
Source files: node_modules/@bendyline/squisq-grid-react/NOTICE.md
|
|
1165
1165
|
==============================================================================
|
|
1166
1166
|
# Third-Party Notices for @bendyline/squisq-grid-react
|
|
@@ -1181,7 +1181,7 @@ Copyright and complete license texts for these dependencies are included in
|
|
|
1181
1181
|
their respective npm distributions and source repositories.
|
|
1182
1182
|
|
|
1183
1183
|
==============================================================================
|
|
1184
|
-
Components: @bendyline/squisq-grid-react@2.11.
|
|
1184
|
+
Components: @bendyline/squisq-grid-react@2.11.5
|
|
1185
1185
|
Source files: node_modules/@bendyline/squisq-grid-react/THIRD_PARTY_LICENSES.txt
|
|
1186
1186
|
==============================================================================
|
|
1187
1187
|
THIRD-PARTY LICENSES FOR @bendyline/squisq-grid-react
|
|
@@ -1193,7 +1193,7 @@ repository license, the pinned upstream copy is vendored and identified below.
|
|
|
1193
1193
|
COMPONENTS
|
|
1194
1194
|
|
|
1195
1195
|
==============================================================================
|
|
1196
|
-
Components: @bendyline/squisq-react@2.11.
|
|
1196
|
+
Components: @bendyline/squisq-react@2.11.4
|
|
1197
1197
|
Source files: node_modules/@bendyline/squisq-react/NOTICE.md
|
|
1198
1198
|
==============================================================================
|
|
1199
1199
|
# Third-Party Notices for @bendyline/squisq-react
|
|
@@ -1218,7 +1218,7 @@ third-party license texts for the complete standalone bundle graph are shipped
|
|
|
1218
1218
|
in THIRD_PARTY_LICENSES.txt.
|
|
1219
1219
|
|
|
1220
1220
|
==============================================================================
|
|
1221
|
-
Components: @bendyline/squisq-react@2.11.
|
|
1221
|
+
Components: @bendyline/squisq-react@2.11.4
|
|
1222
1222
|
Source files: node_modules/@bendyline/squisq-react/THIRD_PARTY_LICENSES.txt
|
|
1223
1223
|
==============================================================================
|
|
1224
1224
|
THIRD-PARTY LICENSES FOR @bendyline/squisq-react
|
|
@@ -5691,7 +5691,7 @@ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
|
5691
5691
|
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
5692
5692
|
|
|
5693
5693
|
==============================================================================
|
|
5694
|
-
Components: @bendyline/squisq-video-react@2.4.
|
|
5694
|
+
Components: @bendyline/squisq-video-react@2.4.8, @ffmpeg/core@0.12.9
|
|
5695
5695
|
Source files: node_modules/@bendyline/squisq-video-react/COPYING.GPL-2.0.txt
|
|
5696
5696
|
==============================================================================
|
|
5697
5697
|
GNU GENERAL PUBLIC LICENSE
|
|
@@ -6034,7 +6034,7 @@ library. If this is what you want to do, use the GNU Lesser General
|
|
|
6034
6034
|
Public License instead of this License.
|
|
6035
6035
|
|
|
6036
6036
|
==============================================================================
|
|
6037
|
-
Components: @bendyline/squisq-video-react@2.4.
|
|
6037
|
+
Components: @bendyline/squisq-video-react@2.4.8, @ffmpeg/core@0.12.9
|
|
6038
6038
|
Source files: node_modules/@bendyline/squisq-video-react/NOTICE.md
|
|
6039
6039
|
==============================================================================
|
|
6040
6040
|
# Third-Party Notices for @bendyline/squisq-video-react
|
|
@@ -6079,7 +6079,7 @@ global WebCodecs declaration dependencies are not installed for consumers. Its
|
|
|
6079
6079
|
exact license text is shipped in THIRD_PARTY_LICENSES.txt.
|
|
6080
6080
|
|
|
6081
6081
|
==============================================================================
|
|
6082
|
-
Components: @bendyline/squisq-video-react@2.4.
|
|
6082
|
+
Components: @bendyline/squisq-video-react@2.4.8, @ffmpeg/core@0.12.9, @ffmpeg/ffmpeg@0.12.15, @ffmpeg/types@0.12.4, @ffmpeg/util@0.12.2
|
|
6083
6083
|
Source files: node_modules/@bendyline/squisq-video-react/THIRD_PARTY_LICENSES.txt
|
|
6084
6084
|
==============================================================================
|
|
6085
6085
|
THIRD-PARTY LICENSES FOR @bendyline/squisq-video-react
|
|
@@ -6143,7 +6143,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
6143
6143
|
SOFTWARE.
|
|
6144
6144
|
|
|
6145
6145
|
==============================================================================
|
|
6146
|
-
Components: @bendyline/squisq-video@2.3.
|
|
6146
|
+
Components: @bendyline/squisq-video@2.3.7
|
|
6147
6147
|
Source files: node_modules/@bendyline/squisq-video/NOTICE.md
|
|
6148
6148
|
==============================================================================
|
|
6149
6149
|
# Third-Party Notices for @bendyline/squisq-video
|
|
@@ -6168,7 +6168,7 @@ Copyright and complete license texts for the listed dependencies are included
|
|
|
6168
6168
|
in their respective npm distributions and source repositories.
|
|
6169
6169
|
|
|
6170
6170
|
==============================================================================
|
|
6171
|
-
Components: @bendyline/squisq-video@2.3.
|
|
6171
|
+
Components: @bendyline/squisq-video@2.3.7
|
|
6172
6172
|
Source files: node_modules/@bendyline/squisq-video/THIRD_PARTY_LICENSES.txt
|
|
6173
6173
|
==============================================================================
|
|
6174
6174
|
THIRD-PARTY LICENSES FOR @bendyline/squisq-video
|
|
@@ -6180,7 +6180,7 @@ repository license, the pinned upstream copy is vendored and identified below.
|
|
|
6180
6180
|
COMPONENTS
|
|
6181
6181
|
|
|
6182
6182
|
==============================================================================
|
|
6183
|
-
Components: @bendyline/squisq@2.11.
|
|
6183
|
+
Components: @bendyline/squisq@2.11.4
|
|
6184
6184
|
Source files: node_modules/@bendyline/squisq/NOTICE.md
|
|
6185
6185
|
==============================================================================
|
|
6186
6186
|
# Third-Party Notices for @bendyline/squisq
|
|
@@ -6211,7 +6211,7 @@ third-party license texts for bundled code and data are shipped in
|
|
|
6211
6211
|
THIRD_PARTY_LICENSES.txt.
|
|
6212
6212
|
|
|
6213
6213
|
==============================================================================
|
|
6214
|
-
Components: @bendyline/squisq@2.11.
|
|
6214
|
+
Components: @bendyline/squisq@2.11.4
|
|
6215
6215
|
Source files: node_modules/@bendyline/squisq/THIRD_PARTY_LICENSES.txt
|
|
6216
6216
|
==============================================================================
|
|
6217
6217
|
THIRD-PARTY LICENSES FOR @bendyline/squisq
|
package/dist/index.js
CHANGED
|
@@ -1797,6 +1797,40 @@ async function importOutsideInDocument(source, options = {}) {
|
|
|
1797
1797
|
if (!layout) throw new Error(`Outside-in editing does not support "${source.targetPath}".`);
|
|
1798
1798
|
return { ...imported, layout };
|
|
1799
1799
|
}
|
|
1800
|
+
function isOutsideInDataFormat(format) {
|
|
1801
|
+
return format === "csv" || format === "xlsx";
|
|
1802
|
+
}
|
|
1803
|
+
async function importOutsideInDataSidecar(source) {
|
|
1804
|
+
const layout = resolveOutsideInLayout(source.targetPath);
|
|
1805
|
+
if (!layout || !isOutsideInDataFormat(layout.format)) {
|
|
1806
|
+
throw new Error(`Outside-in data import does not support "${source.targetPath}".`);
|
|
1807
|
+
}
|
|
1808
|
+
const data = source.data instanceof ArrayBuffer ? source.data : source.data.buffer.slice(
|
|
1809
|
+
source.data.byteOffset,
|
|
1810
|
+
source.data.byteOffset + source.data.byteLength
|
|
1811
|
+
);
|
|
1812
|
+
const sourceName = source.targetPath.replace(/\\/g, "/").split("/").pop() ?? `data.${layout.format}`;
|
|
1813
|
+
const container = layout.format === "csv" ? await import("@bendyline/squisq-formats/csv").then(
|
|
1814
|
+
({ csvToContainer }) => csvToContainer(data, { sourceName, sidecar: "always" })
|
|
1815
|
+
) : await import("@bendyline/squisq-formats/xlsx").then(
|
|
1816
|
+
({ xlsxToContainer }) => xlsxToContainer(data, {
|
|
1817
|
+
sourceName,
|
|
1818
|
+
sidecar: "always",
|
|
1819
|
+
sheetHeadings: false
|
|
1820
|
+
})
|
|
1821
|
+
);
|
|
1822
|
+
const importedMarkdown = await container.readDocument();
|
|
1823
|
+
if (importedMarkdown === null) {
|
|
1824
|
+
throw new Error(
|
|
1825
|
+
`The ${layout.format.toUpperCase()} importer did not create a Markdown companion.`
|
|
1826
|
+
);
|
|
1827
|
+
}
|
|
1828
|
+
return {
|
|
1829
|
+
layout,
|
|
1830
|
+
markdown: await withOutsideInMetadata(importedMarkdown, layout),
|
|
1831
|
+
container
|
|
1832
|
+
};
|
|
1833
|
+
}
|
|
1800
1834
|
async function renderOutsideInDocument(source, options = {}) {
|
|
1801
1835
|
const { renderOutsideInDocument: renderDocument } = await loadOutsideInModule();
|
|
1802
1836
|
return renderDocument(source, options);
|
|
@@ -1816,6 +1850,9 @@ var IMAGE_MIME_TYPES = {
|
|
|
1816
1850
|
};
|
|
1817
1851
|
var SQUISQ_RUNTIME_DIRECTORY = "_squisq";
|
|
1818
1852
|
var SQUISQ_RUNTIME_FILENAME = "squisq-player.js";
|
|
1853
|
+
function defaultOutsideInLayoutMode(outsideIn) {
|
|
1854
|
+
return outsideIn && isOutsideInDataFormat(outsideIn.format) ? "block" : void 0;
|
|
1855
|
+
}
|
|
1819
1856
|
function withoutLeadingSlash(path) {
|
|
1820
1857
|
return parseWorkspacePath3(path);
|
|
1821
1858
|
}
|
|
@@ -4472,10 +4509,9 @@ async function importOutsideInFile(file, provider) {
|
|
|
4472
4509
|
const created = [claim.path];
|
|
4473
4510
|
try {
|
|
4474
4511
|
const sourceBytes = await file.arrayBuffer();
|
|
4475
|
-
const
|
|
4476
|
-
|
|
4477
|
-
|
|
4478
|
-
});
|
|
4512
|
+
const layout = resolveOutsideInLayout(claim.path);
|
|
4513
|
+
if (!layout) throw new Error(`Outside-in editing does not support \u201C${claim.path}\u201D.`);
|
|
4514
|
+
const imported = await (isOutsideInDataFormat(layout.format) ? importOutsideInDataSidecar({ data: sourceBytes, targetPath: claim.path }) : importOutsideInDocument({ data: sourceBytes, targetPath: claim.path }));
|
|
4479
4515
|
for (const entry of await imported.container.listFiles()) {
|
|
4480
4516
|
if (/\.md$/i.test(entry.path)) continue;
|
|
4481
4517
|
const data = await imported.container.readFile(entry.path);
|
|
@@ -6082,6 +6118,10 @@ function DocBlocksShell({
|
|
|
6082
6118
|
const [selectedOutsideIn, setSelectedOutsideIn] = useState15(null);
|
|
6083
6119
|
const [selectedOutsideInEditingEnabled, setSelectedOutsideInEditingEnabled] = useState15(false);
|
|
6084
6120
|
const [selectedImage, setSelectedImage] = useState15(void 0);
|
|
6121
|
+
const editorViewPreferences = useMemo3(() => {
|
|
6122
|
+
const layoutMode = defaultOutsideInLayoutMode(selectedOutsideIn);
|
|
6123
|
+
return layoutMode && viewPreferences.layoutMode === void 0 ? { ...viewPreferences, layoutMode } : viewPreferences;
|
|
6124
|
+
}, [selectedOutsideIn, viewPreferences]);
|
|
6085
6125
|
const adoptSelectedDocument = useCallback15((document2) => {
|
|
6086
6126
|
setSelectedFile(document2?.displayPath ?? null);
|
|
6087
6127
|
setSelectedSourceFile(document2?.sourcePath ?? null);
|
|
@@ -8963,7 +9003,7 @@ function DocBlocksShell({
|
|
|
8963
9003
|
initialView,
|
|
8964
9004
|
defaultViewportPreset: defaultPreviewViewportPreset,
|
|
8965
9005
|
articleId: selectedFile,
|
|
8966
|
-
fileName: selectedFile,
|
|
9006
|
+
fileName: selectedSourceFile ?? selectedFile,
|
|
8967
9007
|
imageSrc: selectedImageUrl,
|
|
8968
9008
|
imageAlt: basenameOf(selectedFile),
|
|
8969
9009
|
saveCoverImageOutput: saveRenderedImageOutput,
|
|
@@ -8990,7 +9030,7 @@ function DocBlocksShell({
|
|
|
8990
9030
|
documentLinkProvider,
|
|
8991
9031
|
workspaceContainer: versionsContainer ?? void 0,
|
|
8992
9032
|
allowVersioning: selectedImage === void 0 && effectiveVersioning,
|
|
8993
|
-
viewPreferences,
|
|
9033
|
+
viewPreferences: editorViewPreferences,
|
|
8994
9034
|
onViewPreferencesChange: handleViewPreferencesChange,
|
|
8995
9035
|
versionBasename: versionBasename ?? stripExtension(basenameOf(selectedFile)),
|
|
8996
9036
|
versioningPrunePolicy,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bendyline/docblocks-react",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.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,14 @@
|
|
|
85
85
|
}
|
|
86
86
|
},
|
|
87
87
|
"dependencies": {
|
|
88
|
-
"@bendyline/docblocks": "2.6.
|
|
89
|
-
"@bendyline/squisq": "2.11.
|
|
88
|
+
"@bendyline/docblocks": "2.6.2",
|
|
89
|
+
"@bendyline/squisq": "2.11.4",
|
|
90
90
|
"@bendyline/squisq-calc": "2.11.0",
|
|
91
|
-
"@bendyline/squisq-editor-react": "2.11.
|
|
92
|
-
"@bendyline/squisq-formats": "2.6.
|
|
93
|
-
"@bendyline/squisq-react": "2.11.
|
|
94
|
-
"@bendyline/squisq-video": "2.3.
|
|
95
|
-
"@bendyline/squisq-video-react": "2.4.
|
|
91
|
+
"@bendyline/squisq-editor-react": "2.11.4",
|
|
92
|
+
"@bendyline/squisq-formats": "2.6.4",
|
|
93
|
+
"@bendyline/squisq-react": "2.11.4",
|
|
94
|
+
"@bendyline/squisq-video": "2.3.7",
|
|
95
|
+
"@bendyline/squisq-video-react": "2.4.8",
|
|
96
96
|
"qrcode": "1.5.4"
|
|
97
97
|
},
|
|
98
98
|
"devDependencies": {
|
package/src/styles/docblocks.css
CHANGED
|
@@ -1670,19 +1670,30 @@ body.db-resizing-sidebar * {
|
|
|
1670
1670
|
caption buttons; see packages/desktop/renderer/titlebar.css. */
|
|
1671
1671
|
.db-shell--desktop-toolbar-wrapped:not(.db-shell--mobile) {
|
|
1672
1672
|
--db-toolbar-wrapped-row: 44px;
|
|
1673
|
+
/* Squisq's toolbar keeps this inline-end padding so the second row's last
|
|
1674
|
+
control never touches the pane edge. The tab row is a flex item, so a
|
|
1675
|
+
100% basis would stop at the content box and leave a toolbar-coloured
|
|
1676
|
+
strip beyond the tabs; it has to cover the padding too. */
|
|
1677
|
+
--db-toolbar-wrapped-inline-end: 12px;
|
|
1673
1678
|
}
|
|
1674
1679
|
|
|
1675
1680
|
.db-shell--desktop-toolbar-wrapped:not(.db-shell--mobile) .squisq-toolbar {
|
|
1676
1681
|
min-height: calc(var(--db-toolbar-wrapped-row) * 2);
|
|
1677
1682
|
flex-wrap: wrap;
|
|
1678
1683
|
align-content: stretch;
|
|
1684
|
+
padding-right: var(--db-toolbar-wrapped-inline-end);
|
|
1679
1685
|
}
|
|
1680
1686
|
|
|
1687
|
+
/* The tab row spans the whole toolbar, padding included, so its surface runs
|
|
1688
|
+
edge to edge and its right-hand divider (which separated it from the
|
|
1689
|
+
formatting controls when they shared a row) has nothing left to divide. */
|
|
1681
1690
|
.db-shell--desktop-toolbar-wrapped:not(.db-shell--mobile) .squisq-toolbar-view-tabs {
|
|
1682
1691
|
box-sizing: border-box;
|
|
1683
|
-
flex: 0 0
|
|
1684
|
-
width: 100
|
|
1692
|
+
flex: 0 0 auto;
|
|
1693
|
+
width: calc(100% + var(--db-toolbar-wrapped-inline-end));
|
|
1694
|
+
margin-right: calc(-1 * var(--db-toolbar-wrapped-inline-end));
|
|
1685
1695
|
height: var(--db-toolbar-wrapped-row);
|
|
1696
|
+
border-right: 0;
|
|
1686
1697
|
}
|
|
1687
1698
|
|
|
1688
1699
|
.db-mobile-back {
|