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
6 changes: 3 additions & 3 deletions ui-parts/link/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
"peerDependencies": {
"@vanilla-extract/css": "*",
"@vanilla-extract/dynamic": "*",
"next": "*",
"react": "*",
"react-dom": "*"
"next": "^15 || ^16",
"react": "^19",
"react-dom": "^19"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion ui-parts/link/src/link.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import NextLink from 'next/link.js'
import { baseLinkStyles } from './link.css.js'
import { linkSprinkles } from './link.css.js'

const BaseLink = NextLink.default
const BaseLink = 'default' in NextLink ? NextLink.default : NextLink

export const Link = ({ children, href, ref, ...props }: LinkProps): ReactNode => {
const { className, style, otherProps } = linkSprinkles(props)
Expand Down
5 changes: 3 additions & 2 deletions ui-parts/next-image/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@
"peerDependencies": {
"@vanilla-extract/css": "*",
"@vanilla-extract/dynamic": "*",
"react": "*",
"react-dom": "*"
"next": "^15 || ^16",
"react": "^19",
"react-dom": "^19"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion ui-parts/next-image/src/next-image.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import Image from 'next/image.js'

import { nextImageWrapperStyles } from './next-image.css.js'

const BaseImage = Image.default
const BaseImage = 'default' in Image ? Image.default : Image

export const NextImage = ({ wrapperClassName, ref, ...props }: NextImageProps): ReactNode => (
<div className={clsx(nextImageWrapperStyles, wrapperClassName)}>
Expand Down
11 changes: 6 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -699,9 +699,9 @@ __metadata:
peerDependencies:
"@vanilla-extract/css": "*"
"@vanilla-extract/dynamic": "*"
next: "*"
react: "*"
react-dom: "*"
next: ^15 || ^16
react: ^19
react-dom: ^19
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -752,8 +752,9 @@ __metadata:
peerDependencies:
"@vanilla-extract/css": "*"
"@vanilla-extract/dynamic": "*"
react: "*"
react-dom: "*"
next: ^15 || ^16
react: ^19
react-dom: ^19
languageName: unknown
linkType: soft

Expand Down
Loading