Releases: BuilderIO/builder
@builder.io/sdk@6.0.6
Patch Changes
- 6d4e36b: fix: updated defaultStyles example
@builder.io/react@8.0.13
@builder.io/sdk-qwik@0.18.14
Patch Changes
- f59d992: Feat: support of Variant Containers and block level personalization
@builder.io/sdk-vue@4.0.9
Patch Changes
-
8d5274f: Feat: Add support for passing
BlocksWrapperProps
to<Blocks />
component. This allows overriding global props set via<Content />
with specific props for individual Blocks instances. Note that local props completely replace global props unless manually merged.Example usage:
<!-- Set global props, applies to all <Blocks /> --> <Content :blocksWrapperProps="{ style: { padding: '10px' } }" /> <!-- Override global props --> <Blocks :BlocksWrapperProps="{ style: { backgroundColor: 'red' } }" /> <!-- Merge global and local props --> <Blocks :BlocksWrapperProps="{ ...builderContext.BlocksWrapperProps, style: { backgroundColor: 'red' }, // applies both bg color and padding }" />
-
8d5274f: Feat: support of Variant Containers and block level personalization
@builder.io/sdk-svelte@4.0.9
Patch Changes
-
8d5274f: Feat: Add support for passing
BlocksWrapperProps
to<Blocks />
component. This allows overriding global props set via<Content />
with specific props for individual Blocks instances. Note that local props completely replace global props unless manually merged.Example usage:
// Set global props, applies to all <Blocks /> <Content blocksWrapperProps={{ style: { padding: 10 } }} /> // Override global props <Blocks BlocksWrapperProps={{ style: { backgroundColor: 'red' } }} /> // Merge global and local props <Blocks BlocksWrapperProps={{ ...builderContext.BlocksWrapperProps, style: { backgroundColor: 'red' } // applies both bg color and padding }} />
-
8d5274f: Feat: support of Variant Containers and block level personalization
@builder.io/sdk-solid@4.0.9
Patch Changes
-
8d5274f: Feat: Add support for passing
BlocksWrapperProps
to<Blocks />
component. This allows overriding global props set via<Content />
with specific props for individual Blocks instances. Note that local props completely replace global props unless manually merged.Example usage:
// Set global props, applies to all <Blocks /> <Content blocksWrapperProps={{ style: { padding: 10 } }} /> // Override global props <Blocks BlocksWrapperProps={{ style: { backgroundColor: 'red' } }} /> // Merge global and local props <Blocks BlocksWrapperProps={{ ...builderContext.BlocksWrapperProps, style: { backgroundColor: 'red' } // applies both bg color and padding }} />
@builder.io/sdk-react@4.0.9
Patch Changes
-
8d5274f: Feat: Add support for passing
BlocksWrapperProps
to<Blocks />
component. This allows overriding global props set via<Content />
with specific props for individual Blocks instances. Note that local props completely replace global props unless manually merged.Example usage:
// Set global props, applies to all <Blocks /> <Content blocksWrapperProps={{ style: { padding: 10 } }} /> // Override global props <Blocks BlocksWrapperProps={{ style: { backgroundColor: 'red' } }} /> // Merge global and local props <Blocks BlocksWrapperProps={{ ...builderContext.BlocksWrapperProps, style: { backgroundColor: 'red' } // applies both bg color and padding }} />
-
8d5274f: Refactor: variant containers approach, now uses global level scripts and avoids re-initialization
@builder.io/sdk-react-nextjs@0.18.13
Patch Changes
-
8d5274f: Feat: Add support for passing
BlocksWrapperProps
to<Blocks />
component. This allows overriding global props set via<Content />
with specific props for individual Blocks instances. Note that local props completely replace global props unless manually merged.Example usage:
// Set global props, applies to all <Blocks /> <Content blocksWrapperProps={{ style: { padding: 10 } }} /> // Override global props <Blocks BlocksWrapperProps={{ style: { backgroundColor: 'red' } }} /> // Merge global and local props <Blocks BlocksWrapperProps={{ ...builderContext.BlocksWrapperProps, style: { backgroundColor: 'red' } // applies both bg color and padding }} />
@builder.io/sdk-react-native@4.0.9
Patch Changes
-
8d5274f: Feat: Add support for passing
BlocksWrapperProps
to<Blocks />
component. This allows overriding global props set via<Content />
with specific props for individual Blocks instances. Note that local props completely replace global props unless manually merged.Example usage:
// Set global props, applies to all <Blocks /> <Content blocksWrapperProps={{ style: { padding: 10 } }} /> // Override global props <Blocks BlocksWrapperProps={{ style: { backgroundColor: 'red' } }} /> // Merge global and local props <Blocks BlocksWrapperProps={{ ...builderContext.BlocksWrapperProps, style: { backgroundColor: 'red' } // applies both bg color and padding }} />
@builder.io/sdk-qwik@0.18.13
Patch Changes
-
8d5274f: Feat: Add support for passing
BlocksWrapperProps
to<Blocks />
component. This allows overriding global props set via<Content />
with specific props for individual Blocks instances. Note that local props completely replace global props unless manually merged.Example usage:
// Set global props, applies to all <Blocks /> <Content blocksWrapperProps={{ style: { padding: 10 } }} /> // Override global props <Blocks BlocksWrapperProps={{ style: { backgroundColor: 'red' } }} /> // Merge global and local props <Blocks BlocksWrapperProps={{ ...builderContext.BlocksWrapperProps, style: { backgroundColor: 'red' } // applies both bg color and padding }} />