update package versions

This commit is contained in:
Nate Kelley 2025-09-30 09:28:24 -06:00
parent 71b795abc1
commit 1dcb03b360
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
5 changed files with 548 additions and 546 deletions

View File

@ -53,14 +53,14 @@
"@platejs/combobox": "^49.0.0",
"@platejs/comment": "^50.2.0",
"@platejs/date": "^49.0.2",
"@platejs/dnd": "^49.2.22",
"@platejs/dnd": "^50.3.1",
"@platejs/docx": "^49.0.0",
"@platejs/emoji": "^49.0.0",
"@platejs/floating": "^50.2.5",
"@platejs/indent": "^49.0.0",
"@platejs/juice": "^49.0.0",
"@platejs/layout": "^49.2.1",
"@platejs/link": "^50.2.5",
"@platejs/link": "^50.2.7",
"@platejs/list": "50.2.0",
"@platejs/markdown": "^50.2.0",
"@platejs/math": "^49.0.0",
@ -98,12 +98,12 @@
"@supabase/supabase-js": "catalog:",
"@t3-oss/env-core": "^0.13.8",
"@tailwindcss/vite": "^4.1.13",
"@tanstack/db": "^0.3.2",
"@tanstack/db": "^0.4.2",
"@tanstack/match-sorter-utils": "^8.19.4",
"@tanstack/query-db-collection": "0.2.20",
"@tanstack/react-db": "0.1.21",
"@tanstack/query-db-collection": "0.2.23",
"@tanstack/react-db": "0.1.24",
"@tanstack/react-devtools": "^0.7.0",
"@tanstack/react-form": "^1.23.0",
"@tanstack/react-form": "^1.23.5",
"@tanstack/react-query": "^5.90.2",
"@tanstack/react-query-devtools": "^5.90.2",
"@tanstack/react-query-persist-client": "^5.90.2",
@ -117,17 +117,17 @@
"@tanstack/react-virtual": "^3.13.12",
"@tanstack/router-plugin": "^1.131.50",
"@tanstack/store": "^0.7.7",
"@testing-library/jest-dom": "^6.8.0",
"@tiptap/core": "^3.5.0",
"@tiptap/extension-document": "^3.5.0",
"@tiptap/extension-mention": "^3.5.0",
"@tiptap/extension-paragraph": "^3.5.0",
"@testing-library/jest-dom": "^6.9.0",
"@tiptap/core": "^3.6.2",
"@tiptap/extension-document": "^3.6.2",
"@tiptap/extension-mention": "^3.6.2",
"@tiptap/extension-paragraph": "^3.6.2",
"@tiptap/extension-placeholder": "^3.6.2",
"@tiptap/extension-text": "^3.5.0",
"@tiptap/pm": "^3.5.0",
"@tiptap/react": "^3.5.0",
"@tiptap/starter-kit": "^3.5.0",
"@tiptap/suggestion": "^3.5.0",
"@tiptap/extension-text": "^3.6.2",
"@tiptap/pm": "^3.6.2",
"@tiptap/react": "^3.6.2",
"@tiptap/starter-kit": "^3.6.2",
"@tiptap/suggestion": "^3.6.2",
"@types/qs": "^6.14.0",
"@udecode/cn": "^49.0.15",
"@uploadthing/react": "^7.3.3",
@ -143,13 +143,13 @@
"cmdk": "^1.1.1",
"dayjs": "^1.11.18",
"font-color-contrast": "^11.1.0",
"framer-motion": "^12.23.19",
"framer-motion": "^12.23.22",
"fuse.js": "^7.1.0",
"html2canvas-pro": "^1.5.11",
"js-cookie": "^3.0.5",
"js-yaml": "catalog:",
"jwt-decode": "^4.0.0",
"ky": "^1.10.0",
"ky": "^1.11.0",
"lodash": "^4.17.21",
"lowlight": "^3.3.0",
"monaco-editor": "^0.53.0",
@ -158,7 +158,7 @@
"mutative": "^1.3.0",
"platejs": "49.2.21",
"pluralize": "^8.0.0",
"posthog-js": "^1.268.1",
"posthog-js": "^1.268.9",
"qs": "^6.14.0",
"react": "catalog:",
"react-colorful": "^5.6.1",
@ -181,13 +181,13 @@
"tailwind-merge": "^3.3.1",
"tailwind-scrollbar": "^4.0.2",
"tailwindcss": "^4.1.13",
"tw-animate-css": "^1.3.8",
"tw-animate-css": "^1.4.0",
"uploadthing": "^7.7.4",
"use-context-selector": "^2.0.0",
"use-file-picker": "^2.1.4",
"utility-types": "^3.11.0",
"uuid": "catalog:",
"virtua": "^0.43.4",
"virtua": "^0.43.6",
"vite-tsconfig-paths": "^5.1.4",
"vitest-browser-react": "^1.0.1",
"zod": "catalog:"
@ -195,11 +195,11 @@
"devDependencies": {
"@biomejs/biome": "2.2.4",
"@chromatic-com/storybook": "^4.1.1",
"@storybook/addon-a11y": "^9.1.8",
"@storybook/addon-docs": "^9.1.8",
"@storybook/addon-vitest": "^9.1.8",
"@storybook/react-vite": "^9.1.8",
"@tanstack/devtools-event-client": "^0.3.0",
"@storybook/addon-a11y": "^9.1.9",
"@storybook/addon-docs": "^9.1.9",
"@storybook/addon-vitest": "^9.1.9",
"@storybook/react-vite": "^9.1.9",
"@tanstack/devtools-event-client": "^0.3.2",
"@tanstack/router-cli": "^1.131.50",
"@testing-library/dom": "^10.4.1",
"@testing-library/react": "^16.3.0",
@ -212,18 +212,18 @@
"@types/react-dom": "catalog:",
"@types/react-mentions": "^4.4.1",
"@types/react-speech-recognition": "^3.9.6",
"@vitejs/plugin-react": "^5.0.3",
"@vitejs/plugin-react": "^5.0.4",
"@vitest/browser": "3.2.4",
"@vitest/coverage-v8": "3.2.4",
"@vitest/ui": "3.2.4",
"cross-env": "^10.0.0",
"cross-env": "^10.1.0",
"jsdom": "^27.0.0",
"msw": "^2.11.3",
"playwright": "^1.55.1",
"sass": "^1.93.1",
"storybook": "^9.1.8",
"sass": "^1.93.2",
"storybook": "^9.1.9",
"vite": "catalog:",
"vite-plugin-checker": "^0.10.3",
"vite-plugin-checker": "^0.11.0",
"vite-plugin-monaco-editor": "^1.1.0",
"vite-tsconfig-paths": "catalog:",
"vitest": "catalog:",

View File

@ -41,6 +41,7 @@ export const useGetShortcut = (params: Parameters<typeof getShortcut>[0]) => {
return useQuery({
...shortcutsQueryKeys.shortcutsGet(params.id),
queryFn,
enabled: !!params.id,
});
};

View File

@ -1,5 +1,5 @@
import React, { useState } from 'react';
import { useCreateShortcut } from '@/api/buster_rest/shortcuts/queryRequests';
import React, { useEffect, useState } from 'react';
import { useCreateShortcut, useGetShortcut } from '@/api/buster_rest/shortcuts/queryRequests';
import { Input } from '@/components/ui/inputs';
import { InputTextArea } from '@/components/ui/inputs/InputTextArea';
import { AppModal } from '@/components/ui/modal';
@ -9,18 +9,28 @@ import { inputHasText } from '@/lib/text';
export const NewShortcutModal: React.FC<{
open: boolean;
onClose: () => void;
}> = React.memo(({ open, onClose }) => {
shortcutId?: string;
}> = React.memo(({ open, onClose, shortcutId }) => {
const { mutateAsync: createShortcut, isPending: isCreatingShortcut } = useCreateShortcut();
const { data: shortcut } = useGetShortcut({ id: shortcutId || '' });
const [name, setName] = useState('');
const [instructions, setInstructions] = useState('');
const disableSubmit = !inputHasText(name) || !inputHasText(instructions);
const isEditMode = !!shortcutId;
const resetModal = () => {
setName('');
setInstructions('');
};
useEffect(() => {
if (shortcut) {
setName(shortcut.name);
setInstructions(shortcut.instructions);
}
}, [!!shortcut]);
return (
<AppModal
open={open}

View File

@ -1668,6 +1668,8 @@ More content.
const savedMarkdown1 = await platejsToMarkdown(editor, platejs1);
// Edit: add content
// biome-ignore lint/style/useTemplate: tests don't matter
const editedMarkdown = savedMarkdown1 + `\n\n## New Section\nAdded content after save.`;
// Second save cycle

File diff suppressed because it is too large Load Diff