@fusion.dev/helix-core 0.44.0 → 0.46.0
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.
|
@@ -63,7 +63,22 @@ export interface KeyboardNavigationOptions {
|
|
|
63
63
|
*/
|
|
64
64
|
reserved?: () => string[];
|
|
65
65
|
/**
|
|
66
|
-
* Whether the ends join up
|
|
66
|
+
* Whether the ends join up, which they do unless a set says otherwise.
|
|
67
|
+
*
|
|
68
|
+
* **A ring wraps and a scale does not**, and every set here is a ring but
|
|
69
|
+
* one. A radio group, a tab strip, a toggle group and a menu are all sets of
|
|
70
|
+
* peers with no first and no last worth stopping at, so arriving past the end
|
|
71
|
+
* is arriving at the beginning, which is what a native radio group does and
|
|
72
|
+
* what the practice for a menu says. `Rating` is the exception and the only
|
|
73
|
+
* `wrap: false` in the library: its marks are a quantity, so a press past
|
|
74
|
+
* five stars would land on one, and a reader holding the key would rate the
|
|
75
|
+
* thing worst at the moment they meant best.
|
|
76
|
+
*
|
|
77
|
+
* **`false` clamps both ends rather than one.** Backward from the first is
|
|
78
|
+
* `items[-1]`, which is nothing focused and nothing chosen on a press
|
|
79
|
+
* `preventDefault` has already swallowed, so the reader holding Left on the
|
|
80
|
+
* first star gets silence where holding Right on the last one holds its
|
|
81
|
+
* ground.
|
|
67
82
|
*/
|
|
68
83
|
wrap?: boolean;
|
|
69
84
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fusion.dev/helix-core",
|
|
3
3
|
"description": "Helix element primitives: base classes, mixins, decorators, utilities.",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.46.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Ross Sheppard <ross.sheppard@fusion.dev>",
|
|
7
7
|
"repository": {
|
|
@@ -34,12 +34,12 @@
|
|
|
34
34
|
"bugs": "https://github.com/project-fusion/fusion/issues",
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@floating-ui/dom": "^1.8.0",
|
|
37
|
-
"@fusion.dev/helix-icons": "0.
|
|
37
|
+
"@fusion.dev/helix-icons": "0.46.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@custom-elements-manifest/analyzer": "^0.11.0",
|
|
41
|
-
"@fusion.dev/helix-cem": "0.
|
|
42
|
-
"@fusion.dev/helix-testing": "0.
|
|
41
|
+
"@fusion.dev/helix-cem": "0.46.0",
|
|
42
|
+
"@fusion.dev/helix-testing": "0.46.0",
|
|
43
43
|
"lit": "^3.2.1"
|
|
44
44
|
},
|
|
45
45
|
"homepage": "https://fusion.dev",
|