From 755fd63f1fabf87dce9a070acb50d21136be0226 Mon Sep 17 00:00:00 2001 From: Eric Vicenti Date: Fri, 25 Oct 2024 00:29:35 -0500 Subject: [PATCH] Embeds use newspaper card, fixing latest --- .../desktop/src/components/app-embeds.tsx | 46 ++++--- .../src/components/newspaper-layout.tsx | 2 +- .../apps/desktop/src/editor/embed-block.tsx | 4 +- .../apps/desktop/src/editor/media-render.tsx | 2 +- frontend/apps/desktop/src/models/entities.ts | 5 +- frontend/apps/web/app/newspaper.tsx | 2 +- frontend/apps/web/app/web-embeds.tsx | 34 +++-- frontend/packages/ui/src/document-content.tsx | 84 ++---------- frontend/packages/ui/src/index.tsx | 9 +- frontend/packages/ui/src/newspaper.tsx | 10 +- yarn.lock | 121 ++++++++++-------- 11 files changed, 135 insertions(+), 184 deletions(-) diff --git a/frontend/apps/desktop/src/components/app-embeds.tsx b/frontend/apps/desktop/src/components/app-embeds.tsx index ad029470..617575b7 100644 --- a/frontend/apps/desktop/src/components/app-embeds.tsx +++ b/frontend/apps/desktop/src/components/app-embeds.tsx @@ -1,5 +1,5 @@ import {useAccount_deprecated} from '@/models/accounts' -import {useSubscribedEntity} from '@/models/entities' +import {useEntities, useSubscribedEntity} from '@/models/entities' import { DAEMON_FILE_URL, UnpackedHypermediaId, @@ -14,10 +14,11 @@ import { BlockNodeList, Button, ContentEmbed, - DocumentCardView, EntityComponentProps, + ErrorBlock, HMIcon, InlineEmbedButton, + NewspaperCard, SizableText, UIAvatar, XStack, @@ -26,6 +27,7 @@ import { getBlockNodeById, useDocContentContext, } from '@shm/ui' +import {Spinner} from '@shm/ui/src/spinner' import {ArrowUpRightSquare} from '@tamagui/lucide-icons' import { ComponentProps, @@ -246,18 +248,25 @@ export function EmbedDocContent(props: EntityComponentProps) { export function EmbedDocumentCard(props: EntityComponentProps) { const doc = useSubscribedEntity(props) - let textContent = useMemo(() => { - if (doc.data?.document?.content) { - let content = '' - doc.data?.document?.content.forEach((bn) => { - content += bn.block?.text + ' ' - }) - return content - } - }, [doc.data]) + const authors = useEntities( + doc.data?.document?.authors?.map((uid) => hmId('d', uid)) || [], + ) const view = (props.block.type === 'Embed' ? props.block.attributes.view : undefined) || 'Content' + if (doc.isLoading) return + if (!doc.data) return + const id: UnpackedHypermediaId = { + type: props.type, + id: props.id, + uid: props.uid, + path: props.path, + blockRef: props.blockRef, + blockRange: props.blockRange, + version: props.version, + hostname: props.hostname, + scheme: props.scheme, + } return ( - author.data) + .filter((d) => !!d)} /> ) diff --git a/frontend/apps/desktop/src/components/newspaper-layout.tsx b/frontend/apps/desktop/src/components/newspaper-layout.tsx index 49b160d8..6d9f3323 100644 --- a/frontend/apps/desktop/src/components/newspaper-layout.tsx +++ b/frontend/apps/desktop/src/components/newspaper-layout.tsx @@ -68,7 +68,7 @@ export function NewspaperLayout({ {restItems.map((item) => { return ( {`version: ${versionValue}`} + > + {versionValue === 'exact' ? 'Exact Version' : 'Latest Version'} + diff --git a/frontend/apps/desktop/src/editor/media-render.tsx b/frontend/apps/desktop/src/editor/media-render.tsx index 39fb2b3e..f23dcc9d 100644 --- a/frontend/apps/desktop/src/editor/media-render.tsx +++ b/frontend/apps/desktop/src/editor/media-render.tsx @@ -31,7 +31,7 @@ export type MediaType = { url: string name: string size?: string - display?: 'content' | 'card' + view?: 'Content' | 'Card' width?: string } children: [] diff --git a/frontend/apps/desktop/src/models/entities.ts b/frontend/apps/desktop/src/models/entities.ts index aa735cc1..10ad5ef6 100644 --- a/frontend/apps/desktop/src/models/entities.ts +++ b/frontend/apps/desktop/src/models/entities.ts @@ -162,17 +162,18 @@ export function queryEntity( id: UnpackedHypermediaId | null | undefined, options?: UseQueryOptions, ): UseQueryOptions { + const version = id?.latest ? undefined : id?.version || undefined return { ...options, enabled: options?.enabled ?? !!id, - queryKey: [queryKeys.ENTITY, id?.id, id?.version], + queryKey: [queryKeys.ENTITY, id?.id, version], queryFn: async (): Promise => { if (!id) return null try { const grpcDocument = await grpcClient.documents.getDocument({ account: id.uid, path: hmIdPathToEntityQueryPath(id.path), - version: id.version || undefined, + version, }) const serverDocument = toPlainMessage(grpcDocument) diff --git a/frontend/apps/web/app/newspaper.tsx b/frontend/apps/web/app/newspaper.tsx index 61b9d1bc..efb45fa6 100644 --- a/frontend/apps/web/app/newspaper.tsx +++ b/frontend/apps/web/app/newspaper.tsx @@ -66,7 +66,7 @@ export function NewspaperPage(props: SiteDocumentPayload) { {restItems.map((item) => { return ( ; } else { return ; @@ -87,24 +90,17 @@ function DocInlineEmbed(props: EntityComponentProps) { export function EmbedDocumentCard(props: EntityComponentProps) { const doc = useEntity(props); - let textContent = useMemo(() => { - if (doc.data?.document?.content) { - let content = ""; - doc.data?.document?.content.forEach((bn) => { - content += bn.block?.text + " "; - }); - return content; - } - }, [doc.data]); - + if (doc.isLoading) return ; + if (!doc.data) return ; return ( - ); diff --git a/frontend/packages/ui/src/document-content.tsx b/frontend/packages/ui/src/document-content.tsx index a3086bd5..53661db6 100644 --- a/frontend/packages/ui/src/document-content.tsx +++ b/frontend/packages/ui/src/document-content.tsx @@ -8,12 +8,10 @@ import { HMBlockChildrenType, HMBlockNode, HMDocument, - HMTimestamp, Mention, UnpackedHypermediaId, clipContentBlocks, formatBytes, - formattedDate, getCIDFromIPFSUrl, getDocumentTitle, getFileUrl, @@ -1466,7 +1464,14 @@ export function ErrorBlock({ content={debugData ? (open ? "Hide debug Data" : "Show debug data") : ""} > - toggleOpen((v) => !v)}> + { + e.stopPropagation(); + toggleOpen((v) => !v); + }} + > {message ? message : "Error"} @@ -1601,9 +1606,9 @@ export function ContentEmbed({ expanded blockNode={{ block: { - type: "heading", + type: "Heading", id: `heading-${props.uid}`, - text: getDocumentTitle(document), + text: getDocumentTitle(document) || "", attributes: { childrenType: "Group", }, @@ -2235,48 +2240,6 @@ function RadioGroupItemWithLabel(props: {value: string; label: string}) { ); } -export function DocumentCardView({ - title, - textContent, - editors, - IconComponent, - date, -}: { - title?: string; - textContent?: string; - editors?: Array; - IconComponent: React.FC<{accountId?: string}>; - date?: HMTimestamp; -}) { - return ( - - - - {title} - - {/* the maxHeight here is defined by the lineHeight of the content, - so if we change the size of the text we need to change the maxHeight too */} - - {textContent} - - - - {date ? ( - {formattedDate(date)} - ) : null} - - - - ); -} - export function getBlockNode( blockNodes: HMBlockNode[] | undefined, blockId: string @@ -2291,30 +2254,3 @@ export function getBlockNode( } return null; } - -function EditorsAvatars({ - editors, - IconComponent, -}: { - editors?: Array; - IconComponent: React.FC<{accountId?: string}>; -}) { - return ( - - {editors?.map((editor, idx) => ( - - - - ))} - - ); -} diff --git a/frontend/packages/ui/src/index.tsx b/frontend/packages/ui/src/index.tsx index 6c3ea1d5..760ee388 100644 --- a/frontend/packages/ui/src/index.tsx +++ b/frontend/packages/ui/src/index.tsx @@ -2,11 +2,9 @@ export * from "tamagui"; export {config} from "./tamagui.config"; export { + Button as TButton, Paragraph as TParagraph, - // SpinnerProps as TSPinnerProps, Section as TSection, - // Spinner as TSpinner, - Button as TTButton, Tooltip as TTooltip, } from "tamagui"; export * from "./avatar"; @@ -22,10 +20,12 @@ export * from "./document-content"; export * from "./document-content-constants"; export * from "./footer"; export * from "./form-fields"; +export * from "./hm-icon"; export * from "./icons"; export * from "./layout"; export * from "./list"; export * from "./menu-item"; +export * from "./newspaper"; export * as Onboarding from "./onboarding"; export * from "./page-components"; export * from "./panel-card"; @@ -34,9 +34,6 @@ export * from "./radio-option-section"; export * from "./resize-handle"; export {Section} from "./section"; export * from "./select-dropdown"; -// export * from "./spinner"; -export * from "./hm-icon"; -export * from "./newspaper"; export * from "./step-wrapper"; export * from "./table-list"; export * from "./titlebar"; diff --git a/frontend/packages/ui/src/newspaper.tsx b/frontend/packages/ui/src/newspaper.tsx index 26a4432f..04e1ad99 100644 --- a/frontend/packages/ui/src/newspaper.tsx +++ b/frontend/packages/ui/src/newspaper.tsx @@ -5,6 +5,7 @@ import { HMDocumentListItem, HMEntityContent, hmId, + UnpackedHypermediaId, useRouteLink, } from "@shm/shared"; import {View} from "@tamagui/core"; @@ -49,7 +50,6 @@ export function BannerNewspaperCard({ @@ -118,11 +118,9 @@ function NewspaperCardContent({ } function NewspaperCardFooter({ - item, entity, accountsMetadata, }: { - item: HMDocumentListItem; entity: HMEntityContent | null | undefined; accountsMetadata: AccountsMetadata; }) { @@ -161,15 +159,14 @@ const baseCardStyles: Parameters[0] = { }, }; export function NewspaperCard({ - item, + id, entity, accountsMetadata, }: { - item: HMDocumentListItem; + id: UnpackedHypermediaId; entity: HMEntityContent | null | undefined; accountsMetadata: AccountsMetadata; }) { - const id = hmId("d", item.account, {path: item.path}); const linkProps = useRouteLink({key: "document", id}); // const navigate = useNavigate() @@ -197,7 +194,6 @@ export function NewspaperCard({ diff --git a/yarn.lock b/yarn.lock index 80b22210..b073494a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4843,15 +4843,15 @@ __metadata: linkType: hard "@opentelemetry/context-async-hooks@npm:^1.25.1": - version: 1.26.0 - resolution: "@opentelemetry/context-async-hooks@npm:1.26.0" + version: 1.27.0 + resolution: "@opentelemetry/context-async-hooks@npm:1.27.0" peerDependencies: "@opentelemetry/api": ">=1.0.0 <1.10.0" - checksum: f0fe5bfa3aeed99fbe7d6f6157e3bcc2e4450850a62ef60e551812f3e5aa72cb81e38de8c4e1b6934c93e18579a503664597f78e7e7d9904e271f59c939a3e02 + checksum: d0fb0dd9e9de9b5404c50b48aa982c096f1f58aa518e472a3e48bd8d404354700132005886a497b7067cae6e813dab374a6c1483e344e53e396274c5b00f2a31 languageName: node linkType: hard -"@opentelemetry/core@npm:1.26.0, @opentelemetry/core@npm:^1.1.0, @opentelemetry/core@npm:^1.25.1, @opentelemetry/core@npm:^1.8.0": +"@opentelemetry/core@npm:1.26.0": version: 1.26.0 resolution: "@opentelemetry/core@npm:1.26.0" dependencies: @@ -4862,6 +4862,17 @@ __metadata: languageName: node linkType: hard +"@opentelemetry/core@npm:1.27.0, @opentelemetry/core@npm:^1.1.0, @opentelemetry/core@npm:^1.25.1, @opentelemetry/core@npm:^1.8.0": + version: 1.27.0 + resolution: "@opentelemetry/core@npm:1.27.0" + dependencies: + "@opentelemetry/semantic-conventions": 1.27.0 + peerDependencies: + "@opentelemetry/api": ">=1.0.0 <1.10.0" + checksum: 33ff551f89f0bb95830c9f9464c43b11adf88882ec1d3a03a5b9afcc89d2aafab33c36cb5047f18667d7929d6ab40ed0121649c42d0105f1cb33ffdca48f8b13 + languageName: node + linkType: hard + "@opentelemetry/instrumentation-connect@npm:0.39.0": version: 0.39.0 resolution: "@opentelemetry/instrumentation-connect@npm:0.39.0" @@ -5159,40 +5170,40 @@ __metadata: languageName: node linkType: hard -"@opentelemetry/resources@npm:1.26.0, @opentelemetry/resources@npm:^1.26.0": - version: 1.26.0 - resolution: "@opentelemetry/resources@npm:1.26.0" +"@opentelemetry/resources@npm:1.27.0, @opentelemetry/resources@npm:^1.26.0": + version: 1.27.0 + resolution: "@opentelemetry/resources@npm:1.27.0" dependencies: - "@opentelemetry/core": 1.26.0 + "@opentelemetry/core": 1.27.0 "@opentelemetry/semantic-conventions": 1.27.0 peerDependencies: "@opentelemetry/api": ">=1.0.0 <1.10.0" - checksum: f70b0fdf4fb00c950bc30084818c92a5339f1be5d709bd681ab14453e877d6bb9f700324b8e65a0eabfeea618d01ed071abf9088e00fa0bf7f3305b1abad22cb + checksum: 43d298afea7daf7524e6b98c1441bcce9fa73b76aecf17e36cabb1a4cfaae6818acf9759d3e42706b1fd91243644076d2291e78c3ed81641d3b351fcff6cb9a9 languageName: node linkType: hard "@opentelemetry/sdk-metrics@npm:^1.9.1": - version: 1.26.0 - resolution: "@opentelemetry/sdk-metrics@npm:1.26.0" + version: 1.27.0 + resolution: "@opentelemetry/sdk-metrics@npm:1.27.0" dependencies: - "@opentelemetry/core": 1.26.0 - "@opentelemetry/resources": 1.26.0 + "@opentelemetry/core": 1.27.0 + "@opentelemetry/resources": 1.27.0 peerDependencies: "@opentelemetry/api": ">=1.3.0 <1.10.0" - checksum: c7fd09991bc28c4cfa0eef2e75a9fcfd1465638327e50ce55fb7631c9e333ae27c7c4bfbb4875c8fbb60f94bb60a307af157a898ea21f13fef967ab5e1146ed5 + checksum: c8776577063a3a5199d5717247270daf5820ce6636530b5ea4b5a8d6b40170cec9bb6b56dacb5c118d2e90588af83d0ebbb13f4d370c7efe50f69d22e5d13463 languageName: node linkType: hard "@opentelemetry/sdk-trace-base@npm:^1.22, @opentelemetry/sdk-trace-base@npm:^1.26.0": - version: 1.26.0 - resolution: "@opentelemetry/sdk-trace-base@npm:1.26.0" + version: 1.27.0 + resolution: "@opentelemetry/sdk-trace-base@npm:1.27.0" dependencies: - "@opentelemetry/core": 1.26.0 - "@opentelemetry/resources": 1.26.0 + "@opentelemetry/core": 1.27.0 + "@opentelemetry/resources": 1.27.0 "@opentelemetry/semantic-conventions": 1.27.0 peerDependencies: "@opentelemetry/api": ">=1.0.0 <1.10.0" - checksum: a4f4ddf644fd0d79b2bd49e4377143688d2aa657643a470d8bed6696f26817598fb4e9f16ba2d8c237292af56f06eec56594a7b4cc417d4ea7e490a45a22113b + checksum: d28c36724aeaf4884f7957e2ab138d9a0ca715a68b2ad23e2935ff0e39cd438c57fd0c8cc85fd5e280464857ede1ae8f9c8e40a37088a1e34d2e625e77276fee languageName: node linkType: hard @@ -9503,14 +9514,14 @@ __metadata: linkType: hard "@tiptap/extension-bubble-menu@npm:^2.0.3": - version: 2.9.0 - resolution: "@tiptap/extension-bubble-menu@npm:2.9.0" + version: 2.9.1 + resolution: "@tiptap/extension-bubble-menu@npm:2.9.1" dependencies: tippy.js: ^6.3.7 peerDependencies: "@tiptap/core": ^2.7.0 "@tiptap/pm": ^2.7.0 - checksum: 6b341720126350a70bb3f22398949ae3e14ea6f667fb9f8e0de8bc0faf3cc3679cd91971d19696a172a05e7c5c7b159c9367cfb361f50183c2f2dc6fc941a6b6 + checksum: aae560bb6b7f798da84f15ce54b527c71441c5d46136adf0baa375c68b024ca9a887b11e271428707551102fa12da4c642c52a446eae412dd5e655d89c29b207 languageName: node linkType: hard @@ -9555,14 +9566,14 @@ __metadata: linkType: hard "@tiptap/extension-floating-menu@npm:^2.0.3": - version: 2.9.0 - resolution: "@tiptap/extension-floating-menu@npm:2.9.0" + version: 2.9.1 + resolution: "@tiptap/extension-floating-menu@npm:2.9.1" dependencies: tippy.js: ^6.3.7 peerDependencies: "@tiptap/core": ^2.7.0 "@tiptap/pm": ^2.7.0 - checksum: f8b33b270e1ef35e6799acb511036f6713dc09c96c4a3154290a87fb6b0518326db9484cdd5c5f404599ce223b9c01b96d515e38f486bf2630360f4a540a1437 + checksum: e3649d1d7155ea408f045e684d53240d5c68685f61eb85c6fb343992b3e87b6f97409504493f5475b6a2e209f0ff7180fe9dd9f5eb57caecdd6027c36ccec9bd languageName: node linkType: hard @@ -9888,14 +9899,14 @@ __metadata: linkType: hard "@types/express-serve-static-core@npm:*, @types/express-serve-static-core@npm:^5.0.0": - version: 5.0.0 - resolution: "@types/express-serve-static-core@npm:5.0.0" + version: 5.0.1 + resolution: "@types/express-serve-static-core@npm:5.0.1" dependencies: "@types/node": "*" "@types/qs": "*" "@types/range-parser": "*" "@types/send": "*" - checksum: d4e2abfc961a908098290958e43a077504ef669f3ef3c49e871932453d2281e86f5d483ae99ec3aaecd13ada0b18025a99ad5413577660587570c4e21d91c263 + checksum: e9daf9bc0d83f593aa2fdcb7c3f9c0a8747bfdf6d8a5ee48ed8d8cc4dc2ed52bdc75d20f6fec9ef00a1aa5ade4c7f16668ff1c020911b50394472844813b1cdb languageName: node linkType: hard @@ -10158,11 +10169,11 @@ __metadata: linkType: hard "@types/node@npm:*": - version: 22.7.8 - resolution: "@types/node@npm:22.7.8" + version: 22.7.9 + resolution: "@types/node@npm:22.7.9" dependencies: undici-types: ~6.19.2 - checksum: c1dd36bd0bf82588e61f82edb29a792f21ce902f90cc5485591f9fd60cec3ea9172e044bf7b1c0849e7cf3a5a01da39516db260cb65cb0b94904010e00634a1c + checksum: 02671449e61f3f7c9898da44e18af272056fee0afbbc98b11dcff7cd7c4ed6c8a45353cfdde413208d9f597e247ee68d908c83a72cae4cbdd763b0e3a45ac0cd languageName: node linkType: hard @@ -10181,9 +10192,9 @@ __metadata: linkType: hard "@types/node@npm:^16.11.26": - version: 16.18.114 - resolution: "@types/node@npm:16.18.114" - checksum: 2922009367d1c9c1a42ec11b66fc315629589455c7c5c7be5212fcdfe5c01655881ef7d1b862fe6fdad006a6b34e4fce0565a74db0d6a38f869b5d87601f6339 + version: 16.18.115 + resolution: "@types/node@npm:16.18.115" + checksum: a9caf3a72b8fca0a945c04b99502615f297fc9d12779147822cf10b4a3fe77161b631ae239b9522cf9ccda90fcd9d49abe255bd2012a3347f677210610760d6d languageName: node linkType: hard @@ -10195,11 +10206,11 @@ __metadata: linkType: hard "@types/node@npm:^18.11.18": - version: 18.19.58 - resolution: "@types/node@npm:18.19.58" + version: 18.19.59 + resolution: "@types/node@npm:18.19.59" dependencies: undici-types: ~5.26.4 - checksum: 6d9826c1ae1313b241e73bb6735e9430233fb1d76672d6bbe8279855b7c8017b8cf6bb1b0bf9eeb6d2c89a1106dd94d1d183f945e83579c39579fce430d3ebb7 + checksum: 8e45a05aa91437d3d11a346775ac16589353070c504f91a62cd91945a384231ccbbe92009a8e1ae653f954f9de5bf8ff106cc8e26721ecab98914dc019217aef languageName: node linkType: hard @@ -10403,12 +10414,12 @@ __metadata: linkType: hard "@types/react@npm:*": - version: 18.3.11 - resolution: "@types/react@npm:18.3.11" + version: 18.3.12 + resolution: "@types/react@npm:18.3.12" dependencies: "@types/prop-types": "*" csstype: ^3.0.2 - checksum: 6cbf36673b64e758dd61b16c24139d015f58530e0d476777de26ba83f24b55e142fbf64e3b8f6b3c7b05ed9ba548551b2a62d9ffb0f95743d0a368646a619163 + checksum: 4ab1577a8c2105a5e316536f724117c90eee5f4bd5c137fc82a2253d8c1fd299dedaa07e8dfc95d6e2f04a4be3cb8b0e1b06098c6233ebd55c508d88099395b7 languageName: node linkType: hard @@ -14696,9 +14707,9 @@ __metadata: linkType: hard "electron-to-chromium@npm:^1.5.41": - version: 1.5.42 - resolution: "electron-to-chromium@npm:1.5.42" - checksum: 8527f6e050b7f869d0135869587b3273fefa1cc2cbb9799bff552e10586b61860139758ee9824c803cdce632e24d4897bb7f67dcecf1c2bef279977fdfa9afa1 + version: 1.5.45 + resolution: "electron-to-chromium@npm:1.5.45" + checksum: f2e1ad7867125501d41f763e129d130bd563efebab65f5ca88a81407e834ff81d4e1e19355714d1e7f82a4662d3531fc23a0e9e9cdfb7b9ead0eb52ddcfa4b3e languageName: node linkType: hard @@ -17617,8 +17628,8 @@ __metadata: linkType: hard "html-webpack-plugin@npm:^5.5.0": - version: 5.6.2 - resolution: "html-webpack-plugin@npm:5.6.2" + version: 5.6.3 + resolution: "html-webpack-plugin@npm:5.6.3" dependencies: "@types/html-minifier-terser": ^6.0.0 html-minifier-terser: ^6.0.2 @@ -17633,7 +17644,7 @@ __metadata: optional: true webpack: optional: true - checksum: c579ce8b34ef1cd903829402aa6a62a6c92fe1cdfcd81d17ebc87f39eaab1381438b9d805a63457b255238db8f2865d71f48cd382375aa28718881e3ab2d2f9a + checksum: 59e7d971b0cfd9ba34c7acaa3c161e43c62596474dd8cd35d7b690498ff5891f21296de0aa1d2e7810348caa657e938461267155dda47913b5eeca7124406270 languageName: node linkType: hard @@ -23634,13 +23645,13 @@ __metadata: linkType: hard "prosemirror-commands@npm:^1.0.0, prosemirror-commands@npm:^1.3.1": - version: 1.6.1 - resolution: "prosemirror-commands@npm:1.6.1" + version: 1.6.2 + resolution: "prosemirror-commands@npm:1.6.2" dependencies: prosemirror-model: ^1.0.0 prosemirror-state: ^1.0.0 prosemirror-transform: ^1.10.2 - checksum: d681f0d121024fe44c1923cd2f745cd9ed0e5a7b75ad64339c0848bebb5a8eb5f31d36ad705911988f939ce035d31ab79985d957023c8352138152d07833ec0b + checksum: aeb6652e4d2d33057184a60609edff73e9921e02dd54a7451aa8071ab93d44f5a8a55a95a95b74eb68008e2d65544673cc90eed3cba2f79ab2cd7d3bd6da1def languageName: node linkType: hard @@ -23801,15 +23812,15 @@ __metadata: linkType: hard "prosemirror-tables@npm:^1.3.0": - version: 1.5.0 - resolution: "prosemirror-tables@npm:1.5.0" + version: 1.5.1 + resolution: "prosemirror-tables@npm:1.5.1" dependencies: prosemirror-keymap: ^1.1.2 prosemirror-model: ^1.8.1 prosemirror-state: ^1.3.1 prosemirror-transform: ^1.2.1 prosemirror-view: ^1.13.3 - checksum: a3843a76104d0c0340c311e39cc1d94ced3198efb1a275fc25dbe513e961094930c3915c8164d5852f1effe46c1cb2d5234684f3602132d92349910b1d3a1a4f + checksum: c1b29dd51f415994898aa30fed77d63144df81fe6b62048b15fc97d8deea8c8fc06c7e783f16d6a5531afe9f376bf41a1f2cc3e8b17a430c7bbcd019bf0583d8 languageName: node linkType: hard @@ -28930,8 +28941,8 @@ __metadata: linkType: hard "vite@npm:^5.0.0, vite@npm:^5.0.11": - version: 5.4.9 - resolution: "vite@npm:5.4.9" + version: 5.4.10 + resolution: "vite@npm:5.4.10" dependencies: esbuild: ^0.21.3 fsevents: ~2.3.3 @@ -28968,7 +28979,7 @@ __metadata: optional: true bin: vite: bin/vite.js - checksum: d3229e0618ece284af0478ec09c474a7a70ac369920716afdb6ebed8e320fd17a17c60afddba0d436698fe4837474cccd057c3e7d8270281b57506b78c5fbb8c + checksum: 4db3b8ca3eddbc312d0a95f505d16656e74c6dfa68d3b5eb54b6d6b0f7be1df348d469c43dc69db27dadc06b802f029d654da48f392324efd665ef2c0ca9ba9e languageName: node linkType: hard