plantasia.space-design 0.76.0 → 0.78.0
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/README.md +8 -0
- package/dist/arrow/arrow-audio-segment.js +3 -3
- package/dist/arrow/arrow-audio-slider.js +3 -3
- package/dist/arrow/arrow-keys.js +3 -3
- package/dist/arrow/arrow-knob.d.ts +1 -1
- package/dist/arrow/arrow-knob.js +2 -2
- package/dist/arrow/arrow-multislider.d.ts +1 -1
- package/dist/arrow/arrow-multislider.js +3 -3
- package/dist/arrow/arrow-param.d.ts +1 -1
- package/dist/arrow/arrow-param.js +16 -15
- package/dist/arrow/arrow-range.js +3 -3
- package/dist/arrow/arrow-shared.d.ts +21 -1
- package/dist/arrow/arrow-shared.js +9 -3
- package/dist/arrow/arrow-slider.d.ts +2 -2
- package/dist/arrow/arrow-slider.js +2 -2
- package/dist/arrow/arrow-switch.d.ts +1 -1
- package/dist/arrow/arrow-switch.js +2 -2
- package/dist/arrow/arrow-value-param.js +16 -15
- package/dist/arrow/arrow-value-slider.js +16 -15
- package/dist/arrow/index.js +16 -15
- package/dist/arrow/keys-model.js +2 -2
- package/dist/arrow/multislider-model.js +2 -2
- package/dist/arrow/range-model.js +2 -2
- package/dist/badge.d.ts +1 -1
- package/dist/body-selector.js +4 -3
- package/dist/button.d.ts +1 -1
- package/dist/{chunk-FBPYQSJF.js → chunk-23762AGO.js} +12 -6
- package/dist/chunk-23762AGO.js.map +1 -0
- package/dist/{chunk-LMMNNJL6.js → chunk-2DVZPBK4.js} +5 -4
- package/dist/chunk-2DVZPBK4.js.map +1 -0
- package/dist/{chunk-66TTH2TF.js → chunk-2MHM3HQ3.js} +2 -2
- package/dist/{chunk-RXWFAY7P.js → chunk-4Z3WME3R.js} +146 -41
- package/dist/chunk-4Z3WME3R.js.map +1 -0
- package/dist/{chunk-OAJFMEQJ.js → chunk-6J2MGMGN.js} +4 -4
- package/dist/{chunk-SI4SKSAC.js → chunk-6SWSDYJP.js} +2 -2
- package/dist/{chunk-FESX573N.js → chunk-7M5XHQBH.js} +2 -2
- package/dist/{chunk-T6COEB5D.js → chunk-7TLH2HIT.js} +5 -3
- package/dist/chunk-7TLH2HIT.js.map +1 -0
- package/dist/{chunk-3LMOKCQI.js → chunk-AAW6ULHN.js} +3 -3
- package/dist/{chunk-K26VFD7R.js → chunk-ACN5JVUS.js} +2 -2
- package/dist/{chunk-4Z5PUTIV.js → chunk-BPRAGQDR.js} +4 -4
- package/dist/{chunk-WA6OHU74.js → chunk-CAX6DZRH.js} +41 -41
- package/dist/chunk-CAX6DZRH.js.map +1 -0
- package/dist/{chunk-EBLUWLLM.js → chunk-E7HJJAIA.js} +2 -2
- package/dist/{chunk-SQG73TAZ.js → chunk-FKH5A2YF.js} +16 -10
- package/dist/chunk-FKH5A2YF.js.map +1 -0
- package/dist/{chunk-EUYP3DY7.js → chunk-FOQP5P3S.js} +8 -5
- package/dist/chunk-FOQP5P3S.js.map +1 -0
- package/dist/{chunk-PNZLWKAW.js → chunk-G33ORB6K.js} +2 -2
- package/dist/{chunk-6H3Q7WMQ.js → chunk-GEFIUWMJ.js} +2 -2
- package/dist/{chunk-TT4D2P25.js → chunk-GKABE5YN.js} +8 -5
- package/dist/{chunk-TT4D2P25.js.map → chunk-GKABE5YN.js.map} +1 -1
- package/dist/{chunk-K23HFOI7.js → chunk-GTOBMWVV.js} +3 -3
- package/dist/{chunk-A7NJYIGQ.js → chunk-I7LZWYYI.js} +2 -2
- package/dist/{chunk-6E3LQZWY.js → chunk-IFXJXQ4D.js} +2 -2
- package/dist/{chunk-ZD72DOKW.js → chunk-IKYB434Q.js} +2 -2
- package/dist/{chunk-JFDL5SG4.js → chunk-IUFYQ5NU.js} +6 -6
- package/dist/{chunk-J4XQ6VYS.js → chunk-J5ZJOPUX.js} +17 -2
- package/dist/chunk-J5ZJOPUX.js.map +1 -0
- package/dist/{chunk-HUPBTYUF.js → chunk-JANXBTOE.js} +13 -3
- package/dist/chunk-JANXBTOE.js.map +1 -0
- package/dist/{chunk-FT2YCGWR.js → chunk-JTNPAY2N.js} +2 -2
- package/dist/{chunk-JKGZB3TW.js → chunk-JXTRVYLR.js} +2 -2
- package/dist/{chunk-X2QH6RP4.js → chunk-JXXJFRQM.js} +2 -2
- package/dist/{chunk-L2BRDKGR.js → chunk-JZLL2DCN.js} +2 -2
- package/dist/{chunk-4FDZNEMW.js → chunk-KKQ2QGST.js} +7 -3
- package/dist/chunk-KKQ2QGST.js.map +1 -0
- package/dist/{chunk-MA3J3LJK.js → chunk-KQJD4FOT.js} +2 -2
- package/dist/{chunk-QSRFE7RZ.js → chunk-L5N5JPVZ.js} +2 -2
- package/dist/{chunk-ZSOUE42P.js → chunk-LBB2A5KS.js} +31 -1
- package/dist/chunk-LBB2A5KS.js.map +1 -0
- package/dist/chunk-MFLWIZ6F.js +409 -0
- package/dist/chunk-MFLWIZ6F.js.map +1 -0
- package/dist/{chunk-PTFS2G4M.js → chunk-N44QB6FC.js} +4 -4
- package/dist/{chunk-YYCAGC2U.js → chunk-NVYF7OGU.js} +6 -6
- package/dist/{chunk-64WAIGCO.js → chunk-O6YZ4KZJ.js} +2 -2
- package/dist/{chunk-QCQK6LH5.js → chunk-O7TC24A3.js} +2 -2
- package/dist/{chunk-DTYR7M2M.js → chunk-P4WKIVXE.js} +34 -16
- package/dist/chunk-P4WKIVXE.js.map +1 -0
- package/dist/{chunk-COYIN3U5.js → chunk-PII2352S.js} +15 -10
- package/dist/chunk-PII2352S.js.map +1 -0
- package/dist/{chunk-JAJ42ZY5.js → chunk-QBMPDEME.js} +4 -4
- package/dist/{chunk-Q7N3YUGD.js → chunk-QOE5OW6N.js} +18 -41
- package/dist/chunk-QOE5OW6N.js.map +1 -0
- package/dist/{chunk-X3MLQKNR.js → chunk-QV3TN2LK.js} +5 -5
- package/dist/{chunk-7VNZ3FK5.js → chunk-RP6XL3QR.js} +2 -2
- package/dist/{chunk-E26Z2O46.js → chunk-RS3CR6NF.js} +21 -13
- package/dist/chunk-RS3CR6NF.js.map +1 -0
- package/dist/{chunk-4MXZDVOO.js → chunk-RSNKFMRS.js} +2 -2
- package/dist/chunk-TMQI73PU.js +325 -0
- package/dist/chunk-TMQI73PU.js.map +1 -0
- package/dist/{chunk-TXEFPBT4.js → chunk-UAJ6QU7B.js} +2 -2
- package/dist/{chunk-2QIQ465J.js → chunk-UBLXGPX3.js} +2 -2
- package/dist/{chunk-SURN626V.js → chunk-V2IHDF3V.js} +2 -2
- package/dist/{chunk-JZSE2EAI.js → chunk-VRVJ5FCZ.js} +4 -4
- package/dist/{chunk-JZSE2EAI.js.map → chunk-VRVJ5FCZ.js.map} +1 -1
- package/dist/chunk-WKB2AH5Y.js +49 -0
- package/dist/chunk-WKB2AH5Y.js.map +1 -0
- package/dist/{chunk-CBJ4W5K7.js → chunk-WOHKX5KM.js} +2 -2
- package/dist/{chunk-AZX55KSD.js → chunk-WZL33EWH.js} +2 -2
- package/dist/{chunk-PQMGIAZ3.js → chunk-XACTUMEI.js} +2 -2
- package/dist/{chunk-JSLQBXYP.js → chunk-XDU6OGIU.js} +3 -3
- package/dist/{chunk-NLBWD77F.js → chunk-XMEUZCXX.js} +2 -2
- package/dist/{chunk-F6MPKL2S.js → chunk-YDFDTEGG.js} +2 -2
- package/dist/{chunk-EOLP62AK.js → chunk-Z4N6QLGM.js} +24 -13
- package/dist/chunk-Z4N6QLGM.js.map +1 -0
- package/dist/{chunk-3RGEPWMC.js → chunk-ZBCOFTNV.js} +2 -2
- package/dist/{chunk-6QO3KF2M.js → chunk-ZBJ4UU4O.js} +3 -3
- package/dist/{chunk-CGG5ENS2.js → chunk-ZYGTULPY.js} +2 -2
- package/dist/color-control.js +17 -16
- package/dist/command.d.ts +7 -7
- package/dist/components.css +1 -1
- package/dist/components.generated.d.ts +2 -2
- package/dist/components.generated.js +257 -30
- package/dist/components.generated.js.map +1 -1
- package/dist/dna/index.js +6 -6
- package/dist/dna-pictures.d.ts +78 -0
- package/dist/dna-pictures.js +260 -0
- package/dist/dna-pictures.js.map +1 -0
- package/dist/entity-view-card/entity-badges.js +4 -3
- package/dist/entity-view-card/entity-mini-card.js +4 -3
- package/dist/entity-view-card/entity-view-card.js +5 -4
- package/dist/entity-view-card/index.js +19 -18
- package/dist/entity-view-card/orbiter-architecture.js +4 -3
- package/dist/icons/Icon.js +3 -2
- package/dist/icons/index.js +3 -2
- package/dist/icons/svg-sanitize-dom.d.ts +5 -0
- package/dist/icons/svg-sanitize-dom.js +8 -0
- package/dist/icons/svg-sanitize-dom.js.map +1 -0
- package/dist/icons/svg-transform.d.ts +2 -1
- package/dist/icons/svg-transform.js +6 -3
- package/dist/image-cropper.js +18 -17
- package/dist/image-uploader.js +19 -18
- package/dist/index.d.ts +1 -0
- package/dist/index.js +67 -56
- package/dist/kingdom-selector.js +4 -3
- package/dist/module-components/drum-sequencer.d.ts +8 -6
- package/dist/module-components/drum-sequencer.js +25 -24
- package/dist/module-components/drum-synth.d.ts +1 -1
- package/dist/module-components/drum-synth.js +25 -24
- package/dist/module-components/envelope-model.js +2 -2
- package/dist/module-components/envelope.js +18 -17
- package/dist/module-components/index.d.ts +1 -1
- package/dist/module-components/index.js +72 -67
- package/dist/module-components/module-chain.js +4 -3
- package/dist/module-components/module-control-badge.js +4 -3
- package/dist/module-components/module-glyph.js +4 -3
- package/dist/module-components/module-panel.d.ts +1 -1
- package/dist/module-components/module-panel.js +28 -23
- package/dist/module-components/module-rows.d.ts +1 -1
- package/dist/module-components/module-rows.js +18 -17
- package/dist/module-components/module-screen-controls.js +3 -3
- package/dist/module-components/module-screen-model.js +2 -2
- package/dist/module-components/module-screen.js +4 -4
- package/dist/module-components/module-tile.d.ts +6 -6
- package/dist/module-components/module-tile.js +1 -1
- package/dist/module-components/pattern-pads.js +3 -3
- package/dist/module-components/routing-diagram.js +2 -2
- package/dist/module-components/step-lanes.js +17 -16
- package/dist/{module-panel-CxMz6hbN.d.ts → module-panel-C9WAIwUF.d.ts} +66 -2
- package/dist/name-regenerator-controls.js +5 -4
- package/dist/numeric-keyboard/index.js +16 -15
- package/dist/numeric-keyboard/numeric-keyboard-provider.js +16 -15
- package/dist/numeric-keyboard/numeric-keyboard.js +16 -15
- package/dist/playback-bar.js +17 -16
- package/dist/playback-overlay.js +18 -17
- package/dist/sharing-card.d.ts +6 -1
- package/dist/sharing-card.js +1 -1
- package/dist/sheet.d.ts +5 -1
- package/dist/sheet.js +1 -1
- package/dist/side-dock.js +1 -1
- package/dist/sidebar.js +2 -2
- package/dist/slider-button.js +3 -3
- package/dist/styles.css +1 -1
- package/dist/timeline/components/automation-lane.js +2 -2
- package/dist/timeline/components/fold-row.d.ts +7 -2
- package/dist/timeline/components/fold-row.js +1 -1
- package/dist/timeline/components/index.js +55 -54
- package/dist/timeline/components/piano-roll.d.ts +12 -9
- package/dist/timeline/components/piano-roll.js +21 -20
- package/dist/timeline/components/surface-title.d.ts +4 -2
- package/dist/timeline/components/surface-title.js +2 -2
- package/dist/timeline/components/timeline-ruler.js +2 -2
- package/dist/timeline/hooks/index.js +7 -7
- package/dist/timeline/hooks/sync-fanout.js +1 -1
- package/dist/timeline/hooks/use-quantized-launch.js +2 -2
- package/dist/timeline/index.js +93 -92
- package/dist/timeline/tracks/audio-track.js +3 -3
- package/dist/timeline/tracks/clip-track.js +2 -2
- package/dist/timeline/tracks/image-track.js +3 -3
- package/dist/timeline/tracks/index.js +8 -8
- package/dist/timeline/tracks/shape-track.js +3 -3
- package/dist/timeline/tracks/video-track.js +3 -3
- package/dist/tutorial-runner.d.ts +98 -0
- package/dist/tutorial-runner.js +22 -0
- package/dist/tutorial-runner.js.map +1 -0
- package/package.json +6 -1
- package/src/dna-pictures/compose.ts +138 -0
- package/src/dna-pictures/index.ts +32 -0
- package/src/dna-pictures/logo.ts +23 -0
- package/src/dna-pictures/qr-code-styling.d.ts +2 -0
- package/src/dna-pictures/qr.ts +113 -0
- package/src/dna-pictures/slugs.ts +102 -0
- package/src/react/arrow/arrow-knob.tsx +19 -11
- package/src/react/arrow/arrow-multislider.tsx +5 -3
- package/src/react/arrow/arrow-param.tsx +15 -8
- package/src/react/arrow/arrow-shared.ts +53 -0
- package/src/react/arrow/arrow-slider.tsx +34 -14
- package/src/react/arrow/arrow-switch.tsx +11 -8
- package/src/react/components.generated.json +256 -29
- package/src/react/components.generated.ts +260 -30
- package/src/react/icons/Icon.tsx +5 -1
- package/src/react/icons/svg-sanitize-dom.ts +140 -0
- package/src/react/icons/svg-transform.ts +33 -8
- package/src/react/index.ts +10 -0
- package/src/react/module-components/drum-sequencer.tsx +20 -37
- package/src/react/module-components/module-panel.tsx +178 -13
- package/src/react/module-components/module-tile.tsx +15 -3
- package/src/react/sharing-card.tsx +27 -10
- package/src/react/sheet.tsx +9 -3
- package/src/react/side-dock.tsx +19 -2
- package/src/react/sidebar.tsx +6 -1
- package/src/react/timeline/components/fold-row.tsx +17 -6
- package/src/react/timeline/components/piano-roll.tsx +57 -52
- package/src/react/timeline/components/surface-title.tsx +5 -3
- package/src/react/timeline/hooks/sync-fanout.ts +27 -16
- package/src/react/tutorial-runner.tsx +585 -0
- package/src/styles/effects.css +25 -1
- package/dist/chunk-4FDZNEMW.js.map +0 -1
- package/dist/chunk-COYIN3U5.js.map +0 -1
- package/dist/chunk-DTYR7M2M.js.map +0 -1
- package/dist/chunk-E26Z2O46.js.map +0 -1
- package/dist/chunk-EOLP62AK.js.map +0 -1
- package/dist/chunk-EUYP3DY7.js.map +0 -1
- package/dist/chunk-FBPYQSJF.js.map +0 -1
- package/dist/chunk-HUPBTYUF.js.map +0 -1
- package/dist/chunk-J4XQ6VYS.js.map +0 -1
- package/dist/chunk-LMMNNJL6.js.map +0 -1
- package/dist/chunk-Q7N3YUGD.js.map +0 -1
- package/dist/chunk-RXWFAY7P.js.map +0 -1
- package/dist/chunk-SQG73TAZ.js.map +0 -1
- package/dist/chunk-T4MMDJIP.js +0 -42
- package/dist/chunk-T4MMDJIP.js.map +0 -1
- package/dist/chunk-T6COEB5D.js.map +0 -1
- package/dist/chunk-WA6OHU74.js.map +0 -1
- package/dist/chunk-ZSOUE42P.js.map +0 -1
- /package/dist/{chunk-66TTH2TF.js.map → chunk-2MHM3HQ3.js.map} +0 -0
- /package/dist/{chunk-OAJFMEQJ.js.map → chunk-6J2MGMGN.js.map} +0 -0
- /package/dist/{chunk-SI4SKSAC.js.map → chunk-6SWSDYJP.js.map} +0 -0
- /package/dist/{chunk-FESX573N.js.map → chunk-7M5XHQBH.js.map} +0 -0
- /package/dist/{chunk-3LMOKCQI.js.map → chunk-AAW6ULHN.js.map} +0 -0
- /package/dist/{chunk-K26VFD7R.js.map → chunk-ACN5JVUS.js.map} +0 -0
- /package/dist/{chunk-4Z5PUTIV.js.map → chunk-BPRAGQDR.js.map} +0 -0
- /package/dist/{chunk-EBLUWLLM.js.map → chunk-E7HJJAIA.js.map} +0 -0
- /package/dist/{chunk-PNZLWKAW.js.map → chunk-G33ORB6K.js.map} +0 -0
- /package/dist/{chunk-6H3Q7WMQ.js.map → chunk-GEFIUWMJ.js.map} +0 -0
- /package/dist/{chunk-K23HFOI7.js.map → chunk-GTOBMWVV.js.map} +0 -0
- /package/dist/{chunk-A7NJYIGQ.js.map → chunk-I7LZWYYI.js.map} +0 -0
- /package/dist/{chunk-6E3LQZWY.js.map → chunk-IFXJXQ4D.js.map} +0 -0
- /package/dist/{chunk-ZD72DOKW.js.map → chunk-IKYB434Q.js.map} +0 -0
- /package/dist/{chunk-JFDL5SG4.js.map → chunk-IUFYQ5NU.js.map} +0 -0
- /package/dist/{chunk-FT2YCGWR.js.map → chunk-JTNPAY2N.js.map} +0 -0
- /package/dist/{chunk-JKGZB3TW.js.map → chunk-JXTRVYLR.js.map} +0 -0
- /package/dist/{chunk-X2QH6RP4.js.map → chunk-JXXJFRQM.js.map} +0 -0
- /package/dist/{chunk-L2BRDKGR.js.map → chunk-JZLL2DCN.js.map} +0 -0
- /package/dist/{chunk-MA3J3LJK.js.map → chunk-KQJD4FOT.js.map} +0 -0
- /package/dist/{chunk-QSRFE7RZ.js.map → chunk-L5N5JPVZ.js.map} +0 -0
- /package/dist/{chunk-PTFS2G4M.js.map → chunk-N44QB6FC.js.map} +0 -0
- /package/dist/{chunk-YYCAGC2U.js.map → chunk-NVYF7OGU.js.map} +0 -0
- /package/dist/{chunk-64WAIGCO.js.map → chunk-O6YZ4KZJ.js.map} +0 -0
- /package/dist/{chunk-QCQK6LH5.js.map → chunk-O7TC24A3.js.map} +0 -0
- /package/dist/{chunk-JAJ42ZY5.js.map → chunk-QBMPDEME.js.map} +0 -0
- /package/dist/{chunk-X3MLQKNR.js.map → chunk-QV3TN2LK.js.map} +0 -0
- /package/dist/{chunk-7VNZ3FK5.js.map → chunk-RP6XL3QR.js.map} +0 -0
- /package/dist/{chunk-4MXZDVOO.js.map → chunk-RSNKFMRS.js.map} +0 -0
- /package/dist/{chunk-TXEFPBT4.js.map → chunk-UAJ6QU7B.js.map} +0 -0
- /package/dist/{chunk-2QIQ465J.js.map → chunk-UBLXGPX3.js.map} +0 -0
- /package/dist/{chunk-SURN626V.js.map → chunk-V2IHDF3V.js.map} +0 -0
- /package/dist/{chunk-CBJ4W5K7.js.map → chunk-WOHKX5KM.js.map} +0 -0
- /package/dist/{chunk-AZX55KSD.js.map → chunk-WZL33EWH.js.map} +0 -0
- /package/dist/{chunk-PQMGIAZ3.js.map → chunk-XACTUMEI.js.map} +0 -0
- /package/dist/{chunk-JSLQBXYP.js.map → chunk-XDU6OGIU.js.map} +0 -0
- /package/dist/{chunk-NLBWD77F.js.map → chunk-XMEUZCXX.js.map} +0 -0
- /package/dist/{chunk-F6MPKL2S.js.map → chunk-YDFDTEGG.js.map} +0 -0
- /package/dist/{chunk-3RGEPWMC.js.map → chunk-ZBCOFTNV.js.map} +0 -0
- /package/dist/{chunk-6QO3KF2M.js.map → chunk-ZBJ4UU4O.js.map} +0 -0
- /package/dist/{chunk-CGG5ENS2.js.map → chunk-ZYGTULPY.js.map} +0 -0
package/README.md
CHANGED
|
@@ -87,6 +87,14 @@ When the React components land, Tailwind hosts also add
|
|
|
87
87
|
head (as the Next.js app does) instead of `styles/fonts.css` — token names are
|
|
88
88
|
the contract, not the loader.
|
|
89
89
|
|
|
90
|
+
### Event handlers on the arrow controls
|
|
91
|
+
|
|
92
|
+
Knob, Slider, SegmentSlider, Switch, Multislider and Param run an `onPointerDown`, `onKeyDown`,
|
|
93
|
+
`onClick` (etc.) you pass **alongside** their own, never instead of it: yours runs first, then the
|
|
94
|
+
control's. Call `e.preventDefault()` in yours to skip the control's own handling of that event.
|
|
95
|
+
Ending a drag and tracking hover always run. (Before 0.78 a handler you passed replaced the
|
|
96
|
+
control's own, which broke dragging and keys.)
|
|
97
|
+
|
|
90
98
|
## The extraction law — extract ⇒ migrate-back, always
|
|
91
99
|
|
|
92
100
|
> **When you move a component OUT of an app and INTO this library, the SAME branch must also
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
import {
|
|
4
4
|
ArrowAudioSegment,
|
|
5
5
|
formatTimeLabel
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
} from "../chunk-GEFIUWMJ.js";
|
|
7
|
+
import "../chunk-P4WKIVXE.js";
|
|
8
8
|
import "../chunk-HSQIBP76.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-LBB2A5KS.js";
|
|
10
10
|
import "../chunk-3LBDJPNF.js";
|
|
11
11
|
import "../chunk-VBGWQ4DE.js";
|
|
12
12
|
import "../chunk-BRLBKYOJ.js";
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
import {
|
|
4
4
|
AudioSlider
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-ZBCOFTNV.js";
|
|
6
6
|
import "../chunk-ZHWHVNNM.js";
|
|
7
7
|
import "../chunk-CO2HHVIE.js";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-P4WKIVXE.js";
|
|
9
9
|
import "../chunk-HSQIBP76.js";
|
|
10
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-LBB2A5KS.js";
|
|
11
11
|
import "../chunk-3LBDJPNF.js";
|
|
12
12
|
import "../chunk-BRLBKYOJ.js";
|
|
13
13
|
export {
|
package/dist/arrow/arrow-keys.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
import {
|
|
4
4
|
Keys
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
5
|
+
} from "../chunk-ZBJ4UU4O.js";
|
|
6
|
+
import "../chunk-XACTUMEI.js";
|
|
7
7
|
import "../chunk-HSQIBP76.js";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-LBB2A5KS.js";
|
|
9
9
|
import "../chunk-3LBDJPNF.js";
|
|
10
10
|
import {
|
|
11
11
|
noteName
|
|
@@ -106,6 +106,6 @@ type KnobProps = {
|
|
|
106
106
|
"aria-label"?: string;
|
|
107
107
|
"aria-labelledby"?: string;
|
|
108
108
|
} & ArrowGateProps & ArrowValueCallbacks & Omit<React.HTMLAttributes<HTMLDivElement>, "onChange">;
|
|
109
|
-
declare function Knob({ className, value, defaultValue, min, max, step, log, exponent, knee, rose, sweep, origin, originValue, detent, mappedRange, marks, limit, steps, stepsMax, snap, stepLabels, colors, sensitivity, tracking, showLabel, tooltip, precision, onChange, onValueChange, onValueCommit, commitIfUnchanged, readOnly, disabled, locked, format, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, ...rest }: KnobProps): React.JSX.Element;
|
|
109
|
+
declare function Knob({ className, value, defaultValue, min, max, step, log, exponent, knee, rose, sweep, origin, originValue, detent, mappedRange, marks, limit, steps, stepsMax, snap, stepLabels, colors, sensitivity, tracking, showLabel, tooltip, precision, onChange, onValueChange, onValueCommit, commitIfUnchanged, readOnly, disabled, locked, format, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, onPointerDown: onPointerDownProp, onKeyDown: onKeyDownProp, onMouseEnter: onMouseEnterProp, onMouseLeave: onMouseLeaveProp, ...rest }: KnobProps): React.JSX.Element;
|
|
110
110
|
|
|
111
111
|
export { Knob, type KnobProps };
|
package/dist/arrow/arrow-knob.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
import {
|
|
4
4
|
Knob
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-RS3CR6NF.js";
|
|
6
6
|
import "../chunk-EEZH4BF6.js";
|
|
7
7
|
import "../chunk-HSQIBP76.js";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-LBB2A5KS.js";
|
|
9
9
|
import "../chunk-3LBDJPNF.js";
|
|
10
10
|
import "../chunk-BRLBKYOJ.js";
|
|
11
11
|
export {
|
|
@@ -47,6 +47,6 @@ type MultisliderProps = {
|
|
|
47
47
|
* draws a straight line from the last bar you touched; Alt-click resets a bar.
|
|
48
48
|
* With focus, ←/→ pick a bar and ↑/↓ change it.
|
|
49
49
|
*/
|
|
50
|
-
declare function Multislider({ className, value, defaultValue, min, max, step, style, orientation, playhead, loop, showReadout, format, colors, onValueChange, onValueCommit, readOnly, disabled, locked, "aria-label": ariaLabel, ...rest }: MultisliderProps): React.JSX.Element;
|
|
50
|
+
declare function Multislider({ className, value, defaultValue, min, max, step, style, orientation, playhead, loop, showReadout, format, colors, onValueChange, onValueCommit, readOnly, disabled, locked, "aria-label": ariaLabel, onPointerDown: onPointerDownProp, onKeyDown: onKeyDownProp, ...rest }: MultisliderProps): React.JSX.Element;
|
|
51
51
|
|
|
52
52
|
export { Multislider, type MultisliderProps };
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
import {
|
|
4
4
|
Multislider
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
5
|
+
} from "../chunk-FOQP5P3S.js";
|
|
6
|
+
import "../chunk-O7TC24A3.js";
|
|
7
7
|
import "../chunk-HSQIBP76.js";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-LBB2A5KS.js";
|
|
9
9
|
import "../chunk-3LBDJPNF.js";
|
|
10
10
|
import "../chunk-BRLBKYOJ.js";
|
|
11
11
|
export {
|
|
@@ -76,6 +76,6 @@ type ParamProps = {
|
|
|
76
76
|
*/
|
|
77
77
|
width?: number;
|
|
78
78
|
} & ArrowGateProps & ArrowValueCallbacks & Omit<React.HTMLAttributes<HTMLDivElement>, "onChange">;
|
|
79
|
-
declare function Param({ className, variant, id, name, value, defaultValue, min, max, step, precision, log, snap, limit, showInfinityAtMin, editable, onRequestEdit, keypad, label, format, onChange, onValueChange, onValueCommit, commitIfUnchanged, readOnly, disabled, locked, showLockIcon, colors, width, ...rest }: ParamProps): React.JSX.Element;
|
|
79
|
+
declare function Param({ className, variant, id, name, value, defaultValue, min, max, step, precision, log, snap, limit, showInfinityAtMin, editable, onRequestEdit, keypad, label, format, onChange, onValueChange, onValueCommit, commitIfUnchanged, readOnly, disabled, locked, showLockIcon, colors, width, onKeyDown: onKeyDownProp, onPointerDown: onPointerDownProp, onClick: onClickProp, onDoubleClick: onDoubleClickProp, ...rest }: ParamProps): React.JSX.Element;
|
|
80
80
|
|
|
81
81
|
export { Param, type ParamProps };
|
|
@@ -2,24 +2,24 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
import {
|
|
4
4
|
Param
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-Z4N6QLGM.js";
|
|
6
6
|
import "../chunk-Q7FZPJAG.js";
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-FKH5A2YF.js";
|
|
8
|
+
import "../chunk-ZBCOFTNV.js";
|
|
9
|
+
import "../chunk-ZBJ4UU4O.js";
|
|
10
|
+
import "../chunk-XACTUMEI.js";
|
|
11
|
+
import "../chunk-RS3CR6NF.js";
|
|
12
12
|
import "../chunk-EEZH4BF6.js";
|
|
13
13
|
import "../chunk-ZHWHVNNM.js";
|
|
14
14
|
import "../chunk-CO2HHVIE.js";
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-FOQP5P3S.js";
|
|
16
|
+
import "../chunk-O7TC24A3.js";
|
|
17
|
+
import "../chunk-AAW6ULHN.js";
|
|
18
|
+
import "../chunk-JZLL2DCN.js";
|
|
19
|
+
import "../chunk-GEFIUWMJ.js";
|
|
20
|
+
import "../chunk-P4WKIVXE.js";
|
|
21
21
|
import "../chunk-HSQIBP76.js";
|
|
22
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-LBB2A5KS.js";
|
|
23
23
|
import "../chunk-3LBDJPNF.js";
|
|
24
24
|
import "../chunk-I7C27CDX.js";
|
|
25
25
|
import "../chunk-VBGWQ4DE.js";
|
|
@@ -28,10 +28,11 @@ import "../chunk-QQR6WAI4.js";
|
|
|
28
28
|
import "../chunk-6FLZBWVP.js";
|
|
29
29
|
import "../chunk-OODTVBCR.js";
|
|
30
30
|
import "../chunk-R5ODC3SO.js";
|
|
31
|
-
import "../chunk-
|
|
31
|
+
import "../chunk-GKABE5YN.js";
|
|
32
|
+
import "../chunk-J5ZJOPUX.js";
|
|
32
33
|
import "../chunk-EFNECK7N.js";
|
|
33
34
|
import "../chunk-NNT43L55.js";
|
|
34
|
-
import "../chunk-
|
|
35
|
+
import "../chunk-TMQI73PU.js";
|
|
35
36
|
import "../chunk-BRLBKYOJ.js";
|
|
36
37
|
export {
|
|
37
38
|
Param
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
import {
|
|
4
4
|
ArrowRange
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-AAW6ULHN.js";
|
|
6
6
|
import {
|
|
7
7
|
rangeTag
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-JZLL2DCN.js";
|
|
9
9
|
import "../chunk-HSQIBP76.js";
|
|
10
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-LBB2A5KS.js";
|
|
11
11
|
import "../chunk-3LBDJPNF.js";
|
|
12
12
|
import "../chunk-BRLBKYOJ.js";
|
|
13
13
|
export {
|
|
@@ -42,6 +42,26 @@ type StopDrag = (opts?: {
|
|
|
42
42
|
* started the drag so a second finger can neither steer nor end it.
|
|
43
43
|
*/
|
|
44
44
|
declare function startWindowDrag(onMove: (e: PointerEvent) => void, onEnd: (e: PointerEvent | null) => void, pointerId?: number): StopDrag;
|
|
45
|
+
/**
|
|
46
|
+
* Bind a wheel handler that can keep the page from scrolling. React attaches `onWheel` as a passive
|
|
47
|
+
* listener, so `preventDefault()` in it is ignored and the page (or the panel around the control)
|
|
48
|
+
* scrolls while the control turns. This binds a native non-passive listener on `ref`'s element and
|
|
49
|
+
* always calls the latest `onWheel`, so the handler may close over the current render.
|
|
50
|
+
*/
|
|
51
|
+
declare function useWheelHandler(ref: React.RefObject<HTMLElement | null>, onWheel: (e: WheelEvent) => void): void;
|
|
52
|
+
/**
|
|
53
|
+
* Run a handler the consumer passed alongside the control's own. The consumer's runs first; the
|
|
54
|
+
* control's still runs unless the consumer's own handler called `preventDefault()` (an event
|
|
55
|
+
* something else had already prevented behaves as if no consumer handler were passed).
|
|
56
|
+
* Spreading the consumer's props after the control's handlers would instead replace them and
|
|
57
|
+
* break dragging or keys.
|
|
58
|
+
*/
|
|
59
|
+
declare function composeHandlers<E extends React.SyntheticEvent>(theirs: ((e: E) => void) | undefined, ours: ((e: E) => void) | undefined): ((e: E) => void) | undefined;
|
|
60
|
+
/**
|
|
61
|
+
* Like composeHandlers, but the control's handler always runs. For cleanup and bookkeeping the
|
|
62
|
+
* consumer must not be able to skip: ending a drag, tracking hover.
|
|
63
|
+
*/
|
|
64
|
+
declare function chainHandlers<E extends React.SyntheticEvent>(theirs: ((e: E) => void) | undefined, ours: (e: E) => void): (e: E) => void;
|
|
45
65
|
/** Detect a double press from pointerdown timestamps (preventDefault on pointerdown eats dblclick). */
|
|
46
66
|
declare function makeDoublePress(windowMs?: number): (key: string | number) => boolean;
|
|
47
67
|
/**
|
|
@@ -66,4 +86,4 @@ declare function localBox(el: HTMLElement): {
|
|
|
66
86
|
*/
|
|
67
87
|
declare function useCanvasPaint(containerRef: React.RefObject<HTMLElement | null>, measure: () => void, draw: () => void): void;
|
|
68
88
|
|
|
69
|
-
export { type StopDrag, acceptedSpan, clamp, colorSlots, localBox, makeDoublePress, resolveColors, snapTo, startWindowDrag, stepOn, useCanvasPaint, useThemeVersion };
|
|
89
|
+
export { type StopDrag, acceptedSpan, chainHandlers, clamp, colorSlots, composeHandlers, localBox, makeDoublePress, resolveColors, snapTo, startWindowDrag, stepOn, useCanvasPaint, useThemeVersion, useWheelHandler };
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
acceptedSpan,
|
|
4
|
+
chainHandlers,
|
|
4
5
|
clamp,
|
|
5
6
|
colorSlots,
|
|
7
|
+
composeHandlers,
|
|
6
8
|
localBox,
|
|
7
9
|
makeDoublePress,
|
|
8
10
|
resolveColors,
|
|
@@ -10,12 +12,15 @@ import {
|
|
|
10
12
|
startWindowDrag,
|
|
11
13
|
stepOn,
|
|
12
14
|
useCanvasPaint,
|
|
13
|
-
useThemeVersion
|
|
14
|
-
|
|
15
|
+
useThemeVersion,
|
|
16
|
+
useWheelHandler
|
|
17
|
+
} from "../chunk-LBB2A5KS.js";
|
|
15
18
|
export {
|
|
16
19
|
acceptedSpan,
|
|
20
|
+
chainHandlers,
|
|
17
21
|
clamp,
|
|
18
22
|
colorSlots,
|
|
23
|
+
composeHandlers,
|
|
19
24
|
localBox,
|
|
20
25
|
makeDoublePress,
|
|
21
26
|
resolveColors,
|
|
@@ -23,6 +28,7 @@ export {
|
|
|
23
28
|
startWindowDrag,
|
|
24
29
|
stepOn,
|
|
25
30
|
useCanvasPaint,
|
|
26
|
-
useThemeVersion
|
|
31
|
+
useThemeVersion,
|
|
32
|
+
useWheelHandler
|
|
27
33
|
};
|
|
28
34
|
//# sourceMappingURL=arrow-shared.js.map
|
|
@@ -65,7 +65,7 @@ type SliderProps = {
|
|
|
65
65
|
"aria-label"?: string;
|
|
66
66
|
"aria-labelledby"?: string;
|
|
67
67
|
} & ArrowGateProps & ArrowValueCallbacks & Omit<React.HTMLAttributes<HTMLDivElement>, "onChange">;
|
|
68
|
-
declare function Slider({ className, value, defaultValue, min, max, step, direction, log, snap, limit, colors, gradient, sensitivity, pointerSize, tracking, showLabel, tooltip, precision, onChange, onValueChange, onValueCommit, commitIfUnchanged, readOnly, disabled, locked, format, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, ...rest }: SliderProps): React.JSX.Element;
|
|
68
|
+
declare function Slider({ className, value, defaultValue, min, max, step, direction, log, snap, limit, colors, gradient, sensitivity, pointerSize, tracking, showLabel, tooltip, precision, onChange, onValueChange, onValueCommit, commitIfUnchanged, readOnly, disabled, locked, format, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, onPointerDown: onPointerDownProp, onKeyDown: onKeyDownProp, onMouseEnter: onMouseEnterProp, onMouseLeave: onMouseLeaveProp, ...rest }: SliderProps): React.JSX.Element;
|
|
69
69
|
type SegmentSliderProps = {
|
|
70
70
|
className?: string;
|
|
71
71
|
min?: number;
|
|
@@ -93,6 +93,6 @@ type SegmentSliderProps = {
|
|
|
93
93
|
showPlayhead?: boolean;
|
|
94
94
|
"aria-label"?: string;
|
|
95
95
|
} & Omit<React.HTMLAttributes<HTMLDivElement>, "onChange">;
|
|
96
|
-
declare function SegmentSlider({ className, min, max, step, start, end, playhead, minSegmentWidth, colors, pointerSize, onStartChange, onEndChange, onPlayheadChange, showPlayhead, "aria-label": ariaLabel, ...rest }: SegmentSliderProps): React.JSX.Element;
|
|
96
|
+
declare function SegmentSlider({ className, min, max, step, start, end, playhead, minSegmentWidth, colors, pointerSize, onStartChange, onEndChange, onPlayheadChange, showPlayhead, "aria-label": ariaLabel, onPointerDown: onPointerDownProp, onPointerMove: onPointerMoveProp, onPointerUp: onPointerUpProp, onPointerCancel: onPointerCancelProp, ...rest }: SegmentSliderProps): React.JSX.Element;
|
|
97
97
|
|
|
98
98
|
export { SegmentSlider, type SegmentSliderProps, Slider, type SliderTrackMetrics, sliderTrackMetrics };
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
SegmentSlider,
|
|
5
5
|
Slider,
|
|
6
6
|
sliderTrackMetrics
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-P4WKIVXE.js";
|
|
8
8
|
import "../chunk-HSQIBP76.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-LBB2A5KS.js";
|
|
10
10
|
import "../chunk-3LBDJPNF.js";
|
|
11
11
|
import "../chunk-BRLBKYOJ.js";
|
|
12
12
|
export {
|
|
@@ -51,6 +51,6 @@ type SwitchProps = {
|
|
|
51
51
|
"aria-label"?: string;
|
|
52
52
|
"aria-labelledby"?: string;
|
|
53
53
|
} & ArrowGateProps & Omit<React.HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue">;
|
|
54
|
-
declare function Switch({ className, kind, shape, direction, value, defaultValue, min, max, step, colors, radioValue, label, showLabel, tooltip, onValueChange, onTrigger, readOnly, disabled, locked, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, ...rest }: SwitchProps): React.JSX.Element;
|
|
54
|
+
declare function Switch({ className, kind, shape, direction, value, defaultValue, min, max, step, colors, radioValue, label, showLabel, tooltip, onValueChange, onTrigger, readOnly, disabled, locked, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, onPointerDown: onPointerDownProp, onKeyDown: onKeyDownProp, onMouseEnter: onMouseEnterProp, onMouseLeave: onMouseLeaveProp, ...rest }: SwitchProps): React.JSX.Element;
|
|
55
55
|
|
|
56
56
|
export { Switch, type SwitchDirection, SwitchGroup, type SwitchGroupProps, type SwitchKind, type SwitchProps, type SwitchShape };
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
import {
|
|
4
4
|
Switch,
|
|
5
5
|
SwitchGroup
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-FKH5A2YF.js";
|
|
7
7
|
import "../chunk-HSQIBP76.js";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-LBB2A5KS.js";
|
|
9
9
|
import "../chunk-3LBDJPNF.js";
|
|
10
10
|
import "../chunk-BRLBKYOJ.js";
|
|
11
11
|
export {
|
|
@@ -3,24 +3,24 @@
|
|
|
3
3
|
import {
|
|
4
4
|
ValueParam,
|
|
5
5
|
clampSnap
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-Z4N6QLGM.js";
|
|
7
7
|
import "../chunk-Q7FZPJAG.js";
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-FKH5A2YF.js";
|
|
9
|
+
import "../chunk-ZBCOFTNV.js";
|
|
10
|
+
import "../chunk-ZBJ4UU4O.js";
|
|
11
|
+
import "../chunk-XACTUMEI.js";
|
|
12
|
+
import "../chunk-RS3CR6NF.js";
|
|
13
13
|
import "../chunk-EEZH4BF6.js";
|
|
14
14
|
import "../chunk-ZHWHVNNM.js";
|
|
15
15
|
import "../chunk-CO2HHVIE.js";
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-
|
|
16
|
+
import "../chunk-FOQP5P3S.js";
|
|
17
|
+
import "../chunk-O7TC24A3.js";
|
|
18
|
+
import "../chunk-AAW6ULHN.js";
|
|
19
|
+
import "../chunk-JZLL2DCN.js";
|
|
20
|
+
import "../chunk-GEFIUWMJ.js";
|
|
21
|
+
import "../chunk-P4WKIVXE.js";
|
|
22
22
|
import "../chunk-HSQIBP76.js";
|
|
23
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-LBB2A5KS.js";
|
|
24
24
|
import "../chunk-3LBDJPNF.js";
|
|
25
25
|
import "../chunk-I7C27CDX.js";
|
|
26
26
|
import "../chunk-VBGWQ4DE.js";
|
|
@@ -29,10 +29,11 @@ import "../chunk-QQR6WAI4.js";
|
|
|
29
29
|
import "../chunk-6FLZBWVP.js";
|
|
30
30
|
import "../chunk-OODTVBCR.js";
|
|
31
31
|
import "../chunk-R5ODC3SO.js";
|
|
32
|
-
import "../chunk-
|
|
32
|
+
import "../chunk-GKABE5YN.js";
|
|
33
|
+
import "../chunk-J5ZJOPUX.js";
|
|
33
34
|
import "../chunk-EFNECK7N.js";
|
|
34
35
|
import "../chunk-NNT43L55.js";
|
|
35
|
-
import "../chunk-
|
|
36
|
+
import "../chunk-TMQI73PU.js";
|
|
36
37
|
import "../chunk-BRLBKYOJ.js";
|
|
37
38
|
export {
|
|
38
39
|
ValueParam,
|
|
@@ -2,24 +2,24 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
import {
|
|
4
4
|
ValueSlider
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-Z4N6QLGM.js";
|
|
6
6
|
import "../chunk-Q7FZPJAG.js";
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-FKH5A2YF.js";
|
|
8
|
+
import "../chunk-ZBCOFTNV.js";
|
|
9
|
+
import "../chunk-ZBJ4UU4O.js";
|
|
10
|
+
import "../chunk-XACTUMEI.js";
|
|
11
|
+
import "../chunk-RS3CR6NF.js";
|
|
12
12
|
import "../chunk-EEZH4BF6.js";
|
|
13
13
|
import "../chunk-ZHWHVNNM.js";
|
|
14
14
|
import "../chunk-CO2HHVIE.js";
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-FOQP5P3S.js";
|
|
16
|
+
import "../chunk-O7TC24A3.js";
|
|
17
|
+
import "../chunk-AAW6ULHN.js";
|
|
18
|
+
import "../chunk-JZLL2DCN.js";
|
|
19
|
+
import "../chunk-GEFIUWMJ.js";
|
|
20
|
+
import "../chunk-P4WKIVXE.js";
|
|
21
21
|
import "../chunk-HSQIBP76.js";
|
|
22
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-LBB2A5KS.js";
|
|
23
23
|
import "../chunk-3LBDJPNF.js";
|
|
24
24
|
import "../chunk-I7C27CDX.js";
|
|
25
25
|
import "../chunk-VBGWQ4DE.js";
|
|
@@ -28,10 +28,11 @@ import "../chunk-QQR6WAI4.js";
|
|
|
28
28
|
import "../chunk-6FLZBWVP.js";
|
|
29
29
|
import "../chunk-OODTVBCR.js";
|
|
30
30
|
import "../chunk-R5ODC3SO.js";
|
|
31
|
-
import "../chunk-
|
|
31
|
+
import "../chunk-GKABE5YN.js";
|
|
32
|
+
import "../chunk-J5ZJOPUX.js";
|
|
32
33
|
import "../chunk-EFNECK7N.js";
|
|
33
34
|
import "../chunk-NNT43L55.js";
|
|
34
|
-
import "../chunk-
|
|
35
|
+
import "../chunk-TMQI73PU.js";
|
|
35
36
|
import "../chunk-BRLBKYOJ.js";
|
|
36
37
|
export {
|
|
37
38
|
ValueSlider
|
package/dist/arrow/index.js
CHANGED
|
@@ -4,22 +4,22 @@ import {
|
|
|
4
4
|
ValueParam,
|
|
5
5
|
ValueSlider,
|
|
6
6
|
clampSnap
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-Z4N6QLGM.js";
|
|
8
8
|
import "../chunk-Q7FZPJAG.js";
|
|
9
9
|
import {
|
|
10
10
|
Switch,
|
|
11
11
|
SwitchGroup
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-FKH5A2YF.js";
|
|
13
13
|
import {
|
|
14
14
|
AudioSlider
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-ZBCOFTNV.js";
|
|
16
16
|
import {
|
|
17
17
|
Keys
|
|
18
|
-
} from "../chunk-
|
|
19
|
-
import "../chunk-
|
|
18
|
+
} from "../chunk-ZBJ4UU4O.js";
|
|
19
|
+
import "../chunk-XACTUMEI.js";
|
|
20
20
|
import {
|
|
21
21
|
Knob
|
|
22
|
-
} from "../chunk-
|
|
22
|
+
} from "../chunk-RS3CR6NF.js";
|
|
23
23
|
import "../chunk-EEZH4BF6.js";
|
|
24
24
|
import {
|
|
25
25
|
LevelMeter
|
|
@@ -27,27 +27,27 @@ import {
|
|
|
27
27
|
import "../chunk-CO2HHVIE.js";
|
|
28
28
|
import {
|
|
29
29
|
Multislider
|
|
30
|
-
} from "../chunk-
|
|
31
|
-
import "../chunk-
|
|
30
|
+
} from "../chunk-FOQP5P3S.js";
|
|
31
|
+
import "../chunk-O7TC24A3.js";
|
|
32
32
|
import {
|
|
33
33
|
ArrowRange
|
|
34
|
-
} from "../chunk-
|
|
34
|
+
} from "../chunk-AAW6ULHN.js";
|
|
35
35
|
import {
|
|
36
36
|
rangeTag
|
|
37
|
-
} from "../chunk-
|
|
37
|
+
} from "../chunk-JZLL2DCN.js";
|
|
38
38
|
import {
|
|
39
39
|
ArrowAudioSegment,
|
|
40
40
|
formatTimeLabel
|
|
41
|
-
} from "../chunk-
|
|
41
|
+
} from "../chunk-GEFIUWMJ.js";
|
|
42
42
|
import {
|
|
43
43
|
SegmentSlider,
|
|
44
44
|
Slider,
|
|
45
45
|
sliderTrackMetrics
|
|
46
|
-
} from "../chunk-
|
|
46
|
+
} from "../chunk-P4WKIVXE.js";
|
|
47
47
|
import {
|
|
48
48
|
isInteractive
|
|
49
49
|
} from "../chunk-HSQIBP76.js";
|
|
50
|
-
import "../chunk-
|
|
50
|
+
import "../chunk-LBB2A5KS.js";
|
|
51
51
|
import "../chunk-3LBDJPNF.js";
|
|
52
52
|
import {
|
|
53
53
|
noteName
|
|
@@ -58,10 +58,11 @@ import "../chunk-QQR6WAI4.js";
|
|
|
58
58
|
import "../chunk-6FLZBWVP.js";
|
|
59
59
|
import "../chunk-OODTVBCR.js";
|
|
60
60
|
import "../chunk-R5ODC3SO.js";
|
|
61
|
-
import "../chunk-
|
|
61
|
+
import "../chunk-GKABE5YN.js";
|
|
62
|
+
import "../chunk-J5ZJOPUX.js";
|
|
62
63
|
import "../chunk-EFNECK7N.js";
|
|
63
64
|
import "../chunk-NNT43L55.js";
|
|
64
|
-
import "../chunk-
|
|
65
|
+
import "../chunk-TMQI73PU.js";
|
|
65
66
|
import "../chunk-BRLBKYOJ.js";
|
|
66
67
|
export {
|
|
67
68
|
ArrowAudioSegment,
|
package/dist/arrow/keys-model.js
CHANGED
package/dist/badge.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import * as React from 'react';
|
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
|
|
5
5
|
declare const badgeVariants: (props?: ({
|
|
6
|
-
variant?: "default" | "
|
|
6
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
|
|
7
7
|
tone?: "neutral" | "info" | "positive" | "warning" | null | undefined;
|
|
8
8
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
9
|
declare function Badge({ className, variant, tone, asChild, ...props }: React.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
|
package/dist/body-selector.js
CHANGED
|
@@ -6,11 +6,12 @@ import {
|
|
|
6
6
|
BODY_ORDER,
|
|
7
7
|
BodySelector,
|
|
8
8
|
bodySelectorVariants
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-IKYB434Q.js";
|
|
10
|
+
import "./chunk-GKABE5YN.js";
|
|
11
|
+
import "./chunk-J5ZJOPUX.js";
|
|
11
12
|
import "./chunk-EFNECK7N.js";
|
|
12
13
|
import "./chunk-NNT43L55.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-TMQI73PU.js";
|
|
14
15
|
import "./chunk-BRLBKYOJ.js";
|
|
15
16
|
export {
|
|
16
17
|
BODY_DEFAULT_LABEL,
|
package/dist/button.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import * as React from 'react';
|
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
|
|
5
5
|
declare const buttonVariants: (props?: ({
|
|
6
|
-
variant?: "default" | "
|
|
6
|
+
variant?: "default" | "link" | "destructive" | "destructiveFilled" | "success" | "successOutlined" | "outline" | "outlineAccent" | "secondary" | "ghost" | "ghostToggle" | null | undefined;
|
|
7
7
|
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
8
8
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
9
|
declare function Button({ className, variant, size, asChild, children, ...props }: Omit<React.ComponentProps<'button'>, 'size'> & VariantProps<typeof buttonVariants> & {
|
|
@@ -22,11 +22,12 @@ function splitRoom(width, gap, groups, center, end) {
|
|
|
22
22
|
const room = width - 2 * gap - center - (end ?? 0) + (groups > 1 && end === null ? gap : 0);
|
|
23
23
|
return Math.max(0, room);
|
|
24
24
|
}
|
|
25
|
-
function FoldRow({ groups, center, end, gap = 8, slot = "fold-row", className, style }) {
|
|
25
|
+
function FoldRow({ groups, center, start, end, gap = 8, slot = "fold-row", className, style }) {
|
|
26
26
|
const rowRef = React.useRef(null);
|
|
27
27
|
const probeRef = React.useRef(null);
|
|
28
28
|
const endRef = React.useRef(null);
|
|
29
|
-
const
|
|
29
|
+
const startRef = React.useRef(null);
|
|
30
|
+
const split = center != null || end != null || start != null;
|
|
30
31
|
const [level, setLevel] = React.useState(0);
|
|
31
32
|
const n = groups.length;
|
|
32
33
|
const forced = groups.map((g) => g.fold);
|
|
@@ -37,7 +38,8 @@ function FoldRow({ groups, center, end, gap = 8, slot = "fold-row", className, s
|
|
|
37
38
|
const width = row.clientWidth - (parseFloat(getComputedStyle(row).paddingLeft) || 0) - (parseFloat(getComputedStyle(row).paddingRight) || 0);
|
|
38
39
|
if (width <= 0) return;
|
|
39
40
|
const centre = probe.querySelector("[data-probe-center]");
|
|
40
|
-
const
|
|
41
|
+
const lead = startRef.current ? startRef.current.offsetWidth + gap : 0;
|
|
42
|
+
const room = split ? Math.max(0, splitRoom(width, gap, n, centre?.offsetWidth ?? 0, endRef.current ? endRef.current.offsetWidth : null) - lead) : width;
|
|
41
43
|
const spans = probe.querySelectorAll("[data-probe]");
|
|
42
44
|
const full = [];
|
|
43
45
|
const small = [];
|
|
@@ -45,7 +47,7 @@ function FoldRow({ groups, center, end, gap = 8, slot = "fold-row", className, s
|
|
|
45
47
|
spans.forEach((s) => (s.dataset.probe === "full" ? full : s.dataset.probe === "small" ? small : folded).push(s.offsetWidth));
|
|
46
48
|
if (full.length !== n || small.length !== n || folded.length !== n) return;
|
|
47
49
|
setLevel(pickFold(full, small, folded, forced, room, gap));
|
|
48
|
-
}, [n, gap, forced.join(","), split, end != null]);
|
|
50
|
+
}, [n, gap, forced.join(","), split, end != null, start != null]);
|
|
49
51
|
React.useLayoutEffect(() => {
|
|
50
52
|
measure();
|
|
51
53
|
const row = rowRef.current;
|
|
@@ -55,6 +57,7 @@ function FoldRow({ groups, center, end, gap = 8, slot = "fold-row", className, s
|
|
|
55
57
|
ro.observe(row);
|
|
56
58
|
ro.observe(probe);
|
|
57
59
|
if (endRef.current) ro.observe(endRef.current);
|
|
60
|
+
if (startRef.current) ro.observe(startRef.current);
|
|
58
61
|
return () => ro.disconnect();
|
|
59
62
|
}, [measure]);
|
|
60
63
|
const probeStyle = { position: "absolute", left: 0, top: 0, width: "max-content", height: 0, overflow: "hidden", visibility: "hidden", pointerEvents: "none", whiteSpace: "nowrap" };
|
|
@@ -67,7 +70,10 @@ function FoldRow({ groups, center, end, gap = 8, slot = "fold-row", className, s
|
|
|
67
70
|
const cell = { display: "flex", alignItems: "center", gap, minWidth: 0 };
|
|
68
71
|
return /* @__PURE__ */ jsxs("div", { ref: rowRef, "data-slot": slot, "data-fold": level, className, style: split ? { position: "relative", display: "grid", gridTemplateColumns: "minmax(max-content, 1fr) minmax(0, max-content) minmax(max-content, 1fr)", alignItems: "center", columnGap: gap, minWidth: 0, ...style } : { position: "relative", display: "flex", alignItems: "center", justifyContent: n > 1 ? "space-between" : "flex-start", gap, minWidth: 0, ...style }, children: [
|
|
69
72
|
split ? /* @__PURE__ */ jsxs(Fragment2, { children: [
|
|
70
|
-
/* @__PURE__ */
|
|
73
|
+
/* @__PURE__ */ jsxs("span", { style: cell, children: [
|
|
74
|
+
start != null && /* @__PURE__ */ jsx("span", { ref: startRef, "data-slot": `${slot}-start`, style: { display: "inline-flex", alignItems: "center", gap: 8, flex: "none" }, children: start }),
|
|
75
|
+
n > 0 && group(0)
|
|
76
|
+
] }),
|
|
71
77
|
/* @__PURE__ */ jsx("span", { "data-slot": `${slot}-center`, style: { ...cell, justifyContent: "safe center", overflow: "hidden" }, children: center }),
|
|
72
78
|
/* @__PURE__ */ jsxs("span", { style: { ...cell, justifyContent: "flex-end" }, children: [
|
|
73
79
|
groups.slice(1).map((_, i) => group(i + 1)),
|
|
@@ -91,4 +97,4 @@ export {
|
|
|
91
97
|
splitRoom,
|
|
92
98
|
FoldRow
|
|
93
99
|
};
|
|
94
|
-
//# sourceMappingURL=chunk-
|
|
100
|
+
//# sourceMappingURL=chunk-23762AGO.js.map
|