@liforma/client 0.4.12 → 0.4.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +23 -0
- package/README.md +4 -4
- package/dist/next/index.js +585 -491
- package/dist/next/index.js.map +1 -1
- package/dist/next/react/ExperienceThumbnail.d.ts.map +1 -1
- package/dist/next/thumbnail/index.d.ts +1 -0
- package/dist/next/thumbnail/index.d.ts.map +1 -1
- package/dist/next/thumbnail/locationPlate.d.ts +3 -3
- package/dist/next/thumbnail/locationPlate.d.ts.map +1 -1
- package/dist/next/thumbnail/plateDelivery.d.ts +18 -0
- package/dist/next/thumbnail/plateDelivery.d.ts.map +1 -0
- package/dist/next/thumbnail/plateDelivery.test.d.ts +2 -0
- package/dist/next/thumbnail/plateDelivery.test.d.ts.map +1 -0
- package/dist/next/thumbnail/toGalleryThumbUrl.d.ts +1 -1
- package/dist/next/thumbnail.js +147 -91
- package/dist/next/thumbnail.js.map +1 -1
- package/dist/next/v2/embed/iframeHost.d.ts +4 -8
- package/dist/next/v2/embed/iframeHost.d.ts.map +1 -1
- package/dist/next/v2/embed/protocol.d.ts +29 -2
- package/dist/next/v2/embed/protocol.d.ts.map +1 -1
- package/dist/next/v2/experience.d.ts +14 -0
- package/dist/next/v2/experience.d.ts.map +1 -1
- package/dist/next/v2/shims/embedBaseUrl.d.ts +4 -1
- package/dist/next/v2/shims/embedBaseUrl.d.ts.map +1 -1
- package/dist/npm/index.js +223 -185
- package/dist/npm/index.js.map +1 -1
- package/dist/npm/thumbnail/index.d.ts +1 -0
- package/dist/npm/thumbnail/index.d.ts.map +1 -1
- package/dist/npm/thumbnail/index.js +106 -70
- package/dist/npm/thumbnail/index.js.map +1 -1
- package/dist/npm/thumbnail/locationPlate.d.ts +3 -3
- package/dist/npm/thumbnail/locationPlate.d.ts.map +1 -1
- package/dist/npm/thumbnail/plateDelivery.d.ts +18 -0
- package/dist/npm/thumbnail/plateDelivery.d.ts.map +1 -0
- package/dist/npm/thumbnail/toGalleryThumbUrl.d.ts +1 -1
- package/dist/npm/v2/embed/iframeHost.d.ts +4 -8
- package/dist/npm/v2/embed/iframeHost.d.ts.map +1 -1
- package/dist/npm/v2/embed/protocol.d.ts +29 -2
- package/dist/npm/v2/embed/protocol.d.ts.map +1 -1
- package/dist/npm/v2/experience.d.ts +14 -0
- package/dist/npm/v2/experience.d.ts.map +1 -1
- package/dist/npm/v2/liforma-experience-thumbnail.d.ts.map +1 -1
- package/dist/npm/v2/shims/embedBaseUrl.d.ts +4 -1
- package/dist/npm/v2/shims/embedBaseUrl.d.ts.map +1 -1
- package/dist/react/component/experienceComponentLaunch.d.ts.map +1 -1
- package/dist/react/component/experienceComponentRuntime.d.ts +3 -0
- package/dist/react/component/experienceComponentRuntime.d.ts.map +1 -1
- package/dist/react/component/experienceComponentTypes.d.ts +12 -0
- package/dist/react/component/experienceComponentTypes.d.ts.map +1 -1
- package/dist/react/index.js +689 -573
- package/dist/react/index.js.map +1 -1
- package/dist/react/react/Experience.d.ts.map +1 -1
- package/dist/react/react/ExperienceThumbnail.d.ts.map +1 -1
- package/dist/react/thumbnail/index.d.ts +1 -0
- package/dist/react/thumbnail/index.d.ts.map +1 -1
- package/dist/react/thumbnail/locationPlate.d.ts +3 -3
- package/dist/react/thumbnail/locationPlate.d.ts.map +1 -1
- package/dist/react/thumbnail/plateDelivery.d.ts +18 -0
- package/dist/react/thumbnail/plateDelivery.d.ts.map +1 -0
- package/dist/react/thumbnail/plateDelivery.test.d.ts +2 -0
- package/dist/react/thumbnail/plateDelivery.test.d.ts.map +1 -0
- package/dist/react/thumbnail/toGalleryThumbUrl.d.ts +1 -1
- package/dist/react/thumbnail.js +147 -91
- package/dist/react/thumbnail.js.map +1 -1
- package/dist/react/v2/embed/iframeHost.d.ts +4 -8
- package/dist/react/v2/embed/iframeHost.d.ts.map +1 -1
- package/dist/react/v2/embed/protocol.d.ts +29 -2
- package/dist/react/v2/embed/protocol.d.ts.map +1 -1
- package/dist/react/v2/experience.d.ts +14 -0
- package/dist/react/v2/experience.d.ts.map +1 -1
- package/dist/react/v2/shims/embedBaseUrl.d.ts +4 -1
- package/dist/react/v2/shims/embedBaseUrl.d.ts.map +1 -1
- package/dist/sdk/v2/client.js +2 -2
- package/dist/sdk/v2/client.js.map +1 -1
- package/dist/sdk/v2/thumbnail.js +3 -3
- package/dist/sdk/v2/thumbnail.js.map +1 -1
- package/dist/svelte/Experience.svelte +30 -0
- package/dist/svelte/Experience.svelte.d.ts +1 -0
- package/dist/svelte/ExperienceThumbnail.svelte +49 -8
- package/package.json +4 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,29 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 0.4.14 — 2026-09-09
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- `400x225` landscape location plates for small gallery cards (half of `800x450`)
|
|
10
|
+
- AVIF delivery for thumbnail colour plates, with WebP fallback when AVIF is missing or fails to decode
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- `ExperienceThumbnail` (Svelte, React, and `<liforma-experience-thumbnail>`) waits for an AVIF probe and falls back AVIF → WebP on avatar plate errors
|
|
15
|
+
- Costume composite thumbnail URLs rewrite to AVIF like other colour plates
|
|
16
|
+
|
|
17
|
+
## 0.4.13 — 2026-09-08
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
- `theatreButton` / `theatre` / `onTheatreChange` / `setTheatre` for Liforma `/play` Theatre chrome (parent layout; iframe does not remount)
|
|
22
|
+
- Embed iframe `allowfullscreen` plus `fullscreen` in the `allow` attribute
|
|
23
|
+
|
|
24
|
+
### Fixed
|
|
25
|
+
|
|
26
|
+
- `ExperienceThumbnail` no longer rounds its own box (`border-radius: 0`). Hosts control corner radius; the previous inner radius plus `#111` fill showed as black rounded corners inside the card
|
|
27
|
+
|
|
5
28
|
## 0.4.12 — 2026-09-05
|
|
6
29
|
|
|
7
30
|
### Fixed
|
package/README.md
CHANGED
|
@@ -27,7 +27,7 @@ Optional peers: `svelte` ^5 for the Svelte entry; `react` / `react-dom` ^18 or ^
|
|
|
27
27
|
import { Experience } from '@liforma/client/svelte';
|
|
28
28
|
</script>
|
|
29
29
|
|
|
30
|
-
<Experience experienceId="
|
|
30
|
+
<Experience experienceId="exp_T0I7ACMQLBMPG6K" />
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
Gallery cards — use the light thumbnail entry so landing pages do not load the session SDK:
|
|
@@ -54,7 +54,7 @@ import { ExperienceThumbnail } from '@liforma/client/react/thumbnail';
|
|
|
54
54
|
import { Experience } from '@liforma/client/react';
|
|
55
55
|
|
|
56
56
|
export function Demo() {
|
|
57
|
-
return <Experience experienceId="
|
|
57
|
+
return <Experience experienceId="exp_T0I7ACMQLBMPG6K" />;
|
|
58
58
|
}
|
|
59
59
|
```
|
|
60
60
|
|
|
@@ -77,7 +77,7 @@ import { Experience } from '@liforma/client/next';
|
|
|
77
77
|
export function Demo() {
|
|
78
78
|
return (
|
|
79
79
|
<Experience
|
|
80
|
-
experienceId="
|
|
80
|
+
experienceId="exp_T0I7ACMQLBMPG6K"
|
|
81
81
|
sessionEndpoint="/api/liforma-session"
|
|
82
82
|
/>
|
|
83
83
|
);
|
|
@@ -88,7 +88,7 @@ export function Demo() {
|
|
|
88
88
|
|
|
89
89
|
```html
|
|
90
90
|
<script src="https://cdn.liforma.ai/sdk/v2/client.js" defer></script>
|
|
91
|
-
<liforma-experience experience-id="
|
|
91
|
+
<liforma-experience experience-id="exp_T0I7ACMQLBMPG6K"></liforma-experience>
|
|
92
92
|
```
|
|
93
93
|
|
|
94
94
|
## Package entry points
|