@ixo/editor 7.5.2 → 7.6.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/{CollectionLifecycleFlowDetail-2SRQUN4V.js → CollectionLifecycleFlowDetail-UL2HCPDI.js} +3 -6
- package/dist/CollectionLifecycleFlowDetail-UL2HCPDI.js.map +1 -0
- package/dist/{EvalEngineFlowDetail-FQAX4PJ5.js → EvalEngineFlowDetail-JTZWOUTV.js} +3 -6
- package/dist/EvalEngineFlowDetail-JTZWOUTV.js.map +1 -0
- package/dist/{chunk-5JEXVSJG.js → chunk-2SKTQGH5.js} +2 -2
- package/dist/chunk-H3UJUFQJ.js +344 -0
- package/dist/chunk-H3UJUFQJ.js.map +1 -0
- package/dist/{chunk-6S3WBLXO.js → chunk-KKTYO345.js} +2641 -2098
- package/dist/chunk-KKTYO345.js.map +1 -0
- package/dist/{chunk-FYPDR7DJ.js → chunk-QHZMBOXS.js} +13 -9
- package/dist/chunk-QHZMBOXS.js.map +1 -0
- package/dist/{connections-Cs5-9hGz.d.ts → connections-o7kw2vBI.d.ts} +1 -1
- package/dist/core/index.cjs +566 -215
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.ts +9 -7
- package/dist/core/index.js +16 -2
- package/dist/core/index.js.map +1 -1
- package/dist/graphql-client-D7Mnaei-.d.ts +536 -0
- package/dist/index-D99iLwsk.d.ts +112 -0
- package/dist/index.d.ts +4 -4
- package/dist/index.js +3 -3
- package/dist/mantine/index.d.ts +98 -105
- package/dist/mantine/index.js +54 -249
- package/dist/mantine/index.js.map +1 -1
- package/dist/{types-C6MmkH69.d.ts → types-6w9s8P5j.d.ts} +851 -1848
- package/package.json +18 -13
- package/style-core.css +286 -0
- package/style-mantine.css +8856 -19
- package/style-scoped.css +1478 -255
- package/style.css +8856 -19
- package/dist/CollectionLifecycleFlowDetail-2SRQUN4V.js.map +0 -1
- package/dist/EvalEngineFlowDetail-FQAX4PJ5.js.map +0 -1
- package/dist/chunk-6S3WBLXO.js.map +0 -1
- package/dist/chunk-FYPDR7DJ.js.map +0 -1
- package/dist/graphql-client-BanLWXV8.d.ts +0 -766
- package/dist/nodeContext-CV9D4s3X.d.ts +0 -45
- /package/dist/{chunk-5JEXVSJG.js.map → chunk-2SKTQGH5.js.map} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ixo/editor",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.6.0",
|
|
4
4
|
"description": "A custom BlockNote editor wrapper for IXO team",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -87,28 +87,33 @@
|
|
|
87
87
|
"peerDependencies": {
|
|
88
88
|
"@ixo/matrix-crdt": "*",
|
|
89
89
|
"@ixo/surveys": "^0.3.0",
|
|
90
|
-
"@mantine/core": "^
|
|
91
|
-
"@mantine/dates": "^
|
|
92
|
-
"@mantine/hooks": "^
|
|
90
|
+
"@mantine/core": "^8.3.18",
|
|
91
|
+
"@mantine/dates": "^8.3.18",
|
|
92
|
+
"@mantine/hooks": "^8.3.18",
|
|
93
93
|
"matrix-js-sdk": ">=37.5.0",
|
|
94
94
|
"react": "^18.0.0",
|
|
95
95
|
"react-dom": "^18.0.0"
|
|
96
96
|
},
|
|
97
97
|
"dependencies": {
|
|
98
|
-
"@blocknote/core": "0.
|
|
99
|
-
"@blocknote/mantine": "0.
|
|
100
|
-
"@blocknote/react": "0.
|
|
98
|
+
"@blocknote/core": "0.56.0",
|
|
99
|
+
"@blocknote/mantine": "0.56.0",
|
|
100
|
+
"@blocknote/react": "0.56.0",
|
|
101
101
|
"@dnd-kit/core": "^6.3.1",
|
|
102
102
|
"@ixo/ucan": "^2.2.0",
|
|
103
103
|
"@ucanto/core": "10.4.6",
|
|
104
104
|
"@tabler/icons-react": "3.35.0",
|
|
105
|
-
"@tiptap/core": "^
|
|
106
|
-
"@tiptap/extension-code": "^
|
|
105
|
+
"@tiptap/core": "^3.32.0",
|
|
106
|
+
"@tiptap/extension-code": "^3.32.0",
|
|
107
107
|
"ajv": "^8.17.1",
|
|
108
108
|
"blockstore-core": "^6.1.2",
|
|
109
109
|
"ipfs-unixfs-importer": "^16.1.1",
|
|
110
110
|
"multiformats": "^13.4.2",
|
|
111
|
-
"
|
|
111
|
+
"remark-gfm": "^4.0.1",
|
|
112
|
+
"remark-parse": "^11.0.0",
|
|
113
|
+
"unified": "^11.0.5",
|
|
114
|
+
"y-prosemirror": "1.3.7",
|
|
115
|
+
"y-protocols": "^1.0.7",
|
|
116
|
+
"yjs": "13.6.33",
|
|
112
117
|
"zustand": "5.0.8"
|
|
113
118
|
},
|
|
114
119
|
"devDependencies": {
|
|
@@ -119,9 +124,9 @@
|
|
|
119
124
|
"@eslint/js": "^9.36.0",
|
|
120
125
|
"@ixo/matrix-crdt": "1.3.3",
|
|
121
126
|
"@ixo/surveys": "^0.3.0",
|
|
122
|
-
"@mantine/core": "^
|
|
123
|
-
"@mantine/dates": "^
|
|
124
|
-
"@mantine/hooks": "^
|
|
127
|
+
"@mantine/core": "^8.3.18",
|
|
128
|
+
"@mantine/dates": "^8.3.18",
|
|
129
|
+
"@mantine/hooks": "^8.3.18",
|
|
125
130
|
"@semantic-release/changelog": "^6.0.3",
|
|
126
131
|
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
127
132
|
"@semantic-release/git": "^10.0.1",
|
package/style-core.css
CHANGED
|
@@ -82,6 +82,20 @@
|
|
|
82
82
|
min-height: 1.5em;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
+
/* Divider: one thin line in the text colour at low strength, like Notion */
|
|
86
|
+
.ixo-editor .bn-block-content[data-content-type='divider'] {
|
|
87
|
+
min-height: 0;
|
|
88
|
+
padding-block: 9px;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.ixo-editor [data-content-type='divider'] hr {
|
|
92
|
+
flex: 1;
|
|
93
|
+
height: 0;
|
|
94
|
+
margin: 0;
|
|
95
|
+
border: 0;
|
|
96
|
+
border-top: 1px solid color-mix(in srgb, var(--bn-colors-editor-text) 16%, transparent);
|
|
97
|
+
}
|
|
98
|
+
|
|
85
99
|
/* Disable text selection on custom (non-editable) blocks.
|
|
86
100
|
Standard text blocks re-enable it via .bn-inline-content below. */
|
|
87
101
|
.ixo-editor div.bn-block-content {
|
|
@@ -354,3 +368,275 @@ body.external-artifact-drag-active .prosemirror-dropcursor-inline {
|
|
|
354
368
|
.ixo-kyc-survey .sd-html [bgcolor] {
|
|
355
369
|
background: color-mix(in srgb, var(--mantine-color-text) 6%, transparent) !important;
|
|
356
370
|
}
|
|
371
|
+
|
|
372
|
+
/* `/` palette (CommandPalette) */
|
|
373
|
+
/* BlockNote caps the popup to the room on screen (inline max-height on its
|
|
374
|
+
parent); the palette takes that cap and its list shrinks to fit and scrolls. */
|
|
375
|
+
.ixo-palette {
|
|
376
|
+
display: flex;
|
|
377
|
+
flex-direction: column;
|
|
378
|
+
width: min(360px, calc(100vw - 32px));
|
|
379
|
+
max-height: inherit;
|
|
380
|
+
overflow: hidden;
|
|
381
|
+
background-color: var(--mantine-color-neutralColor-3);
|
|
382
|
+
border: 1px solid var(--mantine-color-neutralColor-5);
|
|
383
|
+
border-radius: 10px;
|
|
384
|
+
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
|
|
385
|
+
padding: 6px;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
.ixo-palette--loading {
|
|
389
|
+
padding: 12px;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
.ixo-palette__scroll {
|
|
393
|
+
flex: 0 1 auto;
|
|
394
|
+
min-height: 0;
|
|
395
|
+
max-height: 346px;
|
|
396
|
+
overflow-y: auto;
|
|
397
|
+
overflow-x: hidden;
|
|
398
|
+
scrollbar-width: none;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
.ixo-palette__scroll::-webkit-scrollbar {
|
|
402
|
+
display: none;
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
.ixo-palette__group {
|
|
406
|
+
padding: 10px 8px 4px;
|
|
407
|
+
font-size: 12px;
|
|
408
|
+
font-weight: 500;
|
|
409
|
+
line-height: 16px;
|
|
410
|
+
color: var(--mantine-color-neutralColor-7);
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
.ixo-palette__group:first-child {
|
|
414
|
+
padding-top: 4px;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
.ixo-palette__hint {
|
|
418
|
+
color: var(--mantine-color-neutralColor-7);
|
|
419
|
+
font-size: 14px;
|
|
420
|
+
text-align: center;
|
|
421
|
+
padding: 12px;
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
.ixo-palette__item {
|
|
425
|
+
display: flex;
|
|
426
|
+
align-items: center;
|
|
427
|
+
gap: 8px;
|
|
428
|
+
min-height: 32px;
|
|
429
|
+
padding: 4px 8px;
|
|
430
|
+
border-radius: 6px;
|
|
431
|
+
cursor: pointer;
|
|
432
|
+
transition: background-color 0.1s ease;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
.ixo-palette__item:hover,
|
|
436
|
+
.ixo-palette__item[data-selected] {
|
|
437
|
+
background-color: var(--mantine-color-neutralColor-4);
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
.ixo-palette__icon {
|
|
441
|
+
display: flex;
|
|
442
|
+
align-items: center;
|
|
443
|
+
justify-content: center;
|
|
444
|
+
flex: none;
|
|
445
|
+
width: 18px;
|
|
446
|
+
height: 18px;
|
|
447
|
+
color: var(--mantine-color-neutralColor-8);
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
.ixo-palette__icon svg {
|
|
451
|
+
width: 16px;
|
|
452
|
+
height: 16px;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
.ixo-palette__label {
|
|
456
|
+
flex: none;
|
|
457
|
+
max-width: 60%;
|
|
458
|
+
overflow: hidden;
|
|
459
|
+
text-overflow: ellipsis;
|
|
460
|
+
white-space: nowrap;
|
|
461
|
+
font-size: 14px;
|
|
462
|
+
font-weight: 500;
|
|
463
|
+
color: var(--mantine-color-neutralColor-8);
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
.ixo-palette__description {
|
|
467
|
+
flex: 1;
|
|
468
|
+
min-width: 0;
|
|
469
|
+
overflow: hidden;
|
|
470
|
+
text-overflow: ellipsis;
|
|
471
|
+
white-space: nowrap;
|
|
472
|
+
font-size: 13px;
|
|
473
|
+
color: var(--mantine-color-neutralColor-7);
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
/* Insert toolbar: floating pills above the page title */
|
|
477
|
+
.ixo-insert-toolbar {
|
|
478
|
+
position: sticky;
|
|
479
|
+
top: 8px;
|
|
480
|
+
z-index: 5;
|
|
481
|
+
display: flex;
|
|
482
|
+
align-items: center;
|
|
483
|
+
gap: 8px;
|
|
484
|
+
max-width: 964px;
|
|
485
|
+
margin: 8px auto 0 auto;
|
|
486
|
+
padding: 0 8px;
|
|
487
|
+
box-sizing: border-box;
|
|
488
|
+
pointer-events: none;
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
.ixo-insert-toolbar__pill {
|
|
492
|
+
display: inline-flex;
|
|
493
|
+
align-items: center;
|
|
494
|
+
gap: 2px;
|
|
495
|
+
height: 44px;
|
|
496
|
+
padding: 0 4px;
|
|
497
|
+
box-sizing: border-box;
|
|
498
|
+
border-radius: 999px;
|
|
499
|
+
background-color: var(--mantine-color-neutralColor-2);
|
|
500
|
+
border: 1px solid var(--mantine-color-neutralColor-3);
|
|
501
|
+
pointer-events: auto;
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
.ixo-insert-toolbar--header {
|
|
505
|
+
top: 0;
|
|
506
|
+
max-width: none;
|
|
507
|
+
margin: 0;
|
|
508
|
+
padding: 0 0 8px 0;
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
.ixo-insert-toolbar__slot {
|
|
512
|
+
display: inline-flex;
|
|
513
|
+
align-items: center;
|
|
514
|
+
gap: 8px;
|
|
515
|
+
pointer-events: auto;
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
.ixo-insert-toolbar__trailing {
|
|
519
|
+
margin-left: auto;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
button.ixo-insert-toolbar__profile {
|
|
523
|
+
font: inherit;
|
|
524
|
+
font-size: 15px;
|
|
525
|
+
font-weight: 500;
|
|
526
|
+
color: var(--mantine-color-text);
|
|
527
|
+
cursor: pointer;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
button.ixo-insert-toolbar__profile:focus-visible {
|
|
531
|
+
outline: 2px solid var(--mantine-color-accent-5);
|
|
532
|
+
outline-offset: 2px;
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
button.ixo-insert-toolbar__profile:hover {
|
|
536
|
+
background-color: var(--mantine-color-neutralColor-3);
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
.ixo-insert-toolbar__title {
|
|
540
|
+
max-width: 260px;
|
|
541
|
+
overflow: hidden;
|
|
542
|
+
text-overflow: ellipsis;
|
|
543
|
+
white-space: nowrap;
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
.ixo-insert-toolbar__profile {
|
|
547
|
+
gap: 8px;
|
|
548
|
+
padding: 0 16px 0 14px;
|
|
549
|
+
font-size: 15px;
|
|
550
|
+
font-weight: 500;
|
|
551
|
+
color: var(--mantine-color-text);
|
|
552
|
+
white-space: nowrap;
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
.ixo-insert-toolbar__menu {
|
|
556
|
+
border-radius: 16px !important;
|
|
557
|
+
padding: 6px !important;
|
|
558
|
+
max-height: min(70vh, 520px);
|
|
559
|
+
overflow-y: auto;
|
|
560
|
+
overscroll-behavior: contain;
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
.ixo-insert-toolbar__menu-item {
|
|
564
|
+
border-radius: 10px !important;
|
|
565
|
+
padding: 8px 10px !important;
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
.ixo-insert-toolbar__menu-label {
|
|
569
|
+
min-width: 0;
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
.ixo-insert-toolbar__item {
|
|
573
|
+
display: flex;
|
|
574
|
+
align-items: baseline;
|
|
575
|
+
gap: 8px;
|
|
576
|
+
min-width: 0;
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
.ixo-insert-toolbar__label {
|
|
580
|
+
font-size: 14px;
|
|
581
|
+
white-space: nowrap;
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
.ixo-insert-toolbar__description {
|
|
585
|
+
min-width: 0;
|
|
586
|
+
font-size: 13px;
|
|
587
|
+
color: var(--mantine-color-neutralColor-7);
|
|
588
|
+
white-space: nowrap;
|
|
589
|
+
overflow: hidden;
|
|
590
|
+
text-overflow: ellipsis;
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
.ixo-insert-toolbar__shortcut {
|
|
594
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
595
|
+
font-size: 11px;
|
|
596
|
+
padding: 1px 6px;
|
|
597
|
+
border-radius: 6px;
|
|
598
|
+
background-color: var(--mantine-color-neutralColor-3);
|
|
599
|
+
color: var(--mantine-color-neutralColor-7);
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
.ixo-insert-toolbar__quick {
|
|
603
|
+
display: none;
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
.ixo-insert-toolbar__hint {
|
|
607
|
+
color: var(--mantine-color-neutralColor-7) !important;
|
|
608
|
+
padding: 6px 12px 4px 12px;
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
@media (max-width: 992px) {
|
|
612
|
+
.ixo-insert-toolbar {
|
|
613
|
+
padding: 0 16px;
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
.ixo-insert-toolbar--header {
|
|
617
|
+
padding: 0 0 8px 0;
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
.ixo-insert-toolbar__title {
|
|
621
|
+
max-width: 120px;
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
.ixo-insert-toolbar .ixo-insert-toolbar__primary {
|
|
625
|
+
display: none;
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
.ixo-insert-toolbar__quick {
|
|
629
|
+
display: block;
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
.ixo-insert-toolbar__menu {
|
|
633
|
+
left: 16px !important;
|
|
634
|
+
width: calc(100vw - 32px) !important;
|
|
635
|
+
max-height: min(60vh, 480px);
|
|
636
|
+
}
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
.ixo-editor__end-space {
|
|
640
|
+
min-height: 96px;
|
|
641
|
+
cursor: text;
|
|
642
|
+
}
|