From fd7c8f7f2c0159ddf06385fdd5f8ad94d4d197f0 Mon Sep 17 00:00:00 2001 From: Universe Date: Mon, 20 Apr 2026 02:19:36 +0900 Subject: [PATCH 1/3] chore: bump next to 16.2.4 --- apps/backgrounds/package.json | 2 +- apps/viewer/package.json | 2 +- editor/package.json | 2 +- package.json | 2 +- pnpm-lock.yaml | 134 +++++++++++++++++----------------- 5 files changed, 71 insertions(+), 71 deletions(-) diff --git a/apps/backgrounds/package.json b/apps/backgrounds/package.json index 31b5272ca..4d45946b5 100644 --- a/apps/backgrounds/package.json +++ b/apps/backgrounds/package.json @@ -16,7 +16,7 @@ "@react-three/fiber": "9.1.2", "clsx": "^2.1.1", "motion": "^12.11.0", - "next": "16.1.6", + "next": "16.2.4", "react": "19.2.3", "react-dom": "19.2.3", "shadergradient": "^1.2.14", diff --git a/apps/viewer/package.json b/apps/viewer/package.json index aebd07609..990fb56b6 100644 --- a/apps/viewer/package.json +++ b/apps/viewer/package.json @@ -12,7 +12,7 @@ "dependencies": { "@uidotdev/usehooks": "^2.4.1", "lucide-react": "^0.511.0", - "next": "16.1.6", + "next": "16.2.4", "pdfjs-dist": "4.8.69", "react": "19.2.3", "react-dom": "19.2.3", diff --git a/editor/package.json b/editor/package.json index 1e67bfd8f..8c729064d 100644 --- a/editor/package.json +++ b/editor/package.json @@ -151,7 +151,7 @@ "ms": "^2.1.3", "nanoid": "^3.3.11", "negotiator": "^1.0.0", - "next": "16.1.6", + "next": "16.2.4", "next-themes": "^0.4.6", "openai": "^6", "p-queue": "^7.2.0", diff --git a/package.json b/package.json index 5bb9f777c..929be0117 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "axios": "1.13.4", "prosemirror-model": "1.23.0", "prosemirror-view": "1.36.0", - "next": "16.1.6", + "next": "16.2.4", "openai": "6.18.0", "react": "19.2.3", "react-dom": "19.2.3" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7c6b6f2d5..91f7426f9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,7 +12,7 @@ overrides: axios: 1.13.4 prosemirror-model: 1.23.0 prosemirror-view: 1.36.0 - next: 16.1.6 + next: 16.2.4 openai: 6.18.0 react: 19.2.3 react-dom: 19.2.3 @@ -56,7 +56,7 @@ importers: dependencies: '@next/third-parties': specifier: 16.1.3 - version: 16.1.3(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.0)(@playwright/test@1.58.2)(react-dom@19.2.3(react@19.2.3))(react@19.2.3))(react@19.2.3) + version: 16.1.3(next@16.2.4(@babel/core@7.29.0)(@opentelemetry/api@1.9.0)(@playwright/test@1.58.2)(react-dom@19.2.3(react@19.2.3))(react@19.2.3))(react@19.2.3) '@react-three/drei': specifier: ^10.0.7 version: 10.7.7(@react-three/fiber@9.1.2(@types/react@19.1.3)(immer@9.0.21)(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(three@0.170.0))(@types/react@19.1.3)(@types/three@0.170.0)(immer@9.0.21)(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(three@0.170.0) @@ -70,8 +70,8 @@ importers: specifier: ^12.11.0 version: 12.33.0(@emotion/is-prop-valid@1.3.1)(react-dom@19.2.3(react@19.2.3))(react@19.2.3) next: - specifier: 16.1.6 - version: 16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.0)(@playwright/test@1.58.2)(react-dom@19.2.3(react@19.2.3))(react@19.2.3) + specifier: 16.2.4 + version: 16.2.4(@babel/core@7.29.0)(@opentelemetry/api@1.9.0)(@playwright/test@1.58.2)(react-dom@19.2.3(react@19.2.3))(react@19.2.3) react: specifier: 19.2.3 version: 19.2.3 @@ -226,8 +226,8 @@ importers: specifier: ^0.511.0 version: 0.511.0(react@19.2.3) next: - specifier: 16.1.6 - version: 16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.0)(@playwright/test@1.58.2)(react-dom@19.2.3(react@19.2.3))(react@19.2.3) + specifier: 16.2.4 + version: 16.2.4(@babel/core@7.29.0)(@opentelemetry/api@1.9.0)(@playwright/test@1.58.2)(react-dom@19.2.3(react@19.2.3))(react@19.2.3) pdfjs-dist: specifier: 4.8.69 version: 4.8.69 @@ -424,7 +424,7 @@ importers: version: 16.1.3(@mdx-js/loader@3.1.1(acorn@8.16.0)(webpack@5.98.0(esbuild@0.27.3)))(@mdx-js/react@3.1.1(@types/react@19.1.3)(react@19.2.3)) '@next/third-parties': specifier: 16.1.3 - version: 16.1.3(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.0)(@playwright/test@1.58.2)(react-dom@19.2.3(react@19.2.3))(react@19.2.3))(react@19.2.3) + version: 16.1.3(next@16.2.4(@babel/core@7.29.0)(@opentelemetry/api@1.9.0)(@playwright/test@1.58.2)(react-dom@19.2.3(react@19.2.3))(react@19.2.3))(react@19.2.3) '@number-flow/react': specifier: ^0.5.7 version: 0.5.11(react-dom@19.2.3(react@19.2.3))(react@19.2.3) @@ -460,7 +460,7 @@ importers: version: 0.0.38(react-dom@19.2.3(react@19.2.3))(react@19.2.3) '@sentry/nextjs': specifier: ^10.34.0 - version: 10.38.0(@opentelemetry/context-async-hooks@2.5.0(@opentelemetry/api@1.9.0))(@opentelemetry/core@2.5.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.5.0(@opentelemetry/api@1.9.0))(encoding@0.1.13)(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.0)(@playwright/test@1.58.2)(react-dom@19.2.3(react@19.2.3))(react@19.2.3))(react@19.2.3)(webpack@5.98.0(esbuild@0.27.3)) + version: 10.38.0(@opentelemetry/context-async-hooks@2.5.0(@opentelemetry/api@1.9.0))(@opentelemetry/core@2.5.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.5.0(@opentelemetry/api@1.9.0))(encoding@0.1.13)(next@16.2.4(@babel/core@7.29.0)(@opentelemetry/api@1.9.0)(@playwright/test@1.58.2)(react-dom@19.2.3(react@19.2.3))(react@19.2.3))(react@19.2.3)(webpack@5.98.0(esbuild@0.27.3)) '@stepperize/react': specifier: ^3.1.1 version: 3.1.1(react@19.2.3) @@ -541,10 +541,10 @@ importers: version: 10.3.1(react@19.2.3) '@vercel/analytics': specifier: ^1.3.1 - version: 1.6.1(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.0)(@playwright/test@1.58.2)(react-dom@19.2.3(react@19.2.3))(react@19.2.3))(react@19.2.3)(svelte@4.2.19)(vue@3.5.13(typescript@5.9.3)) + version: 1.6.1(next@16.2.4(@babel/core@7.29.0)(@opentelemetry/api@1.9.0)(@playwright/test@1.58.2)(react-dom@19.2.3(react@19.2.3))(react@19.2.3))(react@19.2.3)(svelte@4.2.19)(vue@3.5.13(typescript@5.9.3)) '@vercel/edge-config': specifier: ^1.2.1 - version: 1.4.3(@opentelemetry/api@1.9.0)(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.0)(@playwright/test@1.58.2)(react-dom@19.2.3(react@19.2.3))(react@19.2.3)) + version: 1.4.3(@opentelemetry/api@1.9.0)(next@16.2.4(@babel/core@7.29.0)(@opentelemetry/api@1.9.0)(@playwright/test@1.58.2)(react-dom@19.2.3(react@19.2.3))(react@19.2.3)) '@vercel/functions': specifier: ^1.6.0 version: 1.6.0 @@ -553,7 +553,7 @@ importers: version: 1.19.1 '@vercel/speed-insights': specifier: ^1.0.12 - version: 1.3.1(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.0)(@playwright/test@1.58.2)(react-dom@19.2.3(react@19.2.3))(react@19.2.3))(react@19.2.3)(svelte@4.2.19)(vue@3.5.13(typescript@5.9.3)) + version: 1.3.1(next@16.2.4(@babel/core@7.29.0)(@opentelemetry/api@1.9.0)(@playwright/test@1.58.2)(react-dom@19.2.3(react@19.2.3))(react@19.2.3))(react@19.2.3)(svelte@4.2.19)(vue@3.5.13(typescript@5.9.3)) '@visx/responsive': specifier: ^3.10.2 version: 3.12.0(react@19.2.3) @@ -711,8 +711,8 @@ importers: specifier: ^1.0.0 version: 1.0.0 next: - specifier: 16.1.6 - version: 16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.0)(@playwright/test@1.58.2)(react-dom@19.2.3(react@19.2.3))(react@19.2.3) + specifier: 16.2.4 + version: 16.2.4(@babel/core@7.29.0)(@opentelemetry/api@1.9.0)(@playwright/test@1.58.2)(react-dom@19.2.3(react@19.2.3))(react@19.2.3) next-themes: specifier: ^0.4.6 version: 0.4.6(react-dom@19.2.3(react@19.2.3))(react@19.2.3) @@ -3616,8 +3616,8 @@ packages: resolution: {integrity: sha512-cXu86tF4VQVfwz8W1SPbhoRyHJkti6mjH/XJIxp40jhO4j2k1m4KYrEykxqWPkFF3vrK4rgQppBh//AwyGSXPA==} engines: {node: '>=18'} - '@next/env@16.1.6': - resolution: {integrity: sha512-N1ySLuZjnAtN3kFnwhAwPvZah8RJxKasD7x1f8shFqhncnWZn4JMfg37diLNuoHsLAlrDfM3g4mawVdtAG8XLQ==} + '@next/env@16.2.4': + resolution: {integrity: sha512-dKkkOzOSwFYe5RX6y26fZgkSpVAlIOJKQHIiydQcrWH6y/97+RceSOAdjZ14Qa3zLduVUy0TXcn+EiM6t4rPgw==} '@next/mdx@16.1.3': resolution: {integrity: sha512-idbNOfd0KKsyhTzA95QCNRJmKadZ6wZK4pU9zq1VspRC0cqkTcrhNE9CFMc7kusLdwd1cCgPTNOdfOIOBt9hMg==} @@ -3630,50 +3630,50 @@ packages: '@mdx-js/react': optional: true - '@next/swc-darwin-arm64@16.1.6': - resolution: {integrity: sha512-wTzYulosJr/6nFnqGW7FrG3jfUUlEf8UjGA0/pyypJl42ExdVgC6xJgcXQ+V8QFn6niSG2Pb8+MIG1mZr2vczw==} + '@next/swc-darwin-arm64@16.2.4': + resolution: {integrity: sha512-OXTFFox5EKN1Ym08vfrz+OXxmCcEjT4SFMbNRsWZE99dMqt2Kcusl5MqPXcW232RYkMLQTy0hqgAMEsfEd/l2A==} engines: {node: '>= 10'} cpu: [arm64] os: [darwin] - '@next/swc-darwin-x64@16.1.6': - resolution: {integrity: sha512-BLFPYPDO+MNJsiDWbeVzqvYd4NyuRrEYVB5k2N3JfWncuHAy2IVwMAOlVQDFjj+krkWzhY2apvmekMkfQR0CUQ==} + '@next/swc-darwin-x64@16.2.4': + resolution: {integrity: sha512-XhpVnUfmYWvD3YrXu55XdcAkQtOnvaI6wtQa8fuF5fGoKoxIUZ0kWPtcOfqJEWngFF/lOS9l3+O9CcownhiQxQ==} engines: {node: '>= 10'} cpu: [x64] os: [darwin] - '@next/swc-linux-arm64-gnu@16.1.6': - resolution: {integrity: sha512-OJYkCd5pj/QloBvoEcJ2XiMnlJkRv9idWA/j0ugSuA34gMT6f5b7vOiCQHVRpvStoZUknhl6/UxOXL4OwtdaBw==} + '@next/swc-linux-arm64-gnu@16.2.4': + resolution: {integrity: sha512-Mx/tjlNA3G8kg14QvuGAJ4xBwPk1tUHq56JxZ8CXnZwz1Etz714soCEzGQQzVMz4bEnGPowzkV6Xrp6wAkEWOQ==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] - '@next/swc-linux-arm64-musl@16.1.6': - resolution: {integrity: sha512-S4J2v+8tT3NIO9u2q+S0G5KdvNDjXfAv06OhfOzNDaBn5rw84DGXWndOEB7d5/x852A20sW1M56vhC/tRVbccQ==} + '@next/swc-linux-arm64-musl@16.2.4': + resolution: {integrity: sha512-iVMMp14514u7Nup2umQS03nT/bN9HurK8ufylC3FZNykrwjtx7V1A7+4kvhbDSCeonTVqV3Txnv0Lu+m2oDXNg==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] - '@next/swc-linux-x64-gnu@16.1.6': - resolution: {integrity: sha512-2eEBDkFlMMNQnkTyPBhQOAyn2qMxyG2eE7GPH2WIDGEpEILcBPI/jdSv4t6xupSP+ot/jkfrCShLAa7+ZUPcJQ==} + '@next/swc-linux-x64-gnu@16.2.4': + resolution: {integrity: sha512-EZOvm1aQWgnI/N/xcWOlnS3RQBk0VtVav5Zo7n4p0A7UKyTDx047k8opDbXgBpHl4CulRqRfbw3QrX2w5UOXMQ==} engines: {node: '>= 10'} cpu: [x64] os: [linux] - '@next/swc-linux-x64-musl@16.1.6': - resolution: {integrity: sha512-oicJwRlyOoZXVlxmIMaTq7f8pN9QNbdes0q2FXfRsPhfCi8n8JmOZJm5oo1pwDaFbnnD421rVU409M3evFbIqg==} + '@next/swc-linux-x64-musl@16.2.4': + resolution: {integrity: sha512-h9FxsngCm9cTBf71AR4fGznDEDx1hS7+kSEiIRjq5kO1oXWm07DxVGZjCvk0SGx7TSjlUqhI8oOyz7NfwAdPoA==} engines: {node: '>= 10'} cpu: [x64] os: [linux] - '@next/swc-win32-arm64-msvc@16.1.6': - resolution: {integrity: sha512-gQmm8izDTPgs+DCWH22kcDmuUp7NyiJgEl18bcr8irXA5N2m2O+JQIr6f3ct42GOs9c0h8QF3L5SzIxcYAAXXw==} + '@next/swc-win32-arm64-msvc@16.2.4': + resolution: {integrity: sha512-3NdJV5OXMSOeJYijX+bjaLge3mJBlh4ybydbT4GFoB/2hAojWHtMhl3CYlYoMrjPuodp0nzFVi4Tj2+WaMg+Ow==} engines: {node: '>= 10'} cpu: [arm64] os: [win32] - '@next/swc-win32-x64-msvc@16.1.6': - resolution: {integrity: sha512-NRfO39AIrzBnixKbjuo2YiYhB6o9d8v/ymU9m/Xk8cyVk+k7XylniXkHwjs4s70wedVffc6bQNbufk5v0xEm0A==} + '@next/swc-win32-x64-msvc@16.2.4': + resolution: {integrity: sha512-kMVGgsqhO5YTYODD9IPGGhA6iprWidQckK3LmPeW08PIFENRmgfb4MjXHO+p//d+ts2rpjvK5gXWzXSMrPl9cw==} engines: {node: '>= 10'} cpu: [x64] os: [win32] @@ -3681,7 +3681,7 @@ packages: '@next/third-parties@16.1.3': resolution: {integrity: sha512-jfsjVs/w2MGSF/+2Miy9iLw5aPShzcfNEAhRQeMB7wCThdUXnA/f9UjXLlAQDqbRhQ0qKV2vuTyWaiFwRAp+kQ==} peerDependencies: - next: 16.1.6 + next: 16.2.4 react: 19.2.3 '@noble/ciphers@1.3.0': @@ -5452,7 +5452,7 @@ packages: resolution: {integrity: sha512-MW2f6mK54jFyS/lmJxT7GWr5d12E+3qvIhR5EdjdyzMX8udSOCGyFJaFIwUfMyEMuggPEvNQVFFpjIrvWXCSGA==} engines: {node: '>=18'} peerDependencies: - next: 16.1.6 + next: 16.2.4 '@sentry/node-core@10.38.0': resolution: {integrity: sha512-ErXtpedrY1HghgwM6AliilZPcUCoNNP1NThdO4YpeMq04wMX9/GMmFCu46TnCcg6b7IFIOSr2S4yD086PxLlHQ==} @@ -6563,7 +6563,7 @@ packages: peerDependencies: '@remix-run/react': ^2 '@sveltejs/kit': ^1 || ^2 - next: 16.1.6 + next: 16.2.4 react: 19.2.3 svelte: '>= 4' vue: ^3 @@ -6592,7 +6592,7 @@ packages: engines: {node: '>=14.6'} peerDependencies: '@opentelemetry/api': ^1.7.0 - next: 16.1.6 + next: 16.2.4 peerDependenciesMeta: '@opentelemetry/api': optional: true @@ -6624,7 +6624,7 @@ packages: resolution: {integrity: sha512-PbEr7FrMkUrGYvlcLHGkXdCkxnylCWePx7lPxxq36DNdfo9mcUjLOmqOyPDHAOgnfqgGGdmE3XI9L/4+5fr+vQ==} peerDependencies: '@sveltejs/kit': ^1 || ^2 - next: 16.1.6 + next: 16.2.4 react: 19.2.3 svelte: '>= 4' vue: ^3 @@ -10831,8 +10831,8 @@ packages: react: 19.2.3 react-dom: 19.2.3 - next@16.1.6: - resolution: {integrity: sha512-hkyRkcu5x/41KoqnROkfTm2pZVbKxvbZRuNvKXLRXxs3VfyO0WhY50TQS40EuKO9SW3rBj/sF3WbVwDACeMZyw==} + next@16.2.4: + resolution: {integrity: sha512-kPvz56wF5frc+FxlHI5qnklCzbq53HTwORaWBGdT0vNoKh1Aya9XC8aPauH4NJxqtzbWsS5mAbctm4cr+EkQ2Q==} engines: {node: '>=20.9.0'} hasBin: true peerDependencies: @@ -17475,7 +17475,7 @@ snapshots: outvariant: 1.4.3 strict-event-emitter: 0.5.1 - '@next/env@16.1.6': {} + '@next/env@16.2.4': {} '@next/mdx@16.1.3(@mdx-js/loader@3.1.1(acorn@8.16.0)(webpack@5.98.0(esbuild@0.27.3)))(@mdx-js/react@3.1.1(@types/react@19.1.3)(react@19.2.3))': dependencies: @@ -17484,33 +17484,33 @@ snapshots: '@mdx-js/loader': 3.1.1(acorn@8.16.0)(webpack@5.98.0(esbuild@0.27.3)) '@mdx-js/react': 3.1.1(@types/react@19.1.3)(react@19.2.3) - '@next/swc-darwin-arm64@16.1.6': + '@next/swc-darwin-arm64@16.2.4': optional: true - '@next/swc-darwin-x64@16.1.6': + '@next/swc-darwin-x64@16.2.4': optional: true - '@next/swc-linux-arm64-gnu@16.1.6': + '@next/swc-linux-arm64-gnu@16.2.4': optional: true - '@next/swc-linux-arm64-musl@16.1.6': + '@next/swc-linux-arm64-musl@16.2.4': optional: true - '@next/swc-linux-x64-gnu@16.1.6': + '@next/swc-linux-x64-gnu@16.2.4': optional: true - '@next/swc-linux-x64-musl@16.1.6': + '@next/swc-linux-x64-musl@16.2.4': optional: true - '@next/swc-win32-arm64-msvc@16.1.6': + '@next/swc-win32-arm64-msvc@16.2.4': optional: true - '@next/swc-win32-x64-msvc@16.1.6': + '@next/swc-win32-x64-msvc@16.2.4': optional: true - '@next/third-parties@16.1.3(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.0)(@playwright/test@1.58.2)(react-dom@19.2.3(react@19.2.3))(react@19.2.3))(react@19.2.3)': + '@next/third-parties@16.1.3(next@16.2.4(@babel/core@7.29.0)(@opentelemetry/api@1.9.0)(@playwright/test@1.58.2)(react-dom@19.2.3(react@19.2.3))(react@19.2.3))(react@19.2.3)': dependencies: - next: 16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.0)(@playwright/test@1.58.2)(react-dom@19.2.3(react@19.2.3))(react@19.2.3) + next: 16.2.4(@babel/core@7.29.0)(@opentelemetry/api@1.9.0)(@playwright/test@1.58.2)(react-dom@19.2.3(react@19.2.3))(react@19.2.3) react: 19.2.3 third-party-capital: 1.0.20 @@ -19304,7 +19304,7 @@ snapshots: '@sentry/core@10.38.0': {} - '@sentry/nextjs@10.38.0(@opentelemetry/context-async-hooks@2.5.0(@opentelemetry/api@1.9.0))(@opentelemetry/core@2.5.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.5.0(@opentelemetry/api@1.9.0))(encoding@0.1.13)(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.0)(@playwright/test@1.58.2)(react-dom@19.2.3(react@19.2.3))(react@19.2.3))(react@19.2.3)(webpack@5.98.0(esbuild@0.27.3))': + '@sentry/nextjs@10.38.0(@opentelemetry/context-async-hooks@2.5.0(@opentelemetry/api@1.9.0))(@opentelemetry/core@2.5.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.5.0(@opentelemetry/api@1.9.0))(encoding@0.1.13)(next@16.2.4(@babel/core@7.29.0)(@opentelemetry/api@1.9.0)(@playwright/test@1.58.2)(react-dom@19.2.3(react@19.2.3))(react@19.2.3))(react@19.2.3)(webpack@5.98.0(esbuild@0.27.3))': dependencies: '@opentelemetry/api': 1.9.0 '@opentelemetry/semantic-conventions': 1.38.0 @@ -19317,7 +19317,7 @@ snapshots: '@sentry/react': 10.38.0(react@19.2.3) '@sentry/vercel-edge': 10.38.0 '@sentry/webpack-plugin': 4.9.0(encoding@0.1.13)(webpack@5.98.0(esbuild@0.27.3)) - next: 16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.0)(@playwright/test@1.58.2)(react-dom@19.2.3(react@19.2.3))(react@19.2.3) + next: 16.2.4(@babel/core@7.29.0)(@opentelemetry/api@1.9.0)(@playwright/test@1.58.2)(react-dom@19.2.3(react@19.2.3))(react@19.2.3) rollup: 4.53.5 stacktrace-parser: 0.1.11 transitivePeerDependencies: @@ -20561,21 +20561,21 @@ snapshots: '@use-gesture/core': 10.3.1 react: 19.2.3 - '@vercel/analytics@1.6.1(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.0)(@playwright/test@1.58.2)(react-dom@19.2.3(react@19.2.3))(react@19.2.3))(react@19.2.3)(svelte@4.2.19)(vue@3.5.13(typescript@5.9.3))': + '@vercel/analytics@1.6.1(next@16.2.4(@babel/core@7.29.0)(@opentelemetry/api@1.9.0)(@playwright/test@1.58.2)(react-dom@19.2.3(react@19.2.3))(react@19.2.3))(react@19.2.3)(svelte@4.2.19)(vue@3.5.13(typescript@5.9.3))': optionalDependencies: - next: 16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.0)(@playwright/test@1.58.2)(react-dom@19.2.3(react@19.2.3))(react@19.2.3) + next: 16.2.4(@babel/core@7.29.0)(@opentelemetry/api@1.9.0)(@playwright/test@1.58.2)(react-dom@19.2.3(react@19.2.3))(react@19.2.3) react: 19.2.3 svelte: 4.2.19 vue: 3.5.13(typescript@5.9.3) '@vercel/edge-config-fs@0.1.0': {} - '@vercel/edge-config@1.4.3(@opentelemetry/api@1.9.0)(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.0)(@playwright/test@1.58.2)(react-dom@19.2.3(react@19.2.3))(react@19.2.3))': + '@vercel/edge-config@1.4.3(@opentelemetry/api@1.9.0)(next@16.2.4(@babel/core@7.29.0)(@opentelemetry/api@1.9.0)(@playwright/test@1.58.2)(react-dom@19.2.3(react@19.2.3))(react@19.2.3))': dependencies: '@vercel/edge-config-fs': 0.1.0 optionalDependencies: '@opentelemetry/api': 1.9.0 - next: 16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.0)(@playwright/test@1.58.2)(react-dom@19.2.3(react@19.2.3))(react@19.2.3) + next: 16.2.4(@babel/core@7.29.0)(@opentelemetry/api@1.9.0)(@playwright/test@1.58.2)(react-dom@19.2.3(react@19.2.3))(react@19.2.3) '@vercel/functions@1.6.0': {} @@ -20591,9 +20591,9 @@ snapshots: - '@cfworker/json-schema' - supports-color - '@vercel/speed-insights@1.3.1(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.0)(@playwright/test@1.58.2)(react-dom@19.2.3(react@19.2.3))(react@19.2.3))(react@19.2.3)(svelte@4.2.19)(vue@3.5.13(typescript@5.9.3))': + '@vercel/speed-insights@1.3.1(next@16.2.4(@babel/core@7.29.0)(@opentelemetry/api@1.9.0)(@playwright/test@1.58.2)(react-dom@19.2.3(react@19.2.3))(react@19.2.3))(react@19.2.3)(svelte@4.2.19)(vue@3.5.13(typescript@5.9.3))': optionalDependencies: - next: 16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.0)(@playwright/test@1.58.2)(react-dom@19.2.3(react@19.2.3))(react@19.2.3) + next: 16.2.4(@babel/core@7.29.0)(@opentelemetry/api@1.9.0)(@playwright/test@1.58.2)(react-dom@19.2.3(react@19.2.3))(react@19.2.3) react: 19.2.3 svelte: 4.2.19 vue: 3.5.13(typescript@5.9.3) @@ -25677,9 +25677,9 @@ snapshots: react: 19.2.3 react-dom: 19.2.3(react@19.2.3) - next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.0)(@playwright/test@1.58.2)(react-dom@19.2.3(react@19.2.3))(react@19.2.3): + next@16.2.4(@babel/core@7.29.0)(@opentelemetry/api@1.9.0)(@playwright/test@1.58.2)(react-dom@19.2.3(react@19.2.3))(react@19.2.3): dependencies: - '@next/env': 16.1.6 + '@next/env': 16.2.4 '@swc/helpers': 0.5.15 baseline-browser-mapping: 2.9.19 caniuse-lite: 1.0.30001769 @@ -25688,14 +25688,14 @@ snapshots: react-dom: 19.2.3(react@19.2.3) styled-jsx: 5.1.6(@babel/core@7.29.0)(react@19.2.3) optionalDependencies: - '@next/swc-darwin-arm64': 16.1.6 - '@next/swc-darwin-x64': 16.1.6 - '@next/swc-linux-arm64-gnu': 16.1.6 - '@next/swc-linux-arm64-musl': 16.1.6 - '@next/swc-linux-x64-gnu': 16.1.6 - '@next/swc-linux-x64-musl': 16.1.6 - '@next/swc-win32-arm64-msvc': 16.1.6 - '@next/swc-win32-x64-msvc': 16.1.6 + '@next/swc-darwin-arm64': 16.2.4 + '@next/swc-darwin-x64': 16.2.4 + '@next/swc-linux-arm64-gnu': 16.2.4 + '@next/swc-linux-arm64-musl': 16.2.4 + '@next/swc-linux-x64-gnu': 16.2.4 + '@next/swc-linux-x64-musl': 16.2.4 + '@next/swc-win32-arm64-msvc': 16.2.4 + '@next/swc-win32-x64-msvc': 16.2.4 '@opentelemetry/api': 1.9.0 '@playwright/test': 1.58.2 sharp: 0.34.5 From e5f2ccdd0fadf870733f4a785b5f0f68d763625b Mon Sep 17 00:00:00 2001 From: Universe Date: Mon, 20 Apr 2026 02:48:56 +0900 Subject: [PATCH 2/3] docs: restructure docs IA and landing pages --- apps/docs/manifest.js | 22 ++-- apps/docs/scripts/docs-site-gen/copy-docs.js | 8 +- apps/docs/sidebars.js | 61 ++++++---- docs/AGENTS.md | 55 +++++---- ...rk-flag-example-part-name-editing-only.gif | Bin ...h1-flag-example-part-name-editing-only.gif | Bin docs/{ => _history}/flags/index.md | 3 +- .../getting-started/01-intro.mdx | 1 + .../02-clean-design-for-clean-code.mdx | 1 + .../getting-started/03-configuration.mdx | 1 + .../getting-started/04-integrations.mdx | 1 + .../getting-started/05-examples.mdx | 1 + ...figure-framework-on-assistant-v2021-11.png | Bin ...-with-grida-assistant-figma-plugin-15s.gif | Bin ...-with-grida-assistant-figma-plugin-15s.mov | Bin .../translations/ko/01-intro.mdx | 1 + .../ko/02-clean-design-for-clean-code.mdx | 1 + .../translations/ko/03-configuration.mdx | 1 + .../translations/ko/04-integrations.mdx | 1 + .../translations/ko/05-examples.mdx | 1 + .../getting-started/translations/meta.json | 0 docs/code/with-css/index.md | 1 - docs/code/with-emotion-js/index.md | 0 docs/code/with-expo/index.md | 0 docs/code/with-flutter/index.mdx | 17 --- docs/code/with-framer-motion/index.md | 0 docs/code/with-headless-ui/index.md | 0 docs/code/with-html/index.md | 1 - docs/code/with-jetpack-compose/index.md | 0 docs/code/with-lit/index.md | 3 - docs/code/with-mui/index.md | 1 - docs/code/with-nextjs/index.md | 1 - docs/code/with-nuxtjs/index.md | 0 docs/code/with-preact/index.md | 0 docs/code/with-react-native/index.md | 0 docs/code/with-react/index.mdx | 6 - docs/code/with-storybook/index.md | 0 docs/code/with-styled-components/index.md | 0 docs/code/with-svelte/index.mdx | 3 - docs/code/with-swiftui/index.md | 0 docs/code/with-tailwindcss/index.md | 1 - docs/code/with-vanilla-web/index.mdx | 1 - docs/code/with-vue/index.md | 0 docs/code/with-webcomponents/index.md | 6 - docs/concepts/01-what-is-scene.mdx | 28 ----- docs/concepts/02-design-linting.mdx | 5 - .../03-layouts/01-laytout-management.mdx | 53 --------- docs/concepts/03-layouts/02-autolayout.mdx | 17 --- .../03-layouts/03-overflow-and-scrolling.mdx | 10 -- docs/concepts/03-layouts/04-constraints.mdx | 5 - docs/concepts/03-layouts/05-best-practice.mdx | 5 - docs/concepts/03-layouts/_category_.json | 3 - .../04-components/03-component-management.mdx | 6 - .../04-components/04-component-base.mdx | 14 --- .../04-components/05-component-variant.mdx | 20 ---- docs/concepts/04-components/_category_.json | 3 - docs/concepts/05-widgets/01-intro.mdx | 48 -------- docs/concepts/05-widgets/_category_.json | 3 - docs/concepts/05-widgets/detection.mdx | 25 ---- docs/concepts/06-motions/01-intro.mdx | 0 docs/concepts/06-motions/_category_.json | 3 - docs/concepts/07-prototyping/01-intro.mdx | 0 .../02-using-figma-prototype.mdx | 0 docs/concepts/07-prototyping/_category_.json | 3 - docs/concepts/07-prototyping/prototype.mdx | 9 -- .../08-events-and-actions/01-intro.mdx | 0 .../08-events-and-actions/_category_.json | 3 - docs/concepts/09-props/01-intro.md | 0 docs/concepts/09-props/_category_.json | 3 - docs/concepts/10-flags/01-intro.md | 1 - ...gs-that-can-be-done-only-by-using-flags.md | 7 -- .../10-flags/03-flags-for-extending-layout.md | 0 docs/concepts/10-flags/_category_.json | 3 - .../11-contents-management/_category_.json | 3 - .../design-as-server.mdx | 49 -------- .../design-as-translations.mdx | 1 - .../99-understand-bts/_category_.json | 3 - .../99-understand-bts/design-to-code.mdx | 38 ------- docs/concepts/_category_.json | 3 - docs/concepts/handoff.mdx | 9 -- .../assets/vector-network-implicit-region.png | Bin docs/{ => design}/vector-network/index.md | 0 docs/index.md | 107 +++++++----------- docs/tags.yml | 35 ++++++ docs/translations/ko/index.md | 106 +++++++---------- docs/{ => with-figma}/assistant/01-intro.mdx | 0 .../assets/assistant-demo-2021.0.1.gif | Bin .../design-assistant/icons-loader.mdx | 0 .../assistant/design-assistant/index.mdx | 0 docs/with-figma/index.md | 8 ++ 90 files changed, 225 insertions(+), 614 deletions(-) rename docs/{ => _history}/flags/assets/--artwork-flag-example-part-name-editing-only.gif (100%) rename docs/{ => _history}/flags/assets/--h1-flag-example-part-name-editing-only.gif (100%) rename docs/{ => _history}/flags/index.md (90%) rename docs/{ => _history}/getting-started/01-intro.mdx (99%) rename docs/{ => _history}/getting-started/02-clean-design-for-clean-code.mdx (98%) rename docs/{ => _history}/getting-started/03-configuration.mdx (98%) rename docs/{ => _history}/getting-started/04-integrations.mdx (98%) rename docs/{ => _history}/getting-started/05-examples.mdx (89%) rename docs/{ => _history}/getting-started/assets/how-to-configure-framework-on-assistant-v2021-11.png (100%) rename docs/{ => _history}/getting-started/assets/how-to-run-lints-on-your-design-with-grida-assistant-figma-plugin-15s.gif (100%) rename docs/{ => _history}/getting-started/assets/how-to-run-lints-on-your-design-with-grida-assistant-figma-plugin-15s.mov (100%) rename docs/{ => _history}/getting-started/translations/ko/01-intro.mdx (99%) rename docs/{ => _history}/getting-started/translations/ko/02-clean-design-for-clean-code.mdx (99%) rename docs/{ => _history}/getting-started/translations/ko/03-configuration.mdx (98%) rename docs/{ => _history}/getting-started/translations/ko/04-integrations.mdx (98%) rename docs/{ => _history}/getting-started/translations/ko/05-examples.mdx (89%) rename docs/{ => _history}/getting-started/translations/meta.json (100%) delete mode 100644 docs/code/with-css/index.md delete mode 100644 docs/code/with-emotion-js/index.md delete mode 100644 docs/code/with-expo/index.md delete mode 100644 docs/code/with-flutter/index.mdx delete mode 100644 docs/code/with-framer-motion/index.md delete mode 100644 docs/code/with-headless-ui/index.md delete mode 100644 docs/code/with-html/index.md delete mode 100644 docs/code/with-jetpack-compose/index.md delete mode 100644 docs/code/with-lit/index.md delete mode 100644 docs/code/with-mui/index.md delete mode 100644 docs/code/with-nextjs/index.md delete mode 100644 docs/code/with-nuxtjs/index.md delete mode 100644 docs/code/with-preact/index.md delete mode 100644 docs/code/with-react-native/index.md delete mode 100644 docs/code/with-react/index.mdx delete mode 100644 docs/code/with-storybook/index.md delete mode 100644 docs/code/with-styled-components/index.md delete mode 100644 docs/code/with-svelte/index.mdx delete mode 100644 docs/code/with-swiftui/index.md delete mode 100644 docs/code/with-tailwindcss/index.md delete mode 100644 docs/code/with-vanilla-web/index.mdx delete mode 100644 docs/code/with-vue/index.md delete mode 100644 docs/code/with-webcomponents/index.md delete mode 100644 docs/concepts/01-what-is-scene.mdx delete mode 100644 docs/concepts/02-design-linting.mdx delete mode 100644 docs/concepts/03-layouts/01-laytout-management.mdx delete mode 100644 docs/concepts/03-layouts/02-autolayout.mdx delete mode 100644 docs/concepts/03-layouts/03-overflow-and-scrolling.mdx delete mode 100644 docs/concepts/03-layouts/04-constraints.mdx delete mode 100644 docs/concepts/03-layouts/05-best-practice.mdx delete mode 100644 docs/concepts/03-layouts/_category_.json delete mode 100644 docs/concepts/04-components/03-component-management.mdx delete mode 100644 docs/concepts/04-components/04-component-base.mdx delete mode 100644 docs/concepts/04-components/05-component-variant.mdx delete mode 100644 docs/concepts/04-components/_category_.json delete mode 100644 docs/concepts/05-widgets/01-intro.mdx delete mode 100644 docs/concepts/05-widgets/_category_.json delete mode 100644 docs/concepts/05-widgets/detection.mdx delete mode 100644 docs/concepts/06-motions/01-intro.mdx delete mode 100644 docs/concepts/06-motions/_category_.json delete mode 100644 docs/concepts/07-prototyping/01-intro.mdx delete mode 100644 docs/concepts/07-prototyping/02-using-figma-prototype.mdx delete mode 100644 docs/concepts/07-prototyping/_category_.json delete mode 100644 docs/concepts/07-prototyping/prototype.mdx delete mode 100644 docs/concepts/08-events-and-actions/01-intro.mdx delete mode 100644 docs/concepts/08-events-and-actions/_category_.json delete mode 100644 docs/concepts/09-props/01-intro.md delete mode 100644 docs/concepts/09-props/_category_.json delete mode 100644 docs/concepts/10-flags/01-intro.md delete mode 100644 docs/concepts/10-flags/02-things-that-can-be-done-only-by-using-flags.md delete mode 100644 docs/concepts/10-flags/03-flags-for-extending-layout.md delete mode 100644 docs/concepts/10-flags/_category_.json delete mode 100644 docs/concepts/11-contents-management/_category_.json delete mode 100644 docs/concepts/11-contents-management/design-as-server.mdx delete mode 100644 docs/concepts/11-contents-management/design-as-translations.mdx delete mode 100644 docs/concepts/99-understand-bts/_category_.json delete mode 100644 docs/concepts/99-understand-bts/design-to-code.mdx delete mode 100644 docs/concepts/_category_.json delete mode 100644 docs/concepts/handoff.mdx rename docs/{ => design}/vector-network/assets/vector-network-implicit-region.png (100%) rename docs/{ => design}/vector-network/index.md (100%) rename docs/{ => with-figma}/assistant/01-intro.mdx (100%) rename docs/{ => with-figma}/assistant/assets/assistant-demo-2021.0.1.gif (100%) rename docs/{ => with-figma}/assistant/design-assistant/icons-loader.mdx (100%) rename docs/{ => with-figma}/assistant/design-assistant/index.mdx (100%) diff --git a/apps/docs/manifest.js b/apps/docs/manifest.js index 1a62740e1..686f82e5a 100644 --- a/apps/docs/manifest.js +++ b/apps/docs/manifest.js @@ -6,12 +6,16 @@ module.exports = { path: "/docs/getting-started", }, { - title: "Assistant", + title: "With Figma", open: true, routes: [ + { + title: "Assistant", + path: "/docs/with-figma/assistant", + }, { title: "Design Assistant", - path: "/docs/assistant/design-assistant", + path: "/docs/with-figma/assistant/design-assistant", routes: [ { title: "Icons loader", @@ -21,31 +25,31 @@ module.exports = { }, // { // title: "Components View", - // path: "/docs/assistant/components-view", + // path: "/docs/with-figma/assistant/components-view", // }, // { // title: "Code View", - // path: "/docs/assistant/code-view", + // path: "/docs/with-figma/assistant/code-view", // }, // { // title: "Quick look", - // path: "/docs/assistant/quicklook", + // path: "/docs/with-figma/assistant/quicklook", // }, // { // title: "Click to copy", - // path: "/docs/assistant/click-to-copy", + // path: "/docs/with-figma/assistant/click-to-copy", // }, // { // title: "Design Linting", - // path: "/docs/assistant/linter", + // path: "/docs/with-figma/assistant/linter", // }, // { // title: "Preferences", - // path: "/docs/assistant/preferences", + // path: "/docs/with-figma/assistant/preferences", // }, // { // title: "Environment Variables", - // path: "/docs/assistant/environment-variables", + // path: "/docs/with-figma/assistant/environment-variables", // }, ], }, diff --git a/apps/docs/scripts/docs-site-gen/copy-docs.js b/apps/docs/scripts/docs-site-gen/copy-docs.js index 27b84588a..e95fdb471 100644 --- a/apps/docs/scripts/docs-site-gen/copy-docs.js +++ b/apps/docs/scripts/docs-site-gen/copy-docs.js @@ -15,7 +15,13 @@ function copyAll() { // deletions in the source tree do not leave duplicate routes (e.g. README // vs index) in the build output. fse.emptyDirSync(dest); - fse.copySync(origin, dest, { overwrite: true }); + fse.copySync(origin, dest, { + overwrite: true, + filter: (src) => { + const base = path.basename(src); + return base !== ".DS_Store"; + }, + }); } module.exports = copyAll; diff --git a/apps/docs/sidebars.js b/apps/docs/sidebars.js index 06ae436a3..958c66a94 100644 --- a/apps/docs/sidebars.js +++ b/apps/docs/sidebars.js @@ -174,14 +174,6 @@ const api = [ // }, ]; -const flags = [ - { - type: "autogenerated", - dirName: "flags", - }, - ..._flags_items, -]; - const docs = [ { type: "doc", @@ -189,34 +181,23 @@ const docs = [ }, { type: "category", - label: "Getting Started", + label: "Editor", collapsed: true, items: [ { type: "autogenerated", - dirName: "getting-started", + dirName: "editor", }, ], }, { type: "category", - label: "Concepts", + label: "Forms", collapsed: true, items: [ { type: "autogenerated", - dirName: "concepts", - }, - ], - }, - { - type: "category", - label: "Assistant", - collapsed: true, - items: [ - { - type: "autogenerated", - dirName: "assistant", + dirName: "forms", }, ], }, @@ -239,6 +220,39 @@ const docs = [ }, ], }, + { + type: "category", + label: "With Figma", + collapsed: true, + items: [ + { + type: "autogenerated", + dirName: "with-figma", + }, + ], + }, + { + type: "category", + label: "Design", + collapsed: true, + items: [ + { + type: "autogenerated", + dirName: "design", + }, + ], + }, + { + type: "category", + label: "CLI", + collapsed: true, + items: [ + { + type: "autogenerated", + dirName: "cli", + }, + ], + }, { type: "category", label: "Models", @@ -285,7 +299,6 @@ const wg = [ /** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */ const sidebars = { tutorialSidebar: docs, - flagsSidebar: flags, togetherSidebar: together, apiSidebar: api, wgSidebar: wg, diff --git a/docs/AGENTS.md b/docs/AGENTS.md index 9b548ec64..88d401a68 100644 --- a/docs/AGENTS.md +++ b/docs/AGENTS.md @@ -12,27 +12,39 @@ This directory is the **source of truth** for documentation content. ## Actively maintained -We **only actively maintain** the following docs areas: +The most actively maintained docs areas are: - `docs/wg/**` — working group docs (design notes, architecture, proposals, WIP) - `docs/reference/**` — reference docs (glossary, specs, stable technical references) +- `docs/editor/**` — editor user and feature docs +- `docs/forms/**` — forms docs +- `docs/platform/**` — platform/product docs +- `docs/with-figma/**` — Figma interoperability, guides, and Assistant product docs +- `docs/design/**` — design-oriented product/reference docs +- `docs/math/**` — supporting technical references ## SEO frontmatter -For docs SEO/frontmatter cleanup, start with the actively maintained areas: -`docs/wg/**` and `docs/reference/**`. Avoid broad repo-wide churn across -older docs sections unless the task explicitly asks for that migration. +For docs SEO/frontmatter cleanup, start with the actively maintained areas +above. Avoid broad repo-wide churn across deprecated, synced, or archived +sections unless the task explicitly asks for that migration. When adding or meaningfully editing an actively maintained doc page, prefer frontmatter with `title`, `description`, and `keywords`. For most `wg/` and `reference/` Markdown pages that do not use MDX/JSX features, also include `format: md` as described below. -## Everything else +## Special Cases + +Some docs trees are intentionally kept, but have different ownership rules: -Other folders under `/docs` are **not actively managed**. +- `docs/cli/**` is deprecated. Keep it unless the task explicitly removes or rewrites deprecated CLI docs. +- `docs/@designto-code/**` is synced from an external source. Do not restructure or rewrite it unless the task explicitly targets that sync source. +- `docs/_history/**` contains archived, code-facing record material. It is not part of the user-facing docs surface; if you archive new docs, move them under `_history/` and mark each page `unlisted: true`. + +## Everything else -- Unless you have a specific task, **avoid editing** content outside `docs/wg/**` and `docs/reference/**`. +- Unless you have a specific task, prefer edits in the actively maintained areas above. - Do not edit generated artifacts under `/apps/docs/docs/**`. ## Universal routing (linking to editor pages) @@ -100,16 +112,19 @@ This prevents all MDX-related parsing issues for the entire file. ## Structure -| directory | name | description | active | -| -------------------------------- | ------------- | ---------------------------------------------------------------------- | ------ | -| [/docs/wg](./wg) | working group | working group documents, architecture documents, todo list, etc | yes | -| [/docs/wg/format](./wg/format) | format | Grida IR spec and CSS/HTML/SVG import mapping trackers | yes | -| [/docs/reference](./reference) | reference | glossary and references (technical documents) | yes | -| [/docs/math](./math) | math | Math reference, used for internal docs referencing | yes | -| [/docs/platform](./platform) | platform | Grida Platform (API/Spec) documents | yes | -| [/docs/editor](./editor) | editor | Grida Editor - User Documentation | yes | -| [/docs/forms](./forms) | forms | Grida Forms - User Documentation | yes | -| [/docs/canvas](./canvas) | canvas | Grida Canvas SDK - User Documentation | no | -| [/docs/cli](./cli) | cli | Grida CLI - User Documentation | yes | -| [/docs/together](./together) | together | Contributing, Support, Community, etc | yes | -| [/docs/with-figma](./with-figma) | with-figma | Grida with Figma - Grida <-> Figma compatibility and user guides | yes | +| directory | name | description | active | +| ---------------------------------------- | -------------- | ---------------------------------------------------------------------- | ------ | +| [/docs/wg](./wg) | working group | working group documents, architecture documents, todo list, etc | yes | +| [/docs/wg/format](./wg/format) | format | Grida IR spec and CSS/HTML/SVG import mapping trackers | yes | +| [/docs/reference](./reference) | reference | glossary and references (technical documents) | yes | +| [/docs/math](./math) | math | Math reference, used for internal docs referencing | yes | +| [/docs/platform](./platform) | platform | Grida Platform (API/Spec) documents | yes | +| [/docs/editor](./editor) | editor | Grida Editor - User Documentation | yes | +| [/docs/forms](./forms) | forms | Grida Forms - User Documentation | yes | +| [/docs/with-figma](./with-figma) | with-figma | Grida with Figma - Grida <-> Figma compatibility and user guides | yes | +| [/docs/design](./design) | design | Design-oriented docs and visual behavior notes | yes | +| [/docs/canvas](./canvas) | canvas | Grida Canvas SDK - User Documentation | no | +| [/docs/cli](./cli) | cli | Deprecated CLI docs kept for compatibility | no | +| [/docs/@designto-code](./@designto-code) | design-to-code | Externally synced reference docs | no | +| [/docs/\_history](./_history) | history | Archived, code-facing record docs not meant for user navigation | no | +| [/docs/together](./together) | together | Contributing, Support, Community, etc | no | diff --git a/docs/flags/assets/--artwork-flag-example-part-name-editing-only.gif b/docs/_history/flags/assets/--artwork-flag-example-part-name-editing-only.gif similarity index 100% rename from docs/flags/assets/--artwork-flag-example-part-name-editing-only.gif rename to docs/_history/flags/assets/--artwork-flag-example-part-name-editing-only.gif diff --git a/docs/flags/assets/--h1-flag-example-part-name-editing-only.gif b/docs/_history/flags/assets/--h1-flag-example-part-name-editing-only.gif similarity index 100% rename from docs/flags/assets/--h1-flag-example-part-name-editing-only.gif rename to docs/_history/flags/assets/--h1-flag-example-part-name-editing-only.gif diff --git a/docs/flags/index.md b/docs/_history/flags/index.md similarity index 90% rename from docs/flags/index.md rename to docs/_history/flags/index.md index 4bb0c6e26..9a3ed8074 100644 --- a/docs/flags/index.md +++ b/docs/_history/flags/index.md @@ -1,4 +1,5 @@ --- +unlisted: true id: intro title: "Introduction to Flags" sidebar_position: 1 @@ -30,7 +31,7 @@ Like in the example above, the `--artwork` flag is used to export the group as a ``` -Learn more about [--artwork](../@designto-code/flags/--artwork) +Learn more about [--artwork](../../@designto-code/flags/--artwork) diff --git a/docs/getting-started/01-intro.mdx b/docs/_history/getting-started/01-intro.mdx similarity index 99% rename from docs/getting-started/01-intro.mdx rename to docs/_history/getting-started/01-intro.mdx index 28586cf0a..f227a3c9c 100644 --- a/docs/getting-started/01-intro.mdx +++ b/docs/_history/getting-started/01-intro.mdx @@ -1,6 +1,7 @@ --- id: intro title: "Installation" +unlisted: true excerpt: "Convert your design to code to any platforms, learn how to make design work with Grida." --- diff --git a/docs/getting-started/02-clean-design-for-clean-code.mdx b/docs/_history/getting-started/02-clean-design-for-clean-code.mdx similarity index 98% rename from docs/getting-started/02-clean-design-for-clean-code.mdx rename to docs/_history/getting-started/02-clean-design-for-clean-code.mdx index e32f97ce4..645733d13 100644 --- a/docs/getting-started/02-clean-design-for-clean-code.mdx +++ b/docs/_history/getting-started/02-clean-design-for-clean-code.mdx @@ -1,6 +1,7 @@ --- id: clean-design-for-clean-design title: "Clean Design for Clean Code" +unlisted: true excerpt: "Clean your design, maximize the product quality" --- diff --git a/docs/getting-started/03-configuration.mdx b/docs/_history/getting-started/03-configuration.mdx similarity index 98% rename from docs/getting-started/03-configuration.mdx rename to docs/_history/getting-started/03-configuration.mdx index 98dd259e7..7693e2410 100644 --- a/docs/getting-started/03-configuration.mdx +++ b/docs/_history/getting-started/03-configuration.mdx @@ -1,6 +1,7 @@ --- id: configuration title: "Framework & Configuration" +unlisted: true --- # Configuration diff --git a/docs/getting-started/04-integrations.mdx b/docs/_history/getting-started/04-integrations.mdx similarity index 98% rename from docs/getting-started/04-integrations.mdx rename to docs/_history/getting-started/04-integrations.mdx index d67a628fd..a71ac3b03 100644 --- a/docs/getting-started/04-integrations.mdx +++ b/docs/_history/getting-started/04-integrations.mdx @@ -1,6 +1,7 @@ --- id: integrations title: "Integrations" +unlisted: true --- # Integrations diff --git a/docs/getting-started/05-examples.mdx b/docs/_history/getting-started/05-examples.mdx similarity index 89% rename from docs/getting-started/05-examples.mdx rename to docs/_history/getting-started/05-examples.mdx index 7ade5efa8..f94b8484a 100644 --- a/docs/getting-started/05-examples.mdx +++ b/docs/_history/getting-started/05-examples.mdx @@ -1,6 +1,7 @@ --- id: examples title: "Examples" +unlisted: true --- # Examples diff --git a/docs/getting-started/assets/how-to-configure-framework-on-assistant-v2021-11.png b/docs/_history/getting-started/assets/how-to-configure-framework-on-assistant-v2021-11.png similarity index 100% rename from docs/getting-started/assets/how-to-configure-framework-on-assistant-v2021-11.png rename to docs/_history/getting-started/assets/how-to-configure-framework-on-assistant-v2021-11.png diff --git a/docs/getting-started/assets/how-to-run-lints-on-your-design-with-grida-assistant-figma-plugin-15s.gif b/docs/_history/getting-started/assets/how-to-run-lints-on-your-design-with-grida-assistant-figma-plugin-15s.gif similarity index 100% rename from docs/getting-started/assets/how-to-run-lints-on-your-design-with-grida-assistant-figma-plugin-15s.gif rename to docs/_history/getting-started/assets/how-to-run-lints-on-your-design-with-grida-assistant-figma-plugin-15s.gif diff --git a/docs/getting-started/assets/how-to-run-lints-on-your-design-with-grida-assistant-figma-plugin-15s.mov b/docs/_history/getting-started/assets/how-to-run-lints-on-your-design-with-grida-assistant-figma-plugin-15s.mov similarity index 100% rename from docs/getting-started/assets/how-to-run-lints-on-your-design-with-grida-assistant-figma-plugin-15s.mov rename to docs/_history/getting-started/assets/how-to-run-lints-on-your-design-with-grida-assistant-figma-plugin-15s.mov diff --git a/docs/getting-started/translations/ko/01-intro.mdx b/docs/_history/getting-started/translations/ko/01-intro.mdx similarity index 99% rename from docs/getting-started/translations/ko/01-intro.mdx rename to docs/_history/getting-started/translations/ko/01-intro.mdx index e3b9a03fe..5daeeca5b 100644 --- a/docs/getting-started/translations/ko/01-intro.mdx +++ b/docs/_history/getting-started/translations/ko/01-intro.mdx @@ -1,6 +1,7 @@ --- id: intro title: "설치" +unlisted: true excerpt: "Convert your design to code to any platforms, learn how to make design work with Grida." --- diff --git a/docs/getting-started/translations/ko/02-clean-design-for-clean-code.mdx b/docs/_history/getting-started/translations/ko/02-clean-design-for-clean-code.mdx similarity index 99% rename from docs/getting-started/translations/ko/02-clean-design-for-clean-code.mdx rename to docs/_history/getting-started/translations/ko/02-clean-design-for-clean-code.mdx index 6581fad7f..ef9bdb945 100644 --- a/docs/getting-started/translations/ko/02-clean-design-for-clean-code.mdx +++ b/docs/_history/getting-started/translations/ko/02-clean-design-for-clean-code.mdx @@ -1,6 +1,7 @@ --- id: clean-design-for-clean-design title: "클린 코드를 위한 클린 디자인" +unlisted: true excerpt: "디자인을 완벽하게, 제품의 품질을 올립시다" --- diff --git a/docs/getting-started/translations/ko/03-configuration.mdx b/docs/_history/getting-started/translations/ko/03-configuration.mdx similarity index 98% rename from docs/getting-started/translations/ko/03-configuration.mdx rename to docs/_history/getting-started/translations/ko/03-configuration.mdx index 5b4af7ee5..1af3d1e5b 100644 --- a/docs/getting-started/translations/ko/03-configuration.mdx +++ b/docs/_history/getting-started/translations/ko/03-configuration.mdx @@ -1,6 +1,7 @@ --- id: configuration title: "프레임워크 & 설정하기" +unlisted: true --- # 설정 diff --git a/docs/getting-started/translations/ko/04-integrations.mdx b/docs/_history/getting-started/translations/ko/04-integrations.mdx similarity index 98% rename from docs/getting-started/translations/ko/04-integrations.mdx rename to docs/_history/getting-started/translations/ko/04-integrations.mdx index dad64a93d..e7381adab 100644 --- a/docs/getting-started/translations/ko/04-integrations.mdx +++ b/docs/_history/getting-started/translations/ko/04-integrations.mdx @@ -1,6 +1,7 @@ --- id: integrations title: "통합 & 연결" +unlisted: true --- # 통합하기 diff --git a/docs/getting-started/translations/ko/05-examples.mdx b/docs/_history/getting-started/translations/ko/05-examples.mdx similarity index 89% rename from docs/getting-started/translations/ko/05-examples.mdx rename to docs/_history/getting-started/translations/ko/05-examples.mdx index dea4c77e2..af7a4d7ba 100644 --- a/docs/getting-started/translations/ko/05-examples.mdx +++ b/docs/_history/getting-started/translations/ko/05-examples.mdx @@ -1,6 +1,7 @@ --- id: examples title: "예시" +unlisted: true --- # 예시 diff --git a/docs/getting-started/translations/meta.json b/docs/_history/getting-started/translations/meta.json similarity index 100% rename from docs/getting-started/translations/meta.json rename to docs/_history/getting-started/translations/meta.json diff --git a/docs/code/with-css/index.md b/docs/code/with-css/index.md deleted file mode 100644 index 7b7926350..000000000 --- a/docs/code/with-css/index.md +++ /dev/null @@ -1 +0,0 @@ -# Quickstart: CSS diff --git a/docs/code/with-emotion-js/index.md b/docs/code/with-emotion-js/index.md deleted file mode 100644 index e69de29bb..000000000 diff --git a/docs/code/with-expo/index.md b/docs/code/with-expo/index.md deleted file mode 100644 index e69de29bb..000000000 diff --git a/docs/code/with-flutter/index.mdx b/docs/code/with-flutter/index.mdx deleted file mode 100644 index 33dab51b5..000000000 --- a/docs/code/with-flutter/index.mdx +++ /dev/null @@ -1,17 +0,0 @@ -# Flutter with Grida - -## Techniques - -### Design to code - -### Grida Cloud - CMS for your Flutter app - -## Utilities - VS Code Extension - -**Install `Grida for vscode` for better programming experience** - -_Learn more about Grida VSCode extension_ - -## Utilities - Android studio extension - -> You can have same similar coding experience on Android studio, with Grida InteliJ plugin. Since Jetbrains is not actively supported related to vscode, some updates might take some time. diff --git a/docs/code/with-framer-motion/index.md b/docs/code/with-framer-motion/index.md deleted file mode 100644 index e69de29bb..000000000 diff --git a/docs/code/with-headless-ui/index.md b/docs/code/with-headless-ui/index.md deleted file mode 100644 index e69de29bb..000000000 diff --git a/docs/code/with-html/index.md b/docs/code/with-html/index.md deleted file mode 100644 index 1b839fe65..000000000 --- a/docs/code/with-html/index.md +++ /dev/null @@ -1 +0,0 @@ -# Quickstart: Html (Vanilla) diff --git a/docs/code/with-jetpack-compose/index.md b/docs/code/with-jetpack-compose/index.md deleted file mode 100644 index e69de29bb..000000000 diff --git a/docs/code/with-lit/index.md b/docs/code/with-lit/index.md deleted file mode 100644 index 5ae0e16a9..000000000 --- a/docs/code/with-lit/index.md +++ /dev/null @@ -1,3 +0,0 @@ -# Quickstart: Lit - -> Lit is a simple library for building fast, lightweight web components. diff --git a/docs/code/with-mui/index.md b/docs/code/with-mui/index.md deleted file mode 100644 index 1bfbcdd04..000000000 --- a/docs/code/with-mui/index.md +++ /dev/null @@ -1 +0,0 @@ -# Quickstart: Material UI for React (`@mui/material`) diff --git a/docs/code/with-nextjs/index.md b/docs/code/with-nextjs/index.md deleted file mode 100644 index dc14a8888..000000000 --- a/docs/code/with-nextjs/index.md +++ /dev/null @@ -1 +0,0 @@ -# Quick start: Next js diff --git a/docs/code/with-nuxtjs/index.md b/docs/code/with-nuxtjs/index.md deleted file mode 100644 index e69de29bb..000000000 diff --git a/docs/code/with-preact/index.md b/docs/code/with-preact/index.md deleted file mode 100644 index e69de29bb..000000000 diff --git a/docs/code/with-react-native/index.md b/docs/code/with-react-native/index.md deleted file mode 100644 index e69de29bb..000000000 diff --git a/docs/code/with-react/index.mdx b/docs/code/with-react/index.mdx deleted file mode 100644 index 5ef30c5d2..000000000 --- a/docs/code/with-react/index.mdx +++ /dev/null @@ -1,6 +0,0 @@ ---- -title: "Quickstart: React" -sidebar_position: 1 ---- - -# Quickstart: React diff --git a/docs/code/with-storybook/index.md b/docs/code/with-storybook/index.md deleted file mode 100644 index e69de29bb..000000000 diff --git a/docs/code/with-styled-components/index.md b/docs/code/with-styled-components/index.md deleted file mode 100644 index e69de29bb..000000000 diff --git a/docs/code/with-svelte/index.mdx b/docs/code/with-svelte/index.mdx deleted file mode 100644 index 85df7fcc9..000000000 --- a/docs/code/with-svelte/index.mdx +++ /dev/null @@ -1,3 +0,0 @@ -## Svelte platform support - -## Code Styles & Conventions diff --git a/docs/code/with-swiftui/index.md b/docs/code/with-swiftui/index.md deleted file mode 100644 index e69de29bb..000000000 diff --git a/docs/code/with-tailwindcss/index.md b/docs/code/with-tailwindcss/index.md deleted file mode 100644 index 1d3f18e7c..000000000 --- a/docs/code/with-tailwindcss/index.md +++ /dev/null @@ -1 +0,0 @@ -# Quickstart: Tailwind css diff --git a/docs/code/with-vanilla-web/index.mdx b/docs/code/with-vanilla-web/index.mdx deleted file mode 100644 index 34304abc7..000000000 --- a/docs/code/with-vanilla-web/index.mdx +++ /dev/null @@ -1 +0,0 @@ -# Vanilla HTML/CSS support diff --git a/docs/code/with-vue/index.md b/docs/code/with-vue/index.md deleted file mode 100644 index e69de29bb..000000000 diff --git a/docs/code/with-webcomponents/index.md b/docs/code/with-webcomponents/index.md deleted file mode 100644 index 22fce2de2..000000000 --- a/docs/code/with-webcomponents/index.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -title: "Quickstart: Webcomponents" -sidebar_position: 1 ---- - -# Quickstart: Webcomponents diff --git a/docs/concepts/01-what-is-scene.mdx b/docs/concepts/01-what-is-scene.mdx deleted file mode 100644 index 477811367..000000000 --- a/docs/concepts/01-what-is-scene.mdx +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: "What is Scene?" ---- - -# What is Scene? - -We have this terminology - "Scene". Scene is a collection of layers, which can be represented as a Screen or a Component. - -**Examples** - -- Text or Shape is **not** a Scene. -- Frame **is** a Scene. (optionally) -- Page or Screen **is** a Scene. (which is Frame) -- A Component **is** a Scene. -- A Variant Set is **not** a Scene. -- A Variant **is** a Scene. -- A Instance is **not** a Scene. - -## What's special about the Scene? - -- Scene is a unit of sharing - - Once a Node or a Layer is registered as a Scene, you can share - - You cannot share a Single Text Node. -- Scene is a root, a absolute positioner reletive to its' children - - When you convert a lyer inside some frame to code, Let's say a Frame, this frame's position will be relative to it's first scene-parent. -- Scene is a unit of processing, This is to prevent recursive generation of code. - -_Now we have a clear understanding among layers, scenes and components, we can move on to the next step._ diff --git a/docs/concepts/02-design-linting.mdx b/docs/concepts/02-design-linting.mdx deleted file mode 100644 index 870a804f5..000000000 --- a/docs/concepts/02-design-linting.mdx +++ /dev/null @@ -1,5 +0,0 @@ -# Design Lint - -## What is "design lint"? - -### What is lint? diff --git a/docs/concepts/03-layouts/01-laytout-management.mdx b/docs/concepts/03-layouts/01-laytout-management.mdx deleted file mode 100644 index c1d21fda0..000000000 --- a/docs/concepts/03-layouts/01-laytout-management.mdx +++ /dev/null @@ -1,53 +0,0 @@ -# Layout Management - -In this document, we'll have few notes about concepts of a Layout, and short principles of how to manage them. - -## Always use Frame - -## `Group` is not a Layout (in most times) - -We oftem misunderstand that group is a representation of a layout. But this is wrong. -Technically, under the hood, A group is a Abstract concepts that locks its children to move and position in a grouped way. - -To be more clear, here is an example. - -- SceneRoot - - Group - - Item 1 - Aligns to Left - - Item 2 - Aligns to Right - - Item 3 - Aligns to Top - -Group does not have a alignment property (not even in your design tool). It only shows the alignment if all its children have the same alignment. -So what really happens when you align a Group, let's say to the left, is that all its children are aligned to the left, relative to Root, not Group. - -This is why we should always use Frame instead of group, otherwise, your layout will break both in your design tool and in your production. - -Also under the same reason, you should avoid using Masks. Yet, [we do support them](../../@designto-code/figma-mask-layer), but the results may differ as your expectations. - - - -## `Frame` is a Layout - -## Advanced Layout composition - -- Column -- Row -- Flex -- Stack -- Positioned -- Aligned -- Complex Cases - -### Autolayout and Concept of `Flex` - -Learn more about this in the [next document](./autolayout) - -### Stack and Alignment - -### Complex Cases - -Above, you have all the support for representing layouts with built-in Figma features, Yet, you might encounter some cases that simply can't-be-done only using Figma. - -**Enter: Flags.** - -[Learn more about flags here](../flags/intro) diff --git a/docs/concepts/03-layouts/02-autolayout.mdx b/docs/concepts/03-layouts/02-autolayout.mdx deleted file mode 100644 index 377c79a57..000000000 --- a/docs/concepts/03-layouts/02-autolayout.mdx +++ /dev/null @@ -1,17 +0,0 @@ ---- -title: "Layouting with Autolayout" ---- - -# Layouting with Autolayout - -Autolayout is introduced at Nov, 2020 on Figma, which is a powerful tool for building responsive, developer friendly layouts. - -## Known Limitations - -## Tips & Tricks - -### Give autolayout full-power with flags annotation - -### List of autolayout as `Wrap` - -## Col-Row Hierarchy and `z-index` diff --git a/docs/concepts/03-layouts/03-overflow-and-scrolling.mdx b/docs/concepts/03-layouts/03-overflow-and-scrolling.mdx deleted file mode 100644 index 9630d19fc..000000000 --- a/docs/concepts/03-layouts/03-overflow-and-scrolling.mdx +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: "Overflow & Scrolling Layout" ---- - -# Overflow & Scrolling Layout - -Read the technical blueprint - -- [How to determine if flexbox should have overflow porperty?](../../@designto-code/overflow-layout-scroll) -- [Item overflowing scenarios (static, no-scroll)](../../@designto-code/item-overflow) diff --git a/docs/concepts/03-layouts/04-constraints.mdx b/docs/concepts/03-layouts/04-constraints.mdx deleted file mode 100644 index 143a27557..000000000 --- a/docs/concepts/03-layouts/04-constraints.mdx +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: "Constraints / Alignment" ---- - -# Constraints / Alignment diff --git a/docs/concepts/03-layouts/05-best-practice.mdx b/docs/concepts/03-layouts/05-best-practice.mdx deleted file mode 100644 index 7f3ef8c33..000000000 --- a/docs/concepts/03-layouts/05-best-practice.mdx +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: "Layouting Best Practice" ---- - -# Layouting Best Practice diff --git a/docs/concepts/03-layouts/_category_.json b/docs/concepts/03-layouts/_category_.json deleted file mode 100644 index 9bc58c176..000000000 --- a/docs/concepts/03-layouts/_category_.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "label": "Layouts" -} diff --git a/docs/concepts/04-components/03-component-management.mdx b/docs/concepts/04-components/03-component-management.mdx deleted file mode 100644 index 51a1cb651..000000000 --- a/docs/concepts/04-components/03-component-management.mdx +++ /dev/null @@ -1,6 +0,0 @@ ---- -title: "Components Management" ---- - -In this document, we will be covering the basics of how to use the components management system. -This is purely technical, this does not cover the part how to implement components to co-work between designers. diff --git a/docs/concepts/04-components/04-component-base.mdx b/docs/concepts/04-components/04-component-base.mdx deleted file mode 100644 index b0755d386..000000000 --- a/docs/concepts/04-components/04-component-base.mdx +++ /dev/null @@ -1,14 +0,0 @@ -# Component Base - -> Component Base or Abstract Component is a base Component that is used for creating variant components. - -## Why do we need this? - -## Always Create Component Base First. - -## Naming Convention - -- (base)ComponentName -- \_\_(base)ComponentName - -In most times, you may not want your Component Base to be shared through library, to prevent this, you can simply add `__` prefix to your "Component Base" Component's Name, altering `"example"` to `"__example"` diff --git a/docs/concepts/04-components/05-component-variant.mdx b/docs/concepts/04-components/05-component-variant.mdx deleted file mode 100644 index e357be498..000000000 --- a/docs/concepts/04-components/05-component-variant.mdx +++ /dev/null @@ -1,20 +0,0 @@ -# Variants - -## Variant vs State - -## Built-in States - -Also known as `Pseudo-classes` in CSS, these are built-in states and its names to represent them. - -- `hover` -- `focus` -- `active` -- `visited` -- `disabled` -- `enabled` -- `checked` -- `indeterminate` - -## Custom data - -## Switch vs Boolean diff --git a/docs/concepts/04-components/_category_.json b/docs/concepts/04-components/_category_.json deleted file mode 100644 index 56132c1fc..000000000 --- a/docs/concepts/04-components/_category_.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "label": "Components" -} diff --git a/docs/concepts/05-widgets/01-intro.mdx b/docs/concepts/05-widgets/01-intro.mdx deleted file mode 100644 index 160f276b6..000000000 --- a/docs/concepts/05-widgets/01-intro.mdx +++ /dev/null @@ -1,48 +0,0 @@ -# Widgets - -> A Widget, or also knwon as Built-in Standard Components is a Grida standard for shorthanding the code, and making the result more reliable. - -## Example - Buttons and TextFields are Widget - -## Widget Catalog - -Here are some popular widgets that you will end up using in a daily basis. - -- Icon -- Button -- TextField -- Typography - -## The philosophy behind Widgets - -> "Only use widgets when they are inevidable" - -Behind the scene, the layout is also a widget internally. But you don't want to use untrusted code just for representing the layout. -e.g. - -```tsx -// (1) with Layout also as Widget -import { Stack, TextField, Button } from "@reflect-ui/react"; - -const AllInOne = () => { - return ( - - -