Skip to Content
Soundor Components

Changelog

New features, improvements, and fixes in each release.

0.7.0

Minor Changes

  • 0e93d42: Add checkedStyle="highlight" to Menu.Item, which shows a checked item with the selection accent instead of a tick, as Select does, and let its icon be a function of the row's state, so a glyph follows the label's colour.
  • 186bdbd: Add axisLabelGap to Plot, which sets the axis labels further from their lines, with longer ticks, and autoSafeZone, which can turn off the safe zone draggable markers keep so the data maps to the frame.

0.6.0

Minor Changes

  • de82dc2: Shorten LevelMeter's default clip-reset names to phrases such as “Output clip, channel 1”. Use the new channelLabels and clipResetLabel props to customize channel names and clip-reset wording.
  • cae3ffa: Add opt-in selectionMode="extended" to SelectableList and useSelection: 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 and multiple behavior is unchanged.

Patch Changes

  • edb3926: Make SelectableList a 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 through useSelection. This requires @soundor/react 0.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 both multiple and rectangle are enabled. Shift adds to the selection, and Ctrl (Cmd on macOS) toggles it. In this configuration, rectangle selection takes precedence over onBackgroundDrag; disable rectangle to 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.SubTrigger and Menu.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. The Menu theme gains chevron and itemOpen slots.

  • 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 on option.icon as a React node or a renderer that receives the label color and option state. Migrate getOptionIcon callbacks to per-option icons. Parameter-bound Selects can supply { value, icon } entries through options. The selected option remains visually distinct while another row has focus.

    Set hideCheckmark to 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.

    • Dropdown is replaced by DropdownMenu, with DropdownMenu.Trigger (which enhances its one child, such as a Button, without adding a view) and DropdownMenu.Content. Placement props move to the content.
    • ContextMenu takes a ContextMenu.Trigger and a ContextMenu.Content in place of items and its child. The trigger keeps the child's role, name, value, actions and focus. longPressDelay is 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's showContextMenu, offered as AXShowMenu, UI Automation's ShowContextMenu and AT-SPI's popup where the platform has them, in place of the custom showMenu ("Show menu").
    • Menu items are Menu.Item, Menu.Divider and the new Menu.Label, shared by both menus and usable from components of your own, fragments, conditions and lists. Menu.Item takes its label as children and onPress in place of onSelect. parameterMenuItems() becomes the ParameterMenuItems component. The MenuItem, MenuAction, MenuSeparator and DropdownTriggerProps types are removed.
    • Plot takes 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.Legend and Plot.Readout. The series, seriesSource, x, y, markers, legend, readout and overlay props are removed. Live data is a source on each series (PlotSource<PlotSamples>), still drawn without a React render; views of your own inside a Plot read its coordinates with usePlotCoordinates(). An axis left out spans the data and draws no labels, and the grid is drawn only with Plot.Grid. The PlotSeries, PlotMarker and PlotSeriesSource exports are removed from the package root.
    • @soundor/components/chart: PlotSeriesSource is replaced by PlotSource, PlotMarker loses its unused callbacks, and drawAxes takes which axes to draw. The theme's Menu slots gain heading.
  • 721c3c3: Require Soundor 0.21 and @soundor/react 0.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-only shortcut property from Dropdown and ContextMenu items and the corresponding Menu.shortcut theme 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, useXYPad and the other headless hooks take a grabRadius option for this.

  • 6fac8f0: Delete or Backspace (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: Add Select, Dropdown, ContextMenu and EnvelopeEditor, on shared popup and menu infrastructure built on Soundor's Portal and FocusScope.

    • Select chooses 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.
    • Dropdown opens a menu of actions from a trigger of your own, beside it even when opened in code before any press, or beside an anchor of yours; a popup follows its anchor if it moves. ContextMenu opens 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 (⇧⌘Z on macOS, Ctrl+Shift+Z elsewhere), and formatShortcut does the same for your own views. parameterMenuItems builds a parameter's reset, enter-value, copy and paste items.
    • EnvelopeEditor edits an ADSR envelope by its handles, drawn on a Plot, each stage bound to a parameter or held in state; useEnvelopeEditor is its interaction alone, from @soundor/components/headless.
    • Plot takes an overlay of views in its coordinates and a safeZone; useXYPad takes keyGesture: 'axis' and resetOnDoubleClick; Button takes an accessibilityState. Every control takes a ref to its focusable node, and accessibilityActions and onAccessibilityAction of yours after its own (HostProps). The theme gains a shadow colour and slots for Select, Menu and EnvelopeEditor.
  • 5de5bb9: SegmentedControl infers its value type from a parameter, 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 rejects options, value, defaultValue and onChange; use parameter.subscribe to observe changes. Without a parameter, options is 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. The headless entry exports interaction hooks for custom controls without loading the theme or fonts, and the chart entry exports scales and drawing helpers for custom displays.

On this page