Skip to content

Releases: BuilderIO/builder

@builder.io/sdk@6.0.6

17 Apr 08:17
5a06298
Compare
Choose a tag to compare

Patch Changes

  • 6d4e36b: fix: updated defaultStyles example

@builder.io/react@8.0.13

17 Apr 08:17
5a06298
Compare
Choose a tag to compare

Patch Changes

  • 6d4e36b: fix: updated defaultStyles example
  • Updated dependencies [6d4e36b]
    • @builder.io/sdk@6.0.6

@builder.io/sdk-qwik@0.18.14

16 Apr 10:11
9f8ae9a
Compare
Choose a tag to compare

Patch Changes

  • f59d992: Feat: support of Variant Containers and block level personalization

@builder.io/sdk-vue@4.0.9

04 Apr 16:00
1d2eea3
Compare
Choose a tag to compare

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

04 Apr 16:00
1d2eea3
Compare
Choose a tag to compare

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

04 Apr 16:00
1d2eea3
Compare
Choose a tag to compare

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

04 Apr 15:59
1d2eea3
Compare
Choose a tag to compare

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

04 Apr 15:59
1d2eea3
Compare
Choose a tag to compare

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

04 Apr 15:59
1d2eea3
Compare
Choose a tag to compare

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

04 Apr 15:59
1d2eea3
Compare
Choose a tag to compare

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
      }}
    />