Skip to content

feat(config): change the override prop to also override classes defined by the config#1575

Merged
mlmoravek merged 2 commits intodevelopfrom
feat/config/override
Mar 6, 2026
Merged

feat(config): change the override prop to also override classes defined by the config#1575
mlmoravek merged 2 commits intodevelopfrom
feat/config/override

Conversation

@mlmoravek
Copy link
Member

Proposed Changes

  • The class override behavior changed so that a local override passed to a component instance will override previously defined classes by the configuration, not just the default class.
  • The calculation of classes was also improved by preventing unnecessary calculation when an override definition is given.

BREAKING CHANGE: The override prop passed to a component instance will now override any previously defined classes in the config; not only the default class.

@mlmoravek mlmoravek added enhancement Improvements to existing features and functionality BREAKING CHANGE Breaking changes labels Mar 5, 2026
@netlify
Copy link

netlify bot commented Mar 5, 2026

Deploy Preview for oruga-documentation-preview ready!

Name Link
🔨 Latest commit ffb3632
🔍 Latest deploy log https://app.netlify.com/projects/oruga-documentation-preview/deploys/69aaf4e0a5fc180008c374d1
😎 Deploy Preview https://deploy-preview-1575--oruga-documentation-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@mlmoravek mlmoravek changed the title feat(config): change component override to override also config if available feat(config): change the override prop to also override defined classes by the config Mar 5, 2026
@mlmoravek mlmoravek changed the title feat(config): change the override prop to also override defined classes by the config feat(config): change the override prop to also override classes defined by the config Mar 5, 2026
@mlmoravek mlmoravek merged commit 604b5c2 into develop Mar 6, 2026
12 checks passed
@mlmoravek mlmoravek deleted the feat/config/override branch March 6, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BREAKING CHANGE Breaking changes enhancement Improvements to existing features and functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant