@lilydesignsystem/svelte-headless 0.5.0 → 0.5.1
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
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
The format is loosely based on [Keep a Changelog](https://keepachangelog.com/)
|
|
4
4
|
and the package follows [Semantic Versioning](https://semver.org/).
|
|
5
5
|
|
|
6
|
+
## 0.5.1 — 2026-10-18 (Editable accessible name)
|
|
7
|
+
|
|
8
|
+
- `Editable`: the display-mode button is named "value, label" (the label alone when the value is empty) so its visible text is part of its accessible name (WCAG 2.5.3).
|
|
9
|
+
|
|
6
10
|
## 0.5.0 — 2026-10-14 (scrollspy, link counts)
|
|
7
11
|
|
|
8
12
|
- `ContentsNav` gains scrollspy (`spy`): the link of the section in view gets `aria-current` and `data-active`. Props `spy`, `offset`, `root`, `current`, bindable `active`, `onActiveChange`.
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
class={`editable ${className}`}
|
|
111
111
|
role="button"
|
|
112
112
|
tabindex={disabled ? -1 : 0}
|
|
113
|
-
aria-label={label}
|
|
113
|
+
aria-label={value ? `${value}, ${label}` : label}
|
|
114
114
|
aria-disabled={disabled || undefined}
|
|
115
115
|
onclick={startEditing}
|
|
116
116
|
onkeydown={(e) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lilydesignsystem/svelte-headless",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": "=26"
|
|
6
6
|
},
|
|
@@ -35,15 +35,15 @@
|
|
|
35
35
|
"homepage": "https://lilydesignsystem.com/",
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@sveltejs/adapter-auto": "^8.0.0",
|
|
38
|
-
"@sveltejs/kit": "^3.
|
|
38
|
+
"@sveltejs/kit": "^3.1.0",
|
|
39
39
|
"@sveltejs/vite-plugin-svelte": "^7.3.1",
|
|
40
40
|
"@testing-library/svelte": "^5.4.2",
|
|
41
|
-
"@testing-library/user-event": "^14.6.
|
|
42
|
-
"@vitest/ui": "^5.0.
|
|
43
|
-
"jsdom": "^30.1.
|
|
44
|
-
"svelte": "^5.57.
|
|
45
|
-
"vite": "^8.3.
|
|
46
|
-
"vitest": "^5.0.
|
|
41
|
+
"@testing-library/user-event": "^14.6.8",
|
|
42
|
+
"@vitest/ui": "^5.0.5",
|
|
43
|
+
"jsdom": "^30.1.3",
|
|
44
|
+
"svelte": "^5.57.2",
|
|
45
|
+
"vite": "^8.3.4",
|
|
46
|
+
"vitest": "^5.0.5"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"aria-query": "^5.3.2"
|