Commit graph

526 commits

Author SHA1 Message Date
Aria Minaei
c71794b394 Fix the dataverse error 2023-01-04 20:57:24 +01:00
Aria Minaei
687bf53408 Use Atom instead of Box 2023-01-04 20:56:10 +01:00
Aria Minaei
ac9d8b4481 Replace Atom.setIn() and Atom.reduceIn() with the type-safe Atom.setByPointer() and Atom.reduceByPointer() 2023-01-04 20:51:01 +01:00
Aria Minaei
c354a602a4 Remove Box in favor of Atom 2023-01-04 20:49:44 +01:00
Aria Minaei
d9644f2370 Unify Derivation and Prism 12/n 2023-01-04 20:49:44 +01:00
Aria Minaei
b2116e9a5d Unify Derivation and Prism 11/n
`useDerivation()` => `usePrismInstance()`
2023-01-04 20:49:44 +01:00
Aria Minaei
53ab4dbf9d Fix a bug causing Sequences to not be playable 2023-01-04 20:49:44 +01:00
Aria Minaei
27b9c96afd Unify Derivation and Prism 8/n 2023-01-04 20:49:44 +01:00
Aria Minaei
acf34d393d Unify Derivation and Prism 7/n 2023-01-04 20:49:44 +01:00
Aria Minaei
0a0c35a7b7 Unify Derivation and Prism 5/n 2023-01-04 20:49:44 +01:00
Aria Minaei
a38d96ec95 Unify Derivation and Prism 4/n 2023-01-04 20:49:43 +01:00
Aria Minaei
bfba1d4879 Unify Derivation and Prism 2/n 2023-01-04 20:49:43 +01:00
Aria Minaei
12b3f477bc Unify Derivation and Prism (1/n) 2023-01-04 20:49:43 +01:00
Aria Minaei
a24a149a52 Remove Derivation.tapImmediate()
This is now just an extra flag on `Derivation.onChange()`
2023-01-04 20:49:43 +01:00
Aria Minaei
5c1aa1cd50 Remove Derivation.changesWithoutValues()
And replace it with `Derivation.onStale()`
2023-01-04 20:49:43 +01:00
Aria Minaei
ae8be59366 Implement a basic benchmark test, and deprecate derivation.map()/flatMap()
This starts a new workspace at `packages/benchmarks` where future benchmarks
are going to sit. For now, it only contains a basic profile of a `sequence.play()`
setup.

