Commit c0c5a49
feat(ui): expose --bim-label--us, --bim-input--maxw, drop slider icon dup
* Label: user-select reads from a new --bim-label--us token (defaults
to none, preserving prior behavior). Lets a host scope (e.g. a
properties table) opt its label cells into selectable text.
* Input: the :host(:not([vertical])[label]) .input { max-width:
fit-content; } rule now reads from --bim-input--maxw. Defaults
unchanged; overriding to none lets a wrapping component (e.g. a
full-width slider in a panel) stretch the input area instead of
shrinking it to its current value's text width.
* NumberInput: in slider mode, the inner pref-label only renders
when this.pref is set. Previously it also rendered when only icon
was set, which duplicated the icon (the outer bim-input wrapper
already shows it next to the label). Net effect: passing only
icon now shows it once, in the label area.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent b539f8a commit c0c5a49
3 files changed
Lines changed: 4 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
445 | 445 | | |
446 | 446 | | |
447 | 447 | | |
448 | | - | |
449 | | - | |
450 | | - | |
451 | | - | |
| 448 | + | |
| 449 | + | |
452 | 450 | | |
453 | 451 | | |
454 | 452 | | |
| |||
0 commit comments