Adam
|
81fdf57736
|
chore: simplify useViewModelInstance
|
2025-05-12 14:16:00 -07:00 |
|
Adam
|
3a59585207
|
fix: implement useViewModel feedback
|
2025-05-12 14:16:00 -07:00 |
|
Lance
|
345905f810
|
Merge storybook
|
2025-05-12 14:16:00 -07:00 |
|
Adam
|
0d9dabb135
|
fix: use default view model if none provide in useViewModelInstance and useViewModel
|
2025-05-12 14:16:00 -07:00 |
|
Adam
|
ad12fe20d1
|
fix: unify effects in useViewModelInstance
|
2025-05-12 14:16:00 -07:00 |
|
Adam
|
4e45f74a47
|
fix: change useViewModel property hook parameters to match conventions
|
2025-05-12 14:16:00 -07:00 |
|
Adam
|
efd6c4ce82
|
chore: simplify useViewModel
|
2025-05-12 14:16:00 -07:00 |
|
Adam
|
37e379091c
|
fix: avoid rebuilding operations unless necessary
|
2025-05-12 14:16:00 -07:00 |
|
Adam
|
6d76e9f85d
|
fix: hot reload crash
|
2025-05-12 14:16:00 -07:00 |
|
Adam
|
e7b64201ca
|
chore: update UseViewModelParameters documentation
|
2025-05-12 14:16:00 -07:00 |
|
Adam
|
5dc8362107
|
fix: remove viewmodel hooks from initial release
|
2025-05-12 14:16:00 -07:00 |
|
Adam
|
56bc96fa76
|
chore: update color setter methods to be more explicit
|
2025-05-12 14:16:00 -07:00 |
|
Adam
|
01ab78db97
|
fix: lint issue
|
2025-05-12 14:16:00 -07:00 |
|
Adam
|
7800cc041f
|
feat: add instance property hooks
|
2025-05-12 14:16:00 -07:00 |
|
Hernan Torrisi
|
1f9fc84629
|
hook with generic
|
2025-05-12 14:16:00 -07:00 |
|
Hernan Torrisi
|
452eb89e72
|
inital work for data binding hooks
|
2025-05-12 14:16:00 -07:00 |
|
Lance
|
7277ed2f0d
|
Storybookk page reloads when the package in the parent changes
|
2025-04-29 15:15:57 -06:00 |
|
Hernan Torrisi
|
ca10584ed4
|
cleanup instance if use effect reruns and instance is not loaded
|
2025-02-04 07:43:18 -08:00 |
|
CI
|
99489af287
|
chore: bump js and use public setters
|
2024-11-01 21:02:28 +01:00 |
|
CI
|
bb078296d0
|
fix: account for scale factor in layout resizing
|
2024-10-30 22:20:53 +01:00 |
|
CI
|
e42f5e32d7
|
fix: only perform layout resizing if the Layout object exists
|
2024-10-30 21:58:08 +01:00 |
|
CI
|
83fa6635ec
|
fix: additional layout configuration that react needs
|
2024-10-30 21:58:08 +01:00 |
|
Gordon Hayes
|
2ae22d6c30
|
docs: update links
|
2024-08-30 10:57:32 +02:00 |
|
Adam
|
1897e823b9
|
fix: change initialization from play to load event
|
2024-07-02 10:16:07 -07:00 |
|
Adam
|
9b02c0f1bc
|
fix: catch RiveFile initialization error in hook
|
2024-06-21 09:14:31 -07:00 |
|
Hernan Torrisi
|
ac9f322ccb
|
update comments
|
2024-05-27 20:19:23 -05:00 |
|
Hernan Torrisi
|
e3739f1a1f
|
request instance of rive file
|
2024-05-27 20:19:23 -05:00 |
|
Hernan Torrisi
|
0e0a2bd972
|
add status handling
|
2024-05-27 20:19:23 -05:00 |
|
Adam
|
16dc257b2f
|
feat: create useRiveFile hook
|
2024-05-27 20:19:23 -05:00 |
|
Hernan Torrisi
|
4678ea9ecf
|
interpret undefined definition for shouldUseIntersectionObserver as true
|
2024-05-27 18:24:51 -05:00 |
|
Hernan Torrisi
|
d58963e29d
|
edit hook description
|
2024-05-27 18:24:51 -05:00 |
|
Hernan Torrisi
|
c32433284a
|
fix observer and use single instance
|
2024-05-27 18:24:51 -05:00 |
|
Hernan Torrisi
|
8e181d6ae2
|
change hooks lifecycle to account for component reloading
|
2024-05-14 12:02:47 -05:00 |
|
Zach Plata
|
c2319b8dea
|
feat: add customDevicePixelRatio param from WASM for adjusting canvas size based on dpr
|
2024-01-09 14:13:01 -06:00 |
|
Zach Plata
|
6ba68fab9e
|
feature: Bump WASM dependency to support Rive Events
|
2023-09-13 09:49:44 -05:00 |
|
Slava Khanilo
|
f8aa50fa49
|
feature: expose RiveProps type from package
|
2023-07-31 13:52:14 -05:00 |
|
Zach Plata
|
08b9f9a2aa
|
Also export the container ref current element
|
2023-06-02 13:53:30 -05:00 |
|
Zach Plata
|
a24b910096
|
Update prop docs
|
2023-06-02 13:53:30 -05:00 |
|
Zach Plata
|
33760042d1
|
fix recursive useEffect call
|
2023-06-02 13:53:30 -05:00 |
|
Zach Plata
|
2c82fa04e7
|
Feature: Move canvas sizing logic into useResizeCanvas hook and clean up util hooks
|
2023-06-02 13:53:30 -05:00 |
|
Zach Plata
|
b56c17d48c
|
feat: allow for children to be set inside the canvas for fallback content when canvas cannot be shown
|
2023-05-26 14:22:47 -05:00 |
|
Zach Plata
|
d3bc913bcf
|
Add prop to the standalone Rive component
|
2023-05-02 13:27:38 -05:00 |
|
elVengador
|
3cbbf99fec
|
Fix: matchMedia add event listener for safari 13 and older versions
|
2023-01-18 10:12:34 -06:00 |
|
Arthur Vivian
|
7be20b0a87
|
Call cleanup on unmount
|
2022-10-20 18:03:30 +01:00 |
|
Zach Plata
|
2b1aa01a87
|
fix: Adjust canvas size if devicePixelRatio changes for any reaason
|
2022-09-22 12:12:32 -05:00 |
|
Zach Plata
|
04685c0bcd
|
fix: make a canvas of size 0 until we calculate the bounds appropriately
|
2022-09-15 10:53:36 -05:00 |
|
Maxwell Talbot
|
eb07281415
|
rev rive-wasm dependencies & update render delay to be 0ms
|
2022-07-22 14:30:04 +01:00 |
|
Maxwell Talbot
|
a1a155849a
|
use window.settimeout and clear out some consts
|
2022-07-22 13:52:42 +01:00 |
|
Maxwell Talbot
|
59e67cec3d
|
update name
|
2022-07-22 13:52:42 +01:00 |
|
Maxwell Talbot
|
84b18cc3dd
|
ensure we re evaluate state machine inputs when we play is triggered, looks like there maybe additional situations where we are going to need this.
|
2022-07-22 13:52:42 +01:00 |
|