@bendyline/squisq-editor-react 2.8.0 → 2.10.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/NOTICE.md +1 -0
- package/README.md +5 -0
- package/dist/{chunk-OWOKKZAU.js → chunk-IRPOMTYK.js} +4 -0
- package/dist/{chunk-V3J5S7X6.js → chunk-JNJ7XO5L.js} +617 -99
- package/dist/{chunk-YPRX32GY.js → chunk-JYPLPGYJ.js} +1 -1
- package/dist/chunk-SAKLIEOX.js +144 -0
- package/dist/{chunk-K2WJYVS4.js → chunk-TCLNRATG.js} +48 -13
- package/dist/{chunk-SUXRSZ4Y.js → chunk-TQPZ6VVM.js} +4749 -2783
- package/dist/{chunk-AZ5ME4XG.js → chunk-WCGDDZB6.js} +3 -1
- package/dist/{chunk-IQFPX2CE.js → chunk-ZZTB6BEQ.js} +1 -1
- package/dist/index.d.ts +150 -7
- package/dist/index.js +39 -9
- package/dist/json-editor/index.js +2 -2
- package/dist/proofing/index.d.ts +32 -0
- package/dist/proofing/index.js +10 -0
- package/dist/recorder/index.d.ts +2 -2
- package/dist/recorder/index.js +3 -3
- package/dist/{recorder-DFP0Dw4v.d.ts → recorder-GrEh4xE8.d.ts} +67 -7
- package/dist/shell/index.d.ts +3 -1
- package/dist/shell/index.js +5 -5
- package/dist/{shell-Bv6neeA6.d.ts → shell-Dlh-mkn9.d.ts} +59 -2
- package/dist/styles/index.css +477 -14
- package/dist/teleprompter/index.d.ts +2 -2
- package/dist/teleprompter/index.js +2 -2
- package/dist/types-B_aHRuSc.d.ts +156 -0
- package/dist/{useNarrationStage-Bk3mdW75.d.ts → useNarrationStage-B6r9Zlq-.d.ts} +11 -1
- package/package.json +16 -5
package/dist/styles/index.css
CHANGED
|
@@ -7590,6 +7590,9 @@
|
|
|
7590
7590
|
.squisq-toolbar-contextual--clipped {
|
|
7591
7591
|
visibility: hidden;
|
|
7592
7592
|
}
|
|
7593
|
+
.squisq-toolbar-button--overflowed {
|
|
7594
|
+
visibility: hidden;
|
|
7595
|
+
}
|
|
7593
7596
|
.squisq-toolbar-view-tab {
|
|
7594
7597
|
padding: 8px 14px 4px;
|
|
7595
7598
|
border: none;
|
|
@@ -9090,7 +9093,7 @@
|
|
|
9090
9093
|
color: #dc2626;
|
|
9091
9094
|
}
|
|
9092
9095
|
.squisq-wysiwyg-container {
|
|
9093
|
-
background:
|
|
9096
|
+
background: var(--squisq-desk-bg);
|
|
9094
9097
|
}
|
|
9095
9098
|
.squisq-wysiwyg-editor {
|
|
9096
9099
|
padding: 16px 24px;
|
|
@@ -9820,6 +9823,71 @@
|
|
|
9820
9823
|
color: #6b7280;
|
|
9821
9824
|
font: 500 14px/1.4 var(--squisq-ux-font, sans-serif);
|
|
9822
9825
|
}
|
|
9826
|
+
.squisq-print-preview--flashcards {
|
|
9827
|
+
display: grid;
|
|
9828
|
+
gap: 24px;
|
|
9829
|
+
color: var(--squisq-print-flashcard-text);
|
|
9830
|
+
}
|
|
9831
|
+
.squisq-print-flashcard-sheet {
|
|
9832
|
+
width: min(1100px, 100%);
|
|
9833
|
+
aspect-ratio: 11 / 8.5;
|
|
9834
|
+
margin-inline: auto;
|
|
9835
|
+
padding: 4%;
|
|
9836
|
+
background: var(--squisq-print-flashcard-bg);
|
|
9837
|
+
box-shadow: 0 8px 30px rgb(15 23 42 / 18%);
|
|
9838
|
+
break-after: page;
|
|
9839
|
+
}
|
|
9840
|
+
.squisq-print-flashcard-sheet > header {
|
|
9841
|
+
display: flex;
|
|
9842
|
+
justify-content: space-between;
|
|
9843
|
+
margin-bottom: 2%;
|
|
9844
|
+
color: var(--squisq-print-flashcard-muted);
|
|
9845
|
+
font-size: 12px;
|
|
9846
|
+
}
|
|
9847
|
+
.squisq-print-flashcard-pair {
|
|
9848
|
+
display: grid;
|
|
9849
|
+
grid-template-columns: 1fr 1fr;
|
|
9850
|
+
gap: 3%;
|
|
9851
|
+
height: 88%;
|
|
9852
|
+
}
|
|
9853
|
+
.squisq-print-flashcard-face {
|
|
9854
|
+
overflow: hidden;
|
|
9855
|
+
border: 1px solid color-mix(in srgb, var(--squisq-print-flashcard-text) 18%, transparent);
|
|
9856
|
+
border-radius: 16px;
|
|
9857
|
+
padding: 7%;
|
|
9858
|
+
background: var(--squisq-print-flashcard-surface);
|
|
9859
|
+
}
|
|
9860
|
+
.squisq-print-flashcard-face > small,
|
|
9861
|
+
.squisq-print-flashcard-explanation > small {
|
|
9862
|
+
display: block;
|
|
9863
|
+
margin-bottom: 12px;
|
|
9864
|
+
color: var(--squisq-print-flashcard-accent);
|
|
9865
|
+
font-weight: 800;
|
|
9866
|
+
letter-spacing: 0.12em;
|
|
9867
|
+
text-transform: uppercase;
|
|
9868
|
+
}
|
|
9869
|
+
.squisq-print-flashcard-face .squisq-flashcards__content-title {
|
|
9870
|
+
margin: 0 0 0.5em;
|
|
9871
|
+
font-size: clamp(20px, 2.4vw, 34px);
|
|
9872
|
+
}
|
|
9873
|
+
.squisq-print-flashcard-face .squisq-md {
|
|
9874
|
+
font-size: clamp(13px, 1.4vw, 18px);
|
|
9875
|
+
line-height: 1.45;
|
|
9876
|
+
}
|
|
9877
|
+
.squisq-print-flashcard-choices {
|
|
9878
|
+
display: grid;
|
|
9879
|
+
gap: 8px;
|
|
9880
|
+
margin: 18px 0 0;
|
|
9881
|
+
padding-left: 24px;
|
|
9882
|
+
}
|
|
9883
|
+
.squisq-print-flashcard-choices .squisq-flashcards__content-title {
|
|
9884
|
+
font-size: 16px;
|
|
9885
|
+
}
|
|
9886
|
+
.squisq-print-flashcard-explanation {
|
|
9887
|
+
margin-top: 20px;
|
|
9888
|
+
border-top: 1px solid color-mix(in srgb, var(--squisq-print-flashcard-text) 16%, transparent);
|
|
9889
|
+
padding-top: 16px;
|
|
9890
|
+
}
|
|
9823
9891
|
@container squisq-toolbar (max-width: 820px) {
|
|
9824
9892
|
.squisq-print-trigger > span,
|
|
9825
9893
|
.squisq-print-toolbar-title,
|
|
@@ -9995,6 +10063,7 @@
|
|
|
9995
10063
|
--squisq-input-bg: #fff;
|
|
9996
10064
|
--squisq-text: #1f2937;
|
|
9997
10065
|
--squisq-text-muted: #6b7280;
|
|
10066
|
+
--squisq-desk-bg: #dcd8d0;
|
|
9998
10067
|
--squisq-editor-background: #ffffff;
|
|
9999
10068
|
--squisq-editor-foreground: #1f2937;
|
|
10000
10069
|
}
|
|
@@ -10004,6 +10073,7 @@
|
|
|
10004
10073
|
--squisq-input-bg: #374151;
|
|
10005
10074
|
--squisq-text: #e5e7eb;
|
|
10006
10075
|
--squisq-text-muted: #9ca3af;
|
|
10076
|
+
--squisq-desk-bg: #0f1219;
|
|
10007
10077
|
--squisq-editor-background: #1e1e1e;
|
|
10008
10078
|
--squisq-editor-foreground: #d4d4d4;
|
|
10009
10079
|
}
|
|
@@ -10279,9 +10349,6 @@
|
|
|
10279
10349
|
.squisq-editor-shell[data-theme=dark] .squisq-status-error {
|
|
10280
10350
|
color: #f87171;
|
|
10281
10351
|
}
|
|
10282
|
-
.squisq-editor-shell[data-theme=dark] .squisq-wysiwyg-container {
|
|
10283
|
-
background: #0f1219;
|
|
10284
|
-
}
|
|
10285
10352
|
.squisq-editor-shell[data-theme=dark] .squisq-wysiwyg-editor {
|
|
10286
10353
|
color: #e5e7eb;
|
|
10287
10354
|
background: #111827;
|
|
@@ -11874,7 +11941,7 @@
|
|
|
11874
11941
|
align-items: center;
|
|
11875
11942
|
justify-content: center;
|
|
11876
11943
|
padding: 12px 16px;
|
|
11877
|
-
background:
|
|
11944
|
+
background: var(--squisq-desk-bg);
|
|
11878
11945
|
border-left: 1px solid #b0a99a;
|
|
11879
11946
|
overflow: auto;
|
|
11880
11947
|
}
|
|
@@ -11894,7 +11961,6 @@
|
|
|
11894
11961
|
height: 100%;
|
|
11895
11962
|
}
|
|
11896
11963
|
.squisq-editor-shell[data-theme=dark] .squisq-block-preview-panel {
|
|
11897
|
-
background: #0f1219;
|
|
11898
11964
|
border-left-color: #2a3144;
|
|
11899
11965
|
}
|
|
11900
11966
|
.squisq-editor-shell[data-theme=dark] .squisq-block-preview-frame {
|
|
@@ -11905,7 +11971,7 @@
|
|
|
11905
11971
|
flex-direction: column;
|
|
11906
11972
|
height: 100%;
|
|
11907
11973
|
min-height: 0;
|
|
11908
|
-
background:
|
|
11974
|
+
background: var(--squisq-desk-bg);
|
|
11909
11975
|
}
|
|
11910
11976
|
.squisq-block-card-body {
|
|
11911
11977
|
flex: 1 1 auto;
|
|
@@ -11964,9 +12030,6 @@
|
|
|
11964
12030
|
.squisq-block-card-add {
|
|
11965
12031
|
margin-left: 8px;
|
|
11966
12032
|
}
|
|
11967
|
-
.squisq-editor-shell[data-theme=dark] .squisq-block-card {
|
|
11968
|
-
background: #0f1219;
|
|
11969
|
-
}
|
|
11970
12033
|
.squisq-editor-shell[data-theme=dark] .squisq-block-card-body .squisq-wysiwyg-editor,
|
|
11971
12034
|
.squisq-editor-shell[data-theme=dark] .squisq-block-card-body > .squisq-raw-editor-container {
|
|
11972
12035
|
border-top-color: #2a3144;
|
|
@@ -12699,7 +12762,7 @@
|
|
|
12699
12762
|
.squisq-editor-shell {
|
|
12700
12763
|
--squisq-preview-accent: #6366f1;
|
|
12701
12764
|
--squisq-preview-accent-muted: #94a3b8;
|
|
12702
|
-
--squisq-preview-gutter-bg:
|
|
12765
|
+
--squisq-preview-gutter-bg: var(--squisq-desk-bg);
|
|
12703
12766
|
--squisq-preview-card-bg: #ffffff;
|
|
12704
12767
|
--squisq-preview-card-border: #e5e7eb;
|
|
12705
12768
|
--squisq-preview-card-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
|
|
@@ -12813,7 +12876,7 @@
|
|
|
12813
12876
|
}
|
|
12814
12877
|
.squisq-outline {
|
|
12815
12878
|
padding: 12px 8px;
|
|
12816
|
-
background:
|
|
12879
|
+
background: var(--squisq-desk-bg);
|
|
12817
12880
|
font-size: 13px;
|
|
12818
12881
|
color: #1f2937;
|
|
12819
12882
|
box-sizing: border-box;
|
|
@@ -13016,13 +13079,12 @@
|
|
|
13016
13079
|
color: #f9fafb;
|
|
13017
13080
|
}
|
|
13018
13081
|
.squisq-editor-shell[data-theme=dark] .squisq-outline {
|
|
13019
|
-
background: #0f1219;
|
|
13020
13082
|
color: #d1d5db;
|
|
13021
13083
|
}
|
|
13022
13084
|
.squisq-editor-shell[data-theme=dark] {
|
|
13023
13085
|
--squisq-preview-accent: #818cf8;
|
|
13024
13086
|
--squisq-preview-accent-muted: #475569;
|
|
13025
|
-
--squisq-preview-gutter-bg:
|
|
13087
|
+
--squisq-preview-gutter-bg: var(--squisq-desk-bg);
|
|
13026
13088
|
--squisq-preview-card-bg: #111827;
|
|
13027
13089
|
--squisq-preview-card-border: #1f2937;
|
|
13028
13090
|
--squisq-preview-card-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
|
|
@@ -17022,6 +17084,407 @@ button.squisq-ascii-timeline-track-name:focus-visible {
|
|
|
17022
17084
|
}
|
|
17023
17085
|
}
|
|
17024
17086
|
|
|
17087
|
+
/* src/styles/proofing.css */
|
|
17088
|
+
.squisq-proof-underline {
|
|
17089
|
+
text-decoration-skip-ink: none;
|
|
17090
|
+
}
|
|
17091
|
+
.squisq-proof-underline--spelling {
|
|
17092
|
+
text-decoration: underline wavy #d93025 1px;
|
|
17093
|
+
text-decoration-skip-ink: none;
|
|
17094
|
+
}
|
|
17095
|
+
.squisq-proof-underline--grammar {
|
|
17096
|
+
text-decoration: underline wavy #188038 1px;
|
|
17097
|
+
text-decoration-skip-ink: none;
|
|
17098
|
+
}
|
|
17099
|
+
.squisq-proof-underline--style {
|
|
17100
|
+
text-decoration: underline dotted #1a73e8 1.5px;
|
|
17101
|
+
text-decoration-skip-ink: none;
|
|
17102
|
+
}
|
|
17103
|
+
.squisq-proof-dot {
|
|
17104
|
+
display: inline-block;
|
|
17105
|
+
width: 8px;
|
|
17106
|
+
height: 8px;
|
|
17107
|
+
border-radius: 50%;
|
|
17108
|
+
flex: 0 0 auto;
|
|
17109
|
+
}
|
|
17110
|
+
.squisq-proof-dot--spelling {
|
|
17111
|
+
background: #d93025;
|
|
17112
|
+
}
|
|
17113
|
+
.squisq-proof-dot--grammar {
|
|
17114
|
+
background: #188038;
|
|
17115
|
+
}
|
|
17116
|
+
.squisq-proof-dot--style {
|
|
17117
|
+
background: #1a73e8;
|
|
17118
|
+
}
|
|
17119
|
+
.squisq-proof-panel {
|
|
17120
|
+
width: 240px;
|
|
17121
|
+
flex: 0 0 240px;
|
|
17122
|
+
display: flex;
|
|
17123
|
+
flex-direction: column;
|
|
17124
|
+
border-left: 1px solid #e0e0e0;
|
|
17125
|
+
background: #fafafa;
|
|
17126
|
+
min-height: 0;
|
|
17127
|
+
font-size: 12px;
|
|
17128
|
+
}
|
|
17129
|
+
.squisq-proof-panel-header {
|
|
17130
|
+
display: flex;
|
|
17131
|
+
align-items: center;
|
|
17132
|
+
justify-content: space-between;
|
|
17133
|
+
padding: 8px 10px;
|
|
17134
|
+
border-bottom: 1px solid #e0e0e0;
|
|
17135
|
+
}
|
|
17136
|
+
.squisq-proof-panel-title {
|
|
17137
|
+
font-weight: 600;
|
|
17138
|
+
color: #444;
|
|
17139
|
+
display: inline-flex;
|
|
17140
|
+
align-items: center;
|
|
17141
|
+
gap: 6px;
|
|
17142
|
+
}
|
|
17143
|
+
.squisq-proof-panel-count {
|
|
17144
|
+
background: #e8e8e8;
|
|
17145
|
+
color: #555;
|
|
17146
|
+
border-radius: 8px;
|
|
17147
|
+
padding: 0 6px;
|
|
17148
|
+
font-weight: 500;
|
|
17149
|
+
}
|
|
17150
|
+
.squisq-proof-panel-actions {
|
|
17151
|
+
display: inline-flex;
|
|
17152
|
+
gap: 2px;
|
|
17153
|
+
}
|
|
17154
|
+
.squisq-proof-panel-button {
|
|
17155
|
+
border: none;
|
|
17156
|
+
background: transparent;
|
|
17157
|
+
color: #666;
|
|
17158
|
+
cursor: pointer;
|
|
17159
|
+
border-radius: 4px;
|
|
17160
|
+
padding: 2px 6px;
|
|
17161
|
+
font-size: 12px;
|
|
17162
|
+
line-height: 1.4;
|
|
17163
|
+
}
|
|
17164
|
+
.squisq-proof-panel-button:hover:not(:disabled) {
|
|
17165
|
+
background: #ececec;
|
|
17166
|
+
color: #222;
|
|
17167
|
+
}
|
|
17168
|
+
.squisq-proof-panel-button:disabled {
|
|
17169
|
+
opacity: 0.4;
|
|
17170
|
+
cursor: default;
|
|
17171
|
+
}
|
|
17172
|
+
.squisq-proof-panel-empty {
|
|
17173
|
+
padding: 14px 12px;
|
|
17174
|
+
color: #888;
|
|
17175
|
+
display: flex;
|
|
17176
|
+
flex-direction: column;
|
|
17177
|
+
gap: 8px;
|
|
17178
|
+
align-items: flex-start;
|
|
17179
|
+
}
|
|
17180
|
+
.squisq-proof-panel-retry {
|
|
17181
|
+
border: 1px solid #ccc;
|
|
17182
|
+
background: #fff;
|
|
17183
|
+
border-radius: 4px;
|
|
17184
|
+
padding: 2px 10px;
|
|
17185
|
+
cursor: pointer;
|
|
17186
|
+
font-size: 12px;
|
|
17187
|
+
}
|
|
17188
|
+
.squisq-proof-panel-list {
|
|
17189
|
+
list-style: none;
|
|
17190
|
+
margin: 0;
|
|
17191
|
+
padding: 4px 0;
|
|
17192
|
+
overflow-y: auto;
|
|
17193
|
+
flex: 1 1 auto;
|
|
17194
|
+
min-height: 0;
|
|
17195
|
+
}
|
|
17196
|
+
.squisq-proof-panel-row {
|
|
17197
|
+
display: flex;
|
|
17198
|
+
align-items: flex-start;
|
|
17199
|
+
gap: 8px;
|
|
17200
|
+
width: 100%;
|
|
17201
|
+
border: none;
|
|
17202
|
+
background: transparent;
|
|
17203
|
+
text-align: left;
|
|
17204
|
+
padding: 6px 10px;
|
|
17205
|
+
cursor: pointer;
|
|
17206
|
+
font: inherit;
|
|
17207
|
+
}
|
|
17208
|
+
.squisq-proof-panel-row:hover {
|
|
17209
|
+
background: #f0f0f0;
|
|
17210
|
+
}
|
|
17211
|
+
.squisq-proof-panel-row--active {
|
|
17212
|
+
background: #e7f0fe;
|
|
17213
|
+
}
|
|
17214
|
+
.squisq-proof-panel-row .squisq-proof-dot {
|
|
17215
|
+
margin-top: 4px;
|
|
17216
|
+
}
|
|
17217
|
+
.squisq-proof-panel-row-body {
|
|
17218
|
+
display: flex;
|
|
17219
|
+
flex-direction: column;
|
|
17220
|
+
gap: 1px;
|
|
17221
|
+
min-width: 0;
|
|
17222
|
+
}
|
|
17223
|
+
.squisq-proof-panel-excerpt {
|
|
17224
|
+
font-weight: 600;
|
|
17225
|
+
color: #333;
|
|
17226
|
+
overflow: hidden;
|
|
17227
|
+
text-overflow: ellipsis;
|
|
17228
|
+
white-space: nowrap;
|
|
17229
|
+
}
|
|
17230
|
+
.squisq-proof-panel-message {
|
|
17231
|
+
color: #777;
|
|
17232
|
+
}
|
|
17233
|
+
.squisq-proof-menu {
|
|
17234
|
+
min-width: 200px;
|
|
17235
|
+
max-width: 320px;
|
|
17236
|
+
background: #fff;
|
|
17237
|
+
border: 1px solid #d5d5d5;
|
|
17238
|
+
border-radius: 8px;
|
|
17239
|
+
box-shadow: 0 6px 24px rgba(0, 0, 0, 0.14);
|
|
17240
|
+
padding: 4px;
|
|
17241
|
+
font-size: 13px;
|
|
17242
|
+
}
|
|
17243
|
+
.squisq-proof-menu-header {
|
|
17244
|
+
display: flex;
|
|
17245
|
+
align-items: flex-start;
|
|
17246
|
+
gap: 7px;
|
|
17247
|
+
padding: 6px 8px;
|
|
17248
|
+
color: #666;
|
|
17249
|
+
font-size: 12px;
|
|
17250
|
+
border-bottom: 1px solid #eee;
|
|
17251
|
+
margin-bottom: 4px;
|
|
17252
|
+
}
|
|
17253
|
+
.squisq-proof-menu-header .squisq-proof-dot {
|
|
17254
|
+
margin-top: 3px;
|
|
17255
|
+
}
|
|
17256
|
+
.squisq-proof-menu-item {
|
|
17257
|
+
display: block;
|
|
17258
|
+
width: 100%;
|
|
17259
|
+
border: none;
|
|
17260
|
+
background: transparent;
|
|
17261
|
+
text-align: left;
|
|
17262
|
+
padding: 6px 10px;
|
|
17263
|
+
border-radius: 5px;
|
|
17264
|
+
cursor: pointer;
|
|
17265
|
+
color: #333;
|
|
17266
|
+
font: inherit;
|
|
17267
|
+
}
|
|
17268
|
+
.squisq-proof-menu-item:hover,
|
|
17269
|
+
.squisq-proof-menu-item:focus-visible {
|
|
17270
|
+
background: #f0f4ff;
|
|
17271
|
+
outline: none;
|
|
17272
|
+
}
|
|
17273
|
+
.squisq-proof-menu-suggestion {
|
|
17274
|
+
font-weight: 600;
|
|
17275
|
+
}
|
|
17276
|
+
.squisq-proof-menu-empty {
|
|
17277
|
+
padding: 6px 10px;
|
|
17278
|
+
color: #999;
|
|
17279
|
+
font-style: italic;
|
|
17280
|
+
}
|
|
17281
|
+
.squisq-proof-tooltip {
|
|
17282
|
+
max-width: 320px;
|
|
17283
|
+
background: #fff;
|
|
17284
|
+
border: 1px solid #d5d5d5;
|
|
17285
|
+
border-radius: 8px;
|
|
17286
|
+
box-shadow: 0 6px 24px rgba(0, 0, 0, 0.14);
|
|
17287
|
+
padding: 8px 10px;
|
|
17288
|
+
font-size: 12px;
|
|
17289
|
+
line-height: 1.4;
|
|
17290
|
+
color: #333;
|
|
17291
|
+
}
|
|
17292
|
+
.squisq-proof-tooltip-head {
|
|
17293
|
+
display: flex;
|
|
17294
|
+
align-items: center;
|
|
17295
|
+
gap: 6px;
|
|
17296
|
+
margin-bottom: 3px;
|
|
17297
|
+
}
|
|
17298
|
+
.squisq-proof-tooltip-category {
|
|
17299
|
+
font-weight: 600;
|
|
17300
|
+
font-size: 11px;
|
|
17301
|
+
letter-spacing: 0.03em;
|
|
17302
|
+
text-transform: uppercase;
|
|
17303
|
+
color: #666;
|
|
17304
|
+
}
|
|
17305
|
+
.squisq-proof-tooltip-message {
|
|
17306
|
+
color: #222;
|
|
17307
|
+
}
|
|
17308
|
+
.squisq-proof-tooltip-suggestions {
|
|
17309
|
+
display: flex;
|
|
17310
|
+
flex-wrap: wrap;
|
|
17311
|
+
align-items: center;
|
|
17312
|
+
gap: 4px;
|
|
17313
|
+
margin-top: 6px;
|
|
17314
|
+
}
|
|
17315
|
+
.squisq-proof-tooltip-chip {
|
|
17316
|
+
border: 1px solid transparent;
|
|
17317
|
+
padding: 2px 8px;
|
|
17318
|
+
border-radius: 4px;
|
|
17319
|
+
background: #f0f4ff;
|
|
17320
|
+
color: #1a3d8f;
|
|
17321
|
+
font: inherit;
|
|
17322
|
+
font-weight: 600;
|
|
17323
|
+
cursor: pointer;
|
|
17324
|
+
}
|
|
17325
|
+
.squisq-proof-tooltip-chip:hover,
|
|
17326
|
+
.squisq-proof-tooltip-chip:focus-visible {
|
|
17327
|
+
background: #dfe8ff;
|
|
17328
|
+
border-color: #b7c8f5;
|
|
17329
|
+
outline: none;
|
|
17330
|
+
}
|
|
17331
|
+
.squisq-proof-tooltip-more {
|
|
17332
|
+
border: none;
|
|
17333
|
+
background: transparent;
|
|
17334
|
+
padding: 2px 4px;
|
|
17335
|
+
border-radius: 4px;
|
|
17336
|
+
color: #777;
|
|
17337
|
+
font: inherit;
|
|
17338
|
+
font-size: 11px;
|
|
17339
|
+
cursor: pointer;
|
|
17340
|
+
}
|
|
17341
|
+
.squisq-proof-tooltip-more:hover,
|
|
17342
|
+
.squisq-proof-tooltip-more:focus-visible {
|
|
17343
|
+
color: #333;
|
|
17344
|
+
background: #f0f0f0;
|
|
17345
|
+
outline: none;
|
|
17346
|
+
}
|
|
17347
|
+
.squisq-proof-tooltip-actions {
|
|
17348
|
+
display: flex;
|
|
17349
|
+
flex-wrap: wrap;
|
|
17350
|
+
gap: 2px;
|
|
17351
|
+
margin-top: 6px;
|
|
17352
|
+
padding-top: 5px;
|
|
17353
|
+
border-top: 1px solid #eee;
|
|
17354
|
+
}
|
|
17355
|
+
.squisq-proof-tooltip-action {
|
|
17356
|
+
border: none;
|
|
17357
|
+
background: transparent;
|
|
17358
|
+
padding: 3px 6px;
|
|
17359
|
+
border-radius: 4px;
|
|
17360
|
+
color: #666;
|
|
17361
|
+
font: inherit;
|
|
17362
|
+
font-size: 11px;
|
|
17363
|
+
cursor: pointer;
|
|
17364
|
+
}
|
|
17365
|
+
.squisq-proof-tooltip-action:hover,
|
|
17366
|
+
.squisq-proof-tooltip-action:focus-visible {
|
|
17367
|
+
background: #f0f0f0;
|
|
17368
|
+
color: #222;
|
|
17369
|
+
outline: none;
|
|
17370
|
+
}
|
|
17371
|
+
.squisq-proof-status {
|
|
17372
|
+
cursor: pointer;
|
|
17373
|
+
user-select: none;
|
|
17374
|
+
border: none;
|
|
17375
|
+
background: transparent;
|
|
17376
|
+
color: inherit;
|
|
17377
|
+
font: inherit;
|
|
17378
|
+
padding: 0;
|
|
17379
|
+
}
|
|
17380
|
+
.squisq-proof-status--error {
|
|
17381
|
+
color: #d93025;
|
|
17382
|
+
}
|
|
17383
|
+
.squisq-editor-shell[data-theme=dark] .squisq-proof-underline--spelling {
|
|
17384
|
+
text-decoration-color: #f28b82;
|
|
17385
|
+
}
|
|
17386
|
+
.squisq-editor-shell[data-theme=dark] .squisq-proof-underline--grammar {
|
|
17387
|
+
text-decoration-color: #81c995;
|
|
17388
|
+
}
|
|
17389
|
+
.squisq-editor-shell[data-theme=dark] .squisq-proof-underline--style {
|
|
17390
|
+
text-decoration-color: #8ab4f8;
|
|
17391
|
+
}
|
|
17392
|
+
.squisq-editor-shell[data-theme=dark] .squisq-proof-panel {
|
|
17393
|
+
background: #1f1f1f;
|
|
17394
|
+
border-left-color: #383838;
|
|
17395
|
+
}
|
|
17396
|
+
.squisq-editor-shell[data-theme=dark] .squisq-proof-panel-header {
|
|
17397
|
+
border-bottom-color: #383838;
|
|
17398
|
+
}
|
|
17399
|
+
.squisq-editor-shell[data-theme=dark] .squisq-proof-panel-title {
|
|
17400
|
+
color: #ccc;
|
|
17401
|
+
}
|
|
17402
|
+
.squisq-editor-shell[data-theme=dark] .squisq-proof-panel-count {
|
|
17403
|
+
background: #333;
|
|
17404
|
+
color: #bbb;
|
|
17405
|
+
}
|
|
17406
|
+
.squisq-editor-shell[data-theme=dark] .squisq-proof-panel-button {
|
|
17407
|
+
color: #999;
|
|
17408
|
+
}
|
|
17409
|
+
.squisq-editor-shell[data-theme=dark] .squisq-proof-panel-button:hover:not(:disabled) {
|
|
17410
|
+
background: #2e2e2e;
|
|
17411
|
+
color: #ddd;
|
|
17412
|
+
}
|
|
17413
|
+
.squisq-editor-shell[data-theme=dark] .squisq-proof-panel-empty {
|
|
17414
|
+
color: #888;
|
|
17415
|
+
}
|
|
17416
|
+
.squisq-editor-shell[data-theme=dark] .squisq-proof-panel-retry {
|
|
17417
|
+
background: #2a2a2a;
|
|
17418
|
+
border-color: #444;
|
|
17419
|
+
color: #ccc;
|
|
17420
|
+
}
|
|
17421
|
+
.squisq-editor-shell[data-theme=dark] .squisq-proof-panel-row:hover {
|
|
17422
|
+
background: #2a2a2a;
|
|
17423
|
+
}
|
|
17424
|
+
.squisq-editor-shell[data-theme=dark] .squisq-proof-panel-row--active {
|
|
17425
|
+
background: #1c3a5e;
|
|
17426
|
+
}
|
|
17427
|
+
.squisq-editor-shell[data-theme=dark] .squisq-proof-panel-excerpt {
|
|
17428
|
+
color: #ddd;
|
|
17429
|
+
}
|
|
17430
|
+
.squisq-editor-shell[data-theme=dark] .squisq-proof-panel-message {
|
|
17431
|
+
color: #999;
|
|
17432
|
+
}
|
|
17433
|
+
.squisq-proof-menu[data-theme=dark] {
|
|
17434
|
+
background: #262626;
|
|
17435
|
+
border-color: #454545;
|
|
17436
|
+
box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
|
|
17437
|
+
}
|
|
17438
|
+
.squisq-proof-menu[data-theme=dark] .squisq-proof-menu-header {
|
|
17439
|
+
color: #aaa;
|
|
17440
|
+
border-bottom-color: #3a3a3a;
|
|
17441
|
+
}
|
|
17442
|
+
.squisq-proof-menu[data-theme=dark] .squisq-proof-menu-item {
|
|
17443
|
+
color: #ddd;
|
|
17444
|
+
}
|
|
17445
|
+
.squisq-proof-menu[data-theme=dark] .squisq-proof-menu-item:hover,
|
|
17446
|
+
.squisq-proof-menu[data-theme=dark] .squisq-proof-menu-item:focus-visible {
|
|
17447
|
+
background: #333f52;
|
|
17448
|
+
}
|
|
17449
|
+
.squisq-proof-menu[data-theme=dark] .squisq-proof-menu-empty {
|
|
17450
|
+
color: #777;
|
|
17451
|
+
}
|
|
17452
|
+
.squisq-proof-tooltip[data-theme=dark] {
|
|
17453
|
+
background: #262626;
|
|
17454
|
+
border-color: #454545;
|
|
17455
|
+
box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
|
|
17456
|
+
color: #ddd;
|
|
17457
|
+
}
|
|
17458
|
+
.squisq-proof-tooltip[data-theme=dark] .squisq-proof-tooltip-category {
|
|
17459
|
+
color: #aaa;
|
|
17460
|
+
}
|
|
17461
|
+
.squisq-proof-tooltip[data-theme=dark] .squisq-proof-tooltip-message {
|
|
17462
|
+
color: #eee;
|
|
17463
|
+
}
|
|
17464
|
+
.squisq-proof-tooltip[data-theme=dark] .squisq-proof-tooltip-chip {
|
|
17465
|
+
background: #333f52;
|
|
17466
|
+
color: #cddcff;
|
|
17467
|
+
}
|
|
17468
|
+
.squisq-proof-tooltip[data-theme=dark] .squisq-proof-tooltip-chip:hover,
|
|
17469
|
+
.squisq-proof-tooltip[data-theme=dark] .squisq-proof-tooltip-chip:focus-visible {
|
|
17470
|
+
background: #3f4e68;
|
|
17471
|
+
border-color: #56688a;
|
|
17472
|
+
}
|
|
17473
|
+
.squisq-proof-tooltip[data-theme=dark] .squisq-proof-tooltip-more,
|
|
17474
|
+
.squisq-proof-tooltip[data-theme=dark] .squisq-proof-tooltip-action {
|
|
17475
|
+
color: #999;
|
|
17476
|
+
}
|
|
17477
|
+
.squisq-proof-tooltip[data-theme=dark] .squisq-proof-tooltip-more:hover,
|
|
17478
|
+
.squisq-proof-tooltip[data-theme=dark] .squisq-proof-tooltip-more:focus-visible,
|
|
17479
|
+
.squisq-proof-tooltip[data-theme=dark] .squisq-proof-tooltip-action:hover,
|
|
17480
|
+
.squisq-proof-tooltip[data-theme=dark] .squisq-proof-tooltip-action:focus-visible {
|
|
17481
|
+
background: #333;
|
|
17482
|
+
color: #eee;
|
|
17483
|
+
}
|
|
17484
|
+
.squisq-proof-tooltip[data-theme=dark] .squisq-proof-tooltip-actions {
|
|
17485
|
+
border-top-color: #3a3a3a;
|
|
17486
|
+
}
|
|
17487
|
+
|
|
17025
17488
|
/* src/scene/scene.css */
|
|
17026
17489
|
.squisq-scene-root {
|
|
17027
17490
|
position: relative;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { Doc, Theme, MediaProvider } from '@bendyline/squisq/schemas';
|
|
3
3
|
import { ContentContainer } from '@bendyline/squisq/storage';
|
|
4
|
-
import { o as TeleprompterRecordingDeps, g as NarrationStageHandle, T as TeleprompterController, c as FloatingWindowHandle } from '../useNarrationStage-
|
|
5
|
-
export { C as CanvasSink, D as DEFAULT_TELEPROMPTER_PREFS, F as FloatOpenOptions, b as FloatTier, d as FloatingWindowManager, M as MicAnalysisHandle, e as MicAnalysisStatus, N as NarrationRecorderController, f as NarrationRecorderState, h as NarrationTake, P as PrompterTransport, J as TELEPROMPTER_PREF_LIMITS, n as TeleprompterPrefs, q as UseNarrationStageOptions, s as createFloatingWindowManager, t as detectFloatTiers, K as normalizeTeleprompterPrefs, z as useFloatingWindow, B as useMicAnalysis, E as useNarrationRecorder, G as useNarrationStage, H as useTeleprompter, I as vadConfigForSensitivity } from '../useNarrationStage-
|
|
4
|
+
import { o as TeleprompterRecordingDeps, g as NarrationStageHandle, T as TeleprompterController, c as FloatingWindowHandle } from '../useNarrationStage-B6r9Zlq-.js';
|
|
5
|
+
export { C as CanvasSink, D as DEFAULT_TELEPROMPTER_PREFS, F as FloatOpenOptions, b as FloatTier, d as FloatingWindowManager, M as MicAnalysisHandle, e as MicAnalysisStatus, N as NarrationRecorderController, f as NarrationRecorderState, h as NarrationTake, P as PrompterTransport, J as TELEPROMPTER_PREF_LIMITS, n as TeleprompterPrefs, q as UseNarrationStageOptions, s as createFloatingWindowManager, t as detectFloatTiers, K as normalizeTeleprompterPrefs, z as useFloatingWindow, B as useMicAnalysis, E as useNarrationRecorder, G as useNarrationStage, H as useTeleprompter, I as vadConfigForSensitivity } from '../useNarrationStage-B6r9Zlq-.js';
|
|
6
6
|
import { NarrationTimingJsonV3, NarrationScript, NarrationAlignment } from '@bendyline/squisq/narration';
|
|
7
7
|
import { ReactNode } from 'react';
|
|
8
8
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TeleprompterView
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-ZZTB6BEQ.js";
|
|
4
4
|
import {
|
|
5
5
|
DEFAULT_TELEPROMPTER_PREFS,
|
|
6
6
|
EYE_LINE_FRACTION,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
useNarrationStage,
|
|
32
32
|
useTeleprompter,
|
|
33
33
|
vadConfigForSensitivity
|
|
34
|
-
} from "../chunk-
|
|
34
|
+
} from "../chunk-IRPOMTYK.js";
|
|
35
35
|
export {
|
|
36
36
|
DEFAULT_TELEPROMPTER_PREFS,
|
|
37
37
|
EYE_LINE_FRACTION,
|