Skip to content

refactor(input:read-only): aligned technical implementation to Figma specification #4688

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@
- status
- link "Readonly"
- text: Label
- textbox "Label": (Default) False
- textbox "Label"
- status
- text: Label
- textbox "Label": "True"
- textbox "Label"
- status
- link "Validation"
- text: Label
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@
- status
- link "Readonly"
- text: Label
- textbox "Label": (Default) False
- textbox "Label"
- status
- text: Label
- textbox "Label": "True"
- textbox "Label"
- status
- link "Validation"
- text: Label
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@
- status
- link "Readonly"
- text: Label
- textbox "Label": (Default) False
- textbox "Label"
- status
- text: Label
- textbox "Label": "True"
- textbox "Label"
- status
- link "Validation"
- text: Label
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@
- status
- link "Readonly"
- text: Label
- textbox "Label": (Default) False
- textbox "Label"
- status
- text: Label
- textbox "Label": "True"
- textbox "Label"
- status
- link "Validation"
- text: Label
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@
- status
- link "Readonly"
- text: Label
- textbox "Label": (Default) False
- textbox "Label"
- status
- text: Label
- textbox "Label": "True"
- textbox "Label"
- status
- link "Validation"
- text: Label
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@
- status
- link "Readonly"
- text: Label
- textbox "Label": (Default) False
- textbox "Label"
- status
- text: Label
- textbox "Label": "True"
- textbox "Label"
- status
- link "Validation"
- text: Label
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ $input-valid-types:
&:is(input, textarea):not(:disabled):read-only {
background-color: var(
--db-textarea-read-only,
#{colors.$db-adaptive-bg-basic-level-1-default}
#{colors.$db-adaptive-bg-basic-transparent-full-default}
) !important;
}
}
Expand Down
2 changes: 0 additions & 2 deletions showcases/shared/input.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,15 +128,13 @@
"name": "(Default) False",
"props": {
"label": "Label",
"value": "(Default) False",
"readOnly": false
}
},
{
"name": "True",
"props": {
"label": "Label",
"value": "True",
"readOnly": true
}
}
Expand Down
Loading