diff --git a/packages/dm-core-plugins/blueprints/stack/StackPluginConfig.json b/packages/dm-core-plugins/blueprints/stack/StackPluginConfig.json index ab86da451..ba4d6571e 100644 --- a/packages/dm-core-plugins/blueprints/stack/StackPluginConfig.json +++ b/packages/dm-core-plugins/blueprints/stack/StackPluginConfig.json @@ -24,7 +24,7 @@ { "name": "horizontalPlacement", "type": "CORE:BlueprintAttribute", - "description": "left, center, right or spaceItems", + "description": "left, center, right or spaceEvenly", "attributeType": "string", "optional": true, "default": "left" diff --git a/packages/dm-core-plugins/src/stack/StackPlugin.tsx b/packages/dm-core-plugins/src/stack/StackPlugin.tsx index 6aee14d64..b1a75fe7f 100644 --- a/packages/dm-core-plugins/src/stack/StackPlugin.tsx +++ b/packages/dm-core-plugins/src/stack/StackPlugin.tsx @@ -22,7 +22,7 @@ export const StackPlugin = (props: IUIPlugin) => { right: 'flex-end', top: 'flex-start', bottom: 'flex-end', - spaceItems: 'space-between', + spaceEvenly: 'space-between', } const stackProps: StackProps = { diff --git a/packages/dm-core-plugins/src/stack/types.ts b/packages/dm-core-plugins/src/stack/types.ts index 6b46cb94d..c941ee32e 100644 --- a/packages/dm-core-plugins/src/stack/types.ts +++ b/packages/dm-core-plugins/src/stack/types.ts @@ -3,7 +3,7 @@ import { TViewConfig } from '@development-framework/dm-core' export type StackPluginConfig = { items: TViewConfig[] direction: 'horizontal' | 'vertical' - horizontalPlacement: 'left' | 'center' | 'right' | 'spaceItems' + horizontalPlacement: 'left' | 'center' | 'right' | 'spaceEvenly' verticalPlacement: 'top' | 'center' | 'bottom' spacing: number maxWidth: string