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
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@
"prepublishOnly": "yarn storybook --smoke-test"
},
"devDependencies": {
"@babel/core": "^7.28.6",
"@babel/preset-env": "^7.28.6",
"@babel/core": "^7.29.0",
"@babel/preset-env": "^7.29.0",
"@babel/preset-react": "^7.28.5",
"@babel/preset-typescript": "^7.28.5",
"@eslint/compat": "^2.0.1",
Expand All @@ -84,7 +84,7 @@
"@types/jest": "^30.0.0",
"@types/jest-axe": "^3.5.9",
"@types/node": "^24.10.9",
"@types/react": "^19.2.8",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"babel-jest": "^30.2.0",
"babel-plugin-module-resolver": "^5.0.2",
Expand All @@ -104,8 +104,8 @@
"nhsuk-frontend": "^10.3.1",
"outdent": "^0.8.0",
"prettier": "^3.8.0",
"react": "^19.2.3",
"react-dom": "^19.2.3",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"rollup": "^4.59.0",
"rollup-preserve-directives": "^1.1.3",
"sass-embedded": "^1.97.2",
Expand Down
6 changes: 3 additions & 3 deletions stories/Form Elements/Checkboxes.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { type Meta, type StoryObj } from '@storybook/react-vite';
import { useEffect, useRef, useState, type SyntheticEvent } from 'react';
import { useEffect, useRef, useState, type ChangeEvent, type InputEvent } from 'react';

import { Checkboxes } from '#components/form-elements/checkboxes/index.js';
import { Fieldset } from '#components/form-elements/fieldset/Fieldset.js';
Expand Down Expand Up @@ -842,7 +842,7 @@ export const OnChangeAndOnInputHandlers: Story = {
const [inputEventLog, setInputEventLog] = useState<Array<string>>([]);
const [currentValue, setCurrentValue] = useState<Array<string>>([]);

const handleChange = (e: SyntheticEvent<HTMLInputElement>) => {
const handleChange = (e: ChangeEvent<HTMLInputElement>) => {
const target = e.target as HTMLInputElement;
setChangeEventLog([
...changeEventLog,
Expand All @@ -855,7 +855,7 @@ export const OnChangeAndOnInputHandlers: Story = {
}
};

const handleInput = (e: SyntheticEvent<HTMLInputElement>) => {
const handleInput = (e: InputEvent<HTMLInputElement>) => {
const target = e.target as HTMLInputElement;
setInputEventLog([
...inputEventLog,
Expand Down
Loading