jsswift 1.0.50 → 1.0.51

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.md CHANGED
@@ -99,3 +99,16 @@ For a complete application flow, read [the compact CRUD example](examples/crud.m
99
99
  Check whether browser tooling and server permissions are available before launching checks. Run Git commands only in a Git worktree; for example test `git rev-parse --is-inside-work-tree` before requesting a diff. Keep build, pure-logic tests and server startup results separate. An HTTP response confirms a reachable server, not that your startup command succeeded or that browser interactions work. Report environment failures separately from application failures. Test the implemented functions rather than rebuilding equivalent data inside an assertion.
100
100
 
101
101
  Dialog autofocus preserves focus assigned inside `onOpen`; verify initial focus separately from validation focus and return focus. Field messages are associated with Input/Select through `aria-describedby` automatically.
102
+
103
+ ## Focus CSS and targeted reads
104
+
105
+ Apply focus indicators to every selector through `:is`, rather than placing the pseudo-class on only the final selector in a comma-separated list:
106
+
107
+ ```css
108
+ :is(button, a, input, select, [tabindex]):focus-visible {
109
+ outline: 3px solid #2563eb;
110
+ outline-offset: 3px;
111
+ }
112
+ ```
113
+
114
+ When MCP is configured, request missing component details with `jsswift_read({id:"component:table", section:"props", keys:["pagination","hideFooter"]})`. `section` supports props, events, methods and slots; omit it for the full document. Inherited props are resolved automatically; unknown keys return an error. This reduces returned text, not the API knowledge needed by the task.
@@ -99,3 +99,16 @@ For a complete application flow, read [the compact CRUD example](examples/crud.m
99
99
  Check whether browser tooling and server permissions are available before launching checks. Run Git commands only in a Git worktree; for example test `git rev-parse --is-inside-work-tree` before requesting a diff. Keep build, pure-logic tests and server startup results separate. An HTTP response confirms a reachable server, not that your startup command succeeded or that browser interactions work. Report environment failures separately from application failures. Test the implemented functions rather than rebuilding equivalent data inside an assertion.
100
100
 
101
101
  Dialog autofocus preserves focus assigned inside `onOpen`; verify initial focus separately from validation focus and return focus. Field messages are associated with Input/Select through `aria-describedby` automatically.
102
+
103
+ ## Focus CSS and targeted reads
104
+
105
+ Apply focus indicators to every selector through `:is`, rather than placing the pseudo-class on only the final selector in a comma-separated list:
106
+
107
+ ```css
108
+ :is(button, a, input, select, [tabindex]):focus-visible {
109
+ outline: 3px solid #2563eb;
110
+ outline-offset: 3px;
111
+ }
112
+ ```
113
+
114
+ When MCP is configured, request missing component details with `jsswift_read({id:"component:table", section:"props", keys:["pagination","hideFooter"]})`. `section` supports props, events, methods and slots; omit it for the full document. Inherited props are resolved automatically; unknown keys return an error. This reduces returned text, not the API knowledge needed by the task.
@@ -68,3 +68,7 @@ npm run test:knowledge
68
68
  `knowledge:check` verifies document references, component coverage, names, and metadata descriptions. `knowledge:refresh` rebuilds component entries from their Markdown metadata, preserving curated keywords and topic assignments. Maintain topic paths and keywords in `knowledge-map.json`; review routing when adding a new component, then regenerate the portable Skill. Restart the MCP after updating documentation so its map is reloaded.
69
69
 
70
70
  For framework maintenance use [docDevelop/README.md](../docDevelop/README.md).
71
+
72
+ ## Targeted component reads
73
+
74
+ After search, use `jsswift_read` with `id`, optional `section` (props/events/methods/slots), and optional `keys`. Keys require a section; only documented keys are accepted. Props inherited from common-props are resolved. Existing full-document reads and resources remain available. This interface must be configured in the client; it does not change benchmarks without MCP access.
@@ -91,3 +91,9 @@ _.Table({
91
91
  ```
92
92
 
93
93
  Use the documented visibility and column style props before hiding or restyling internal table classes. With external pagination, pass the current page's rows and disable internal pagination.
94
+
95
+ ## External filters and pagination
96
+
97
+ For application-owned filtering/paging, pass the already filtered page as `rows`, set `pagination: false` and `hideFooter: true`. `minTableWidth` keeps columns readable in a horizontally scrollable container. Provide counters and pager buttons outside Table.
98
+
99
+ `toolbarStart`, `toolbar` and `toolbarEnd` add content to the optional toolbar. The built-in row-count status is a separate region and remains visible even with `hideFooter: true`; it counts the rows supplied to Table, not the full application inventory. The current contract has no `hideStatus` prop. Do not invent one or confuse `hideHeader` (column headings) with the toolbar/status. Table has its own Card wrapper; nesting it in another Card may produce an additional frame. Customize using supported props and theme values first.
@@ -983,5 +983,5 @@
983
983
  "documentAliases": {
984
984
  "components/button.md": "components/btn.md"
985
985
  },
986
- "packageVersion": "1.0.50"
986
+ "packageVersion": "1.0.51"
987
987
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jsswift",
3
- "version": "1.0.50",
3
+ "version": "1.0.51",
4
4
  "description": "Umbrella package for JSswift core + UI",
5
5
  "license": "MIT",
6
6
  "repository": {