@lacspace/hotkeys 1.0.1 → 1.0.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.
Files changed (2) hide show
  1. package/README.md +27 -5
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,6 +1,18 @@
1
+ <div align="center">
2
+
1
3
  # @lacspace/hotkeys
2
4
 
3
- **Ergonomic keyboard shortcuts for React** — combos (`mod+k`), key sequences (`g then d`), scopes, and pretty display formatting (`⌘K`). SSR-safe, respects form fields, zero-dependency, fully typed.
5
+ **Ergonomic keyboard shortcuts for React — combos, sequences, scopes and `⌘K` formatting.**
6
+
7
+ [![npm version](https://img.shields.io/npm/v/@lacspace/hotkeys?color=%2338bdf8&label=npm)](https://www.npmjs.com/package/@lacspace/hotkeys)
8
+ [![install size](https://packagephobia.com/badge?p=@lacspace/hotkeys)](https://packagephobia.com/result?p=@lacspace/hotkeys)
9
+ [![minzipped](https://img.shields.io/bundlephobia/minzip/@lacspace/hotkeys?label=minzip)](https://bundlephobia.com/package/@lacspace/hotkeys)
10
+ [![types](https://img.shields.io/badge/types-included-blue)](https://www.npmjs.com/package/@lacspace/hotkeys)
11
+ [![license](https://img.shields.io/npm/l/@lacspace/hotkeys?color=green)](https://github.com/lacspace/npm-packages/blob/main/LICENSE)
12
+
13
+ </div>
14
+
15
+ > `useHotkeys` for combos (`mod+k`), key sequences (`g then d`), named scopes, and pretty display formatting (`⌘K`). SSR-safe, respects form fields, zero-dependency, fully typed.
4
16
 
5
17
  - **`mod` does the right thing** — Cmd on macOS, Ctrl everywhere else.
6
18
  - **Sequences** — Gmail-style `g then d` chords with a rolling timeout.
@@ -162,12 +174,22 @@ No dependencies. No context providers. Combos and sequences are matched by compa
162
174
 
163
175
  ## Licensing
164
176
 
165
- Free under the **[Lacspace Free Licence](https://lacspace.com/licenses/lacspace-free-1.0)** — MIT-equivalent freedoms. Use it in personal and commercial projects at no cost; just keep the notice. See the **[Lacspace Licence Centre](https://lacspace.com/licenses)**.
177
+ Free under the **[Lacspace Free Licence](https://developer.lacspace.com/licenses/lacspace-free-1.0)** — permissive freedoms. Use it in personal and commercial projects at no cost; just keep the notice. See the **[Lacspace Licence Centre](https://lacspace.com/licenses)**.
178
+
179
+ <!-- LACSPACE-DEV-PLATFORM -->
166
180
 
167
181
  ---
168
182
 
169
- **Part of the Lacspace ecosystem — zero-dependency, isomorphic TypeScript packages.**
183
+ ## The Lacspace Developer Platform
184
+
185
+ `@lacspace/hotkeys` is part of **80+ zero-dependency, isomorphic TypeScript packages** — one standard library for the modern web. Explore the ecosystem:
186
+
187
+ - 📦 **This package, documented** — https://developer.lacspace.com/packages/hotkeys
188
+ - 🗂️ **All 80+ packages** — https://developer.lacspace.com/packages
189
+ - 🧭 **Developer handbook** — guides & runnable recipes — https://developer.lacspace.com/handbook
190
+ - 🧪 **Live playground** — run any package in your browser — https://developer.lacspace.com/playground
191
+ - 🖥️ **Finished app templates** — https://templates.lacspace.com
192
+ - 🚀 **Scaffold a full app** — `npm create lacspace-app@latest`
170
193
 
171
- [All packages ↗](https://lacspace.com/packages) · [npm org ](https://www.npmjs.com/org/lacspace) · [Licence Centre ↗](https://lacspace.com/licenses) · [GitHub ↗](https://github.com/lacspace/npm-packages)
194
+ Free under the **[Lacspace Free Licence](https://developer.lacspace.com/licenses/lacspace-free-1.0)** a permissive, free-to-use licence.
172
195
 
173
- <div align="center"><sub>Built with care by <a href="https://lacspace.com">Lacspace</a> · Lacspace Free Licence · <a href="https://github.com/lacspace/npm-packages">source</a></sub></div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lacspace/hotkeys",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "Ergonomic keyboard shortcuts for React — combos (mod+k), key sequences (g then d), scopes, and pretty display formatting (⌘K). SSR-safe, respects form fields, zero-dependency, fully typed.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -41,7 +41,7 @@
41
41
  ],
42
42
  "author": "Lacspace <contact@lacspace.com>",
43
43
  "license": "SEE LICENSE IN LICENSE",
44
- "homepage": "https://lacspace.com/packages",
44
+ "homepage": "https://developer.lacspace.com/packages/hotkeys",
45
45
  "repository": {
46
46
  "type": "git",
47
47
  "url": "git+https://github.com/lacspace/npm-packages.git",