Commit graph

290 commits

Author SHA1 Message Date
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
3e71d6dacc Removed dead code 2021-10-02 12:32:40 +02:00
Aria Minaei
4b2a6471dc 0.4.6 2021-10-01 17:49:04 +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
fcfe2cbef4 0.4.5-dev.1 2021-10-01 10:54:49 +02:00
Aria Minaei
972be000c8 Updated playground 2021-10-01 10:53:48 +02:00
Aria Minaei
b3945e2a61 0.4.4 2021-09-30 22:02:45 +02:00
Aria Minaei
097ff51a7a Implemented @theatre/browser-bundles 2021-09-30 21:58:22 +02:00
Aria Minaei
4a12a92428 0.4.3 2021-09-30 10:29:39 +02:00
Aria Minaei
2c4b317934 0.4.2 2021-09-22 21:18:48 +02:00
Aria Minaei
2232fe5662 0.4.1 2021-09-21 21:25:28 +02:00
Aria Minaei
bfaac10632 Fixed dependency typo, based on #13 2021-09-21 21:24:11 +02:00
Aria Minaei
fe4010c2c6 Properly handle sequence.play({range}) for range[0] > 0.
Fixes #15
2021-09-21 21:22:47 +02:00
Nikhil Saraf
769eefb5e5
Fix type in peer deps "raect-dom" -> "react-dom"
Fix type in peer deps "raect-dom" -> "react-dom"
2021-09-20 12:01:18 -07: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
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
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
eea1f424fc Minor changes 2021-09-12 21:21:49 +02:00
Aria Minaei
b5fa729e5d 0.4.0-dev.15 2021-09-06 21:13:20 +02:00
Aria Minaei
f6cf3711f4 More progress on shorthand types 2021-09-06 11:26:00 +02:00
Aria Minaei
4f66d57cf8 Renamed @theatre/plugin-r3f to @theatre/r3f 2021-09-06 10:19:10 +02:00
Aria Minaei
03a2f26686 Added README.md for @theatre/r3f 2021-09-06 10:17:09 +02:00
Aria Minaei
be1e19036c Renamed the "snapshotEditor" pane to "snapshot" 2021-09-05 23:37:29 +02:00
Aria Minaei
5295f9ae91 r3f sheets are now re-usable 2021-09-05 23:33:17 +02:00
Aria Minaei
7af470a053 Made the extension mechanism in r3f explicit 2021-09-05 23:24:53 +02:00
Aria Minaei
2605401e06 Added support for multiple sheets in r3f 2021-09-05 23:21:18 +02:00
Aria Minaei
1452c9ebbe Renamed @theatre/dataverse-react to @theatre/react 2021-09-05 23:07:02 +02:00
Aria Minaei
69a12440ca Preparing to support multiple sheets in r3f 2021-09-05 23:03:34 +02:00
Aria Minaei
2ecf690a66 Fixed the dom playground 2021-09-05 22:16:14 +02:00
Aria Minaei
0ff68e5dbf 0.4.0-dev.14 2021-09-05 18:01:43 +02:00
Aria Minaei
400b55bf09 Bugfix 2021-09-05 17:45:51 +02:00
Aria Minaei
9955730876 API tweaks 2021-09-03 19:29:21 +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
5d37c15173 Upgrade deps 2021-09-01 10:41:54 +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
72d40bf204 Project conflict indicators in outline panel
* OutlinePanel has a badge showing the number of conflicting projects
* Each project list item gets a highlight if it has conflicts
* Refactored Popover to prepare to merge it with tooltips
2021-08-12 11:52:23 +02:00
Aria Minaei
e6a4f3ae3f Implemented useRefreshSnapshot() and <RefreshSnapshot /> 2021-08-08 22:38:03 +02:00
Aria Minaei
d1fb0300e0 R3F now uses a single sheet in studio 2021-08-08 22:25:48 +02:00
Aria Minaei
b08588e9d6 Extensions can now use studio's project for editing-related objects. 2021-08-08 21:33:10 +02:00
Aria Minaei
456e281954 0.4.0-dev.11 2021-08-08 10:34:38 +02:00
Aria Minaei
99f8e51ae8 Fixed the dependency ranges in manifests 2021-08-08 10:33:13 +02:00
Aria Minaei
7bc23d19e6 Better default position for SnapshotEditor's camera 2021-08-08 10:25:11 +02:00
Aria Minaei
1916747e8b Upgrade typescript 2021-08-08 10:12:23 +02:00
Aria Minaei
bafa819b39 0.4.0-dev.10 2021-08-07 23:39:55 +02:00
Aria Minaei
fee173d09f Removed prepack scripts
They're not needed, as everything is built from yarn deploy
2021-08-07 23:38:24 +02:00
Aria Minaei
2a57433bf6 0.4.0-dev.9 2021-08-07 23:35:32 +02:00
Aria Minaei
54480555a1 Added the option to only bundle js in yarn deploy 2021-08-07 23:35:11 +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
7c759f2f6d Made plugin-r3f render on demand 2021-08-07 21:17:29 +02:00
Aria Minaei
816e67a814 Stronger visual feedback for keyframe snapping 2021-08-07 11:18:01 +02:00
Aria Minaei
f4c2fb2a08 Moved examples to a separate folder 2021-08-06 12:00:19 +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
327298f089 Corrected plugin-r3f's deps 2021-08-06 11:43:33 +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
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
274022100a Removed cam.aspect from the props 2021-07-30 16:31:40 +02:00
Aria Minaei
65463dfdc6 deprecate bindToCanvas() in favor of <Wrapper> 2021-07-30 16:31:18 +02:00
Aria Minaei
e108caee93 Added other props to SnapshotEditor Camera 2021-07-30 12:14:47 +02:00
Aria Minaei
215cd880f0 UX Improvements
* The cam state of SnapshotEditor cameras now persist
* Title bar for the prop editor
* Cleaned up the toolbar
2021-07-30 10:59:59 +02:00
Aria Minaei
da230fbacc Style tweaks 2021-07-23 14:04:01 +02:00
Aria Minaei
2a773b4100 Housekeeping 2021-07-22 22:11:26 +02:00
Aria Minaei
1444c61d64 Moved all of r3f's UI elements to Studio 2021-07-22 21:56:45 +02:00
Aria Minaei
ff0f8d557b Implement ToolbarSwitchSelect 2021-07-22 21:53:56 +02:00
Aria Minaei
20603afd40 Implement ToolbarIconButton 2021-07-22 21:26:34 +02:00
Aria Minaei
a11918fc20 Better BG for the space playground 2021-07-22 21:25:50 +02:00
Aria Minaei
067a7cb145 Various improvements to SnapshotEditor 2021-07-16 15:06:15 +02:00
Aria Minaei
3aa73b66ff Fix type errors 2021-07-16 11:25:03 +02:00
Aria Minaei
232ffa7836 Range indicator for the number editor 2021-07-16 11:08:39 +02:00
Aria Minaei
ea66855e01 Typo 2021-07-16 09:58:48 +02:00
Aria Minaei
cf99805f89 Added another example 2021-07-15 15:19:56 +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
86547aa4cb Moved r3f's toolbar out of the snapshot editor 2021-07-10 12:15:27 +02:00
Aria Minaei
230225ed2c Group editor's props into compound props (r3f) 2021-07-07 16:39:53 +02:00
Aria Minaei
b89942dbff Minor change to discoveryMechanism's api 2021-07-07 11:50:23 +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
dc69628eac Remove ReferenceWindow from r3f 2021-07-05 18:43:48 +02:00
Aria Minaei
22cb5542bc Disabled orbit control damping in r3f 2021-07-05 18:39:57 +02:00
Aria Minaei
1886d6ba94 Fix the build 2021-07-05 15:23:54 +02:00
Aria Minaei
1cff694df2 Perf tweak 2021-07-05 15:23:44 +02:00
Aria Minaei
055c5392b9 Fix the infinite loop in dataverse-react 2021-07-05 00:30:16 +02:00
Aria Minaei
8395e44614 Finished switching to styled-components in r3f 2021-07-04 20:37:55 +02:00
Aria Minaei
596b7e9d81 Migrated more of r3f to styled-components 2021-07-04 19:49:36 +02:00
Aria Minaei
b109dca19b Started using styled-components in r3f 2021-07-04 19:14:00 +02:00
Aria Minaei
16434644dc Removed more unused code from r3f 2021-07-04 18:23:27 +02:00
Aria Minaei
532e24e691 Removed the open/close button from r3f 2021-07-04 18:11:43 +02:00
Aria Minaei
d0c4dd4ec7 Removed a bunch of unused code from r3f 2021-07-04 18:07:24 +02:00
Aria Minaei
2a671b129d Chore: Simplified ISheet's signature 2021-07-03 15:36:00 +02:00
Aria Minaei
d161703c20 Chore: Simplified r3f a little bit 2021-07-03 15:16:18 +02:00
Aria Minaei
ffb8a24f07 Chore: Moved r3f's viewportShading to Theatre 2021-07-03 15:08:14 +02:00
Aria Minaei
89913ac51f Chore: Moved r3f's transformControls* to Theatre 2021-07-03 15:04:06 +02:00
Aria Minaei
9809042762 Chore: Moved r3f's referenceWindowSize to Theatre 2021-07-03 13:36:47 +02:00
Aria Minaei
20b57011c3 Chore: Moved r3f's showOverlayGrid to Theatrte 2021-07-03 13:28:35 +02:00
Aria Minaei
8472cf259c Chore: Moved r3f's showGrid to Theatre 2021-07-03 13:24:39 +02:00
Aria Minaei
399c12f2d1 Chore: Moved r3f's showAxes to Theatre 2021-07-03 13:20:40 +02:00
Aria Minaei
d0e9d357e7 Chore: r3f only uses Theatre's selections now 2021-07-03 13:14:47 +02:00
Aria Minaei
160448ec29 Use types.boolean() for booleans in r3f 2021-07-02 20:47:54 +02:00
Aria Minaei
001c50c13d New: Improve the type of val() 2021-07-02 20:47:25 +02:00
Aria Minaei
6ac6aa87d7 New: Store the editorOpen state in Theatre 2021-07-02 20:43:25 +02:00
Aria Minaei
7bba9797cd New: Allow dataverse users to create their
own IdentityDerivationProviders
2021-07-02 20:26:47 +02:00
Aria Minaei
6ebaad747d New: Refactored reactDataverse into a package 2021-06-29 16:40:54 +02:00
Aria Minaei
06ff052797 WIP: Move r3f's UI state to Theatre - 1 2021-06-29 16:00:27 +02:00
Aria Minaei
636e7fe82a Chore: Simplified object config in r3f 2021-06-29 15:47:27 +02:00
Aria Minaei
d416da5a2f Chore: Small refactor of r3f's store 2021-06-29 15:39:47 +02:00
Aria Minaei
94261107fb Chore: Removed more unused code from r3f 2021-06-29 15:15:14 +02:00
Aria Minaei
02d5f6c9c4 Chore: Removed some unused code 2021-06-29 15:08:02 +02:00
Aria Minaei
040317f53b Chore: Removed file-saver from plugin-r3f 2021-06-29 15:00:20 +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
2342e83d49 Chore: Removed the "source" field from manifests 2021-06-28 12:30:36 +02:00
Aria Minaei
6e19c51998 Chore: Upgraded example-dom to use the new API 2021-06-27 13:41:17 +02:00
Aria Minaei
1387ac5b21 Chore: Removed a simple indirection. 2021-06-27 13:38:18 +02:00
Aria Minaei
1e52c7de7e Fix: Dataverse.isPointer() returns a bool now 2021-06-27 13:37:10 +02:00
Aria Minaei
0dfe630a4f Fix: Dataverse now disallows parceljs to recompile
its source files.
2021-06-27 13:35:35 +02:00
Aria Minaei
7c3095ac5a Chore: Marked the playground package as private 2021-06-25 14:36:50 +02:00
Aria Minaei
6596c811d7 Build: The bundle script now generates multiple bundles for different formats 2021-06-21 14:05:48 +02:00
Aria Minaei
7c2e12c233 (WIP) Switch the rest of the build setup to esbuild - 1 2021-06-18 21:03:44 +02:00
Aria Minaei
39a2645d65 Simplify project config 2021-06-18 20:35:01 +02:00
Aria Minaei
c72647c1e5 Update package.json files 2021-06-18 19:54:35 +02:00
Aria Minaei
0d2ae56519 Fix some spelling mistakes 2021-06-18 14:32:01 +02:00
Aria Minaei
4a7303f40a Initial OSS commit 2021-06-18 13:05:06 +02:00