@stnd/launcher 1.10.1 → 1.10.3
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 +12 -0
- package/README.md +5 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@ status: active
|
|
|
14
14
|
tags:
|
|
15
15
|
- package
|
|
16
16
|
- stnd
|
|
17
|
-
theme:
|
|
17
|
+
theme: maker
|
|
18
18
|
type: package
|
|
19
19
|
visibility: public
|
|
20
20
|
garden-url: https://standard.garden/@francis/readme
|
|
@@ -167,7 +167,10 @@ Switch the active view.
|
|
|
167
167
|
|
|
168
168
|
## Keyboard: Esc
|
|
169
169
|
|
|
170
|
-
The launcher registers `Esc` with the keyboard module
|
|
170
|
+
The launcher registers `Esc` with the keyboard module:
|
|
171
|
+
- **Default behavior**: Steps back in browser history when the launcher is closed.
|
|
172
|
+
- **Custom override (`stnd:escape`)**: Before stepping back, the launcher dispatches a cancelable `stnd:escape` event on `window`. Any app that wants `Esc` to navigate elsewhere (e.g. returning to an overview panel instead of browser history) can listen for `stnd:escape` and call `event.preventDefault()`.
|
|
173
|
+
- **Production example**: The àVélo app intercepts `stnd:escape` in `apps/avelo-stat/modules/core/scripts/shortcuts.ts` to return to its station overview.
|
|
171
174
|
|
|
172
175
|
## Data Attributes
|
|
173
176
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stnd/launcher",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.3",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"svelte": "5.57.2",
|
|
22
|
-
"@stnd/account": "0.6.
|
|
22
|
+
"@stnd/account": "0.6.21",
|
|
23
23
|
"@stnd/client": "0.7.8",
|
|
24
24
|
"@stnd/icon": "0.10.0",
|
|
25
25
|
"@stnd/log": "0.6.0",
|