@pixerate/editor 0.171.0 → 0.174.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/README.md +4 -0
- package/dist/agent/index.cjs +28 -28
- package/dist/agent/index.js +3 -3
- package/dist/animation-editor/index.cjs +9 -9
- package/dist/animation-editor/index.js +1 -1
- package/dist/canvas/index.cjs +10 -10
- package/dist/canvas/index.js +2 -2
- package/dist/chart/index.cjs +156 -68
- package/dist/chart/index.d.cts +1 -0
- package/dist/chart/index.d.ts +1 -0
- package/dist/chart/index.js +91 -3
- package/dist/chart/layout-shared.d.cts +2 -1
- package/dist/chart/layout-shared.d.ts +2 -1
- package/dist/chart/layout.d.cts +5 -0
- package/dist/chart/layout.d.ts +5 -0
- package/dist/chart/tooltip.d.cts +53 -0
- package/dist/chart/tooltip.d.ts +53 -0
- package/dist/chart/types.d.cts +14 -0
- package/dist/chart/types.d.ts +14 -0
- package/dist/{chunk-CYKWYP6D.cjs → chunk-6DUEV36F.cjs} +14 -14
- package/dist/{chunk-7KWJEYIK.js → chunk-6G2NLMVK.js} +36 -4
- package/dist/{chunk-RUZQMYXH.cjs → chunk-A3A5TI6R.cjs} +43 -11
- package/dist/{chunk-SBAPXFPB.cjs → chunk-FHNGNL3V.cjs} +44 -44
- package/dist/{chunk-2F4GAZL5.cjs → chunk-GXEC4FS6.cjs} +16 -16
- package/dist/{chunk-T62BRXMS.js → chunk-IMHRN4ZZ.js} +1 -1
- package/dist/{chunk-N3ACT6VJ.js → chunk-KPWG3PSW.js} +1 -1
- package/dist/chunk-NZ3CTY7K.js +260 -0
- package/dist/{chunk-M52UCHVZ.js → chunk-OJQVKJYD.js} +12 -1
- package/dist/{chunk-YN4AYYBJ.js → chunk-OZSA5YEJ.js} +1 -1
- package/dist/{chunk-ZUPP4NKM.js → chunk-R2VHVQVY.js} +2 -2
- package/dist/{chunk-GD34ICEX.cjs → chunk-RLOIEDA3.cjs} +10 -10
- package/dist/{chunk-WOIXNDHV.cjs → chunk-TUXKLM5W.cjs} +13 -2
- package/dist/chunk-VCL7CB56.cjs +260 -0
- package/dist/{chunk-HCC2LBCW.js → chunk-WMVEYSOA.js} +1 -1
- package/dist/{chunk-3OSXHLIT.cjs → chunk-Z64NRDEH.cjs} +7 -7
- package/dist/commands/format.d.cts +43 -0
- package/dist/commands/format.d.ts +43 -0
- package/dist/commands/index.cjs +7 -1
- package/dist/commands/index.d.cts +1 -0
- package/dist/commands/index.d.ts +1 -0
- package/dist/commands/index.js +6 -0
- package/dist/effects/helpers.d.cts +11 -2
- package/dist/effects/helpers.d.ts +11 -2
- package/dist/effects/index.cjs +40 -34
- package/dist/effects/index.js +8 -2
- package/dist/effects/types.d.cts +2 -0
- package/dist/effects/types.d.ts +2 -0
- package/dist/extensions/index.cjs +5 -5
- package/dist/extensions/index.js +4 -4
- package/dist/image-editor/index.cjs +13 -13
- package/dist/image-editor/index.js +1 -1
- package/dist/index.cjs +16 -10
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +10 -4
- package/dist/paint-editor/index.cjs +7 -7
- package/dist/paint-editor/index.js +2 -2
- package/dist/vector/index.cjs +6 -6
- package/dist/vector/index.js +1 -1
- package/dist/video-editor/index.cjs +309 -309
- package/dist/video-editor/index.js +3 -3
- package/package.json +114 -11
- package/skills/pixerate-chart/SKILL.md +1 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createEffectAuthoringSession
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-WMVEYSOA.js";
|
|
4
4
|
import {
|
|
5
5
|
VIDEO_ADJUSTMENT_SCOPES,
|
|
6
6
|
VIDEO_BLEND_MODES,
|
|
@@ -148,7 +148,7 @@ import {
|
|
|
148
148
|
videoTransitionEase,
|
|
149
149
|
videoValueAt,
|
|
150
150
|
videoWipeRect
|
|
151
|
-
} from "../chunk-
|
|
151
|
+
} from "../chunk-OZSA5YEJ.js";
|
|
152
152
|
import "../chunk-EHLOCVWB.js";
|
|
153
153
|
import {
|
|
154
154
|
namedWithSuggestion
|
|
@@ -157,7 +157,7 @@ import {
|
|
|
157
157
|
EffectsSlot,
|
|
158
158
|
createEffectToolProvider,
|
|
159
159
|
isEffectError
|
|
160
|
-
} from "../chunk-
|
|
160
|
+
} from "../chunk-6G2NLMVK.js";
|
|
161
161
|
import "../chunk-V2ZCJRDM.js";
|
|
162
162
|
import {
|
|
163
163
|
defineEditorDocument
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pixerate/editor",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.174.0",
|
|
4
4
|
"description": "UI-agnostic rich text and media editing core library",
|
|
5
5
|
"author": "Pixerate",
|
|
6
6
|
"license": "MIT",
|
|
@@ -355,6 +355,12 @@
|
|
|
355
355
|
],
|
|
356
356
|
"sideEffects": false,
|
|
357
357
|
"dependencies": {
|
|
358
|
+
"@pixerate/markdown-conformance": "0.2.0"
|
|
359
|
+
},
|
|
360
|
+
"devDependencies": {
|
|
361
|
+
"@anthropic-ai/sdk": "1.1.0",
|
|
362
|
+
"@dagrejs/dagre": "^1.1.8",
|
|
363
|
+
"@tiptap/core": "^2.27.3",
|
|
358
364
|
"@tiptap/extension-character-count": "^2.27.3",
|
|
359
365
|
"@tiptap/extension-color": "^2.27.3",
|
|
360
366
|
"@tiptap/extension-highlight": "^2.27.3",
|
|
@@ -374,23 +380,18 @@
|
|
|
374
380
|
"@tiptap/extension-text-style": "^2.27.3",
|
|
375
381
|
"@tiptap/extension-typography": "^2.27.3",
|
|
376
382
|
"@tiptap/extension-underline": "^2.27.3",
|
|
383
|
+
"@tiptap/pm": "^2.27.3",
|
|
377
384
|
"@tiptap/starter-kit": "^2.27.3",
|
|
378
385
|
"@tiptap/suggestion": "^2.27.3",
|
|
379
|
-
"markdown-it": "^15.0.3",
|
|
380
|
-
"markdown-it-task-lists": "^2.1.1",
|
|
381
|
-
"prosemirror-markdown": "^1.13.9"
|
|
382
|
-
},
|
|
383
|
-
"devDependencies": {
|
|
384
|
-
"@anthropic-ai/sdk": "1.1.0",
|
|
385
|
-
"@dagrejs/dagre": "^1.1.8",
|
|
386
|
-
"@tiptap/core": "^2.27.3",
|
|
387
|
-
"@tiptap/pm": "^2.27.3",
|
|
388
386
|
"@types/dagre": "^0.7.54",
|
|
389
387
|
"@types/markdown-it": "^14.2.0",
|
|
390
388
|
"@types/node": "^26.6.5",
|
|
391
389
|
"assemblyscript": "0.28.20",
|
|
392
390
|
"fast-check": "^4.10.2",
|
|
391
|
+
"markdown-it": "^15.0.3",
|
|
392
|
+
"markdown-it-task-lists": "^2.1.1",
|
|
393
393
|
"mermaid": "12.2.0",
|
|
394
|
+
"prosemirror-markdown": "^1.13.9",
|
|
394
395
|
"tiptap-markdown": "^0.8.10",
|
|
395
396
|
"tsup": "^9.0.0",
|
|
396
397
|
"typescript": "^5.7.3",
|
|
@@ -399,11 +400,113 @@
|
|
|
399
400
|
"peerDependencies": {
|
|
400
401
|
"@dagrejs/dagre": "^1.1.8",
|
|
401
402
|
"@tiptap/core": "^2.27.3",
|
|
402
|
-
"@tiptap/
|
|
403
|
+
"@tiptap/extension-character-count": "^2.27.3",
|
|
404
|
+
"@tiptap/extension-color": "^2.27.3",
|
|
405
|
+
"@tiptap/extension-highlight": "^2.27.3",
|
|
406
|
+
"@tiptap/extension-image": "^2.27.3",
|
|
407
|
+
"@tiptap/extension-link": "^2.27.3",
|
|
408
|
+
"@tiptap/extension-mention": "^2.27.3",
|
|
409
|
+
"@tiptap/extension-placeholder": "^2.27.3",
|
|
410
|
+
"@tiptap/extension-subscript": "^2.27.3",
|
|
411
|
+
"@tiptap/extension-superscript": "^2.27.3",
|
|
412
|
+
"@tiptap/extension-table": "^2.27.3",
|
|
413
|
+
"@tiptap/extension-table-cell": "^2.27.3",
|
|
414
|
+
"@tiptap/extension-table-header": "^2.27.3",
|
|
415
|
+
"@tiptap/extension-table-row": "^2.27.3",
|
|
416
|
+
"@tiptap/extension-task-item": "^2.27.3",
|
|
417
|
+
"@tiptap/extension-task-list": "^2.27.3",
|
|
418
|
+
"@tiptap/extension-text-align": "^2.27.3",
|
|
419
|
+
"@tiptap/extension-text-style": "^2.27.3",
|
|
420
|
+
"@tiptap/extension-typography": "^2.27.3",
|
|
421
|
+
"@tiptap/extension-underline": "^2.27.3",
|
|
422
|
+
"@tiptap/pm": "^2.27.3",
|
|
423
|
+
"@tiptap/starter-kit": "^2.27.3",
|
|
424
|
+
"@tiptap/suggestion": "^2.27.3",
|
|
425
|
+
"markdown-it": "^15.0.3",
|
|
426
|
+
"markdown-it-task-lists": "^2.1.1",
|
|
427
|
+
"prosemirror-markdown": "^1.13.9"
|
|
403
428
|
},
|
|
404
429
|
"peerDependenciesMeta": {
|
|
405
430
|
"@dagrejs/dagre": {
|
|
406
431
|
"optional": true
|
|
432
|
+
},
|
|
433
|
+
"@tiptap/core": {
|
|
434
|
+
"optional": true
|
|
435
|
+
},
|
|
436
|
+
"@tiptap/extension-character-count": {
|
|
437
|
+
"optional": true
|
|
438
|
+
},
|
|
439
|
+
"@tiptap/extension-color": {
|
|
440
|
+
"optional": true
|
|
441
|
+
},
|
|
442
|
+
"@tiptap/extension-highlight": {
|
|
443
|
+
"optional": true
|
|
444
|
+
},
|
|
445
|
+
"@tiptap/extension-image": {
|
|
446
|
+
"optional": true
|
|
447
|
+
},
|
|
448
|
+
"@tiptap/extension-link": {
|
|
449
|
+
"optional": true
|
|
450
|
+
},
|
|
451
|
+
"@tiptap/extension-mention": {
|
|
452
|
+
"optional": true
|
|
453
|
+
},
|
|
454
|
+
"@tiptap/extension-placeholder": {
|
|
455
|
+
"optional": true
|
|
456
|
+
},
|
|
457
|
+
"@tiptap/extension-subscript": {
|
|
458
|
+
"optional": true
|
|
459
|
+
},
|
|
460
|
+
"@tiptap/extension-superscript": {
|
|
461
|
+
"optional": true
|
|
462
|
+
},
|
|
463
|
+
"@tiptap/extension-table": {
|
|
464
|
+
"optional": true
|
|
465
|
+
},
|
|
466
|
+
"@tiptap/extension-table-cell": {
|
|
467
|
+
"optional": true
|
|
468
|
+
},
|
|
469
|
+
"@tiptap/extension-table-header": {
|
|
470
|
+
"optional": true
|
|
471
|
+
},
|
|
472
|
+
"@tiptap/extension-table-row": {
|
|
473
|
+
"optional": true
|
|
474
|
+
},
|
|
475
|
+
"@tiptap/extension-task-item": {
|
|
476
|
+
"optional": true
|
|
477
|
+
},
|
|
478
|
+
"@tiptap/extension-task-list": {
|
|
479
|
+
"optional": true
|
|
480
|
+
},
|
|
481
|
+
"@tiptap/extension-text-align": {
|
|
482
|
+
"optional": true
|
|
483
|
+
},
|
|
484
|
+
"@tiptap/extension-text-style": {
|
|
485
|
+
"optional": true
|
|
486
|
+
},
|
|
487
|
+
"@tiptap/extension-typography": {
|
|
488
|
+
"optional": true
|
|
489
|
+
},
|
|
490
|
+
"@tiptap/extension-underline": {
|
|
491
|
+
"optional": true
|
|
492
|
+
},
|
|
493
|
+
"@tiptap/pm": {
|
|
494
|
+
"optional": true
|
|
495
|
+
},
|
|
496
|
+
"@tiptap/starter-kit": {
|
|
497
|
+
"optional": true
|
|
498
|
+
},
|
|
499
|
+
"@tiptap/suggestion": {
|
|
500
|
+
"optional": true
|
|
501
|
+
},
|
|
502
|
+
"markdown-it": {
|
|
503
|
+
"optional": true
|
|
504
|
+
},
|
|
505
|
+
"markdown-it-task-lists": {
|
|
506
|
+
"optional": true
|
|
507
|
+
},
|
|
508
|
+
"prosemirror-markdown": {
|
|
509
|
+
"optional": true
|
|
407
510
|
}
|
|
408
511
|
},
|
|
409
512
|
"scripts": {
|
|
@@ -156,6 +156,7 @@ Charts inside a rich-text document are not edited with these tools: use `insert_
|
|
|
156
156
|
| `check_chart_colors` | Check the chart's series (or slice) colours, or a `colors` list, for normal vision, protanopia, deuteranopia and tritanopia, and contrast against `surface` (default white). Returns the closest pair per vision and problems as sentences. Run after any colour change. |
|
|
157
157
|
| `recommend_chart` | Ranked chart types with a reason each, from `csv` when given, else the current data (series count, points, dates, negative values). Use before choosing a type. |
|
|
158
158
|
| `get_chart_trendline` | Read a trendline's fit (`series`, `index`): coefficients, R2, equation and point count, or the moving-average points. Fails when the fit needs more or positive values. |
|
|
159
|
+
| `get_chart_tooltip` | Read what a viewer sees when hovering a `category` (label or index), optionally narrowed to one `series`: the category label and each visible series' name, colour, value, share (percent-stacked and pie charts) and the value as the chart writes it. Returns null for charts without one value per category. Use it to quote a value exactly as formatted instead of formatting it yourself. |
|
|
159
160
|
| `get_chart_race_ranking` | Read who leads a bar race at a moment (`time`: a category label or index, fractional between time points; default the moment shown): the top `raceTopN` with rank, series id and value. Read-only; use it to describe the race instead of rendering frames. |
|
|
160
161
|
| `list_chart_map_regions` | List the registered maps and the regions of one (default the chart's map) with the ids and names categories may use, plus which of the chart's categories matched a region and which did not. Call it before loading map data and after, to fix unmatched labels. |
|
|
161
162
|
| `list_chart_presets` | List the quick layouts (`standard`, `minimal`, `labelled`, `legend-right`, `presentation`, `analysis`) and colour schemes (such as `default`, `okabe-ito`, `office`, monochrome) with what each changes. |
|