Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "nightly-tests",
"description": "Nightly integration tests for React Native",
"version": "0.0.0",
"private": "true",
"private": true,
"workspaces": [
"website"
],
Expand Down
4 changes: 2 additions & 2 deletions website/app/page.tsx
Original file line number Diff line number Diff line change
@@ -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 (
Expand Down
2 changes: 1 addition & 1 deletion website/components/EntryNotes.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import InfoIcon from '~/public/info-icon.svg';
import InfoIcon from '~/public/icons/info-icon.svg';

import Tooltip from './Tooltip';

Expand Down
2 changes: 1 addition & 1 deletion website/components/GitHubRepoLink.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import GitHubLogo from '~/public/github.svg';
import GitHubLogo from '~/public/icons/github-icon.svg';

import Tooltip from './Tooltip';

Expand Down
58 changes: 38 additions & 20 deletions website/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -41,22 +44,37 @@ export default function Header() {
/>
</div>
<div className="flex flex-row gap-2 ml-auto">
<div
role="button"
tabIndex={0}
className="cursor-pointer p-1.5 rounded-full hover:bg-hover"
onClick={() => {
resolvedTheme === 'dark' ? setTheme('light') : setTheme('dark');
}}>
<ThemeLightIcon className="text-secondary size-6 hidden dark:block" />
<ThemeDarkIcon className="text-secondary size-6 dark:hidden" />
</div>
<Link
href="https://github.com/react-native-community/nightly-tests"
target="_blank"
className="p-1.5 rounded-full hover:bg-hover">
<GitHubLogo className="text-secondary size-6" />
</Link>
<Tooltip
content="Add package to the program"
side="bottom"
sideOffset={4}>
<Link
href="https://github.com/react-native-community/discussions-and-proposals/discussions/931#discussion-8827727"
target="_blank"
className="p-1.5 rounded-full hover:bg-hover">
<PlusIcon className="text-secondary size-6" />
</Link>
</Tooltip>
<Tooltip content="Toggle theme" side="bottom" sideOffset={4}>
<div
role="button"
tabIndex={0}
className="cursor-pointer p-1.5 rounded-full hover:bg-hover"
onClick={() => {
resolvedTheme === 'dark' ? setTheme('light') : setTheme('dark');
}}>
<ThemeLightIcon className="text-secondary size-6 hidden dark:block" />
<ThemeDarkIcon className="text-secondary size-6 dark:hidden" />
</div>
</Tooltip>
<Tooltip content="GitHub" side="bottom" sideOffset={4}>
<Link
href="https://github.com/react-native-community/nightly-tests"
target="_blank"
className="p-1.5 rounded-full hover:bg-hover">
<GitHubLogo className="text-secondary size-6" />
</Link>
</Tooltip>
</div>
</div>
</header>
Expand Down
2 changes: 1 addition & 1 deletion website/components/InlineLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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<HTMLAnchorElement>;

Expand Down
4 changes: 2 additions & 2 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
3 changes: 3 additions & 0 deletions website/public/icons/plus-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
6 changes: 3 additions & 3 deletions website/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -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] {
Expand Down Expand Up @@ -66,7 +66,7 @@
/* Global styles */

body {
@apply selection:bg-[var(--selection)];
@apply selection:bg-(--selection);
}

* {
Expand Down
8 changes: 7 additions & 1 deletion website/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
120 changes: 60 additions & 60 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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:
Expand Down