Skip to content

Commit

Permalink
Update to RAC 1.2.0 (#6014)
Browse files Browse the repository at this point in the history
  • Loading branch information
sneridagh committed May 13, 2024
1 parent 09239bf commit 5b915b6
Show file tree
Hide file tree
Showing 9 changed files with 1,465 additions and 13 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"preinstall": "npx only-allow pnpm",
"postinstall": "make setup",
"watch": "pnpm --filter @plone/registry --filter @plone/client --filter @plone/components --filter @plone/providers watch",
"build:deps": "pnpm --parallel --filter @plone/registry build",
"build:all": "pnpm --parallel --filter @plone/registry --filter @plone/client --filter @plone/components --filter @plone/providers build",
"build:all:force": "pnpm --parallel --filter @plone/registry --filter @plone/client --filter @plone/components --filter @plone/providers build:force",
"build:deps": "pnpm --filter @plone/registry build",
"build:all": "pnpm --filter @plone/registry --filter @plone/client --filter @plone/components --filter @plone/providers build",
"build:all:force": "pnpm --filter @plone/registry --filter @plone/client --filter @plone/components --filter @plone/providers build:force",
"build:registry": "pnpm --filter @plone/registry run build",
"build:components": "pnpm --filter @plone/components run build",
"build": "pnpm --filter @plone/volto build",
Expand Down
2 changes: 1 addition & 1 deletion packages/components/.storybook/main.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { StorybookConfig } from '@storybook/react-vite';
const { mergeConfig } = require('vite');
import { mergeConfig } from 'vite';

const config: StorybookConfig = {
// For some reason the property does not allow negation
Expand Down
1 change: 1 addition & 0 deletions packages/components/news/6014.internal
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update to RAC 1.2.0 @sneridagh
2 changes: 1 addition & 1 deletion packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
"@react-spectrum/utils": "^3.11.1",
"@storybook/test": "^8.0.4",
"clsx": "^2.0.0",
"react-aria-components": "^1.1.1"
"react-aria-components": "^1.2.0"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
Expand Down
1 change: 1 addition & 0 deletions packages/types/news/6014.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed some type definitions @sneridagh
1 change: 1 addition & 0 deletions packages/types/src/blocks/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import type { Location, History } from 'history';

export interface BlocksFormData {
'@type': AvailableBlocks;
variation?: string;
}

export interface BlockViewProps {
Expand Down
1 change: 1 addition & 0 deletions packages/volto/news/6014.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix some type definitions in JSDocs @sneridagh
2 changes: 1 addition & 1 deletion packages/volto/src/helpers/Blocks/Blocks.js
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ export function emptyBlocksForm() {
* (could be empty, if not type given) and the number of blocks
* @function blocksFormGenerator
* @param {number} number How many blocks to generate of the type (could be "empty", if no type provided)
* @param {number} type The type of the blocks
* @param {string} type The type of the blocks
* @return {Object} blocks/blocks_layout pair filled with the generated blocks
*/
export function blocksFormGenerator(number, type) {
Expand Down

0 comments on commit 5b915b6

Please sign in to comment.