@fusion.dev/helix-headless 0.34.2 → 0.35.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/README.md +1 -1
- package/custom-elements.json +136 -137
- package/dist/accordion/item/accordion-item.d.ts +1 -1
- package/dist/accordion/root/accordion-root.d.ts +1 -1
- package/dist/announcement/root/announcement-root.d.ts +1 -1
- package/dist/app-header/root/app-header-root.d.ts +1 -1
- package/dist/area-chart/root/area-chart-root.d.ts +1 -1
- package/dist/avatar/group/avatar-group.d.ts +1 -1
- package/dist/avatar/root/avatar-root.d.ts +1 -1
- package/dist/badge/root/badge-root.d.ts +1 -1
- package/dist/bar-chart/root/bar-chart-root.d.ts +1 -1
- package/dist/blockquote/root/blockquote-root.d.ts +1 -1
- package/dist/breadcrumbs/breadcrumb/breadcrumb.d.ts +1 -1
- package/dist/breadcrumbs/root/breadcrumbs-root.d.ts +1 -1
- package/dist/button/root/button-root.d.ts +1 -1
- package/dist/button-group/root/button-group-root.d.ts +1 -1
- package/dist/callout/root/callout-root.d.ts +1 -1
- package/dist/card/root/card-root.d.ts +1 -1
- package/dist/carousel/root/carousel-root.d.ts +1 -1
- package/dist/chat/composer/chat-composer.d.ts +1 -1
- package/dist/chat/message/chat-message.d.ts +1 -1
- package/dist/chat/root/chat-root.d.ts +1 -1
- package/dist/checkbox/root/checkbox-root.d.ts +3 -3
- package/dist/checkbox-group/root/checkbox-group-root.d.ts +1 -1
- package/dist/code/root/code-root.d.ts +1 -1
- package/dist/code-block/root/code-block-root.d.ts +1 -1
- package/dist/color-input/root/color-input-root.d.ts +1 -1
- package/dist/color-picker/root/color-picker-root.d.ts +1 -1
- package/dist/combobox/root/combobox-root.d.ts +1 -1
- package/dist/command/root/command-root.d.ts +1 -1
- package/dist/copy-button/root/copy-button-root.d.ts +2 -2
- package/dist/data-table/root/data-table-root.d.ts +1 -1
- package/dist/date-input/root/date-input-root.d.ts +1 -1
- package/dist/date-picker/root/date-picker-root.d.ts +1 -1
- package/dist/description-list/item/description-list-item.d.ts +1 -1
- package/dist/description-list/root/description-list-root.d.ts +1 -1
- package/dist/dialog/root/dialog-root.d.ts +1 -1
- package/dist/divider/root/divider-root.d.ts +1 -1
- package/dist/donut-chart/root/donut-chart-root.d.ts +1 -1
- package/dist/drawer/root/drawer-root.d.ts +1 -1
- package/dist/drilldown/item/drilldown-item.d.ts +1 -1
- package/dist/drilldown/root/drilldown-root.d.ts +1 -1
- package/dist/empty/root/empty-root.d.ts +1 -1
- package/dist/file-input/root/file-input-root.d.ts +1 -1
- package/dist/filter-input/chip/filter-chip.d.ts +1 -1
- package/dist/filter-input/field/filter-field.d.ts +1 -1
- package/dist/filter-input/menu/filter-menu.d.ts +1 -1
- package/dist/filter-input/operator/filter-operator.d.ts +1 -1
- package/dist/filter-input/root/filter-input-root.d.ts +1 -1
- package/dist/format-date/root/format-date-root.d.ts +1 -1
- package/dist/heatmap/root/heatmap-root.d.ts +1 -1
- package/dist/icon/root/icon-root.d.ts +1 -1
- package/dist/icon-button/root/icon-button-root.d.ts +1 -1
- package/dist/image/root/image-root.d.ts +1 -1
- package/dist/input/root/input-root.d.ts +1 -1
- package/dist/kbd/root/kbd-root.d.ts +1 -1
- package/dist/legend/root/legend-root.d.ts +2 -2
- package/dist/legend/root/legend-root.js +3 -4
- package/dist/line-chart/root/line-chart-root.d.ts +1 -1
- package/dist/list/item/list-item.d.ts +1 -1
- package/dist/list/root/list-root.d.ts +1 -1
- package/dist/listbox/root/listbox-root.d.ts +1 -1
- package/dist/loader/root/loader-root.d.ts +1 -1
- package/dist/megamenu/root/megamenu-root.d.ts +1 -1
- package/dist/menu/item/menu-item.d.ts +1 -1
- package/dist/menu/root/menu-root.d.ts +1 -1
- package/dist/meter/root/meter-root.d.ts +1 -1
- package/dist/navigation/root/navigation-root.d.ts +1 -1
- package/dist/notifications/group/notification-group.d.ts +1 -1
- package/dist/notifications/notification/notification.d.ts +1 -1
- package/dist/notifications/root/notifications-root.d.ts +1 -1
- package/dist/number-input/root/number-input-root.d.ts +1 -1
- package/dist/object-inspector/root/object-inspector-root.d.ts +1 -1
- package/dist/option/group/option-group.d.ts +1 -1
- package/dist/option/root/option-root.d.ts +1 -1
- package/dist/outline/root/outline-root.d.ts +1 -1
- package/dist/pagination/root/pagination-root.d.ts +1 -1
- package/dist/pagination/size/pagination-size.d.ts +1 -1
- package/dist/pagination/summary/pagination-summary.d.ts +1 -1
- package/dist/pin-input/root/pin-input-root.d.ts +1 -1
- package/dist/popover/root/popover-root.d.ts +1 -1
- package/dist/progress/root/progress-root.d.ts +1 -1
- package/dist/qr-code/root/qr-code-root.d.ts +1 -1
- package/dist/quote/root/quote-root.d.ts +1 -1
- package/dist/radio/group/radio-group.d.ts +1 -1
- package/dist/radio/root/radio-root.d.ts +1 -1
- package/dist/rating/root/rating-root.d.ts +1 -1
- package/dist/scatter-chart/root/scatter-chart-root.d.ts +1 -1
- package/dist/scroll-area/root/scroll-area-root.d.ts +1 -1
- package/dist/select/root/select-root.d.ts +1 -1
- package/dist/skeleton/root/skeleton-root.d.ts +1 -1
- package/dist/skip-link/root/skip-link-root.d.ts +1 -1
- package/dist/slider/root/slider-root.d.ts +1 -1
- package/dist/sparkline/root/sparkline-root.d.ts +2 -2
- package/dist/speed-dial/item/speed-dial-item.d.ts +1 -1
- package/dist/speed-dial/root/speed-dial-root.d.ts +1 -1
- package/dist/splitter/root/splitter-root.d.ts +1 -1
- package/dist/stat/group/stat-group.d.ts +1 -1
- package/dist/stat/root/stat-root.d.ts +1 -1
- package/dist/steps/root/steps-root.d.ts +1 -1
- package/dist/steps/step/step.d.ts +1 -1
- package/dist/switch/root/switch-root.d.ts +1 -1
- package/dist/table/cell/table-cell.d.ts +1 -1
- package/dist/table/column/table-column.d.ts +1 -1
- package/dist/table/root/table-root.d.ts +1 -1
- package/dist/table/row/table-row.d.ts +1 -1
- package/dist/tabs/panel/tab-panel.d.ts +1 -1
- package/dist/tabs/root/tabs-root.d.ts +1 -1
- package/dist/tabs/tab/tab.d.ts +1 -1
- package/dist/tag/root/tag-root.d.ts +1 -1
- package/dist/textarea/root/textarea-root.d.ts +1 -1
- package/dist/time-input/root/time-input-root.d.ts +1 -1
- package/dist/time-picker/root/time-picker-root.d.ts +1 -1
- package/dist/timeline/item/timeline-item.d.ts +1 -1
- package/dist/timeline/root/timeline-root.d.ts +1 -1
- package/dist/toast/item/toast-item.d.ts +1 -1
- package/dist/toast/root/toast-root.d.ts +1 -1
- package/dist/toggle/group/toggle-group.d.ts +1 -1
- package/dist/toggle/root/toggle-root.d.ts +1 -1
- package/dist/toolbar/root/toolbar-root.d.ts +1 -1
- package/dist/tooltip/root/tooltip-root.d.ts +1 -1
- package/dist/tour/root/tour-root.d.ts +1 -1
- package/dist/tour/stop/tour-stop.d.ts +1 -1
- package/dist/tree/item/tree-item.d.ts +1 -1
- package/dist/tree/root/tree-root.d.ts +1 -1
- package/dist/trend/root/trend-root.d.ts +1 -1
- package/dist/video/root/video-root.d.ts +1 -1
- package/dist/video-playlist/item/video-playlist-item.d.ts +1 -1
- package/dist/video-playlist/menu/video-playlist-menu.d.ts +1 -1
- package/dist/video-playlist/root/video-playlist-root.d.ts +1 -1
- package/dist/virtual-list/root/virtual-list-root.d.ts +9 -3
- package/package.json +5 -5
- package/types/jsx.d.ts +14 -2
- package/types/vue.d.ts +1 -1
|
@@ -41,7 +41,7 @@ declare const HelixHeadlessTooltip_base: (new (...args: any[]) => import("@fusio
|
|
|
41
41
|
* @status experimental
|
|
42
42
|
* @category overlays
|
|
43
43
|
* @aliases Hint, Popup label
|
|
44
|
-
* @documentation https://
|
|
44
|
+
* @documentation https://fusion.dev/helix/components/tooltip
|
|
45
45
|
*
|
|
46
46
|
* @slot - The trigger.
|
|
47
47
|
* @slot content - The bubble's content, when `content` is not enough. Anything
|
|
@@ -23,7 +23,7 @@ import type { HelixHeadlessTourStop } from '../stop/tour-stop.js';
|
|
|
23
23
|
* @status experimental
|
|
24
24
|
* @category overlays
|
|
25
25
|
* @aliases Coachmark, Product tour, Walkthrough, Onboarding
|
|
26
|
-
* @documentation https://
|
|
26
|
+
* @documentation https://fusion.dev/helix/components/tour
|
|
27
27
|
*
|
|
28
28
|
* @slot - The stops, in the order they should be visited.
|
|
29
29
|
*
|
|
@@ -37,7 +37,7 @@ import '../../button/index.js';
|
|
|
37
37
|
* @since 0.1.0
|
|
38
38
|
* @status experimental
|
|
39
39
|
* @category overlays
|
|
40
|
-
* @documentation https://
|
|
40
|
+
* @documentation https://fusion.dev/helix/components/tour
|
|
41
41
|
*
|
|
42
42
|
* @slot - What this stop says. A card, a heading and a line, anything.
|
|
43
43
|
* @slot actions - Replaces the controls, which are Back, Next and Skip.
|
|
@@ -26,7 +26,7 @@ declare const HelixHeadlessTreeItem_base: (new (...args: any[]) => import("@fusi
|
|
|
26
26
|
* @since 0.1.0
|
|
27
27
|
* @status experimental
|
|
28
28
|
* @aliases TreeNode, Branch, Leaf
|
|
29
|
-
* @documentation https://
|
|
29
|
+
* @documentation https://fusion.dev/helix/components/tree
|
|
30
30
|
*
|
|
31
31
|
* @slot - The item's label.
|
|
32
32
|
* @slot children - Nested items, which make this a branch.
|
|
@@ -17,7 +17,7 @@ declare const HelixHeadlessTree_base: (new (...args: any[]) => import("@fusion.d
|
|
|
17
17
|
* @status experimental
|
|
18
18
|
* @category navigation
|
|
19
19
|
* @aliases FileTree, Navigation tree
|
|
20
|
-
* @documentation https://
|
|
20
|
+
* @documentation https://fusion.dev/helix/components/tree
|
|
21
21
|
*
|
|
22
22
|
* @slot - The tree's items.
|
|
23
23
|
*
|
|
@@ -27,7 +27,7 @@ import { type TemplateResult } from 'lit';
|
|
|
27
27
|
* @status stable
|
|
28
28
|
* @category charts
|
|
29
29
|
* @aliases Delta, Change, Movement
|
|
30
|
-
* @documentation https://
|
|
30
|
+
* @documentation https://fusion.dev/helix/components/trend
|
|
31
31
|
*
|
|
32
32
|
* @slot - The metric that moved.
|
|
33
33
|
* @slot label - What it moved over.
|
|
@@ -35,7 +35,7 @@ import '../../menu/index.js';
|
|
|
35
35
|
* @status experimental
|
|
36
36
|
* @category media
|
|
37
37
|
* @aliases Player, Media, Movie
|
|
38
|
-
* @documentation https://
|
|
38
|
+
* @documentation https://fusion.dev/helix/components/video
|
|
39
39
|
*
|
|
40
40
|
* @slot - `<source>` and `<track>` elements, which are copied into the video.
|
|
41
41
|
* @slot back - Top left over the frame, for a way out of a set.
|
|
@@ -25,7 +25,7 @@ import { type TemplateResult } from 'lit';
|
|
|
25
25
|
* @since 0.1.0
|
|
26
26
|
* @status experimental
|
|
27
27
|
* @category media
|
|
28
|
-
* @documentation https://
|
|
28
|
+
* @documentation https://fusion.dev/helix/components/video-playlist
|
|
29
29
|
*
|
|
30
30
|
* @slot - The entry's name.
|
|
31
31
|
* @slot media - A thumbnail. Falls back to an image of `poster`.
|
|
@@ -19,7 +19,7 @@ import '../../menu/index.js';
|
|
|
19
19
|
* @status experimental
|
|
20
20
|
* @category media
|
|
21
21
|
* @aliases Episode Menu, Queue Menu, Up Next
|
|
22
|
-
* @documentation https://
|
|
22
|
+
* @documentation https://fusion.dev/helix/components/video-playlist
|
|
23
23
|
*
|
|
24
24
|
* @slot trigger - Replaces the button that opens the menu.
|
|
25
25
|
*
|
|
@@ -32,7 +32,7 @@ declare const HelixHeadlessVideoPlaylist_base: (new (...args: any[]) => import("
|
|
|
32
32
|
* @status experimental
|
|
33
33
|
* @category media
|
|
34
34
|
* @aliases Playlist, Queue, Up next
|
|
35
|
-
* @documentation https://
|
|
35
|
+
* @documentation https://fusion.dev/helix/components/video-playlist
|
|
36
36
|
*
|
|
37
37
|
* @slot - The entries.
|
|
38
38
|
* @slot player - The `helix-video` they play in.
|
|
@@ -20,14 +20,20 @@ import { type PropertyValues, type TemplateResult } from 'lit';
|
|
|
20
20
|
* that share this `for="<id>"` shape: ten thousand rows in one is the cost this
|
|
21
21
|
* exists to avoid. It is the rendered window plus `aria-setsize`.
|
|
22
22
|
*
|
|
23
|
+
* **The box scrolls on this tier.** The viewport carries `data-scroller` and
|
|
24
|
+
* `core` ships `[data-scroller] { overflow: auto }` into every shadow root, so
|
|
25
|
+
* `scrollTop` exists with no stylesheet at all. What a headless consumer still
|
|
26
|
+
* has to supply is a block size, which is a design decision; the `overflow`
|
|
27
|
+
* they used to supply was a mechanism they had no way of knowing was missing.
|
|
28
|
+
*
|
|
23
29
|
* @since 0.1.0
|
|
24
|
-
* @status
|
|
30
|
+
* @status stable
|
|
25
31
|
* @category layout
|
|
26
|
-
* @documentation https://
|
|
32
|
+
* @documentation https://fusion.dev/helix/components/virtual-list
|
|
27
33
|
*
|
|
28
34
|
* @csspart after - The space standing in for rows below the window.
|
|
29
35
|
* @csspart before - The space standing in for rows above the window.
|
|
30
|
-
* @csspart viewport - The scrolling box. Needs a block size
|
|
36
|
+
* @csspart viewport - The scrolling box. Needs a block size on this tier, and nothing else.
|
|
31
37
|
*/
|
|
32
38
|
export declare class HelixHeadlessVirtualList extends HelixElement {
|
|
33
39
|
/**
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fusion.dev/helix-headless",
|
|
3
3
|
"description": "Headless component tier. Structure, accessibility, state, and form participation. No styling.",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.35.1",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Ross Sheppard <ross.sheppard@fusion.dev>",
|
|
7
7
|
"repository": {
|
|
@@ -46,14 +46,14 @@
|
|
|
46
46
|
},
|
|
47
47
|
"bugs": "https://github.com/project-fusion/fusion/issues",
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@fusion.dev/helix-core": "0.
|
|
50
|
-
"@fusion.dev/helix-icons": "0.
|
|
49
|
+
"@fusion.dev/helix-core": "0.35.1",
|
|
50
|
+
"@fusion.dev/helix-icons": "0.35.1",
|
|
51
51
|
"uqr": "^0.1.3"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@custom-elements-manifest/analyzer": "^0.11.0",
|
|
55
|
-
"@fusion.dev/helix-cem": "0.
|
|
56
|
-
"@fusion.dev/helix-testing": "0.
|
|
55
|
+
"@fusion.dev/helix-cem": "0.35.1",
|
|
56
|
+
"@fusion.dev/helix-testing": "0.35.1",
|
|
57
57
|
"@fusion.dev/scripts": "0.0.0-dev",
|
|
58
58
|
"@happy-dom/global-registrator": "^20.0.0",
|
|
59
59
|
"@lit-labs/ssr": "^4.1.0",
|
package/types/jsx.d.ts
CHANGED
|
@@ -34363,6 +34363,12 @@ export type CustomElements = {
|
|
|
34363
34363
|
* that share this `for="<id>"` shape: ten thousand rows in one is the cost this
|
|
34364
34364
|
* exists to avoid. It is the rendered window plus `aria-setsize`.
|
|
34365
34365
|
*
|
|
34366
|
+
* **The box scrolls on this tier.** The viewport carries `data-scroller` and
|
|
34367
|
+
* `core` ships `[data-scroller] { overflow: auto }` into every shadow root, so
|
|
34368
|
+
* `scrollTop` exists with no stylesheet at all. What a headless consumer still
|
|
34369
|
+
* has to supply is a block size, which is a design decision; the `overflow`
|
|
34370
|
+
* they used to supply was a mechanism they had no way of knowing was missing.
|
|
34371
|
+
*
|
|
34366
34372
|
* ## Attributes & Properties
|
|
34367
34373
|
*
|
|
34368
34374
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
@@ -34407,7 +34413,7 @@ export type CustomElements = {
|
|
|
34407
34413
|
*
|
|
34408
34414
|
* - `after`: The space standing in for rows below the window.
|
|
34409
34415
|
* - `before`: The space standing in for rows above the window.
|
|
34410
|
-
* - `viewport`: The scrolling box. Needs a block size
|
|
34416
|
+
* - `viewport`: The scrolling box. Needs a block size on this tier, and nothing else.
|
|
34411
34417
|
*
|
|
34412
34418
|
* ## CSS States
|
|
34413
34419
|
*
|
|
@@ -52050,6 +52056,12 @@ export type CustomElementsSolidJs = {
|
|
|
52050
52056
|
* that share this `for="<id>"` shape: ten thousand rows in one is the cost this
|
|
52051
52057
|
* exists to avoid. It is the rendered window plus `aria-setsize`.
|
|
52052
52058
|
*
|
|
52059
|
+
* **The box scrolls on this tier.** The viewport carries `data-scroller` and
|
|
52060
|
+
* `core` ships `[data-scroller] { overflow: auto }` into every shadow root, so
|
|
52061
|
+
* `scrollTop` exists with no stylesheet at all. What a headless consumer still
|
|
52062
|
+
* has to supply is a block size, which is a design decision; the `overflow`
|
|
52063
|
+
* they used to supply was a mechanism they had no way of knowing was missing.
|
|
52064
|
+
*
|
|
52053
52065
|
* ## Attributes & Properties
|
|
52054
52066
|
*
|
|
52055
52067
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
@@ -52094,7 +52106,7 @@ export type CustomElementsSolidJs = {
|
|
|
52094
52106
|
*
|
|
52095
52107
|
* - `after`: The space standing in for rows below the window.
|
|
52096
52108
|
* - `before`: The space standing in for rows above the window.
|
|
52097
|
-
* - `viewport`: The scrolling box. Needs a block size
|
|
52109
|
+
* - `viewport`: The scrolling box. Needs a block size on this tier, and nothing else.
|
|
52098
52110
|
*
|
|
52099
52111
|
* ## CSS States
|
|
52100
52112
|
*
|
package/types/vue.d.ts
CHANGED
|
@@ -9637,7 +9637,7 @@ export interface WcToolkitVueGlobalComponents {
|
|
|
9637
9637
|
HelixHeadlessVideoVueProps,
|
|
9638
9638
|
HelixHeadlessVideoVueEvents
|
|
9639
9639
|
>;
|
|
9640
|
-
/** **The set arrives as data, which is what makes this a virtual list rather than a box that hides children.** 'for' names a '<script type="application/json">' holding an array of objects, and a '<template>' child says what one row looks like: elements carrying 'data-field="name"' are filled with that field of the item. Both halves are markup, and that is the reason for the shape. An 'items' property cannot survive React hydration, which skips every property it would have to apply imperatively, and light-DOM children exist by the time anything could decide not to create them. Text in the document is neither, and it is one node whatever the row count. **The accessible version is not a '<table>'**, the way it is for the charts that share this 'for="<id>"' shape: ten thousand rows in one is the cost this exists to avoid. It is the rendered window plus 'aria-setsize'. */
|
|
9640
|
+
/** **The set arrives as data, which is what makes this a virtual list rather than a box that hides children.** 'for' names a '<script type="application/json">' holding an array of objects, and a '<template>' child says what one row looks like: elements carrying 'data-field="name"' are filled with that field of the item. Both halves are markup, and that is the reason for the shape. An 'items' property cannot survive React hydration, which skips every property it would have to apply imperatively, and light-DOM children exist by the time anything could decide not to create them. Text in the document is neither, and it is one node whatever the row count. **The accessible version is not a '<table>'**, the way it is for the charts that share this 'for="<id>"' shape: ten thousand rows in one is the cost this exists to avoid. It is the rendered window plus 'aria-setsize'. **The box scrolls on this tier.** The viewport carries 'data-scroller' and 'core' ships '[data-scroller] { overflow: auto }' into every shadow root, so 'scrollTop' exists with no stylesheet at all. What a headless consumer still has to supply is a block size, which is a design decision; the 'overflow' they used to supply was a mechanism they had no way of knowing was missing. */
|
|
9641
9641
|
"helix-headless-virtual-list": DefineCustomElement<
|
|
9642
9642
|
HelixHeadlessVirtualList,
|
|
9643
9643
|
HelixHeadlessVirtualListVueProps,
|