Commit graph

937 commits

Author SHA1 Message Date
Andrew Prifer
c1e515a13f
Merge pull request #145
* Fix RefreshSnapshot component and make useRefreshSnapshot not a hook,…
2022-05-04 17:10:42 +02:00
Elliot
fceb1eb60a
feature/single curve editor (#122)
Co-authored-by: Cole Lawrence <cole@colelawrence.com>
Co-authored-by: Andrew Prifer <AndrewPrifer@users.noreply.github.com>
Co-authored-by: Aria Minaei <aria.minaei@gmail.com>
2022-05-04 17:08:30 +02:00
Andrew Prifer
dceb3965d6
Make editable schema-based and add default schemas (#139)
* Make editable schema based and fix a couple UX issues

* Refactor the icons a bit

* Add support for points, lines, line segments, and line loops

* Adjust nudge multipliers

* Fix types

* Fix helpers not showing on hover in some cases
2022-05-04 16:43:44 +02:00
Aria Minaei
6caf8267c5 Bugfix: Ensure the focus range doesn't invert upon snapping 2022-05-03 12:42:53 +02:00
Aria
3ecc3dd012
QOL improvements to the FocusRange and SequenceEdito (#125) 2022-05-03 12:38:08 +02:00
Andrew Prifer
d85e3053af
Fix r3f example not actually making the editable camera defined in the scene the defaul (#78)
* Fix e.perspectiveCamera -> editable(PerspectiveCamera)

* Also fix the one in the examples directory

* Update fix to latest version
2022-05-01 14:59:52 +02:00
Elliot
4b5f7adf21
Add hotness details to dataverse docs (#138)
* Add hotness details to dataverse docs

* Add reference for hot observables
2022-04-29 19:04:21 +02:00
Elliot
b6e0a217cd
Fix typo? (#137) 2022-04-28 15:11:20 -04:00
Cole Lawrence
909ffccafb
refactor: Improve identifiers in pointer.ts + use Map over object (#134)
Co-authored-by: Elliot <key.draw@gmail.com>
2022-04-27 22:21:51 +02:00
Fülöp
d6353aeb0b
Test vercel deployments (#133)
Move the vercel config to packages/playground after setting the root of the Vercel project to packages/plaground (in the Vercel webapp).
2022-04-27 15:34:30 +02:00
Fülöp
f7b7678114
Make sure that vercel deployments work with react-router (#132) 2022-04-27 12:25:39 +02:00
Aria Minaei
8b0baa2e66 Use prettier on all files 2022-04-23 22:56:18 +02:00
PaleHazy
a4c9b8d75a
isIdentityChangeProvider --> isIdentityDerivationProvider (#128) 2022-04-23 21:32:12 +02:00
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