@lostgradient/cinder 0.16.1 → 0.19.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/CHANGELOG.md +203 -0
- package/README.md +33 -11
- package/components.json +54 -102
- package/dist/_internal/chart/chart-utilities.d.ts +1 -0
- package/dist/cli/index.js +64 -11
- package/dist/cli/mcp-dependencies.d.ts +4 -0
- package/dist/cli/types.d.ts +1 -0
- package/dist/components/approval-card/approval-card.css +1 -6
- package/dist/components/approval-card/index.js +171 -64
- package/dist/components/area-chart/index.js +40 -6
- package/dist/components/bar-chart/index.js +132 -83
- package/dist/components/code-block/index.js +133 -17
- package/dist/components/combobox/combobox.schema.js +14 -1
- package/dist/components/combobox/combobox.svelte.d.ts +12 -12
- package/dist/components/combobox/combobox.types.d.ts +11 -5
- package/dist/components/combobox/index.js +94 -16
- package/dist/components/command-menu/command-menu.css +9 -0
- package/dist/components/command-menu/index.js +7 -2
- package/dist/components/diff-statistics/diff-statistics.svelte.d.ts +3 -3
- package/dist/components/event-stream-viewer/index.js +3 -2
- package/dist/components/file-upload/file-upload.schema.js +5 -1
- package/dist/components/file-upload/file-upload.types.d.ts +2 -0
- package/dist/components/file-upload/index.js +37 -27
- package/dist/components/invocation-rule-builder/index.d.ts +1 -1
- package/dist/components/invocation-rule-builder/index.js +3656 -389
- package/dist/components/invocation-rule-builder/invocation-rule-builder.css +22 -0
- package/dist/components/invocation-rule-builder/invocation-rule-builder.schema.d.ts +2 -2
- package/dist/components/invocation-rule-builder/invocation-rule-builder.schema.js +309 -193
- package/dist/components/invocation-rule-builder/invocation-rule-builder.svelte.d.ts +3 -2
- package/dist/components/invocation-rule-builder/invocation-rule-builder.types.d.ts +98 -31
- package/dist/components/json-editor/index.d.ts +5 -0
- package/dist/components/json-editor/index.js +329 -0
- package/dist/components/json-editor/json-editor-enhancement.d.ts +7 -0
- package/dist/components/json-editor/json-editor-enhancement.js +201 -0
- package/dist/components/json-editor/json-editor.css +117 -0
- package/dist/components/{diff-viewer/diff-viewer.schema.js → json-editor/json-editor.schema.js} +40 -48
- package/dist/components/json-editor/json-editor.svelte.d.ts +21 -0
- package/dist/components/json-editor/json-editor.types.d.ts +27 -0
- package/dist/components/{diff-viewer/diff-viewer.variables.js → json-editor/json-editor.variables.js} +4 -4
- package/dist/components/json-schema-editor/index.js +2041 -4165
- package/dist/components/json-schema-editor/json-schema-editor-state.svelte.d.ts +17 -1
- package/dist/components/json-schema-editor/json-schema-editor-types.d.ts +8 -1
- package/dist/components/json-schema-editor/json-schema-editor.css +35 -0
- package/dist/components/json-schema-editor/json-schema-editor.svelte.d.ts +0 -1
- package/dist/components/json-schema-editor/json-schema-validator.d.ts +9 -4
- package/dist/components/line-chart/index.js +40 -6
- package/dist/components/matrix-chart/index.js +40 -6
- package/dist/components/payload-inspector/index.js +10 -2
- package/dist/components/payload-inspector/payload-inspector.schema.js +11 -1
- package/dist/components/payload-inspector/payload-inspector.types.d.ts +20 -0
- package/dist/components/run-step-timeline/index.js +160 -111
- package/dist/components/run-step-timeline/run-step-timeline.css +46 -0
- package/dist/components/run-step-timeline/run-step-timeline.schema.js +26 -1
- package/dist/components/run-step-timeline/run-step-timeline.types.d.ts +22 -2
- package/dist/components/schedule-builder/index.js +165 -93
- package/dist/components/schedule-builder/schedule-builder.schema.js +8 -1
- package/dist/components/schedule-builder/schedule-builder.svelte.d.ts +1 -1
- package/dist/components/schedule-builder/schedule-builder.types.d.ts +12 -0
- package/dist/components/schema-form/index.d.ts +1 -1
- package/dist/components/schema-form/index.js +107 -25
- package/dist/components/schema-form/schema-form.schema.js +9 -1
- package/dist/components/schema-form/schema-form.svelte.d.ts +1 -1
- package/dist/components/schema-form/schema-form.types.d.ts +8 -0
- package/dist/components/sidebar/index.js +93 -42
- package/dist/components/sidebar/sidebar.css +7 -16
- package/dist/components/sidebar/sidebar.schema.js +8 -9
- package/dist/components/sidebar/sidebar.types.d.ts +14 -12
- package/dist/components/source-diff-viewer/source-diff-viewer.svelte.d.ts +2 -2
- package/dist/components/spectrogram/index.js +40 -6
- package/dist/components/spectrum-chart/index.js +40 -6
- package/dist/components/status-dot/index.js +3 -2
- package/dist/components/tabs/tabs.css +2 -0
- package/dist/components/textarea/textarea.svelte.d.ts +1 -1
- package/dist/components/toast-region/index.js +2 -2
- package/dist/components/toast-region/toast-region.css +1 -1
- package/dist/components/waveform/index.js +40 -6
- package/dist/highlighters/shiki/default.d.ts +5 -0
- package/dist/highlighters/shiki/default.js +278 -0
- package/dist/highlighters/shiki/index.d.ts +54 -5
- package/dist/highlighters/shiki/index.js +102 -16
- package/dist/index.d.ts +4 -4
- package/dist/index.js +15642 -16181
- package/dist/server/components/access-gate/index.js +2 -5
- package/dist/server/components/approval-card/index.js +3 -3
- package/dist/server/components/area-chart/index.js +3 -3
- package/dist/server/components/bar-chart/index.js +3 -3
- package/dist/server/components/combobox/index.js +5 -3
- package/dist/server/components/command-menu/index.js +1 -1
- package/dist/server/components/context-menu/index.js +5 -5
- package/dist/server/components/data-table/index.js +2 -2
- package/dist/server/components/diff-statistics/index.js +3 -5
- package/dist/server/components/dropdown/index.js +6 -7
- package/dist/server/components/event-stream-viewer/index.js +2 -2
- package/dist/server/components/file-upload/index.js +2 -3
- package/dist/server/components/icons/index.js +17 -26
- package/dist/server/components/inline-loading/index.js +1 -1
- package/dist/server/components/invocation-rule-builder/index.js +15 -2
- package/dist/server/components/json-editor/index.js +13 -0
- package/dist/server/components/json-editor/json-editor-enhancement.js +150 -0
- package/dist/server/components/json-schema-editor/index.js +4 -16
- package/dist/server/components/line-chart/index.js +3 -3
- package/dist/server/components/matrix-chart/index.js +2 -2
- package/dist/server/components/menu-bar/index.js +4 -4
- package/dist/server/components/payload-inspector/index.js +2 -2
- package/dist/server/components/run-step-timeline/index.js +2 -2
- package/dist/server/components/schedule-builder/index.js +3 -3
- package/dist/server/components/schema-form/index.js +1 -1
- package/dist/server/components/selection-popover/index.js +3 -5
- package/dist/server/components/sidebar/index.js +1 -1
- package/dist/server/components/spectrogram/index.js +2 -2
- package/dist/server/components/spectrum-chart/index.js +2 -2
- package/dist/server/components/status-dot/index.js +2 -2
- package/dist/server/components/surface/index.js +3 -5
- package/dist/server/components/table/index.js +2 -2
- package/dist/server/components/tabs/index.js +5 -5
- package/dist/server/components/toast-region/index.js +1 -1
- package/dist/server/components/toolbar/index.js +2 -3
- package/dist/server/components/waveform/index.js +2 -2
- package/dist/server/highlighters/shiki/default.js +39 -0
- package/dist/server/highlighters/shiki/index.js +9 -97
- package/dist/server/index.js +110 -119
- package/dist/server/{index.server-7yfz2t73.js → index.server-003t81xk.js} +1 -1
- package/dist/server/{index.server-gwgm8gqg.js → index.server-032p855q.js} +4 -4
- package/dist/server/{index.server-npxtkwjp.js → index.server-0gg1njz4.js} +3 -2
- package/dist/server/{index.server-c5qv3p61.js → index.server-0hjcds3y.js} +93 -47
- package/dist/server/{index.server-tf2n3ccm.js → index.server-1vfhzhkj.js} +1 -1
- package/dist/server/{index.server-bf7d81b4.js → index.server-20km2ga0.js} +17 -19
- package/dist/server/{index.server-jz5yxwde.js → index.server-4cbqjf14.js} +16 -7
- package/dist/server/{index.server-g5jgq3jp.js → index.server-62593nnh.js} +41 -7
- package/dist/server/{index.server-aqethy0w.js → index.server-66nm5gd5.js} +102 -26
- package/dist/server/{index.server-m0ezemav.js → index.server-6mnbznbt.js} +4 -2
- package/dist/server/{index.server-1nq8h5yb.js → index.server-6vbpz6dd.js} +40 -6
- package/dist/server/{index.server-796hb0r8.js → index.server-7qak74fg.js} +1 -1
- package/dist/server/{index.server-5exh7rmw.js → index.server-7ygdwxre.js} +57 -5
- package/dist/server/{index.server-q1d48s9t.js → index.server-8c6cck0y.js} +6 -4
- package/dist/server/{index.server-m8ya4p7w.js → index.server-8grn4zd3.js} +74 -14
- package/dist/server/{index.server-ep81fn23.js → index.server-9eccb2fc.js} +2 -2
- package/dist/server/{index.server-zncgb7mw.js → index.server-9nac5z11.js} +92 -49
- package/dist/server/index.server-c9gtmre4.js +178 -0
- package/dist/server/{index.server-nt304e00.js → index.server-dx58qant.js} +1 -1
- package/dist/server/{index.server-zh3r8vfd.js → index.server-fhrqsg97.js} +1 -1
- package/dist/server/{index.server-dq0k0qf6.js → index.server-geq56xaz.js} +10 -10
- package/dist/server/{index.server-51sxnete.js → index.server-hxveaqg1.js} +10 -10
- package/dist/server/{index.server-tez36va4.js → index.server-kvn6cj65.js} +1 -1
- package/dist/server/{index.server-s5g7reqp.js → index.server-mewms9dg.js} +2 -2
- package/dist/server/index.server-mm728d0w.js +20 -0
- package/dist/server/{index.server-5mc2vsy0.js → index.server-n0rbn5yf.js} +4 -2
- package/dist/server/{index.server-qv0kkre4.js → index.server-ng8y854r.js} +188 -107
- package/dist/server/{index.server-wasj5rbh.js → index.server-q5gvb174.js} +4 -4
- package/dist/server/{index.server-x1dha7bk.js → index.server-rnddtcb3.js} +4 -2
- package/dist/server/{index.server-7zpzspk6.js → index.server-s4wm4g2a.js} +30 -2
- package/dist/server/index.server-szgghcdh.js +887 -0
- package/dist/server/index.server-v73af5rk.js +111 -0
- package/dist/server/{index.server-thcda9ny.js → index.server-vd302sxz.js} +11 -4
- package/dist/server/{index.server-3sq9d73w.js → index.server-vz9hqkdq.js} +2 -2
- package/dist/server/{index.server-mvjzcna5.js → index.server-wg6ddzpa.js} +42 -20
- package/dist/server/{index.server-qke3ekjt.js → index.server-ww54rv4y.js} +1 -1
- package/dist/server/index.server-x4a15jpm.js +9 -0
- package/dist/server/{index.server-67q8dmbp.js → index.server-y2ncgt7p.js} +1 -1
- package/dist/server/{index.server-4x91gzy1.js → index.server-yqhww50r.js} +4 -4
- package/dist/server/{index.server-7798gc22.js → index.server-zfx4magq.js} +4 -2
- package/dist/utilities/json-highlight.d.ts +2 -0
- package/package.json +63 -288
- package/src/_internal/chart/chart-utilities.ts +74 -5
- package/src/components/approval-card/approval-card-actions.svelte +12 -28
- package/src/components/approval-card/approval-card.css +1 -6
- package/src/components/bar-chart/bar-chart.examples.json +1 -1
- package/src/components/bar-chart/bar-chart.svelte +3 -1
- package/src/components/code-block/code-block-default-highlighter.ts +2 -2
- package/src/components/combobox/combobox.schema.json +13 -0
- package/src/components/combobox/combobox.schema.ts +13 -0
- package/src/components/combobox/combobox.svelte +100 -14
- package/src/components/combobox/combobox.types.ts +11 -5
- package/src/components/command-menu/command-menu.css +9 -0
- package/src/components/command-menu/command-menu.svelte +9 -2
- package/src/components/file-upload/file-upload.schema.json +4 -0
- package/src/components/file-upload/file-upload.schema.ts +4 -0
- package/src/components/file-upload/file-upload.svelte +3 -3
- package/src/components/file-upload/file-upload.types.ts +2 -0
- package/src/components/invocation-rule-builder/index.ts +1 -0
- package/src/components/invocation-rule-builder/invocation-rule-builder.css +22 -0
- package/src/components/invocation-rule-builder/invocation-rule-builder.examples.json +6 -0
- package/src/components/invocation-rule-builder/invocation-rule-builder.schema.json +70 -7
- package/src/components/invocation-rule-builder/invocation-rule-builder.schema.ts +5 -250
- package/src/components/invocation-rule-builder/invocation-rule-builder.svelte +136 -99
- package/src/components/invocation-rule-builder/invocation-rule-builder.types.ts +145 -62
- package/src/components/json-editor/index.ts +6 -0
- package/src/components/json-editor/json-editor-enhancement.ts +48 -0
- package/src/components/json-editor/json-editor.css +117 -0
- package/src/components/json-editor/json-editor.examples.json +13 -0
- package/src/components/json-editor/json-editor.schema.json +61 -0
- package/src/components/json-editor/json-editor.schema.ts +67 -0
- package/src/components/json-editor/json-editor.svelte +164 -0
- package/src/components/json-editor/json-editor.types.ts +31 -0
- package/src/components/json-schema-editor/diff-view.svelte +26 -8
- package/src/components/json-schema-editor/form-view.svelte +1 -1
- package/src/components/json-schema-editor/json-schema-editor-state.svelte.ts +163 -56
- package/src/components/json-schema-editor/json-schema-editor-types.ts +8 -1
- package/src/components/json-schema-editor/json-schema-editor.css +35 -0
- package/src/components/json-schema-editor/json-schema-validator.ts +59 -25
- package/src/components/json-schema-editor/json-view.svelte +52 -18
- package/src/components/payload-inspector/payload-inspector.schema.json +8 -0
- package/src/components/payload-inspector/payload-inspector.schema.ts +10 -0
- package/src/components/payload-inspector/payload-inspector.svelte +2 -2
- package/src/components/payload-inspector/payload-inspector.types.ts +20 -0
- package/src/components/run-step-timeline/run-step-timeline.css +46 -0
- package/src/components/run-step-timeline/run-step-timeline.examples.json +3 -3
- package/src/components/run-step-timeline/run-step-timeline.schema.json +24 -0
- package/src/components/run-step-timeline/run-step-timeline.schema.ts +26 -0
- package/src/components/run-step-timeline/run-step-timeline.svelte +41 -4
- package/src/components/run-step-timeline/run-step-timeline.types.ts +22 -1
- package/src/components/run-step-timeline/run-step-timeline.utilities.ts +9 -1
- package/src/components/schedule-builder/schedule-builder.schema.json +7 -0
- package/src/components/schedule-builder/schedule-builder.schema.ts +8 -0
- package/src/components/schedule-builder/schedule-builder.svelte +94 -22
- package/src/components/schedule-builder/schedule-builder.types.ts +12 -0
- package/src/components/schema-form/index.ts +1 -0
- package/src/components/schema-form/schema-form-body.svelte +94 -17
- package/src/components/schema-form/schema-form.examples.json +1 -1
- package/src/components/schema-form/schema-form.schema.json +5 -0
- package/src/components/schema-form/schema-form.schema.ts +6 -0
- package/src/components/schema-form/schema-form.svelte +4 -0
- package/src/components/schema-form/schema-form.types.ts +9 -0
- package/src/components/side-navigation/side-navigation.examples.json +1 -1
- package/src/components/sidebar/sidebar.css +7 -16
- package/src/components/sidebar/sidebar.examples.json +3 -3
- package/src/components/sidebar/sidebar.schema.json +7 -8
- package/src/components/sidebar/sidebar.schema.ts +8 -8
- package/src/components/sidebar/sidebar.svelte +65 -27
- package/src/components/sidebar/sidebar.types.ts +14 -12
- package/src/components/status-dot/status-dot.svelte +6 -1
- package/src/components/tabs/tabs.css +2 -0
- package/src/components/toast-region/toast-region.css +1 -1
- package/src/components/toast-region/toast-region.examples.json +1 -1
- package/src/components/toast-region/toast-region.svelte +2 -2
- package/src/highlighters/shiki/default.ts +46 -0
- package/src/highlighters/shiki/index.ts +232 -23
- package/src/index.ts +5 -7
- package/src/styles/components.css +1 -1
- package/src/utilities/change-tracker.svelte.ts +1 -1
- package/src/utilities/json-highlight.ts +5 -0
- package/dist/commentary/anchor-decorations.d.ts +0 -86
- package/dist/commentary/anchor-decorations.js +0 -490
- package/dist/commentary/anchoring.d.ts +0 -93
- package/dist/commentary/anchoring.js +0 -157
- package/dist/commentary/comments/index.d.ts +0 -12
- package/dist/commentary/comments/index.js +0 -14
- package/dist/commentary/comments/mentions.d.ts +0 -43
- package/dist/commentary/comments/mentions.js +0 -65
- package/dist/commentary/comments/reanchor.d.ts +0 -86
- package/dist/commentary/comments/reanchor.js +0 -220
- package/dist/commentary/comments/types.d.ts +0 -260
- package/dist/commentary/comments/types.js +0 -83
- package/dist/commentary/comments/updates.d.ts +0 -102
- package/dist/commentary/comments/updates.js +0 -226
- package/dist/commentary/export/comments-export.d.ts +0 -42
- package/dist/commentary/export/comments-export.js +0 -258
- package/dist/commentary/export/index.d.ts +0 -12
- package/dist/commentary/export/index.js +0 -12
- package/dist/commentary/export/markdown-summary.d.ts +0 -31
- package/dist/commentary/export/markdown-summary.js +0 -218
- package/dist/commentary/export/types.d.ts +0 -162
- package/dist/commentary/export/types.js +0 -7
- package/dist/commentary/export/unified-diff.d.ts +0 -28
- package/dist/commentary/export/unified-diff.js +0 -250
- package/dist/commentary/index.d.ts +0 -6
- package/dist/commentary/index.js +0 -6
- package/dist/commentary/session/index.d.ts +0 -12
- package/dist/commentary/session/index.js +0 -14
- package/dist/commentary/session/persistence.d.ts +0 -92
- package/dist/commentary/session/persistence.js +0 -253
- package/dist/commentary/session/types.d.ts +0 -208
- package/dist/commentary/session/types.js +0 -26
- package/dist/commentary/session/updates.d.ts +0 -155
- package/dist/commentary/session/updates.js +0 -362
- package/dist/commentary/shared/anchor-types.d.ts +0 -116
- package/dist/commentary/shared/anchor-types.js +0 -9
- package/dist/components/diff-viewer/diff-controller.svelte.d.ts +0 -75
- package/dist/components/diff-viewer/diff-front-matter.svelte.d.ts +0 -28
- package/dist/components/diff-viewer/diff-line.svelte.d.ts +0 -22
- package/dist/components/diff-viewer/diff-summary-bar.svelte.d.ts +0 -13
- package/dist/components/diff-viewer/diff-toolbar.svelte.d.ts +0 -36
- package/dist/components/diff-viewer/diff-viewer.svelte.d.ts +0 -22
- package/dist/components/diff-viewer/diff-viewer.types.d.ts +0 -53
- package/dist/components/diff-viewer/front-matter-header.svelte.d.ts +0 -26
- package/dist/components/diff-viewer/index.d.ts +0 -4
- package/dist/components/diff-viewer/index.js +0 -2848
- package/dist/components/markdown-editor/editor-skeleton.svelte.d.ts +0 -10
- package/dist/components/markdown-editor/editor-toolbar/editor-toolbar.svelte.d.ts +0 -37
- package/dist/components/markdown-editor/editor-toolbar/index.d.ts +0 -11
- package/dist/components/markdown-editor/editor-toolbar/link-popover.svelte.d.ts +0 -30
- package/dist/components/markdown-editor/editor-toolbar/toolbar-button.svelte.d.ts +0 -19
- package/dist/components/markdown-editor/editor-toolbar/toolbar-dropdown.svelte.d.ts +0 -24
- package/dist/components/markdown-editor/editor-toolbar/toolbar-separator.svelte.d.ts +0 -7
- package/dist/components/markdown-editor/editor-toolbar/types.d.ts +0 -13
- package/dist/components/markdown-editor/index.css +0 -61
- package/dist/components/markdown-editor/index.d.ts +0 -4
- package/dist/components/markdown-editor/index.js +0 -7494
- package/dist/components/markdown-editor/markdown-editor.schema.d.ts +0 -3
- package/dist/components/markdown-editor/markdown-editor.schema.js +0 -177
- package/dist/components/markdown-editor/markdown-editor.svelte.d.ts +0 -29
- package/dist/components/markdown-editor/markdown-editor.types.d.ts +0 -100
- package/dist/components/markdown-editor/markdown-editor.variables.d.ts +0 -2
- package/dist/components/markdown-editor/markdown-editor.variables.js +0 -61
- package/dist/components/review-editor/comment-composer.svelte.d.ts +0 -37
- package/dist/components/review-editor/comment-list.svelte.d.ts +0 -19
- package/dist/components/review-editor/comment-sidebar.svelte.d.ts +0 -22
- package/dist/components/review-editor/export-actions.svelte.d.ts +0 -18
- package/dist/components/review-editor/focus-navigation.d.ts +0 -105
- package/dist/components/review-editor/front-matter-fields.svelte.d.ts +0 -10
- package/dist/components/review-editor/index.d.ts +0 -20
- package/dist/components/review-editor/index.js +0 -14731
- package/dist/components/review-editor/live-region.svelte.d.ts +0 -23
- package/dist/components/review-editor/review-editor-anchors.svelte.d.ts +0 -96
- package/dist/components/review-editor/review-editor-controls.svelte.d.ts +0 -41
- package/dist/components/review-editor/review-editor-exports.d.ts +0 -80
- package/dist/components/review-editor/review-editor-front-matter.d.ts +0 -28
- package/dist/components/review-editor/review-editor-impl.svelte.d.ts +0 -31
- package/dist/components/review-editor/review-editor-selection-geometry.d.ts +0 -10
- package/dist/components/review-editor/review-editor-selection-types.d.ts +0 -62
- package/dist/components/review-editor/review-editor-selection.svelte.d.ts +0 -50
- package/dist/components/review-editor/review-editor-state.svelte.d.ts +0 -77
- package/dist/components/review-editor/review-editor-threads.svelte.d.ts +0 -137
- package/dist/components/review-editor/review-editor.css +0 -273
- package/dist/components/review-editor/review-editor.schema.d.ts +0 -3
- package/dist/components/review-editor/review-editor.schema.js +0 -143
- package/dist/components/review-editor/review-editor.svelte.d.ts +0 -19
- package/dist/components/review-editor/review-editor.types.d.ts +0 -77
- package/dist/components/review-editor/review-editor.variables.d.ts +0 -2
- package/dist/components/review-editor/review-editor.variables.js +0 -61
- package/dist/components/review-editor/thread-popover.svelte.d.ts +0 -32
- package/dist/diff/index.d.ts +0 -2
- package/dist/diff/index.js +0 -1
- package/dist/diff/line-diff.d.ts +0 -84
- package/dist/diff/line-diff.js +0 -372
- package/dist/diff/types.d.ts +0 -1
- package/dist/diff/types.js +0 -1
- package/dist/editor/attach.d.ts +0 -30
- package/dist/editor/attach.js +0 -86
- package/dist/editor/bridge.d.ts +0 -110
- package/dist/editor/bridge.js +0 -260
- package/dist/editor/clipboard.d.ts +0 -19
- package/dist/editor/clipboard.js +0 -189
- package/dist/editor/commands.d.ts +0 -167
- package/dist/editor/commands.js +0 -728
- package/dist/editor/component-runtime.d.ts +0 -21
- package/dist/editor/component-runtime.js +0 -20
- package/dist/editor/editor.d.ts +0 -23
- package/dist/editor/editor.js +0 -256
- package/dist/editor/index.d.ts +0 -30
- package/dist/editor/index.js +0 -42
- package/dist/editor/keymap-plugin.d.ts +0 -56
- package/dist/editor/keymap-plugin.js +0 -157
- package/dist/editor/link-input-rule.d.ts +0 -4
- package/dist/editor/link-input-rule.js +0 -26
- package/dist/editor/milkdown-plugin-runtime.d.ts +0 -20
- package/dist/editor/milkdown-plugin-runtime.js +0 -43
- package/dist/editor/placeholder-security.d.ts +0 -22
- package/dist/editor/placeholder-security.js +0 -36
- package/dist/editor/placeholder.d.ts +0 -14
- package/dist/editor/placeholder.js +0 -56
- package/dist/editor/sanitize-html.d.ts +0 -32
- package/dist/editor/sanitize-html.js +0 -111
- package/dist/editor/template-completion-plugin.d.ts +0 -159
- package/dist/editor/template-completion-plugin.js +0 -615
- package/dist/editor/template-invalid-decoration-plugin.d.ts +0 -73
- package/dist/editor/template-invalid-decoration-plugin.js +0 -155
- package/dist/editor/template-placeholders.d.ts +0 -96
- package/dist/editor/template-placeholders.js +0 -355
- package/dist/editor/template-position-utilities.d.ts +0 -34
- package/dist/editor/template-position-utilities.js +0 -63
- package/dist/editor/template-render.d.ts +0 -37
- package/dist/editor/template-render.js +0 -45
- package/dist/editor/test-utilities.d.ts +0 -49
- package/dist/editor/test-utilities.js +0 -93
- package/dist/editor/types.d.ts +0 -234
- package/dist/editor/types.js +0 -8
- package/dist/markdown/diff/compute.d.ts +0 -28
- package/dist/markdown/diff/compute.js +0 -250
- package/dist/markdown/diff/frontmatter.d.ts +0 -66
- package/dist/markdown/diff/frontmatter.js +0 -135
- package/dist/markdown/diff/index.d.ts +0 -27
- package/dist/markdown/diff/index.js +0 -28
- package/dist/markdown/diff/line-diff.d.ts +0 -2
- package/dist/markdown/diff/line-diff.js +0 -1
- package/dist/markdown/diff/positions.d.ts +0 -66
- package/dist/markdown/diff/positions.js +0 -147
- package/dist/markdown/diff/types.d.ts +0 -78
- package/dist/markdown/diff/types.js +0 -7
- package/dist/markdown/index.d.ts +0 -2
- package/dist/markdown/index.js +0 -8
- package/dist/markdown/pipeline/ast.d.ts +0 -302
- package/dist/markdown/pipeline/ast.js +0 -417
- package/dist/markdown/pipeline/errors.d.ts +0 -37
- package/dist/markdown/pipeline/errors.js +0 -49
- package/dist/markdown/pipeline/frontmatter.d.ts +0 -127
- package/dist/markdown/pipeline/frontmatter.js +0 -438
- package/dist/markdown/pipeline/index.d.ts +0 -37
- package/dist/markdown/pipeline/index.js +0 -40
- package/dist/markdown/pipeline/parser.d.ts +0 -65
- package/dist/markdown/pipeline/parser.js +0 -106
- package/dist/markdown/pipeline/serializer.d.ts +0 -67
- package/dist/markdown/pipeline/serializer.js +0 -78
- package/dist/markdown/pipeline/strip-positions.d.ts +0 -20
- package/dist/markdown/pipeline/strip-positions.js +0 -28
- package/dist/markdown/pipeline/types.d.ts +0 -116
- package/dist/markdown/pipeline/types.js +0 -8
- package/dist/markdown/rendering/extract-code-blocks.d.ts +0 -16
- package/dist/markdown/rendering/extract-code-blocks.js +0 -27
- package/dist/markdown/rendering/highlighter.d.ts +0 -109
- package/dist/markdown/rendering/highlighter.js +0 -251
- package/dist/markdown/rendering/index.d.ts +0 -41
- package/dist/markdown/rendering/index.js +0 -46
- package/dist/markdown/rendering/mermaid-cache.d.ts +0 -55
- package/dist/markdown/rendering/mermaid-cache.js +0 -123
- package/dist/markdown/rendering/rehype-shiki-sync.d.ts +0 -57
- package/dist/markdown/rendering/rehype-shiki-sync.js +0 -354
- package/dist/markdown/rendering/render-async.d.ts +0 -43
- package/dist/markdown/rendering/render-async.js +0 -114
- package/dist/markdown/rendering/render-streaming.d.ts +0 -33
- package/dist/markdown/rendering/render-streaming.js +0 -123
- package/dist/markdown/rendering/render-worker.d.ts +0 -19
- package/dist/markdown/rendering/render-worker.js +0 -35
- package/dist/markdown/rendering/render.d.ts +0 -123
- package/dist/markdown/rendering/render.js +0 -477
- package/dist/markdown/rendering/sanitize-schema.d.ts +0 -24
- package/dist/markdown/rendering/sanitize-schema.js +0 -105
- package/dist/markdown/rendering/transform-urls.d.ts +0 -37
- package/dist/markdown/rendering/transform-urls.js +0 -51
- package/dist/markdown/rendering/types.d.ts +0 -51
- package/dist/markdown/rendering/types.js +0 -8
- package/dist/markdown/rendering/worker-dom-shim.d.ts +0 -87
- package/dist/markdown/rendering/worker-dom-shim.js +0 -50
- package/dist/markdown/utilities/safe-url.d.ts +0 -100
- package/dist/markdown/utilities/safe-url.js +0 -236
- package/dist/markdown/utilities/sort-keys.d.ts +0 -19
- package/dist/markdown/utilities/sort-keys.js +0 -33
- package/dist/server/commentary/anchor-decorations.js +0 -490
- package/dist/server/commentary/anchoring.js +0 -157
- package/dist/server/commentary/comments/index.js +0 -14
- package/dist/server/commentary/comments/mentions.js +0 -65
- package/dist/server/commentary/comments/reanchor.js +0 -220
- package/dist/server/commentary/comments/types.js +0 -83
- package/dist/server/commentary/comments/updates.js +0 -226
- package/dist/server/commentary/export/comments-export.js +0 -258
- package/dist/server/commentary/export/index.js +0 -12
- package/dist/server/commentary/export/markdown-summary.js +0 -218
- package/dist/server/commentary/export/types.js +0 -7
- package/dist/server/commentary/export/unified-diff.js +0 -250
- package/dist/server/commentary/index.js +0 -6
- package/dist/server/commentary/session/index.js +0 -14
- package/dist/server/commentary/session/persistence.js +0 -253
- package/dist/server/commentary/session/types.js +0 -26
- package/dist/server/commentary/session/updates.js +0 -362
- package/dist/server/commentary/shared/anchor-types.js +0 -9
- package/dist/server/components/diff-viewer/index.js +0 -33
- package/dist/server/components/markdown-editor/index.js +0 -52
- package/dist/server/components/review-editor/index.js +0 -3493
- package/dist/server/diff/index.js +0 -1
- package/dist/server/diff/line-diff.js +0 -372
- package/dist/server/diff/types.js +0 -1
- package/dist/server/editor/attach.js +0 -86
- package/dist/server/editor/bridge.js +0 -260
- package/dist/server/editor/clipboard.js +0 -189
- package/dist/server/editor/commands.js +0 -728
- package/dist/server/editor/component-runtime.js +0 -20
- package/dist/server/editor/editor.js +0 -256
- package/dist/server/editor/index.js +0 -42
- package/dist/server/editor/keymap-plugin.js +0 -157
- package/dist/server/editor/link-input-rule.js +0 -26
- package/dist/server/editor/milkdown-plugin-runtime.js +0 -43
- package/dist/server/editor/placeholder-security.js +0 -36
- package/dist/server/editor/placeholder.js +0 -56
- package/dist/server/editor/sanitize-html.js +0 -111
- package/dist/server/editor/template-completion-plugin.js +0 -615
- package/dist/server/editor/template-invalid-decoration-plugin.js +0 -155
- package/dist/server/editor/template-placeholders.js +0 -355
- package/dist/server/editor/template-position-utilities.js +0 -63
- package/dist/server/editor/template-render.js +0 -45
- package/dist/server/editor/test-utilities.js +0 -93
- package/dist/server/editor/types.js +0 -8
- package/dist/server/index.server-25wmev4e.js +0 -2
- package/dist/server/index.server-2c56kqws.js +0 -187
- package/dist/server/index.server-45n4s30n.js +0 -35
- package/dist/server/index.server-4jkqgp17.js +0 -1026
- package/dist/server/index.server-8nm871y8.js +0 -176
- package/dist/server/index.server-d04aj37r.js +0 -62
- package/dist/server/index.server-dg19y3m7.js +0 -9
- package/dist/server/index.server-g3726bja.js +0 -9
- package/dist/server/index.server-gyzmkrnz.js +0 -2
- package/dist/server/index.server-jp19145t.js +0 -9
- package/dist/server/index.server-n4jxy52q.js +0 -2
- package/dist/server/index.server-sghkqw5x.js +0 -421
- package/dist/server/index.server-w6am2dxc.js +0 -12
- package/dist/server/index.server-x66zvjfc.js +0 -1163
- package/dist/server/index.server-zdhv33ph.js +0 -124
- package/dist/server/index.server-zke5zt13.js +0 -9
- package/dist/server/markdown/diff/compute.js +0 -250
- package/dist/server/markdown/diff/frontmatter.js +0 -135
- package/dist/server/markdown/diff/index.js +0 -28
- package/dist/server/markdown/diff/line-diff.js +0 -1
- package/dist/server/markdown/diff/positions.js +0 -147
- package/dist/server/markdown/diff/types.js +0 -7
- package/dist/server/markdown/index.js +0 -8
- package/dist/server/markdown/pipeline/ast.js +0 -417
- package/dist/server/markdown/pipeline/errors.js +0 -49
- package/dist/server/markdown/pipeline/frontmatter.js +0 -438
- package/dist/server/markdown/pipeline/index.js +0 -40
- package/dist/server/markdown/pipeline/parser.js +0 -106
- package/dist/server/markdown/pipeline/serializer.js +0 -78
- package/dist/server/markdown/pipeline/strip-positions.js +0 -28
- package/dist/server/markdown/pipeline/types.js +0 -8
- package/dist/server/markdown/rendering/extract-code-blocks.js +0 -27
- package/dist/server/markdown/rendering/highlighter.js +0 -251
- package/dist/server/markdown/rendering/index.js +0 -46
- package/dist/server/markdown/rendering/mermaid-cache.js +0 -123
- package/dist/server/markdown/rendering/rehype-shiki-sync.js +0 -354
- package/dist/server/markdown/rendering/render-async.js +0 -114
- package/dist/server/markdown/rendering/render-streaming.js +0 -123
- package/dist/server/markdown/rendering/render-worker.js +0 -35
- package/dist/server/markdown/rendering/render.js +0 -477
- package/dist/server/markdown/rendering/sanitize-schema.js +0 -105
- package/dist/server/markdown/rendering/transform-urls.js +0 -51
- package/dist/server/markdown/rendering/types.js +0 -8
- package/dist/server/markdown/rendering/worker-dom-shim.js +0 -50
- package/dist/server/markdown/utilities/safe-url.js +0 -236
- package/dist/server/markdown/utilities/sort-keys.js +0 -33
- package/src/components/diff-viewer/diff-controller.svelte.ts +0 -250
- package/src/components/diff-viewer/diff-front-matter.svelte +0 -52
- package/src/components/diff-viewer/diff-line.svelte +0 -340
- package/src/components/diff-viewer/diff-summary-bar.svelte +0 -106
- package/src/components/diff-viewer/diff-toolbar.svelte +0 -182
- package/src/components/diff-viewer/diff-viewer.examples.json +0 -25
- package/src/components/diff-viewer/diff-viewer.schema.json +0 -61
- package/src/components/diff-viewer/diff-viewer.schema.ts +0 -70
- package/src/components/diff-viewer/diff-viewer.svelte +0 -400
- package/src/components/diff-viewer/diff-viewer.types.ts +0 -56
- package/src/components/diff-viewer/front-matter-header.svelte +0 -137
- package/src/components/diff-viewer/index.ts +0 -5
- package/src/components/markdown-editor/editor-skeleton.svelte +0 -85
- package/src/components/markdown-editor/editor-toolbar/editor-toolbar.svelte +0 -318
- package/src/components/markdown-editor/editor-toolbar/index.ts +0 -18
- package/src/components/markdown-editor/editor-toolbar/link-popover.svelte +0 -314
- package/src/components/markdown-editor/editor-toolbar/toolbar-button.svelte +0 -97
- package/src/components/markdown-editor/editor-toolbar/toolbar-dropdown.svelte +0 -106
- package/src/components/markdown-editor/editor-toolbar/toolbar-separator.svelte +0 -30
- package/src/components/markdown-editor/editor-toolbar/types.ts +0 -15
- package/src/components/markdown-editor/index.ts +0 -10
- package/src/components/markdown-editor/markdown-editor.examples.json +0 -19
- package/src/components/markdown-editor/markdown-editor.schema.json +0 -111
- package/src/components/markdown-editor/markdown-editor.schema.ts +0 -122
- package/src/components/markdown-editor/markdown-editor.svelte +0 -872
- package/src/components/markdown-editor/markdown-editor.types.ts +0 -124
- package/src/components/markdown-editor/markdown-editor.variables.json +0 -1
- package/src/components/markdown-editor/markdown-editor.variables.ts +0 -3
- package/src/components/markdown-editor/prosemirror.css +0 -76
- package/src/components/review-editor/comment-composer.svelte +0 -271
- package/src/components/review-editor/comment-list.svelte +0 -311
- package/src/components/review-editor/comment-sidebar.svelte +0 -449
- package/src/components/review-editor/export-actions.svelte +0 -188
- package/src/components/review-editor/focus-navigation.ts +0 -220
- package/src/components/review-editor/front-matter-fields.svelte +0 -159
- package/src/components/review-editor/index.ts +0 -59
- package/src/components/review-editor/live-region.svelte +0 -109
- package/src/components/review-editor/review-editor-anchors.svelte.ts +0 -219
- package/src/components/review-editor/review-editor-controls.svelte +0 -201
- package/src/components/review-editor/review-editor-exports.ts +0 -145
- package/src/components/review-editor/review-editor-front-matter.ts +0 -237
- package/src/components/review-editor/review-editor-impl.svelte +0 -1509
- package/src/components/review-editor/review-editor-selection-geometry.ts +0 -31
- package/src/components/review-editor/review-editor-selection-types.ts +0 -68
- package/src/components/review-editor/review-editor-selection.svelte.ts +0 -292
- package/src/components/review-editor/review-editor-state.svelte.ts +0 -117
- package/src/components/review-editor/review-editor-threads.svelte.ts +0 -435
- package/src/components/review-editor/review-editor.css +0 -273
- package/src/components/review-editor/review-editor.examples.json +0 -19
- package/src/components/review-editor/review-editor.schema.json +0 -83
- package/src/components/review-editor/review-editor.schema.ts +0 -88
- package/src/components/review-editor/review-editor.svelte +0 -18
- package/src/components/review-editor/review-editor.types.ts +0 -92
- package/src/components/review-editor/review-editor.variables.json +0 -1
- package/src/components/review-editor/review-editor.variables.ts +0 -3
- package/src/components/review-editor/thread-popover.svelte +0 -261
- /package/dist/components/{review-editor/review-editor.css.d.ts → json-editor/json-editor.css.d.ts} +0 -0
- /package/dist/components/{diff-viewer/diff-viewer.schema.d.ts → json-editor/json-editor.schema.d.ts} +0 -0
- /package/dist/components/{diff-viewer/diff-viewer.variables.d.ts → json-editor/json-editor.variables.d.ts} +0 -0
- /package/src/components/{diff-viewer/diff-viewer.variables.json → json-editor/json-editor.variables.json} +0 -0
- /package/src/components/{diff-viewer/diff-viewer.variables.ts → json-editor/json-editor.variables.ts} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,208 @@
|
|
|
1
1
|
# @lostgradient/cinder
|
|
2
2
|
|
|
3
|
+
## 0.19.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#876](https://github.com/stevekinney/cinder/pull/876) [`cb98477`](https://github.com/stevekinney/cinder/commit/cb98477807816e19c7736e0ca875c8b1bddfe838) Thanks [@stevekinney](https://github.com/stevekinney)! - Add `@lostgradient/cinder/highlighters/shiki/curated`, a curated adapter entrypoint where `shikiHighlighter` accepts `languageLoaders` and `themeLoaders` maps so Vite consumers can ship only the Shiki grammars and themes they use.
|
|
8
|
+
|
|
9
|
+
## 0.18.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [#872](https://github.com/stevekinney/cinder/pull/872) [`e12e2e9`](https://github.com/stevekinney/cinder/commit/e12e2e97c200f4bcb8586bdc6dc2dd95a1e74dfe) Thanks [@stevekinney](https://github.com/stevekinney)! - Allow conditions-only `InvocationRuleBuilder` fields to accept arbitrary keys through a free-text combobox while retaining `fieldOptions` as suggestions and type metadata.
|
|
14
|
+
|
|
15
|
+
- [#874](https://github.com/stevekinney/cinder/pull/874) [`4bb7c93`](https://github.com/stevekinney/cinder/commit/4bb7c93ea3ad4741a515026f21197513ac4889a2) Thanks [@stevekinney](https://github.com/stevekinney)! - Add an opt-in lazy-highlighted mode to `JsonEditor` with inline JSON parse annotations while keeping the native textarea contract as the default.
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- [#870](https://github.com/stevekinney/cinder/pull/870) [`92e7ab3`](https://github.com/stevekinney/cinder/commit/92e7ab3ff9d05176f08498c5f0948a4d6827d153) Thanks [@stevekinney](https://github.com/stevekinney)! - Expose StatusDot labels as accessible names when live connection indicators hide their visible label.
|
|
20
|
+
|
|
21
|
+
## 0.17.0
|
|
22
|
+
|
|
23
|
+
### Minor Changes
|
|
24
|
+
|
|
25
|
+
- [#852](https://github.com/stevekinney/cinder/pull/852) [`ffbbb2f`](https://github.com/stevekinney/cinder/commit/ffbbb2f3b6fc9ac8bbb14c598716e49cff72c517) Thanks [@stevekinney](https://github.com/stevekinney)! - Add a controlled, accessible JsonEditor primitive with native textarea editing, parse feedback, and no code-editor bundle dependency.
|
|
26
|
+
|
|
27
|
+
- [#861](https://github.com/stevekinney/cinder/pull/861) [`caa5b36`](https://github.com/stevekinney/cinder/commit/caa5b36ea46511a8e62f514d89e2f4a5726f9fc9) Thanks [@stevekinney](https://github.com/stevekinney)! - Finish the markdown/editor extraction (Phases 4 and 5 of the package-boundaries plan, see
|
|
28
|
+
`docs/decisions/package-boundaries.md`). This is the breaking-change release train that pays off
|
|
29
|
+
the whole extraction: `@lostgradient/cinder` no longer exposes `./markdown/*`, `./editor/*`, or
|
|
30
|
+
`./commentary/*` at all. Every consumer that used those subpaths must depend on
|
|
31
|
+
`@lostgradient/markdown` or `@lostgradient/editor` directly.
|
|
32
|
+
|
|
33
|
+
## Migration table
|
|
34
|
+
|
|
35
|
+
| Removed cinder subpath | New home |
|
|
36
|
+
| ----------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
37
|
+
| `@lostgradient/cinder/markdown` and every `./markdown/*` subpath | `@lostgradient/markdown` (same subpath shape, e.g. `./markdown/pipeline` → `@lostgradient/markdown/pipeline`, `./markdown/diff/line-diff` → `@lostgradient/markdown/diff/line-diff`, `./markdown/rendering*` → `@lostgradient/markdown/rendering*`) |
|
|
38
|
+
| `@lostgradient/cinder/editor`, `./editor/component-runtime`, `./editor/test-utilities` | `@lostgradient/editor/editor`, `@lostgradient/editor/editor/component-runtime`, `@lostgradient/editor/editor/test-utilities` |
|
|
39
|
+
| `@lostgradient/cinder/editor/sanitize-html`, `/template-placeholders`, `/template-render` | `@lostgradient/markdown/templates/sanitize-html`, `/template-placeholders`, `/template-render` |
|
|
40
|
+
| `@lostgradient/cinder/commentary` (root) and every `./commentary/*` subpath | `@lostgradient/editor` root barrel and its matching subpath (e.g. `./commentary/anchor-decorations` → `@lostgradient/editor/anchor-decorations`, `./commentary/comments` → `@lostgradient/editor/comments`) |
|
|
41
|
+
|
|
42
|
+
(`@lostgradient/cinder/diff` and `./diff/line-diff` were already removed in the earlier
|
|
43
|
+
`@lostgradient/markdown` publish — see that changeset. `markdown-editor`, `review-editor`, and
|
|
44
|
+
`diff-viewer` were already removed from cinder in the `@lostgradient/editor` publish — import
|
|
45
|
+
those from `@lostgradient/editor` directly, unchanged by this release.)
|
|
46
|
+
|
|
47
|
+
## What else changed
|
|
48
|
+
- Deleted the generated re-export shim directories `src/markdown/`, `src/editor/`,
|
|
49
|
+
`src/commentary/` and the `derive-upstream-reexports.ts` / `CINDER_KEY_OVERRIDES` machinery that
|
|
50
|
+
generated them. Cinder's `dist/` no longer vendors `@lostgradient/markdown`'s or
|
|
51
|
+
`@lostgradient/editor`'s compiled output at all.
|
|
52
|
+
- Two retained cinder files depend on `@lostgradient/markdown` directly now —
|
|
53
|
+
`src/utilities/change-tracker.svelte.ts` and `src/components/json-schema-editor/diff-view.svelte`
|
|
54
|
+
import `@lostgradient/markdown/pipeline` and `@lostgradient/markdown/diff/line-diff`.
|
|
55
|
+
`@lostgradient/markdown` moves from a build-only `devDependency` to a real, published
|
|
56
|
+
`dependencies` entry cinder's consumers install transitively — cinder exposes none of its
|
|
57
|
+
subpaths, but genuinely depends on it now.
|
|
58
|
+
- `@lostgradient/editor` is no longer a cinder dependency of any kind (no `devDependency`, no
|
|
59
|
+
runtime dependency) — no retained cinder source imports it.
|
|
60
|
+
- Dropped now-orphaned dependencies empirically verified unused by any retained cinder source:
|
|
61
|
+
the full milkdown/prosemirror peer set (`@milkdown/ctx`, `@milkdown/kit`, `@milkdown/prose`,
|
|
62
|
+
`prosemirror-inputrules`, `prosemirror-model`, `prosemirror-state`, `prosemirror-view`), the
|
|
63
|
+
markdown-pipeline dependency stack (`comlink`, `diff-match-patch`, `hast-util-sanitize`,
|
|
64
|
+
`js-yaml` — moved to a scripts-only `devDependency`, still used by workspace tooling that parses
|
|
65
|
+
CI YAML — `rehype-katex`, `rehype-sanitize`, `rehype-stringify`, `remark-gfm`, `remark-math`,
|
|
66
|
+
`remark-parse`, `remark-rehype`, `remark-stringify`, `unified`, `unist-util-visit`,
|
|
67
|
+
`@types/hast`, `@types/mdast`, `@types/unist`), and `@shikijs/langs` (never imported by name in
|
|
68
|
+
cinder's own source — only a transitive dependency of `shiki` itself). `shiki`,
|
|
69
|
+
`@shikijs/engine-oniguruma`, and `@shikijs/types` are KEPT: cinder's own
|
|
70
|
+
`src/highlighters/shiki/index.ts` imports all three directly.
|
|
71
|
+
- Cinder's published package weight dropped sharply: 3.81 MB packed / 18.71 MB unpacked / 4,498
|
|
72
|
+
files, down from an 8 MB / 32 MB / 5,500-file budget beforehand.
|
|
73
|
+
- Chat's `markdown-preview.svelte` now dynamically imports `@lostgradient/markdown/rendering`
|
|
74
|
+
directly instead of `@lostgradient/cinder/markdown/rendering` — this was the migration
|
|
75
|
+
rehearsal the decision doc called for. `@lostgradient/markdown` joins chat's `peerDependencies`
|
|
76
|
+
(required, not optional — chat always renders through it) and `devDependencies`.
|
|
77
|
+
|
|
78
|
+
- [#854](https://github.com/stevekinney/cinder/pull/854) [`23a5ebc`](https://github.com/stevekinney/cinder/commit/23a5ebc161be56d1198829fb269372e67f85d5bb) Thanks [@stevekinney](https://github.com/stevekinney)! - Add a flat conditions mode to `InvocationRuleBuilder` for controlled implicit-AND lists without rule-group metadata or controls.
|
|
79
|
+
|
|
80
|
+
- [#845](https://github.com/stevekinney/cinder/pull/845) [`35732d8`](https://github.com/stevekinney/cinder/commit/35732d8d15240082ccb5d7b4be6d6216a05c40ea) Thanks [@stevekinney](https://github.com/stevekinney)! - Move the Worker-based Markdown rendering API to `@lostgradient/cinder/markdown/rendering/async` so sync-only consumers do not bundle the Worker entry and its dependencies.
|
|
81
|
+
|
|
82
|
+
- [#855](https://github.com/stevekinney/cinder/pull/855) [`d7ecfc4`](https://github.com/stevekinney/cinder/commit/d7ecfc4cece464edddef9e027ae5176d40313766) Thanks [@stevekinney](https://github.com/stevekinney)! - Expose complete live SchemaForm drafts through `ondraftchange` while preserving seed-only `value` semantics and validated `onsubmit` output.
|
|
83
|
+
|
|
84
|
+
- [#817](https://github.com/stevekinney/cinder/pull/817) [`fffa0ab`](https://github.com/stevekinney/cinder/commit/fffa0abf2ee41c9cf0a0e100eb5ee99447f5d5f4) Thanks [@stevekinney](https://github.com/stevekinney)! - Expose PayloadInspector depth controls for its composed JsonViewer.
|
|
85
|
+
|
|
86
|
+
- [#856](https://github.com/stevekinney/cinder/pull/856) [`006641e`](https://github.com/stevekinney/cinder/commit/006641ebfd998a78e0c2d0459b503c750f9a014c) Thanks [@stevekinney](https://github.com/stevekinney)! - Publish `@lostgradient/editor` (Phase 3 of the package-boundaries plan, see
|
|
87
|
+
`docs/decisions/package-boundaries.md`). `@cinder/commentary` is renamed to `@lostgradient/editor`
|
|
88
|
+
and absorbs the ProseMirror/Milkdown half of the former `@cinder/editor` package. Three components
|
|
89
|
+
move out of `@lostgradient/cinder` and into this new package: `markdown-editor`, `review-editor`,
|
|
90
|
+
and `diff-viewer` — `review-editor` composes the other two, so all three had to move together.
|
|
91
|
+
|
|
92
|
+
`@lostgradient/cinder`'s `markdown-editor`, `review-editor`, and `diff-viewer` subpaths (and their
|
|
93
|
+
`/schema`, `/variables`, `/styles`, `/examples` siblings) are **removed** — this is a breaking
|
|
94
|
+
change for any external consumer of those subpaths, hence the minor (not patch) bump on
|
|
95
|
+
`@lostgradient/cinder`, which pre-1.0 treats a breaking removal as a minor per semver's own
|
|
96
|
+
pre-1.0 carve-out (the same reasoning `@lostgradient/markdown`'s publish used for the removed
|
|
97
|
+
`./diff` aliases). That is the ONLY subpath removal in this release — Phase 3's scope is those
|
|
98
|
+
three Svelte components, nothing else. Cinder's `./editor`, `./editor/component-runtime`,
|
|
99
|
+
`./editor/test-utilities`, the bare `./commentary` root barrel, and every `./commentary/*` subpath
|
|
100
|
+
(`anchor-decorations`, `anchoring`, `comments`(+`/types`), `export`(+`/types`), `session`
|
|
101
|
+
(+`/types`), `shared/anchor-types`) are unaffected — they now mirror `@lostgradient/editor`'s
|
|
102
|
+
headless runtime instead of `@cinder/commentary`'s, with no change to their public shape.
|
|
103
|
+
|
|
104
|
+
We evaluated re-exporting the three Svelte components back through Cinder as generated shims (the
|
|
105
|
+
`derive-upstream-reexports.ts` / `CINDER_KEY_OVERRIDES` pattern used for the headless subpaths
|
|
106
|
+
above), but that mechanism only understands `.ts` value/type re-exports — `generate-exports.ts`'s
|
|
107
|
+
component pipeline requires a component to physically live under
|
|
108
|
+
`packages/components/src/components/`, and cannot re-export a compiled `.svelte` file from a
|
|
109
|
+
sibling package. A hand-authored shim `.svelte` file was rejected too: it is exactly the kind of
|
|
110
|
+
compatibility scaffolding this repo's conventions avoid on a pre-release package, and Phase 5 of
|
|
111
|
+
the package-boundaries plan deletes Cinder's remaining shims outright — so a temporary
|
|
112
|
+
`markdown-editor`/`review-editor`/`diff-viewer` shim here would be written only to be deleted in
|
|
113
|
+
the very next phase. Consumers of these three components should migrate their import specifier
|
|
114
|
+
from `@lostgradient/cinder/<component>` to `@lostgradient/editor/<component>` directly.
|
|
115
|
+
|
|
116
|
+
`@lostgradient/editor`'s peers are `@lostgradient/cinder` (`^0.17.0`), `@lostgradient/markdown`
|
|
117
|
+
(`^0.1.0`), `svelte`, and the milkdown/prosemirror stack — all host-supplied singletons. Its only
|
|
118
|
+
regular `dependencies` are `@floating-ui/dom` and `esm-env`, matching `@lostgradient/cinder`'s own
|
|
119
|
+
treatment of those same two vendored utilities (see `package-boundary.test.ts`): small, stateless
|
|
120
|
+
libraries where a duplicate copy across the install graph causes no functional issue, unlike the
|
|
121
|
+
singleton-sensitive peers above.
|
|
122
|
+
|
|
123
|
+
- [#806](https://github.com/stevekinney/cinder/pull/806) [`1b80249`](https://github.com/stevekinney/cinder/commit/1b802498e71f799ceac44becd67fec73f8b7d74c) Thanks [@stevekinney](https://github.com/stevekinney)! - Publish `@lostgradient/markdown` (Phase 2 of the package-boundaries plan, see
|
|
124
|
+
`docs/decisions/package-boundaries.md`). `@cinder/markdown` is renamed to `@lostgradient/markdown`
|
|
125
|
+
and absorbs the former `@cinder/diff` package — its word/line-diff engine is now inlined at
|
|
126
|
+
`@lostgradient/markdown/diff/line-diff` rather than re-exported from a separate workspace package.
|
|
127
|
+
`@cinder/diff` no longer exists. `@lostgradient/markdown` now declares `@shikijs/engine-oniguruma`,
|
|
128
|
+
`@shikijs/langs`, and `@shikijs/types` as its own runtime dependencies (previously these existed
|
|
129
|
+
only as transitive dependencies of `@lostgradient/cinder`, which vendors and re-exports markdown's
|
|
130
|
+
compiled output). `@lostgradient/cinder` keeps declaring all three too: `engine-oniguruma` and
|
|
131
|
+
`types` because cinder's own `./highlighters/shiki` adapter imports them directly, and `langs`
|
|
132
|
+
because cinder's build vendors markdown's `./rendering` pipeline (which lazily loads per-language
|
|
133
|
+
grammars from `@shikijs/langs`) into its own published dist under `./markdown/rendering*`. `shiki`
|
|
134
|
+
itself stays a direct dependency of both packages, as before.
|
|
135
|
+
`@lostgradient/cinder`'s `./markdown/*` re-export shims are unaffected; the top-level `./diff` and
|
|
136
|
+
`./diff/line-diff` cinder aliases (sourced from the now-deleted `@cinder/diff` package) are
|
|
137
|
+
**removed** — `./markdown/diff/line-diff` was already the canonical, actually-used path for every
|
|
138
|
+
in-repo consumer, but this is a breaking change for any external consumer of those aliases, hence
|
|
139
|
+
the minor (not patch) bump on `@lostgradient/cinder`, which pre-1.0 treats a breaking removal as a
|
|
140
|
+
minor per semver's own pre-1.0 carve-out. `@cinder/commentary`'s `workspace:*` dependency on
|
|
141
|
+
markdown is repointed to the new package name. `@lostgradient/chat`'s `peerDependencies` on
|
|
142
|
+
`@lostgradient/cinder` widens from `^0.16.0` to `^0.16.0 || ^0.17.0` — cinder's minor bump here
|
|
143
|
+
would otherwise leave chat's declared peer range unsatisfied against the version this release
|
|
144
|
+
actually produces, per `.changeset/README.md`'s "keep that peer range aligned with the Cinder
|
|
145
|
+
version released alongside it" contract.
|
|
146
|
+
|
|
147
|
+
- [#829](https://github.com/stevekinney/cinder/pull/829) [`4376c18`](https://github.com/stevekinney/cinder/commit/4376c18e2f0dd055ec629cd02035447f8f6e13b2) Thanks [@stevekinney](https://github.com/stevekinney)! - Remove the `brand` snippet from `Sidebar`. Consumers that used it should move that markup into their own shell chrome, such as a top bar or a region above `Sidebar`; there is no replacement API.
|
|
148
|
+
|
|
149
|
+
- [#823](https://github.com/stevekinney/cinder/pull/823) [`2174be0`](https://github.com/stevekinney/cinder/commit/2174be0182d834d8aa3f1dbe82a2b3fe54b153db) Thanks [@stevekinney](https://github.com/stevekinney)! - Add RunStepTimeline selected-step and row-click selection props.
|
|
150
|
+
|
|
151
|
+
- [#853](https://github.com/stevekinney/cinder/pull/853) [`31fd201`](https://github.com/stevekinney/cinder/commit/31fd20103079bc6cebeadab8c0e11390119754f3) Thanks [@stevekinney](https://github.com/stevekinney)! - Add a domain-neutral `timed-out` terminal status to RunStepTimeline with a distinct label, danger tone, public schema support, and consumer mapping guidance.
|
|
152
|
+
|
|
153
|
+
### Patch Changes
|
|
154
|
+
|
|
155
|
+
- [#832](https://github.com/stevekinney/cinder/pull/832) [`fdecd5e`](https://github.com/stevekinney/cinder/commit/fdecd5e63a0ea2e3ca8e3d997efa3f815d1bd664) Thanks [@stevekinney](https://github.com/stevekinney)! - Keep shared local validation gate waiters alive while the recorded lock holder process is still running.
|
|
156
|
+
|
|
157
|
+
- [#851](https://github.com/stevekinney/cinder/pull/851) [`955adb0`](https://github.com/stevekinney/cinder/commit/955adb0459272b9d08ed8a5eb13b579ce83997a7) Thanks [@stevekinney](https://github.com/stevekinney)! - Avoid nested navigation landmarks when composing Sidebar with SideNavigation.
|
|
158
|
+
|
|
159
|
+
- [#833](https://github.com/stevekinney/cinder/pull/833) [`30feaa5`](https://github.com/stevekinney/cinder/commit/30feaa509548f436e77c47520d9b49193f76c6f4) Thanks [@stevekinney](https://github.com/stevekinney)! - Fix a `hydration_mismatch` warning on the first SSR load of any Cinder component that renders an icon (including Chat, which renders one unconditionally in its composer toolbar).
|
|
160
|
+
|
|
161
|
+
`lucide-svelte` was a loosely-ranged (`>=0.400.0 <1`) `peerDependency`. Cinder's prebuilt server bundle (`dist/server`, resolved via the `node` export condition under SSR) bakes in whatever `lucide-svelte` version was installed in Cinder's own build at publish time. A consuming application's client bundle, however, resolves `lucide-svelte` fresh at whatever version its own package manager picked within that peer range. Lucide periodically redraws icon artwork (different `<path>` counts or coordinates for the same icon name), so any consumer whose installed `lucide-svelte` differs from Cinder's build-time version got structurally different icon markup between the server-rendered HTML and the client's hydrated render — a real, reproducible `[svelte] hydration_mismatch`, confirmed against a real SvelteKit dev server and a real browser.
|
|
162
|
+
|
|
163
|
+
`lucide-svelte` is now a pinned, exact-version regular `dependency` of `@lostgradient/cinder` instead of a peer, so its own server and client builds resolve the same `lucide-svelte` install without depending on what version — if any — your application installs for its own icons. (See the known follow-up below for the one case this does not fully close.)
|
|
164
|
+
|
|
165
|
+
**Consumer impact:** if your app currently lists `lucide-svelte` as a direct dependency solely to satisfy `@lostgradient/cinder`'s former peer requirement, you can remove it — Cinder now supplies its own pinned copy for its own components. If your app also renders Lucide icons directly, keep your own dependency; npm/bun will install and resolve it independently of Cinder's pinned copy (they do not conflict).
|
|
166
|
+
|
|
167
|
+
**Known follow-up:** if your application pins its _own_ `lucide-svelte` version and your bundler's deduplication happens to collapse Cinder's nested pinned copy onto your application's version for Cinder's client-side (browser/`svelte` condition) source compile — while Cinder's prebuilt `dist/server` still resolves its own pinned copy — the two could still diverge. This is inherent to Cinder shipping both prebuilt server output and raw source for Svelte-aware bundlers. Closing that residual case fully would mean vendoring icon path data directly into Cinder rather than depending on `lucide-svelte` at all; that is out of scope for this fix and is tracked as a follow-up.
|
|
168
|
+
|
|
169
|
+
**Known caveat — `lucide-svelte`'s own declared peer range:** every published `lucide-svelte` release, including the latest (`1.0.1` as of this writing), declares `peerDependencies: { svelte: "^3 || ^4 || ^5.0.0-next.42" }` — it has never been updated to include a stable Svelte 5 release, even though it works correctly with one (this repository has used `lucide-svelte@0.503.0` against stable Svelte `5.56.x` for a long time). This is not something this fix can work around by choosing a different `lucide-svelte` version, since none of them declare a stable-Svelte-5 peer range. Under npm/bun's default (non-strict) peer resolution this only produces a warning, same as it did when `lucide-svelte` was Cinder's own peer dependency. Consumers using `pnpm` or `npm --strict-peer-deps` may see this warning surface from inside Cinder's dependency tree now rather than from their own top-level install; if it blocks your install, an `overrides`/`resolutions` entry or a peer-dependency-rule exception for `lucide-svelte` in your package manager's config resolves it, same as it would have before this change.
|
|
170
|
+
|
|
171
|
+
- [#821](https://github.com/stevekinney/cinder/pull/821) [`f86e857`](https://github.com/stevekinney/cinder/commit/f86e8577f03cedad95858f5fb60a20f3265a2407) Thanks [@stevekinney](https://github.com/stevekinney)! - Add an `allowedModes` prop to `ScheduleBuilder` so consumers can restrict the authoring UI, including cron-only rendering with `allowedModes={['cron']}` that never emits interval values.
|
|
172
|
+
|
|
173
|
+
- [#805](https://github.com/stevekinney/cinder/pull/805) [`204928e`](https://github.com/stevekinney/cinder/commit/204928e8b07e6e1e7ea7f16c994ae3e201933bf9) Thanks [@stevekinney](https://github.com/stevekinney)! - Deferred `ajv` in `json-schema-editor` the same way `schema-form` already does, so meta-schema validation and compile checks no longer ship Ajv in the base install path. `applyJsonDraft` is now async as a result.
|
|
174
|
+
|
|
175
|
+
Moved `zod` and `@modelcontextprotocol/sdk` from `dependencies` to optional `peerDependencies` — both are only used by the `mcp` CLI command (`bin.cinder mcp`), not by any component, so every consumer no longer has to install them. Running `mcp` without them now fails with an actionable message instead of a raw module-resolution error.
|
|
176
|
+
|
|
177
|
+
- [#793](https://github.com/stevekinney/cinder/pull/793) [`62a9a75`](https://github.com/stevekinney/cinder/commit/62a9a75c321303f7f4c8cd8d429fc0d1a071f667) Thanks [@stevekinney](https://github.com/stevekinney)! - Internal reshuffle: dissolve the private `@cinder/editor` workspace package (Phase 1 of the
|
|
178
|
+
package-boundaries plan, see `docs/decisions/package-boundaries.md`). The headless
|
|
179
|
+
template-placeholder trio (`sanitize-html.ts`, `template-placeholders.ts`, `template-render.ts`,
|
|
180
|
+
`placeholder-security.ts`) moved into `@cinder/markdown`'s new `templates/` directory. The
|
|
181
|
+
ProseMirror/Milkdown editor integration moved into `@cinder/commentary`'s new `editor/`
|
|
182
|
+
directory. `@lostgradient/cinder`'s published `./editor/*` subpaths are unaffected — the
|
|
183
|
+
generated re-export shims now source from the new locations, but the exported symbol sets and
|
|
184
|
+
`package.json#exports` entries are byte-identical to before. Pure internal code movement; no
|
|
185
|
+
public API change.
|
|
186
|
+
|
|
187
|
+
- [#819](https://github.com/stevekinney/cinder/pull/819) [`0ef0a27`](https://github.com/stevekinney/cinder/commit/0ef0a272568e716e0dac034e60347f5cf3f611d6) Thanks [@stevekinney](https://github.com/stevekinney)! - Add `triggerLabel` to `FileUpload` so consumers can customize the visible picker button text while keeping Cinder's native input wiring, drag-and-drop validation, disabled state, and live-region announcements.
|
|
188
|
+
|
|
189
|
+
- [#820](https://github.com/stevekinney/cinder/pull/820) [`e9c1146`](https://github.com/stevekinney/cinder/commit/e9c11464ca1ef5af0801439270f4e0e09411ad41) Thanks [@stevekinney](https://github.com/stevekinney)! - Route `ToastRegion` warning toasts through the polite `role="status"` live-region channel while keeping danger toasts assertive.
|
|
190
|
+
|
|
191
|
+
- [#802](https://github.com/stevekinney/cinder/pull/802) [`280ba3e`](https://github.com/stevekinney/cinder/commit/280ba3e9eed6e76d7534bd0f4f78ff8890cf05df) Thanks [@stevekinney](https://github.com/stevekinney)! - Fix the Shiki adapter behind `<CodeBlock>` (`highlighters/shiki`) to build on `shiki/core` + `@shikijs/engine-oniguruma`, resolving languages and themes through `shiki/langs` / `shiki/themes` instead of the default `shiki` barrel, converging on the same pattern `packages/markdown` already uses. This closes a build-time regression risk: cinder's own build (`splitting: false`) previously kept only the bare `shiki` specifier external, so any future `shiki/*` subpath import would have been inlined whole into cinder's published dist (measured at ~10 MB). `scripts/build.ts` now externalizes `shiki/*` and `@shikijs/engine-oniguruma` too. No change to the public `shikiHighlighter()` API, behavior, or supported language/theme set — and no change to what a consumer's own bundler ships, since `shiki` was already external there.
|
|
192
|
+
|
|
193
|
+
- [#822](https://github.com/stevekinney/cinder/pull/822) [`7e9d2f6`](https://github.com/stevekinney/cinder/commit/7e9d2f65b1b464762f6858a0e6429c1c6c52d4d1) Thanks [@stevekinney](https://github.com/stevekinney)! - Add a `mobileBreakpoint` prop to Sidebar so app shells can raise or lower the drawer breakpoint while keeping the JavaScript media query and Sidebar presentation contract aligned.
|
|
194
|
+
|
|
195
|
+
- [#816](https://github.com/stevekinney/cinder/pull/816) [`356c5d7`](https://github.com/stevekinney/cinder/commit/356c5d7f7a4d3a7e9306b71e6039ce05382c7aa7) Thanks [@stevekinney](https://github.com/stevekinney)! - Keep Tabs triggers single-line inside scrollable tab lists, so overflow resolves by horizontally scrolling the tab strip instead of shrinking and wrapping individual tab labels.
|
|
196
|
+
|
|
197
|
+
- [#798](https://github.com/stevekinney/cinder/pull/798) [`282b380`](https://github.com/stevekinney/cinder/commit/282b38060b765340a58f07487c53a0f9710d4033) Thanks [@stevekinney](https://github.com/stevekinney)! - Thinned `pre-push` to a fast, fail-open sanity check (no more local lint/typecheck/test dispatch or gate lock) now that PR CI and required branch-protection status checks own that validation. No published runtime behavior changes — this only touches internal `scripts/husky/*` tooling and `check-pipeline-coverage.ts`'s declaration table.
|
|
198
|
+
|
|
199
|
+
- [#792](https://github.com/stevekinney/cinder/pull/792) [`88d8b17`](https://github.com/stevekinney/cinder/commit/88d8b17d99e74742d0819094b3c6a5740079d6c3) Thanks [@stevekinney](https://github.com/stevekinney)! - Teach `check:pipeline-coverage` and `validate:release-workflow` to recognize `turbo run <task>` (including repeated `--filter=<pkg>` flags) as equivalent to `bun run --filter=<pkg> <task>`, so the workspace's move to Turborepo-orchestrated build/test/typecheck/lint doesn't silently blind the CI-gate coverage map. No published runtime behavior changes — dev-tooling scripts only.
|
|
200
|
+
|
|
201
|
+
- [#841](https://github.com/stevekinney/cinder/pull/841) [`09bdd26`](https://github.com/stevekinney/cinder/commit/09bdd2627ef2a36edf502add662ffd08a9b6ae41) Thanks [@stevekinney](https://github.com/stevekinney)! - Keep horizontal BarChart category labels visible without sacrificing the plot area.
|
|
202
|
+
|
|
203
|
+
- Updated dependencies [[`62a9a75`](https://github.com/stevekinney/cinder/commit/62a9a75c321303f7f4c8cd8d429fc0d1a071f667), [`1b80249`](https://github.com/stevekinney/cinder/commit/1b802498e71f799ceac44becd67fec73f8b7d74c)]:
|
|
204
|
+
- @lostgradient/markdown@0.1.0
|
|
205
|
+
|
|
3
206
|
## 0.16.1
|
|
4
207
|
|
|
5
208
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -7,21 +7,43 @@ Use cinder when you want UI building blocks without adopting a framework-level r
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
bun add @lostgradient/cinder svelte
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
`svelte`
|
|
14
|
-
|
|
15
|
-
|
|
10
|
+
bun add @lostgradient/cinder svelte
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
`svelte` is a required peer dependency. Cinder uses Lucide (`lucide-svelte`) for
|
|
14
|
+
its own component chrome, but bundles its own pinned copy as a regular
|
|
15
|
+
dependency rather than a peer, so Cinder's own server-rendered icon markup
|
|
16
|
+
stays consistent with its own client build without depending on which
|
|
17
|
+
`lucide-svelte` version — if any — your application installs for its own
|
|
18
|
+
icons. (If your bundler's deduplication collapses Cinder's pinned copy onto a
|
|
19
|
+
different version your app requests, the two can still diverge; see the
|
|
20
|
+
`@lostgradient/cinder` changeset for that edge case.) Cinder does not provide
|
|
21
|
+
a general icon library for your application-specific icons. The Chat domain
|
|
22
|
+
suite is published separately as `@lostgradient/chat`.
|
|
23
|
+
|
|
24
|
+
As of this release, cinder no longer exposes any `./markdown/*`, `./editor/*`, or
|
|
25
|
+
`./commentary/*` subpath — that surface moved to two published sibling packages during the
|
|
26
|
+
[package-boundaries extraction](../../docs/decisions/package-boundaries.md). If your app imports
|
|
27
|
+
one of the removed subpaths, install the package that now owns it and update the import
|
|
28
|
+
specifier:
|
|
29
|
+
|
|
30
|
+
| Removed cinder subpath | New home |
|
|
31
|
+
| ----------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
32
|
+
| `@lostgradient/cinder/markdown`, `./markdown/*` (pipeline, diff, rendering, utilities) | `@lostgradient/markdown` — same subpath shape, e.g. `./markdown/pipeline` → `@lostgradient/markdown/pipeline` |
|
|
33
|
+
| `@lostgradient/cinder/editor`, `./editor/component-runtime`, `./editor/test-utilities` | `@lostgradient/editor/editor`, `@lostgradient/editor/editor/component-runtime`, `@lostgradient/editor/editor/test-utilities` |
|
|
34
|
+
| `@lostgradient/cinder/editor/sanitize-html`, `/template-placeholders`, `/template-render` | `@lostgradient/markdown/templates/sanitize-html`, `/template-placeholders`, `/template-render` |
|
|
35
|
+
| `@lostgradient/cinder/commentary`, `./commentary/*` | `@lostgradient/editor` root barrel and its matching subpath, e.g. `./commentary/anchor-decorations` → `@lostgradient/editor/anchor-decorations` |
|
|
36
|
+
| `@lostgradient/cinder/markdown-editor`, `/review-editor`, `/diff-viewer` | `@lostgradient/editor/markdown-editor`, `/review-editor`, `/diff-viewer` (moved in an earlier release — see [`@lostgradient/editor`'s README](../editor/README.md)) |
|
|
16
37
|
|
|
17
38
|
```bash
|
|
18
|
-
bun add @
|
|
39
|
+
bun add @lostgradient/markdown
|
|
40
|
+
# and, if you use the MarkdownEditor / ReviewEditor / DiffViewer components:
|
|
41
|
+
bun add @lostgradient/editor
|
|
19
42
|
```
|
|
20
43
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
of naming this install step.
|
|
44
|
+
Syntax-highlighting (`CodeBlock` automatic highlighting via `shiki`, `@shikijs/engine-oniguruma`,
|
|
45
|
+
and `@shikijs/types`) needs no separate install — they are regular `dependencies` of cinder and
|
|
46
|
+
install automatically.
|
|
25
47
|
|
|
26
48
|
## Quickstart
|
|
27
49
|
|
package/components.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"manifestVersion": 1,
|
|
4
4
|
"package": {
|
|
5
5
|
"name": "@lostgradient/cinder",
|
|
6
|
-
"version": "0.
|
|
6
|
+
"version": "0.19.0",
|
|
7
7
|
"framework": "svelte",
|
|
8
8
|
"frameworkVersionRange": ">=5.56.0 <6",
|
|
9
9
|
"classPrefix": "cinder-",
|
|
@@ -1748,17 +1748,17 @@
|
|
|
1748
1748
|
"tags": ["diff", "statistics", "domain-suite"],
|
|
1749
1749
|
"useWhen": [
|
|
1750
1750
|
"Surfacing a quick numeric summary of changes alongside or in lieu of a full diff surface.",
|
|
1751
|
-
"Annotating a list of files or pull requests with line-change counts as part of the diff-viewer suite."
|
|
1751
|
+
"Annotating a list of files or pull requests with line-change counts as part of the source-diff-viewer suite."
|
|
1752
1752
|
],
|
|
1753
1753
|
"avoidWhen": [
|
|
1754
1754
|
{
|
|
1755
|
-
"reason": "Rendering the actual hunked diff content — pair with
|
|
1755
|
+
"reason": "Rendering the actual hunked diff content — pair with `DiffViewer` from `@lostgradient/editor` for the full document comparison."
|
|
1756
1756
|
},
|
|
1757
1757
|
{
|
|
1758
1758
|
"reason": "Generic numeric badges that have nothing to do with diffs — reach for stat or badge instead."
|
|
1759
1759
|
}
|
|
1760
1760
|
],
|
|
1761
|
-
"related": ["diff-viewer"],
|
|
1761
|
+
"related": ["source-diff-viewer"],
|
|
1762
1762
|
"hasConstraints": false,
|
|
1763
1763
|
"hasExamples": true,
|
|
1764
1764
|
"artifacts": {
|
|
@@ -1767,36 +1767,6 @@
|
|
|
1767
1767
|
"examples": "@lostgradient/cinder/diff-statistics/examples"
|
|
1768
1768
|
}
|
|
1769
1769
|
},
|
|
1770
|
-
{
|
|
1771
|
-
"name": "DiffViewer",
|
|
1772
|
-
"id": "diff-viewer",
|
|
1773
|
-
"import": "@lostgradient/cinder/diff-viewer",
|
|
1774
|
-
"exportName": "DiffViewer",
|
|
1775
|
-
"category": "domain",
|
|
1776
|
-
"status": "domain-suite",
|
|
1777
|
-
"purpose": "Side-by-side or unified Markdown diff surface with hunk grouping, word-level inline changes, and size-based debounce gating.",
|
|
1778
|
-
"tags": ["diff", "markdown", "domain-suite"],
|
|
1779
|
-
"useWhen": [
|
|
1780
|
-
"Comparing two Markdown documents and wanting the bundled toolbar, view-mode toggle, front-matter handling, and large-payload safeguards.",
|
|
1781
|
-
"Building a review workflow that needs hunked, line-anchored Markdown diffs out of the box as a heavyweight suite."
|
|
1782
|
-
],
|
|
1783
|
-
"avoidWhen": [
|
|
1784
|
-
{
|
|
1785
|
-
"reason": "Showing only a counts summary — use diff-statistics on its own for a lightweight presentation."
|
|
1786
|
-
},
|
|
1787
|
-
{
|
|
1788
|
-
"reason": "Diffing non-Markdown source code where syntax-aware highlighting matters more than prose-aware rendering."
|
|
1789
|
-
}
|
|
1790
|
-
],
|
|
1791
|
-
"related": ["diff-statistics", "code-block"],
|
|
1792
|
-
"hasConstraints": false,
|
|
1793
|
-
"hasExamples": true,
|
|
1794
|
-
"artifacts": {
|
|
1795
|
-
"schema": "@lostgradient/cinder/diff-viewer/schema",
|
|
1796
|
-
"variables": "@lostgradient/cinder/diff-viewer/variables",
|
|
1797
|
-
"examples": "@lostgradient/cinder/diff-viewer/examples"
|
|
1798
|
-
}
|
|
1799
|
-
},
|
|
1800
1770
|
{
|
|
1801
1771
|
"name": "Divider",
|
|
1802
1772
|
"id": "divider",
|
|
@@ -2724,14 +2694,15 @@
|
|
|
2724
2694
|
"tags": ["automation", "rules"],
|
|
2725
2695
|
"useWhen": [
|
|
2726
2696
|
"Building a UI for configuring which agents or services run based on event conditions.",
|
|
2727
|
-
"You only need conditions (no actions) — pass mode=\"conditions\" for a constrained operator set and typed value inputs."
|
|
2697
|
+
"You only need conditions (no actions) — pass mode=\"conditions\" for a constrained operator set and typed value inputs.",
|
|
2698
|
+
"Your data is one flat implicit-AND conditions list — pass mode=\"flat-conditions\" without rule-group metadata."
|
|
2728
2699
|
],
|
|
2729
2700
|
"avoidWhen": [
|
|
2730
2701
|
{
|
|
2731
2702
|
"reason": "You need to execute, validate, or persist rules — cinder owns none of that logic."
|
|
2732
2703
|
}
|
|
2733
2704
|
],
|
|
2734
|
-
"related": ["capability-gate", "steps"
|
|
2705
|
+
"related": ["capability-gate", "steps"],
|
|
2735
2706
|
"hasConstraints": false,
|
|
2736
2707
|
"hasExamples": true,
|
|
2737
2708
|
"artifacts": {
|
|
@@ -2740,6 +2711,48 @@
|
|
|
2740
2711
|
"examples": "@lostgradient/cinder/invocation-rule-builder/examples"
|
|
2741
2712
|
}
|
|
2742
2713
|
},
|
|
2714
|
+
{
|
|
2715
|
+
"name": "JsonEditor",
|
|
2716
|
+
"id": "json-editor",
|
|
2717
|
+
"import": "@lostgradient/cinder/json-editor",
|
|
2718
|
+
"exportName": "JsonEditor",
|
|
2719
|
+
"category": "form",
|
|
2720
|
+
"status": "stable",
|
|
2721
|
+
"purpose": "Controlled free-form JSON text editor with native textarea fallback, parse feedback, and accessible field wiring.",
|
|
2722
|
+
"tags": ["form", "json", "editor"],
|
|
2723
|
+
"useWhen": [
|
|
2724
|
+
"Editing arbitrary JSON source while preserving the exact string in parent-owned state.",
|
|
2725
|
+
"A lightweight native editor is preferable to shipping a code-editor runtime."
|
|
2726
|
+
],
|
|
2727
|
+
"avoidWhen": [
|
|
2728
|
+
{
|
|
2729
|
+
"reason": "Editing a JSON Schema with guided form and diff views.",
|
|
2730
|
+
"alternative": "json-schema-editor"
|
|
2731
|
+
},
|
|
2732
|
+
{
|
|
2733
|
+
"reason": "Displaying JSON without allowing changes.",
|
|
2734
|
+
"alternative": "json-viewer"
|
|
2735
|
+
}
|
|
2736
|
+
],
|
|
2737
|
+
"related": ["textarea", "json-schema-editor", "json-viewer"],
|
|
2738
|
+
"hasConstraints": false,
|
|
2739
|
+
"hasExamples": true,
|
|
2740
|
+
"artifacts": {
|
|
2741
|
+
"schema": "@lostgradient/cinder/json-editor/schema",
|
|
2742
|
+
"variables": "@lostgradient/cinder/json-editor/variables",
|
|
2743
|
+
"examples": "@lostgradient/cinder/json-editor/examples",
|
|
2744
|
+
"enhancement": "@lostgradient/cinder/json-editor/enhancement"
|
|
2745
|
+
},
|
|
2746
|
+
"a11y": {
|
|
2747
|
+
"keyboard": [
|
|
2748
|
+
{
|
|
2749
|
+
"keys": "Tab",
|
|
2750
|
+
"action": "Moves focus out of the editor without trapping the keyboard."
|
|
2751
|
+
}
|
|
2752
|
+
],
|
|
2753
|
+
"notes": ["Uses a native textarea with a programmatic label and announced parse feedback."]
|
|
2754
|
+
}
|
|
2755
|
+
},
|
|
2743
2756
|
{
|
|
2744
2757
|
"name": "JsonSchemaEditor",
|
|
2745
2758
|
"id": "json-schema-editor",
|
|
@@ -2758,7 +2771,7 @@
|
|
|
2758
2771
|
"reason": "Editing arbitrary free-form JSON with no schema semantics — use a plain code editor instead."
|
|
2759
2772
|
}
|
|
2760
2773
|
],
|
|
2761
|
-
"related": [
|
|
2774
|
+
"related": [],
|
|
2762
2775
|
"hasConstraints": false,
|
|
2763
2776
|
"hasExamples": true,
|
|
2764
2777
|
"artifacts": {
|
|
@@ -3045,36 +3058,6 @@
|
|
|
3045
3058
|
"examples": "@lostgradient/cinder/logo-cloud/examples"
|
|
3046
3059
|
}
|
|
3047
3060
|
},
|
|
3048
|
-
{
|
|
3049
|
-
"name": "MarkdownEditor",
|
|
3050
|
-
"id": "markdown-editor",
|
|
3051
|
-
"import": "@lostgradient/cinder/markdown-editor",
|
|
3052
|
-
"exportName": "MarkdownEditor",
|
|
3053
|
-
"category": "domain",
|
|
3054
|
-
"status": "domain-suite",
|
|
3055
|
-
"purpose": "Rich Markdown editing surface bundling a Milkdown-powered ProseMirror editor, toolbar, and mark or block introspection helpers.",
|
|
3056
|
-
"tags": ["markdown", "editor", "domain-suite"],
|
|
3057
|
-
"useWhen": [
|
|
3058
|
-
"Composing or editing Markdown documents and wanting the bundled toolbar, link-aware selection, and source or WYSIWYG mode toggle.",
|
|
3059
|
-
"Building writing surfaces that need an editor handle for programmatic mark or block manipulation as part of the heavyweight suite."
|
|
3060
|
-
],
|
|
3061
|
-
"avoidWhen": [
|
|
3062
|
-
{
|
|
3063
|
-
"reason": "Authoring a simple plain-text note — a textarea is dramatically lighter than the Milkdown bundle."
|
|
3064
|
-
},
|
|
3065
|
-
{
|
|
3066
|
-
"reason": "The surface needs inline review threads on top of the editor — use review-editor for that composition."
|
|
3067
|
-
}
|
|
3068
|
-
],
|
|
3069
|
-
"related": ["review-editor", "code-block"],
|
|
3070
|
-
"hasConstraints": false,
|
|
3071
|
-
"hasExamples": true,
|
|
3072
|
-
"artifacts": {
|
|
3073
|
-
"schema": "@lostgradient/cinder/markdown-editor/schema",
|
|
3074
|
-
"variables": "@lostgradient/cinder/markdown-editor/variables",
|
|
3075
|
-
"examples": "@lostgradient/cinder/markdown-editor/examples"
|
|
3076
|
-
}
|
|
3077
|
-
},
|
|
3078
3061
|
{
|
|
3079
3062
|
"name": "Marquee",
|
|
3080
3063
|
"id": "marquee",
|
|
@@ -3971,36 +3954,6 @@
|
|
|
3971
3954
|
"examples": "@lostgradient/cinder/resizable-panels/examples"
|
|
3972
3955
|
}
|
|
3973
3956
|
},
|
|
3974
|
-
{
|
|
3975
|
-
"name": "ReviewEditor",
|
|
3976
|
-
"id": "review-editor",
|
|
3977
|
-
"import": "@lostgradient/cinder/review-editor",
|
|
3978
|
-
"exportName": "ReviewEditor",
|
|
3979
|
-
"category": "domain",
|
|
3980
|
-
"status": "domain-suite",
|
|
3981
|
-
"purpose": "Markdown editor extended with inline review threads, anchored comments, and collaborative annotation state.",
|
|
3982
|
-
"tags": ["markdown", "review", "domain-suite"],
|
|
3983
|
-
"useWhen": [
|
|
3984
|
-
"Building a document review experience that needs both a Markdown editor and anchored comment threads in one bundled surface.",
|
|
3985
|
-
"Threading reviewer commentary against specific selections inside a long-form document."
|
|
3986
|
-
],
|
|
3987
|
-
"avoidWhen": [
|
|
3988
|
-
{
|
|
3989
|
-
"reason": "Plain authoring with no review threads — markdown-editor is the lighter primitive."
|
|
3990
|
-
},
|
|
3991
|
-
{
|
|
3992
|
-
"reason": "Reviewing diffs between two documents rather than annotating one — use diff-viewer instead."
|
|
3993
|
-
}
|
|
3994
|
-
],
|
|
3995
|
-
"related": ["markdown-editor"],
|
|
3996
|
-
"hasConstraints": false,
|
|
3997
|
-
"hasExamples": true,
|
|
3998
|
-
"artifacts": {
|
|
3999
|
-
"schema": "@lostgradient/cinder/review-editor/schema",
|
|
4000
|
-
"variables": "@lostgradient/cinder/review-editor/variables",
|
|
4001
|
-
"examples": "@lostgradient/cinder/review-editor/examples"
|
|
4002
|
-
}
|
|
4003
|
-
},
|
|
4004
3957
|
{
|
|
4005
3958
|
"name": "RunStepTimeline",
|
|
4006
3959
|
"id": "run-step-timeline",
|
|
@@ -4066,7 +4019,7 @@
|
|
|
4066
4019
|
"a11y": {
|
|
4067
4020
|
"pattern": "WAI-ARIA Tabs",
|
|
4068
4021
|
"notes": [
|
|
4069
|
-
"The
|
|
4022
|
+
"The available authoring modes render as a tablist; each cron field reports validity via aria-invalid and an associated hint/error."
|
|
4070
4023
|
]
|
|
4071
4024
|
}
|
|
4072
4025
|
},
|
|
@@ -4738,15 +4691,14 @@
|
|
|
4738
4691
|
],
|
|
4739
4692
|
"avoidWhen": [
|
|
4740
4693
|
{
|
|
4741
|
-
"reason": "Comparing two Markdown documents with normalization, front-matter
|
|
4742
|
-
"alternative": "diff-viewer"
|
|
4694
|
+
"reason": "Comparing two Markdown documents with normalization, front-matter, and revert affordances — use `DiffViewer` from `@lostgradient/editor`."
|
|
4743
4695
|
},
|
|
4744
4696
|
{
|
|
4745
4697
|
"reason": "Showing syntax-highlighted code samples rather than patch output.",
|
|
4746
4698
|
"alternative": "code-block"
|
|
4747
4699
|
}
|
|
4748
4700
|
],
|
|
4749
|
-
"related": ["diff-
|
|
4701
|
+
"related": ["diff-statistics", "code-block"],
|
|
4750
4702
|
"hasConstraints": false,
|
|
4751
4703
|
"hasExamples": true,
|
|
4752
4704
|
"artifacts": {
|
|
@@ -5574,7 +5526,7 @@
|
|
|
5574
5526
|
"reason": "Collecting a single short line of text — use input instead."
|
|
5575
5527
|
}
|
|
5576
5528
|
],
|
|
5577
|
-
"related": ["input"
|
|
5529
|
+
"related": ["input"],
|
|
5578
5530
|
"hasConstraints": false,
|
|
5579
5531
|
"hasExamples": true,
|
|
5580
5532
|
"artifacts": {
|