MudExpansionPanels: Rename DisableBorders to Outlined#8593
MudExpansionPanels: Rename DisableBorders to Outlined#8593henon merged 1 commit intoMudBlazor:devfrom
DisableBorders to Outlined#8593Conversation
|
FYI @BieleckiLtd |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #8593 +/- ##
==========================================
- Coverage 89.78% 89.78% -0.01%
==========================================
Files 411 411
Lines 11821 11840 +19
Branches 2362 2363 +1
==========================================
+ Hits 10613 10630 +17
- Misses 681 682 +1
- Partials 527 528 +1 ☔ View full report in Codecov by Sentry. |
|
We already have |
|
I didn't want |
It's a border so it shouldn't be referred to as an outline: MudBlazor/src/MudBlazor/Styles/components/_expansionpanel.scss Lines 29 to 31 in f70bb9e
|
|
The .mud-paper-outlined {
border: 1px solid var(--mud-palette-lines-default);
}I think we should go with |
There's a real difference between border and outline in CSS so this is all misleading |
|
I get your point, and for you as a CSS pro it may make a big difference. But the user of the Card or ExpansionPanel doesn't care about such subtle CSS differences? |
CSS pro is generous 😄 Realistically it'll be fine either way, but I feel like if you're already making breaking changes, why not be accurate? It's a subtle thing but is firmly named wrong now. I think MUI uses borders and not outlines too |
|
@danielchalmers shall we do a team vote on discord or do you accept my arguments? |
I disagree on both counts. The name should be |
|
I don't want to simply dismiss @danielchalmers arguments just because I disagree. When we have a disagreement like this we usually resolve it by a simple majority vote in the team. Choice 1) Rename Choice 2) Rename @MudBlazor/contribution-team @MudBlazor/core-team Please post your opinions so we can resolve this deadlock. |
|
Choice 3) Rename |
|
Choice 1 sounds like the best option to me. |
|
I agree with @henon here. Sure there is also outlined in CSS but it was never meant to reflect the css property. I think renaming it to Outlined is the best option to streamline it with the rest of the library. |
|
Makes sense 👍 |

Description
We want to move from
DisableSomethingto justSomethingorEnableSomethingdepending on the property. This PR tackles onlyDisableBordersand renames it toOutlined. Of course default value and all invocations have been inverted.See #6131
How Has This Been Tested?
Types of changes
Checklist:
dev).