@estiva-app/ui 0.65.3 → 0.67.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/BlockNodes.d.ts +33 -0
- package/dist/BlockNodes.d.ts.map +1 -1
- package/dist/ComposerTriggers.d.ts +11 -2
- package/dist/ComposerTriggers.d.ts.map +1 -1
- package/dist/EditorTableControls.d.ts +38 -0
- package/dist/EditorTableControls.d.ts.map +1 -0
- package/dist/NavItem.d.ts +11 -1
- package/dist/NavItem.d.ts.map +1 -1
- package/dist/RichText.d.ts +13 -1
- package/dist/RichText.d.ts.map +1 -1
- package/dist/editor.d.ts +2 -1
- package/dist/editor.d.ts.map +1 -1
- package/dist/editor.js +363 -18
- package/dist/editor.js.map +4 -4
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +71 -23
- package/dist/index.js.map +3 -3
- package/package.json +2 -1
- package/registry.json +209 -4
- package/src/BlockNodes.mdx +32 -1
- package/src/BlockNodes.stories.tsx +29 -1
- package/src/BlockNodes.test.tsx +141 -2
- package/src/BlockNodes.tsx +227 -4
- package/src/ComposerTriggers.test.tsx +23 -0
- package/src/ComposerTriggers.tsx +61 -5
- package/src/EditorTableControls.mdx +78 -0
- package/src/EditorTableControls.stories.tsx +63 -0
- package/src/EditorTableControls.test.tsx +288 -0
- package/src/EditorTableControls.tsx +255 -0
- package/src/NavItem.mdx +10 -0
- package/src/NavItem.stories.tsx +23 -1
- package/src/NavItem.test.tsx +36 -0
- package/src/NavItem.tsx +40 -16
- package/src/RichText.mdx +12 -0
- package/src/RichText.stories.tsx +50 -0
- package/src/RichText.test.tsx +56 -0
- package/src/RichText.tsx +83 -10
- package/src/editor.ts +4 -0
- package/src/index.ts +1 -1
- package/src/registry/registry.test.ts +7 -7
- package/src/registry/siblings.test.ts +2 -2
- package/stories/Choosing.mdx +1 -0
package/dist/BlockNodes.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ComponentType } from 'react';
|
|
2
2
|
import { Extension, Node } from '@tiptap/core';
|
|
3
|
+
import { type Transaction } from '@tiptap/pm/state';
|
|
3
4
|
/**
|
|
4
5
|
* `id` on every block, carried as the `blockId` attribute.
|
|
5
6
|
*
|
|
@@ -101,4 +102,36 @@ export interface AttachmentNodeOptions {
|
|
|
101
102
|
* exists to prevent.
|
|
102
103
|
*/
|
|
103
104
|
export declare const AttachmentNode: Node<AttachmentNodeOptions, any>;
|
|
105
|
+
/**
|
|
106
|
+
* Whether a change is a click on a checklist item's box. The click does not
|
|
107
|
+
* focus the editor, so no blur follows it: an editor that saves on blur saves
|
|
108
|
+
* a tick straight away instead (RIC-19, Miky 2026-10-13: one click ticks).
|
|
109
|
+
*/
|
|
110
|
+
export declare function isChecklistTick(transaction: Transaction): boolean;
|
|
111
|
+
/**
|
|
112
|
+
* A checklist item — SPEC §13.3's `checked` on a list item (RIC-19): `true`
|
|
113
|
+
* ticked, `false` not, absent a plain item. Add it beside `BlockId`.
|
|
114
|
+
*
|
|
115
|
+
* - **The box ticks with one click**, where the description is read, and the
|
|
116
|
+
* change says so (`isChecklistTick`), so the app saves it at once.
|
|
117
|
+
* - **`[ ] ` or `[] ` at the start of a line** makes it, `[x] ` ticked; in a
|
|
118
|
+
* list it turns that item into one.
|
|
119
|
+
* - **Enter** starts the next item unticked: a new item never takes the tick
|
|
120
|
+
* of the one it was split from. At the start of an item, the text moves down
|
|
121
|
+
* with its tick and the empty item above is unticked. On an empty item Enter
|
|
122
|
+
* leaves the list, as in any list.
|
|
123
|
+
* - **Backspace** at the start of a checklist item takes its box away first;
|
|
124
|
+
* the next one joins it to the item above, as in any list.
|
|
125
|
+
*
|
|
126
|
+
* An editor without it drops `checked` on save and keeps the item and its text.
|
|
127
|
+
*/
|
|
128
|
+
export declare const Checklist: Extension<any, any>;
|
|
129
|
+
/**
|
|
130
|
+
* A callout — SPEC §13.3's `tone` on a quote (RIC-19): a quote drawn to stand
|
|
131
|
+
* out, in one of GitHub's alert kinds (`note`, `tip`, `important`, `warning`,
|
|
132
|
+
* `caution`). Its look is `RichText`'s, by `data-tone`; a tone it does not
|
|
133
|
+
* know looks like `note`, and the editor keeps it as written. Add it beside
|
|
134
|
+
* `BlockId`.
|
|
135
|
+
*/
|
|
136
|
+
export declare const Callout: Extension<any, any>;
|
|
104
137
|
//# sourceMappingURL=BlockNodes.d.ts.map
|
package/dist/BlockNodes.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BlockNodes.d.ts","sourceRoot":"","sources":["../src/BlockNodes.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAC1C,OAAO,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"BlockNodes.d.ts","sourceRoot":"","sources":["../src/BlockNodes.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAC1C,OAAO,EAAE,SAAS,EAAa,IAAI,EAAe,MAAM,cAAc,CAAA;AAEtE,OAAO,EAAuC,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAgRxF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,eAAO,MAAM,OAAO,qBA+ClB,CAAA;AAEF,yEAAyE;AACzE,MAAM,WAAW,kBAAkB;IACjC,GAAG,EAAE,MAAM,CAAA;CACZ;AAED,MAAM,WAAW,oBAAoB;IACnC;;;OAGG;IACH,IAAI,EAAE,aAAa,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAA;CAC/C;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,aAAa,iCAgCxB,CAAA;AAEF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,YAAY,gBAqBvB,CAAA;AAgBF,uEAAuE;AACvE,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAC/B;AAED,MAAM,WAAW,qBAAqB;IACpC,8FAA8F;IAC9F,IAAI,EAAE,aAAa,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAA;CAChD;AAED;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,cAAc,kCAqCzB,CAAA;AAIF;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAEjE;AAsFD;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,SAAS,qBA+EpB,CAAA;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,OAAO,qBAkBlB,CAAA"}
|
|
@@ -163,12 +163,17 @@ export interface SlashCommand {
|
|
|
163
163
|
keywords?: readonly string[];
|
|
164
164
|
/** Runs once the `/query` that summoned the list has been removed. */
|
|
165
165
|
run: (editor: Editor) => void;
|
|
166
|
+
/**
|
|
167
|
+
* The extensions (by name) the row needs: an editor without one of them is
|
|
168
|
+
* not offered the row, so no row makes something the editor cannot hold.
|
|
169
|
+
*/
|
|
170
|
+
needs?: readonly string[];
|
|
166
171
|
}
|
|
167
172
|
export interface SlashSection {
|
|
168
173
|
label: string;
|
|
169
174
|
commands: readonly SlashCommand[];
|
|
170
175
|
}
|
|
171
|
-
export type FormatId = 'paragraph' | 'heading' | 'subheading' | 'quote' | 'bulletList' | 'orderedList' | 'code';
|
|
176
|
+
export type FormatId = 'paragraph' | 'heading' | 'subheading' | 'quote' | 'bulletList' | 'orderedList' | 'code' | 'checklist' | 'note' | 'warning';
|
|
172
177
|
export interface FormatDef {
|
|
173
178
|
id: FormatId;
|
|
174
179
|
label: string;
|
|
@@ -191,7 +196,11 @@ export type CodeFormat = 'inline' | 'block';
|
|
|
191
196
|
* nothing changed, not that anything failed.
|
|
192
197
|
*/
|
|
193
198
|
export declare function applyFormat(editor: Editor, id: FormatId, code?: CodeFormat): boolean;
|
|
194
|
-
/**
|
|
199
|
+
/**
|
|
200
|
+
* The Format section every app's `/` opens with. A block editor's also offers
|
|
201
|
+
* a checklist and the callouts — only where the editor has the `Checklist` and
|
|
202
|
+
* `Callout` extensions (`SlashCommand.needs`).
|
|
203
|
+
*/
|
|
195
204
|
export declare function formatSection(code?: CodeFormat): SlashSection;
|
|
196
205
|
/** A row that types another trigger, so its own list opens — `@` from `/`. */
|
|
197
206
|
export declare function typeTrigger(input: string): SlashCommand['run'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComposerTriggers.d.ts","sourceRoot":"","sources":["../src/ComposerTriggers.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,EAAE,SAAS,EAAE,KAAK,MAAM,EAAE,MAAM,cAAc,CAAA;AAErD,OAAgB,EAAE,KAAK,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAMxE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AACzD,OAAO,EAAmB,KAAK,sBAAsB,EAAE,MAAM,mBAAmB,CAAA;AAiBhF,mCAAmC;AACnC,MAAM,WAAW,aAAa;IAC5B,4EAA4E;IAC5E,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,kDAAkD;IAClD,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,wFAAwF;IACxF,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,+EAA+E;IAC/E,MAAM,CAAC,EAAE,SAAS,CAAA;CACnB;AAED,sCAAsC;AACtC,eAAO,MAAM,YAAY,IAAI,CAAA;AAE7B,qFAAqF;AACrF,wBAAgB,YAAY,CAAC,MAAM,EAAE,SAAS,aAAa,EAAE,EAAE,KAAK,EAAE,MAAM,GAAG,aAAa,EAAE,CAG7F;AAED;;;GAGG;AACH,wBAAgB,UAAU,CAAC,MAAM,EAAE,OAAO,GAAG,sBAAsB,CAAC,aAAa,CAAC,CAiBjF;AAED,MAAM,WAAW,oBAA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ap/core';
|
|
3
|
+
export interface EditorTableControlsProps {
|
|
4
|
+
/** The editor, with TableKit (`@tiptap/extension-table`) in its extensions. Not editable, or not there yet: no controls. */
|
|
5
|
+
editor: Editor | null;
|
|
6
|
+
/** The `EditorContent`. */
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
className?: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* The cell's row, or the whole table when it is its only one: a table holds at
|
|
12
|
+
* least one row (prosemirror-tables refuses to delete it). Deleting the header
|
|
13
|
+
* row makes the next row the header, so the table still opens with one.
|
|
14
|
+
*/
|
|
15
|
+
export declare function deleteTableRow(editor: Editor, cell: HTMLTableCellElement): boolean;
|
|
16
|
+
/** The same for a column: the last one deletes the table. */
|
|
17
|
+
export declare function deleteTableColumn(editor: Editor, cell: HTMLTableCellElement): boolean;
|
|
18
|
+
/** A row after the last one: the ➕ under the table. */
|
|
19
|
+
export declare function appendTableRow(editor: Editor, table: HTMLTableElement): boolean;
|
|
20
|
+
/** A column after the last one: the ➕ right of the table. */
|
|
21
|
+
export declare function appendTableColumn(editor: Editor, table: HTMLTableElement): boolean;
|
|
22
|
+
/**
|
|
23
|
+
* A table's own controls in an editor, as in Notion: point at a cell and a
|
|
24
|
+
* handle sits on its row's left edge and on its column's top edge; press one
|
|
25
|
+
* for Insert above and below (left and right), Delete, and Delete table. On
|
|
26
|
+
* the last row a ➕ bar under the table adds a row, and on the last column one
|
|
27
|
+
* right of it adds a column. Tab in
|
|
28
|
+
* the last cell adds a row too — that is TableKit's own.
|
|
29
|
+
*
|
|
30
|
+
* Deleting a table's only row or only column deletes the table, which cannot
|
|
31
|
+
* be left with none.
|
|
32
|
+
*
|
|
33
|
+
* Built on the editor library's own table commands; the controls are ours.
|
|
34
|
+
* Wrap the `EditorContent` in it, inside an `EditorBlockHandle` if there is
|
|
35
|
+
* one: the block handle stays the table's, in the gutter.
|
|
36
|
+
*/
|
|
37
|
+
export declare function EditorTableControls({ editor, children, className }: EditorTableControlsProps): import("react").JSX.Element;
|
|
38
|
+
//# sourceMappingURL=EditorTableControls.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EditorTableControls.d.ts","sourceRoot":"","sources":["../src/EditorTableControls.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6D,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AACjG,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAS1C,MAAM,WAAW,wBAAwB;IACvC,4HAA4H;IAC5H,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,2BAA2B;IAC3B,QAAQ,EAAE,SAAS,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAwCD;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,oBAAoB,GAAG,OAAO,CAMlF;AAED,6DAA6D;AAC7D,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,oBAAoB,GAAG,OAAO,CAGrF;AAED,uDAAuD;AACvD,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,gBAAgB,GAAG,OAAO,CAG/E;AAED,6DAA6D;AAC7D,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,gBAAgB,GAAG,OAAO,CAIlF;AA2BD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,mBAAmB,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,wBAAwB,+BA8H5F"}
|
package/dist/NavItem.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type ComponentPropsWithoutRef, type ReactNode } from 'react';
|
|
2
|
+
import type { SectionAction } from './SectionHeader';
|
|
2
3
|
/**
|
|
3
4
|
* One row of a sidebar: a label, an optional count, an active state
|
|
4
5
|
* (Ship's NavItem, 2026-09-02, verbatim).
|
|
@@ -23,6 +24,13 @@ import { type ComponentPropsWithoutRef, type ReactNode } from 'react';
|
|
|
23
24
|
* link, like the ⋮. The rows slide as `CollapsibleSection`'s do, indented
|
|
24
25
|
* past the icon so their icons start under this row's label.
|
|
25
26
|
*
|
|
27
|
+
* `action` is one button of its own beside the ⋮ — any icon, with its tooltip
|
|
28
|
+
* (Katerina, 14 October: Peek's Open work keeps its ✕ "Remove from list" in
|
|
29
|
+
* sight, not inside a menu). The same shape as a `SectionHeader`'s actions,
|
|
30
|
+
* and drawn the same way: an `IconButton` that shows with the ⋮, in the
|
|
31
|
+
* count's place, before the ⋮ when there is one. One, never a row of them: a
|
|
32
|
+
* second thing to do goes in the menu.
|
|
33
|
+
*
|
|
26
34
|
* `hint` is shown only while the row is pointed at or focused, left of the
|
|
27
35
|
* count — a neutral `Chip`, typically. It takes its own room while it shows,
|
|
28
36
|
* so the label ends with "…" before it instead of running under it.
|
|
@@ -50,6 +58,8 @@ export interface NavItemProps extends Omit<ComponentPropsWithoutRef<'a'>, 'href'
|
|
|
50
58
|
menu?: ReactNode;
|
|
51
59
|
/** The ⋮'s accessible name and tooltip. Default "More options for {label}". */
|
|
52
60
|
menuLabel?: string;
|
|
61
|
+
/** One button beside the ⋮, shown with it: any 16px icon, its tooltip and its handler — a `SectionHeader` action's shape. With a menu too, it sits before the ⋮. */
|
|
62
|
+
action?: SectionAction;
|
|
53
63
|
/** Shown only while the row is pointed at or focused, left of the count: a neutral `Chip`, typically. */
|
|
54
64
|
hint?: ReactNode;
|
|
55
65
|
/** Something new here: brighter words, the label in medium, and the `UnreadDot` at the right. Say so in the row's own words for assistive tech too. */
|
|
@@ -65,5 +75,5 @@ export interface NavItemProps extends Omit<ComponentPropsWithoutRef<'a'>, 'href'
|
|
|
65
75
|
onOpenChange?: (open: boolean) => void;
|
|
66
76
|
className?: string;
|
|
67
77
|
}
|
|
68
|
-
export declare function NavItem({ label, href, count, countLabel, active, icon, menu, menuLabel, hint, unread, urgent, children, defaultOpen, open: openProp, onOpenChange, className, onClick, ...props }: NavItemProps): import("react").JSX.Element;
|
|
78
|
+
export declare function NavItem({ label, href, count, countLabel, active, icon, menu, menuLabel, action, hint, unread, urgent, children, defaultOpen, open: openProp, onOpenChange, className, onClick, ...props }: NavItemProps): import("react").JSX.Element;
|
|
69
79
|
//# sourceMappingURL=NavItem.d.ts.map
|
package/dist/NavItem.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavItem.d.ts","sourceRoot":"","sources":["../src/NavItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,wBAAwB,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"NavItem.d.ts","sourceRoot":"","sources":["../src/NavItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,wBAAwB,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAQtF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAIpD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,MAAM,WAAW,YAAa,SAAQ,IAAI,CAAC,wBAAwB,CAAC,GAAG,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC;IAC5F,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,wCAAwC;IACxC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,sEAAsE;IACtE,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,wBAAwB;IACxB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,4GAA4G;IAC5G,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,+EAA+E;IAC/E,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,oKAAoK;IACpK,MAAM,CAAC,EAAE,aAAa,CAAA;IACtB,yGAAyG;IACzG,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,uJAAuJ;IACvJ,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,2DAA2D;IAC3D,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,6HAA6H;IAC7H,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,mDAAmD;IACnD,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,kDAAkD;IAClD,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IACtC,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,wBAAgB,OAAO,CAAC,EACtB,KAAK,EACL,IAAI,EACJ,KAAK,EACL,UAAU,EACV,MAAc,EACd,IAAI,EACJ,IAAI,EACJ,SAAS,EACT,MAAM,EACN,IAAI,EACJ,MAAc,EACd,MAAc,EACd,QAAQ,EACR,WAAkB,EAClB,IAAI,EAAE,QAAQ,EACd,YAAY,EACZ,SAAS,EACT,OAAO,EACP,GAAG,KAAK,EACT,EAAE,YAAY,+BAwKd"}
|
package/dist/RichText.d.ts
CHANGED
|
@@ -45,6 +45,10 @@ export interface RichTextBlock {
|
|
|
45
45
|
start?: number;
|
|
46
46
|
/** How far a list item is indented under the items above it. A list's items stay flat; this draws them nested. */
|
|
47
47
|
indent?: number;
|
|
48
|
+
/** A checklist item's tick: `true` or `false`, absent on a plain item. */
|
|
49
|
+
checked?: boolean;
|
|
50
|
+
/** A callout's tone (`note`, `tip`, `important`, `warning`, `caution`), absent on a plain quote. */
|
|
51
|
+
tone?: string;
|
|
48
52
|
attrs?: Record<string, unknown>;
|
|
49
53
|
inline?: readonly RichTextRun[];
|
|
50
54
|
children?: readonly RichTextBlock[];
|
|
@@ -71,11 +75,19 @@ export interface RichTextProps {
|
|
|
71
75
|
* `undefined` to leave it to the part, which draws its words.
|
|
72
76
|
*/
|
|
73
77
|
renderBlock?: (block: RichTextBlock) => ReactNode | undefined;
|
|
78
|
+
/**
|
|
79
|
+
* Ticks or unticks a checklist item, by its block id: its box is then a
|
|
80
|
+
* control, one click where the text is read. Without it the box is a picture
|
|
81
|
+
* of the state — for someone who may not change the text.
|
|
82
|
+
*/
|
|
83
|
+
onTick?: (blockId: string, checked: boolean) => void;
|
|
74
84
|
}
|
|
75
85
|
/**
|
|
76
86
|
* RichText's look, for a box you draw yourself: an editor's, so that what is
|
|
77
87
|
* being written looks the same as what is read. Put it on the editor's root.
|
|
78
88
|
*/
|
|
79
89
|
export declare function richTextClassName(size?: RichTextSize, className?: string): string;
|
|
80
|
-
|
|
90
|
+
/** The tone a callout is drawn in: its own, or `note` for one this part does not know (§13.3). */
|
|
91
|
+
export declare function calloutLook(tone: string): string;
|
|
92
|
+
export declare function RichText({ blocks, size, renderText, renderReference, renderBlock, onTick, }: RichTextProps): import("react").JSX.Element | null;
|
|
81
93
|
//# sourceMappingURL=RichText.d.ts.map
|
package/dist/RichText.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RichText.d.ts","sourceRoot":"","sources":["../src/RichText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAc,SAAS,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"RichText.d.ts","sourceRoot":"","sources":["../src/RichText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAc,SAAS,EAAE,MAAM,OAAO,CAAA;AAMlD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH,yEAAyE;AACzE,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,SAAS,MAAM,EAAE,CAAA;IACxB,4EAA4E;IAC5E,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,0DAA0D;AAC1D,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAA;IACZ,+DAA+D;IAC/D,QAAQ,CAAC,EAAE,MAAM,CA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CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAGhD;AAuMD,wBAAgB,QAAQ,CAAC,EACvB,MAAM,EACN,IAAgB,EAChB,UAA2B,EAC3B,eAA+C,EAC/C,WAAW,EACX,MAAM,GACP,EAAE,aAAa,sCAQf"}
|
package/dist/editor.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export { PastedImages, pastedImages, pastedImageName, type PastedImagesOptions,
|
|
|
12
12
|
export { CodeBlockColours } from './CodeBlockColours';
|
|
13
13
|
export { suggestionPopup, isSuggestionActive, isSuggestionOpen, type SuggestionPopupOptions } from './suggestionPopup';
|
|
14
14
|
export { EditorBlockHandle, blockDropCursor, deleteBlock, moveBlock, duplicateBlock, startBlockDrag, type EditorBlockHandleProps, type BlockTurnInto } from './EditorBlockHandle';
|
|
15
|
+
export { EditorTableControls, appendTableRow, appendTableColumn, deleteTableRow, deleteTableColumn, type EditorTableControlsProps } from './EditorTableControls';
|
|
15
16
|
export { PersonMention, UrgentPersonMention, CaptionedReference, ReferenceTrigger, SlashCommands, peopleMenu, referenceMenu, filterPeople, urgentPubkeys, filterReferences, formatSection, applyFormat, typeTrigger, filterSlashSections, FORMATS, type MentionPerson, type PersonMentionOptions, type CaptionedItem, type CaptionedReferenceOptions, type ReferenceTriggerOptions, type ReferenceMenuOptions, type SlashCommand, type SlashSection, type SlashCommandsOptions, type FormatId, type FormatDef, type CodeFormat, } from './ComposerTriggers';
|
|
16
|
-
export { BlockId, UnknownBlock, ReferenceNode, AttachmentNode, type ReferenceNodeOptions, type ReferenceViewProps, type AttachmentNodeOptions, type AttachmentViewProps, } from './BlockNodes';
|
|
17
|
+
export { BlockId, Checklist, Callout, isChecklistTick, UnknownBlock, ReferenceNode, AttachmentNode, type ReferenceNodeOptions, type ReferenceViewProps, type AttachmentNodeOptions, type AttachmentViewProps, } from './BlockNodes';
|
|
17
18
|
//# sourceMappingURL=editor.d.ts.map
|
package/dist/editor.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
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