Skip to content

Open-source status page, incident response and uptime monitoring

Add pagination to changelog/blog main page (#926)

Skye7cef4a1eeb1c
diff --git a/apps/web/src/app/(content)/_components/pagination.tsx b/apps/web/src/app/(content)/_components/pagination.tsx
index 5b001b88c..61cefdd59 100644
--- a/apps/web/src/app/(content)/_components/pagination.tsx
+++ b/apps/web/src/app/(content)/_components/pagination.tsx
@@ -5,7 +5,6 @@ import Link from "next/link";
import { Button } from "@openstatus/ui/src/components/button";
export function Pagination({
- // biome-ignore lint/correctness/noUnusedVariables: <explanation>
prev,
next,
}: {
@@ -15,18 +14,18 @@ export function Pagination({
return (
<div className="mx-auto flex w-full max-w-prose items-center justify-between">
<div />
- {/* {prev ? (
+ {prev ? (
<div className="w-1/2 flex-1 text-left">
<Button asChild variant="link">
<Link href={`/changelog/${prev.slug}`} className="group">
- <ChevronLeft className="text-muted-foreground group-hover:text-foreground mr-2 h-4 w-4" />
+ <ChevronLeft className="mr-2 h-4 w-4 text-muted-foreground group-hover:text-foreground" />
<span className="truncate">{prev.title}</span>
</Link>
</Button>
</div>
) : (
<div />
- )} */}
+ )}
{next ? (
<div className="w-1/2 flex-1 text-right">
<Button asChild variant="link">
diff --git a/apps/web/src/app/(content)/blog/page.tsx b/apps/web/src/app/(content)/blog/page.tsx
index 1e6f95839..e260de2cc 100644
--- a/apps/web/src/app/(content)/blog/page.tsx
+++ b/apps/web/src/app/(content)/blog/page.tsx
@@ -1,10 +1,3 @@
-import { allPosts } from "contentlayer/generated";
-import { Rss } from "lucide-react";
-import type { Metadata } from "next";
-import Link from "next/link";
-
-import { Button } from "@openstatus/ui/src/components/button";
-
import {
defaultMetadata,
ogMetadata,
@@ -12,6 +5,17 @@ import {
} from "@/app/shared-metadata";
import { Timeline } from "@/components/content/timeline";
import { Shell } from "@/components/dashboard/shell";
+import {
+ Button,
+ Pagination,
+ PaginationContent,
+ PaginationLink,
+} from "@openstatus/ui";
+import { allPosts } from "contentlayer/generated";
+import { Rss } from "lucide-react";
+import type { Metadata } from "next";
+import Link from "next/link";
+import { z } from "zod";
export const metadata: Metadata = {
...defaultMetadata,
@@ -26,11 +30,32 @@ export const metadata: Metadata = {
},
};
-export default async function Post() {
- const posts = allPosts.sort(
- (a, b) =>
- new Date(b.publishedAt).getTime() - new Date(a.publishedAt).getTime(),
- );
+const searchParamsSchema = z.object({
+ page: z
+ .string()
+ .optional()
+ .transform((val) => Number.parseInt(val || "1", 10)),
+});
+
+const ITEMS_PER_PAGE = 10;
+
+export default function Post({
+ searchParams,
+}: {
+ searchParams: { [key: string]: string | string[] | undefined };
+}) {
+ const search = searchParamsSchema.safeParse(searchParams);
+
+ const page = search.data?.page;
+ const current = !page ? 1 : page;
+ const total = Math.ceil(allPosts.length / ITEMS_PER_PAGE);
+
+ const posts = allPosts
+ .sort(
+ (a, b) =>
+ new Date(b.publishedAt).getTime() - new Date(a.publishedAt).getTime(),
+ )
+ .slice((current - 1) * ITEMS_PER_PAGE, current * ITEMS_PER_PAGE);
return (
<Shell>
@@ -64,6 +89,29 @@ export default async function Post() {
</div>
</Timeline.Article>
))}
+ {current && total && (
+ <div className="grid grid-cols-1 gap-4 md:grid-cols-5 md:gap-6">
+ <div className="row-span-2" />
+ <div className="w-full md:order-2 md:col-span-4">
+ <Pagination>
+ <PaginationContent>
+ {Array.from({ length: total }).map((_, index) => {
+ return (
+ <PaginationLink
+ // biome-ignore lint/suspicious/noArrayIndexKey: <explanation>
+ key={index}
+ href={`?page=${index + 1}`}
+ isActive={current === index + 1}
+ >
+ {index + 1}
+ </PaginationLink>
+ );
+ })}
+ </PaginationContent>
+ </Pagination>
+ </div>
+ </div>
+ )}
</Timeline>
</Shell>
);
diff --git a/apps/web/src/app/(content)/changelog/[slug]/page.tsx b/apps/web/src/app/(content)/changelog/[slug]/page.tsx
index fdf93aa22..6a6fa824f 100644
--- a/apps/web/src/app/(content)/changelog/[slug]/page.tsx
+++ b/apps/web/src/app/(content)/changelog/[slug]/page.tsx
@@ -95,7 +95,7 @@ export default function ChangelogPage({
<Shell className="flex flex-col gap-8 sm:py-8 md:gap-12 md:py-12">
<ChangelogCard post={post} />
<Separator className="mx-auto max-w-prose" />
- <Pagination {...{ next, prev }} />
+ <Pagination {...{ prev, next }} />
</Shell>
</>
);
diff --git a/apps/web/src/app/(content)/changelog/page.tsx b/apps/web/src/app/(content)/changelog/page.tsx
index 6d9d32dc1..b93a20af3 100644
--- a/apps/web/src/app/(content)/changelog/page.tsx
+++ b/apps/web/src/app/(content)/changelog/page.tsx
@@ -1,9 +1,3 @@
-import { allChangelogs } from "contentlayer/generated";
-import { Rss } from "lucide-react";
-import type { Metadata } from "next";
-
-import { Button } from "@openstatus/ui/src/components/button";
-
import {
defaultMetadata,
ogMetadata,
@@ -12,6 +6,16 @@ import {
import { Mdx } from "@/components/content/mdx";
import { Timeline } from "@/components/content/timeline";
import { Shell } from "@/components/dashboard/shell";
+import {
+ Button,
+ Pagination,
+ PaginationContent,
+ PaginationLink,
+} from "@openstatus/ui";
+import { allChangelogs } from "contentlayer/generated";
+import { Rss } from "lucide-react";
+import type { Metadata } from "next";
+import { z } from "zod";
export const metadata: Metadata = {
...defaultMetadata,
@@ -26,11 +30,32 @@ export const metadata: Metadata = {
},
};
-export default async function Changelog() {
- const changelogs = allChangelogs.sort(
- (a, b) =>
- new Date(b.publishedAt).getTime() - new Date(a.publishedAt).getTime(),
- );
+const searchParamsSchema = z.object({
+ page: z
+ .string()
+ .optional()
+ .transform((val) => Number.parseInt(val || "1", 10)),
+});
+
+const ITEMS_PER_PAGE = 10;
+
+export default function ChangelogClient({
+ searchParams,
+}: {
+ searchParams: { [key: string]: string | string[] | undefined };
+}) {
+ const search = searchParamsSchema.safeParse(searchParams);
+
+ const page = search.data?.page;
+ const current = !page ? 1 : page;
+ const total = Math.ceil(allChangelogs.length / ITEMS_PER_PAGE);
+
+ const changelogs = allChangelogs
+ .sort(
+ (a, b) =>
+ new Date(b.publishedAt).getTime() - new Date(a.publishedAt).getTime(),
+ )
+ .slice((current - 1) * ITEMS_PER_PAGE, current * ITEMS_PER_PAGE);
return (
<Shell>
@@ -57,6 +82,29 @@ export default async function Changelog() {
<Mdx code={changelog.body.code} />
</Timeline.Article>
))}
+ {current && total && (
+ <div className="grid grid-cols-1 gap-4 md:grid-cols-5 md:gap-6">
+ <div className="row-span-2" />
+ <div className="w-full md:order-2 md:col-span-4">
+ <Pagination>
+ <PaginationContent>
+ {Array.from({ length: total }).map((_, index) => {
+ return (
+ <PaginationLink
+ // biome-ignore lint/suspicious/noArrayIndexKey: <explanation>
+ key={index}
+ href={`?page=${index + 1}`}
+ isActive={current === index + 1}
+ >
+ {index + 1}
+ </PaginationLink>
+ );
+ })}
+ </PaginationContent>
+ </Pagination>
+ </div>
+ </div>
+ )}
</Timeline>
</Shell>
);
diff --git a/packages/ui/package.json b/packages/ui/package.json
index 00a555f78..a73bb484b 100644
--- a/packages/ui/package.json
+++ b/packages/ui/package.json
@@ -50,6 +50,7 @@
"date-fns": "2.30.0",
"lucide-react": "0.279.0",
"luxon": "3.3.0",
+ "next": "14.2.4",
"react": "18.3.1",
"react-day-picker": "8.8.2",
"react-hook-form": "7.47.0",
diff --git a/packages/ui/src/components/pagination.tsx b/packages/ui/src/components/pagination.tsx
new file mode 100644
index 000000000..f910954ce
--- /dev/null
+++ b/packages/ui/src/components/pagination.tsx
@@ -0,0 +1,118 @@
+import * as React from "react";
+import { ChevronLeft, ChevronRight, MoreHorizontal } from "lucide-react";
+import Link from "next/link";
+
+import { cn } from "@/lib/utils";
+import { ButtonProps, buttonVariants } from "./button";
+
+const Pagination = ({ className, ...props }: React.ComponentProps<"nav">) => (
+ <nav
+ role="navigation"
+ aria-label="pagination"
+ className={cn("mx-auto flex w-full justify-center", className)}
+ {...props}
+ />
+);
+Pagination.displayName = "Pagination";
+
+const PaginationContent = React.forwardRef<
+ HTMLUListElement,
+ React.ComponentProps<"ul">
+>(({ className, ...props }, ref) => (
+ <ul
+ ref={ref}
+ className={cn("flex flex-row items-center gap-1", className)}
+ {...props}
+ />
+));
+PaginationContent.displayName = "PaginationContent";
+
+const PaginationItem = React.forwardRef<
+ HTMLLIElement,
+ React.ComponentProps<"li">
+>(({ className, ...props }, ref) => (
+ <li ref={ref} className={cn("", className)} {...props} />
+));
+PaginationItem.displayName = "PaginationItem";
+
+type PaginationLinkProps = {
+ isActive?: boolean;
+} & Pick<ButtonProps, "size"> &
+ React.ComponentProps<typeof Link>;
+
+const PaginationLink = ({
+ className,
+ isActive,
+ size = "icon",
+ ...props
+}: PaginationLinkProps) => (
+ <Link
+ aria-current={isActive ? "page" : undefined}
+ className={cn(
+ buttonVariants({
+ variant: isActive ? "outline" : "ghost",
+ size,
+ }),
+ className
+ )}
+ {...props}
+ />
+);
+PaginationLink.displayName = "PaginationLink";
+
+const PaginationPrevious = ({
+ className,
+ ...props
+}: React.ComponentProps<typeof PaginationLink>) => (
+ <PaginationLink
+ aria-label="Go to previous page"
+ size="default"
+ className={cn("gap-1 pl-2.5", className)}
+ {...props}
+ >
+ <ChevronLeft className="h-4 w-4" />
+ <span>Prev</span>
+ </PaginationLink>
+);
+PaginationPrevious.displayName = "PaginationPrevious";
+
+const PaginationNext = ({
+ className,
+ ...props
+}: React.ComponentProps<typeof PaginationLink>) => (
+ <PaginationLink
+ aria-label="Go to next page"
+ size="default"
+ className={cn("gap-1 pr-2.5", className)}
+ {...props}
+ >
+ <span>Next</span>
+ <ChevronRight className="h-4 w-4" />
+ </PaginationLink>
+);
+PaginationNext.displayName = "PaginationNext";
+
+const PaginationEllipsis = ({
+ className,
+ ...props
+}: React.ComponentProps<"span">) => (
+ <span
+ aria-hidden
+ className={cn("flex h-9 w-9 items-center justify-center", className)}
+ {...props}
+ >
+ <MoreHorizontal className="h-4 w-4" />
+ <span className="sr-only">More pages</span>
+ </span>
+);
+PaginationEllipsis.displayName = "PaginationEllipsis";
+
+export {
+ Pagination,
+ PaginationContent,
+ PaginationEllipsis,
+ PaginationItem,
+ PaginationLink,
+ PaginationNext,
+ PaginationPrevious,
+};
diff --git a/packages/ui/src/index.tsx b/packages/ui/src/index.tsx
index 7f9d5d009..220118169 100644
--- a/packages/ui/src/index.tsx
+++ b/packages/ui/src/index.tsx
@@ -18,6 +18,7 @@ export * from "./components/hover-card";
export * from "./components/input-with-addons";
export * from "./components/input";
export * from "./components/label";
+export * from "./components/pagination";
export * from "./components/popover";
export * from "./components/progress";
export * from "./components/radio-group";
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 6463fb778..d2bdc7bfb 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -192,7 +192,7 @@ importers:
version: link:../../packages/utils
'@scalar/hono-api-reference':
specifier: 0.5.131
'@t3-oss/env-core':
specifier: 0.7.1
@@ -653,7 +653,7 @@ importers:
version: 0.1.13
next-auth:
specifier: 5.0.0-beta.17
typescript:
specifier: 5.5.2
version: 5.5.2
@@ -1078,6 +1078,9 @@ importers:
luxon:
specifier: 3.3.0
version: 3.3.0
+ next:
+ specifier: 14.2.4
next-themes:
specifier: 0.2.1
@@ -3343,60 +3346,117 @@ packages:
resolution: {integrity: sha512-3EtkY5VDkuV2+lNmKlbkibIJxcO4oIHEhBWne6PaAp+76J9KoSsGvNikp6ivzAT8dhhBMYrm6op2pS1ApG0Hzg==}
+ resolution: {integrity: sha512-L44a+ynqkolyNBnYfF8VoCiSrjSZWgEHYKkKLGcs/a80qh7AkfVUD/MduVPgdsWZ31tgROR+yJRA0PZjSVBXWQ==}
+
resolution: {integrity: sha512-AH3mO4JlFUqsYcwFUHb1wAKlebHU/Hv2u2kb1pAuRanDZ7pD/A/KPD98RHZmwsJpdHQwfEc/06mgpSzwrJYnNg==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [darwin]
+ resolution: {integrity: sha512-1VrQlG8OzdyvvGZhGJFnaNE2P10Jjy/2FopnqbY0nSa/gr8If3iINxvOEW3cmVeoAYkmW0RsBazQecA2dBFOSw==}
+ engines: {node: '>= 10'}
+ cpu: [arm64]
+ os: [darwin]
+
resolution: {integrity: sha512-QVadW73sWIO6E2VroyUjuAxhWLZWEpiFqHdZdoQ/AMpN9YWGuHV8t2rChr0ahy+irKX5mlDU7OY68k3n4tAZTg==}
engines: {node: '>= 10'}
cpu: [x64]
os: [darwin]
+ resolution: {integrity: sha512-87t3I86rNRSOJB1gXIUzaQWWSWrkWPDyZGsR0Z7JAPtLeX3uUOW2fHxl7dNWD2BZvbvftctTQjgtfpp7nMtmWg==}
+ engines: {node: '>= 10'}
+ cpu: [x64]
+ os: [darwin]
+
resolution: {integrity: sha512-KT6GUrb3oyCfcfJ+WliXuJnD6pCpZiosx2X3k66HLR+DMoilRb76LpWPGb4tZprawTtcnyrv75ElD6VncVamUQ==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
+ resolution: {integrity: sha512-ta2sfVzbOpTbgBrF9HM5m+U58dv6QPuwU4n5EX4LLyCJGKc433Z0D9h9gay/HSOjLEXJ2fJYrMP5JYYbHdxhtw==}
+ engines: {node: '>= 10'}
+ cpu: [arm64]
+ os: [linux]
+
resolution: {integrity: sha512-Alv8/XGSs/ytwQcbCHwze1HmiIkIVhDHYLjczSVrf0Wi2MvKn/blt7+S6FJitj3yTlMwMxII1gIJ9WepI4aZ/A==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
+ resolution: {integrity: sha512-+IoLTPK6Z5uIgDhgeWnQF5/o5GBN7+zyUNrs4Bes1W3g9++YELb8y0unFybS8s87ntAKMDl6jeQ+mD7oNwp/Ng==}
+ engines: {node: '>= 10'}
+ cpu: [arm64]
+ os: [linux]
+
resolution: {integrity: sha512-ze0ShQDBPCqxLImzw4sCdfnB3lRmN3qGMB2GWDRlq5Wqy4G36pxtNOo2usu/Nm9+V2Rh/QQnrRc2l94kYFXO6Q==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
+ resolution: {integrity: sha512-pO+hVXC+mvzUOQJJRG4RX4wJsRJ5BkURSf6dD6EjUXAX4Ml9es1WsEfkaZ4lcpmFzFvY47IkDaffks/GdCn9ag==}
+ engines: {node: '>= 10'}
+ cpu: [x64]
+ os: [linux]
+
resolution: {integrity: sha512-8dwC0UJoc6fC7PX70csdaznVMNr16hQrTDAMPvLPloazlcaWfdPogq+UpZX6Drqb1OBlwowz8iG7WR0Tzk/diQ==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
+ resolution: {integrity: sha512-bCat9izctychCtf3uL1nqHq31N5e1VxvdyNcBQflkudPMLbxVnlrw45Vi87K+lt1CwrtVayHqzo4ie0Szcpwzg==}
+ engines: {node: '>= 10'}
+ cpu: [x64]
+ os: [linux]
+
resolution: {integrity: sha512-jxyg67NbEWkDyvM+O8UDbPAyYRZqGLQDTPwvrBBeOSyVWW/jFQkQKQ70JDqDSYg1ZDdl+E3nkbFbq8xM8E9x8A==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [win32]
+ resolution: {integrity: sha512-gbxfUaSPV7EyUobpavida2Hwi62GhSJaSg7iBjmBWoxkxlmETOD7U4tWt763cGIsyE6jM7IoNavq0BXqwdW2QA==}
+ engines: {node: '>= 10'}
+ cpu: [arm64]
+ os: [win32]
+
resolution: {integrity: sha512-twrmN753hjXRdcrZmZttb/m5xaCBFa48Dt3FbeEItpJArxriYDunWxJn+QFXdJ3hPkm4u7CKxncVvnmgQMY1ag==}
engines: {node: '>= 10'}
cpu: [ia32]
os: [win32]
+ resolution: {integrity: sha512-PUXzEzjTTlUh3b5VAn1nlpwvujTnuCMMwbiCnaTazoVlN1nA3kWjlmp42IfURA2N/nyrlVEw7pURa/o4Qxj1cw==}
+ engines: {node: '>= 10'}
+ cpu: [ia32]
+ os: [win32]
+
resolution: {integrity: sha512-tkLrjBzqFTP8DVrAAQmZelEahfR9OxWpFR++vAI9FBhCiIxtwHwBHC23SBHCTURBtwB4kc/x44imVOnkKGNVGg==}
engines: {node: '>= 10'}
cpu: [x64]
os: [win32]
+ resolution: {integrity: sha512-EnPKv0ttq02E9/1KZ/8Dn7kuutv6hy1CKc0HlNcvzOQcm4/SQtvfws5gY0zrG9tuupd3HfC2L/zcTrnBhpjTuQ==}
+ engines: {node: '>= 10'}
+ cpu: [x64]
+ os: [win32]
+
'@nodelib/[email protected]':
resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==}
engines: {node: '>= 8'}
@@ -7180,7 +7240,6 @@ packages:
resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==}
- deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==}
@@ -8240,6 +8299,24 @@ packages:
sass:
optional: true
+ resolution: {integrity: sha512-EyEyJZ89r8C5FPlS/401AiF3O8jeMtHIE+bLom9MwcdWJJFBgRl+MR/2VgO0v5bI6tQORNY0a0DR5sjpFNrjbg==}
+ engines: {node: '>=18.17.0'}
+ hasBin: true
+ peerDependencies:
+ '@opentelemetry/api': ^1.1.0
+ '@playwright/test': ^1.41.2
+ react: ^18.2.0
+ react-dom: ^18.2.0
+ sass: ^1.3.0
+ peerDependenciesMeta:
+ '@opentelemetry/api':
+ optional: true
+ '@playwright/test':
+ optional: true
+ sass:
+ optional: true
+
resolution: {integrity: sha512-rmTZ9kz+f3rCvK2TD1Ue/oZlns7OGoIWP4fc3llxxRXlOkHKoWPPWJOfFYpITabSow43QJbRIoHQXtt10VldyQ==}
@@ -9131,7 +9208,6 @@ packages:
resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==}
- deprecated: Rimraf versions prior to v4 are no longer supported
hasBin: true
@@ -12587,6 +12663,10 @@ snapshots:
dependencies:
+ dependencies:
+
dependencies:
@@ -12874,33 +12954,62 @@ snapshots:
'@next/[email protected]': {}
+ '@next/[email protected]': {}
+
optional: true
+ optional: true
+
optional: true
+ optional: true
+
optional: true
+ optional: true
+
optional: true
+ optional: true
+
optional: true
+ optional: true
+
optional: true
+ optional: true
+
optional: true
+ optional: true
+
optional: true
+ optional: true
+
optional: true
+ optional: true
+
'@nodelib/[email protected]':
dependencies:
'@nodelib/fs.stat': 2.0.5
@@ -14123,9 +14232,9 @@ snapshots:
optionalDependencies:
rollup: 2.78.0
dependencies:
- '@headlessui/tailwindcss': 0.2.0([email protected]([email protected](@types/[email protected])([email protected])))
+ '@headlessui/tailwindcss': 0.2.0([email protected]([email protected](@types/[email protected])([email protected])))
'@headlessui/vue': 1.7.22([email protected]([email protected]))
'@scalar/draggable': 0.1.4([email protected])
@@ -14161,11 +14270,11 @@ snapshots:
- typescript
- vitest
dependencies:
'@floating-ui/vue': 1.1.1([email protected]([email protected]))
'@headlessui/vue': 1.7.22([email protected]([email protected]))
'@scalar/oas-utils': 0.2.26([email protected])
'@scalar/openapi-parser': 0.7.2
@@ -14250,9 +14359,9 @@ snapshots:
transitivePeerDependencies:
- typescript
dependencies:
hono: 4.5.3
transitivePeerDependencies:
- '@jest/globals'
@@ -19038,10 +19147,10 @@ snapshots:
react: 18.3.1
dependencies:
'@auth/core': 0.30.0
react: 18.3.1
@@ -19081,7 +19190,7 @@ snapshots:
'@next/env': 14.2.4
'@swc/helpers': 0.5.5
busboy: 1.6.0
- caniuse-lite: 1.0.30001612
+ caniuse-lite: 1.0.30001641
graceful-fs: 4.2.11
postcss: 8.4.31
react: 18.3.1
@@ -19107,7 +19216,7 @@ snapshots:
'@next/env': 14.2.4
'@swc/helpers': 0.5.5
busboy: 1.6.0
- caniuse-lite: 1.0.30001612
+ caniuse-lite: 1.0.30001641
graceful-fs: 4.2.11
postcss: 8.4.31
react: 18.2.0
@@ -19133,7 +19242,7 @@ snapshots:
'@next/env': 14.2.4
'@swc/helpers': 0.5.5
busboy: 1.6.0
- caniuse-lite: 1.0.30001612
+ caniuse-lite: 1.0.30001641
graceful-fs: 4.2.11
postcss: 8.4.31
react: 18.3.1
@@ -19154,6 +19263,32 @@ snapshots:
- '@babel/core'
- babel-plugin-macros
+ dependencies:
+ '@next/env': 14.2.8
+ '@swc/helpers': 0.5.5
+ busboy: 1.6.0
+ caniuse-lite: 1.0.30001641
+ graceful-fs: 4.2.11
+ postcss: 8.4.31
+ react: 18.3.1
+ react-dom: 18.3.1([email protected])
+ styled-jsx: 5.1.1([email protected])
+ optionalDependencies:
+ '@next/swc-darwin-arm64': 14.2.8
+ '@next/swc-darwin-x64': 14.2.8
+ '@next/swc-linux-arm64-gnu': 14.2.8
+ '@next/swc-linux-arm64-musl': 14.2.8
+ '@next/swc-linux-x64-gnu': 14.2.8
+ '@next/swc-linux-x64-musl': 14.2.8
+ '@next/swc-win32-arm64-msvc': 14.2.8
+ '@next/swc-win32-ia32-msvc': 14.2.8
+ '@next/swc-win32-x64-msvc': 14.2.8
+ '@opentelemetry/api': 1.8.0
+ transitivePeerDependencies:
+ - '@babel/core'
+ - babel-plugin-macros
+
dependencies:
lower-case: 1.1.4
@@ -19579,7 +19714,7 @@ snapshots:
dependencies:
nanoid: 3.3.7
- picocolors: 1.0.0
+ picocolors: 1.0.1
source-map-js: 1.2.0