Commit graph

624 commits

Author SHA1 Message Date
Cole Lawrence
b10ae71b92
Fix example code in doc 2022-04-22 14:08:11 -04:00
Don McCurdy
dfd88c6b1e
Bump 'react-shadow' to v19.0.3 (#123) 2022-04-22 18:05:21 +02:00
Andrew Prifer
39da042edc
Fix various issues with the build system (#129)
* Fix react-icons breaking in CRA 5 for some reason

* Replace fuzzysort with fuzzy so we don't break Webpack

Webpack messes up esbuild’s internal modules if the inlined module is an AMD module. Check any new dep you add if it is an AMD module.

* Inline dataverse deps.

Mainly because the CJS build consuming the ESM lodash-es broke some bundlers.

* react-icons fix nr 2

* Stop eslint breaking in CRA 5

* Update r3f-cra example to CRA 5 and fix double-bundling react & co

* Fix r3f tree-shaking and switch to ESM only output

* Make r3f example shake studio and its extension in prod

* Examples have separate and wildly differing build setups so remove them from the pre-commit hook linting

* Update out-of-date yarn.lock
2022-04-21 22:03:51 +02:00
Aria Minaei
f2089302d5 Fix the horizontal misalignment bug in Firefox 2022-04-21 07:52:49 +02:00
Cole Lawrence
9f46a0b78f
Merge pull request #127 from theatre-js/dev/cl-2022-04/refactors-docs
Dev/cl 2022 04/refactors docs
2022-04-20 12:18:42 -04:00
Cole Lawrence
7c098c4655 Fix typo to permanentlySetValue 2022-04-20 11:32:22 -04:00
Cole Lawrence
0ccb9b2386 doc: Internals IShorthandProp 2022-04-20 11:25:41 -04:00
Cole Lawrence
ec287b9069 Rename useCursorLock useCssCursorLock + add docs 2022-04-20 11:25:08 -04:00
Cole Lawrence
9c3179b4b7 questions, cleaning, fix _sanitizeRgba undefined 2022-04-20 11:23:29 -04:00
Cole Lawrence
8554c7b78c docs: Add some questions surrounding playhead snapping
* See https://www.notion.so/theatrejs/dragging-from-playhead-does-not-snap-dadac4fa755149cebbcb70a655c3a0d5
2022-04-20 11:23:29 -04:00
Cole Lawrence
48d0d18e10 Fix playground html dom tags 2022-04-20 11:23:29 -04:00
Aria Minaei
567c83f957 Style tweaks to the color picker
(temporary, until Mariusz re-works the color picker)
2022-04-20 12:52:54 +02:00
Aria Minaei
a2cee85ee8 @theatre/r3f 0.4.0-dev.23 2022-04-15 16:54:16 +02:00
Aria Minaei
5ab47c2ad2 0.4.8-dev.3 2022-04-15 13:28:14 +02:00
Aria Minaei
c1cd25b906 Rename NonCompound to Simple
https://github.com/theatre-js/theatre/pull/118#discussion_r846633461
2022-04-10 20:51:45 +02:00
Aria Minaei
a5cf72cd57 Add comments to cloneDeepSerializable()
https://github.com/theatre-js/theatre/pull/118#discussion_r846635429
2022-04-10 20:36:10 +02:00
Aria Minaei
679629def8 Clarify a line
https://github.com/theatre-js/theatre/pull/118#discussion_r846634812
2022-04-10 20:16:32 +02:00
Aria Minaei
b2714ca876 Change all typeof x === 'undefined' to x === undefined`
https://github.com/theatre-js/theatre/pull/118#discussion_r846634374
2022-04-10 20:13:53 +02:00
Aria Minaei
f3dfb7cedb Add comments to Interpolator<T>
https://github.com/theatre-js/theatre/pull/118#discussion_r846632746
2022-04-10 20:03:49 +02:00
Aria Minaei
86cdbdb48c Rename stringLiteral.opts to valuesAndLabels
so it is not confused with `opts` from all other prop configs.

https://github.com/theatre-js/theatre/pull/118#discussion_r846632293
2022-04-10 19:57:13 +02:00
Aria Minaei
65f9f1c850 Rename deserialize() to deserializeAndSanitize()
https://github.com/theatre-js/theatre/pull/118#discussion_r846631233
2022-04-10 19:47:59 +02:00
Aria Minaei
8aff8ba86d Small refactor
https://github.com/theatre-js/theatre/pull/118#discussion_r846630857
2022-04-10 19:39:28 +02:00
Aria Minaei
225efe1329 More comments for prop configs
https://github.com/theatre-js/theatre/pull/118#discussion_r846630645
2022-04-10 19:34:56 +02:00
Aria Minaei
df188da2aa Small refactor
https://github.com/theatre-js/theatre/pull/118#discussion_r846630232
2022-04-10 19:18:54 +02:00
Aria
dd7c789ad8
Small tweaks to the top of README.md 2022-04-10 19:09:56 +02:00
Aria Minaei
2c7591b589 Added remark about handling class instances ...
when validating `value` in `transactionApi.set(pointer, value)` where `pointer` points to a compound prop.

https://github.com/theatre-js/theatre/pull/118#discussion_r846629352
2022-04-09 17:32:36 +02:00
Aria Minaei
64874d644b Add comments to validateCommonOpts() 2022-04-09 17:12:52 +02:00
Aria Minaei
72ada325be Clarify the remark about the Pointer<O> type
https://github.com/theatre-js/theatre/pull/118#discussion_r846628315
2022-04-09 17:09:51 +02:00
Aria Minaei
bd8999f0f2 Deprecate OpaqueToPointers for now
https://github.com/theatre-js/theatre/pull/118#discussion_r846628039
2022-04-09 17:08:08 +02:00
Aria Minaei
c9959b9541 More lint fixes 2022-04-09 15:30:20 +02:00
Aria Minaei
2c238f40fd Couple of lint fixes 2022-04-09 15:26:01 +02:00
Aria Minaei
ccb52d4882 Disallow lint warnings in GH action 2022-04-09 15:24:15 +02:00
Aria
16c070b6e9
Standardize handling of non-compound types (#118) 2022-04-09 15:02:39 +02:00
Cole Lawrence
77c7fc969f
Update GET_STARTED.md (#119) 2022-04-06 19:45:49 +02:00
Fulop
949fe935cb
Improve the documentation of dataverse (#116) 2022-04-06 17:28:08 +02:00
vezwork
978de3b735 fix readme header link theatrejs.com image 2022-04-05 14:17:44 -04:00
vezwork
1beeb27d9d try a fix for readme logo for dark mode 2 2022-04-05 14:15:01 -04:00
vezwork
c6b6a17db8 try a fix for readme logo for dark mode 2022-04-05 14:09:44 -04:00
Elliot
0cc4f795a1
README: add theatre logo. Add/fix social links (#113)
* add theatre logo. Add/fix social links

* remove styles that don't work in github md

* Add more detailed getting started links to README

* change github links to use theatre-js org and autoformat
2022-04-05 13:29:40 -04:00
Don McCurdy
f1a1f48c0f
OutlinePanel: Display object list in A-Z order (#115) 2022-03-31 17:30:31 +02:00
Elliot
2bf081478f
Fix keyframe pasting to respect interpolation graph (#107) 2022-03-25 18:06:20 +01:00
Fulop
ffdebebfff
Add focus range (#94) 2022-03-25 16:44:18 +01:00
Elliot
8a9b26eb41
Add keyframe copy and paste draft (#105)
* Add keyframe copy and paste draft

Author:    vezwork <elliot@theatrejs.com>
Date:      Mon Mar 21 15:48:06 2022 -0400

* add first pass for copy and paste keyframes

Author:    vezwork <elliot@theatrejs.com>
Date:      Tue Mar 22 10:35:17 2022 -0400

* add clipboard with keyframes to ahistoric data

* Refactor keyframe context menu

* fix type error

* refactor context menus

* cleanup small bits of code

* reorder function defs

* Add connector copy keyframes and fix highlight left margin

* modify keyframe positioning

Co-authored-by: Elliot <elliot@Elliots-MacBook-Pro.local>
2022-03-24 12:28:17 -04:00
Elliot
89133c5e6f
Update CONTRIBUTING.md branch naming conventions (#106) 2022-03-23 13:05:03 +01:00
Aria
139c3ed556
Set up netlify builds (#100) 2022-03-18 15:58:26 +01:00
Aria Minaei
3c1799dcfd Document mousePositionD 2022-03-15 14:55:19 +01:00
Aria Minaei
e2c98669f9 Document more of prism 2022-03-15 14:55:06 +01:00
Andrew Prifer
d522c84aac
Create a proper infinite grid helper (#95) 2022-03-04 15:06:48 +01:00
Aria Minaei
0ea9271d7a Add docs to SequenceEditorPanel's spaces 2022-03-03 14:50:54 +01:00
Aria Minaei
9dfe912f65 Get rid of the scrollbars in SnapshotEditor 2022-03-03 12:35:38 +01:00