@baasix/lexical 0.0.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.
Files changed (57) hide show
  1. package/README.md +281 -0
  2. package/dist/DateTimeComponent-4MX2IKXK.css +45 -0
  3. package/dist/DateTimeComponent-4MX2IKXK.css.map +1 -0
  4. package/dist/DateTimeComponent-7V5RW3AE.js +2928 -0
  5. package/dist/DateTimeComponent-7V5RW3AE.js.map +1 -0
  6. package/dist/EquationComponent-3IW3ONJD.js +159 -0
  7. package/dist/EquationComponent-3IW3ONJD.js.map +1 -0
  8. package/dist/EquationComponent-C2C6477P.css +28 -0
  9. package/dist/EquationComponent-C2C6477P.css.map +1 -0
  10. package/dist/ExcalidrawComponent-GZYLHNOY.js +267 -0
  11. package/dist/ExcalidrawComponent-GZYLHNOY.js.map +1 -0
  12. package/dist/ExcalidrawComponent-U6BD7DUB.css +152 -0
  13. package/dist/ExcalidrawComponent-U6BD7DUB.css.map +1 -0
  14. package/dist/ImageComponent-IYUGOT6O.css +73 -0
  15. package/dist/ImageComponent-IYUGOT6O.css.map +1 -0
  16. package/dist/ImageComponent-TTUYUG3M.js +429 -0
  17. package/dist/ImageComponent-TTUYUG3M.js.map +1 -0
  18. package/dist/PollComponent-CWI5UJF5.css +187 -0
  19. package/dist/PollComponent-CWI5UJF5.css.map +1 -0
  20. package/dist/PollComponent-KLJZSW5O.js +199 -0
  21. package/dist/PollComponent-KLJZSW5O.js.map +1 -0
  22. package/dist/StickyComponent-MZSTQF47.css +774 -0
  23. package/dist/StickyComponent-MZSTQF47.css.map +1 -0
  24. package/dist/StickyComponent-ZED6LNTX.js +233 -0
  25. package/dist/StickyComponent-ZED6LNTX.js.map +1 -0
  26. package/dist/chunk-35UCX4ZT.js +168 -0
  27. package/dist/chunk-35UCX4ZT.js.map +1 -0
  28. package/dist/chunk-44LUNGL3.js +16608 -0
  29. package/dist/chunk-44LUNGL3.js.map +1 -0
  30. package/dist/chunk-BHROZTZU.js +42 -0
  31. package/dist/chunk-BHROZTZU.js.map +1 -0
  32. package/dist/chunk-FJ6COZ4H.js +275 -0
  33. package/dist/chunk-FJ6COZ4H.js.map +1 -0
  34. package/dist/chunk-GSFNU3JE.js +211 -0
  35. package/dist/chunk-GSFNU3JE.js.map +1 -0
  36. package/dist/chunk-I43VQAHW.js +918 -0
  37. package/dist/chunk-I43VQAHW.js.map +1 -0
  38. package/dist/chunk-N22RKA5D.js +402 -0
  39. package/dist/chunk-N22RKA5D.js.map +1 -0
  40. package/dist/chunk-OIMMC5C3.js +134 -0
  41. package/dist/chunk-OIMMC5C3.js.map +1 -0
  42. package/dist/chunk-PZ5AY32C.js +10 -0
  43. package/dist/chunk-PZ5AY32C.js.map +1 -0
  44. package/dist/chunk-TVF6V3BJ.js +41 -0
  45. package/dist/chunk-TVF6V3BJ.js.map +1 -0
  46. package/dist/chunk-XTKVR2JI.js +225 -0
  47. package/dist/chunk-XTKVR2JI.js.map +1 -0
  48. package/dist/emoji-list-MUV74SND.js +8 -0
  49. package/dist/emoji-list-MUV74SND.js.map +1 -0
  50. package/dist/index.css +4234 -0
  51. package/dist/index.css.map +1 -0
  52. package/dist/index.d.ts +17 -0
  53. package/dist/index.js +16050 -0
  54. package/dist/index.js.map +1 -0
  55. package/dist/landscape-RJWVK6ET.jpg +0 -0
  56. package/dist/yellow-flower-R72KOP74.jpg +0 -0
  57. package/package.json +76 -0
