9890 Commits

Author SHA1 Message Date
Davide Tantillo
bb1bdceb83 Moved assets to a single assets folder. 2025-05-09 15:42:06 +02:00
Davide Tantillo
d7d5c3d43e spine-widget package renamed to spine-webcomponents. 2025-05-09 15:40:39 +02:00
Davide Tantillo
0abcaff7fe General refactor. spine-widget to spine-skeleton. 2025-05-09 15:40:39 +02:00
Davide Tantillo
70cc7e45ca Widgets dragged can be dragged even if host is offscreen. 2025-05-09 15:40:39 +02:00
Davide Tantillo
228d49ff05 Formatter. 2025-05-09 15:40:39 +02:00
Davide Tantillo
2bf85467dc Moved some examples in their own pages. 2025-05-09 15:40:39 +02:00
Davide Tantillo
15918c0342 Improved tutorial explanations. 2025-05-09 15:40:39 +02:00
Davide Tantillo
cbbc88afdd Moved team example in its own page. 2025-05-09 15:40:39 +02:00
Davide Tantillo
e305358692 Remove test file. 2025-05-09 15:40:38 +02:00
Davide Tantillo
d4cdeaa29b start won't reset bounds. 2025-05-09 15:40:38 +02:00
Davide Tantillo
0af3e094fe Move webcomponent to spine-widget folder. 2025-05-09 15:40:38 +02:00
Davide Tantillo
c0a2d292ea spinner to no-spinner. 2025-05-09 15:40:38 +02:00
Davide Tantillo
cdf97f019e Cleaned up examples. 2025-05-09 15:40:38 +02:00
Davide Tantillo
f5612c517d Fix overlay init not completed in some scenario.
DOMContentLoaded is invoked only when document.readyState is interactive.
2025-05-09 15:40:38 +02:00
Davide Tantillo
9ad38173cb Add dispose example. 2025-05-09 15:40:38 +02:00
Davide Tantillo
7dbcc39086 Fixes to asset manager ref counter. 2025-05-09 15:40:38 +02:00
Davide Tantillo
f4e375a2cd Refcounter for asset manager and gl resources disposal for webcomponent. 2025-05-09 15:40:38 +02:00
Davide Tantillo
8380540c99 fix return to continue in for of. 2025-05-09 15:40:38 +02:00
Davide Tantillo
867557f743 onScreenManualStart to startWhenVisible. startWhenVisible set manualStart to true. 2025-05-09 15:40:38 +02:00
Davide Tantillo
a6887006be Update other names. 2025-05-09 15:40:38 +02:00
Davide Tantillo
035a08e1a9 for each to for of. 2025-05-09 15:40:38 +02:00
Davide Tantillo
fe04ebeb56 callbacks renamed consistently. 2025-05-09 15:40:38 +02:00
Davide Tantillo
82d09045e5 Better comments and variable names for canvas resize related stuff. 2025-05-09 15:40:38 +02:00
Davide Tantillo
5c32aae3f1 Properties rename. 2025-05-09 15:40:38 +02:00
Davide Tantillo
dff3b66d26 dpi to dpr and transform DPR to DevicePixelRatio when needed. Add @internal tag to internal fields. 2025-05-09 15:40:38 +02:00
Davide Tantillo
5bf75239d9 recalculateBounds and autoRecalculateBounds to calculateBounds and autoCalculateBounds. 2025-05-09 15:40:38 +02:00
Davide Tantillo
e5a4bccb69 getHTMLElementReference to getHostElement. 2025-05-09 15:40:38 +02:00
Davide Tantillo
15375fb20c Update bounds and slot interaction method names. 2025-05-09 15:40:38 +02:00
Davide Tantillo
0c90eed036 scrollable-tweak-off changed to no-auto-parent-transform. 2025-05-09 15:40:38 +02:00
Davide Tantillo
0ac2c1e470 Change scrollable to appendedToBody, make it private and determine it at dom connect. 2025-05-09 15:40:38 +02:00
Davide Tantillo
7759b501e5 Make overlayAssignedPromise private. 2025-05-09 15:40:38 +02:00
Davide Tantillo
b1370ceae3 food app and cleanup 2025-05-09 15:40:38 +02:00
Davide Tantillo
49afa43d8f Fixed issues with slot events on mobile. 2025-05-09 15:40:38 +02:00
Davide Tantillo
c8b0272ca8 Overlay needs to consider border if it's scrollable. 2025-05-09 15:40:38 +02:00
Davide Tantillo
197571e671 Overlay parent bounding box determined only if necessary. 2025-05-09 15:40:38 +02:00
Davide Tantillo
ec314953bb Overlay should load not for DOMContentLoaded event only if document has already complete loading. 2025-05-09 15:40:38 +02:00
Davide Tantillo
f3612e73cf Fixed overlay disconnectedCallback. 2025-05-09 15:40:38 +02:00
Davide Tantillo
71780e6d60 formatter 2025-05-09 15:40:38 +02:00
Davide Tantillo
85d4715313 Move getBounding in scrollable case. 2025-05-09 15:40:38 +02:00
Davide Tantillo
1233d876a3 Temporarily add windmill only manually to webgl assets 2025-05-09 15:40:38 +02:00
Davide Tantillo
d4aeb9a608 Add interactive widget example. 2025-05-09 15:40:38 +02:00
Davide Tantillo
2a6b424a1c Resize overlay when follow slot element is added. 2025-05-09 15:40:38 +02:00
Davide Tantillo
40724dd52e Fixed slot interaction issue. 2025-05-09 15:40:38 +02:00
Davide Tantillo
29a30a07c1 Fixed multiple click events on mobile touches. Add team example. 2025-05-09 15:40:38 +02:00
Davide Tantillo
3a279d2ff0 Update tutorial. 2025-05-09 15:40:38 +02:00
Davide Tantillo
34acafb254 Prevent error on disconnected callback 2025-05-09 15:40:38 +02:00
Davide Tantillo
04eb82e8b6 Prevent useless resize. 2025-05-09 15:40:38 +02:00
Davide Tantillo
e02f495883 format 2025-05-09 15:40:38 +02:00
Davide Tantillo
c4d419caf9 Add rawData attribute to pass s stringified JSON object for inline base64 assets. 2025-05-09 15:40:38 +02:00
Davide Tantillo
23ece7f4da Pma properties on atlas is used to detect pma textures. 2025-05-09 15:40:38 +02:00