@mdxeditor/editor 0.1.1 → 0.2.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.cjs +1 -1
- package/dist/index.d.ts +383 -170
- package/dist/index.js +83 -73
- package/dist/style.css +133 -127
- package/package.json +1 -1
package/dist/style.css
CHANGED
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
.
|
|
64
|
+
._editorRoot_1bxeh_43 {
|
|
65
65
|
--accentBase: var(--blue1);
|
|
66
66
|
--accentBgSubtle: var(--blue2);
|
|
67
67
|
--accentBg: var(--blue3);
|
|
@@ -139,15 +139,15 @@
|
|
|
139
139
|
color: var(--baseText);
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
.
|
|
142
|
+
._editorWrapper_1bxeh_121 {
|
|
143
143
|
padding: var(--spacing-3);
|
|
144
144
|
}
|
|
145
145
|
|
|
146
|
-
.
|
|
146
|
+
._nestedListItem_1bxeh_125 {
|
|
147
147
|
list-style: none;
|
|
148
148
|
}
|
|
149
149
|
|
|
150
|
-
.
|
|
150
|
+
._toolbarRoot_1bxeh_129 {
|
|
151
151
|
/* border: var(--spacing-px) solid var(--baseBorder); */
|
|
152
152
|
z-index: 50;
|
|
153
153
|
margin-bottom: var(--spacing-6);
|
|
@@ -164,11 +164,11 @@
|
|
|
164
164
|
width: inherit;
|
|
165
165
|
}
|
|
166
166
|
|
|
167
|
-
.
|
|
167
|
+
._toolbarRoot_1bxeh_129 div[role=separator] {
|
|
168
168
|
margin: var(--spacing-1);
|
|
169
169
|
}
|
|
170
170
|
|
|
171
|
-
.
|
|
171
|
+
._toolbarModeSwitch_1bxeh_150 {
|
|
172
172
|
margin-left: auto;
|
|
173
173
|
align-self: stretch;
|
|
174
174
|
align-items: stretch;
|
|
@@ -178,32 +178,32 @@
|
|
|
178
178
|
font-size: var(--text-xs);
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
-
.
|
|
181
|
+
._toolbarModeSwitch_1bxeh_150 ._toolbarToggleItem_1bxeh_159 {
|
|
182
182
|
-webkit-padding-end: var(--spacing-4);
|
|
183
183
|
padding-inline-end: var(--spacing-4);
|
|
184
184
|
-webkit-padding-start: var(--spacing-4);
|
|
185
185
|
padding-inline-start: var(--spacing-4);
|
|
186
186
|
}
|
|
187
187
|
|
|
188
|
-
.
|
|
188
|
+
._toolbarModeSwitch_1bxeh_150 ._toolbarToggleItem_1bxeh_159:active, ._toolbarModeSwitch_1bxeh_150 ._toolbarToggleItem_1bxeh_159[data-state=on] {
|
|
189
189
|
background-color:var(--baseBorder);
|
|
190
190
|
}
|
|
191
191
|
|
|
192
|
-
.
|
|
192
|
+
._toolbarGroupOfGroups_1bxeh_169 {
|
|
193
193
|
display: flex;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
.
|
|
196
|
+
._toolbarToggleSingleGroup_1bxeh_173:first-of-type ._toolbarToggleItem_1bxeh_159:only-child, ._toolbarToggleSingleGroup_1bxeh_173:only-child ._toolbarToggleItem_1bxeh_159:first-child, ._toolbarModeSwitch_1bxeh_150 ._toolbarToggleItem_1bxeh_159:first-child {
|
|
197
197
|
border-top-left-radius: var(--radius-base);
|
|
198
198
|
border-bottom-left-radius: var(--radius-base);
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
.
|
|
201
|
+
._toolbarToggleSingleGroup_1bxeh_173:last-of-type ._toolbarToggleItem_1bxeh_159:only-child, ._toolbarToggleSingleGroup_1bxeh_173:only-child ._toolbarToggleItem_1bxeh_159:last-child, ._toolbarModeSwitch_1bxeh_150 ._toolbarToggleItem_1bxeh_159:last-child {
|
|
202
202
|
border-top-right-radius: var(--radius-base);
|
|
203
203
|
border-bottom-right-radius: var(--radius-base);
|
|
204
204
|
}
|
|
205
205
|
|
|
206
|
-
.
|
|
206
|
+
._toolbarToggleItem_1bxeh_159, ._toolbarButton_1bxeh_187 {
|
|
207
207
|
border: 0;
|
|
208
208
|
background-color: transparent;
|
|
209
209
|
font-size: inherit;
|
|
@@ -216,31 +216,32 @@
|
|
|
216
216
|
padding: var(--spacing-1);
|
|
217
217
|
}
|
|
218
218
|
|
|
219
|
-
.
|
|
219
|
+
._toolbarToggleItem_1bxeh_159 svg, ._toolbarButton_1bxeh_187 svg {
|
|
220
220
|
display: block;
|
|
221
221
|
}
|
|
222
222
|
|
|
223
|
-
.
|
|
223
|
+
._toolbarToggleItem_1bxeh_159:hover, ._toolbarButton_1bxeh_187:hover {
|
|
224
224
|
background-color: var(--baseBgHover);
|
|
225
225
|
}
|
|
226
226
|
|
|
227
|
-
.
|
|
227
|
+
._toolbarToggleItem_1bxeh_159:active svg, ._toolbarButton_1bxeh_187:active svg {
|
|
228
228
|
transform: translate(1px, 1px);
|
|
229
229
|
}
|
|
230
230
|
|
|
231
|
-
.
|
|
231
|
+
._toolbarToggleItem_1bxeh_159[data-state=on], ._toolbarButton_1bxeh_187[data-state=on], ._toolbarToggleItem_1bxeh_159:active, ._toolbarButton_1bxeh_187:active {
|
|
232
232
|
background-color: var(--accentBgActive);
|
|
233
233
|
}
|
|
234
234
|
|
|
235
|
-
.
|
|
235
|
+
._toolbarButton_1bxeh_187 {
|
|
236
236
|
border-radius: var(--radius-base);
|
|
237
237
|
}
|
|
238
238
|
|
|
239
|
-
.
|
|
239
|
+
._toolbarToggleSingleGroup_1bxeh_173 {
|
|
240
240
|
white-space: nowrap;
|
|
241
241
|
}
|
|
242
242
|
|
|
243
|
-
.
|
|
243
|
+
._toolbarNodeKindSelectContainer_1bxeh_216, ._toolbarButtonDropdownContainer_1bxeh_217, ._toolbarCodeBlockLanguageSelectContent_1bxeh_218
|
|
244
|
+
{
|
|
244
245
|
z-index: 60;
|
|
245
246
|
width: var(--spacing-36);
|
|
246
247
|
border-bottom-left-radius: var(--radius-base);
|
|
@@ -249,11 +250,11 @@
|
|
|
249
250
|
font-size: var(--text-sm);
|
|
250
251
|
}
|
|
251
252
|
|
|
252
|
-
.
|
|
253
|
+
._toolbarButtonDropdownContainer_1bxeh_217 {
|
|
253
254
|
border-top-right-radius: var(--radius-base);
|
|
254
255
|
}
|
|
255
256
|
|
|
256
|
-
.
|
|
257
|
+
._toolbarNodeKindSelectTrigger_1bxeh_232, ._toolbarButtonSelectTrigger_1bxeh_233 {
|
|
257
258
|
border: 0;
|
|
258
259
|
background-color: transparent;
|
|
259
260
|
display: flex;
|
|
@@ -271,11 +272,11 @@
|
|
|
271
272
|
font-size: var(--text-sm);
|
|
272
273
|
}
|
|
273
274
|
|
|
274
|
-
.
|
|
275
|
+
._toolbarNodeKindSelectTrigger_1bxeh_232:hover, ._toolbarButtonSelectTrigger_1bxeh_233:hover {
|
|
275
276
|
background-color: var(--baseBgHover);
|
|
276
277
|
}
|
|
277
278
|
|
|
278
|
-
.
|
|
279
|
+
._toolbarNodeKindSelectTrigger_1bxeh_232[data-state=open], ._toolbarButtonSelectTrigger_1bxeh_233[data-state=open] {
|
|
279
280
|
border-bottom-right-radius: var(--radius-none);
|
|
280
281
|
border-bottom-left-radius: var(--radius-none);
|
|
281
282
|
background-color: var(--baseBgHover);
|
|
@@ -283,7 +284,7 @@
|
|
|
283
284
|
|
|
284
285
|
/** used in the sandpack */
|
|
285
286
|
|
|
286
|
-
.
|
|
287
|
+
._toolbarButtonSelectTrigger_1bxeh_233 {
|
|
287
288
|
width: auto;
|
|
288
289
|
-webkit-padding-start: var(--spacing-2) ;
|
|
289
290
|
padding-inline-start: var(--spacing-2) ;
|
|
@@ -291,57 +292,62 @@
|
|
|
291
292
|
padding-inline-end: var(--spacing-1);
|
|
292
293
|
}
|
|
293
294
|
|
|
294
|
-
.
|
|
295
|
+
._toolbarCodeBlockLanguageSelectTrigger_1bxeh_266, ._toolbarCodeBlockLanguageSelectContent_1bxeh_218
|
|
296
|
+
{
|
|
297
|
+
width: var(--spacing-48);
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
._toolbarNodeKindSelectItem_1bxeh_272 {
|
|
295
301
|
cursor: default;
|
|
296
302
|
display: flex;
|
|
297
303
|
padding: var(--spacing-2) var(--spacing-4);
|
|
298
304
|
}
|
|
299
305
|
|
|
300
|
-
.
|
|
306
|
+
._toolbarNodeKindSelectItem_1bxeh_272[data-highlighted] {
|
|
301
307
|
background-color: var(--baseBgSubtle);
|
|
302
308
|
}
|
|
303
309
|
|
|
304
|
-
.
|
|
310
|
+
._toolbarNodeKindSelectItem_1bxeh_272[data-state=checked] {
|
|
305
311
|
background-color: var(--accentBgActive);
|
|
306
312
|
}
|
|
307
313
|
|
|
308
|
-
.
|
|
314
|
+
._toolbarNodeKindSelectItem_1bxeh_272[data-highlighted] {
|
|
309
315
|
outline: none;
|
|
310
316
|
}
|
|
311
317
|
|
|
312
|
-
.
|
|
318
|
+
._toolbarNodeKindSelectItem_1bxeh_272:last-child {
|
|
313
319
|
border-bottom-left-radius: var(--radius-base);
|
|
314
320
|
border-bottom-right-radius: var(--radius-base);
|
|
315
321
|
}
|
|
316
322
|
|
|
317
|
-
.
|
|
323
|
+
._toolbarNodeKindSelectDropdownArrow_1bxeh_295 {
|
|
318
324
|
margin-left: auto;
|
|
319
325
|
}
|
|
320
326
|
|
|
321
|
-
.
|
|
327
|
+
._contentEditable_1bxeh_299 {
|
|
322
328
|
width: 100%;
|
|
323
329
|
color: var(--baseTextContrast);
|
|
324
330
|
}
|
|
325
331
|
|
|
326
|
-
.
|
|
332
|
+
._contentEditable_1bxeh_299:focus {
|
|
327
333
|
outline: none;
|
|
328
334
|
}
|
|
329
335
|
|
|
330
|
-
.
|
|
336
|
+
._sandpackWrapper_1bxeh_307 {
|
|
331
337
|
margin-bottom:var(--spacing-5);
|
|
332
338
|
}
|
|
333
339
|
|
|
334
|
-
.
|
|
340
|
+
._frontmatterWrapper_1bxeh_311 {
|
|
335
341
|
border-radius: var(--radius-medium);
|
|
336
342
|
padding: var(--spacing-3);
|
|
337
343
|
background-color: var(--baseBgSubtle);
|
|
338
344
|
}
|
|
339
345
|
|
|
340
|
-
.
|
|
346
|
+
._frontmatterWrapper_1bxeh_311[data-expanded=true] {
|
|
341
347
|
margin-bottom: var(--spacing-10);
|
|
342
348
|
}
|
|
343
349
|
|
|
344
|
-
.
|
|
350
|
+
._frontmatterToggleButton_1bxeh_321 {
|
|
345
351
|
border: 0;
|
|
346
352
|
background-color: transparent;
|
|
347
353
|
font-size: inherit;
|
|
@@ -357,32 +363,32 @@
|
|
|
357
363
|
font-size: var(--text-sm);
|
|
358
364
|
}
|
|
359
365
|
|
|
360
|
-
.
|
|
366
|
+
._frontmatterEditorTable_1bxeh_329 {
|
|
361
367
|
table-layout: fixed;
|
|
362
368
|
margin-top: var(--spacing-3);
|
|
363
369
|
border-spacing: var(--spacing-2);
|
|
364
370
|
}
|
|
365
371
|
|
|
366
|
-
.
|
|
372
|
+
._frontmatterEditorTable_1bxeh_329 th {
|
|
367
373
|
text-align: left;
|
|
368
374
|
font-size: var(--text-sm);
|
|
369
375
|
padding: var(--spacing-2) var(--spacing-3);
|
|
370
376
|
}
|
|
371
377
|
|
|
372
|
-
.
|
|
378
|
+
._frontmatterEditorTable_1bxeh_329 col:nth-child(1) {
|
|
373
379
|
width: 30%;
|
|
374
380
|
}
|
|
375
381
|
|
|
376
|
-
.
|
|
382
|
+
._frontmatterEditorTable_1bxeh_329 col:nth-child(2) {
|
|
377
383
|
width: 70%;
|
|
378
384
|
}
|
|
379
385
|
|
|
380
|
-
.
|
|
386
|
+
._frontmatterEditorTable_1bxeh_329 td:last-child ._iconButton_1bxeh_347 {
|
|
381
387
|
margin-left: var(--spacing-4);
|
|
382
388
|
margin-right: var(--spacing-4);
|
|
383
389
|
}
|
|
384
390
|
|
|
385
|
-
.
|
|
391
|
+
._frontmatterInput_1bxeh_353 {
|
|
386
392
|
border: 0;
|
|
387
393
|
background-color: transparent;
|
|
388
394
|
font-size: inherit;
|
|
@@ -400,7 +406,7 @@
|
|
|
400
406
|
font-size: var(--text-sm);
|
|
401
407
|
}
|
|
402
408
|
|
|
403
|
-
.
|
|
409
|
+
._iconButton_1bxeh_347 {
|
|
404
410
|
border: 0;
|
|
405
411
|
background-color: transparent;
|
|
406
412
|
font-size: inherit;
|
|
@@ -413,7 +419,7 @@
|
|
|
413
419
|
color:var(--baseText);
|
|
414
420
|
}
|
|
415
421
|
|
|
416
|
-
.
|
|
422
|
+
._primaryButton_1bxeh_368 {
|
|
417
423
|
border: 0;
|
|
418
424
|
background-color: transparent;
|
|
419
425
|
font-size: inherit;
|
|
@@ -431,19 +437,19 @@
|
|
|
431
437
|
border-radius: var(--radius-medium);
|
|
432
438
|
}
|
|
433
439
|
|
|
434
|
-
.
|
|
440
|
+
._linkDialogEditForm_1bxeh_378 {
|
|
435
441
|
display: flex;
|
|
436
442
|
align-items: center;
|
|
437
443
|
gap: var(--spacing-2);
|
|
438
444
|
}
|
|
439
445
|
|
|
440
|
-
.
|
|
446
|
+
._linkDialogInputContainer_1bxeh_384 {
|
|
441
447
|
display: flex;
|
|
442
448
|
flex-direction: column;
|
|
443
449
|
align-items: stretch;
|
|
444
450
|
}
|
|
445
451
|
|
|
446
|
-
.
|
|
452
|
+
._linkDialogInputWrapper_1bxeh_390 {
|
|
447
453
|
display: flex;
|
|
448
454
|
align-items: center;
|
|
449
455
|
background-color: var(--baseBase);
|
|
@@ -452,13 +458,13 @@
|
|
|
452
458
|
border:1px solid var(--baseBorder);
|
|
453
459
|
}
|
|
454
460
|
|
|
455
|
-
.
|
|
461
|
+
._linkDialogInputWrapper_1bxeh_390[data-visible-dropdown=true] {
|
|
456
462
|
border-bottom-left-radius: var(--radius-none) ;
|
|
457
463
|
border-bottom-right-radius: var(--radius-none) ;
|
|
458
464
|
border-bottom-width: 0;
|
|
459
465
|
}
|
|
460
466
|
|
|
461
|
-
.
|
|
467
|
+
._linkDialogInputWrapper_1bxeh_390 > button {
|
|
462
468
|
border: 0;
|
|
463
469
|
background-color: transparent;
|
|
464
470
|
font-size: inherit;
|
|
@@ -471,7 +477,7 @@
|
|
|
471
477
|
padding-right: var(--spacing-2);
|
|
472
478
|
}
|
|
473
479
|
|
|
474
|
-
.
|
|
480
|
+
._linkDialogInput_1bxeh_384 {
|
|
475
481
|
border: 0;
|
|
476
482
|
background-color: transparent;
|
|
477
483
|
font-size: inherit;
|
|
@@ -486,19 +492,19 @@
|
|
|
486
492
|
font-size: var(--text-sm);
|
|
487
493
|
}
|
|
488
494
|
|
|
489
|
-
.
|
|
495
|
+
._linkDialogInput_1bxeh_384::-moz-placeholder {
|
|
490
496
|
color: var(--baseBorder);
|
|
491
497
|
}
|
|
492
498
|
|
|
493
|
-
.
|
|
499
|
+
._linkDialogInput_1bxeh_384::placeholder {
|
|
494
500
|
color: var(--baseBorder);
|
|
495
501
|
}
|
|
496
502
|
|
|
497
|
-
.
|
|
503
|
+
._linkDialogAutocompleteContainer_1bxeh_420 {
|
|
498
504
|
position: relative;
|
|
499
505
|
}
|
|
500
506
|
|
|
501
|
-
.
|
|
507
|
+
._linkDialogAutocompleteContainer_1bxeh_420 ul {
|
|
502
508
|
all: unset;
|
|
503
509
|
box-sizing: border-box;
|
|
504
510
|
position: absolute;
|
|
@@ -515,11 +521,11 @@
|
|
|
515
521
|
background-color: var(--baseBase);
|
|
516
522
|
}
|
|
517
523
|
|
|
518
|
-
.
|
|
524
|
+
._linkDialogAutocompleteContainer_1bxeh_420 ul[data-visible=true] {
|
|
519
525
|
display: block;
|
|
520
526
|
}
|
|
521
527
|
|
|
522
|
-
.
|
|
528
|
+
._linkDialogAutocompleteContainer_1bxeh_420 ul li {
|
|
523
529
|
padding: var(--spacing-2) var(--spacing-3);
|
|
524
530
|
white-space: nowrap;
|
|
525
531
|
margin-bottom: var(--spacing-1);
|
|
@@ -527,34 +533,34 @@
|
|
|
527
533
|
text-overflow: ellipsis;
|
|
528
534
|
}
|
|
529
535
|
|
|
530
|
-
.
|
|
536
|
+
._linkDialogAutocompleteContainer_1bxeh_420 ul li[data-selected=true] {
|
|
531
537
|
background-color: var(--baseBgSubtle);
|
|
532
538
|
}
|
|
533
539
|
|
|
534
|
-
.
|
|
540
|
+
._linkDialogAutocompleteContainer_1bxeh_420 ul li[data-highlighted=true] {
|
|
535
541
|
background-color: var(--baseBgHover);
|
|
536
542
|
}
|
|
537
543
|
|
|
538
|
-
.
|
|
544
|
+
._linkDialogAutocompleteContainer_1bxeh_420 ul li:last-of-type {
|
|
539
545
|
border-bottom-left-radius: var(--radius-medium) ;
|
|
540
546
|
border-bottom-right-radius: var(--radius-medium) ;
|
|
541
547
|
}
|
|
542
548
|
|
|
543
|
-
.
|
|
549
|
+
._linkDialogAnchor_1bxeh_465 {
|
|
544
550
|
position: absolute;
|
|
545
551
|
background-color: highlight;
|
|
546
552
|
z-index: -1;
|
|
547
553
|
}
|
|
548
554
|
|
|
549
|
-
.
|
|
555
|
+
._linkDialogAnchor_1bxeh_465[data-visible=true] {
|
|
550
556
|
visibility: visible;
|
|
551
557
|
}
|
|
552
558
|
|
|
553
|
-
.
|
|
559
|
+
._linkDialogAnchor_1bxeh_465[data-visible=false] {
|
|
554
560
|
visibility: hidden;
|
|
555
561
|
}
|
|
556
562
|
|
|
557
|
-
.
|
|
563
|
+
._linkDialogPopoverContent_1bxeh_479, ._tableColumnEditorPopoverContent_1bxeh_479, ._dialogContent_1bxeh_479 {
|
|
558
564
|
filter: drop-shadow(0 1px 1px rgb(0 0 0 / 0.05));
|
|
559
565
|
display: flex;
|
|
560
566
|
align-items: center;
|
|
@@ -566,7 +572,7 @@
|
|
|
566
572
|
font-size: var(--text-sm);
|
|
567
573
|
}
|
|
568
574
|
|
|
569
|
-
.
|
|
575
|
+
._linkDialogPreviewAnchor_1bxeh_493 {
|
|
570
576
|
margin-right: var(--spacing-3);
|
|
571
577
|
display: flex;
|
|
572
578
|
align-items: flex-start;
|
|
@@ -575,20 +581,20 @@
|
|
|
575
581
|
border: 1px solid transparent;
|
|
576
582
|
}
|
|
577
583
|
|
|
578
|
-
.
|
|
584
|
+
._linkDialogPreviewAnchor_1bxeh_493 svg {
|
|
579
585
|
width: var(--spacing-5);
|
|
580
586
|
height: var(--spacing-5);
|
|
581
587
|
margin-left: var(--spacing-2);
|
|
582
588
|
}
|
|
583
589
|
|
|
584
|
-
.
|
|
590
|
+
._linkDialogPreviewAnchor_1bxeh_493 span {
|
|
585
591
|
max-width: 14rem;
|
|
586
592
|
overflow-x: hidden;
|
|
587
593
|
text-overflow: ellipsis;
|
|
588
594
|
white-space: nowrap;
|
|
589
595
|
}
|
|
590
596
|
|
|
591
|
-
.
|
|
597
|
+
._tooltipContent_1bxeh_515 {
|
|
592
598
|
border-radius: var(--radius-medium);
|
|
593
599
|
padding: var(--spacing-1) var(--spacing-2);
|
|
594
600
|
font-size: var(--text-xs);
|
|
@@ -596,11 +602,11 @@
|
|
|
596
602
|
color: var(--baseBase);
|
|
597
603
|
}
|
|
598
604
|
|
|
599
|
-
.
|
|
605
|
+
._tooltipContent_1bxeh_515 svg {
|
|
600
606
|
fill: var(--baseText);
|
|
601
607
|
}
|
|
602
608
|
|
|
603
|
-
.
|
|
609
|
+
._actionButton_1bxeh_527 {
|
|
604
610
|
border: 0;
|
|
605
611
|
background-color: transparent;
|
|
606
612
|
font-size: inherit;
|
|
@@ -615,33 +621,33 @@
|
|
|
615
621
|
border-radius: var(--radius-medium);
|
|
616
622
|
}
|
|
617
623
|
|
|
618
|
-
.
|
|
624
|
+
._actionButton_1bxeh_527 svg {
|
|
619
625
|
display: block;
|
|
620
626
|
}
|
|
621
627
|
|
|
622
|
-
.
|
|
628
|
+
._actionButton_1bxeh_527:hover {
|
|
623
629
|
background-color: var(--baseBgHover);
|
|
624
630
|
}
|
|
625
631
|
|
|
626
|
-
.
|
|
632
|
+
._actionButton_1bxeh_527:active svg {
|
|
627
633
|
transform: translate(1px, 1px);
|
|
628
634
|
}
|
|
629
635
|
|
|
630
|
-
.
|
|
636
|
+
._actionButton_1bxeh_527[data-state=on], ._actionButton_1bxeh_527:active {
|
|
631
637
|
background-color: var(--accentBgActive);
|
|
632
638
|
}
|
|
633
639
|
|
|
634
|
-
.
|
|
640
|
+
._primaryActionButton_1bxeh_533 {
|
|
635
641
|
background-color: var(--accentSolid);
|
|
636
642
|
color:var(--baseBase);
|
|
637
643
|
}
|
|
638
644
|
|
|
639
|
-
.
|
|
645
|
+
._primaryActionButton_1bxeh_533:hover {
|
|
640
646
|
background-color: var(--accentSolidHover);
|
|
641
647
|
color:var(--baseBase);
|
|
642
648
|
}
|
|
643
649
|
|
|
644
|
-
.
|
|
650
|
+
._tableEditor_1bxeh_542 {
|
|
645
651
|
table-layout: fixed;
|
|
646
652
|
width: 100%;
|
|
647
653
|
height: 100%;
|
|
@@ -649,50 +655,50 @@
|
|
|
649
655
|
border-collapse: collapse;
|
|
650
656
|
}
|
|
651
657
|
|
|
652
|
-
.
|
|
658
|
+
._tableEditor_1bxeh_542 thead > tr > th {
|
|
653
659
|
text-align: right;
|
|
654
660
|
}
|
|
655
661
|
|
|
656
|
-
.
|
|
662
|
+
._tableEditor_1bxeh_542 > tbody > tr > td:not(._toolCell_1bxeh_553) {
|
|
657
663
|
border: 1px solid var(--baseBorder);
|
|
658
664
|
padding: var(--spacing-1) var(--spacing-2);
|
|
659
665
|
white-space: normal;
|
|
660
666
|
}
|
|
661
667
|
|
|
662
|
-
.
|
|
668
|
+
._tableEditor_1bxeh_542 > tbody > tr > td:not(._toolCell_1bxeh_553) > div {
|
|
663
669
|
outline: none;
|
|
664
670
|
}
|
|
665
671
|
|
|
666
|
-
.
|
|
672
|
+
._tableEditor_1bxeh_542 > tbody > tr > td:not(._toolCell_1bxeh_553) > div > p {
|
|
667
673
|
margin: 0;
|
|
668
674
|
}
|
|
669
675
|
|
|
670
|
-
.
|
|
676
|
+
._tableEditor_1bxeh_542 > tbody > tr > td[data-active=true]:not(._toolCell_1bxeh_553) {
|
|
671
677
|
outline: solid 2px var(--accentSolid)
|
|
672
678
|
}
|
|
673
679
|
|
|
674
|
-
.
|
|
680
|
+
._tableEditor_1bxeh_542 ._tableColumnEditorTrigger_1bxeh_570, ._tableEditor_1bxeh_542 ._tableRowEditorTrigger_1bxeh_570, ._tableEditor_1bxeh_542 ._addRowButton_1bxeh_570, ._tableEditor_1bxeh_542 ._addColumnButton_1bxeh_570, ._tableEditor_1bxeh_542 ._iconButton_1bxeh_347 {
|
|
675
681
|
opacity: 0;
|
|
676
682
|
}
|
|
677
683
|
|
|
678
|
-
.
|
|
684
|
+
._tableEditor_1bxeh_542:hover ._tableColumnEditorTrigger_1bxeh_570, ._tableEditor_1bxeh_542:hover ._tableRowEditorTrigger_1bxeh_570, ._tableEditor_1bxeh_542:hover ._addRowButton_1bxeh_570, ._tableEditor_1bxeh_542:hover ._addColumnButton_1bxeh_570, ._tableEditor_1bxeh_542:hover ._iconButton_1bxeh_347 {
|
|
679
685
|
opacity: .3;
|
|
680
686
|
}
|
|
681
687
|
|
|
682
|
-
.
|
|
688
|
+
._tableEditor_1bxeh_542:hover ._tableColumnEditorTrigger_1bxeh_570:hover, ._tableEditor_1bxeh_542:hover ._tableRowEditorTrigger_1bxeh_570:hover, ._tableEditor_1bxeh_542:hover ._addRowButton_1bxeh_570:hover, ._tableEditor_1bxeh_542:hover ._addColumnButton_1bxeh_570:hover, ._tableEditor_1bxeh_542:hover ._iconButton_1bxeh_347:hover {
|
|
683
689
|
opacity: 1;
|
|
684
690
|
};
|
|
685
691
|
|
|
686
|
-
.
|
|
692
|
+
._toolCell_1bxeh_553 {
|
|
687
693
|
text-align: right;
|
|
688
694
|
}
|
|
689
695
|
|
|
690
|
-
.
|
|
696
|
+
._toolCell_1bxeh_553 button {
|
|
691
697
|
margin: auto;
|
|
692
698
|
display: block;
|
|
693
699
|
}
|
|
694
700
|
|
|
695
|
-
.
|
|
701
|
+
._tableColumnEditorTrigger_1bxeh_570 {
|
|
696
702
|
border: 0;
|
|
697
703
|
background-color: transparent;
|
|
698
704
|
font-size: inherit;
|
|
@@ -708,31 +714,31 @@
|
|
|
708
714
|
opacity: 0.2;
|
|
709
715
|
}
|
|
710
716
|
|
|
711
|
-
.
|
|
717
|
+
._tableColumnEditorTrigger_1bxeh_570 svg {
|
|
712
718
|
display: block;
|
|
713
719
|
}
|
|
714
720
|
|
|
715
|
-
.
|
|
721
|
+
._tableColumnEditorTrigger_1bxeh_570:hover {
|
|
716
722
|
background-color: var(--baseBgHover);
|
|
717
723
|
}
|
|
718
724
|
|
|
719
|
-
.
|
|
725
|
+
._tableColumnEditorTrigger_1bxeh_570:active svg {
|
|
720
726
|
transform: translate(1px, 1px);
|
|
721
727
|
}
|
|
722
728
|
|
|
723
|
-
.
|
|
729
|
+
._tableColumnEditorTrigger_1bxeh_570[data-state=on], ._tableColumnEditorTrigger_1bxeh_570:active {
|
|
724
730
|
background-color: var(--accentBgActive);
|
|
725
731
|
}
|
|
726
732
|
|
|
727
|
-
.
|
|
733
|
+
._tableColumnEditorTrigger_1bxeh_570[data-active=true] {
|
|
728
734
|
opacity: 1;
|
|
729
735
|
}
|
|
730
736
|
|
|
731
|
-
.
|
|
737
|
+
._tableColumnEditorToolbar_1bxeh_604 {
|
|
732
738
|
display: flex;
|
|
733
739
|
}
|
|
734
740
|
|
|
735
|
-
.
|
|
741
|
+
._tableColumnEditorToolbar_1bxeh_604 > button {
|
|
736
742
|
border: 0;
|
|
737
743
|
background-color: transparent;
|
|
738
744
|
font-size: inherit;
|
|
@@ -745,32 +751,32 @@
|
|
|
745
751
|
padding: var(--spacing-2);
|
|
746
752
|
}
|
|
747
753
|
|
|
748
|
-
.
|
|
754
|
+
._tableColumnEditorToolbar_1bxeh_604 > button svg {
|
|
749
755
|
display: block;
|
|
750
756
|
}
|
|
751
757
|
|
|
752
|
-
.
|
|
758
|
+
._tableColumnEditorToolbar_1bxeh_604 > button:hover {
|
|
753
759
|
background-color: var(--baseBgHover);
|
|
754
760
|
}
|
|
755
761
|
|
|
756
|
-
.
|
|
762
|
+
._tableColumnEditorToolbar_1bxeh_604 > button:active svg {
|
|
757
763
|
transform: translate(1px, 1px);
|
|
758
764
|
}
|
|
759
765
|
|
|
760
|
-
.
|
|
766
|
+
._tableColumnEditorToolbar_1bxeh_604 > button[data-state=on], ._tableColumnEditorToolbar_1bxeh_604 > button:active {
|
|
761
767
|
background-color: var(--accentBgActive);
|
|
762
768
|
}
|
|
763
769
|
|
|
764
|
-
.
|
|
770
|
+
._tableColumnEditorToolbar_1bxeh_604 [role=separator] {
|
|
765
771
|
margin-left: var(--spacing-1);
|
|
766
772
|
margin-right: var(--spacing-1);
|
|
767
773
|
}
|
|
768
774
|
|
|
769
|
-
.
|
|
775
|
+
._toggleGroupRoot_1bxeh_616 {
|
|
770
776
|
display: inline-flex;
|
|
771
777
|
}
|
|
772
778
|
|
|
773
|
-
.
|
|
779
|
+
._toggleGroupRoot_1bxeh_616 button {
|
|
774
780
|
border: 0;
|
|
775
781
|
background-color: transparent;
|
|
776
782
|
font-size: inherit;
|
|
@@ -783,54 +789,54 @@
|
|
|
783
789
|
padding: var(--spacing-2);
|
|
784
790
|
}
|
|
785
791
|
|
|
786
|
-
.
|
|
792
|
+
._toggleGroupRoot_1bxeh_616 button svg {
|
|
787
793
|
display: block;
|
|
788
794
|
}
|
|
789
795
|
|
|
790
|
-
.
|
|
796
|
+
._toggleGroupRoot_1bxeh_616 button:hover {
|
|
791
797
|
background-color: var(--baseBgHover);
|
|
792
798
|
}
|
|
793
799
|
|
|
794
|
-
.
|
|
800
|
+
._toggleGroupRoot_1bxeh_616 button:active svg {
|
|
795
801
|
transform: translate(1px, 1px);
|
|
796
802
|
}
|
|
797
803
|
|
|
798
|
-
.
|
|
804
|
+
._toggleGroupRoot_1bxeh_616 button[data-state=on], ._toggleGroupRoot_1bxeh_616 button:active {
|
|
799
805
|
background-color: var(--accentBgActive);
|
|
800
806
|
}
|
|
801
807
|
|
|
802
|
-
.
|
|
808
|
+
._toggleGroupRoot_1bxeh_616 button:first-child {
|
|
803
809
|
border-top-left-radius: var(--radius-base);
|
|
804
810
|
border-bottom-left-radius: var(--radius-base);
|
|
805
811
|
}
|
|
806
812
|
|
|
807
|
-
.
|
|
813
|
+
._toggleGroupRoot_1bxeh_616 button:last-child {
|
|
808
814
|
border-top-right-radius: var(--radius-base);
|
|
809
815
|
border-bottom-right-radius: var(--radius-base);
|
|
810
816
|
}
|
|
811
817
|
|
|
812
|
-
.
|
|
818
|
+
._tableToolsColumn_1bxeh_633 {
|
|
813
819
|
width: 3rem;
|
|
814
820
|
}
|
|
815
821
|
|
|
816
|
-
.
|
|
822
|
+
._tableToolsColumn_1bxeh_633 button {
|
|
817
823
|
margin: auto;
|
|
818
824
|
display: block;
|
|
819
825
|
}
|
|
820
826
|
|
|
821
|
-
.
|
|
827
|
+
._leftAlignedCell_1bxeh_641 {
|
|
822
828
|
text-align: left;
|
|
823
829
|
}
|
|
824
830
|
|
|
825
|
-
.
|
|
831
|
+
._rightAlignedCell_1bxeh_645 {
|
|
826
832
|
text-align: right;
|
|
827
833
|
}
|
|
828
834
|
|
|
829
|
-
.
|
|
835
|
+
._centeredCell_1bxeh_649 {
|
|
830
836
|
text-align: center;
|
|
831
837
|
}
|
|
832
838
|
|
|
833
|
-
.
|
|
839
|
+
._addColumnButton_1bxeh_570, ._addRowButton_1bxeh_570 {
|
|
834
840
|
border: 0;
|
|
835
841
|
background-color: transparent;
|
|
836
842
|
font-size: inherit;
|
|
@@ -848,62 +854,62 @@
|
|
|
848
854
|
border-radius: var(--radius-medium);
|
|
849
855
|
}
|
|
850
856
|
|
|
851
|
-
.
|
|
857
|
+
._addColumnButton_1bxeh_570 svg, ._addRowButton_1bxeh_570 svg {
|
|
852
858
|
display: block;
|
|
853
859
|
}
|
|
854
860
|
|
|
855
|
-
.
|
|
861
|
+
._addColumnButton_1bxeh_570:hover, ._addRowButton_1bxeh_570:hover {
|
|
856
862
|
background-color: var(--baseBgHover);
|
|
857
863
|
}
|
|
858
864
|
|
|
859
|
-
.
|
|
865
|
+
._addColumnButton_1bxeh_570:active svg, ._addRowButton_1bxeh_570:active svg {
|
|
860
866
|
transform: translate(1px, 1px);
|
|
861
867
|
}
|
|
862
868
|
|
|
863
|
-
.
|
|
869
|
+
._addColumnButton_1bxeh_570[data-state=on], ._addRowButton_1bxeh_570[data-state=on], ._addColumnButton_1bxeh_570:active, ._addRowButton_1bxeh_570:active {
|
|
864
870
|
background-color: var(--accentBgActive);
|
|
865
871
|
}
|
|
866
872
|
|
|
867
|
-
.
|
|
873
|
+
._addColumnButton_1bxeh_570 svg, ._addRowButton_1bxeh_570 svg {
|
|
868
874
|
margin: auto;
|
|
869
875
|
}
|
|
870
876
|
|
|
871
|
-
.
|
|
877
|
+
._addRowButton_1bxeh_570 {
|
|
872
878
|
width: 100%;
|
|
873
879
|
margin-top: var(--spacing-2);
|
|
874
880
|
box-sizing: border-box;
|
|
875
881
|
}
|
|
876
882
|
|
|
877
|
-
.
|
|
883
|
+
._addColumnButton_1bxeh_570 {
|
|
878
884
|
margin-left: var(--spacing-2);
|
|
879
885
|
height: 100%;
|
|
880
886
|
}
|
|
881
887
|
|
|
882
888
|
/** Dialog */
|
|
883
889
|
|
|
884
|
-
.
|
|
890
|
+
._dialogOverlay_1bxeh_677 {
|
|
885
891
|
position: fixed;
|
|
886
892
|
inset: 0;
|
|
887
|
-
animation:
|
|
893
|
+
animation: _overlayShow_1bxeh_1 150ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
888
894
|
background-color: var(--baseBase);
|
|
889
895
|
z-index: 51;
|
|
890
896
|
opacity: 0.5;
|
|
891
897
|
}
|
|
892
898
|
|
|
893
|
-
.
|
|
899
|
+
._dialogContent_1bxeh_479 {
|
|
894
900
|
position: fixed;
|
|
895
901
|
top: 50%;
|
|
896
902
|
left: 50%;
|
|
897
903
|
transform: translate(-50%, -50%);
|
|
898
|
-
animation:
|
|
904
|
+
animation: _contentShow_1bxeh_1 150ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
899
905
|
z-index: 52;
|
|
900
906
|
}
|
|
901
907
|
|
|
902
|
-
.
|
|
908
|
+
._dialogContent_1bxeh_479:focus {
|
|
903
909
|
outline: none;
|
|
904
910
|
}
|
|
905
911
|
|
|
906
|
-
@keyframes
|
|
912
|
+
@keyframes _overlayShow_1bxeh_1 {
|
|
907
913
|
from {
|
|
908
914
|
opacity: 0;
|
|
909
915
|
}
|
|
@@ -912,7 +918,7 @@
|
|
|
912
918
|
}
|
|
913
919
|
}
|
|
914
920
|
|
|
915
|
-
@keyframes
|
|
921
|
+
@keyframes _contentShow_1bxeh_1 {
|
|
916
922
|
from {
|
|
917
923
|
opacity: 0;
|
|
918
924
|
transform: translate(-50%, -48%) scale(0.96);
|