@ui-sdk/svelte 0.1.0-beta.10 → 0.1.0-beta.12
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/docs/agents.md +1 -1
- package/docs/components/drawer.md +1 -0
- package/docs/core.md +1 -1
- package/package.json +3 -3
package/docs/agents.md
CHANGED
|
@@ -1460,7 +1460,7 @@ The bridge tries these in order and uses the first that fits:
|
|
|
1460
1460
|
|
|
1461
1461
|
Names match regardless of case and accents, so `"Region"` finds "Région" and `"strasse"` finds "Straße".
|
|
1462
1462
|
|
|
1463
|
-
When a name fits more than one component, the step fails and lists each one's ref, label and row text, such as `"Jane Doe" names 2 components: c1 Admin (Jane Doe), c4 Jane Doe. Use a ref
|
|
1463
|
+
When a name fits more than one component, the step fails and lists each one's ref, label and row text, such as `"Jane Doe" names 2 components: c1 Admin (Jane Doe), c4 Jane Doe. Use a ref.`, then a hint for whoever builds the page. Retry the step with one of those refs. That holds even when one label matches exactly, since labels and rows are page text anyone can write, like a person's display name. On your own page, two labels that share their words, like a "Technician" filter and a "Technician" field, each name their component once one has a word the other lacks. If exactly one of them takes the step's action, like a Textarea and the Trigger Menu on the same field for `setValue`, the step uses that one. Otherwise, if exactly one of them is an open popup, the step uses that one.
|
|
1464
1464
|
|
|
1465
1465
|
A returning component can reuse a remembered ref when its kind, label, and row text match. The bridge remembers refs for the last 500 that left. Identical components receive remembered refs in the order they return. Read a fresh snapshot after reordering or renaming components instead of assuming each ref still names the same control.
|
|
1466
1466
|
|
|
@@ -1102,6 +1102,7 @@ Runs in React, Vue and web components.
|
|
|
1102
1102
|
- Side="start" comes from the right in a right-to-left layout.
|
|
1103
1103
|
- Side="end" comes from the left in a right-to-left layout.
|
|
1104
1104
|
- A drag toward the start edge closes it in a right-to-left layout.
|
|
1105
|
+
- Side="top" stays at the top in a right-to-left layout.
|
|
1105
1106
|
|
|
1106
1107
|
Runs in React, Vue and web components.
|
|
1107
1108
|
|
package/docs/core.md
CHANGED
|
@@ -8054,7 +8054,7 @@ Set up ui-sdk in this Svelte project. It needs Svelte 5.33 or newer.
|
|
|
8054
8054
|
**Solid**
|
|
8055
8055
|
|
|
8056
8056
|
```text prompt
|
|
8057
|
-
Set up ui-sdk in this Solid project. It needs Solid 2: solid-js and @solidjs/web 2.0.0
|
|
8057
|
+
Set up ui-sdk in this Solid project. It needs Solid 2: solid-js and @solidjs/web 2.0.0 or newer.
|
|
8058
8058
|
|
|
8059
8059
|
1. Install @ui-sdk/solid and @ui-sdk/core with the project's package manager. If a release-age policy blocks the install, stop and ask me instead of changing it.
|
|
8060
8060
|
2. Add a note to AGENTS.md, creating it if needed: before using ui-sdk, follow the ui-sdk skill if it's installed, and read node_modules/@ui-sdk/solid/docs/llms.txt. To build a new component, also search node_modules/@ui-sdk/solid/docs/core.md by heading, and read rendering.md next to it.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ui-sdk/svelte",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.12",
|
|
4
4
|
"description": "UI SDK for Svelte.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"svelte",
|
|
@@ -381,7 +381,7 @@
|
|
|
381
381
|
],
|
|
382
382
|
"peerDependencies": {
|
|
383
383
|
"svelte": ">=5.33",
|
|
384
|
-
"@ui-sdk/core": "^0.1.0-beta.
|
|
384
|
+
"@ui-sdk/core": "^0.1.0-beta.12"
|
|
385
385
|
},
|
|
386
386
|
"devDependencies": {
|
|
387
387
|
"@sveltejs/package": "^2.5.8",
|
|
@@ -393,7 +393,7 @@
|
|
|
393
393
|
"typescript": "~5.9.3",
|
|
394
394
|
"vite": "^8.3.3",
|
|
395
395
|
"vitest": "^5.0.3",
|
|
396
|
-
"@ui-sdk/core": "0.1.0-beta.
|
|
396
|
+
"@ui-sdk/core": "0.1.0-beta.12"
|
|
397
397
|
},
|
|
398
398
|
"scripts": {
|
|
399
399
|
"build": "node ../../scripts/build/build-svelte-package.mjs",
|