Skip to content

Commit 5ab3c1a

Browse files
chore: Update dependencies
1 parent 855de22 commit 5ab3c1a

13 files changed

Lines changed: 199 additions & 224 deletions

biome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
2+
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
33
"extends": ["./node_modules/@axa-ch/easy-config/biome/base.json"]
44
}

package-lock.json

Lines changed: 181 additions & 206 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@
4141
},
4242
"homepage": "https://github.com/axa-ch/react-polymorphic-types#readme",
4343
"devDependencies": {
44-
"@axa-ch/easy-config": "3.0.1",
45-
"@biomejs/biome": "1.9.4",
46-
"framer-motion": "^12.23.12",
47-
"prettier": "3.6.2",
48-
"typescript": "^5.9.2",
49-
"@types/react": "^19.1.10",
50-
"react": "^19.1.1"
44+
"@axa-ch/easy-config": "4.0.1",
45+
"@biomejs/biome": "2.4.7",
46+
"framer-motion": "^12.38.0",
47+
"prettier": "3.8.1",
48+
"typescript": "^5.9.3",
49+
"@types/react": "^19.2.14",
50+
"react": "^19.2.4"
5151
},
5252
"peerDependencies": {
5353
"@types/react": "^18.0.0 || ^19.0.0",

tests/components/base.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { type ComponentPropsWithoutRef, type ElementType, createElement } from 'react';
1+
import { type ComponentPropsWithoutRef, createElement, type ElementType } from 'react';
22
import type { PolymorphicProps } from '../../index';
33

44
// Default HTML element if the "as" prop is not provided

tests/components/button.ref.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { type ComponentPropsWithoutRef, type ExoticComponent, type FC, createElement, forwardRef } from 'react';
1+
import { type ComponentPropsWithoutRef, createElement, type ExoticComponent, type FC, forwardRef } from 'react';
22
import type {
33
PolymorphicExoticProps,
44
PolymorphicForwardedRef,

tests/components/complex.ref.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { type ComponentPropsWithoutRef, type ElementType, createElement, forwardRef } from 'react';
1+
import { type ComponentPropsWithoutRef, createElement, type ElementType, forwardRef } from 'react';
22
import type { PolymorphicForwardedRef, PolymorphicProps } from '../../index';
33

44
// Default HTML element if the "as" prop is not provided

tests/components/exotic.memo.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { type ComponentPropsWithoutRef, type ElementType, type ExoticComponent, createElement, memo } from 'react';
1+
import { type ComponentPropsWithoutRef, createElement, type ElementType, type ExoticComponent, memo } from 'react';
22
import type { PolymorphicExoticProps, PolymorphicProps } from '../../index';
33

44
// Default HTML element if the "as" prop is not provided

tests/components/exotic.ref.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import {
22
type ComponentPropsWithoutRef,
3+
createElement,
34
type ElementType,
45
type ExoticComponent,
5-
createElement,
66
forwardRef,
77
} from 'react';
88
import type { PolymorphicExoticProps, PolymorphicForwardedRef, PolymorphicProps } from '../../index';

tests/components/exotic.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { type ComponentPropsWithoutRef, type ElementType, type ExoticComponent, createElement } from 'react';
1+
import { type ComponentPropsWithoutRef, createElement, type ElementType, type ExoticComponent } from 'react';
22
import type { PolymorphicExoticProps, PolymorphicProps } from '../../index';
33

44
// Default HTML element if the "as" prop is not provided

tests/components/functional.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// We need to infer the functional component properties so any in this case is needed
2-
import { type ComponentPropsWithoutRef, type ElementType, type ExoticComponent, type FC, createElement } from 'react';
2+
import { type ComponentPropsWithoutRef, createElement, type ElementType, type ExoticComponent, type FC } from 'react';
33
import type { PolymorphicExoticProps, PolymorphicFunctionalProps, PolymorphicProps } from '../../index';
44

55
// Default HTML element if the "as" prop is not provided

0 commit comments

Comments
 (0)