@atmo-dev/kit 0.13.0 → 0.13.1
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.
|
@@ -259,7 +259,9 @@
|
|
|
259
259
|
let conferenceRooms = $derived(getConferenceRooms(eventData));
|
|
260
260
|
let scheduleEvents = $derived(
|
|
261
261
|
isConference
|
|
262
|
-
? toScheduleEvents(data.conferenceTalks ?? [], eventUri, data.conferenceTalkDescriptions)
|
|
262
|
+
? toScheduleEvents(data.conferenceTalks ?? [], eventUri, data.conferenceTalkDescriptions).map(
|
|
263
|
+
(talk) => (talk.did === did ? talk : { ...talk, actor: talk.did })
|
|
264
|
+
)
|
|
263
265
|
: []
|
|
264
266
|
);
|
|
265
267
|
|
|
@@ -30,6 +30,8 @@ export interface ScheduleEvent {
|
|
|
30
30
|
room?: string;
|
|
31
31
|
description?: string;
|
|
32
32
|
did: string;
|
|
33
|
+
/** Actor for the talk's page link when the talk isn't in the conference author's repo. */
|
|
34
|
+
actor?: string;
|
|
33
35
|
uri: string;
|
|
34
36
|
cid?: string | null;
|
|
35
37
|
rsvpExpected?: boolean;
|
|
@@ -53,7 +53,9 @@
|
|
|
53
53
|
);
|
|
54
54
|
let initialRsvpRkey = $derived(rsvpRkeys[event.uri] ?? null);
|
|
55
55
|
let isPast = $derived(event.end ? new Date(event.end) < new Date() : false);
|
|
56
|
-
let eventHref = $derived(
|
|
56
|
+
let eventHref = $derived(
|
|
57
|
+
resolveEventUrls(adapter.urls).event(event.actor ?? eventActor, event.rkey)
|
|
58
|
+
);
|
|
57
59
|
</script>
|
|
58
60
|
|
|
59
61
|
{#if linkableTypes.has(event.type) && event.rkey}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atmo-dev/kit",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.1",
|
|
4
4
|
"description": "The shared UI foundation for Atmo apps.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -179,7 +179,8 @@
|
|
|
179
179
|
"test": "pnpm test:unit --run && pnpm test:e2e && pnpm test:package",
|
|
180
180
|
"test:ci": "pnpm test:unit --run --no-file-parallelism && pnpm test:e2e && pnpm test:package",
|
|
181
181
|
"test:e2e": "playwright test",
|
|
182
|
-
"test:package": "pnpm prepack &&
|
|
182
|
+
"test:package": "pnpm prepack && pnpm test:package:built",
|
|
183
|
+
"test:package:built": "node --test scripts/test-*-package.mjs",
|
|
183
184
|
"changeset": "changeset",
|
|
184
185
|
"version-packages": "changeset version && pnpm install --lockfile-only --no-frozen-lockfile --ignore-scripts",
|
|
185
186
|
"release": "pnpm prepack && changeset publish"
|