Skip to content

Commit

Permalink
fix: number input styling when disabled (#4668)
Browse files Browse the repository at this point in the history
  • Loading branch information
lisalupi authored Jan 16, 2025
1 parent 4a90434 commit 5509994
Show file tree
Hide file tree
Showing 8 changed files with 133 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/thirty-glasses-rush.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ultraviolet/ui": patch
---

`<NumberInputV2 />`: border color when disabled
Original file line number Diff line number Diff line change
Expand Up @@ -264,11 +264,13 @@ exports[`NumberInputFieldV2 > should render correctly 1`] = `
.emotion-13:-moz-read-only {
color: #3f4250;
background: #f9f9fa;
border-block: 1px solid #d9dadd;
}
.emotion-13:read-only {
color: #3f4250;
background: #f9f9fa;
border-block: 1px solid #d9dadd;
}
.emotion-13:-moz-read-only~.e1b9qdjy2 {
Expand All @@ -283,6 +285,7 @@ exports[`NumberInputFieldV2 > should render correctly 1`] = `
color: #b5b7bd;
background: #f3f3f4;
cursor: not-allowed;
border-block: 1px solid #e9eaeb;
}
.emotion-13:disabled~.e1b9qdjy2 {
Expand Down Expand Up @@ -641,11 +644,13 @@ exports[`NumberInputFieldV2 > should render correctly disabled 1`] = `
.emotion-13:-moz-read-only {
color: #3f4250;
background: #f9f9fa;
border-block: 1px solid #d9dadd;
}
.emotion-13:read-only {
color: #3f4250;
background: #f9f9fa;
border-block: 1px solid #d9dadd;
}
.emotion-13:-moz-read-only~.e1b9qdjy2 {
Expand All @@ -660,6 +665,7 @@ exports[`NumberInputFieldV2 > should render correctly disabled 1`] = `
color: #b5b7bd;
background: #f3f3f4;
cursor: not-allowed;
border-block: 1px solid #e9eaeb;
}
.emotion-13:disabled~.e1b9qdjy2 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2214,11 +2214,13 @@ exports[`SliderField > should trigger events correctly 1`] = `
.emotion-19:-moz-read-only {
color: #3f4250;
background: #f9f9fa;
border-block: 1px solid #d9dadd;
}
.emotion-19:read-only {
color: #3f4250;
background: #f9f9fa;
border-block: 1px solid #d9dadd;
}
.emotion-19:-moz-read-only~.e1b9qdjy2 {
Expand All @@ -2233,6 +2235,7 @@ exports[`SliderField > should trigger events correctly 1`] = `
color: #b5b7bd;
background: #f3f3f4;
cursor: not-allowed;
border-block: 1px solid #e9eaeb;
}
.emotion-19:disabled~.e1b9qdjy2 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1019,11 +1019,13 @@ exports[`EstimateCost - NumberInput Item > render basic props 1`] = `
.emotion-112:-moz-read-only {
color: #3f4250;
background: #f9f9fa;
border-block: 1px solid #d9dadd;
}
.emotion-112:read-only {
color: #3f4250;
background: #f9f9fa;
border-block: 1px solid #d9dadd;
}
.emotion-112:-moz-read-only~.e1b9qdjy2 {
Expand All @@ -1038,6 +1040,7 @@ exports[`EstimateCost - NumberInput Item > render basic props 1`] = `
color: #b5b7bd;
background: #f3f3f4;
cursor: not-allowed;
border-block: 1px solid #e9eaeb;
}
.emotion-112:disabled~.e1b9qdjy2 {
Expand Down Expand Up @@ -2559,11 +2562,13 @@ exports[`EstimateCost - NumberInput Item > render basic with overlay 1`] = `
.emotion-112:-moz-read-only {
color: #3f4250;
background: #f9f9fa;
border-block: 1px solid #d9dadd;
}
.emotion-112:read-only {
color: #3f4250;
background: #f9f9fa;
border-block: 1px solid #d9dadd;
}
.emotion-112:-moz-read-only~.e1b9qdjy2 {
Expand All @@ -2578,6 +2583,7 @@ exports[`EstimateCost - NumberInput Item > render basic with overlay 1`] = `
color: #b5b7bd;
background: #f3f3f4;
cursor: not-allowed;
border-block: 1px solid #e9eaeb;
}
.emotion-112:disabled~.e1b9qdjy2 {
Expand Down Expand Up @@ -4099,11 +4105,13 @@ exports[`EstimateCost - NumberInput Item > render with getAmountValue 1`] = `
.emotion-112:-moz-read-only {
color: #3f4250;
background: #f9f9fa;
border-block: 1px solid #d9dadd;
}
.emotion-112:read-only {
color: #3f4250;
background: #f9f9fa;
border-block: 1px solid #d9dadd;
}
.emotion-112:-moz-read-only~.e1b9qdjy2 {
Expand All @@ -4118,6 +4126,7 @@ exports[`EstimateCost - NumberInput Item > render with getAmountValue 1`] = `
color: #b5b7bd;
background: #f3f3f4;
cursor: not-allowed;
border-block: 1px solid #e9eaeb;
}
.emotion-112:disabled~.e1b9qdjy2 {
Expand Down Expand Up @@ -5653,11 +5662,13 @@ exports[`EstimateCost - NumberInput Item > render with values 1`] = `
.emotion-115:-moz-read-only {
color: #3f4250;
background: #f9f9fa;
border-block: 1px solid #d9dadd;
}
.emotion-115:read-only {
color: #3f4250;
background: #f9f9fa;
border-block: 1px solid #d9dadd;
}
.emotion-115:-moz-read-only~.e1b9qdjy2 {
Expand All @@ -5672,6 +5683,7 @@ exports[`EstimateCost - NumberInput Item > render with values 1`] = `
color: #b5b7bd;
background: #f3f3f4;
cursor: not-allowed;
border-block: 1px solid #e9eaeb;
}
.emotion-115:disabled~.e1b9qdjy2 {
Expand Down
Loading

0 comments on commit 5509994

Please sign in to comment.