@atmo-dev/kit 0.18.1 → 0.19.1
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/articles/ArticleCard.svelte +97 -0
- package/dist/articles/ArticleCard.svelte.d.ts +20 -0
- package/dist/articles/ArticleCodeBlock.svelte +121 -0
- package/dist/articles/ArticleCodeBlock.svelte.d.ts +11 -0
- package/dist/articles/ArticleEditor.svelte +340 -0
- package/dist/articles/ArticleEditor.svelte.d.ts +48 -0
- package/dist/articles/ArticleLinkEmbed.svelte +50 -0
- package/dist/articles/ArticleLinkEmbed.svelte.d.ts +5 -0
- package/dist/articles/ArticleView.svelte +128 -0
- package/dist/articles/ArticleView.svelte.d.ts +46 -0
- package/dist/articles/PublicationIcon.svelte +37 -0
- package/dist/articles/PublicationIcon.svelte.d.ts +10 -0
- package/dist/articles/article-link-embed.d.ts +36 -0
- package/dist/articles/article-link-embed.js +29 -0
- package/dist/articles/dates.d.ts +2 -0
- package/dist/articles/dates.js +12 -0
- package/dist/articles/images.d.ts +5 -0
- package/dist/articles/images.js +44 -0
- package/dist/articles/markdown.d.ts +15 -0
- package/dist/articles/markdown.js +52 -0
- package/dist/articles/paste.d.ts +11 -0
- package/dist/articles/paste.js +27 -0
- package/dist/articles/records.d.ts +166 -0
- package/dist/articles/records.js +423 -0
- package/dist/articles/styles.d.ts +4 -0
- package/dist/articles/styles.js +14 -0
- package/dist/articles-data.d.ts +8 -0
- package/dist/articles-data.js +8 -0
- package/dist/articles.d.ts +10 -0
- package/dist/articles.js +8 -0
- package/dist/components/ExternalEmbed.svelte +16 -2
- package/dist/components/ExternalEmbed.svelte.d.ts +6 -0
- package/dist/components/IconMaker.svelte +119 -0
- package/dist/components/IconMaker.svelte.d.ts +9 -0
- package/dist/components/IconRail.svelte +9 -6
- package/dist/components/IconRail.svelte.d.ts +2 -0
- package/dist/components/LinkEmbed.svelte +24 -21
- package/dist/components/LinkEmbed.svelte.d.ts +3 -2
- package/dist/components/PaletteApply.svelte +62 -0
- package/dist/components/PaletteApply.svelte.d.ts +9 -0
- package/dist/components/PalettePicker.svelte +92 -0
- package/dist/components/PalettePicker.svelte.d.ts +13 -0
- package/dist/components/PostComments.svelte +129 -0
- package/dist/components/PostComments.svelte.d.ts +15 -0
- package/dist/components/RichText.svelte +199 -9
- package/dist/components/RichText.svelte.d.ts +17 -0
- package/dist/components/RichTextEditor.svelte +164 -13
- package/dist/components/RichTextEditor.svelte.d.ts +26 -3
- package/dist/components/composer/ComposerPost.svelte +10 -0
- package/dist/components/composer/ComposerPost.svelte.d.ts +3 -1
- package/dist/components/composer/PostComposer.svelte +28 -2
- package/dist/components/composer/PostComposer.svelte.d.ts +12 -1
- package/dist/editor/EditorMenus.svelte +438 -0
- package/dist/editor/EditorMenus.svelte.d.ts +9 -0
- package/dist/editor/SlashOptions.svelte +45 -0
- package/dist/editor/SlashOptions.svelte.d.ts +12 -0
- package/dist/editor/article-commands.d.ts +44 -0
- package/dist/editor/article-commands.js +289 -0
- package/dist/editor/article-extensions.d.ts +8 -0
- package/dist/editor/article-extensions.js +315 -0
- package/dist/editor/article-menus.d.ts +2 -0
- package/dist/editor/article-menus.js +3 -0
- package/dist/editor/document.d.ts +5 -0
- package/dist/editor/document.js +163 -12
- package/dist/editor/image-node.d.ts +8 -0
- package/dist/editor/image-node.js +75 -0
- package/dist/editor/markdown-extensions.d.ts +1 -5
- package/dist/editor/markdown-extensions.js +37 -2
- package/dist/editor/slash-menu.svelte.d.ts +9 -0
- package/dist/editor/slash-menu.svelte.js +134 -0
- package/dist/embeds/PlayerLinkEmbed.svelte +9 -1
- package/dist/embeds/PostLinkEmbed.svelte +12 -29
- package/dist/embeds/PostLinkEmbed.svelte.d.ts +3 -0
- package/dist/embeds/ProfileLinkEmbed.svelte +12 -17
- package/dist/embeds/ProfileLinkEmbed.svelte.d.ts +3 -0
- package/dist/embeds/defaults.d.ts +4 -2
- package/dist/embeds/defaults.js +7 -3
- package/dist/embeds/load.d.ts +44 -0
- package/dist/embeds/load.js +139 -0
- package/dist/embeds/types.d.ts +18 -3
- package/dist/events/EventComments.svelte +4 -101
- package/dist/events/EventComments.svelte.d.ts +1 -1
- package/dist/events/EventView.svelte +5 -0
- package/dist/events/EventView.svelte.d.ts +3 -0
- package/dist/events/event-link-embed.d.ts +4 -1
- package/dist/events/event-link-embed.js +9 -1
- package/dist/events/event-view/EventLinkEmbed.svelte +8 -8
- package/dist/events/event-view/EventLinkEmbed.svelte.d.ts +3 -2
- package/dist/icon-maker/artwork.d.ts +11 -0
- package/dist/icon-maker/artwork.js +25 -0
- package/dist/icon-maker/index.d.ts +12 -0
- package/dist/icon-maker/index.js +73 -0
- package/dist/index.d.ts +10 -3
- package/dist/index.js +7 -1
- package/dist/palettes.d.ts +20 -0
- package/dist/palettes.js +37 -0
- package/dist/richtext/article-styles.d.ts +10 -0
- package/dist/richtext/article-styles.js +28 -0
- package/dist/richtext/document.d.ts +63 -1
- package/dist/richtext/document.js +54 -0
- package/dist/richtext/markdown.d.ts +19 -4
- package/dist/richtext/markdown.js +223 -18
- package/dist/richtext/serialize.d.ts +5 -1
- package/dist/richtext/serialize.js +163 -31
- package/dist/richtext/vendor/markdown-tree.d.ts +4 -3
- package/dist/richtext/vendor/markdown-tree.js +2584 -26
- package/dist/richtext.d.ts +7 -5
- package/dist/richtext.js +1 -1
- package/dist/social/external-embeds.d.ts +5 -0
- package/dist/social/external-embeds.js +6 -1
- package/dist/social/mention-suggestions.svelte.js +18 -7
- package/dist/social/posts.d.ts +2 -0
- package/dist/social/posts.js +43 -2
- package/dist/social/profile.js +2 -1
- package/package.json +28 -2
package/dist/richtext.d.ts
CHANGED
|
@@ -2,17 +2,19 @@
|
|
|
2
2
|
* Rich text parsing without Svelte or a DOM. Parse on the server and pass the document to
|
|
3
3
|
* `RichText` so the Markdown parser stays out of client bundles.
|
|
4
4
|
*/
|
|
5
|
-
import { parseMarkdown } from './richtext/markdown.js';
|
|
5
|
+
import { parseMarkdown, type MarkdownOptions } from './richtext/markdown.js';
|
|
6
6
|
import { parsePlainText, type PlainTextOptions } from './richtext/plain.js';
|
|
7
7
|
import type { RichTextDocument } from './richtext/document.js';
|
|
8
|
-
export type RichTextParseOptions =
|
|
8
|
+
export type RichTextParseOptions = MarkdownOptions & {
|
|
9
9
|
/** Parse CommonMark and ~~strikethrough~~. Otherwise, text is plain and whitespace is kept. */
|
|
10
10
|
markdown?: boolean;
|
|
11
11
|
};
|
|
12
12
|
export declare function parseRichText(text: string, options?: RichTextParseOptions): RichTextDocument;
|
|
13
13
|
export { parseMarkdown, parsePlainText };
|
|
14
14
|
export { richTextToMarkdown, sameRichText } from './richtext/serialize.js';
|
|
15
|
-
export { richTextToPlainText, safeWebUrl, paragraphParts } from './richtext/document.js';
|
|
16
|
-
export type { RichTextDocument, RichTextBlock, RichTextInline, RichTextLinkOptions } from './richtext/document.js';
|
|
17
|
-
export type { PlainTextOptions };
|
|
15
|
+
export { richTextToPlainText, safeWebUrl, paragraphParts, CALLOUTS } from './richtext/document.js';
|
|
16
|
+
export type { RichTextDocument, RichTextBlock, RichTextCallout, RichTextInline, RichTextLinkOptions } from './richtext/document.js';
|
|
17
|
+
export type { PlainTextOptions, MarkdownOptions };
|
|
18
|
+
export type { RichTextAlign } from './richtext/document.js';
|
|
19
|
+
export type { MarkdownWriteOptions } from './richtext/serialize.js';
|
|
18
20
|
export { detectTokens, type DetectedToken } from './richtext/detect.js';
|
package/dist/richtext.js
CHANGED
|
@@ -9,5 +9,5 @@ export function parseRichText(text, options = {}) {
|
|
|
9
9
|
}
|
|
10
10
|
export { parseMarkdown, parsePlainText };
|
|
11
11
|
export { richTextToMarkdown, sameRichText } from './richtext/serialize.js';
|
|
12
|
-
export { richTextToPlainText, safeWebUrl, paragraphParts } from './richtext/document.js';
|
|
12
|
+
export { richTextToPlainText, safeWebUrl, paragraphParts, CALLOUTS } from './richtext/document.js';
|
|
13
13
|
export { detectTokens } from './richtext/detect.js';
|
|
@@ -7,6 +7,11 @@ export type ExternalEmbedPlayer = {
|
|
|
7
7
|
type: 'iframe';
|
|
8
8
|
src: string;
|
|
9
9
|
aspectRatio?: number;
|
|
10
|
+
/**
|
|
11
|
+
* A preview image the provider can name without a request. Loading it contacts its
|
|
12
|
+
* host, so it is shown only where `ExternalEmbed` is given `providerPoster`.
|
|
13
|
+
*/
|
|
14
|
+
poster?: string;
|
|
10
15
|
} | {
|
|
11
16
|
type: 'video';
|
|
12
17
|
sources: readonly {
|
|
@@ -40,7 +40,12 @@ export const youtubeEmbedProvider = {
|
|
|
40
40
|
const start = youtubeStart(url.searchParams.get('t') ?? url.searchParams.get('start'));
|
|
41
41
|
if (start)
|
|
42
42
|
player.searchParams.set('start', String(start));
|
|
43
|
-
return {
|
|
43
|
+
return {
|
|
44
|
+
type: 'iframe',
|
|
45
|
+
src: player.href,
|
|
46
|
+
aspectRatio: shorts ? 9 / 16 : 16 / 9,
|
|
47
|
+
poster: `https://i.ytimg.com/vi/${id}/hqdefault.jpg`
|
|
48
|
+
};
|
|
44
49
|
}
|
|
45
50
|
};
|
|
46
51
|
/** Bluesky's Klipy GIF links carry video slugs and dimensions in query parameters. */
|
|
@@ -17,6 +17,8 @@ export function mentionSuggestions(search, host) {
|
|
|
17
17
|
}
|
|
18
18
|
});
|
|
19
19
|
const close = () => {
|
|
20
|
+
removeEventListener('scroll', draw, true);
|
|
21
|
+
removeEventListener('resize', draw);
|
|
20
22
|
if (options)
|
|
21
23
|
void unmount(options);
|
|
22
24
|
options = undefined;
|
|
@@ -30,14 +32,18 @@ export function mentionSuggestions(search, host) {
|
|
|
30
32
|
if (!menu)
|
|
31
33
|
return;
|
|
32
34
|
state.items = current.items;
|
|
33
|
-
const rect = current.clientRect?.();
|
|
34
|
-
const bounds = host().getBoundingClientRect();
|
|
35
|
-
if (rect) {
|
|
36
|
-
menu.style.top = `${rect.bottom - bounds.top + host().scrollTop + 6}px`;
|
|
37
|
-
menu.style.left = `${Math.max(0, Math.min(rect.left - bounds.left, bounds.width - 288))}px`;
|
|
38
|
-
}
|
|
39
35
|
// Nothing to choose from: stay out of the way instead of saying so.
|
|
40
36
|
menu.hidden = !current.items.length;
|
|
37
|
+
const rect = current.clientRect?.();
|
|
38
|
+
if (rect && !menu.hidden) {
|
|
39
|
+
// In the top layer, so a dialog's clipping cannot cut it off. Below the text, or above
|
|
40
|
+
// it when there is more room there than the tallest list needs below.
|
|
41
|
+
const room = innerHeight - rect.bottom;
|
|
42
|
+
const up = room < 360 && rect.top > room;
|
|
43
|
+
menu.style.top = up ? 'auto' : `${rect.bottom + 6}px`;
|
|
44
|
+
menu.style.bottom = up ? `${innerHeight - rect.top + 6}px` : 'auto';
|
|
45
|
+
menu.style.left = `${Math.max(8, Math.min(rect.left, innerWidth - Math.min(288, innerWidth - 16) - 8))}px`;
|
|
46
|
+
}
|
|
41
47
|
if (!current.items.length) {
|
|
42
48
|
current.editor.view.dom.removeAttribute('aria-controls');
|
|
43
49
|
current.editor.view.dom.removeAttribute('aria-activedescendant');
|
|
@@ -72,10 +78,15 @@ export function mentionSuggestions(search, host) {
|
|
|
72
78
|
menu.role = 'listbox';
|
|
73
79
|
menu.setAttribute('aria-label', 'Mention suggestions');
|
|
74
80
|
menu.className =
|
|
75
|
-
'
|
|
81
|
+
'fixed inset-auto z-60 m-0 w-72 max-w-[calc(100vw-1rem)] overflow-hidden rounded-ui border border-base-300 bg-[color-mix(in_srgb,var(--base-100)_75%,var(--base-200))] p-1.5 font-sans text-base-950 dark:border-[color-mix(in_srgb,var(--base-800)_80%,var(--base-950))] dark:bg-base-975 dark:text-base-50';
|
|
76
82
|
state.id = menu.id;
|
|
83
|
+
// Kept inside the editor, so a dialog around it still counts clicks on it as its own.
|
|
84
|
+
menu.popover = 'manual';
|
|
77
85
|
host().append(menu);
|
|
86
|
+
menu.showPopover();
|
|
78
87
|
options = mount(MentionOptions, { target: menu, props: { state } });
|
|
88
|
+
addEventListener('scroll', draw, true);
|
|
89
|
+
addEventListener('resize', draw);
|
|
79
90
|
draw();
|
|
80
91
|
},
|
|
81
92
|
onUpdate: (props) => {
|
package/dist/social/posts.d.ts
CHANGED
|
@@ -148,6 +148,8 @@ type BlueskyEmbedView = {
|
|
|
148
148
|
* author, or anything it embeds (a quoted post and its author, at any depth). Apps without the
|
|
149
149
|
* viewer's moderation preferences can use it to leave such content out. Pass a single post
|
|
150
150
|
* view, not a thread: a thread's replies would count too.
|
|
151
|
+
*
|
|
152
|
+
* Labels an account gives itself that are not about moderation, such as `bot`, do not count.
|
|
151
153
|
*/
|
|
152
154
|
export declare function hasModerationLabel(value: unknown, depth?: number): boolean;
|
|
153
155
|
export declare function blueskyPostToPostData(post: BlueskyPostView, depth?: number): PostData;
|
package/dist/social/posts.js
CHANGED
|
@@ -1,10 +1,50 @@
|
|
|
1
1
|
import { isActorIdentifier, isRecordKey } from '@atcute/lexicons/syntax';
|
|
2
2
|
import { blueskyProfileUrl } from './urls.js';
|
|
3
|
+
/**
|
|
4
|
+
* The values an account or a record's author may apply to their own content that call for
|
|
5
|
+
* hiding it or putting it behind a warning. Anything else self-applied (`bot`, `pet`, …) is a
|
|
6
|
+
* description, not moderation.
|
|
7
|
+
*/
|
|
8
|
+
const SELF_LABELS = new Set([
|
|
9
|
+
'porn',
|
|
10
|
+
'sexual',
|
|
11
|
+
'nudity',
|
|
12
|
+
'graphic-media',
|
|
13
|
+
'gore',
|
|
14
|
+
'nsfl'
|
|
15
|
+
]);
|
|
16
|
+
/** The account an AT URI or DID names. */
|
|
17
|
+
function subjectDid(uri) {
|
|
18
|
+
if (typeof uri !== 'string')
|
|
19
|
+
return undefined;
|
|
20
|
+
return uri.startsWith('at://') ? uri.slice(5).split('/')[0] : uri;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Whether a label asks for content to be hidden or warned about. Labels from a moderation
|
|
24
|
+
* service always do. Self-applied ones do when they are system labels (`!no-unauthenticated`,
|
|
25
|
+
* `!hide`, …) or one of the known content warnings.
|
|
26
|
+
*/
|
|
27
|
+
function isModerating(label, inRecord) {
|
|
28
|
+
if (!label || typeof label !== 'object')
|
|
29
|
+
return false;
|
|
30
|
+
const { neg, val, src, uri } = label;
|
|
31
|
+
if (neg)
|
|
32
|
+
return false;
|
|
33
|
+
// A record's own `{ values: [{ val }] }` is always self-applied. In a view, a label is
|
|
34
|
+
// self-applied when its source is the account it is about; one without a source counts as
|
|
35
|
+
// a moderation service's.
|
|
36
|
+
const self = inRecord || (typeof src === 'string' && src === subjectDid(uri));
|
|
37
|
+
if (!self)
|
|
38
|
+
return true;
|
|
39
|
+
return typeof val !== 'string' || val.startsWith('!') || SELF_LABELS.has(val);
|
|
40
|
+
}
|
|
3
41
|
/**
|
|
4
42
|
* Whether an AppView view carries a moderation label anywhere: for a post, on the post, its
|
|
5
43
|
* author, or anything it embeds (a quoted post and its author, at any depth). Apps without the
|
|
6
44
|
* viewer's moderation preferences can use it to leave such content out. Pass a single post
|
|
7
45
|
* view, not a thread: a thread's replies would count too.
|
|
46
|
+
*
|
|
47
|
+
* Labels an account gives itself that are not about moderation, such as `bot`, do not count.
|
|
8
48
|
*/
|
|
9
49
|
export function hasModerationLabel(value, depth = 0) {
|
|
10
50
|
if (!value || typeof value !== 'object')
|
|
@@ -16,8 +56,9 @@ export function hasModerationLabel(value, depth = 0) {
|
|
|
16
56
|
return value.some((item) => hasModerationLabel(item, depth + 1));
|
|
17
57
|
const { labels } = value;
|
|
18
58
|
// Views list labels; records self-label with `{ values: [...] }`.
|
|
19
|
-
const
|
|
20
|
-
|
|
59
|
+
const inRecord = !Array.isArray(labels);
|
|
60
|
+
const list = inRecord ? labels?.values : labels;
|
|
61
|
+
if (Array.isArray(list) && list.some((label) => isModerating(label, inRecord)))
|
|
21
62
|
return true;
|
|
22
63
|
return Object.entries(value).some(([key, child]) => key !== 'labels' && hasModerationLabel(child, depth + 1));
|
|
23
64
|
}
|
package/dist/social/profile.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { detectTokens } from '../richtext/detect.js';
|
|
2
|
+
import { hasModerationLabel } from './posts.js';
|
|
2
3
|
import { safeHttpUrl as safeWebUrl } from '../urls.js';
|
|
3
4
|
import { socialHashtagUrl, socialProfileUrl } from './urls.js';
|
|
4
5
|
/** Only web URLs; never accept executable schemes or disguised credentials. */
|
|
@@ -53,7 +54,7 @@ export function blueskyProfileToProfileData(value) {
|
|
|
53
54
|
if (!item || typeof item !== 'object' || typeof item.url !== 'string')
|
|
54
55
|
continue;
|
|
55
56
|
// Without viewer-specific moderation preferences, omit labeled links conservatively.
|
|
56
|
-
if (
|
|
57
|
+
if (hasModerationLabel({ labels: item.labels }))
|
|
57
58
|
continue;
|
|
58
59
|
links.push({
|
|
59
60
|
url: item.url,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atmo-dev/kit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.1",
|
|
4
4
|
"description": "The shared UI foundation for Atmo apps.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -64,6 +64,15 @@
|
|
|
64
64
|
"types": "./dist/urls.d.ts",
|
|
65
65
|
"default": "./dist/urls.js"
|
|
66
66
|
},
|
|
67
|
+
"./articles": {
|
|
68
|
+
"types": "./dist/articles.d.ts",
|
|
69
|
+
"svelte": "./dist/articles.js",
|
|
70
|
+
"default": "./dist/articles.js"
|
|
71
|
+
},
|
|
72
|
+
"./articles-data": {
|
|
73
|
+
"types": "./dist/articles-data.d.ts",
|
|
74
|
+
"default": "./dist/articles-data.js"
|
|
75
|
+
},
|
|
67
76
|
"./richtext": {
|
|
68
77
|
"types": "./dist/richtext.d.ts",
|
|
69
78
|
"default": "./dist/richtext.js"
|
|
@@ -107,7 +116,6 @@
|
|
|
107
116
|
"@tailwindcss/vite": "^4.3.0",
|
|
108
117
|
"@types/canvas-confetti": "^1.9.0",
|
|
109
118
|
"@types/mdast": "^4.0.4",
|
|
110
|
-
"mdast-util-from-markdown": "^2.1.0",
|
|
111
119
|
"@types/node": "^24",
|
|
112
120
|
"@vitest/browser-playwright": "^4.1.8",
|
|
113
121
|
"axe-core": "^4.14.0",
|
|
@@ -116,8 +124,20 @@
|
|
|
116
124
|
"eslint-plugin-svelte": "^3.19.0",
|
|
117
125
|
"globals": "^17.6.0",
|
|
118
126
|
"maplibre-gl": "^6.16.0",
|
|
127
|
+
"mdast-util-from-markdown": "^2.1.0",
|
|
128
|
+
"mdast-util-gfm-footnote": "^2.1.0",
|
|
119
129
|
"mdast-util-gfm-strikethrough": "^2.0.1",
|
|
130
|
+
"mdast-util-gfm-table": "^2.0.1",
|
|
131
|
+
"mdast-util-gfm-task-list-item": "^2.0.1",
|
|
132
|
+
"mdast-util-math": "^3.0.0",
|
|
133
|
+
"micromark-extension-gfm-footnote": "^2.1.0",
|
|
120
134
|
"micromark-extension-gfm-strikethrough": "^2.1.0",
|
|
135
|
+
"micromark-extension-gfm-table": "^2.1.2",
|
|
136
|
+
"micromark-extension-gfm-task-list-item": "^2.1.0",
|
|
137
|
+
"micromark-extension-math": "^3.1.0",
|
|
138
|
+
"micromark-util-chunked": "^2.0.1",
|
|
139
|
+
"micromark-util-classify-character": "^2.0.1",
|
|
140
|
+
"micromark-util-resolve-all": "^2.0.1",
|
|
121
141
|
"playwright": "^1.60.0",
|
|
122
142
|
"prettier": "^3.8.3",
|
|
123
143
|
"prettier-plugin-svelte": "^4.1.0",
|
|
@@ -144,20 +164,26 @@
|
|
|
144
164
|
"@atcute/bluesky-richtext-parser": "^2.1.2",
|
|
145
165
|
"@atcute/lexicons": "^2.1.1",
|
|
146
166
|
"@atcute/tid": "^1.1.4",
|
|
167
|
+
"@floating-ui/dom": "^1.8.0",
|
|
147
168
|
"@fontsource-variable/figtree": "^5.3.0",
|
|
148
169
|
"@internationalized/date": "^3.12.4",
|
|
149
170
|
"@number-flow/svelte": "^0.4.2",
|
|
150
171
|
"@sketchyicons/svelte": "^0.5.0",
|
|
151
172
|
"@tiptap/core": "^3.32.0",
|
|
173
|
+
"@tiptap/extension-blockquote": "^3.32.0",
|
|
174
|
+
"@tiptap/extension-code-block": "^3.32.0",
|
|
152
175
|
"@tiptap/extension-document": "^3.32.0",
|
|
153
176
|
"@tiptap/extension-hard-break": "^3.32.0",
|
|
154
177
|
"@tiptap/extension-history": "^3.32.0",
|
|
178
|
+
"@tiptap/extension-list": "^3.32.0",
|
|
155
179
|
"@tiptap/extension-mention": "^3.32.0",
|
|
156
180
|
"@tiptap/extension-paragraph": "^3.32.0",
|
|
157
181
|
"@tiptap/extension-placeholder": "^3.32.0",
|
|
182
|
+
"@tiptap/extension-table": "^3.34.0",
|
|
158
183
|
"@tiptap/extension-text": "^3.32.0",
|
|
159
184
|
"@tiptap/pm": "^3.32.0",
|
|
160
185
|
"@tiptap/starter-kit": "^3.32.0",
|
|
186
|
+
"@tiptap/suggestion": "^3.32.0",
|
|
161
187
|
"bits-ui": "^2.20.2",
|
|
162
188
|
"canvas-confetti": "^1.9.4",
|
|
163
189
|
"clsx": "^2.1.1",
|