@publier/shell 4.0.0 → 4.0.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/README.md CHANGED
@@ -60,8 +60,9 @@ Below 1024px, the button named **Open navigation menu** has
60
60
  native dialog; the browser owns modal focus, focus restoration and Escape.
61
61
  The close button is named **Close navigation menu**. The menu container has
62
62
  `data-publier-nav-mobile`; each mobile group is also a `<details>` with the same
63
- group and menu attributes. Escape closes an open group first, then the containing
64
- dialog. Links and close buttons dismiss the dialog. Client-router navigation and
63
+ group and menu attributes. With focus inside an open group, Escape closes that
64
+ group first; a subsequent Escape dismisses the dialog. With focus elsewhere in
65
+ the dialog, Escape dismisses the dialog directly. Links and close buttons dismiss the dialog. Client-router navigation and
65
66
  crossing into the desktop layout clear open menus.
66
67
 
67
68
  The active destination uses `aria-current="page"`, chosen by longest local-path
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@publier/shell",
3
- "version": "4.0.0",
3
+ "version": "4.0.1",
4
4
  "license": "UNLICENSED",
5
5
  "description": "Qwik + Astro docs layout for Publier sites.",
6
6
  "type": "module",
@@ -163,6 +163,21 @@ h6 {
163
163
  background-color: color-mix(in oklab, var(--color-primary) 12%, transparent);
164
164
  }
165
165
 
166
+ /* DaisyUI button summaries hide the native marker; retain a visual menu cue. */
167
+ [data-publier-top-nav] details[data-publier-nav-group].dropdown > summary::after {
168
+ content: "";
169
+ width: 0.4rem;
170
+ height: 0.4rem;
171
+ margin-left: 0.25rem;
172
+ border-right: 1.5px solid currentColor;
173
+ border-bottom: 1.5px solid currentColor;
174
+ transform: translateY(-0.1rem) rotate(45deg);
175
+ }
176
+
177
+ [data-publier-top-nav] details[data-publier-nav-group].dropdown[open] > summary::after {
178
+ transform: translateY(0.1rem) rotate(225deg);
179
+ }
180
+
166
181
  /* ─── SkipLink ───────────────────────────────────────────── */
167
182
  .publier-skip-link {
168
183
  position: fixed;