diff --git a/package.json b/package.json index a80e3fa..7a6fd39 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "nightly-tests", "description": "Nightly integration tests for React Native", "version": "0.0.0", - "private": "true", + "private": true, "workspaces": [ "website" ], diff --git a/website/app/page.tsx b/website/app/page.tsx index 2cb7916..a1bda81 100644 --- a/website/app/page.tsx +++ b/website/app/page.tsx @@ -1,8 +1,8 @@ import Link from 'next/link'; import Table from '~/components/Table'; -import AndroidIcon from '~/public/android-icon.svg'; -import IOSIcon from '~/public/ios-icon.svg'; +import AndroidIcon from '~/public/icons/android-icon.svg'; +import IOSIcon from '~/public/icons/ios-icon.svg'; export default function Home() { return ( diff --git a/website/components/EntryNotes.tsx b/website/components/EntryNotes.tsx index 2c3678e..ca94aeb 100644 --- a/website/components/EntryNotes.tsx +++ b/website/components/EntryNotes.tsx @@ -1,4 +1,4 @@ -import InfoIcon from '~/public/info-icon.svg'; +import InfoIcon from '~/public/icons/info-icon.svg'; import Tooltip from './Tooltip'; diff --git a/website/components/GitHubRepoLink.tsx b/website/components/GitHubRepoLink.tsx index bc91b09..2a93e6b 100644 --- a/website/components/GitHubRepoLink.tsx +++ b/website/components/GitHubRepoLink.tsx @@ -1,4 +1,4 @@ -import GitHubLogo from '~/public/github.svg'; +import GitHubLogo from '~/public/icons/github-icon.svg'; import Tooltip from './Tooltip'; diff --git a/website/components/Header.tsx b/website/components/Header.tsx index ab1e475..6b47ea1 100644 --- a/website/components/Header.tsx +++ b/website/components/Header.tsx @@ -5,11 +5,14 @@ import { useTheme } from 'next-themes'; import { twMerge } from 'tailwind-merge'; import { useSearch } from '~/context/SearchContext'; -import GitHubLogo from '~/public/github.svg'; +import GitHubLogo from '~/public/icons/github-icon.svg'; +import PlusIcon from '~/public/icons/plus-icon.svg'; +import SearchIcon from '~/public/icons/search-icon.svg'; +import ThemeDarkIcon from '~/public/icons/theme-dark-icon.svg'; +import ThemeLightIcon from '~/public/icons/theme-light-icon.svg'; import Logo from '~/public/logo.svg'; -import SearchIcon from '~/public/search-icon.svg'; -import ThemeDarkIcon from '~/public/theme-dark.svg'; -import ThemeLightIcon from '~/public/theme-light.svg'; + +import Tooltip from './Tooltip'; export default function Header() { const { resolvedTheme, setTheme } = useTheme(); @@ -41,22 +44,37 @@ export default function Header() { />
-
{ - resolvedTheme === 'dark' ? setTheme('light') : setTheme('dark'); - }}> - - -
- - - + + + + + + +
{ + resolvedTheme === 'dark' ? setTheme('light') : setTheme('dark'); + }}> + + +
+
+ + + + +
diff --git a/website/components/InlineLink.tsx b/website/components/InlineLink.tsx index c40520f..56b0d2c 100644 --- a/website/components/InlineLink.tsx +++ b/website/components/InlineLink.tsx @@ -2,7 +2,7 @@ import Link, { type LinkProps } from 'next/link'; import { AnchorHTMLAttributes } from 'react'; import { twMerge } from 'tailwind-merge'; -import ExternalLinkIcon from '~/public/external-link-icon.svg'; +import ExternalLinkIcon from '~/public/icons/external-link-icon.svg'; type Props = LinkProps & AnchorHTMLAttributes; diff --git a/website/package.json b/website/package.json index 32f2761..4b41753 100644 --- a/website/package.json +++ b/website/package.json @@ -15,14 +15,14 @@ "dependencies": { "@radix-ui/react-tooltip": "^1.2.8", "@tanstack/react-table": "^8.21.3", - "next": "^16.0.7", + "next": "^16.0.8", "next-themes": "^0.4.6", "react": "^19.2.1", "react-dom": "^19.2.1", "tailwind-merge": "^3.4.0" }, "devDependencies": { - "@next/eslint-plugin-next": "16.0.7", + "@next/eslint-plugin-next": "16.0.8", "@svgr/webpack": "^8.1.0", "@tailwindcss/postcss": "^4.1.17", "@types/node": "^22.18.13", diff --git a/website/public/android-icon.svg b/website/public/icons/android-icon.svg similarity index 100% rename from website/public/android-icon.svg rename to website/public/icons/android-icon.svg diff --git a/website/public/external-link-icon.svg b/website/public/icons/external-link-icon.svg similarity index 100% rename from website/public/external-link-icon.svg rename to website/public/icons/external-link-icon.svg diff --git a/website/public/github.svg b/website/public/icons/github-icon.svg similarity index 100% rename from website/public/github.svg rename to website/public/icons/github-icon.svg diff --git a/website/public/info-icon.svg b/website/public/icons/info-icon.svg similarity index 100% rename from website/public/info-icon.svg rename to website/public/icons/info-icon.svg diff --git a/website/public/ios-icon.svg b/website/public/icons/ios-icon.svg similarity index 100% rename from website/public/ios-icon.svg rename to website/public/icons/ios-icon.svg diff --git a/website/public/icons/plus-icon.svg b/website/public/icons/plus-icon.svg new file mode 100644 index 0000000..c9dda7a --- /dev/null +++ b/website/public/icons/plus-icon.svg @@ -0,0 +1,3 @@ + + + diff --git a/website/public/search-icon.svg b/website/public/icons/search-icon.svg similarity index 100% rename from website/public/search-icon.svg rename to website/public/icons/search-icon.svg diff --git a/website/public/theme-dark.svg b/website/public/icons/theme-dark-icon.svg similarity index 100% rename from website/public/theme-dark.svg rename to website/public/icons/theme-dark-icon.svg diff --git a/website/public/theme-light.svg b/website/public/icons/theme-light-icon.svg similarity index 100% rename from website/public/theme-light.svg rename to website/public/icons/theme-light-icon.svg diff --git a/website/styles/globals.css b/website/styles/globals.css index e748290..196ea1b 100644 --- a/website/styles/globals.css +++ b/website/styles/globals.css @@ -33,12 +33,12 @@ :root { --bg-primary: #ffffff; --bg-secondary: #f8f9fa; - --bg-hover: #f0f1f2; + --bg-hover: #e8e9eb; --text-primary: #23272f; --text-secondary: #505461; --border-primary: #23272f1a; --brand: #087ea4; - --selection: #58c4dc28; + --selection: #58c4dc40; } [data-theme=dark] { @@ -66,7 +66,7 @@ /* Global styles */ body { - @apply selection:bg-[var(--selection)]; + @apply selection:bg-(--selection); } * { diff --git a/website/tsconfig.json b/website/tsconfig.json index 98b869b..1a9ebc0 100644 --- a/website/tsconfig.json +++ b/website/tsconfig.json @@ -22,6 +22,12 @@ "~/*": ["./*"] } }, - "include": ["**/*.ts", "**/*.tsx", "next-env.d.ts"], + "include": [ + "**/*.ts", + "**/*.tsx", + "next-env.d.ts", + ".next/types/**/*.ts", + ".next/dev/types/**/*.ts" + ], "exclude": ["node_modules"] } diff --git a/yarn.lock b/yarn.lock index b9a0131..a0ddb3d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1666,57 +1666,57 @@ "@emnapi/runtime" "^1.5.0" "@tybys/wasm-util" "^0.10.1" -"@next/env@16.0.7": - version "16.0.7" - resolved "https://registry.yarnpkg.com/@next/env/-/env-16.0.7.tgz#eda56377a865d890d25122257d2b8a85b81d6d3d" - integrity sha512-gpaNgUh5nftFKRkRQGnVi5dpcYSKGcZZkQffZ172OrG/XkrnS7UBTQ648YY+8ME92cC4IojpI2LqTC8sTDhAaw== +"@next/env@16.0.8": + version "16.0.8" + resolved "https://registry.yarnpkg.com/@next/env/-/env-16.0.8.tgz#6167b208ffde10fee64230e09daff387f3f451fd" + integrity sha512-xP4WrQZuj9MdmLJy3eWFHepo+R3vznsMSS8Dy3wdA7FKpjCiesQ6DxZvdGziQisj0tEtCgBKJzjcAc4yZOgLEQ== -"@next/eslint-plugin-next@16.0.7": - version "16.0.7" - resolved "https://registry.yarnpkg.com/@next/eslint-plugin-next/-/eslint-plugin-next-16.0.7.tgz#f35558960ab7ca021db28f4a98c20cfd6fd33a54" - integrity sha512-hFrTNZcMEG+k7qxVxZJq3F32Kms130FAhG8lvw2zkKBgAcNOJIxlljNiCjGygvBshvaGBdf88q2CqWtnqezDHA== +"@next/eslint-plugin-next@16.0.8": + version "16.0.8" + resolved "https://registry.yarnpkg.com/@next/eslint-plugin-next/-/eslint-plugin-next-16.0.8.tgz#62018f7f9eb3eda013f72a67f0805bda51360eb0" + integrity sha512-1miV0qXDcLUaOdHridVPCh4i39ElRIAraseVIbb3BEqyZ5ol9sPyjTP/GNTPV5rBxqxjF6/vv5zQTVbhiNaLqA== dependencies: fast-glob "3.3.1" -"@next/swc-darwin-arm64@16.0.7": - version "16.0.7" - resolved "https://registry.yarnpkg.com/@next/swc-darwin-arm64/-/swc-darwin-arm64-16.0.7.tgz#ffe8afc902807e409f16a5f585dc4cb683804931" - integrity sha512-LlDtCYOEj/rfSnEn/Idi+j1QKHxY9BJFmxx7108A6D8K0SB+bNgfYQATPk/4LqOl4C0Wo3LACg2ie6s7xqMpJg== - -"@next/swc-darwin-x64@16.0.7": - version "16.0.7" - resolved "https://registry.yarnpkg.com/@next/swc-darwin-x64/-/swc-darwin-x64-16.0.7.tgz#ec5fd15ae391e1af9f152881f559bffaa24524e7" - integrity sha512-rtZ7BhnVvO1ICf3QzfW9H3aPz7GhBrnSIMZyr4Qy6boXF0b5E3QLs+cvJmg3PsTCG2M1PBoC+DANUi4wCOKXpA== - -"@next/swc-linux-arm64-gnu@16.0.7": - version "16.0.7" - resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-16.0.7.tgz#22be26ee7544f68aa916159b823899b67b09f0a6" - integrity sha512-mloD5WcPIeIeeZqAIP5c2kdaTa6StwP4/2EGy1mUw8HiexSHGK/jcM7lFuS3u3i2zn+xH9+wXJs6njO7VrAqww== - -"@next/swc-linux-arm64-musl@16.0.7": - version "16.0.7" - resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-16.0.7.tgz#1b34103951456e5d6766710e4f16dadbd7745bed" - integrity sha512-+ksWNrZrthisXuo9gd1XnjHRowCbMtl/YgMpbRvFeDEqEBd523YHPWpBuDjomod88U8Xliw5DHhekBC3EOOd9g== - -"@next/swc-linux-x64-gnu@16.0.7": - version "16.0.7" - resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-16.0.7.tgz#b45e1fa7aaf844269e0932c4cde49bb6b0817ce9" - integrity sha512-4WtJU5cRDxpEE44Ana2Xro1284hnyVpBb62lIpU5k85D8xXxatT+rXxBgPkc7C1XwkZMWpK5rXLXTh9PFipWsA== - -"@next/swc-linux-x64-musl@16.0.7": - version "16.0.7" - resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-16.0.7.tgz#c5376fd78ca97a911e2bbfb9b26dc623b54edfab" - integrity sha512-HYlhqIP6kBPXalW2dbMTSuB4+8fe+j9juyxwfMwCe9kQPPeiyFn7NMjNfoFOfJ2eXkeQsoUGXg+O2SE3m4Qg2w== - -"@next/swc-win32-arm64-msvc@16.0.7": - version "16.0.7" - resolved "https://registry.yarnpkg.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-16.0.7.tgz#2cf27e275ddd8d04f89391a9cdf6790cccb3bf09" - integrity sha512-EviG+43iOoBRZg9deGauXExjRphhuYmIOJ12b9sAPy0eQ6iwcPxfED2asb/s2/yiLYOdm37kPaiZu8uXSYPs0Q== - -"@next/swc-win32-x64-msvc@16.0.7": - version "16.0.7" - resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-16.0.7.tgz#e9e38fcca752902542c25c527e532af71e9ca812" - integrity sha512-gniPjy55zp5Eg0896qSrf3yB1dw4F/3s8VK1ephdsZZ129j2n6e1WqCbE2YgcKhW9hPB9TVZENugquWJD5x0ug== +"@next/swc-darwin-arm64@16.0.8": + version "16.0.8" + resolved "https://registry.yarnpkg.com/@next/swc-darwin-arm64/-/swc-darwin-arm64-16.0.8.tgz#0b28316ea33542365d3a7770c548910992b29cae" + integrity sha512-yjVMvTQN21ZHOclQnhSFbjBTEizle+1uo4NV6L4rtS9WO3nfjaeJYw+H91G+nEf3Ef43TaEZvY5mPWfB/De7tA== + +"@next/swc-darwin-x64@16.0.8": + version "16.0.8" + resolved "https://registry.yarnpkg.com/@next/swc-darwin-x64/-/swc-darwin-x64-16.0.8.tgz#51139ce4b2fca924c1df48b0a0b33a7ba6641ed2" + integrity sha512-+zu2N3QQ0ZOb6RyqQKfcu/pn0UPGmg+mUDqpAAEviAcEVEYgDckemOpiMRsBP3IsEKpcoKuNzekDcPczEeEIzA== + +"@next/swc-linux-arm64-gnu@16.0.8": + version "16.0.8" + resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-16.0.8.tgz#323625ec532c119495fbea6301c29c00fa25b767" + integrity sha512-LConttk+BeD0e6RG0jGEP9GfvdaBVMYsLJ5aDDweKiJVVCu6sGvo+Ohz9nQhvj7EQDVVRJMCGhl19DmJwGr6bQ== + +"@next/swc-linux-arm64-musl@16.0.8": + version "16.0.8" + resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-16.0.8.tgz#19a988df87f26390233cbe8eb793edde7157c84b" + integrity sha512-JaXFAlqn8fJV+GhhA9lpg6da/NCN/v9ub98n3HoayoUSPOVdoxEEt86iT58jXqQCs/R3dv5ZnxGkW8aF4obMrQ== + +"@next/swc-linux-x64-gnu@16.0.8": + version "16.0.8" + resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-16.0.8.tgz#71dc3516fab7ca793bf0fd424c638280175afcc1" + integrity sha512-O7M9it6HyNhsJp3HNAsJoHk5BUsfj7hRshfptpGcVsPZ1u0KQ/oVy8oxF7tlwxA5tR43VUP0yRmAGm1us514ng== + +"@next/swc-linux-x64-musl@16.0.8": + version "16.0.8" + resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-16.0.8.tgz#6878cbd85eee73dbd18b3e34791e4e3cc9dc5f43" + integrity sha512-8+KClEC/GLI2dLYcrWwHu5JyC5cZYCFnccVIvmxpo6K+XQt4qzqM5L4coofNDZYkct/VCCyJWGbZZDsg6w6LFA== + +"@next/swc-win32-arm64-msvc@16.0.8": + version "16.0.8" + resolved "https://registry.yarnpkg.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-16.0.8.tgz#556fadbd1915060ef821eb0e38b86866194bcbcf" + integrity sha512-rpQ/PgTEgH68SiXmhu/cJ2hk9aZ6YgFvspzQWe2I9HufY6g7V02DXRr/xrVqOaKm2lenBFPNQ+KAaeveywqV+A== + +"@next/swc-win32-x64-msvc@16.0.8": + version "16.0.8" + resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-16.0.8.tgz#9cb3db37d0113ce099877e04b975868e57782204" + integrity sha512-jWpWjWcMQu2iZz4pEK2IktcfR+OA9+cCG8zenyLpcW8rN4rzjfOzH4yj/b1FiEAZHKS+5Vq8+bZyHi+2yqHbFA== "@nodelib/fs.scandir@2.1.5": version "2.1.5" @@ -6599,25 +6599,25 @@ next-themes@^0.4.6: resolved "https://registry.yarnpkg.com/next-themes/-/next-themes-0.4.6.tgz#8d7e92d03b8fea6582892a50a928c9b23502e8b6" integrity sha512-pZvgD5L0IEvX5/9GWyHMf3m8BKiVQwsCMHfoFosXtXBMnaS0ZnIJ9ST4b4NqLVKDEm8QBxoNNGNaBv2JNF6XNA== -next@^16.0.7: - version "16.0.7" - resolved "https://registry.yarnpkg.com/next/-/next-16.0.7.tgz#859045df71599a8883fc7049a65d6d468c56db08" - integrity sha512-3mBRJyPxT4LOxAJI6IsXeFtKfiJUbjCLgvXO02fV8Wy/lIhPvP94Fe7dGhUgHXcQy4sSuYwQNcOLhIfOm0rL0A== +next@^16.0.8: + version "16.0.8" + resolved "https://registry.yarnpkg.com/next/-/next-16.0.8.tgz#10c0289e76e8617a8ad991210ec7402cb9cba87b" + integrity sha512-LmcZzG04JuzNXi48s5P+TnJBsTGPJunViNKV/iE4uM6kstjTQsQhvsAv+xF6MJxU2Pr26tl15eVbp0jQnsv6/g== dependencies: - "@next/env" "16.0.7" + "@next/env" "16.0.8" "@swc/helpers" "0.5.15" caniuse-lite "^1.0.30001579" postcss "8.4.31" styled-jsx "5.1.6" optionalDependencies: - "@next/swc-darwin-arm64" "16.0.7" - "@next/swc-darwin-x64" "16.0.7" - "@next/swc-linux-arm64-gnu" "16.0.7" - "@next/swc-linux-arm64-musl" "16.0.7" - "@next/swc-linux-x64-gnu" "16.0.7" - "@next/swc-linux-x64-musl" "16.0.7" - "@next/swc-win32-arm64-msvc" "16.0.7" - "@next/swc-win32-x64-msvc" "16.0.7" + "@next/swc-darwin-arm64" "16.0.8" + "@next/swc-darwin-x64" "16.0.8" + "@next/swc-linux-arm64-gnu" "16.0.8" + "@next/swc-linux-arm64-musl" "16.0.8" + "@next/swc-linux-x64-gnu" "16.0.8" + "@next/swc-linux-x64-musl" "16.0.8" + "@next/swc-win32-arm64-msvc" "16.0.8" + "@next/swc-win32-x64-msvc" "16.0.8" sharp "^0.34.4" no-case@^3.0.4: