Skip to content
Merged
Show file tree
Hide file tree
Changes from 15 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 .github/workflows/storybook-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:

- name: Install test-runner and Playwright dependencies
run: |
npm install --no-save @storybook/test-runner@0.22.1
npm install --no-save @storybook/test-runner@0.24.2
npx playwright install --with-deps

- name: Serve Storybook and run tests
Expand Down
1 change: 0 additions & 1 deletion bin/check-licenses.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import { checkDeps, getLicenses } from '../packages/scripts/utils/license.js';

const ignored = [
'@ampproject/remapping',
'webpack',
// Jest internals with Apache-2.0 license - only used for testing, not distributed.
'bser',
'fb-watchman',
Expand Down
3,411 changes: 1,430 additions & 1,981 deletions package-lock.json

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,10 @@
"@octokit/rest": "16.26.0",
"@playwright/test": "1.57.0",
"@pmmmwh/react-refresh-webpack-plugin": "0.5.11",
"@storybook/addon-a11y": "9.1.17",
"@storybook/addon-docs": "^9.1.17",
"@storybook/addon-webpack5-compiler-babel": "3.0.3",
"@storybook/icons": "1.4.0",
"@storybook/react-webpack5": "9.1.17",
"@storybook/addon-a11y": "10.1.11",
"@storybook/addon-docs": "10.1.11",
"@storybook/icons": "2.0.1",
"@storybook/react-vite": "10.1.11",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "14.3.0",
"@testing-library/user-event": "14.4.3",
Expand All @@ -61,6 +60,7 @@
"@types/semver": "7.3.8",
"@types/sprintf-js": "1.1.2",
"@types/uuid": "8.3.1",
"@vitejs/plugin-react": "5.1.2",
"@wordpress/build": "file:./packages/wp-build",
"ajv": "8.17.1",
"babel-jest": "29.7.0",
Expand Down Expand Up @@ -121,15 +121,15 @@
"simple-git": "3.24.0",
"snapshot-diff": "0.10.0",
"sprintf-js": "1.1.1",
"storybook": "^9.1.17",
"storybook-addon-source-link": "1.0.1",
"storybook-addon-tag-badges": "2.0.4",
"storybook": "^10.1.11",
"storybook-addon-source-link": "2.0.1",
"storybook-addon-tag-badges": "3.0.4",
"style-loader": "3.2.1",
"stylelint-plugin-logical-css": "^1.2.3",
"typescript": "5.9.3",
"uuid": "9.0.1",
"wait-on": "8.0.1",
"webpack": "5.97.0"
Comment thread
manzoorwanijk marked this conversation as resolved.
"vite": "7.3.0",
"wait-on": "8.0.1"
},
"overrides": {
"jsdom": "26.1.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { fn } from 'storybook/test';
import BlockPatternsList from '../';
import { ExperimentalBlockEditorProvider } from '../../provider';
import patterns from './fixtures';
import blockLibraryStyles from '!!raw-loader!../../../../../block-library/build-style/style.css';
import blockLibraryStyles from '../../../../../block-library/build-style/style.css?raw';

const blockEditorSettings = {
styles: [ { css: blockLibraryStyles } ],
Expand Down
4 changes: 2 additions & 2 deletions packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,13 @@
},
"devDependencies": {
"@ariakit/test": "^0.4.7",
"@storybook/addon-docs": "^9.1.17",
"@storybook/addon-docs": "^10.1.11",
"@testing-library/jest-dom": "^6.6.3",
"@types/jest": "^29.5.14",
"@wordpress/jest-console": "file:../jest-console",
"csstype": "^3.2.3",
"snapshot-diff": "^0.10.0",
"storybook": "^9.1.17",
"storybook": "^10.1.11",
"timezone-mock": "^1.3.6"
},
"peerDependencies": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* External dependencies
*/
import type { Meta, StoryFn } from '@storybook/react-webpack5';
import type { Meta, StoryFn } from '@storybook/react-vite';
import { fn } from 'storybook/test';

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* External dependencies
*/
import type { Meta, StoryFn } from '@storybook/react-webpack5';
import type { Meta, StoryFn } from '@storybook/react-vite';
import { fn } from 'storybook/test';

/**
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/animate/stories/index.story.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* External dependencies
*/
import type { Meta, StoryFn } from '@storybook/react-webpack5';
import type { Meta, StoryFn } from '@storybook/react-vite';

/**
* Internal dependencies
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/badge/stories/index.story.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* External dependencies
*/
import type { Meta, StoryObj } from '@storybook/react-webpack5';
import type { Meta, StoryObj } from '@storybook/react-vite';

/**
* Internal dependencies
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* External dependencies
*/
import type { Meta, StoryFn } from '@storybook/react-webpack5';
import type { Meta, StoryFn } from '@storybook/react-vite';

/**
* Internal dependencies
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* External dependencies
*/
import type { Meta, StoryFn } from '@storybook/react-webpack5';
import type { Meta, StoryFn } from '@storybook/react-vite';
import type { ComponentProps } from 'react';

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* External dependencies
*/
import type { Meta, StoryFn } from '@storybook/react-webpack5';
import type { Meta, StoryFn } from '@storybook/react-vite';
import type { ComponentProps } from 'react';

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* External dependencies
*/
import type { Meta, StoryFn } from '@storybook/react-webpack5';
import type { Meta, StoryFn } from '@storybook/react-vite';
import { fn } from 'storybook/test';

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* External dependencies
*/
import type { Meta, StoryObj } from '@storybook/react-webpack5';
import type { Meta, StoryObj } from '@storybook/react-vite';

/**
* Internal dependencies
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* External dependencies
*/
import type { StoryFn, Meta } from '@storybook/react-webpack5';
import type { StoryFn, Meta } from '@storybook/react-vite';

/**
* WordPress dependencies
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/button/stories/index.story.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* External dependencies
*/
import type { Meta, StoryFn } from '@storybook/react-webpack5';
import type { Meta, StoryFn } from '@storybook/react-vite';
import type { ReactNode } from 'react';

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import {
ar,
sv,
} from 'date-fns/locale';
import type { Meta, StoryObj } from '@storybook/react-webpack5';
import type { Meta, StoryObj } from '@storybook/react-vite';

/**
* WordPress dependencies
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import {
ar,
sv,
} from 'date-fns/locale';
import type { Meta, StoryObj } from '@storybook/react-webpack5';
import type { Meta, StoryObj } from '@storybook/react-vite';
/**
* WordPress dependencies
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/card/stories/index.story.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* External dependencies
*/
import type { Meta, StoryObj } from '@storybook/react-webpack5';
import type { Meta, StoryObj } from '@storybook/react-vite';

/**
* Internal dependencies
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* External dependencies
*/
import type { Meta, StoryFn } from '@storybook/react-webpack5';
import type { Meta, StoryFn } from '@storybook/react-vite';

/**
* WordPress dependencies
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* External dependencies
*/
import type { Meta, StoryFn } from '@storybook/react-webpack5';
import type { Meta, StoryFn } from '@storybook/react-vite';
/**
* WordPress dependencies
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* External dependencies
*/
import type { Meta, StoryFn } from '@storybook/react-webpack5';
import type { Meta, StoryFn } from '@storybook/react-vite';

/**
* Internal dependencies
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* External dependencies
*/
import type { Meta, StoryFn } from '@storybook/react-webpack5';
import type { Meta, StoryFn } from '@storybook/react-vite';

/**
* WordPress dependencies
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* External dependencies
*/
import type { Meta, StoryObj } from '@storybook/react-webpack5';
import type { Meta, StoryObj } from '@storybook/react-vite';
import { fn } from 'storybook/test';

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* External dependencies
*/
import type { Meta, StoryFn } from '@storybook/react-webpack5';
import type { Meta, StoryFn } from '@storybook/react-vite';
import { fn } from 'storybook/test';

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* External dependencies
*/
import type { Meta, StoryFn } from '@storybook/react-webpack5';
import type { Meta, StoryFn } from '@storybook/react-vite';

/**
* Internal dependencies
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* External dependencies
*/
import type { StoryContext } from '@storybook/react';
import type { StoryContext } from '@storybook/react-vite';

/**
* Internal dependencies
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* External dependencies
*/
import type { Meta, StoryObj } from '@storybook/react-webpack5';
import type { Meta, StoryObj } from '@storybook/react-vite';

/**
* WordPress dependencies
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* External dependencies
*/
import type { Meta, StoryFn } from '@storybook/react-webpack5';
import type { Meta, StoryFn } from '@storybook/react-vite';
import { fn } from 'storybook/test';

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* External dependencies
*/
import type { Meta, StoryFn } from '@storybook/react-webpack5';
import type { Meta, StoryFn } from '@storybook/react-vite';
import { fn } from 'storybook/test';
/**
* WordPress dependencies
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* External dependencies
*/
import type { Meta, StoryFn } from '@storybook/react-webpack5';
import type { Meta, StoryFn } from '@storybook/react-vite';
import { fn } from 'storybook/test';

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* External dependencies
*/
import type { Meta, StoryFn } from '@storybook/react-webpack5';
import type { Meta, StoryFn } from '@storybook/react-vite';
import { fn } from 'storybook/test';

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* External dependencies
*/
import type { Meta, StoryFn } from '@storybook/react-webpack5';
import type { Meta, StoryFn } from '@storybook/react-vite';

/**
* WordPress dependencies
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/date-time/stories/date.story.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* External dependencies
*/
import type { Meta, StoryFn } from '@storybook/react-webpack5';
import type { Meta, StoryFn } from '@storybook/react-vite';

/**
* WordPress dependencies
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/date-time/stories/time.story.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* External dependencies
*/
import type { Meta, StoryFn } from '@storybook/react-webpack5';
import type { Meta, StoryFn } from '@storybook/react-vite';

/**
* WordPress dependencies
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/disabled/stories/index.story.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* External dependencies
*/
import type { Meta, StoryFn } from '@storybook/react-webpack5';
import type { Meta, StoryFn } from '@storybook/react-vite';

/**
* WordPress dependencies
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/divider/stories/index.story.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* External dependencies
*/
import type { Meta, StoryFn } from '@storybook/react-webpack5';
import type { Meta, StoryFn } from '@storybook/react-vite';

/**
* Internal dependencies
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* External dependencies
*/
import type { Meta, StoryFn } from '@storybook/react-webpack5';
import type { Meta, StoryFn } from '@storybook/react-vite';
import type { DragEvent } from 'react';
import { fn } from 'storybook/test';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* External dependencies
*/
import type { Meta, StoryFn } from '@storybook/react-webpack5';
import type { Meta, StoryFn } from '@storybook/react-vite';

/**
* WordPress dependencies
Expand Down
Loading
Loading