v1.1.2: action button, responsive faders, label scaling
Third integration-feedback release from building the streaming studio.
- New `Button` — a click-to-fire command button in the panel style, the
non-latching sibling of PushButton. Implemented as PushButton's new
`mode="action"` (never latches, press-down + brief LED flash, `onClick`);
led="dot" (default) matches the corner-dot look, led={false} is plain.
- `fill` on LEDFader (parity with Fader) — faders stretch to fill their
container in resizable panels instead of a fixed pixel length.
- `labelSize` on IndicatorLamp (and LampRow) — shrink the caption below its
10px floor to match dense header rows.
- Docs: a dedicated "Buttons & switches" section with a decision guide
(Button/PushButton/TransportButton/ToggleSwitch/SegmentSwitch) + live demos.
Library + docs typecheck and build; 38 tests pass.
This commit is contained in:
parent
89c7a7f603
commit
a6348d5c46
13 changed files with 372 additions and 27 deletions
|
|
@ -1,5 +1,37 @@
|
|||
# Changelog
|
||||
|
||||
## 1.1.2 — 2026-07-14
|
||||
|
||||
Third integration-feedback release — a general action button, responsive
|
||||
faders everywhere, and the label-scaling gap, all surfaced building a
|
||||
resizable streaming studio.
|
||||
|
||||
### New components
|
||||
- `Button` — a normal **click-to-fire** command button in the panel style
|
||||
(Regenerate, Add, Apply, Refresh), the non-latching sibling of `PushButton`.
|
||||
It's `PushButton` locked to the new `mode="action"`: never latches, shows a
|
||||
press-down + a brief LED flash, calls `onClick`. `led="dot"` (default) gives
|
||||
the corner-dot look; `led={false}` a plain button.
|
||||
|
||||
### Buttons
|
||||
- `PushButton` gains **`mode="action"`** (alongside `toggle`/`momentary`) and
|
||||
an `onClick` prop — the stateless command-button behavior `Button` wraps.
|
||||
|
||||
### Responsive faders
|
||||
- **`fill`** on `LEDFader` (matching `Fader`) — the fader stretches along its
|
||||
travel axis to fill the container instead of a fixed `length`, so faders in
|
||||
resizable dock panels size themselves with no wrapper measurement.
|
||||
|
||||
### Label scaling
|
||||
- **`labelSize`** on `IndicatorLamp` — the caption otherwise tracks `size` but
|
||||
is floored at 10px; set this to shrink it with a small lamp (e.g. matching a
|
||||
dense header row). Also on `LampRow` for parity.
|
||||
|
||||
### Docs
|
||||
- A dedicated **Buttons & switches** section with a "which do I use?" guide
|
||||
(Button = action · PushButton = latch · TransportButton = transport ·
|
||||
ToggleSwitch = boolean · SegmentSwitch = mode) and a live demo of each.
|
||||
|
||||
## 1.1.1 — 2026-07-13
|
||||
|
||||
Second integration-feedback release — the friction that showed up once the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue