@tarviks/lexical-rich-editor 1.0.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/dist/index.css ADDED
@@ -0,0 +1,817 @@
1
+ /* src/Editor.css */
2
+ .lexical-floating-ui-host {
3
+ position: fixed;
4
+ inset: 0;
5
+ pointer-events: none;
6
+ z-index: 10000000;
7
+ }
8
+ .lexical-floating-ui-host .character-style-popup {
9
+ pointer-events: auto;
10
+ }
11
+ .character-style-popup {
12
+ position: fixed;
13
+ z-index: 10000010;
14
+ display: inline-flex;
15
+ align-items: center;
16
+ gap: 4px;
17
+ border-radius: 4px;
18
+ background: #fff;
19
+ border: 1px solid rgba(0, 0, 0, 0.06);
20
+ box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14), 0 2px 10px rgba(0, 0, 0, 0.08);
21
+ opacity: 0;
22
+ transform: translateY(6px) scale(0.98);
23
+ transform-origin: top left;
24
+ transition: opacity 120ms ease, transform 120ms ease;
25
+ visibility: hidden;
26
+ pointer-events: none;
27
+ user-select: none;
28
+ }
29
+ .character-style-popup.is-open {
30
+ opacity: 1;
31
+ transform: translateY(0) scale(1);
32
+ visibility: visible;
33
+ pointer-events: auto;
34
+ }
35
+ .character-style-popup .divider {
36
+ width: 1px;
37
+ height: 18px;
38
+ margin: 0 2px;
39
+ background: rgba(0, 0, 0, 0.08);
40
+ flex: 0 0 auto;
41
+ }
42
+ .character-style-popup :where(button):focus-visible {
43
+ outline: 2px solid rgba(0, 120, 212, 0.75);
44
+ outline-offset: 2px;
45
+ border-radius: 10px;
46
+ }
47
+ .character-style-popup :where(button):disabled {
48
+ opacity: 0.55;
49
+ cursor: not-allowed;
50
+ }
51
+
52
+ /* src/Nodes/Image.css */
53
+ .ImageNode__contentEditable {
54
+ min-height: 20px;
55
+ border: 0px;
56
+ resize: none;
57
+ cursor: text;
58
+ caret-color: rgb(5, 5, 5);
59
+ display: block;
60
+ position: relative;
61
+ outline: 0px;
62
+ padding: 10px;
63
+ user-select: text;
64
+ font-size: 12px;
65
+ width: calc(100% - 20px);
66
+ white-space: pre-wrap;
67
+ word-break: break-word;
68
+ }
69
+ .ImageNode__placeholder {
70
+ font-size: 12px;
71
+ color: #888;
72
+ overflow: hidden;
73
+ position: absolute;
74
+ text-overflow: ellipsis;
75
+ top: 10px;
76
+ left: 10px;
77
+ user-select: none;
78
+ white-space: nowrap;
79
+ display: inline-block;
80
+ pointer-events: none;
81
+ }
82
+ .image-control-wrapper--resizing {
83
+ touch-action: none;
84
+ }
85
+
86
+ /* src/Nodes/InlineImage.css */
87
+ .InlineImageNode__contentEditable {
88
+ min-height: 20px;
89
+ border: 0px;
90
+ resize: none;
91
+ cursor: text;
92
+ caret-color: rgb(5, 5, 5);
93
+ display: block;
94
+ position: relative;
95
+ tab-size: 1;
96
+ outline: 0px;
97
+ padding: 10px;
98
+ user-select: text;
99
+ font-size: 14px;
100
+ line-height: 1.4em;
101
+ width: calc(100% - 20px);
102
+ white-space: pre-wrap;
103
+ word-break: break-word;
104
+ }
105
+ .InlineImageNode__placeholder {
106
+ font-size: 12px;
107
+ color: #888;
108
+ overflow: hidden;
109
+ position: absolute;
110
+ text-overflow: ellipsis;
111
+ bottom: 10px;
112
+ left: 10px;
113
+ user-select: none;
114
+ white-space: nowrap;
115
+ display: inline-block;
116
+ pointer-events: none;
117
+ }
118
+ .InlineImageNode_Checkbox:checked,
119
+ .InlineImageNode_Checkbox:not(:checked) {
120
+ position: absolute;
121
+ left: -9999px;
122
+ }
123
+ .InlineImageNode_Checkbox:checked + label,
124
+ .InlineImageNode_Checkbox:not(:checked) + label {
125
+ position: absolute;
126
+ padding-right: 55px;
127
+ cursor: pointer;
128
+ line-height: 20px;
129
+ display: inline-block;
130
+ color: #666;
131
+ }
132
+ .InlineImageNode_Checkbox:checked + label:before,
133
+ .InlineImageNode_Checkbox:not(:checked) + label:before {
134
+ content: "";
135
+ position: absolute;
136
+ right: 0;
137
+ top: 0;
138
+ width: 18px;
139
+ height: 18px;
140
+ border: 1px solid #666;
141
+ background: #fff;
142
+ }
143
+ .InlineImageNode_Checkbox:checked + label:after,
144
+ .InlineImageNode_Checkbox:not(:checked) + label:after {
145
+ content: "";
146
+ width: 8px;
147
+ height: 8px;
148
+ background: #222222;
149
+ position: absolute;
150
+ top: 6px;
151
+ right: 6px;
152
+ -webkit-transition: all 0.2s ease;
153
+ transition: all 0.2s ease;
154
+ }
155
+ .InlineImageNode_Checkbox:not(:checked) + label:after {
156
+ opacity: 0;
157
+ -webkit-transform: scale(0);
158
+ transform: scale(0);
159
+ }
160
+ .InlineImageNode_Checkbox:checked + label:after {
161
+ opacity: 1;
162
+ -webkit-transform: scale(1);
163
+ transform: scale(1);
164
+ }
165
+
166
+ /* src/Nodes/PageBreak.css */
167
+ [type=page-break] {
168
+ position: relative;
169
+ display: block;
170
+ overflow: unset;
171
+ margin-top: var(--editor-input-padding, 28px);
172
+ margin-bottom: var(--editor-input-padding, 28px);
173
+ border: none;
174
+ border-top: 1px dashed var(--editor-color-secondary, #eeeeee);
175
+ border-bottom: 1px dashed var(--editor-color-secondary, #eeeeee);
176
+ background-color: var(--editor-color-secondary, #eeeeee);
177
+ }
178
+ [type=page-break]::before {
179
+ content: "";
180
+ position: absolute;
181
+ top: 50%;
182
+ left: calc(var(--editor-input-padding, 28px) + 12px);
183
+ transform: translateY(-50%);
184
+ opacity: 0.5;
185
+ background-size: cover;
186
+ width: 16px;
187
+ height: 16px;
188
+ }
189
+ [type=page-break]::after {
190
+ position: absolute;
191
+ top: 50%;
192
+ left: 50%;
193
+ transform: translate(-50%, -50%);
194
+ display: block;
195
+ padding: 2px 6px;
196
+ border: 1px solid #ccc;
197
+ background-color: #fff;
198
+ content: "PAGE BREAK";
199
+ font-size: 12px;
200
+ color: #000;
201
+ font-weight: 600;
202
+ }
203
+ .selected[type=page-break] {
204
+ border-color: var(--editor-color-primary, #4766cb);
205
+ }
206
+ .selected[type=page-break]::before {
207
+ opacity: 1;
208
+ }
209
+
210
+ /* src/Plugins/FloatLink.css */
211
+ .link-editor {
212
+ display: flex;
213
+ position: absolute;
214
+ top: 0;
215
+ left: 0;
216
+ z-index: 10;
217
+ max-width: 400px;
218
+ width: 100%;
219
+ opacity: 0;
220
+ background-color: #fff;
221
+ box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
222
+ border-radius: 0 0 8px 8px;
223
+ transition: opacity 0.5s;
224
+ will-change: transform;
225
+ }
226
+ .link-editor .button {
227
+ width: 20px;
228
+ height: 20px;
229
+ display: inline-block;
230
+ padding: 6px;
231
+ border-radius: 8px;
232
+ cursor: pointer;
233
+ margin: 0 2px;
234
+ }
235
+ .link-editor .button.hovered {
236
+ width: 20px;
237
+ height: 20px;
238
+ display: inline-block;
239
+ background-color: #eee;
240
+ }
241
+ .link-editor .button i,
242
+ .actions i {
243
+ background-size: contain;
244
+ display: inline-block;
245
+ height: 20px;
246
+ width: 20px;
247
+ vertical-align: -0.25em;
248
+ }
249
+
250
+ /* src/Plugins/TableActionMenu.css */
251
+ .aoTableActionHandleRoot {
252
+ pointer-events: auto;
253
+ }
254
+ .aoTableActionHandleBtn {
255
+ width: 28px;
256
+ height: 28px;
257
+ border-radius: 8px;
258
+ border: 1px solid var(--colorNeutralStroke2);
259
+ background: var(--colorNeutralBackground1);
260
+ display: inline-flex;
261
+ align-items: center;
262
+ justify-content: center;
263
+ cursor: pointer;
264
+ }
265
+ .aoTableActionHandleBtn:hover {
266
+ background: var(--colorNeutralBackground1Hover);
267
+ }
268
+ .aoTableActionPopover {
269
+ min-width: 280px;
270
+ border-radius: 12px;
271
+ padding: 4px;
272
+ box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
273
+ }
274
+ .aoMenuRow {
275
+ display: flex;
276
+ align-items: center;
277
+ width: 100%;
278
+ }
279
+ .aoMenuLabel {
280
+ display: inline-flex;
281
+ gap: 8px;
282
+ align-items: center;
283
+ }
284
+ .aoMenuShortcut {
285
+ margin-left: auto;
286
+ font-size: 12px;
287
+ opacity: 0.7;
288
+ }
289
+
290
+ /* src/Plugins/TableCellResizer.css */
291
+ .TableCellResizer__resizer {
292
+ position: absolute;
293
+ z-index: 99999;
294
+ pointer-events: auto;
295
+ }
296
+ .TableCellResizer__ui {
297
+ width: 10px;
298
+ height: 10px;
299
+ user-select: none;
300
+ cursor: col-resize;
301
+ }
302
+
303
+ /* src/Nodes/ColorPickerComponent.css */
304
+ .aoColorBtnV8 {
305
+ width: 28px;
306
+ height: 28px;
307
+ border-radius: 6px;
308
+ }
309
+ .aoColorCallout {
310
+ border-radius: 12px;
311
+ }
312
+ .aoLexRow {
313
+ display: flex;
314
+ align-items: center;
315
+ gap: 10px;
316
+ }
317
+ .aoLexSwatch {
318
+ width: 26px;
319
+ height: 26px;
320
+ border-radius: 6px;
321
+ border: 1px solid #d0d0d0;
322
+ }
323
+ .aoLexTitle {
324
+ font-size: 13px;
325
+ font-weight: 600;
326
+ }
327
+ .aoLexLabel {
328
+ width: 42px;
329
+ font-size: 12px;
330
+ color: #666;
331
+ padding-top: 8px;
332
+ }
333
+ .aoLexSwatches {
334
+ display: grid;
335
+ grid-template-columns: repeat(9, 1fr);
336
+ gap: 6px;
337
+ }
338
+ .aoLexSwatchBtn {
339
+ width: 22px;
340
+ height: 18px;
341
+ border-radius: 4px;
342
+ border: 1px solid #d0d0d0;
343
+ cursor: pointer;
344
+ padding: 0;
345
+ }
346
+ .aoLexSV {
347
+ position: relative;
348
+ width: 100%;
349
+ height: 150px;
350
+ border-radius: 10px;
351
+ overflow: hidden;
352
+ cursor: crosshair;
353
+ border: 1px solid #e0e0e0;
354
+ }
355
+ .aoLexSVHue {
356
+ position: absolute;
357
+ inset: 0;
358
+ }
359
+ .aoLexSVWhite {
360
+ position: absolute;
361
+ inset: 0;
362
+ background:
363
+ linear-gradient(
364
+ to right,
365
+ #fff,
366
+ rgba(255, 255, 255, 0));
367
+ }
368
+ .aoLexSVBlack {
369
+ position: absolute;
370
+ inset: 0;
371
+ background:
372
+ linear-gradient(
373
+ to top,
374
+ #000,
375
+ rgba(0, 0, 0, 0));
376
+ }
377
+ .aoLexSVThumb {
378
+ position: absolute;
379
+ width: 12px;
380
+ height: 12px;
381
+ border-radius: 999px;
382
+ border: 2px solid #fff;
383
+ box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
384
+ transform: translate(-6px, -6px);
385
+ }
386
+ .aoLexHue {
387
+ position: relative;
388
+ height: 10px;
389
+ border-radius: 999px;
390
+ cursor: pointer;
391
+ border: 1px solid #e0e0e0;
392
+ background:
393
+ linear-gradient(
394
+ to right,
395
+ #ff0000,
396
+ #ffff00,
397
+ #00ff00,
398
+ #00ffff,
399
+ #0000ff,
400
+ #ff00ff,
401
+ #ff0000);
402
+ }
403
+ .aoLexHueThumb {
404
+ position: absolute;
405
+ top: 50%;
406
+ width: 12px;
407
+ height: 12px;
408
+ border-radius: 999px;
409
+ border: 2px solid #fff;
410
+ box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
411
+ transform: translate(-6px, -6px);
412
+ }
413
+ .aoLexPreview {
414
+ height: 10px;
415
+ border-radius: 999px;
416
+ border: 1px solid #e0e0e0;
417
+ }
418
+ .aoLexActions {
419
+ display: flex;
420
+ justify-content: flex-end;
421
+ gap: 8px;
422
+ }
423
+
424
+ /* src/Theme/codeEditor.css */
425
+ .editorCode {
426
+ background-color: var(--colorNeutralBackground3, rgb(240, 242, 245));
427
+ font-family:
428
+ Menlo,
429
+ Consolas,
430
+ Monaco,
431
+ monospace;
432
+ display: block;
433
+ padding: 8px 8px 8px 52px;
434
+ line-height: 1.53;
435
+ font-size: 13px;
436
+ margin: 0;
437
+ margin-top: 8px;
438
+ margin-bottom: 8px;
439
+ tab-size: 2;
440
+ overflow-x: auto;
441
+ position: relative;
442
+ }
443
+ .editorCode:before {
444
+ content: attr(data-gutter);
445
+ position: absolute;
446
+ background-color: var(--colorNeutralBackground2, #eee);
447
+ left: 0;
448
+ top: 0;
449
+ border-right: 1px solid var(--colorNeutralStroke1, #ccc);
450
+ padding: 8px;
451
+ color: var(--colorNeutralForeground3, #777);
452
+ text-align: right;
453
+ min-width: 25px;
454
+ }
455
+ .editorCode:after {
456
+ content: attr(data-highlight-language);
457
+ position: absolute;
458
+ top: 0;
459
+ right: 3px;
460
+ padding: 3px;
461
+ font-size: 10px;
462
+ text-transform: uppercase;
463
+ color: var(--colorNeutralForeground3, rgba(0, 0, 0, 0.5));
464
+ }
465
+ .editorTokenComment {
466
+ color: var(--colorNeutralForeground3, slategray);
467
+ }
468
+ .editor-tokenPunctuation {
469
+ color: var(--colorNeutralForeground3, #999);
470
+ }
471
+ .editorTokenProperty {
472
+ color: var(--colorBrandForeground1, #905);
473
+ }
474
+ .editorTokenSelector {
475
+ color: var(--colorNeutralForeground2, #690);
476
+ }
477
+ .editorTokenOperator {
478
+ color: var(--colorNeutralForeground2, #9a6e3a);
479
+ }
480
+ .editorTokenAttr {
481
+ color: var(--colorBrandForegroundLink, #07a);
482
+ }
483
+ .editorTokenVariable {
484
+ color: var(--colorNeutralForeground2, #e90);
485
+ }
486
+ .editorTokenFunction {
487
+ color: var(--colorBrandForeground1, #dd4a68);
488
+ }
489
+ .editor {
490
+ font-size: 15px;
491
+ line-height: 1.2;
492
+ }
493
+ .editor p {
494
+ margin: 0;
495
+ line-height: 1.2;
496
+ }
497
+ .editor div {
498
+ margin: 0;
499
+ }
500
+ .editor img {
501
+ display: block;
502
+ }
503
+ .editor-image {
504
+ position: relative;
505
+ display: inline-block;
506
+ }
507
+ .editor-image img {
508
+ display: block;
509
+ max-width: 100%;
510
+ }
511
+
512
+ /* src/Theme/index.css */
513
+ .underline {
514
+ text-decoration: underline;
515
+ }
516
+ .strikethrough {
517
+ text-decoration: line-through;
518
+ }
519
+ .underlineStrikethrough {
520
+ text-decoration: underline line-through;
521
+ }
522
+ .italic {
523
+ font-style: italic;
524
+ }
525
+ .capitalize {
526
+ text-transform: capitalize;
527
+ }
528
+ .lowercase {
529
+ text-transform: lowercase;
530
+ }
531
+ .uppercase {
532
+ text-transform: uppercase;
533
+ }
534
+ .code {
535
+ color: black;
536
+ padding: 2px;
537
+ background: #eee;
538
+ border: 1px solid #ccc;
539
+ }
540
+ .table {
541
+ margin-top: 4px;
542
+ }
543
+ .quote {
544
+ margin: 0;
545
+ margin-top: 6px;
546
+ margin-left: 20px;
547
+ margin-bottom: 10px;
548
+ font-size: 15px;
549
+ color: rgb(101, 103, 107);
550
+ border-left-color: rgb(206, 208, 212);
551
+ border-left-width: 4px;
552
+ border-left-style: solid;
553
+ padding-left: 16px;
554
+ }
555
+ .tableCell {
556
+ width: 70px;
557
+ border: 1px solid #bbb;
558
+ padding-left: 6px;
559
+ }
560
+ .tableCell p {
561
+ margin-bottom: 4px;
562
+ }
563
+ .tableCellHeader {
564
+ background: #f2f3f5;
565
+ }
566
+ span.editor-image {
567
+ cursor: default;
568
+ display: inline-block;
569
+ position: relative;
570
+ user-select: none;
571
+ }
572
+ .editor-image img {
573
+ max-width: 100%;
574
+ cursor: default;
575
+ }
576
+ .editor-image img.focused {
577
+ outline: 2px solid rgb(60, 132, 244);
578
+ user-select: none;
579
+ }
580
+ .editor-image img.focused.draggable {
581
+ cursor: grab;
582
+ }
583
+ .editor-image img.focused.draggable:active {
584
+ cursor: grabbing;
585
+ }
586
+ .editor-image .image-caption-container .tree-view-output {
587
+ margin: 0;
588
+ border-radius: 0;
589
+ }
590
+ .editor-image .image-caption-container {
591
+ display: block;
592
+ position: absolute;
593
+ bottom: 4px;
594
+ left: 0;
595
+ right: 0;
596
+ padding: 0;
597
+ margin: 0;
598
+ border-top: 1px solid #fff;
599
+ background-color: rgba(255, 255, 255, 0.9);
600
+ min-width: 100px;
601
+ color: #000;
602
+ overflow: hidden;
603
+ }
604
+ .editor-image .image-caption-button {
605
+ display: block;
606
+ position: absolute;
607
+ bottom: 20px;
608
+ left: 0;
609
+ right: 0;
610
+ width: 30%;
611
+ padding: 10px;
612
+ margin: 0 auto;
613
+ border: 1px solid rgba(255, 255, 255, 0.3);
614
+ border-radius: 5px;
615
+ background-color: rgba(0, 0, 0, 0.5);
616
+ min-width: 100px;
617
+ color: #fff;
618
+ cursor: pointer;
619
+ user-select: none;
620
+ }
621
+ .editor-image .image-caption-button:hover {
622
+ background-color: rgba(60, 132, 244, 0.5);
623
+ }
624
+ .editor-image .image-edit-button {
625
+ border: 1px solid rgba(0, 0, 0, 0.3);
626
+ border-radius: 5px;
627
+ background-size: 16px;
628
+ background-position: center;
629
+ background-repeat: no-repeat;
630
+ width: 35px;
631
+ height: 35px;
632
+ vertical-align: -0.25em;
633
+ position: absolute;
634
+ right: 4px;
635
+ top: 4px;
636
+ cursor: pointer;
637
+ user-select: none;
638
+ }
639
+ .editor-image .image-edit-button:hover {
640
+ background-color: rgba(60, 132, 244, 0.1);
641
+ }
642
+ .editor-image .image-resizer {
643
+ display: block;
644
+ width: 7px;
645
+ height: 7px;
646
+ position: absolute;
647
+ background-color: rgb(60, 132, 244);
648
+ border: 1px solid #fff;
649
+ }
650
+ .editor-image .image-resizer.image-resizer-n {
651
+ top: -6px;
652
+ left: 48%;
653
+ cursor: n-resize;
654
+ }
655
+ .editor-image .image-resizer.image-resizer-ne {
656
+ top: -6px;
657
+ right: -6px;
658
+ cursor: ne-resize;
659
+ }
660
+ .editor-image .image-resizer.image-resizer-e {
661
+ bottom: 48%;
662
+ right: -6px;
663
+ cursor: e-resize;
664
+ }
665
+ .editor-image .image-resizer.image-resizer-se {
666
+ bottom: -2px;
667
+ right: -6px;
668
+ cursor: nwse-resize;
669
+ }
670
+ .editor-image .image-resizer.image-resizer-s {
671
+ bottom: -2px;
672
+ left: 48%;
673
+ cursor: s-resize;
674
+ }
675
+ .editor-image .image-resizer.image-resizer-sw {
676
+ bottom: -2px;
677
+ left: -6px;
678
+ cursor: sw-resize;
679
+ }
680
+ .editor-image .image-resizer.image-resizer-w {
681
+ bottom: 48%;
682
+ left: -6px;
683
+ cursor: w-resize;
684
+ }
685
+ .editor-image .image-resizer.image-resizer-nw {
686
+ top: -6px;
687
+ left: -6px;
688
+ cursor: nw-resize;
689
+ }
690
+ .inline-editor-image img {
691
+ max-width: 100%;
692
+ cursor: default;
693
+ }
694
+ .inline-editor-image img.focused {
695
+ outline: 2px solid rgb(60, 132, 244);
696
+ }
697
+ .inline-editor-image img.focused.draggable {
698
+ cursor: grab;
699
+ }
700
+ .inline-editor-image img.focused.draggable:active {
701
+ cursor: grabbing;
702
+ }
703
+ .inline-editor-image .image-caption-container .tree-view-output {
704
+ margin: 0;
705
+ border-radius: 0;
706
+ }
707
+ .inline-editor-image.position-full {
708
+ margin: 1em 0 1em 0;
709
+ }
710
+ .inline-editor-image.position-left {
711
+ float: left;
712
+ width: 50%;
713
+ margin: 1em 1em 0 0;
714
+ }
715
+ .inline-editor-image.position-right {
716
+ float: right;
717
+ width: 50%;
718
+ margin: 1em 0 0 1em;
719
+ }
720
+ .inline-editor-image .image-edit-button {
721
+ display: block;
722
+ position: absolute;
723
+ top: 12px;
724
+ right: 12px;
725
+ padding: 6px 8px;
726
+ margin: 0 auto;
727
+ border: 1px solid rgba(255, 255, 255, 0.3);
728
+ border-radius: 5px;
729
+ background-color: rgba(0, 0, 0, 0.5);
730
+ min-width: 60px;
731
+ color: #fff;
732
+ cursor: pointer;
733
+ user-select: none;
734
+ }
735
+ .inline-editor-image .image-edit-button:hover {
736
+ background-color: rgba(60, 132, 244, 0.5);
737
+ }
738
+ .inline-editor-image .image-caption-container {
739
+ display: block;
740
+ background-color: #f4f4f4;
741
+ min-width: 100%;
742
+ color: #000;
743
+ overflow: hidden;
744
+ }
745
+ .lexical-table {
746
+ border-collapse: collapse;
747
+ border-spacing: 0;
748
+ margin: 12px 0;
749
+ overflow: hidden;
750
+ }
751
+ .lexical-table-row {
752
+ }
753
+ .lexical-table-cell,
754
+ .lexical-table-cell-header {
755
+ border: 1px solid #c8c8c8;
756
+ padding: 10px;
757
+ min-width: 90px;
758
+ vertical-align: top;
759
+ position: relative;
760
+ background: #ffffff;
761
+ }
762
+ .lexical-table-cell-header {
763
+ background: #f5f5f5;
764
+ font-weight: 600;
765
+ }
766
+ .lexical-table-cell-selected {
767
+ background: rgba(33, 111, 219, 0.12);
768
+ }
769
+ .lexical-table-cell-primary-selected {
770
+ outline: 2px solid rgba(33, 111, 219, 0.9);
771
+ outline-offset: -2px;
772
+ }
773
+ .lexical-table-cell-editing {
774
+ box-shadow: inset 0 0 0 2px rgba(33, 111, 219, 0.6);
775
+ }
776
+ .lexical-table-cell-resizer {
777
+ position: absolute;
778
+ top: 0;
779
+ right: -2px;
780
+ width: 6px;
781
+ height: 100%;
782
+ cursor: col-resize;
783
+ z-index: 10;
784
+ }
785
+ .lexical-table-cell-resizer::after {
786
+ content: "";
787
+ position: absolute;
788
+ top: 0;
789
+ left: 2px;
790
+ width: 2px;
791
+ height: 100%;
792
+ background: rgba(33, 111, 219, 0.55);
793
+ opacity: 0;
794
+ transition: opacity 120ms ease-in-out;
795
+ }
796
+ .lexical-table-cell:hover .lexical-table-cell-resizer::after,
797
+ .lexical-table-cell-header:hover .lexical-table-cell-resizer::after {
798
+ opacity: 1;
799
+ }
800
+ .editor {
801
+ line-height: 1.25;
802
+ }
803
+ .editor p {
804
+ margin: 0;
805
+ line-height: 1.25;
806
+ }
807
+ .editor div {
808
+ margin: 0;
809
+ }
810
+ .editor img {
811
+ vertical-align: middle;
812
+ }
813
+ .TableCellResizer__ui {
814
+ position: absolute;
815
+ z-index: 50;
816
+ }
817
+ /*# sourceMappingURL=index.css.map */