@vsreact/core 0.0.20 → 0.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import "./runtime";
2
2
  import "./bridge";
3
3
  /** The SDK version — stamp it on support dumps and analytics. */
4
- export declare const VERSION = "0.0.20";
4
+ export declare const VERSION = "0.0.21";
5
5
  export { View, Text, Image, TextInput, NativeView } from "./primitives";
6
6
  export type { CommonProps, TextProps, ImageProps, TextInputProps, NativeViewProps, } from "./primitives";
7
7
  export { render, unmount } from "./render";
@@ -22,7 +22,7 @@ export { useTween, useSpring, springStep, lerp, Easing } from "./animation";
22
22
  export type { TweenOptions, SpringOptions, EasingFn } from "./animation";
23
23
  export { useParameter, useParameterList } from "./parameters";
24
24
  export type { ParameterState, ParameterHandle, ParameterInfo } from "./parameters";
25
- export { Knob, Slider, Toggle, XYPad, Segmented, Select, GenericEditor, ParamKnob, ParamSlider, ParamToggle, ParamXYPad, ParamSegmented, ParamSelect, dragToValue, } from "./controls";
25
+ export { Knob, Slider, Toggle, XYPad, Segmented, Select, GenericEditor, ParamKnob, ParamSlider, ParamToggle, ParamXYPad, ParamSegmented, ParamSelect, dragToValue, sliderKeyTarget, } from "./controls";
26
26
  export type { KnobProps, SliderProps, ToggleProps, XYPadProps, SegmentedProps, SelectProps, GenericEditorProps, ParamKnobProps, ParamSliderProps, ParamToggleProps, ParamXYPadProps, ParamSegmentedProps, ParamSelectProps, } from "./controls";
27
27
  export { Meter, RingMeter, usePeakHold, peakHoldStep } from "./meter";
28
28
  export type { MeterProps, RingMeterProps, PeakHoldOptions, PeakHoldState } from "./meter";
@@ -43,4 +43,4 @@ export type { ADSRKey, ADSREnvelopeProps, ParamADSREnvelopeProps, PitchBendProps
43
43
  export { mapRange, formatDb, formatHz, formatMs, formatPercent, formatSemitones, midiNoteName, midiNoteToHz, hzToMidiNote, } from "./format";
44
44
  export { MacroPad, ParamMacroPad, HardwareKnob, ParamHardwareKnob, Crossfader, ParamCrossfader, PulseOrb, } from "./specialty";
45
45
  export type { MacroPadProps, ParamMacroPadProps, HardwareKnobProps, ParamHardwareKnobProps, CrossfaderProps, ParamCrossfaderProps, PulseOrbProps, } from "./specialty";
46
- export type { DragEventPayload, LayoutRect, WheelEventPayload } from "./primitives";
46
+ export type { DragEventPayload, LayoutRect, WheelEventPayload, KeyEventPayload, MouseMovePayload } from "./primitives";
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@
3
3
  import "./runtime";
4
4
  import "./bridge";
5
5
  /** The SDK version — stamp it on support dumps and analytics. */
6
- export const VERSION = "0.0.20";
6
+ export const VERSION = "0.0.21";
7
7
  export { View, Text, Image, TextInput, NativeView } from "./primitives";
8
8
  export { render, unmount } from "./render";
9
9
  export { native } from "./native";
@@ -16,7 +16,7 @@ export { configureTheme, tw } from "./tw";
16
16
  export { cx } from "./cx";
17
17
  export { useTween, useSpring, springStep, lerp, Easing } from "./animation";
18
18
  export { useParameter, useParameterList } from "./parameters";
19
- export { Knob, Slider, Toggle, XYPad, Segmented, Select, GenericEditor, ParamKnob, ParamSlider, ParamToggle, ParamXYPad, ParamSegmented, ParamSelect, dragToValue, } from "./controls";
19
+ export { Knob, Slider, Toggle, XYPad, Segmented, Select, GenericEditor, ParamKnob, ParamSlider, ParamToggle, ParamXYPad, ParamSegmented, ParamSelect, dragToValue, sliderKeyTarget, } from "./controls";
20
20
  export { Meter, RingMeter, usePeakHold, peakHoldStep } from "./meter";
21
21
  export { EQCurve, biquadMagnitudeDb, eqResponseDb, eqXToHz, eqHzToX } from "./eq";
22
22
  export { NumberBox, Checkbox, RadioGroup, ParamNumberBox, ParamCheckbox, ParamRadioGroup, snapToStep, } from "./fields";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vsreact/core",
3
- "version": "0.0.20",
3
+ "version": "0.0.21",
4
4
  "description": "Write React. Ship native VST. A React renderer for JUCE audio plugins — QuickJS + Yoga + juce::Graphics, no webview.",
5
5
  "keywords": [
6
6
  "react",
package/src/index.ts CHANGED
@@ -4,7 +4,7 @@ import "./runtime";
4
4
  import "./bridge";
5
5
 
6
6
  /** The SDK version — stamp it on support dumps and analytics. */
7
- export const VERSION = "0.0.20";
7
+ export const VERSION = "0.0.21";
8
8
 
9
9
  export { View, Text, Image, TextInput, NativeView } from "./primitives";
10
10
  export type {
@@ -57,6 +57,7 @@ export {
57
57
  ParamSegmented,
58
58
  ParamSelect,
59
59
  dragToValue,
60
+ sliderKeyTarget,
60
61
  } from "./controls";
61
62
  export type {
62
63
  KnobProps,
@@ -149,4 +150,4 @@ export type {
149
150
  ParamCrossfaderProps,
150
151
  PulseOrbProps,
151
152
  } from "./specialty";
152
- export type { DragEventPayload, LayoutRect, WheelEventPayload } from "./primitives";
153
+ export type { DragEventPayload, LayoutRect, WheelEventPayload, KeyEventPayload, MouseMovePayload } from "./primitives";