@bendyline/squisq-editor-react 2.4.0 → 2.4.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/dist/{chunk-5JMHFAVW.js → chunk-PDCKJCOS.js} +1200 -868
- package/dist/{chunk-VNUGP7NG.js → chunk-PEI5EBEN.js} +3 -1
- package/dist/chunk-PKGBWNUQ.js +1925 -0
- package/dist/chunk-V6Z7GG55.js +16 -0
- package/dist/{chunk-IIWECJ26.js → chunk-WDX6UDL5.js} +1 -1
- package/dist/{chunk-MM3M2KUV.js → chunk-WLJ623UZ.js} +12 -0
- package/dist/{chunk-UPEGQYF4.js → chunk-XOMQK4JA.js} +8191 -7148
- package/dist/index.d.ts +128 -76
- package/dist/index.js +30 -20
- package/dist/json-editor/index.js +2 -2
- package/dist/recorder/index.d.ts +7 -407
- package/dist/recorder/index.js +3 -3
- package/dist/recorder-C0Tkyu5W.d.ts +508 -0
- package/dist/shell/index.d.ts +1 -1
- package/dist/shell/index.js +5 -5
- package/dist/{shell-9Kxzxjbn.d.ts → shell-CU4GpGuq.d.ts} +25 -1
- package/dist/styles/index.css +377 -19
- package/dist/teleprompter/index.d.ts +57 -246
- package/dist/teleprompter/index.js +12 -3
- package/dist/useNarrationStage-Bqo18PBw.d.ts +313 -0
- package/package.json +5 -5
- package/dist/chunk-5Q4JN4I5.js +0 -132
- package/dist/chunk-F4NBECWR.js +0 -983
package/dist/styles/index.css
CHANGED
|
@@ -8766,7 +8766,7 @@
|
|
|
8766
8766
|
border-color: color-mix(in oklch, currentColor 42%, transparent);
|
|
8767
8767
|
outline: none;
|
|
8768
8768
|
}
|
|
8769
|
-
:is(.squisq-block-props-popover, .squisq-transition-picker, .squisq-transition-flyout) {
|
|
8769
|
+
:is(.squisq-block-props-popover, .squisq-transition-picker, .squisq-transition-flyout, .squisq-timeline-item-menu) {
|
|
8770
8770
|
--squisq-block-props-surface: #ffffff;
|
|
8771
8771
|
--squisq-block-props-surface-hover: #f3f4f6;
|
|
8772
8772
|
--squisq-block-props-input: #ffffff;
|
|
@@ -8776,7 +8776,7 @@
|
|
|
8776
8776
|
--squisq-block-props-border: #d1d5db;
|
|
8777
8777
|
--squisq-block-props-divider: #e5e7eb;
|
|
8778
8778
|
}
|
|
8779
|
-
:is(.squisq-block-props-popover, .squisq-transition-picker, .squisq-transition-flyout)[data-theme=dark] {
|
|
8779
|
+
:is(.squisq-block-props-popover, .squisq-transition-picker, .squisq-transition-flyout, .squisq-timeline-item-menu)[data-theme=dark] {
|
|
8780
8780
|
--squisq-block-props-surface: #1f2937;
|
|
8781
8781
|
--squisq-block-props-surface-hover: #374151;
|
|
8782
8782
|
--squisq-block-props-input: #111827;
|
|
@@ -8886,7 +8886,7 @@
|
|
|
8886
8886
|
color: var(--squisq-theme-text, #1f2937);
|
|
8887
8887
|
background: var(--squisq-theme-bg, #fff);
|
|
8888
8888
|
box-shadow: 0 2px 14px rgba(0, 0, 0, 0.12);
|
|
8889
|
-
font-family: var(--squisq-theme-body-font, inherit);
|
|
8889
|
+
font-family: var(--squisq-theme-body-font, var(--squisq-write-body-font, inherit));
|
|
8890
8890
|
font-size: var(--squisq-write-text-size, inherit);
|
|
8891
8891
|
caret-color: var(--squisq-theme-text, #1f2937);
|
|
8892
8892
|
cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='22' viewBox='0 0 16 22'><g fill='none' stroke-linecap='round'><path d='M5 3 L11 3 M5 19 L11 19 M8 3 L8 19' stroke='white' stroke-width='3.2'/><path d='M5 3 L11 3 M5 19 L11 19 M8 3 L8 19' stroke='%231f2937' stroke-width='1.4'/></g></svg>") 8 11, text;
|
|
@@ -8990,7 +8990,7 @@
|
|
|
8990
8990
|
.squisq-wysiwyg-editor h4,
|
|
8991
8991
|
.squisq-wysiwyg-editor h5,
|
|
8992
8992
|
.squisq-wysiwyg-editor h6 {
|
|
8993
|
-
font-family: var(--squisq-theme-title-font, var(--squisq-theme-body-font, inherit));
|
|
8993
|
+
font-family: var( --squisq-theme-title-font, var( --squisq-write-header-font, var(--squisq-theme-body-font, var(--squisq-write-body-font, inherit)) ) );
|
|
8994
8994
|
}
|
|
8995
8995
|
.squisq-wysiwyg-editor h1 {
|
|
8996
8996
|
font-size: 2em;
|
|
@@ -9079,6 +9079,9 @@
|
|
|
9079
9079
|
.squisq-wysiwyg-editor li {
|
|
9080
9080
|
margin: 0.25em 0;
|
|
9081
9081
|
}
|
|
9082
|
+
.squisq-wysiwyg-editor li > p {
|
|
9083
|
+
margin: 0;
|
|
9084
|
+
}
|
|
9082
9085
|
.squisq-wysiwyg-editor ul[data-type=taskList] {
|
|
9083
9086
|
list-style: none;
|
|
9084
9087
|
padding-left: 0;
|
|
@@ -9229,10 +9232,13 @@
|
|
|
9229
9232
|
background: #f3f4f6;
|
|
9230
9233
|
color: #111827;
|
|
9231
9234
|
}
|
|
9232
|
-
.squisq-preview-seg-btn--active
|
|
9235
|
+
.squisq-preview-seg-btn--active {
|
|
9236
|
+
background: var(--squisq-accent, #2563eb);
|
|
9237
|
+
color: var(--squisq-text-on-accent, #fff);
|
|
9238
|
+
}
|
|
9233
9239
|
.squisq-preview-seg-btn--active:hover {
|
|
9234
|
-
background: #2563eb;
|
|
9235
|
-
color: #fff;
|
|
9240
|
+
background: var(--squisq-accent-hover, var(--squisq-accent, #2563eb));
|
|
9241
|
+
color: var(--squisq-text-on-accent, #fff);
|
|
9236
9242
|
}
|
|
9237
9243
|
.squisq-preview-controls {
|
|
9238
9244
|
display: flex;
|
|
@@ -9752,6 +9758,8 @@
|
|
|
9752
9758
|
--squisq-input-bg: #fff;
|
|
9753
9759
|
--squisq-text: #1f2937;
|
|
9754
9760
|
--squisq-text-muted: #6b7280;
|
|
9761
|
+
--squisq-editor-background: #ffffff;
|
|
9762
|
+
--squisq-editor-foreground: #1f2937;
|
|
9755
9763
|
}
|
|
9756
9764
|
.squisq-editor-shell[data-theme=dark] {
|
|
9757
9765
|
--squisq-bg: #1f2937;
|
|
@@ -9759,6 +9767,8 @@
|
|
|
9759
9767
|
--squisq-input-bg: #374151;
|
|
9760
9768
|
--squisq-text: #e5e7eb;
|
|
9761
9769
|
--squisq-text-muted: #9ca3af;
|
|
9770
|
+
--squisq-editor-background: #1e1e1e;
|
|
9771
|
+
--squisq-editor-foreground: #d4d4d4;
|
|
9762
9772
|
}
|
|
9763
9773
|
.squisq-editor-shell[data-theme=dark] {
|
|
9764
9774
|
color: #e5e7eb;
|
|
@@ -9868,10 +9878,13 @@
|
|
|
9868
9878
|
background: #374151;
|
|
9869
9879
|
color: #f9fafb;
|
|
9870
9880
|
}
|
|
9871
|
-
.squisq-editor-shell[data-theme=dark] .squisq-preview-seg-btn--active
|
|
9881
|
+
.squisq-editor-shell[data-theme=dark] .squisq-preview-seg-btn--active {
|
|
9882
|
+
background: var(--squisq-accent, #2563eb);
|
|
9883
|
+
color: var(--squisq-text-on-accent, #fff);
|
|
9884
|
+
}
|
|
9872
9885
|
.squisq-editor-shell[data-theme=dark] .squisq-preview-seg-btn--active:hover {
|
|
9873
|
-
background: #2563eb;
|
|
9874
|
-
color: #fff;
|
|
9886
|
+
background: var(--squisq-accent-hover, var(--squisq-accent, #2563eb));
|
|
9887
|
+
color: var(--squisq-text-on-accent, #fff);
|
|
9875
9888
|
}
|
|
9876
9889
|
.squisq-editor-shell[data-theme=dark] .squisq-toolbar-overflow-menu {
|
|
9877
9890
|
background: #1f2937;
|
|
@@ -10375,6 +10388,36 @@
|
|
|
10375
10388
|
min-width: 0;
|
|
10376
10389
|
flex: 1;
|
|
10377
10390
|
}
|
|
10391
|
+
.squisq-media-bin-download {
|
|
10392
|
+
width: 24px;
|
|
10393
|
+
height: 24px;
|
|
10394
|
+
display: inline-flex;
|
|
10395
|
+
align-items: center;
|
|
10396
|
+
justify-content: center;
|
|
10397
|
+
flex: 0 0 auto;
|
|
10398
|
+
padding: 0;
|
|
10399
|
+
border: 1px solid transparent;
|
|
10400
|
+
border-radius: 4px;
|
|
10401
|
+
background: transparent;
|
|
10402
|
+
color: #4b5563;
|
|
10403
|
+
cursor: pointer;
|
|
10404
|
+
font: inherit;
|
|
10405
|
+
font-size: 16px;
|
|
10406
|
+
line-height: 1;
|
|
10407
|
+
}
|
|
10408
|
+
.squisq-media-bin-download:hover {
|
|
10409
|
+
border-color: #d1d5db;
|
|
10410
|
+
background: #e5e7eb;
|
|
10411
|
+
}
|
|
10412
|
+
.squisq-media-bin-download:focus-visible {
|
|
10413
|
+
border-color: #93c5fd;
|
|
10414
|
+
outline: 2px solid #93c5fd;
|
|
10415
|
+
outline-offset: 1px;
|
|
10416
|
+
}
|
|
10417
|
+
.squisq-media-bin-download:disabled {
|
|
10418
|
+
cursor: default;
|
|
10419
|
+
opacity: 0.5;
|
|
10420
|
+
}
|
|
10378
10421
|
.squisq-media-bin-name {
|
|
10379
10422
|
overflow: hidden;
|
|
10380
10423
|
text-overflow: ellipsis;
|
|
@@ -10501,6 +10544,15 @@
|
|
|
10501
10544
|
.squisq-editor-shell[data-theme=dark] .squisq-media-bin .squisq-media-bin-size {
|
|
10502
10545
|
color: #6b7280;
|
|
10503
10546
|
}
|
|
10547
|
+
.squisq-media-bin--dark .squisq-media-bin-download,
|
|
10548
|
+
.squisq-editor-shell[data-theme=dark] .squisq-media-bin .squisq-media-bin-download {
|
|
10549
|
+
color: #d1d5db;
|
|
10550
|
+
}
|
|
10551
|
+
.squisq-media-bin--dark .squisq-media-bin-download:hover,
|
|
10552
|
+
.squisq-editor-shell[data-theme=dark] .squisq-media-bin .squisq-media-bin-download:hover {
|
|
10553
|
+
border-color: #4b5563;
|
|
10554
|
+
background: #374151;
|
|
10555
|
+
}
|
|
10504
10556
|
.squisq-media-bin--dark .squisq-media-bin-unused-badge,
|
|
10505
10557
|
.squisq-editor-shell[data-theme=dark] .squisq-media-bin .squisq-media-bin-unused-badge {
|
|
10506
10558
|
background: #78350f;
|
|
@@ -11511,6 +11563,10 @@
|
|
|
11511
11563
|
min-width: 0;
|
|
11512
11564
|
min-height: 0;
|
|
11513
11565
|
}
|
|
11566
|
+
.squisq-raw-editor-container {
|
|
11567
|
+
background: var(--squisq-editor-background, #ffffff);
|
|
11568
|
+
color: var(--squisq-editor-foreground, #1f2937);
|
|
11569
|
+
}
|
|
11514
11570
|
.squisq-raw-editor-container .monaco-editor .margin {
|
|
11515
11571
|
position: relative;
|
|
11516
11572
|
}
|
|
@@ -11823,6 +11879,9 @@
|
|
|
11823
11879
|
.squisq-timeline-video-title {
|
|
11824
11880
|
font-weight: 600;
|
|
11825
11881
|
}
|
|
11882
|
+
.squisq-timeline-composition-panel .squisq-preview-controls {
|
|
11883
|
+
padding-left: 0;
|
|
11884
|
+
}
|
|
11826
11885
|
.squisq-timeline-video-label {
|
|
11827
11886
|
min-width: 0;
|
|
11828
11887
|
overflow: hidden;
|
|
@@ -11954,8 +12013,9 @@
|
|
|
11954
12013
|
}
|
|
11955
12014
|
.squisq-timeline-scroll {
|
|
11956
12015
|
flex: 1;
|
|
11957
|
-
overflow
|
|
11958
|
-
|
|
12016
|
+
overflow: auto;
|
|
12017
|
+
scrollbar-gutter: stable;
|
|
12018
|
+
overscroll-behavior: contain;
|
|
11959
12019
|
padding: 8px 0 0;
|
|
11960
12020
|
min-width: 0;
|
|
11961
12021
|
min-height: 0;
|
|
@@ -12009,7 +12069,14 @@
|
|
|
12009
12069
|
}
|
|
12010
12070
|
.squisq-timeline-row--media {
|
|
12011
12071
|
height: 26px;
|
|
12012
|
-
margin
|
|
12072
|
+
margin: 0;
|
|
12073
|
+
flex: 0 0 26px;
|
|
12074
|
+
}
|
|
12075
|
+
.squisq-timeline-media-tracks {
|
|
12076
|
+
display: flex;
|
|
12077
|
+
flex: 0 0 auto;
|
|
12078
|
+
flex-direction: column;
|
|
12079
|
+
gap: 4px;
|
|
12013
12080
|
}
|
|
12014
12081
|
.squisq-timeline-block {
|
|
12015
12082
|
position: absolute;
|
|
@@ -12059,6 +12126,55 @@
|
|
|
12059
12126
|
border-radius: 3px;
|
|
12060
12127
|
padding: 0 4px;
|
|
12061
12128
|
}
|
|
12129
|
+
.squisq-timeline-item-menu-trigger {
|
|
12130
|
+
position: absolute;
|
|
12131
|
+
top: 50%;
|
|
12132
|
+
right: 8px;
|
|
12133
|
+
z-index: 4;
|
|
12134
|
+
display: inline-flex;
|
|
12135
|
+
align-items: center;
|
|
12136
|
+
justify-content: center;
|
|
12137
|
+
width: 22px;
|
|
12138
|
+
height: 22px;
|
|
12139
|
+
padding: 0;
|
|
12140
|
+
translate: 0 -50%;
|
|
12141
|
+
border: 1px solid rgba(107, 114, 128, 0.45);
|
|
12142
|
+
border-radius: 5px;
|
|
12143
|
+
background: rgba(255, 255, 255, 0.92);
|
|
12144
|
+
color: #374151;
|
|
12145
|
+
font: 700 15px/1 var(--squisq-ux-font, system-ui, sans-serif);
|
|
12146
|
+
cursor: pointer;
|
|
12147
|
+
opacity: 0;
|
|
12148
|
+
pointer-events: none;
|
|
12149
|
+
}
|
|
12150
|
+
.squisq-timeline-block:hover .squisq-timeline-item-menu-trigger,
|
|
12151
|
+
.squisq-timeline-block--active .squisq-timeline-item-menu-trigger,
|
|
12152
|
+
.squisq-timeline-clip:hover .squisq-timeline-item-menu-trigger,
|
|
12153
|
+
.squisq-timeline-item-menu-trigger:focus-visible,
|
|
12154
|
+
.squisq-timeline-item-menu-trigger[aria-expanded=true] {
|
|
12155
|
+
opacity: 1;
|
|
12156
|
+
pointer-events: auto;
|
|
12157
|
+
}
|
|
12158
|
+
.squisq-timeline-item-menu-trigger:hover,
|
|
12159
|
+
.squisq-timeline-item-menu-trigger:focus-visible {
|
|
12160
|
+
border-color: var(--squisq-outline-accent, #6c5ce7);
|
|
12161
|
+
outline: none;
|
|
12162
|
+
}
|
|
12163
|
+
.squisq-timeline-item-menu-trigger--clip {
|
|
12164
|
+
right: 6px;
|
|
12165
|
+
width: 18px;
|
|
12166
|
+
height: 18px;
|
|
12167
|
+
border-color: rgba(255, 255, 255, 0.55);
|
|
12168
|
+
background: rgba(15, 23, 42, 0.62);
|
|
12169
|
+
color: #ffffff;
|
|
12170
|
+
font-size: 13px;
|
|
12171
|
+
}
|
|
12172
|
+
@media (hover: none) {
|
|
12173
|
+
.squisq-timeline-item-menu-trigger {
|
|
12174
|
+
opacity: 1;
|
|
12175
|
+
pointer-events: auto;
|
|
12176
|
+
}
|
|
12177
|
+
}
|
|
12062
12178
|
.squisq-timeline-clip {
|
|
12063
12179
|
position: absolute;
|
|
12064
12180
|
top: 0;
|
|
@@ -12079,6 +12195,35 @@
|
|
|
12079
12195
|
.squisq-timeline-clip--video {
|
|
12080
12196
|
background: #2b6cb0;
|
|
12081
12197
|
}
|
|
12198
|
+
.squisq-timeline-video-filmstrip {
|
|
12199
|
+
position: absolute;
|
|
12200
|
+
inset: 0;
|
|
12201
|
+
z-index: 0;
|
|
12202
|
+
display: flex;
|
|
12203
|
+
pointer-events: none;
|
|
12204
|
+
background: #1e3a5f;
|
|
12205
|
+
}
|
|
12206
|
+
.squisq-timeline-video-filmstrip video {
|
|
12207
|
+
display: block;
|
|
12208
|
+
min-width: 0;
|
|
12209
|
+
flex: 1 1 0;
|
|
12210
|
+
height: 100%;
|
|
12211
|
+
border-right: 1px solid rgba(255, 255, 255, 0.18);
|
|
12212
|
+
object-fit: cover;
|
|
12213
|
+
opacity: 0.78;
|
|
12214
|
+
}
|
|
12215
|
+
.squisq-timeline-video-filmstrip video:last-child {
|
|
12216
|
+
border-right: 0;
|
|
12217
|
+
}
|
|
12218
|
+
.squisq-timeline-clip--video .squisq-timeline-clip-label {
|
|
12219
|
+
position: relative;
|
|
12220
|
+
z-index: 2;
|
|
12221
|
+
max-width: calc(100% - 4px);
|
|
12222
|
+
padding: 1px 4px;
|
|
12223
|
+
border-radius: 3px;
|
|
12224
|
+
background: rgba(15, 23, 42, 0.72);
|
|
12225
|
+
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.7);
|
|
12226
|
+
}
|
|
12082
12227
|
.squisq-timeline-clip--embedded {
|
|
12083
12228
|
opacity: 0.8;
|
|
12084
12229
|
border: 1px dashed rgba(255, 255, 255, 0.7);
|
|
@@ -12106,6 +12251,7 @@
|
|
|
12106
12251
|
.squisq-timeline-edge {
|
|
12107
12252
|
position: absolute;
|
|
12108
12253
|
top: 0;
|
|
12254
|
+
z-index: 3;
|
|
12109
12255
|
width: 7px;
|
|
12110
12256
|
height: 100%;
|
|
12111
12257
|
cursor: ew-resize;
|
|
@@ -12148,6 +12294,11 @@
|
|
|
12148
12294
|
.squisq-editor-shell[data-theme=dark] .squisq-timeline-block-label {
|
|
12149
12295
|
background: rgba(17, 24, 39, 0.82);
|
|
12150
12296
|
}
|
|
12297
|
+
.squisq-editor-shell[data-theme=dark] .squisq-timeline-block .squisq-timeline-item-menu-trigger {
|
|
12298
|
+
border-color: #4b5563;
|
|
12299
|
+
background: rgba(17, 24, 39, 0.92);
|
|
12300
|
+
color: #e5e7eb;
|
|
12301
|
+
}
|
|
12151
12302
|
.squisq-editor-shell[data-theme=dark] .squisq-timeline-zoom-button {
|
|
12152
12303
|
border-color: #374151;
|
|
12153
12304
|
background: #111827;
|
|
@@ -12169,6 +12320,145 @@
|
|
|
12169
12320
|
.squisq-editor-shell[data-theme=dark] .squisq-timeline-tick-label {
|
|
12170
12321
|
color: #9ca3af;
|
|
12171
12322
|
}
|
|
12323
|
+
.squisq-timeline-item-menu {
|
|
12324
|
+
box-sizing: border-box;
|
|
12325
|
+
width: 320px;
|
|
12326
|
+
max-width: calc(100vw - 16px);
|
|
12327
|
+
overflow: auto;
|
|
12328
|
+
color: var(--squisq-block-props-text);
|
|
12329
|
+
background: var(--squisq-block-props-surface);
|
|
12330
|
+
border: 1px solid var(--squisq-block-props-divider);
|
|
12331
|
+
border-radius: 10px;
|
|
12332
|
+
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18), 0 3px 8px rgba(0, 0, 0, 0.1);
|
|
12333
|
+
font-family: var(--squisq-ux-font, system-ui, sans-serif);
|
|
12334
|
+
user-select: none;
|
|
12335
|
+
}
|
|
12336
|
+
.squisq-timeline-item-menu-header {
|
|
12337
|
+
display: flex;
|
|
12338
|
+
align-items: center;
|
|
12339
|
+
gap: 7px;
|
|
12340
|
+
min-width: 0;
|
|
12341
|
+
padding: 9px 12px;
|
|
12342
|
+
border-bottom: 1px solid var(--squisq-block-props-divider);
|
|
12343
|
+
}
|
|
12344
|
+
.squisq-timeline-item-menu-kind {
|
|
12345
|
+
flex: 0 0 auto;
|
|
12346
|
+
color: var(--squisq-block-props-muted);
|
|
12347
|
+
font-size: 10px;
|
|
12348
|
+
font-weight: 700;
|
|
12349
|
+
letter-spacing: 0.04em;
|
|
12350
|
+
text-transform: uppercase;
|
|
12351
|
+
}
|
|
12352
|
+
.squisq-timeline-item-menu-title {
|
|
12353
|
+
min-width: 0;
|
|
12354
|
+
overflow: hidden;
|
|
12355
|
+
color: var(--squisq-block-props-text);
|
|
12356
|
+
font-size: 12px;
|
|
12357
|
+
font-weight: 600;
|
|
12358
|
+
text-overflow: ellipsis;
|
|
12359
|
+
white-space: nowrap;
|
|
12360
|
+
}
|
|
12361
|
+
.squisq-timeline-item-menu-body {
|
|
12362
|
+
display: flex;
|
|
12363
|
+
flex-direction: column;
|
|
12364
|
+
gap: 10px;
|
|
12365
|
+
padding: 11px 12px 12px;
|
|
12366
|
+
}
|
|
12367
|
+
.squisq-timeline-item-menu-row,
|
|
12368
|
+
.squisq-timeline-item-menu-field,
|
|
12369
|
+
.squisq-timeline-item-menu-check {
|
|
12370
|
+
display: flex;
|
|
12371
|
+
align-items: center;
|
|
12372
|
+
justify-content: space-between;
|
|
12373
|
+
gap: 10px;
|
|
12374
|
+
margin: 0;
|
|
12375
|
+
}
|
|
12376
|
+
.squisq-timeline-item-menu-check {
|
|
12377
|
+
justify-content: flex-start;
|
|
12378
|
+
color: var(--squisq-block-props-text);
|
|
12379
|
+
font-size: 12px;
|
|
12380
|
+
cursor: pointer;
|
|
12381
|
+
}
|
|
12382
|
+
.squisq-timeline-item-menu-check input {
|
|
12383
|
+
accent-color: var(--squisq-block-props-accent, #6366f1);
|
|
12384
|
+
}
|
|
12385
|
+
.squisq-timeline-item-menu-hint {
|
|
12386
|
+
margin: -5px 0 0 24px;
|
|
12387
|
+
color: var(--squisq-block-props-quiet);
|
|
12388
|
+
font-size: 10px;
|
|
12389
|
+
line-height: 1.35;
|
|
12390
|
+
}
|
|
12391
|
+
.squisq-timeline-item-menu-label {
|
|
12392
|
+
flex: 0 0 auto;
|
|
12393
|
+
color: var(--squisq-block-props-muted);
|
|
12394
|
+
font-size: 11px;
|
|
12395
|
+
font-weight: 600;
|
|
12396
|
+
}
|
|
12397
|
+
.squisq-timeline-item-menu-number {
|
|
12398
|
+
display: inline-flex;
|
|
12399
|
+
align-items: center;
|
|
12400
|
+
gap: 6px;
|
|
12401
|
+
}
|
|
12402
|
+
.squisq-timeline-item-menu-number input,
|
|
12403
|
+
.squisq-timeline-item-menu-field select {
|
|
12404
|
+
box-sizing: border-box;
|
|
12405
|
+
min-width: 0;
|
|
12406
|
+
padding: 5px 7px;
|
|
12407
|
+
color: var(--squisq-block-props-text);
|
|
12408
|
+
background: var(--squisq-block-props-input);
|
|
12409
|
+
border: 1px solid var(--squisq-block-props-border);
|
|
12410
|
+
border-radius: 5px;
|
|
12411
|
+
font: inherit;
|
|
12412
|
+
font-size: 12px;
|
|
12413
|
+
outline: none;
|
|
12414
|
+
}
|
|
12415
|
+
.squisq-timeline-item-menu-number input {
|
|
12416
|
+
width: 78px;
|
|
12417
|
+
}
|
|
12418
|
+
.squisq-timeline-item-menu-field select {
|
|
12419
|
+
max-width: 205px;
|
|
12420
|
+
}
|
|
12421
|
+
.squisq-timeline-item-menu-number input:focus,
|
|
12422
|
+
.squisq-timeline-item-menu-field select:focus {
|
|
12423
|
+
border-color: var(--squisq-block-props-accent, #6366f1);
|
|
12424
|
+
}
|
|
12425
|
+
.squisq-timeline-item-menu-number input:disabled {
|
|
12426
|
+
opacity: 0.55;
|
|
12427
|
+
}
|
|
12428
|
+
.squisq-timeline-item-menu-number > span {
|
|
12429
|
+
color: var(--squisq-block-props-quiet);
|
|
12430
|
+
font-size: 11px;
|
|
12431
|
+
}
|
|
12432
|
+
.squisq-timeline-item-menu-row .squisq-transition-picker-trigger-label {
|
|
12433
|
+
display: none;
|
|
12434
|
+
}
|
|
12435
|
+
.squisq-timeline-item-menu-segments {
|
|
12436
|
+
display: inline-flex;
|
|
12437
|
+
overflow: hidden;
|
|
12438
|
+
border: 1px solid var(--squisq-block-props-border);
|
|
12439
|
+
border-radius: 6px;
|
|
12440
|
+
}
|
|
12441
|
+
.squisq-timeline-item-menu-segments button {
|
|
12442
|
+
padding: 5px 8px;
|
|
12443
|
+
color: var(--squisq-block-props-muted);
|
|
12444
|
+
background: var(--squisq-block-props-surface);
|
|
12445
|
+
border: 0;
|
|
12446
|
+
border-right: 1px solid var(--squisq-block-props-border);
|
|
12447
|
+
font: inherit;
|
|
12448
|
+
font-size: 11px;
|
|
12449
|
+
cursor: pointer;
|
|
12450
|
+
}
|
|
12451
|
+
.squisq-timeline-item-menu-segments button:last-child {
|
|
12452
|
+
border-right: 0;
|
|
12453
|
+
}
|
|
12454
|
+
.squisq-timeline-item-menu-segments button:hover {
|
|
12455
|
+
background: var(--squisq-block-props-surface-hover);
|
|
12456
|
+
}
|
|
12457
|
+
.squisq-timeline-item-menu-segments button[aria-pressed=true] {
|
|
12458
|
+
color: var(--squisq-block-props-accent, #4338ca);
|
|
12459
|
+
background: color-mix(in oklch, var(--squisq-block-props-accent, #6366f1) 14%, transparent);
|
|
12460
|
+
font-weight: 600;
|
|
12461
|
+
}
|
|
12172
12462
|
.squisq-editor-shell {
|
|
12173
12463
|
--squisq-preview-accent: #6366f1;
|
|
12174
12464
|
--squisq-preview-accent-muted: #94a3b8;
|
|
@@ -13486,22 +13776,86 @@
|
|
|
13486
13776
|
padding: 2px 6px;
|
|
13487
13777
|
}
|
|
13488
13778
|
.squisq-transform-menu-action {
|
|
13779
|
+
box-sizing: border-box;
|
|
13489
13780
|
display: flex;
|
|
13490
|
-
|
|
13491
|
-
|
|
13492
|
-
gap: 2px;
|
|
13781
|
+
align-items: center;
|
|
13782
|
+
gap: 8px;
|
|
13493
13783
|
width: 100%;
|
|
13494
13784
|
padding: 6px;
|
|
13495
13785
|
font: inherit;
|
|
13496
13786
|
text-align: left;
|
|
13497
|
-
background:
|
|
13498
|
-
border:
|
|
13787
|
+
background: var(--squisq-input-bg, #fff);
|
|
13788
|
+
border: 1px solid var(--squisq-border, #d1d5db);
|
|
13499
13789
|
border-radius: 4px;
|
|
13790
|
+
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
|
|
13500
13791
|
color: inherit;
|
|
13501
13792
|
cursor: pointer;
|
|
13502
13793
|
}
|
|
13503
13794
|
.squisq-transform-menu-action:hover:not(:disabled) {
|
|
13504
13795
|
background: var(--squisq-row-hover, #f3f4f6);
|
|
13796
|
+
border-color: var(--squisq-accent, #4f46e5);
|
|
13797
|
+
}
|
|
13798
|
+
.squisq-transform-menu-action:focus-visible {
|
|
13799
|
+
border-color: var(--squisq-accent, #4f46e5);
|
|
13800
|
+
outline: 2px solid var(--squisq-accent, #4f46e5);
|
|
13801
|
+
outline-offset: 1px;
|
|
13802
|
+
}
|
|
13803
|
+
.squisq-transform-menu-action:active:not(:disabled) {
|
|
13804
|
+
box-shadow: none;
|
|
13805
|
+
transform: translateY(1px);
|
|
13806
|
+
}
|
|
13807
|
+
.squisq-transform-menu-action--current {
|
|
13808
|
+
border-color: var(--squisq-accent, #4f46e5);
|
|
13809
|
+
background: color-mix(in oklch, var(--squisq-accent, #4f46e5) 8%, var(--squisq-input-bg, #fff));
|
|
13810
|
+
}
|
|
13811
|
+
.squisq-transform-menu-action-icon {
|
|
13812
|
+
display: inline-flex;
|
|
13813
|
+
align-items: center;
|
|
13814
|
+
justify-content: center;
|
|
13815
|
+
flex: 0 0 auto;
|
|
13816
|
+
width: 24px;
|
|
13817
|
+
height: 24px;
|
|
13818
|
+
color: #111827;
|
|
13819
|
+
font-size: 15px;
|
|
13820
|
+
line-height: 1;
|
|
13821
|
+
text-align: center;
|
|
13822
|
+
}
|
|
13823
|
+
.squisq-transform-menu-action-icon > svg {
|
|
13824
|
+
width: 22px;
|
|
13825
|
+
height: 22px;
|
|
13826
|
+
overflow: visible;
|
|
13827
|
+
fill: none;
|
|
13828
|
+
stroke: currentColor;
|
|
13829
|
+
stroke-width: 1.65;
|
|
13830
|
+
stroke-linecap: round;
|
|
13831
|
+
stroke-linejoin: round;
|
|
13832
|
+
}
|
|
13833
|
+
.squisq-transform-menu-action-icon > i {
|
|
13834
|
+
line-height: 1;
|
|
13835
|
+
}
|
|
13836
|
+
.squisq-transform-menu-action-copy {
|
|
13837
|
+
display: flex;
|
|
13838
|
+
min-width: 0;
|
|
13839
|
+
flex: 1;
|
|
13840
|
+
flex-direction: column;
|
|
13841
|
+
align-items: flex-start;
|
|
13842
|
+
gap: 2px;
|
|
13843
|
+
}
|
|
13844
|
+
.squisq-transform-menu-action-heading {
|
|
13845
|
+
display: flex;
|
|
13846
|
+
align-items: baseline;
|
|
13847
|
+
gap: 6px;
|
|
13848
|
+
}
|
|
13849
|
+
.squisq-transform-menu-current-badge {
|
|
13850
|
+
padding: 1px 5px;
|
|
13851
|
+
color: var(--squisq-accent, #4f46e5);
|
|
13852
|
+
border: 1px solid currentColor;
|
|
13853
|
+
border-radius: 999px;
|
|
13854
|
+
font-size: 9px;
|
|
13855
|
+
font-weight: 700;
|
|
13856
|
+
letter-spacing: 0.02em;
|
|
13857
|
+
line-height: 1.35;
|
|
13858
|
+
white-space: nowrap;
|
|
13505
13859
|
}
|
|
13506
13860
|
.squisq-transform-menu-action:disabled {
|
|
13507
13861
|
opacity: 0.5;
|
|
@@ -13519,6 +13873,7 @@
|
|
|
13519
13873
|
display: flex;
|
|
13520
13874
|
align-items: center;
|
|
13521
13875
|
gap: 4px;
|
|
13876
|
+
margin-top: 2px;
|
|
13522
13877
|
padding: 0 6px 6px;
|
|
13523
13878
|
}
|
|
13524
13879
|
.squisq-transform-menu-width {
|
|
@@ -13569,8 +13924,11 @@
|
|
|
13569
13924
|
.squisq-editor-shell[data-theme=dark] .squisq-transform-menu-state {
|
|
13570
13925
|
border-bottom-color: #374151;
|
|
13571
13926
|
}
|
|
13927
|
+
.squisq-editor-shell[data-theme=dark] .squisq-transform-menu-action-icon {
|
|
13928
|
+
color: #fff;
|
|
13929
|
+
}
|
|
13572
13930
|
.squisq-editor-shell[data-theme=dark] .squisq-transform-menu-action:hover:not(:disabled) {
|
|
13573
|
-
background: #
|
|
13931
|
+
background: #4b5563;
|
|
13574
13932
|
}
|
|
13575
13933
|
.squisq-editor-shell[data-theme=dark] .squisq-transform-menu-width,
|
|
13576
13934
|
.squisq-editor-shell[data-theme=dark] .squisq-transform-menu-width-input {
|