@wildwinter/app-shell 0.26.0 → 0.27.0
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/index.cjs +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/session.cjs +3 -4
- package/dist/session.cjs.map +1 -1
- package/dist/session.d.cts +12 -2
- package/dist/session.d.ts +12 -2
- package/dist/session.js +3 -4
- package/dist/session.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -485,7 +485,9 @@ function pinButton(opts) {
|
|
|
485
485
|
const reflect = () => {
|
|
486
486
|
b.classList.toggle("on", pinned);
|
|
487
487
|
b.setAttribute("aria-pressed", String(pinned));
|
|
488
|
-
|
|
488
|
+
const label2 = pinned ? "Pinned on top: click to unpin" : "Click to keep on top";
|
|
489
|
+
b.dataset["tip"] = label2;
|
|
490
|
+
b.setAttribute("aria-label", label2);
|
|
489
491
|
};
|
|
490
492
|
reflect();
|
|
491
493
|
b.addEventListener("click", () => {
|