fix(ui): enforce canonical inspector selects
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nodedc/ui-core",
|
||||
"version": "0.6.0",
|
||||
"version": "0.7.0",
|
||||
"type": "module",
|
||||
"files": [
|
||||
"dist",
|
||||
|
||||
@@ -1810,6 +1810,14 @@ textarea.nodedc-field__control {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.nodedc-select[data-disabled="true"] {
|
||||
opacity: 0.42;
|
||||
}
|
||||
|
||||
.nodedc-select[data-disabled="true"] .nodedc-select__toggle {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.nodedc-select__control {
|
||||
display: grid;
|
||||
width: 100%;
|
||||
@@ -2634,6 +2642,14 @@ textarea.nodedc-field__control {
|
||||
gap: var(--nodedc-space-2);
|
||||
}
|
||||
|
||||
/* Inspector selection controls are always stacked, including legacy consumers
|
||||
that still compose a raw Select inside the default inline ControlRow. */
|
||||
.nodedc-inspector .nodedc-control-row:has(.nodedc-select-anchor) {
|
||||
grid-template-columns: 1fr;
|
||||
align-items: stretch;
|
||||
gap: var(--nodedc-space-2);
|
||||
}
|
||||
|
||||
.nodedc-control-row__label {
|
||||
color: var(--nodedc-text-secondary);
|
||||
font-size: var(--nodedc-font-size-sm);
|
||||
|
||||
Reference in New Issue
Block a user