File tree Expand file tree Collapse file tree 7 files changed +51
-42
lines changed Expand file tree Collapse file tree 7 files changed +51
-42
lines changed Original file line number Diff line number Diff line change 1919 "gzipped" : 1999
2020 },
2121 "dist/web.js" : {
22- "bundled" : 63146 ,
22+ "bundled" : 63030 ,
2323 "minified" : 30004 ,
24- "gzipped" : 10905 ,
24+ "gzipped" : 10925 ,
2525 "treeshaked" : {
2626 "rollup" : {
2727 "code" : 11455 ,
3838 "gzipped" : 11641
3939 },
4040 "dist/native.js" : {
41- "bundled" : 60271 ,
42- "minified" : 28076 ,
43- "gzipped" : 9928 ,
41+ "bundled" : 60162 ,
42+ "minified" : 28083 ,
43+ "gzipped" : 9943 ,
4444 "treeshaked" : {
4545 "rollup" : {
4646 "code" : 8256 ,
5252 }
5353 },
5454 "dist/universal.js" : {
55- "bundled" : 47708 ,
56- "minified" : 21366 ,
57- "gzipped" : 7126 ,
55+ "bundled" : 47599 ,
56+ "minified" : 21373 ,
57+ "gzipped" : 7136 ,
5858 "treeshaked" : {
5959 "rollup" : {
6060 "code" : 1235 ,
6666 }
6767 },
6868 "dist/konva.js" : {
69- "bundled" : 58768 ,
69+ "bundled" : 58652 ,
7070 "minified" : 27228 ,
71- "gzipped" : 9835 ,
71+ "gzipped" : 9850 ,
7272 "treeshaked" : {
7373 "rollup" : {
7474 "code" : 8974 ,
157157 "gzipped" : 9928
158158 },
159159 "dist/web.cjs.js" : {
160- "bundled" : 71551 ,
161- "minified" : 33790 ,
162- "gzipped" : 11485
160+ "bundled" : 71300 ,
161+ "minified" : 33678 ,
162+ "gzipped" : 11478
163163 },
164164 "dist/native.cjs.js" : {
165- "bundled" : 69157 ,
166- "minified" : 32048 ,
167- "gzipped" : 10485
165+ "bundled" : 68913 ,
166+ "minified" : 31943 ,
167+ "gzipped" : 10481
168168 },
169169 "dist/renderprops.cjs.js" : {
170- "bundled" : 77632 ,
171- "minified" : 36923 ,
172- "gzipped" : 11928
170+ "bundled" : 77392 ,
171+ "minified" : 36683 ,
172+ "gzipped" : 11921
173173 },
174174 "dist/renderprops-addons.cjs.js" : {
175175 "bundled" : 9833 ,
176176 "minified" : 5495 ,
177177 "gzipped" : 1892
178178 },
179179 "dist/renderprops-native.cjs.js" : {
180- "bundled" : 72498 ,
181- "minified" : 33807 ,
182- "gzipped" : 10478
180+ "bundled" : 72258 ,
181+ "minified" : 33567 ,
182+ "gzipped" : 10465
183183 },
184184 "dist/renderprops-universal.cjs.js" : {
185- "bundled" : 59509 ,
186- "minified" : 26994 ,
187- "gzipped" : 7753
185+ "bundled" : 59269 ,
186+ "minified" : 26754 ,
187+ "gzipped" : 7738
188188 },
189189 "dist/renderprops-konva.cjs.js" : {
190- "bundled" : 70662 ,
191- "minified" : 32957 ,
192- "gzipped" : 10452
190+ "bundled" : 70422 ,
191+ "minified" : 32717 ,
192+ "gzipped" : 10442
193193 },
194194 "dist/universal.cjs.js" : {
195- "bundled" : 55784 ,
196- "minified" : 25019 ,
197- "gzipped" : 7688
195+ "bundled" : 55540 ,
196+ "minified" : 24914 ,
197+ "gzipped" : 7679
198198 },
199199 "dist/test.js" : {
200200 "bundled" : 32365 ,
216216 "gzipped" : 5405
217217 },
218218 "dist/konva.cjs.js" : {
219- "bundled" : 66885 ,
220- "minified" : 30912 ,
221- "gzipped" : 10388
219+ "bundled" : 66634 ,
220+ "minified" : 30800 ,
221+ "gzipped" : 10382
222222 },
223223 "dist/three.js" : {
224- "bundled" : 59023 ,
225- "minified" : 27138 ,
226- "gzipped" : 9748 ,
224+ "bundled" : 59009 ,
225+ "minified" : 27202 ,
226+ "gzipped" : 9778 ,
227227 "treeshaked" : {
228228 "rollup" : {
229- "code" : 10345 ,
229+ "code" : 10383 ,
230230 "import_statements" : 344
231231 },
232232 "webpack" : {
233- "code" : 11553
233+ "code" : 11593
234234 }
235235 }
236236 },
237237 "dist/three.cjs.js" : {
238- "bundled" : 67220 ,
239- "minified" : 30885 ,
240- "gzipped" : 10300
238+ "bundled" : 67071 ,
239+ "minified" : 30837 ,
240+ "gzipped" : 10309
241241 }
242242}
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ export {
2828 AnimatedInterpolation ,
2929 interpolate ,
3030 animated ,
31+ animated as a ,
3132 createInterpolator ,
3233 Animated ,
3334 AnimatedValueArray ,
Original file line number Diff line number Diff line change @@ -74,6 +74,7 @@ export {
7474 apply ,
7575 config ,
7676 extendedAnimated as animated ,
77+ extendedAnimated as a ,
7778 interpolate ,
7879 Globals ,
7980 useSpring ,
Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ export {
3939 apply ,
4040 config ,
4141 animated ,
42+ animated as a ,
4243 interpolate ,
4344 Globals ,
4445 useSpring ,
Original file line number Diff line number Diff line change @@ -13,10 +13,13 @@ import { useTrail } from '../../useTrail'
1313import { useTransition } from '../../useTransition'
1414import { merge } from '../../shared/helpers'
1515import { update } from '../../animated/FrameLoop'
16+ import { ReactType } from 'react'
1617
1718// Extend animated with all the available THREE elements
1819const apply = merge ( animated )
1920const extendedAnimated = apply ( THREE )
21+ extendedAnimated . primitive = animated ( 'primitive' as ReactType )
22+
2023if ( addEffect ) {
2124 // Add the update function as a global effect to react-three-fibers update loop
2225 addEffect ( update )
@@ -38,6 +41,7 @@ export {
3841 update ,
3942 config ,
4043 extendedAnimated as animated ,
44+ extendedAnimated as a ,
4145 interpolate ,
4246 Globals ,
4347 useSpring ,
Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ export {
4848 apply ,
4949 config ,
5050 animated ,
51+ animated as a ,
5152 interpolate ,
5253 Globals ,
5354 useSpring ,
Original file line number Diff line number Diff line change @@ -164,6 +164,7 @@ export {
164164 apply ,
165165 config ,
166166 extendedAnimated as animated ,
167+ extendedAnimated as a ,
167168 interpolate ,
168169 Globals ,
169170 useSpring ,
You can’t perform that action at this time.
0 commit comments