Skip to content

Conversation

@MohamedAbd0
Copy link
Contributor

Description

Adds support for individual border sides in StacBorder, allowing users to specify different BorderSide properties for top, bottom, left, and right borders instead of being limited to Border.all().

  • Enhanced StacBorder class with individual border side properties:
    • top: StacBorderSide?
    • right: StacBorderSide?
    • bottom: StacBorderSide?
    • left: StacBorderSide?
  • Backward compatibility maintained with existing Border.all() properties
  • Smart parsing logic that detects when individual sides are used vs legacy properties
  • Added comprehensive border documentation (website/docs/styles/border.md)
  • Updated existing border side documentation with cross-references

Related Issues

Closes #290

Type of Change

  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Code refactor
  • Build configuration change
  • Documentation
  • Chore

@CLAassistant
Copy link

CLAassistant commented Jun 14, 2025

CLA assistant check
All committers have signed the CLA.

@divyanshub024 divyanshub024 added this to the v1.0 milestone Jun 15, 2025
@MohamedAbd0
Copy link
Contributor Author

Hi @divyanshub024 , Notes fixed

Copy link
Member

@divyanshub024 divyanshub024 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As always, Thanks for such great work 💯 🎉

@divyanshub024 divyanshub024 merged commit 7426f8b into StacDev:dev Jun 16, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Add support for border side in BoxDecoration

3 participants