mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
Close [BS-3268](https://linear.app/affine-design/issue/BS-3268/edgeless-下,-dark-mode-embed的配色应该更加清晰) Close [BS-3067](https://linear.app/affine-design/issue/BS-3067/在embed上,添加split-view等相关的操作入口,基本接近page-block(见设计稿)) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced an interactive header for embedded synced documents with fold/unfold toggle, document opening, and multiple view options. - Added info and copy link buttons for embedded synced documents and notes to improve document management and sharing. - **Enhancements** - Updated styles for embedded synced document blocks and headers for better visual consistency. - Added new localization entries for header actions: "Fold", "Unfold", and "Open". - Disabled redundant open document actions in toolbars, centralizing controls in the header. - **Refactor** - Unified header button components for notes and embedded synced documents into reusable components. - Simplified header components by delegating button behaviors to shared components. - **Bug Fixes** - Fixed conditional rendering of editor content in embedded synced documents when folded. - **Chores** - Upgraded theme dependency version from "^1.1.12" to "^1.1.14" across multiple packages. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
80 lines
2.5 KiB
JSON
80 lines
2.5 KiB
JSON
{
|
|
"name": "@affine/admin",
|
|
"version": "0.21.0",
|
|
"private": true,
|
|
"dependencies": {
|
|
"@affine/component": "workspace:*",
|
|
"@affine/core": "workspace:*",
|
|
"@affine/error": "workspace:*",
|
|
"@affine/graphql": "workspace:*",
|
|
"@affine/routes": "workspace:*",
|
|
"@blocksuite/icons": "^2.2.12",
|
|
"@radix-ui/react-accordion": "^1.2.2",
|
|
"@radix-ui/react-alert-dialog": "^1.1.3",
|
|
"@radix-ui/react-aspect-ratio": "^1.1.1",
|
|
"@radix-ui/react-avatar": "^1.1.2",
|
|
"@radix-ui/react-checkbox": "^1.1.3",
|
|
"@radix-ui/react-collapsible": "^1.1.2",
|
|
"@radix-ui/react-context-menu": "^2.2.3",
|
|
"@radix-ui/react-dialog": "^1.1.3",
|
|
"@radix-ui/react-dropdown-menu": "^2.1.3",
|
|
"@radix-ui/react-hover-card": "^1.1.3",
|
|
"@radix-ui/react-label": "^2.1.1",
|
|
"@radix-ui/react-menubar": "^1.1.3",
|
|
"@radix-ui/react-navigation-menu": "^1.2.2",
|
|
"@radix-ui/react-popover": "^1.1.3",
|
|
"@radix-ui/react-progress": "^1.1.1",
|
|
"@radix-ui/react-radio-group": "^1.2.2",
|
|
"@radix-ui/react-scroll-area": "^1.2.2",
|
|
"@radix-ui/react-select": "^2.1.3",
|
|
"@radix-ui/react-separator": "^1.1.1",
|
|
"@radix-ui/react-slider": "^1.2.2",
|
|
"@radix-ui/react-slot": "^1.1.1",
|
|
"@radix-ui/react-switch": "^1.1.2",
|
|
"@radix-ui/react-tabs": "^1.1.2",
|
|
"@radix-ui/react-toast": "^1.2.3",
|
|
"@radix-ui/react-toggle": "^1.1.1",
|
|
"@radix-ui/react-toggle-group": "^1.1.1",
|
|
"@radix-ui/react-tooltip": "^1.1.5",
|
|
"@sentry/react": "^9.2.0",
|
|
"@tanstack/react-table": "^8.20.5",
|
|
"@toeverything/infra": "workspace:*",
|
|
"@toeverything/theme": "^1.1.14",
|
|
"cmdk": "^1.0.4",
|
|
"embla-carousel-react": "^8.5.1",
|
|
"input-otp": "^1.4.1",
|
|
"lodash-es": "^4.17.21",
|
|
"lucide-react": "^0.503.0",
|
|
"next-themes": "^0.4.4",
|
|
"react": "^19.0.0",
|
|
"react-day-picker": "^9.4.3",
|
|
"react-dom": "^19.0.0",
|
|
"react-hook-form": "^7.54.1",
|
|
"react-resizable-panels": "^2.1.7",
|
|
"react-router-dom": "^7.5.1",
|
|
"sonner": "^2.0.0",
|
|
"swr": "^2.2.5",
|
|
"vaul": "^1.1.1",
|
|
"zod": "^3.24.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/lodash-es": "^4.17.12",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"cross-env": "^7.0.3",
|
|
"shadcn-ui": "^0.9.4",
|
|
"tailwind-merge": "^3.0.0",
|
|
"tailwindcss": "^4.0.0",
|
|
"tailwindcss-animate": "^1.0.7"
|
|
},
|
|
"scripts": {
|
|
"build": "affine bundle",
|
|
"dev": "affine bundle --dev",
|
|
"update-shadcn": "shadcn-ui add -p src/components/ui"
|
|
},
|
|
"exports": {
|
|
"./*": "./src/*.ts",
|
|
"./components/ui/*": "./src/components/ui/*.tsx"
|
|
}
|
|
}
|