@bendyline/docblocks-react 2.3.4 → 2.5.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.
- package/THIRD_PARTY_NOTICES.txt +353 -45
- package/dist/{ExportToolbarControls-N3TCL5DD.js → ExportToolbarControls-BUVJCSMV.js} +1 -1
- package/dist/{ShareDialog-PAMOQQFB.js → ShareDialog-4OX3UPJ4.js} +150 -3
- package/dist/{chunk-BI7NVU6T.js → chunk-FNSRCCBC.js} +10 -0
- package/dist/export/index.d.ts +23 -1
- package/dist/export/index.js +5 -1
- package/dist/index.d.ts +75 -64
- package/dist/index.js +891 -191
- package/package.json +10 -8
- package/src/styles/docblocks.css +79 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bendyline/docblocks-react",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.5.0",
|
|
4
4
|
"description": "React components for DocBlocks — file explorer, workspace picker, and editor shell",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Bendyline",
|
|
@@ -75,16 +75,18 @@
|
|
|
75
75
|
}
|
|
76
76
|
},
|
|
77
77
|
"dependencies": {
|
|
78
|
-
"@bendyline/docblocks": "2.
|
|
79
|
-
"@bendyline/squisq": "2.
|
|
80
|
-
"@bendyline/squisq-editor-react": "2.
|
|
81
|
-
"@bendyline/squisq-formats": "2.4.
|
|
82
|
-
"@bendyline/squisq-react": "2.
|
|
83
|
-
"@bendyline/squisq-video": "2.
|
|
84
|
-
"@bendyline/squisq-video-react": "2.
|
|
78
|
+
"@bendyline/docblocks": "2.5.0",
|
|
79
|
+
"@bendyline/squisq": "2.9.0",
|
|
80
|
+
"@bendyline/squisq-editor-react": "2.9.0",
|
|
81
|
+
"@bendyline/squisq-formats": "2.4.6",
|
|
82
|
+
"@bendyline/squisq-react": "2.9.0",
|
|
83
|
+
"@bendyline/squisq-video": "2.3.1",
|
|
84
|
+
"@bendyline/squisq-video-react": "2.4.1",
|
|
85
|
+
"qrcode": "1.5.4"
|
|
85
86
|
},
|
|
86
87
|
"devDependencies": {
|
|
87
88
|
"@happy-dom/global-registrator": "20.9.0",
|
|
89
|
+
"@types/qrcode": "1.5.6",
|
|
88
90
|
"@types/react": "18.3.28",
|
|
89
91
|
"@types/react-dom": "18.3.7",
|
|
90
92
|
"happy-dom": "20.9.0",
|
package/src/styles/docblocks.css
CHANGED
|
@@ -2743,7 +2743,7 @@ body.db-resizing-sidebar * {
|
|
|
2743
2743
|
/* Shared-document links intentionally resemble export because they package a
|
|
2744
2744
|
bounded Markdown-only DBK; the warning is the critical distinction. */
|
|
2745
2745
|
.db-share-dialog {
|
|
2746
|
-
width:
|
|
2746
|
+
width: 560px;
|
|
2747
2747
|
}
|
|
2748
2748
|
|
|
2749
2749
|
.db-share-warning {
|
|
@@ -2783,10 +2783,88 @@ body.db-resizing-sidebar * {
|
|
|
2783
2783
|
color: var(--db-danger, #a33a35);
|
|
2784
2784
|
}
|
|
2785
2785
|
|
|
2786
|
+
.db-share-qr {
|
|
2787
|
+
margin: 18px 0 14px;
|
|
2788
|
+
padding-top: 16px;
|
|
2789
|
+
border-top: 1px solid var(--db-border);
|
|
2790
|
+
}
|
|
2791
|
+
|
|
2792
|
+
.db-share-qr-heading {
|
|
2793
|
+
display: flex;
|
|
2794
|
+
align-items: flex-start;
|
|
2795
|
+
justify-content: space-between;
|
|
2796
|
+
gap: 12px;
|
|
2797
|
+
}
|
|
2798
|
+
|
|
2799
|
+
.db-share-qr-heading h3 {
|
|
2800
|
+
margin: 0;
|
|
2801
|
+
color: var(--db-text);
|
|
2802
|
+
font-size: 14px;
|
|
2803
|
+
line-height: 1.4;
|
|
2804
|
+
}
|
|
2805
|
+
|
|
2806
|
+
.db-share-qr-actions {
|
|
2807
|
+
display: flex;
|
|
2808
|
+
flex-shrink: 0;
|
|
2809
|
+
flex-wrap: wrap;
|
|
2810
|
+
justify-content: flex-end;
|
|
2811
|
+
gap: 8px;
|
|
2812
|
+
}
|
|
2813
|
+
|
|
2814
|
+
.db-share-qr-image {
|
|
2815
|
+
display: block;
|
|
2816
|
+
box-sizing: border-box;
|
|
2817
|
+
width: min(100%, 360px);
|
|
2818
|
+
height: auto;
|
|
2819
|
+
margin: 14px auto 0;
|
|
2820
|
+
image-rendering: pixelated;
|
|
2821
|
+
background: #fff;
|
|
2822
|
+
border: 1px solid var(--db-border);
|
|
2823
|
+
border-radius: 4px;
|
|
2824
|
+
}
|
|
2825
|
+
|
|
2826
|
+
.db-share-qr-placeholder {
|
|
2827
|
+
display: flex;
|
|
2828
|
+
align-items: center;
|
|
2829
|
+
justify-content: center;
|
|
2830
|
+
box-sizing: border-box;
|
|
2831
|
+
min-height: 120px;
|
|
2832
|
+
margin-top: 14px;
|
|
2833
|
+
padding: 18px;
|
|
2834
|
+
color: var(--db-text-muted);
|
|
2835
|
+
text-align: center;
|
|
2836
|
+
background: var(--db-bg-subtle);
|
|
2837
|
+
border: 1px dashed var(--db-border);
|
|
2838
|
+
border-radius: 4px;
|
|
2839
|
+
}
|
|
2840
|
+
|
|
2841
|
+
.db-share-qr-placeholder--error {
|
|
2842
|
+
color: var(--db-danger, #a33a35);
|
|
2843
|
+
border-color: currentColor;
|
|
2844
|
+
}
|
|
2845
|
+
|
|
2846
|
+
.db-share-qr-status {
|
|
2847
|
+
display: block;
|
|
2848
|
+
min-height: 1.4em;
|
|
2849
|
+
margin-top: 6px;
|
|
2850
|
+
text-align: center;
|
|
2851
|
+
}
|
|
2852
|
+
|
|
2786
2853
|
.db-share-temporary-note {
|
|
2787
2854
|
color: var(--db-text-muted);
|
|
2788
2855
|
}
|
|
2789
2856
|
|
|
2857
|
+
@media (max-width: 560px) {
|
|
2858
|
+
.db-share-qr-heading {
|
|
2859
|
+
display: block;
|
|
2860
|
+
}
|
|
2861
|
+
|
|
2862
|
+
.db-share-qr-actions {
|
|
2863
|
+
justify-content: flex-start;
|
|
2864
|
+
margin-top: 10px;
|
|
2865
|
+
}
|
|
2866
|
+
}
|
|
2867
|
+
|
|
2790
2868
|
/* ── Squisq editor chrome separators ─────────────────────────── */
|
|
2791
2869
|
/* Strengthen the dividers so the toolbar, tabs, and editor body
|
|
2792
2870
|
read as three distinct zones instead of near-identical whites. */
|