@kerfjs/ui 5.0.0-beta.89 → 5.0.0-beta.90
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/ai/public-api-signatures-v1.md +1 -1
- package/ai/skill.md +15 -0
- package/ai/webawesome-jsx-signatures-v1.md +1 -1
- package/llms.txt +16 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Public API signatures for the UI authoring corpus
|
|
2
2
|
|
|
3
|
-
Generated from emitted declarations for `@kerfjs/ui@5.0.0-beta.
|
|
3
|
+
Generated from emitted declarations for `@kerfjs/ui@5.0.0-beta.90` and `kerfjs@5.0.0-beta.90`. This bounded reference covers only APIs used by the seven-task corpus. It is interface evidence, not an implementation or runtime guarantee.
|
|
4
4
|
|
|
5
5
|
## `@kerfjs/ui/css-values`
|
|
6
6
|
|
package/ai/skill.md
CHANGED
|
@@ -201,6 +201,21 @@ Choose from the need, not from visual resemblance:
|
|
|
201
201
|
4. Add a thin application adapter for copy, domain mapping, actions, routing, persistence, permissions, and transport.
|
|
202
202
|
5. Build custom markup only when the semantic contract differs; if it recurs across products, open an upstream component or recipe request.
|
|
203
203
|
|
|
204
|
+
### Application interaction choices
|
|
205
|
+
|
|
206
|
+
For ordinary server-backed freshness, prefer event-driven updates,
|
|
207
|
+
subscriptions, or explicit user refresh when they meet the product need. Use
|
|
208
|
+
fixed-interval polling when periodic sampling is genuinely required or no
|
|
209
|
+
suitable update channel exists; choose the interval deliberately and cancel
|
|
210
|
+
the timer when its owning view is disposed.
|
|
211
|
+
|
|
212
|
+
Match cursor cues to enabled behavior: pointer for actionable targets,
|
|
213
|
+
grab/grabbing or resize cues for real drag and resize affordances, and default
|
|
214
|
+
or disabled cues for unavailable actions. Align semantic controls, keyboard
|
|
215
|
+
behavior, focus treatment, and disabled state with those cues; a cursor alone
|
|
216
|
+
cannot explain an interaction. See [accessibility contracts](../docs/accessibility.md)
|
|
217
|
+
and [interaction principles](../docs/apple-hig.md#interaction).
|
|
218
|
+
|
|
204
219
|
Quick routing:
|
|
205
220
|
|
|
206
221
|
| Need | Choose | Nearest alternatives / boundary |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Web Awesome JSX signatures for the UI authoring corpus
|
|
2
2
|
|
|
3
|
-
Generated from the emitted `@kerfjs/ui@5.0.0-beta.
|
|
3
|
+
Generated from the emitted `@kerfjs/ui@5.0.0-beta.90` declaration boundary. Import `@kerfjs/ui/webawesome` for type effects when authoring direct `wa-*` JSX. The module emits no runtime behavior and does not register custom elements.
|
|
4
4
|
|
|
5
5
|
```ts
|
|
6
6
|
import { KerfCustomElement } from 'kerfjs/jsx-runtime';
|
package/llms.txt
CHANGED
|
@@ -164,6 +164,22 @@ explains when to reuse, compose, extend, or use native HTML.
|
|
|
164
164
|
ratings separately with a named reviewer rather than presenting them as
|
|
165
165
|
objective assertions.
|
|
166
166
|
|
|
167
|
+
## Application interaction choices
|
|
168
|
+
|
|
169
|
+
For ordinary server-backed freshness, prefer event-driven updates, subscriptions,
|
|
170
|
+
or explicit user refresh when they meet the product need. Use fixed-interval
|
|
171
|
+
polling when periodic sampling is genuinely required or no suitable update
|
|
172
|
+
channel exists; choose the interval deliberately and cancel the timer when its
|
|
173
|
+
owning view is disposed.
|
|
174
|
+
|
|
175
|
+
Make cursor cues match enabled behavior: use a pointer for actionable targets,
|
|
176
|
+
grab/grabbing or resize cues for actual drag and resize affordances, and a
|
|
177
|
+
default or disabled cue when an action is unavailable. Keep the semantic
|
|
178
|
+
control, keyboard behavior, focus treatment, and disabled state aligned with
|
|
179
|
+
the cursor; the cursor alone cannot explain an interaction. See
|
|
180
|
+
[accessibility contracts](./docs/accessibility.md) and
|
|
181
|
+
[interaction principles](./docs/apple-hig.md#interaction).
|
|
182
|
+
|
|
167
183
|
## Core rules (do the right thing)
|
|
168
184
|
|
|
169
185
|
- **Prefer a Kerf UI component over a Web Awesome component over a raw HTML
|