Changelog
New features, improvements, and fixes in each release.
0.7.0
Minor Changes
0e93d42: AddcheckedStyle="highlight"toMenu.Item, which shows a checked item with the selection accent instead of a tick, asSelectdoes, and let itsiconbe a function of the row's state, so a glyph follows the label's colour.186bdbd: AddaxisLabelGaptoPlot, which sets the axis labels further from their lines, with longer ticks, andautoSafeZone, which can turn off the safe zone draggable markers keep so the data maps to the frame.
0.6.0
Minor Changes
de82dc2: ShortenLevelMeter's default clip-reset names to phrases such as “Output clip, channel 1”. Use the newchannelLabelsandclipResetLabelprops to customize channel names and clip-reset wording.cae3ffa: Add opt-inselectionMode="extended"toSelectableListanduseSelection: click to replace, Ctrl/Cmd+click to toggle, Shift+click to select a range, and use the keyboard to navigate, extend ranges, toggle options or select all. Existing single andmultiplebehavior is unchanged.
Patch Changes
edb3926: MakeSelectableLista single Tab stop. Tab enters on the first enabled selected option (or the first enabled option) and returns to the last-focused option. Arrow keys, Home and End continue to move focus without changing selection. Custom lists can use the same behavior throughuseSelection. This requires@soundor/react0.21.1 or later within the 0.21 series.
0.5.0
Minor Changes
-
6112d93: Add Popover, a themed interactive floating surface with trigger and external anchors, controlled visibility, and optional modal focus and dismissal behavior. -
4ea9df3: Add optional Popover and Tooltip arrows that track the anchor through flips and shifts. -
f9a1c7b: Add a real-time Spectrogram display with bounded, incremental sweep history and externally supplied spectrum frames. -
cc1a365: Plot rectangle selection now starts with a plain background drag when bothmultipleandrectangleare enabled. Shift adds to the selection, and Ctrl (Cmd on macOS) toggles it. In this configuration, rectangle selection takes precedence overonBackgroundDrag; disablerectangleto keep custom background drags. Marker clicks select, add, or toggle. Dragging a selected marker moves the group by default, and Shift adjusts the drag speed continuously. -
1731927: Extend shared popup placement to support rectangular and dynamic anchors in Soundor view coordinates. Keep anchored menus aligned when their trigger moves or changes size. -
fa05353: Add submenus to DropdownMenu and ContextMenu:Menu.Sub,Menu.SubTriggerandMenu.SubContent, nesting to any depth. A submenu opens on a short rest or a press, or from the keyboard, and stays open while the pointer heads for it across the rows in between. TheMenutheme gainschevronanditemOpenslots. -
242fd62: Add a controlled mixed-value display to ValueField, Knob, Slider, Fader, Toggle, SegmentedControl, and Select. Mixed controls stay editable and report the first new value through their existing change handlers. -
12db3c1: Add a musical pitch keyboard visualization with configurable tuning, labels, and highlights, usable standalone or aligned with a Plot axis. -
54eff18: Add Tooltip for supplementary text on hover and keyboard focus, with delayed visibility and external anchors using shared popup placement. -
6d91b29: Expose semantic Plot background pointer, press, double-click, context menu and drag events with plot and data coordinates. -
92c24a8: Add controlled Plot marker selection, Shift-drag rectangle selection, and grouped drag events with logical-pixel displacement. -
2f80b29: Extend Plot markers with custom faces, selection and removal, axis locks and constraints, semantic pointer callbacks, accessible value descriptions, and external overlay anchors. -
22bee4a: Support named, independent Plot axes, with per-layer axis references, configurable placement and visibility, and scale-specific coordinate conversion. -
849c5bf: Select icons now live onoption.iconas a React node or a renderer that receives the label color and option state. MigrategetOptionIconcallbacks to per-option icons. Parameter-bound Selects can supply{ value, icon }entries throughoptions. The selected option remains visually distinct while another row has focus.Set
hideCheckmarkto hide the selected option's checkmark without changing its accessible state. -
3bc1a6a: Add option icons, icon-only triggers, and custom selected-value rendering to Select, including parameter-bound choices. -
af4915b: Add SelectableList and a headless useSelection hook for controlled, keyboard-operable single and multiple selection.
Patch Changes
e6b6cc9: Center the default labels vertically in SelectableList items.a7cc38c: Let tall popovers scroll within the space available beside their anchor so clipped controls remain reachable.
0.4.0
Minor Changes
-
f31a5e9: Make menus and Plot compositional.Dropdownis replaced byDropdownMenu, withDropdownMenu.Trigger(which enhances its one child, such as a Button, without adding a view) andDropdownMenu.Content. Placement props move to the content.ContextMenutakes aContextMenu.Triggerand aContextMenu.Contentin place ofitemsand its child. The trigger keeps the child's role, name, value, actions and focus.longPressDelayis removed: a long touch opens the menu on the platform's long press, as Soundor's engine recognises it. The accessibility action is now the engine'sshowContextMenu, offered as AXShowMenu, UI Automation'sShowContextMenuand AT-SPI'spopupwhere the platform has them, in place of the customshowMenu("Show menu").- Menu items are
Menu.Item,Menu.Dividerand the newMenu.Label, shared by both menus and usable from components of your own, fragments, conditions and lists.Menu.Itemtakes its label as children andonPressin place ofonSelect.parameterMenuItems()becomes theParameterMenuItemscomponent. TheMenuItem,MenuAction,MenuSeparatorandDropdownTriggerPropstypes are removed. Plottakes its parts as children:Plot.XAxis,Plot.YAxis,Plot.Grid,Plot.Line,Plot.Area,Plot.Steps,Plot.Bars,Plot.Points,Plot.Band,Plot.Marker,Plot.HorizontalLine,Plot.VerticalLine,Plot.LegendandPlot.Readout. Theseries,seriesSource,x,y,markers,legend,readoutandoverlayprops are removed. Live data is asourceon each series (PlotSource<PlotSamples>), still drawn without a React render; views of your own inside a Plot read its coordinates withusePlotCoordinates(). An axis left out spans the data and draws no labels, and the grid is drawn only withPlot.Grid. ThePlotSeries,PlotMarkerandPlotSeriesSourceexports are removed from the package root.@soundor/components/chart:PlotSeriesSourceis replaced byPlotSource,PlotMarkerloses its unused callbacks, anddrawAxestakes which axes to draw. The theme'sMenuslots gainheading.
-
721c3c3: Require Soundor 0.21 and@soundor/react0.21. Read-only numeric controls can receive focus and open a context menu for copying their value without allowing edits. Disabled range controls rely on the runtime to block input and focus. -
baabdf5: Remove the display-onlyshortcutproperty fromDropdownandContextMenuitems and the correspondingMenu.shortcuttheme slot. Remove these properties when upgrading. Menu keyboard navigation is unchanged.
0.3.0
Minor Changes
-
ab0e347:Alt-click (Option-click on a Mac) resets a Knob, Slider, Fader, ValueField, XYPad, draggable Plot marker or EnvelopeEditor handle to its default, as a double-click does, in one gesture and without a drag or a Slider's jump to the pointer. It is the pointer's reset on a ValueField, whose double-click types a value. The headless hooks get it too.A press on a Slider's thumb or an XYPad's handle grabs it where it is, and only a press elsewhere jumps to the pointer. A double-click resets only on the thumb or handle: one elsewhere jumps there and resets nothing, where it used to jump, then reset.
useSlider,useXYPadand the other headless hooks take agrabRadiusoption for this. -
6fac8f0:DeleteorBackspace(the key a Mac labels "delete") resets the focused Knob, Slider, Fader, ValueField, XYPad, draggable Plot marker or EnvelopeEditor handle to its default, in one gesture: the keyboard's reset, beside the screen reader's reset action. With Command, Control or Alt held, the keys are left to shortcuts of their own; the headless hooks get it too.
0.2.0
Minor Changes
-
8746bca: AddSelect,Dropdown,ContextMenuandEnvelopeEditor, on shared popup and menu infrastructure built on Soundor'sPortalandFocusScope.Selectchooses one value from a list: bound to a choice parameter, it takes the options, label and value from it and writes with history; without one it is controlled or uncontrolled, with a placeholder, disabled options and custom option rows.Dropdownopens a menu of actions from a trigger of your own, beside it even when opened in code before any press, or beside ananchorof yours; a popup follows its anchor if it moves.ContextMenuopens one for the control it is given, with no view of its own around it: on the secondary press or a long touch at the pointer, with Shift+F10 or the context menu key beside the focused control, and from a screen reader's "Show menu" action. Both share one item model: actions, separators, icons, displayed shortcuts and checked items. A shortcut is written once (Mod+Shift+Z) and shown the way the platform writes it (⇧⌘Zon macOS,Ctrl+Shift+Zelsewhere), andformatShortcutdoes the same for your own views.parameterMenuItemsbuilds a parameter's reset, enter-value, copy and paste items.EnvelopeEditoredits an ADSR envelope by its handles, drawn on a Plot, each stage bound to a parameter or held in state;useEnvelopeEditoris its interaction alone, from@soundor/components/headless.Plottakes anoverlayof views in its coordinates and asafeZone;useXYPadtakeskeyGesture: 'axis'andresetOnDoubleClick;Buttontakes anaccessibilityState. Every control takes arefto its focusable node, andaccessibilityActionsandonAccessibilityActionof yours after its own (HostProps). The theme gains ashadowcolour and slots forSelect,MenuandEnvelopeEditor.
-
5de5bb9:SegmentedControlinfers its value type from aparameter, so<SegmentedControl parameter={parameters.mode} />no longer needs a type argument. Bound to a parameter, it takes its options, value and label from it and rejectsoptions,value,defaultValueandonChange; useparameter.subscribeto observe changes. Without a parameter,optionsis now required.
0.1.0
Minor Changes
36f7b95: Release Soundor’s styled controls, displays, and editor resize grip, with bundled Geist and Geist Mono fonts. Theheadlessentry exports interaction hooks for custom controls without loading the theme or fonts, and thechartentry exports scales and drawing helpers for custom displays.