Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: WordPress/gutenberg
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1ba1c00ccfbee9d8f2cafe65186dfb16335aad6d
Choose a base ref
..
head repository: WordPress/gutenberg
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: b4e20f12884fb1013ac5af16259a4a915ec68b7d
Choose a head ref
Showing with 2,217 additions and 987 deletions.
  1. +2 −1 .eslintrc.js
  2. +533 −142 package-lock.json
  3. +1 −0 package.json
  4. +2 −2 packages/block-editor/src/components/block-list/block-invalid-warning.js
  5. +5 −2 packages/block-editor/src/components/block-tools/zoom-out-mode-inserters.js
  6. +3 −3 packages/block-editor/src/components/global-styles/color-panel.js
  7. +2 −2 packages/block-editor/src/components/global-styles/color-panel.native.js
  8. +2 −2 packages/block-editor/src/components/inner-blocks/index.js
  9. +3 −27 packages/block-editor/src/components/responsive-block-control/README.md
  10. +1 −0 packages/block-editor/src/components/spacing-sizes-control/style.scss
  11. +4 −4 packages/block-editor/src/components/use-block-drop-zone/index.js
  12. +2 −9 packages/block-editor/src/components/warning/content.scss
  13. +9 −8 packages/block-editor/src/hooks/block-bindings.js
  14. +1 −1 packages/block-editor/src/hooks/block-bindings.scss
  15. +2 −0 packages/block-editor/src/private-apis.js
  16. +4 −6 packages/block-editor/src/store/actions.js
  17. +1 −0 packages/block-editor/src/store/private-keys.js
  18. +5 −0 packages/block-editor/src/store/private-selectors.js
  19. +6 −5 packages/block-editor/src/store/selectors.js
  20. +6 −4 packages/block-library/src/block/edit.js
  21. +1 −0 packages/block-library/src/categories/block.json
  22. +13 −2 packages/block-library/src/categories/index.php
  23. +13 −2 packages/block-library/src/comment-edit-link/block.json
  24. +4 −0 packages/block-library/src/comment-edit-link/style.scss
  25. +2 −2 packages/block-library/src/missing/edit.js
  26. +1 −1 packages/block-library/src/site-logo/edit.js
  27. +1 −0 packages/block-library/src/style.scss
  28. +3 −0 packages/components/CHANGELOG.md
  29. +1 −0 packages/components/src/date-time/date/styles.ts
  30. +4 −0 packages/components/src/dimension-control/README.md
  31. +7 −1 packages/components/src/dimension-control/index.tsx
  32. +7 −2 packages/components/src/dimension-control/stories/index.story.tsx
  33. +1 −0 packages/components/src/dimension-control/test/index.test.js
  34. +2 −0 packages/components/src/private-apis.ts
  35. +44 −16 packages/dataviews/src/components/dataviews-filters/search-widget.tsx
  36. +113 −138 packages/dataviews/src/components/dataviews-view-config/index.tsx
  37. +0 −261 packages/dataviews/src/components/dataviews/stories/fixtures.js
  38. +690 −0 packages/dataviews/src/components/dataviews/stories/fixtures.tsx
  39. +0 −111 packages/dataviews/src/components/dataviews/stories/index.story.js
  40. +164 −0 packages/dataviews/src/components/dataviews/stories/index.story.tsx
  41. +63 −2 packages/dataviews/src/dataviews-layouts/index.ts
  42. +199 −127 packages/dataviews/src/dataviews-layouts/list/index.tsx
  43. +55 −50 packages/dataviews/src/dataviews-layouts/table/column-header-menu.tsx
  44. +3 −2 packages/dataviews/src/dataviews-layouts/table/index.tsx
  45. +2 −0 packages/dataviews/src/normalize-fields.ts
  46. +2 −0 packages/dataviews/src/types.ts
  47. +13 −0 packages/e2e-tests/plugins/plugins-api.php
  48. +14 −0 packages/e2e-tests/plugins/plugins-api/preview-menu.js
  49. +12 −18 packages/edit-site/src/components/welcome-guide/template.js
  50. +37 −0 packages/editor/README.md
  51. +6 −0 packages/editor/src/bindings/post-meta.js
  52. +1 −0 packages/editor/src/components/index.js
  53. +4 −3 packages/editor/src/components/inserter-sidebar/index.js
  54. +52 −0 packages/editor/src/components/plugin-preview-menu-item/index.js
  55. +3 −2 packages/editor/src/components/post-status/index.js
  56. +15 −9 packages/editor/src/components/post-template/block-theme.js
  57. +6 −0 packages/editor/src/components/preview-dropdown/index.js
  58. +4 −5 packages/editor/src/components/provider/use-block-editor-settings.js
  59. +2 −2 packages/editor/src/dataviews/actions/view-post.tsx
  60. +2 −0 packages/icons/src/index.js
  61. +12 −0 packages/icons/src/library/thumbs-down.js
  62. +12 −0 packages/icons/src/library/thumbs-up.js
  63. +4 −0 packages/scripts/CHANGELOG.md
  64. +1 −1 packages/scripts/package.json
  65. +1 −0 storybook/manager-head.html
  66. +21 −0 test/e2e/specs/editor/plugins/plugins-api.spec.js
  67. +1 −3 test/e2e/specs/editor/various/change-detection.spec.js
  68. +1 −1 test/e2e/specs/editor/various/invalid-block.spec.js
  69. +2 −4 test/e2e/specs/editor/various/post-visibility.spec.js
  70. +1 −3 test/e2e/specs/editor/various/preview.spec.js
  71. +1 −1 test/e2e/specs/editor/various/switch-to-draft.spec.js
3 changes: 2 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -330,6 +330,7 @@ module.exports = {
'SelectControl',
'TextControl',
'ToggleGroupControl',
'UnitControl',
].map( ( componentName ) => ( {
// Falsy `__next40pxDefaultSize` without a non-default `size` prop.
selector: `JSXOpeningElement[name.name="${ componentName }"]:not(:has(JSXAttribute[name.name="__next40pxDefaultSize"][value.expression.value!=false])):not(:has(JSXAttribute[name.name="size"][value.value!="default"]))`,
@@ -345,7 +346,7 @@ module.exports = {
'FormFileUpload should have the `__next40pxDefaultSize` prop to opt-in to the new default size.',
},
// Temporary rules until all existing components have the `__next40pxDefaultSize` prop.
...[ 'Button', 'UnitControl' ].map( ( componentName ) => ( {
...[ 'Button' ].map( ( componentName ) => ( {
// Not strict. Allows pre-existing __next40pxDefaultSize={ false } usage until they are all manually updated.
selector: `JSXOpeningElement[name.name="${ componentName }"]:not(:has(JSXAttribute[name.name="__next40pxDefaultSize"])):not(:has(JSXAttribute[name.name="size"]))`,
message:
Loading