Commit graph

154 commits

Author SHA1 Message Date
Aria Minaei
1b85707833 Bugfix: Only fall back to default value if sanitizer returns undefined
Fixes #72
2022-02-09 20:48:42 +01:00
Andrew Prifer
eff1f158bc Provide high level description for the 4 packages 2022-01-19 15:55:36 +01:00
Aria Minaei
2ddd3a1259 0.4.8-dev.2 2021-12-17 17:38:29 +00:00
Aria Minaei
607d6afe2b 0.4.8-dev.1 2021-11-25 18:39:17 +01:00
Aria Minaei
c9fe91db30 Done: refactor sequencing non-scalars 2021-11-14 21:28:07 +01:00
Aria Minaei
4ec6dd1181 WIP: refactor sequencing non-scalars 2021-11-14 20:03:16 +01:00
Aria Minaei
67b8a708dc Refactored getArrayOfValidSequenceTracks() 2021-11-14 17:09:21 +01:00
cory-glooh
4a65c6e91c
All prop sequencing (#48) 2021-11-02 14:50:08 +01:00
Aria Minaei
76533d9f82 0.4.7 2021-10-14 18:48:21 +02:00
Aria Minaei
de6161e1cc 0.4.7-rc.1 2021-10-08 11:42:14 +02:00
Aria Minaei
7c0765bff2 Implemented sequence.pointer
This enables observing and reacting to changes to the position of the sequence, as well as its length and playback state.

API docs: https://docs.theatrejs.com/api/core.isequence.pointer.html

Fixes #20

Also provides a stop-gap solution to #32 until we have the API in place.
2021-10-08 11:32:24 +02:00
Aria Minaei
14173fde0a Formatting changes for api docs 2021-10-04 10:39:12 +02:00
Aria Minaei
69c6aa9af2 Lint rule changes 2021-10-02 14:12:25 +02:00
Aria Minaei
90520dfb25 Started adopting api-extractor 2021-10-02 13:48:02 +02:00
Aria Minaei
4b2a6471dc 0.4.6 2021-10-01 17:49:04 +02:00
Aria Minaei
76a3e53078 Formatting 2021-10-01 17:48:29 +02:00
Or Fleisher
9c5906cce9 Remove NODE_ENV conditional so it shows sequence timeline when NODE_ENV is production too 2021-10-01 11:30:18 -04:00
Aria Minaei
c439cfe947 Updated README 2021-10-01 12:38:43 +02:00
Aria Minaei
0eec2041a3 0.4.5 2021-10-01 12:35:50 +02:00
Aria Minaei
3d56f236e1 0.4.5-dev.3 2021-10-01 12:34:11 +02:00
Aria Minaei
f3367f0719 0.4.5-dev.2 2021-10-01 12:32:38 +02:00
Aria Minaei
c666e69807 Documentation 2021-10-01 11:04:52 +02:00
Aria Minaei
fcfe2cbef4 0.4.5-dev.1 2021-10-01 10:54:49 +02:00
Aria Minaei
4bf6f78a00 Exposed a GainNode from sequence.attachAudio() 2021-10-01 10:46:47 +02:00
Aria Minaei
b3945e2a61 0.4.4 2021-09-30 22:02:45 +02:00
Aria Minaei
4a12a92428 0.4.3 2021-09-30 10:29:39 +02:00
Aria Minaei
995dcd97aa Temporarily allow only number props to be sequenced 2021-09-27 16:37:18 +02:00
Aria Minaei
3f0556b9eb sequence.attachAudio() now accepts any AudioNode as destination 2021-09-27 16:36:06 +02:00
Aria Minaei
2c4b317934 0.4.2 2021-09-22 21:18:48 +02:00
Aria Minaei
6b99022220 sequence.attachAudio() now handles autoplay blocking 2021-09-22 13:32:59 +02:00
Aria Minaei
2232fe5662 0.4.1 2021-09-21 21:25:28 +02:00
Aria Minaei
fe4010c2c6 Properly handle sequence.play({range}) for range[0] > 0.
Fixes #15
2021-09-21 21:22:47 +02:00
Aria Minaei
f48038d649 0.4.0 2021-09-20 11:20:50 +02:00
Aria Minaei
631bcba724 More docs and annotations 2021-09-18 21:43:29 +02:00
Aria Minaei
d7542883f7 More docs 2021-09-18 16:31:05 +02:00
Aria Minaei
378d9b7abf 0.4.0-dev.20 2021-09-17 17:32:02 +02:00
Aria Minaei
385895112b More arg validation rules 2021-09-17 15:41:39 +02:00
Aria Minaei
eb695a1c91 Fixed the tests 2021-09-17 15:37:34 +02:00
Aria Minaei
7815fb2dc3 More API docs 2021-09-17 14:58:26 +02:00
Aria Minaei
a86e220bdc 0.4.0-dev.19 2021-09-14 12:43:58 +02:00
Aria Minaei
bbf77123b2 0.4.0-dev.18 2021-09-13 19:17:34 +02:00
Aria Minaei
d887dad5d4 Allowed shorter instanceId strings 2021-09-13 19:16:58 +02:00
Aria Minaei
a1712fce4a 0.4.0-dev.17 2021-09-13 18:50:52 +02:00
Aria Minaei
46f13759e5 0.4.0-dev.16 2021-09-13 18:06:01 +02:00
Aria Minaei
e3264264bc Turned IPlaybackRange into a tuple 2021-09-13 17:05:57 +02:00
Aria Minaei
b5fa729e5d 0.4.0-dev.15 2021-09-06 21:13:20 +02:00
Aria Minaei
713c6cacd7 Allowed re-calling sheet.object() with shorthand props again 2021-09-06 21:11:15 +02:00
Aria Minaei
f6cf3711f4 More progress on shorthand types 2021-09-06 11:26:00 +02:00
Aria Minaei
aefb769855 More progress on shorthand props 2021-09-06 11:05:35 +02:00
Aria Minaei
2f44f53021 Started implementing shothand prop types 2021-09-06 10:53:36 +02:00
Aria Minaei
0ff68e5dbf 0.4.0-dev.14 2021-09-05 18:01:43 +02:00
Aria Minaei
4284f80930 Fixed the build 2021-09-05 18:01:04 +02:00
Aria Minaei
e201eeee5b More progress with docs 2021-09-05 13:40:15 +02:00
Aria Minaei
5d63ce4f3e Progress on docs 2021-09-04 17:08:51 +02:00
Aria Minaei
a3bec04088 Added some railguards to the API 2021-09-03 21:20:05 +02:00
Aria Minaei
adcd1ce848 Implemented Sequence.attachAudio() 2021-09-03 14:02:02 +02:00
Aria Minaei
3cd126186e Sequence bugfixes and documentation
* The alternate playback directions now work
* Clicking outside the playable area no longer raises errors
* Documented the playback API
2021-09-03 13:15:04 +02:00
Aria Minaei
46f19dddbc 0.4.0-dev.13 2021-09-02 12:20:14 +02:00
Aria Minaei
6b373ccae5 Removed nativeObject from the API 2021-09-02 10:26:39 +02:00
Aria Minaei
b63fcb9f1e 0.4.0-dev.12 2021-09-02 09:51:13 +02:00
Aria Minaei
a8df97a06a API naming tweaks 2021-09-01 10:36:44 +02:00
Aria Minaei
36017c6a73 Nudging behavior on number props can now be customized 2021-08-22 12:58:38 +02:00
Aria Minaei
93f4500b20 User can now choose to override browser's state from that of disk's, or vice versa 2021-08-09 22:34:56 +02:00
Aria Minaei
f08d9bf9c1 Simplified export bookkeeping 2021-08-09 21:50:12 +02:00
Aria Minaei
d46e0bfd2f All keyframe operations now snap to the frame grid 2021-08-09 11:31:37 +02:00
Aria Minaei
456e281954 0.4.0-dev.11 2021-08-08 10:34:38 +02:00
Aria Minaei
bafa819b39 0.4.0-dev.10 2021-08-07 23:39:55 +02:00
Aria Minaei
2a57433bf6 0.4.0-dev.9 2021-08-07 23:35:32 +02:00
Aria Minaei
f4f33dcd8d Still trying to get cra to play nice with theatre 2021-08-07 23:24:37 +02:00
Aria Minaei
824fdd6843 Progress with cra 2021-08-07 22:30:29 +02:00
Aria Minaei
1497eaf610 WIP: Getting r3f to work with create-react-app
* Temporarily disabled ESM bundles because the current setup confuses webpack4 (but not parceljs). Since create-react-app uses webpack4, not doing this would make theatre incompatible with CRA.
2021-08-07 21:41:07 +02:00
Aria Minaei
d93b1a18d2 0.4.0-dev.8 2021-08-06 11:47:08 +02:00
Aria Minaei
8754de9e7f Added prettier to yarn deploy 2021-08-06 11:44:20 +02:00
Aria Minaei
8a06f216a0 $'0.4.0-dev.7' 2021-08-05 23:38:28 +02:00
Aria Minaei
6e87323d7a 0.4.0-dev.6 2021-08-05 14:14:14 +02:00
Aria Minaei
efad07011a 0.4.0-dev.5 2021-08-05 13:40:25 +02:00
Aria Minaei
c2b5dca63b Simplified the deployment script
* Implemented yarn run deploy, which deploys all packages to npm, with the same version assigned to all of them.
2021-08-04 21:51:25 +02:00
Aria Minaei
6d52d5d485 UX improvements
* SequenceLengthIndicator has a cleaner look
* It displays the time in the basic format now
2021-08-02 14:43:08 +02:00
Aria Minaei
2daa270879 UX improvements
* When clicking on empty space in the snapshot editor, the selection reverts to the sheet containing the scene
2021-07-31 15:10:08 +02:00
Aria Minaei
a695f3a1d6 Update docs links 2021-07-31 13:38:53 +02:00
Aria Minaei
232ffa7836 Range indicator for the number editor 2021-07-16 11:08:39 +02:00
Aria Minaei
64273366ed Put SnapshotEditor inside a Pane 2021-07-14 18:37:32 +02:00
Aria Minaei
921bc44270 Implement studio.globalToolbar 2021-07-13 16:13:15 +02:00
Aria Minaei
47ca0a10f3 Changes to prop editors' theme 2021-07-07 16:37:32 +02:00
Aria Minaei
a4f83e0f84 Implemented types.stringLiteral(.., {as}) 2021-07-06 21:58:38 +02:00
Aria Minaei
97ce94d52a Made signature of types.stringLiteral() a bit more ergonomic 2021-07-06 16:50:43 +02:00
Aria Minaei
d1b2787809 Fix: Fixed the regression from last commit 2021-07-03 15:40:58 +02:00
Aria Minaei
2a671b129d Chore: Simplified ISheet's signature 2021-07-03 15:36:00 +02:00
Aria Minaei
4038ad34a4 New: Implement propTypes.stringLiteral() 2021-07-03 15:03:52 +02:00
Aria Minaei
08759e2d5c New: Make SheetObject an IdentityChangeProvider 2021-07-02 20:27:10 +02:00
Aria Minaei
4ac12abb58 Chore: Moved propTypes to @theatre/core 2021-07-02 11:44:07 +02:00
Aria Minaei
14b3207680 Build: Add a commonjs bundle to dataverse 2021-06-28 16:37:02 +02:00
Aria Minaei
634670e997 Chore: Bump versions 2021-06-28 16:08:20 +02:00
Aria Minaei
1724e2f030 Build: streamlined npm publish 2021-06-28 13:35:06 +02:00
Aria Minaei
dfcd2814ae Build: Implemented theatre.update-versions script 2021-06-28 12:37:10 +02:00
Aria Minaei
1ba89d76e1 Fix: Moved privateAPI() to the core package 2021-06-27 13:46:14 +02:00
Aria Minaei
47f7da157a Fix: Packages no longer point to their minified
bundle for the browser.
2021-06-27 13:45:21 +02:00
Aria Minaei
385cfad9aa Chore: Using named type imports now 2021-06-27 13:43:39 +02:00
Aria Minaei
4be5c8f008 Docs: Added more details to @theatre/core|studio/README.md 2021-06-25 15:12:03 +02:00
Aria Minaei
6596c811d7 Build: The bundle script now generates multiple bundles for different formats 2021-06-21 14:05:48 +02:00