@scalemule/news-publication 0.0.52 → 0.0.53
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/dist/{chunk-N4JMMFPK.js → chunk-KNO2LIDQ.js} +448 -229
- package/dist/pets-forms.cjs +4 -1
- package/dist/pets-forms.js +5 -2
- package/dist/pets-interactions.cjs +25 -19
- package/dist/pets-interactions.js +25 -19
- package/dist/pets-plugin.cjs +35 -11
- package/dist/pets-plugin.js +36 -12
- package/dist/pets-publication.cjs +464 -244
- package/dist/pets-publication.js +5 -4
- package/dist/pets-view.cjs +462 -241
- package/dist/pets-view.d.cts +4 -2
- package/dist/pets-view.d.ts +4 -2
- package/dist/pets-view.js +1 -1
- package/fonts/bricolage-OFL.txt +93 -0
- package/fonts/dmsans-OFL.txt +93 -0
- package/fonts/paw-bricolage.woff2 +0 -0
- package/fonts/paw-dmsans.woff2 +0 -0
- package/package.json +3 -2
- package/pets.css +884 -453
package/dist/pets-publication.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PetsSection, PawOfTheWeekCard, AdoptionListingCard, PetEventCard, PetCelebrationCard, LostPetNotice, PetProfileCard } from './chunk-
|
|
1
|
+
import { PetsSection, PawOfTheWeekCard, AdoptionListingCard, PetEventCard, PetCelebrationCard, LostPetNotice, PetProfileCard } from './chunk-KNO2LIDQ.js';
|
|
2
2
|
import './chunk-4JRWZXAP.js';
|
|
3
3
|
import './chunk-66GI2IX6.js';
|
|
4
4
|
import { petRequest, petAcknowledgments, resolvePetReferences } from './chunk-ABPJMDUG.js';
|
|
@@ -56,7 +56,7 @@ async function PublicationPetsSection({
|
|
|
56
56
|
week: monday.toISOString().split("T")[0]
|
|
57
57
|
});
|
|
58
58
|
if (chosen) weekly.set("area_id", chosen.id);
|
|
59
|
-
const [feeds, spotlights] = await Promise.all([
|
|
59
|
+
const [feeds, spotlights, acknowledgments] = await Promise.all([
|
|
60
60
|
Promise.all(
|
|
61
61
|
["neighbors", "lost_found", "celebration", "adoption"].map((kind) => {
|
|
62
62
|
const q = new URLSearchParams(filter);
|
|
@@ -68,7 +68,8 @@ async function PublicationPetsSection({
|
|
|
68
68
|
);
|
|
69
69
|
})
|
|
70
70
|
),
|
|
71
|
-
petRequest(scope, root + "/pets?" + weekly)
|
|
71
|
+
petRequest(scope, root + "/pets?" + weekly),
|
|
72
|
+
petAcknowledgments(scope, chosen?.slug)
|
|
72
73
|
]);
|
|
73
74
|
const clean = (r) => ({
|
|
74
75
|
...r,
|
|
@@ -96,7 +97,7 @@ async function PublicationPetsSection({
|
|
|
96
97
|
accountUrl: native ? "/pets/account" : void 0,
|
|
97
98
|
communities: collection.areas,
|
|
98
99
|
community: chosen,
|
|
99
|
-
acknowledgments
|
|
100
|
+
acknowledgments,
|
|
100
101
|
resources: feeds.flatMap((feed) => feed.items).map(clean),
|
|
101
102
|
spotlight: spotlights.items[0] && clean(spotlights.items[0]),
|
|
102
103
|
mediaUrl,
|