@@ -0,0 +1,774 @@
1
+ /* src/nodes/StickyNode.css */
2
+ .StickyNode__contentEditable {
3
+ min-height: 20px;
4
+ border: 0;
5
+ resize: none;
6
+ cursor: text;
7
+ font-size: 24px;
8
+ caret-color: rgb(5, 5, 5);
9
+ display: block;
10
+ position: relative;
11
+ outline: 0;
12
+ padding: 10px;
13
+ user-select: text;
14
+ white-space: pre-wrap;
15
+ word-wrap: break-word;
16
+ }
17
+ .StickyNode__placeholder {
18
+ font-size: 24px;
19
+ color: #999;
20
+ overflow: hidden;
21
+ position: absolute;
22
+ text-overflow: ellipsis;
23
+ top: 30px;
24
+ left: 20px;
25
+ width: 120px;
26
+ user-select: none;
27
+ white-space: nowrap;
28
+ display: inline-block;
29
+ pointer-events: none;
30
+ }
31
+
32
+ /* src/themes/StickyEditorTheme.css */
33
+ .StickyEditorTheme__paragraph {
34
+ margin: 0;
35
+ position: "relative";
36
+ }
37
+
38
+ /* src/themes/PlaygroundEditorTheme.css */
39
+ :root {
40
+ --lexical-indent-base-value: 40px;
41
+ }
42
+ .PlaygroundEditorTheme__paragraph {
43
+ margin: 0;
44
+ position: relative;
45
+ }
46
+ .PlaygroundEditorTheme__quote {
47
+ margin: 0;
48
+ margin-left: 20px;
49
+ margin-bottom: 10px;
50
+ font-size: 15px;
51
+ color: rgb(101, 103, 107);
52
+ border-left-color: rgb(206, 208, 212);
53
+ border-left-width: 4px;
54
+ border-left-style: solid;
55
+ padding-left: 16px;
56
+ }
57
+ .PlaygroundEditorTheme__h1 {
58
+ font-size: 24px;
59
+ color: rgb(5, 5, 5);
60
+ font-weight: 400;
61
+ margin: 0;
62
+ }
63
+ .PlaygroundEditorTheme__h2 {
64
+ font-size: 15px;
65
+ color: rgb(101, 103, 107);
66
+ font-weight: 700;
67
+ margin: 0;
68
+ text-transform: uppercase;
69
+ }
70
+ .PlaygroundEditorTheme__h3 {
71
+ font-size: 12px;
72
+ margin: 0;
73
+ text-transform: uppercase;
74
+ }
75
+ .PlaygroundEditorTheme__textBold {
76
+ font-weight: bold;
77
+ }
78
+ .PlaygroundEditorTheme__paragraph mark {
79
+ background-color: unset;
80
+ }
81
+ .PlaygroundEditorTheme__textHighlight {
82
+ background: rgba(255, 212, 0, 0.14);
83
+ border-bottom: 2px solid rgba(255, 212, 0, 0.3);
84
+ }
85
+ .PlaygroundEditorTheme__textItalic {
86
+ font-style: italic;
87
+ }
88
+ .PlaygroundEditorTheme__textUnderline {
89
+ text-decoration: underline;
90
+ }
91
+ .PlaygroundEditorTheme__textStrikethrough {
92
+ text-decoration: line-through;
93
+ }
94
+ .PlaygroundEditorTheme__textUnderlineStrikethrough {
95
+ text-decoration: underline line-through;
96
+ }
97
+ .PlaygroundEditorTheme__tabNode {
98
+ position: relative;
99
+ text-decoration: none;
100
+ }
101
+ .PlaygroundEditorTheme__tabNode.PlaygroundEditorTheme__textUnderline::after {
102
+ content: "";
103
+ position: absolute;
104
+ left: 0;
105
+ right: 0;
106
+ bottom: 0.15em;
107
+ border-bottom: 0.1em solid currentColor;
108
+ }
109
+ .PlaygroundEditorTheme__tabNode.PlaygroundEditorTheme__textStrikethrough::before {
110
+ content: "";
111
+ position: absolute;
112
+ left: 0;
113
+ right: 0;
114
+ top: 0.69em;
115
+ border-top: 0.1em solid currentColor;
116
+ }
117
+ .PlaygroundEditorTheme__tabNode.PlaygroundEditorTheme__textUnderlineStrikethrough::before,
118
+ .PlaygroundEditorTheme__tabNode.PlaygroundEditorTheme__textUnderlineStrikethrough::after {
119
+ content: "";
120
+ position: absolute;
121
+ left: 0;
122
+ right: 0;
123
+ }
124
+ .PlaygroundEditorTheme__tabNode.PlaygroundEditorTheme__textUnderlineStrikethrough::before {
125
+ top: 0.69em;
126
+ border-top: 0.1em solid currentColor;
127
+ }
128
+ .PlaygroundEditorTheme__tabNode.PlaygroundEditorTheme__textUnderlineStrikethrough::after {
129
+ bottom: 0.05em;
130
+ border-bottom: 0.1em solid currentColor;
131
+ }
132
+ .PlaygroundEditorTheme__textSubscript {
133
+ font-size: 0.8em;
134
+ vertical-align: sub !important;
135
+ }
136
+ .PlaygroundEditorTheme__textSuperscript {
137
+ font-size: 0.8em;
138
+ vertical-align: super;
139
+ }
140
+ .PlaygroundEditorTheme__textCode {
141
+ background-color: rgb(240, 242, 245);
142
+ padding: 1px 0.25rem;
143
+ font-family:
144
+ Menlo,
145
+ Consolas,
146
+ Monaco,
147
+ monospace;
148
+ font-size: 94%;
149
+ }
150
+ .PlaygroundEditorTheme__textLowercase {
151
+ text-transform: lowercase;
152
+ }
153
+ .PlaygroundEditorTheme__textUppercase {
154
+ text-transform: uppercase;
155
+ }
156
+ .PlaygroundEditorTheme__textCapitalize {
157
+ text-transform: capitalize;
158
+ }
159
+ .PlaygroundEditorTheme__hashtag {
160
+ background-color: rgba(88, 144, 255, 0.15);
161
+ border-bottom: 1px solid rgba(88, 144, 255, 0.3);
162
+ }
163
+ .PlaygroundEditorTheme__link {
164
+ color: rgb(33, 111, 219);
165
+ text-decoration: none;
166
+ }
167
+ .PlaygroundEditorTheme__link:hover {
168
+ text-decoration: underline;
169
+ cursor: pointer;
170
+ }
171
+ .PlaygroundEditorTheme__blockCursor {
172
+ display: block;
173
+ pointer-events: none;
174
+ position: absolute;
175
+ }
176
+ .PlaygroundEditorTheme__blockCursor:after {
177
+ content: "";
178
+ display: block;
179
+ position: absolute;
180
+ top: -2px;
181
+ width: 20px;
182
+ border-top: 1px solid black;
183
+ animation: CursorBlink 1.1s steps(2, start) infinite;
184
+ }
185
+ @keyframes CursorBlink {
186
+ to {
187
+ visibility: hidden;
188
+ }
189
+ }
190
+ .PlaygroundEditorTheme__code {
191
+ background-color: rgb(240, 242, 245);
192
+ font-family:
193
+ Menlo,
194
+ Consolas,
195
+ Monaco,
196
+ monospace;
197
+ display: block;
198
+ line-height: 1.53;
199
+ font-size: 13px;
200
+ padding-top: 8px;
201
+ margin: 0;
202
+ margin-top: 8px;
203
+ margin-bottom: 8px;
204
+ overflow-x: auto;
205
+ position: relative;
206
+ tab-size: 2;
207
+ white-space: pre;
208
+ max-width: 100%;
209
+ box-sizing: border-box;
210
+ }
211
+ .PlaygroundEditorTheme__code:before {
212
+ content: attr(data-gutter);
213
+ position: sticky;
214
+ background-color: #eee;
215
+ left: 0;
216
+ float: left;
217
+ top: 0;
218
+ z-index: 3;
219
+ min-height: 100%;
220
+ border-right: 1px solid #ccc;
221
+ padding: 8px;
222
+ color: #777;
223
+ white-space: pre-wrap;
224
+ text-align: right;
225
+ min-width: 25px;
226
+ margin-right: 10px;
227
+ margin-top: -8px;
228
+ padding: 8px;
229
+ }
230
+ .PlaygroundEditorTheme__tableScrollableWrapper {
231
+ overflow-x: auto;
232
+ margin: 0px 0px 5px 0px;
233
+ }
234
+ .PlaygroundEditorTheme__tableScrollRight {
235
+ box-shadow: inset -10px 0 10px rgba(0, 0, 0, 0.15);
236
+ }
237
+ .PlaygroundEditorTheme__tableScrollLeft {
238
+ box-shadow: inset 10px 0 10px rgba(0, 0, 0, 0.15);
239
+ }
240
+ .PlaygroundEditorTheme__tableScrollMiddle {
241
+ box-shadow: inset 10px 0 10px rgba(0, 0, 0, 0.15), inset -10px 0 10px rgba(0, 0, 0, 0.15);
242
+ }
243
+ .PlaygroundEditorTheme__tableScrollableWrapper > .PlaygroundEditorTheme__table {
244
+ margin-top: 0;
245
+ margin-bottom: 0;
246
+ }
247
+ .PlaygroundEditorTheme__tableAlignmentCenter {
248
+ margin-left: auto;
249
+ margin-right: auto;
250
+ }
251
+ .PlaygroundEditorTheme__tableAlignmentRight {
252
+ margin-left: auto;
253
+ }
254
+ .PlaygroundEditorTheme__table {
255
+ border-collapse: collapse;
256
+ border-spacing: 0;
257
+ overflow-y: scroll;
258
+ overflow-x: scroll;
259
+ table-layout: fixed;
260
+ width: fit-content;
261
+ margin-top: 25px;
262
+ margin-bottom: 30px;
263
+ }
264
+ .PlaygroundEditorTheme__tableScrollableWrapper.PlaygroundEditorTheme__tableFrozenRow {
265
+ overflow-x: clip;
266
+ }
267
+ .PlaygroundEditorTheme__tableFrozenRow tr:nth-of-type(1) > td {
268
+ overflow: clip;
269
+ background-color: #ffffff;
270
+ position: sticky;
271
+ z-index: 2;
272
+ top: 44px;
273
+ }
274
+ .PlaygroundEditorTheme__tableFrozenRow tr:nth-of-type(1) > th {
275
+ overflow: clip;
276
+ background-color: #f2f3f5;
277
+ position: sticky;
278
+ z-index: 2;
279
+ top: 44px;
280
+ }
281
+ .PlaygroundEditorTheme__tableFrozenRow tr:nth-of-type(1) > th:after,
282
+ .PlaygroundEditorTheme__tableFrozenRow tr:nth-of-type(1) > td:after {
283
+ content: "";
284
+ position: absolute;
285
+ left: 0;
286
+ bottom: 0;
287
+ width: 100%;
288
+ border-bottom: 1px solid #bbb;
289
+ }
290
+ .PlaygroundEditorTheme__tableFrozenColumn tr > td:first-child {
291
+ background-color: #ffffff;
292
+ position: sticky;
293
+ z-index: 2;
294
+ left: 0;
295
+ }
296
+ .PlaygroundEditorTheme__tableFrozenColumn tr > th:first-child {
297
+ background-color: #f2f3f5;
298
+ position: sticky;
299
+ z-index: 2;
300
+ left: 0;
301
+ }
302
+ .PlaygroundEditorTheme__tableFrozenColumn tr > :first-child::after {
303
+ content: "";
304
+ position: absolute;
305
+ left: 0;
306
+ top: 0;
307
+ right: 0;
308
+ height: 100%;
309
+ border-right: 1px solid #bbb;
310
+ }
311
+ .PlaygroundEditorTheme__tableRowStriping tr:nth-child(even),
312
+ .PlaygroundEditorTheme__tableFrozenColumn .PlaygroundEditorTheme__table.PlaygroundEditorTheme__tableRowStriping tr:nth-child(even) > td:first-child {
313
+ background-color: #f2f5fb;
314
+ }
315
+ .PlaygroundEditorTheme__tableSelection *::selection {
316
+ background-color: transparent;
317
+ }
318
+ .PlaygroundEditorTheme__tableSelected {
319
+ outline: 2px solid rgb(60, 132, 244);
320
+ }
321
+ .PlaygroundEditorTheme__tableCell {
322
+ border: 1px solid #bbb;
323
+ width: 75px;
324
+ vertical-align: top;
325
+ text-align: start;
326
+ padding: 6px 8px;
327
+ position: relative;
328
+ outline: none;
329
+ overflow: auto;
330
+ }
331
+ .PlaygroundEditorTheme__tableCell > * {
332
+ overflow: inherit;
333
+ }
334
+ .PlaygroundEditorTheme__tableCellResizer {
335
+ position: absolute;
336
+ right: -4px;
337
+ height: 100%;
338
+ width: 8px;
339
+ cursor: ew-resize;
340
+ z-index: 10;
341
+ top: 0;
342
+ }
343
+ .PlaygroundEditorTheme__tableCellHeader {
344
+ background-color: #f2f3f5;
345
+ text-align: start;
346
+ }
347
+ .PlaygroundEditorTheme__tableCellSelected {
348
+ caret-color: transparent;
349
+ }
350
+ .PlaygroundEditorTheme__tableCellSelected::after {
351
+ position: absolute;
352
+ left: 0;
353
+ right: 0;
354
+ bottom: 0;
355
+ top: 0;
356
+ background-color: highlight;
357
+ mix-blend-mode: multiply;
358
+ content: "";
359
+ pointer-events: none;
360
+ }
361
+ .PlaygroundEditorTheme__tableAddColumns {
362
+ position: absolute;
363
+ background-color: #eee;
364
+ height: 100%;
365
+ animation: table-controls 0.2s ease;
366
+ border: 0;
367
+ cursor: pointer;
368
+ }
369
+ .PlaygroundEditorTheme__tableAddColumns:after {
370
+ background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-plus"><path d="M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z"/></svg>');
371
+ background-size: contain;
372
+ background-position: center;
373
+ background-repeat: no-repeat;
374
+ display: block;
375
+ content: " ";
376
+ position: absolute;
377
+ top: 0;
378
+ left: 0;
379
+ width: 100%;
380
+ height: 100%;
381
+ opacity: 0.4;
382
+ }
383
+ .PlaygroundEditorTheme__tableAddColumns:hover,
384
+ .PlaygroundEditorTheme__tableAddRows:hover {
385
+ background-color: #c9dbf0;
386
+ }
387
+ .PlaygroundEditorTheme__tableAddRows {
388
+ position: absolute;
389
+ width: calc(100% - 25px);
390
+ background-color: #eee;
391
+ animation: table-controls 0.2s ease;
392
+ border: 0;
393
+ cursor: pointer;
394
+ }
395
+ .PlaygroundEditorTheme__tableAddRows:after {
396
+ background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-plus"><path d="M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z"/></svg>');
397
+ background-size: contain;
398
+ background-position: center;
399
+ background-repeat: no-repeat;
400
+ display: block;
401
+ content: " ";
402
+ position: absolute;
403
+ top: 0;
404
+ left: 0;
405
+ width: 100%;
406
+ height: 100%;
407
+ opacity: 0.4;
408
+ }
409
+ @keyframes table-controls {
410
+ 0% {
411
+ opacity: 0;
412
+ }
413
+ 100% {
414
+ opacity: 1;
415
+ }
416
+ }
417
+ .PlaygroundEditorTheme__tableCellResizeRuler {
418
+ display: block;
419
+ position: absolute;
420
+ width: 1px;
421
+ background-color: rgb(60, 132, 244);
422
+ height: 100%;
423
+ top: 0;
424
+ }
425
+ .PlaygroundEditorTheme__tableCellActionButtonContainer {
426
+ display: block;
427
+ right: 5px;
428
+ top: 6px;
429
+ position: absolute;
430
+ z-index: 4;
431
+ width: 20px;
432
+ height: 20px;
433
+ }
434
+ .PlaygroundEditorTheme__tableCellActionButton {
435
+ background-color: #eee;
436
+ display: block;
437
+ border: 0;
438
+ border-radius: 20px;
439
+ width: 20px;
440
+ height: 20px;
441
+ color: #222;
442
+ cursor: pointer;
443
+ }
444
+ .PlaygroundEditorTheme__tableCellActionButton:hover {
445
+ background-color: #ddd;
446
+ }
447
+ .PlaygroundEditorTheme__characterLimit {
448
+ display: inline;
449
+ background-color: #ffbbbb !important;
450
+ }
451
+ .PlaygroundEditorTheme__ol1 {
452
+ padding: 0;
453
+ margin: 0;
454
+ list-style-type: decimal;
455
+ list-style-position: outside;
456
+ }
457
+ .PlaygroundEditorTheme__ol2 {
458
+ padding: 0;
459
+ margin: 0;
460
+ list-style-type: upper-alpha;
461
+ list-style-position: outside;
462
+ }
463
+ .PlaygroundEditorTheme__ol3 {
464
+ padding: 0;
465
+ margin: 0;
466
+ list-style-type: lower-alpha;
467
+ list-style-position: outside;
468
+ }
469
+ .PlaygroundEditorTheme__ol4 {
470
+ padding: 0;
471
+ margin: 0;
472
+ list-style-type: upper-roman;
473
+ list-style-position: outside;
474
+ }
475
+ .PlaygroundEditorTheme__ol5 {
476
+ padding: 0;
477
+ margin: 0;
478
+ list-style-type: lower-roman;
479
+ list-style-position: outside;
480
+ }
481
+ .PlaygroundEditorTheme__ul {
482
+ padding: 0;
483
+ margin: 0;
484
+ list-style-type: disc;
485
+ list-style-position: outside;
486
+ }
487
+ .PlaygroundEditorTheme__listItem {
488
+ margin: 0 32px;
489
+ font-family: var(--listitem-marker-font-family);
490
+ font-size: var(--listitem-marker-font-size);
491
+ background-color: var(--listitem-marker-background-color);
492
+ }
493
+ .PlaygroundEditorTheme__listItem::marker {
494
+ color: var(--listitem-marker-color);
495
+ background-color: var(--listitem-marker-background-color);
496
+ font-family: var(--listitem-marker-font-family);
497
+ font-size: var(--listitem-marker-font-size);
498
+ }
499
+ .PlaygroundEditorTheme__listItemChecked,
500
+ .PlaygroundEditorTheme__listItemUnchecked {
501
+ position: relative;
502
+ margin-left: 0.5em;
503
+ margin-right: 0.5em;
504
+ padding-left: 1.5em;
505
+ padding-right: 1.5em;
506
+ list-style-type: none;
507
+ outline: none;
508
+ display: block;
509
+ min-height: 1.5em;
510
+ }
511
+ .PlaygroundEditorTheme__listItemChecked > *,
512
+ .PlaygroundEditorTheme__listItemUnchecked > * {
513
+ margin-left: 0.01em;
514
+ }
515
+ .PlaygroundEditorTheme__listItemUnchecked:before,
516
+ .PlaygroundEditorTheme__listItemChecked:before {
517
+ content: "\200b";
518
+ width: 0.9em;
519
+ height: 0.9em;
520
+ top: 50%;
521
+ left: 0;
522
+ cursor: pointer;
523
+ display: block;
524
+ background-size: cover;
525
+ position: absolute;
526
+ transform: translateY(-50%);
527
+ }
528
+ .PlaygroundEditorTheme__listItemChecked {
529
+ text-decoration: line-through;
530
+ }
531
+ .PlaygroundEditorTheme__listItemUnchecked:focus:before,
532
+ .PlaygroundEditorTheme__listItemChecked:focus:before {
533
+ box-shadow: 0 0 0 2px #a6cdfe;
534
+ border-radius: 2px;
535
+ }
536
+ .PlaygroundEditorTheme__listItemUnchecked:before {
537
+ border: 1px solid #999;
538
+ border-radius: 2px;
539
+ }
540
+ .PlaygroundEditorTheme__listItemChecked:before {
541
+ border: 1px solid rgb(61, 135, 245);
542
+ border-radius: 2px;
543
+ background-color: #3d87f5;
544
+ background-repeat: no-repeat;
545
+ }
546
+ .PlaygroundEditorTheme__listItemChecked:after {
547
+ content: "";
548
+ cursor: pointer;
549
+ border-color: #fff;
550
+ border-style: solid;
551
+ position: absolute;
552
+ display: block;
553
+ top: 45%;
554
+ width: 0.2em;
555
+ left: 0.35em;
556
+ height: 0.4em;
557
+ transform: translateY(-50%) rotate(45deg);
558
+ border-width: 0 0.1em 0.1em 0;
559
+ }
560
+ .PlaygroundEditorTheme__nestedListItem {
561
+ list-style-type: none;
562
+ }
563
+ .PlaygroundEditorTheme__nestedListItem:before,
564
+ .PlaygroundEditorTheme__nestedListItem:after {
565
+ display: none;
566
+ }
567
+ .PlaygroundEditorTheme__tokenComment {
568
+ color: slategray;
569
+ }
570
+ .PlaygroundEditorTheme__tokenDeleted {
571
+ border-image:
572
+ linear-gradient(
573
+ to right,
574
+ #ffcecb 50%,
575
+ #ffebe9 50%) fill 0/0/0 100vw;
576
+ }
577
+ .PlaygroundEditorTheme__tokenInserted {
578
+ border-image:
579
+ linear-gradient(
580
+ to right,
581
+ #aceebb 50%,
582
+ #dafbe1 50%) fill 0/0/0 100vw;
583
+ }
584
+ .PlaygroundEditorTheme__tokenUnchanged {
585
+ border-image:
586
+ linear-gradient(
587
+ to right,
588
+ #ddd 50%,
589
+ #f0f2f5 50%) fill 0/0/0 100vw;
590
+ }
591
+ .PlaygroundEditorTheme__tokenPunctuation {
592
+ color: #999;
593
+ }
594
+ .PlaygroundEditorTheme__tokenProperty {
595
+ color: #905;
596
+ }
597
+ .PlaygroundEditorTheme__tokenSelector {
598
+ color: #690;
599
+ }
600
+ .PlaygroundEditorTheme__tokenOperator {
601
+ color: #9a6e3a;
602
+ }
603
+ .PlaygroundEditorTheme__tokenAttr {
604
+ color: #07a;
605
+ }
606
+ .PlaygroundEditorTheme__tokenVariable {
607
+ color: #e90;
608
+ }
609
+ .PlaygroundEditorTheme__tokenFunction {
610
+ color: #dd4a68;
611
+ }
612
+ .PlaygroundEditorTheme__mark {
613
+ background: rgba(255, 212, 0, 0.14);
614
+ border-bottom: 2px solid rgba(255, 212, 0, 0.3);
615
+ padding-bottom: 2px;
616
+ }
617
+ .PlaygroundEditorTheme__markOverlap {
618
+ background: rgba(255, 212, 0, 0.3);
619
+ border-bottom: 2px solid rgba(255, 212, 0, 0.7);
620
+ }
621
+ .PlaygroundEditorTheme__mark.selected {
622
+ background: rgba(255, 212, 0, 0.5);
623
+ border-bottom: 2px solid rgba(255, 212, 0, 1);
624
+ }
625
+ .PlaygroundEditorTheme__markOverlap.selected {
626
+ background: rgba(255, 212, 0, 0.7);
627
+ border-bottom: 2px solid rgba(255, 212, 0, 0.7);
628
+ }
629
+ .PlaygroundEditorTheme__embedBlock {
630
+ user-select: none;
631
+ }
632
+ .PlaygroundEditorTheme__embedBlockFocus {
633
+ outline: 2px solid rgb(60, 132, 244);
634
+ }
635
+ .PlaygroundEditorTheme__layoutContainer {
636
+ display: grid;
637
+ gap: 10px;
638
+ margin: 10px 0;
639
+ }
640
+ .PlaygroundEditorTheme__layoutItem {
641
+ border: 1px dashed #ddd;
642
+ padding: 8px 16px;
643
+ min-width: 0;
644
+ max-width: 100%;
645
+ }
646
+ .PlaygroundEditorTheme__autocomplete {
647
+ color: #ccc;
648
+ }
649
+ .PlaygroundEditorTheme__hr {
650
+ padding: 2px 2px;
651
+ border: none;
652
+ margin: 1em 0;
653
+ cursor: pointer;
654
+ }
655
+ .PlaygroundEditorTheme__hr:after {
656
+ content: "";
657
+ display: block;
658
+ height: 2px;
659
+ background-color: #ccc;
660
+ line-height: 2px;
661
+ }
662
+ .PlaygroundEditorTheme__hr.PlaygroundEditorTheme__hrSelected {
663
+ outline: 2px solid rgb(60, 132, 244);
664
+ user-select: none;
665
+ }
666
+ .PlaygroundEditorTheme__specialText {
667
+ background-color: yellow;
668
+ font-weight: bold;
669
+ }
670
+ .PlaygroundEditorTheme__contextMenu {
671
+ outline: 0;
672
+ background: #fff;
673
+ border: 1px solid #ddd;
674
+ box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
675
+ border-radius: 8px;
676
+ }
677
+ .PlaygroundEditorTheme__contextMenu button:first-child {
678
+ border-radius: 8px 8px 0px 0px;
679
+ }
680
+ .PlaygroundEditorTheme__contextMenu button:last-child {
681
+ border-radius: 0px 0px 8px 8px;
682
+ }
683
+ .PlaygroundEditorTheme__contextMenuItem {
684
+ width: 100%;
685
+ display: block;
686
+ }
687
+ .PlaygroundEditorTheme__contextMenuItem {
688
+ display: flex;
689
+ justify-content: left;
690
+ width: 100%;
691
+ background-color: #fff;
692
+ color: #050505;
693
+ border: 0;
694
+ border-radius: 0px;
695
+ font-size: 15px;
696
+ text-align: left;
697
+ line-height: 20px;
698
+ padding: 8px;
699
+ padding-right: 14px;
700
+ outline: 0;
701
+ cursor: pointer;
702
+ }
703
+ .PlaygroundEditorTheme__contextMenuItem.open {
704
+ background: #ddd;
705
+ }
706
+ .PlaygroundEditorTheme__contextMenuItem:focus,
707
+ .PlaygroundEditorTheme__contextMenuItem:not([disabled]):active {
708
+ background: #eee;
709
+ }
710
+ .PlaygroundEditorTheme__contextMenuItem:disabled {
711
+ background: #fff;
712
+ color: #aaa;
713
+ cursor: not-allowed;
714
+ }
715
+ .PlaygroundEditorTheme__contextMenuItemIcon {
716
+ width: 20px;
717
+ margin-right: 8px;
718
+ background-repeat: no-repeat;
719
+ background-size: contain;
720
+ }
721
+ .editor-shell .ContentEditable__root {
722
+ background: #fff !important;
723
+ color: #000 !important;
724
+ }
725
+ .floating-text-format-popup,
726
+ .link-editor,
727
+ .typeahead-popover,
728
+ .emoji-menu,
729
+ .mentions-menu,
730
+ .auto-embed-menu,
731
+ .component-picker-menu,
732
+ .dropdown,
733
+ .color-picker-wrapper,
734
+ .Modal__overlay {
735
+ z-index: 10000 !important;
736
+ }
737
+
738
+ /* src/ui/ContentEditable.css */
739
+ .ContentEditable__root {
740
+ border: 0;
741
+ font-size: 15px;
742
+ display: block;
743
+ position: relative;
744
+ outline: 0;
745
+ padding: 8px 46px 40px;
746
+ min-height: 150px;
747
+ }
748
+ @media (max-width: 1025px) {
749
+ .ContentEditable__root {
750
+ padding-left: 8px;
751
+ padding-right: 8px;
752
+ }
753
+ }
754
+ .ContentEditable__placeholder {
755
+ font-size: 15px;
756
+ color: #999;
757
+ overflow: hidden;
758
+ position: absolute;
759
+ text-overflow: ellipsis;
760
+ top: 8px;
761
+ left: 46px;
762
+ right: 28px;
763
+ user-select: none;
764
+ white-space: nowrap;
765
+ display: inline-block;
766
+ pointer-events: none;
767
+ }
768
+ @media (max-width: 1025px) {
769
+ .ContentEditable__placeholder {
770
+ left: 8px;
771
+ right: 8px;
772
+ }
773
+ }
774
+ /*# sourceMappingURL=StickyComponent-MZSTQF47.css.map */