@fusion.dev/helix-core 0.144.0 → 0.145.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.
- package/custom-elements.json +990 -96
- package/dist/controllers/aria-forward-controller/aria-forward-controller.js +1 -0
- package/dist/controllers/countdown-controller/countdown-controller.d.ts +55 -0
- package/dist/controllers/countdown-controller/countdown-controller.js +57 -0
- package/dist/controllers/keyboard-navigation-controller/keyboard-navigation-controller.d.ts +11 -2
- package/dist/controllers/keyboard-navigation-controller/keyboard-navigation-controller.js +4 -1
- package/dist/controllers/virtualize-controller/virtualize-controller.d.ts +68 -35
- package/dist/controllers/virtualize-controller/virtualize-controller.js +77 -10
- package/dist/events/events.d.ts +186 -0
- package/dist/events/events.js +138 -0
- package/dist/helix-element/helix-element.js +14 -1
- package/dist/helix-element/react-bridge.d.ts +9 -4
- package/dist/helix-element/react-bridge.js +14 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.js +3 -1
- package/dist/utils/draw-icon/draw-icon.d.ts +7 -6
- package/dist/utils/range-add/range-add.d.ts +19 -0
- package/dist/utils/range-add/range-add.js +5 -0
- package/dist/utils/reflect-elements/reflect-elements.d.ts +3 -3
- package/dist/utils/report-runtime/report-runtime.d.ts +3 -1
- package/dist/utils/write-time/write-time.d.ts +4 -4
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** The ARIA properties that take elements rather than ids. */
|
|
2
|
-
export type ElementsProperty = 'ariaDescribedByElements' | 'ariaLabelledByElements';
|
|
2
|
+
export type ElementsProperty = 'ariaControlsElements' | 'ariaDescribedByElements' | 'ariaLabelledByElements';
|
|
3
3
|
/**
|
|
4
4
|
* Writes elements onto an ARIA element-reflection property of `target`, or
|
|
5
5
|
* clears it, and says whether the property is now this caller's.
|
|
@@ -11,8 +11,8 @@ export type ElementsProperty = 'ariaDescribedByElements' | 'ariaLabelledByElemen
|
|
|
11
11
|
* caller wrote it**, which `owned` says, so a name another hand wrote stays.
|
|
12
12
|
*
|
|
13
13
|
* Dialog and Drawer name their panel by its header this way, Popover by its
|
|
14
|
-
* first heading, Dialog describes itself by its body,
|
|
15
|
-
* and
|
|
14
|
+
* first heading, Dialog describes itself by its body, a Tour stop names and
|
|
15
|
+
* describes its panel, and a Tab points its control at the panel it shows.
|
|
16
16
|
*/
|
|
17
17
|
export declare const reflectElements: (target: Element | null | undefined, property: ElementsProperty, elements: readonly Element[], owned: boolean) => boolean;
|
|
18
18
|
/**
|
|
@@ -30,6 +30,8 @@ export type RuntimeKind =
|
|
|
30
30
|
| 'misread-direction'
|
|
31
31
|
/** A React handler prop names an event the element never dispatches itself. */
|
|
32
32
|
| 'misplaced-handler'
|
|
33
|
+
/** An Image has no `alt`, so a screen reader announces its file name. */
|
|
34
|
+
| 'missing-alt'
|
|
33
35
|
/** The three.js driver could not load its layout, so the notes stay where they started. */
|
|
34
36
|
| 'missing-layout'
|
|
35
37
|
/** A control has no accessible name, so a screen reader announces it by its role alone. */
|
|
@@ -68,7 +70,7 @@ export type RuntimeKind =
|
|
|
68
70
|
| 'unknown-icon'
|
|
69
71
|
/** A tooltip's trigger does not name it in `aria-describedby`, so it is not read out. */
|
|
70
72
|
| 'unlinked-trigger'
|
|
71
|
-
/** A Text rendered as a label
|
|
73
|
+
/** A Text is rendered as a label, a deprecated value whose shadow root reaches no control. */
|
|
72
74
|
| 'unreachable-label'
|
|
73
75
|
/** A virtualized list's box has no height of its own, so its window never settles. */
|
|
74
76
|
| 'unsettled-window'
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
*
|
|
4
4
|
* `Intl` decides between a twelve and a twenty-four hour clock, because that is
|
|
5
5
|
* a property of the locale rather than of any component: `en-US` gets `2:30 PM`
|
|
6
|
-
* and `en-GB` gets `14:30` without either being configured.
|
|
7
|
-
* force one
|
|
8
|
-
*
|
|
9
|
-
* 24 hour regardless.
|
|
6
|
+
* and `en-GB` gets `14:30` without either being configured. This function takes
|
|
7
|
+
* no flag to force one. A family that offers the choice, such as Time Picker
|
|
8
|
+
* and Time Input with `hour-cycle`, passes it in the locale, as its `-u-hc-`
|
|
9
|
+
* extension (`en-US-u-hc-h23`). The value is 24 hour regardless.
|
|
10
10
|
*
|
|
11
11
|
* A value this cannot read is handed back unchanged, so a field showing what is
|
|
12
12
|
* being typed shows the letters rather than blanking under the reader. Minute
|
package/dist/version.d.ts
CHANGED
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.145.0';
|
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.145.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Ross Sheppard <ross.sheppard@fusion.dev>",
|
|
7
7
|
"repository": {
|
|
@@ -34,11 +34,11 @@
|
|
|
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.145.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@fusion.dev/helix-cem": "0.
|
|
41
|
-
"@fusion.dev/helix-testing": "0.
|
|
40
|
+
"@fusion.dev/helix-cem": "0.145.0",
|
|
41
|
+
"@fusion.dev/helix-testing": "0.145.0",
|
|
42
42
|
"@lit-labs/ssr": "^4.1.0",
|
|
43
43
|
"lit": "^3.2.1"
|
|
44
44
|
},
|