It also removes all uses of `AbstractDerivation.map()/flatMap()` and uses prisms
instead.
2023-01-04 20:49:35 +01:00
Aria Minaei
45b548660c 0.6.0-dev.3 2023-01-04 20:35:56 +01:00
Andrew Prifer
ccabda65a3
Move studio-related asset storage code out of core (#369)
* Move studio asset storage code out of core

* Require blob-compare conditinally

Co-authored-by: Aria <aria.minaei@gmail.com>
2023-01-04 20:34:27 +01:00
Aria
718beb4d7b
Catch more SSR issues and improve compat tests (#353)
This will cause the build to fail, as this will catch an SSR issue, which will be fixed after merging #369
2023-01-04 20:03:47 +01:00
Andrew Prifer
71f08e171a
Implement a way for users to be able to add buttons to the details panel (#372)
* Implement actions

* Add action button styles

* Add docs for actions
2023-01-04 15:00:46 +00:00
Aria
feb3ad34b8
Compact and collapsible compound prop editor
* Create compact vector prop editor

* MAke all compound props collapsible

* Add collapsed indicator for compound props

* Persist collapsed state accross component rerenders

* Adjust dom playground to use the new vector prop

Co-authored-by: Andrew Prifer <andrew.prifer@gmail.com>
2023-01-04 12:43:49 +01:00
Aria Minaei
f6361e7905 0.6.0-dev.2 2023-01-02 22:34:50 +01:00
Aria Minaei
fd3a8cec35 Nudging numbers will now use nudgeMultiplier even if the number has a range
Possibly fixes #314
2023-01-02 22:11:34 +01:00
Aria Minaei
438a83d2d4 0.6.0-dev.1 2023-01-02 19:47:23 +01:00
Clément Roche
6558181dbb
Make items in the outline menu collapsable (#367)
Co-authored-by: Clement Roche <rchclement@gmail.com>
Co-authored-by: Cole Lawrence <cole@colelawrence.com>
Co-authored-by: Aria <aria.minaei@gmail.com>
2023-01-02 18:43:19 +00:00
Clément Roche
a727ee277b Fix typo
Fix https://github.com/theatre-js/theatre/issues/361
2023-01-01 00:05:16 +01:00
Andrew Prifer
0d5b4bd8c8 Rename vague variable 2022-12-31 23:25:57 +01:00
Aria Minaei
c58bc694ee Fix: Re-render the panels when object identity change
This fixes the pesky "Argument 'der' in 'useDerivation(der)' should not change between renders."
2022-12-31 22:54:52 +01:00
Aria Minaei
4596c2233c fix: Don't show the visual regression warning outside of CI 2022-12-31 21:26:41 +01:00
Colin Duffy
103c35737c
New feature: Keyframe "hold" as a new easing type (#360) 2022-12-31 19:20:57 +00:00
Andrew Prifer
8d8e2348dd Create idb-backed image prop (#366)
Co-authored-by: Clement Roche <rchclement@gmail.com>
2022-12-31 11:01:16 +01:00
Aria Minaei
95b329b02d 0.5.1 2022-12-31 10:54:27 +01:00
Aria Minaei
4e7f23ba8a Remove unnecessary SSR warnings 2022-12-31 10:50:00 +01:00
Aria Minaei
fcd3ab7ec5 0.5.1-rc.2 2022-12-07 10:24:50 +01:00
Andrew Prifer
3257ac89b9
Fix window reference error with SSR (#348) 2022-12-05 10:50:53 +00:00
Aria Minaei
a9adc2640c 0.5.1-rc.1 2022-11-25 11:21:28 +01:00
Aria Minaei
c38ab1d4e4 Update links to the docs 2022-11-24 17:42:13 +01:00
Aria Minaei
19b5218278 Document propTypesUtils and privateAPIs.ts 2022-11-24 15:52:24 +01:00
Aria Minaei
f17ad3cbca Document several util functions 2022-11-24 15:41:08 +01:00
Aria Minaei
7899f8a965 Document nicestNumberBetween() 2022-11-24 14:17:22 +01:00
Aria Minaei
5ee13a20a0 Document more utils 2022-11-24 14:09:02 +01:00
Aria Minaei
3f5b902739 Document minimalOverride() 2022-11-24 13:36:52 +01:00
Aria Minaei
464ce24923 Document utilities and remove unused code 2022-11-24 13:17:19 +01:00
Aria Minaei
dd585b0790 Explain how SheetObject.getValues() works 2022-11-23 16:31:44 +01:00
Andrew Prifer
ea229695e1
Fix project json export (#344) 2022-11-22 17:53:49 +02:00
Andrew Prifer
7ef016f3f0
Make notifications SSR ready (#341)
Properly check if window exists
2022-11-22 13:24:23 +00:00
Andrew Prifer
8c325c901a
Blur prop editors on unmount (#340) 2022-11-21 18:07:49 +00:00
Andrew Prifer
a55a34d48f
Improve notifications UX (#337)
Improve notification UX
2022-11-13 13:37:24 +00:00
Aria Minaei
a8a9b5ef05 Rename deleteObject() and related params
Since `sheet.deleteObject()` doesn't actually delete the values
of the props of that object, I decided to rename it to `detachObject()`.

Also, the param `override` sounded too similar to the concept of value overrides,
so I renamed it to `reconfigure`.
2022-11-10 16:23:15 +01:00
Andrew Prifer
cb8fa2f20f
Move notifications trigger to toolbar (#333)
* Move notification trigger to toolbar

* Make notifications unpinned by default
2022-11-07 13:40:17 +00:00