astro-atmosphere-comments 0.4.0 → 0.4.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.
- package/CHANGELOG.md +4 -0
- package/components/atmosphere.css +10 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.4.1 (4 November 2026)
|
|
4
|
+
|
|
5
|
+
- Fixed: the sign-in and reply overlays of `AtmosphereReactions` showed at the bottom of the page instead of staying hidden until opened (the shared stylesheet made every `.atmo` element a block, dialogs included).
|
|
6
|
+
|
|
3
7
|
## 0.4.0 (4 November 2026)
|
|
4
8
|
|
|
5
9
|
- **`AtmosphereReactions`:** likes and reposts on your other Bluesky posts (a feed of your latest posts, say). Mark each post with `data-atmosphere-post` (and its bsky.app address and counts) and put the component once in your layout: each post gets Reply and Quote (opening it on Bluesky), and Repost and Like with counts. Readers who aren't signed in get the sign-in form in an overlay, and their like or repost is done once they're back. Only posts by `allowedAuthors` can be liked or reposted.
|
|
@@ -6,10 +6,19 @@
|
|
|
6
6
|
form has its own styles, in SignInForm.astro. */
|
|
7
7
|
|
|
8
8
|
.atmo {
|
|
9
|
-
display: block;
|
|
10
9
|
color: var(--atmo-text, currentColor);
|
|
11
10
|
}
|
|
12
11
|
|
|
12
|
+
/* The components are blocks; their overlays (dialogs, also .atmo) stay hidden
|
|
13
|
+
until opened. */
|
|
14
|
+
.atmo:not(dialog) {
|
|
15
|
+
display: block;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
dialog.atmo:not([open]) {
|
|
19
|
+
display: none;
|
|
20
|
+
}
|
|
21
|
+
|
|
13
22
|
/* Only the component's own parts wait for sign-in to be checked; the
|
|
14
23
|
site's slot content shows straight away. */
|
|
15
24
|
.atmo.is-loading > :is([data-view], [data-reactions], [data-replies]) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "astro-atmosphere-comments",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Atmosphere Comments for Astro: Bluesky comments, likes, reposts and quote posts for Astro sites; readers sign in with their Atmosphere (AT Protocol) account and respond without leaving the page.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|