@vsreact/core 0.0.7 → 0.0.9

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.
@@ -0,0 +1,10 @@
1
+ export { Knob, Slider, Toggle, XYPad, Segmented, Select, GenericEditor, ParamKnob, ParamSlider, ParamToggle, ParamXYPad, ParamSegmented, ParamSelect, dragToValue, } from "./controls";
2
+ export type { KnobProps, SliderProps, ToggleProps, XYPadProps, SegmentedProps, SelectProps, GenericEditorProps, ParamKnobProps, ParamSliderProps, ParamToggleProps, ParamXYPadProps, ParamSegmentedProps, ParamSelectProps, } from "./controls";
3
+ export { Meter, usePeakHold, peakHoldStep } from "./meter";
4
+ export type { MeterProps, PeakHoldOptions, PeakHoldState } from "./meter";
5
+ export { Bars, Waveform, useRollingBuffer, pushRolling } from "./visualizers";
6
+ export type { BarsProps, WaveformProps } from "./visualizers";
7
+ export { Button } from "./button";
8
+ export type { ButtonProps } from "./button";
9
+ export { Tooltip, Modal } from "./popover";
10
+ export type { TooltipProps, ModalProps } from "./popover";
@@ -0,0 +1,12 @@
1
+ // The component layer, importable on its own:
2
+ //
3
+ // import { Knob, Select, Meter } from "@vsreact/core/components";
4
+ //
5
+ // Identical exports to the root — this subpath exists for readability
6
+ // and as the boundary line if the component kit ever becomes its own
7
+ // package.
8
+ export { Knob, Slider, Toggle, XYPad, Segmented, Select, GenericEditor, ParamKnob, ParamSlider, ParamToggle, ParamXYPad, ParamSegmented, ParamSelect, dragToValue, } from "./controls";
9
+ export { Meter, usePeakHold, peakHoldStep } from "./meter";
10
+ export { Bars, Waveform, useRollingBuffer, pushRolling } from "./visualizers";
11
+ export { Button } from "./button";
12
+ export { Tooltip, Modal } from "./popover";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vsreact/core",
3
- "version": "0.0.7",
3
+ "version": "0.0.9",
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",
@@ -31,6 +31,12 @@
31
31
  "bun": "./src/index.ts",
32
32
  "import": "./dist/index.js",
33
33
  "default": "./dist/index.js"
34
+ },
35
+ "./components": {
36
+ "types": "./dist/components.d.ts",
37
+ "bun": "./src/components.ts",
38
+ "import": "./dist/components.js",
39
+ "default": "./dist/components.js"
34
40
  }
35
41
  },
36
42
  "files": [
@@ -0,0 +1,47 @@
1
+ // The component layer, importable on its own:
2
+ //
3
+ // import { Knob, Select, Meter } from "@vsreact/core/components";
4
+ //
5
+ // Identical exports to the root — this subpath exists for readability
6
+ // and as the boundary line if the component kit ever becomes its own
7
+ // package.
8
+
9
+ export {
10
+ Knob,
11
+ Slider,
12
+ Toggle,
13
+ XYPad,
14
+ Segmented,
15
+ Select,
16
+ GenericEditor,
17
+ ParamKnob,
18
+ ParamSlider,
19
+ ParamToggle,
20
+ ParamXYPad,
21
+ ParamSegmented,
22
+ ParamSelect,
23
+ dragToValue,
24
+ } from "./controls";
25
+ export type {
26
+ KnobProps,
27
+ SliderProps,
28
+ ToggleProps,
29
+ XYPadProps,
30
+ SegmentedProps,
31
+ SelectProps,
32
+ GenericEditorProps,
33
+ ParamKnobProps,
34
+ ParamSliderProps,
35
+ ParamToggleProps,
36
+ ParamXYPadProps,
37
+ ParamSegmentedProps,
38
+ ParamSelectProps,
39
+ } from "./controls";
40
+ export { Meter, usePeakHold, peakHoldStep } from "./meter";
41
+ export type { MeterProps, PeakHoldOptions, PeakHoldState } from "./meter";
42
+ export { Bars, Waveform, useRollingBuffer, pushRolling } from "./visualizers";
43
+ export type { BarsProps, WaveformProps } from "./visualizers";
44
+ export { Button } from "./button";
45
+ export type { ButtonProps } from "./button";
46
+ export { Tooltip, Modal } from "./popover";
47
+ export type { TooltipProps, ModalProps } from "./popover";