fix(ui): enforce canonical inspector selects

This commit is contained in:
Codex
2026-07-16 18:56:20 +03:00
parent 751d9963f1
commit a1c4ecaa93
19 changed files with 258 additions and 135 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@nodedc/ui-core",
"version": "0.6.0",
"version": "0.7.0",
"type": "module",
"files": [
"dist",
+16
View File
@@ -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);