Commit graph

821 commits

Author SHA1 Message Date
vezwork
2d3466ebfe Fix react fragments not having a key.
Co-authored-by: Or Fleisher <fleisher.or@gmail.com>
2022-06-28 11:14:41 -04:00
Andrew Prifer
b98c5d86b6
Fix editable TS (#235)
Fix primitive not being supported by the typings
2022-06-28 15:06:55 +00:00
Elliot
006121da91
Fix extension buttons spacing, add extension example (#229)
* Fix extension buttons spacing & styles
* Refactor extension button styles
* Clean up extension prism
2022-06-26 16:00:59 +00:00
Elliot
2854881e17
Add support for passing scalars to vector props (#228)
Co-authored-by: Andrew Prifer <AndrewPrifer@users.noreply.github.com>
2022-06-26 15:47:20 +00:00
Cole Lawrence
7b337a9731 doc(playground dev): Live reload README.md
Co-authored-by: Elliot <key.draw@gmail.com>
2022-06-24 09:52:56 -04:00
Cole Lawrence
39d897cd83 fix(SequenceEditor): horizontal scroll with shift in macOS Firefox 2022-06-24 09:52:56 -04:00
Cole Lawrence
977ddb6574 doc: Light doc comment for isPropConfigComposite 2022-06-24 09:52:56 -04:00
Cole Lawrence
df05be3c1e dev playground: Remove mention and dependency on vite 2022-06-24 09:52:56 -04:00
Cole Lawrence
2a93aa3cdc dev playground: Watch and rewrite custom index.html files 2022-06-24 09:52:56 -04:00
Cole Lawrence
aa60556046 dev: Playground "dom" offsets new boxes 2022-06-24 09:52:56 -04:00
Cole Lawrence
f70eea1c48 dev: Playground enable custom html landing page 2022-06-24 09:52:56 -04:00
Cole Lawrence
bbf7ee9244 style: Ensure consistent font-sizes for DetailPanel inputs 2022-06-24 09:52:56 -04:00
Cole Lawrence
28bd52d9e9 ux: color hex default to removeAlphaIfOpaque 2022-06-24 09:52:56 -04:00
Cole Lawrence
6dc68d9ae9 fix playground navigation by disabling live-reload for iframed 2022-06-22 14:58:15 -04:00
Cole Lawrence
92921734e9 docs: Remove redundant doc comment 2022-06-22 14:58:15 -04:00
Andrew Prifer
0e724d631d
Reference window fixes and improvements (#227) 2022-06-18 17:37:09 +02:00
Andrew Prifer
262d7d61d3
r3f fixes (#222)
* Minify r3f extension bundle, because it is expected by the React dead code elimination check, since we bundle React in it

* Add children to props, since it is required by React 18 types

* Fix getting context attributes for gl in ReferenceWindow

* Don't bundle threejs in extension

* Fix editor not responding to scene initialization

* Fix SnapshotEditor css
2022-06-18 00:59:45 +00:00
Cole Lawrence
16e255fd57
dev: Initial playground re-design (#218)
Improve the landing page for playground items.
2022-06-17 19:23:35 +00:00
Cole Lawrence
df692427ca dev: Build playground files much faster and add watch 2022-06-16 17:10:43 -04:00
Elliot
2c2e421382
Fix outline panel blocking clicks incorrectly (#223)
Co-authored-by: Fülöp Kovács <kovacs.fulop@gmail.com>
Co-authored-by: Cole Lawrence <cole@colelawrence.com>
2022-06-16 16:14:51 +02:00
Cole Lawrence
4e4b8f83e9
Disable usePresence flags by default (#226) 2022-06-16 11:59:09 +00:00
Cole Lawrence
e8c8168f0b
UX: Add "PresenceFlag" item indicators (usePresence) (#184)
* feat/dev: Add usePresence and enable for keyframes & keyframe cursors
 * Enable hovered styles for AggregateKeyframeDot
 * Enable hovered styles for graph editor keyframes
2022-06-15 11:36:57 +00:00
Cole Lawrence
87070bcdf3 dev playground: Start dev server even if first build is error + remove redundant error logs 2022-06-13 11:27:36 -04:00
Cole Lawrence
d4f572a744 feat: Add inline keyframe editing in graph editor 2022-06-13 10:03:09 -04:00
Andrew Prifer
c303748ca9 Fix transparencies in non-backdrop-blur browsers 2022-06-13 15:39:26 +02:00
Cole Lawrence
4d4d970278 dev playground: Support auto port assignment + refactor 2022-06-13 09:22:14 -04:00
Cole Lawrence
8f0f76df54 rename playground build.ts 2022-06-13 09:22:14 -04:00
Aria Minaei
1b36e8f6f9 Also highlight the hovered props in the sequence editor panel 2022-06-13 15:07:22 +02:00
Aria Minaei
4d92ad1932 Also highlight sheet objects 2022-06-13 15:07:22 +02:00
Aria Minaei
58bf030aaa Remove unused usePrism() 2022-06-13 15:07:22 +02:00
Aria Minaei
dc7e5a1128 Use text color rather than bg to highlight hovered props 2022-06-13 15:07:22 +02:00
Cole Lawrence
1b41f1afca feature: Add selecting a sheet object row via sequence editor 2022-06-13 15:07:22 +02:00
Cole Lawrence
0d9d78a032 docs: Remove useless/irrelevant comment 2022-06-13 15:07:22 +02:00
Cole Lawrence
ebf9b0e1cd dev: Remove unnecessary "files" field in tsconfig which screws with "Move to new file" refactor 2022-06-13 15:07:22 +02:00
Cole Lawrence
40d2c7fe04 docs: absoluteDims 2022-06-13 15:07:22 +02:00
Aria Minaei
c74aa1b930 Show hovered prop from sequence editor in details panel
* Remove an un-needed prism

Co-authored-by: Cole Lawrence <cole@colelawrence.com>
Co-authored-by: Aria Minaei <aria.minaei@gmail.com>
2022-06-13 15:07:22 +02:00
Andrew Prifer
162174568b
Replace Vite with ESBuild for the playground (#213) 2022-06-13 12:47:07 +00:00
Fülöp Kovács
a6951effd8 Rename the Test job from compatibility-tests to avoid name collision with another job in the main workflow 2022-06-13 12:20:18 +01:00
Andrew Prifer
8ef99aef1b Revert "Fix popover behavior when open and clicking on trigger"
This reverts commit 935ac36467.
2022-06-10 21:27:02 +02:00
Andrew Prifer
935ac36467 Fix popover behavior when open and clicking on trigger 2022-06-10 21:26:09 +02:00
Andrew Prifer
f2673b91fe
Fix useFrameStampPositionRef (#209) 2022-06-10 17:56:35 +02:00
Andrew Prifer
34c7b06baf
Improve dom example performance (#208)
Apply animation in dom example in a performant way
2022-06-10 15:27:33 +02:00
Aria
4215d561d0
Upgrade percy (#207) 2022-06-10 13:16:34 +02:00
Cole Lawrence
f1844952ea
Add initial tools for managing derivations and React compatibility (#202)
Co-authored-by: Cole Lawrence <cole@colelawrence.com>
Co-authored-by: Elliot <key.draw@gmail.com>
Co-authored-by: Aria <aria.minaei@gmail.com>
2022-06-09 19:12:40 +02:00
Elliot
bebf281517
Fix process.env.version in browser-bundles (#206)
* Fix `process.env.version` in browser-bundles

- also fix tsdoc warns in mjs files

Co-authored-by: Fülöp Kovács <kovacs.fulop@gmail.com>
Co-authored-by: Cole Lawrence <cole@colelawrence.com>

* Change to `process.env.THEATRE_VERSION`

Co-authored-by: Fülöp Kovács <kovacs.fulop@gmail.com>
Co-authored-by: Cole Lawrence <cole@colelawrence.com>
2022-06-09 19:05:25 +02:00
Fülöp Kovács
d7fc381137 Make the keyframes dots smaller on hover 2022-06-08 19:12:05 +02:00
Fülöp Kovács
9b3031f0cc Make the dot bigger when the inline editor popover is open 2022-06-08 19:12:05 +02:00
Fülöp Kovács
6c943e176d Use a different color when a keyframe is selected AND the inline editor popup is open 2022-06-08 19:12:05 +02:00
Fülöp Kovács
5ce01e8350 Add initial solution for highlighting the keyframe that is being edited in the inline editor popup 2022-06-08 19:12:05 +02:00
Andrew Prifer
a90aee96f5
Fix aggregate keyframe dragging stopping in an edge case when the key for the drag element changes (#189)
Co-authored-by: Cole Lawrence <cole@colelawrence.com>
2022-06-08 18:57:58 +02:00