@fusion.dev/helix-headless 0.35.0 → 0.36.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/README.md +1 -1
- package/custom-elements.json +128 -128
- 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/area-chart/root/area-chart-root.js +3 -3
- 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/bar-chart/root/bar-chart-root.js +3 -3
- 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 +1 -1
- 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 +1 -1
- 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/donut-chart/root/donut-chart-root.js +2 -2
- 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/heatmap/root/heatmap-root.js +2 -2
- 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 +1 -1
- package/dist/line-chart/root/line-chart-root.d.ts +1 -1
- package/dist/line-chart/root/line-chart-root.js +3 -3
- 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/scatter-chart/root/scatter-chart-root.js +3 -3
- 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 +1 -1
- 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 +1 -1
- package/package.json +5 -5
|
@@ -17,7 +17,7 @@ declare const HelixHeadlessAccordionItem_base: (new (...args: any[]) => import("
|
|
|
17
17
|
* @since 0.1.0
|
|
18
18
|
* @status experimental
|
|
19
19
|
* @aliases Collapsible, Expander, Disclosure
|
|
20
|
-
* @documentation https://
|
|
20
|
+
* @documentation https://fusion.dev/helix/components/accordion
|
|
21
21
|
*
|
|
22
22
|
* @slot - The content revealed when open.
|
|
23
23
|
* @slot summary - The always-visible trigger content.
|
|
@@ -28,7 +28,7 @@ import { HelixHeadlessAccordionItem } from '../item/accordion-item.js';
|
|
|
28
28
|
* @status experimental
|
|
29
29
|
* @category layout
|
|
30
30
|
* @aliases Collapse, Expander group
|
|
31
|
-
* @documentation https://
|
|
31
|
+
* @documentation https://fusion.dev/helix/components/accordion
|
|
32
32
|
*
|
|
33
33
|
* @slot - The accordion's items.
|
|
34
34
|
*/
|
|
@@ -28,7 +28,7 @@ declare const HelixHeadlessAnnouncement_base: (new (...args: any[]) => import("@
|
|
|
28
28
|
* @status stable
|
|
29
29
|
* @category feedback
|
|
30
30
|
* @aliases Banner, Notification bar, Alert bar
|
|
31
|
-
* @documentation https://
|
|
31
|
+
* @documentation https://fusion.dev/helix/components/announcement
|
|
32
32
|
*
|
|
33
33
|
* @slot - The message.
|
|
34
34
|
* @slot actions - What to do about it, usually a link or a button.
|
|
@@ -21,7 +21,7 @@ import { type PropertyValues, type TemplateResult } from 'lit';
|
|
|
21
21
|
* @status stable
|
|
22
22
|
* @category navigation
|
|
23
23
|
* @aliases Masthead, Navbar, TopBar
|
|
24
|
-
* @documentation https://
|
|
24
|
+
* @documentation https://fusion.dev/helix/components/app-header
|
|
25
25
|
*
|
|
26
26
|
* @slot - The middle region, usually a `Navigation`.
|
|
27
27
|
* @slot end - Trailing content.
|
|
@@ -59,7 +59,7 @@ declare const HelixHeadlessAreaChart_base: typeof HelixElement & (new (...args:
|
|
|
59
59
|
* @status experimental
|
|
60
60
|
* @category charts
|
|
61
61
|
* @aliases Stacked Area Chart, Composition Chart, Stream Chart
|
|
62
|
-
* @documentation https://
|
|
62
|
+
* @documentation https://fusion.dev/helix/components/area-chart
|
|
63
63
|
*
|
|
64
64
|
* @csspart area - One part's band.
|
|
65
65
|
* @csspart baseline - The rule at zero, which is the floor of the drawing.
|
|
@@ -4,7 +4,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
4
4
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
|
-
import { customElement, drawTooltip, formatNumbers, HelixElement, linear, linePath, MixinChartSource, seriesIndex, ticks, } from '@fusion.dev/helix-core';
|
|
7
|
+
import { CHART_PLOT, customElement, drawTooltip, formatNumbers, HelixElement, linear, linePath, MixinChartSource, seriesIndex, ticks, } from '@fusion.dev/helix-core';
|
|
8
8
|
import { html, nothing, svg } from 'lit';
|
|
9
9
|
import { property } from 'lit/decorators.js';
|
|
10
10
|
import '../../tooltip/index.js';
|
|
@@ -70,7 +70,7 @@ let HelixHeadlessAreaChart = class HelixHeadlessAreaChart extends MixinChartSour
|
|
|
70
70
|
const rows = this.sourceRows;
|
|
71
71
|
const stack = this.stack;
|
|
72
72
|
if (rows.length === 0 || stack.columns.length === 0) {
|
|
73
|
-
return html `<div id
|
|
73
|
+
return html `<div id=${CHART_PLOT} part="plot"></div>`;
|
|
74
74
|
}
|
|
75
75
|
const top = this.share ? 1 : Math.max(0, ...stack.totals);
|
|
76
76
|
const domain = [0, top > 0 ? top : 1];
|
|
@@ -82,7 +82,7 @@ let HelixHeadlessAreaChart = class HelixHeadlessAreaChart extends MixinChartSour
|
|
|
82
82
|
}
|
|
83
83
|
renderPlot(stack, count, x, y, domain) {
|
|
84
84
|
const order = stack.layers.map((_, depth) => depth).reverse();
|
|
85
|
-
return html `<div aria-hidden="true" id
|
|
85
|
+
return html `<div aria-hidden="true" id=${CHART_PLOT} part="plot">
|
|
86
86
|
<svg part="svg"
|
|
87
87
|
data-mirror
|
|
88
88
|
preserveAspectRatio="none"
|
|
@@ -28,7 +28,7 @@ export declare const FOLDS_UP_TO = 12;
|
|
|
28
28
|
* @since 0.1.0
|
|
29
29
|
* @status stable
|
|
30
30
|
* @aliases Avatar stack, Facepile
|
|
31
|
-
* @documentation https://
|
|
31
|
+
* @documentation https://fusion.dev/helix/components/avatar
|
|
32
32
|
*
|
|
33
33
|
* @slot - The avatars, in the order they should be read.
|
|
34
34
|
*
|
|
@@ -21,7 +21,7 @@ export declare const initialsOf: (name: string) => string;
|
|
|
21
21
|
* @status stable
|
|
22
22
|
* @category media
|
|
23
23
|
* @aliases Profile picture, Gravatar
|
|
24
|
-
* @documentation https://
|
|
24
|
+
* @documentation https://fusion.dev/helix/components/avatar
|
|
25
25
|
*
|
|
26
26
|
* @slot - Shown when there is no usable image, in place of the initials.
|
|
27
27
|
*
|
|
@@ -23,7 +23,7 @@ import { type TemplateResult } from 'lit';
|
|
|
23
23
|
* @status stable
|
|
24
24
|
* @category markers
|
|
25
25
|
* @aliases Count, Indicator, Pip
|
|
26
|
-
* @documentation https://
|
|
26
|
+
* @documentation https://fusion.dev/helix/components/badge
|
|
27
27
|
*
|
|
28
28
|
* @slot - The element being decorated.
|
|
29
29
|
*
|
|
@@ -31,7 +31,7 @@ declare const HelixHeadlessBarChart_base: typeof HelixElement & (new (...args: a
|
|
|
31
31
|
* @status experimental
|
|
32
32
|
* @category charts
|
|
33
33
|
* @aliases Column Chart, Categorical Chart
|
|
34
|
-
* @documentation https://
|
|
34
|
+
* @documentation https://fusion.dev/helix/components/bar-chart
|
|
35
35
|
*
|
|
36
36
|
* @csspart axis - One scale's numbers, drawn only when `secondary` splits them.
|
|
37
37
|
* @csspart band - The slot the pointer is resting in.
|
|
@@ -4,7 +4,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
4
4
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
|
-
import { customElement, drawTooltip, extent, HelixElement, linear, linePath, MixinChartSource, seriesIndex, ticks, } from '@fusion.dev/helix-core';
|
|
7
|
+
import { CHART_PLOT, customElement, drawTooltip, extent, HelixElement, linear, linePath, MixinChartSource, seriesIndex, ticks, } from '@fusion.dev/helix-core';
|
|
8
8
|
import { html, nothing, svg } from 'lit';
|
|
9
9
|
import { property } from 'lit/decorators.js';
|
|
10
10
|
import '../../tooltip/index.js';
|
|
@@ -36,7 +36,7 @@ let HelixHeadlessBarChart = class HelixHeadlessBarChart extends MixinChartSource
|
|
|
36
36
|
const series = this.series;
|
|
37
37
|
const categories = series[0]?.points.map((point) => point.label) ?? [];
|
|
38
38
|
if (categories.length === 0) {
|
|
39
|
-
return html `<div id
|
|
39
|
+
return html `<div id=${CHART_PLOT} part="plot"></div>`;
|
|
40
40
|
}
|
|
41
41
|
const scaled = this.scaled;
|
|
42
42
|
const own = (one) => scaled.has(one.name.trim().toLowerCase());
|
|
@@ -103,7 +103,7 @@ let HelixHeadlessBarChart = class HelixHeadlessBarChart extends MixinChartSource
|
|
|
103
103
|
};
|
|
104
104
|
return html `<div
|
|
105
105
|
aria-hidden="true"
|
|
106
|
-
id
|
|
106
|
+
id=${CHART_PLOT}
|
|
107
107
|
part="plot"
|
|
108
108
|
>
|
|
109
109
|
<svg part="svg"
|
|
@@ -16,7 +16,7 @@ import { type PropertyValues, type TemplateResult } from 'lit';
|
|
|
16
16
|
* @status stable
|
|
17
17
|
* @category typography
|
|
18
18
|
* @aliases Pullquote, Citation, Excerpt
|
|
19
|
-
* @documentation https://
|
|
19
|
+
* @documentation https://fusion.dev/helix/components/blockquote
|
|
20
20
|
*
|
|
21
21
|
* @slot - The quoted passage.
|
|
22
22
|
* @slot attribution - Who said it, and where.
|
|
@@ -32,7 +32,7 @@ import { type PropertyValues, type TemplateResult } from 'lit';
|
|
|
32
32
|
* @since 0.1.0
|
|
33
33
|
* @status stable
|
|
34
34
|
* @aliases Crumb
|
|
35
|
-
* @documentation https://
|
|
35
|
+
* @documentation https://fusion.dev/helix/components/breadcrumbs
|
|
36
36
|
*
|
|
37
37
|
* @slot - The step's label. Without an `href` this may be the consumer's own
|
|
38
38
|
* anchor, styled with `data-link="quiet"`, since a slotted anchor belongs to the
|
|
@@ -21,7 +21,7 @@ import { type PropertyValues, type TemplateResult } from 'lit';
|
|
|
21
21
|
* @status stable
|
|
22
22
|
* @category navigation
|
|
23
23
|
* @aliases Breadcrumb, Crumbs
|
|
24
|
-
* @documentation https://
|
|
24
|
+
* @documentation https://fusion.dev/helix/components/breadcrumbs
|
|
25
25
|
*
|
|
26
26
|
* @slot - The trail's items, in order from root to current page, with the
|
|
27
27
|
* crumb holding the fold wherever the gap should appear.
|
|
@@ -27,7 +27,7 @@ import { type PropertyValues, type TemplateResult } from 'lit';
|
|
|
27
27
|
* @since 0.1.0
|
|
28
28
|
* @status stable
|
|
29
29
|
* @category actions
|
|
30
|
-
* @documentation https://
|
|
30
|
+
* @documentation https://fusion.dev/helix/components/button
|
|
31
31
|
*
|
|
32
32
|
* @slot - The button's label.
|
|
33
33
|
* @slot end - Content after the label.
|
|
@@ -20,7 +20,7 @@ import { type PropertyValues, type TemplateResult } from 'lit';
|
|
|
20
20
|
* @status stable
|
|
21
21
|
* @category actions
|
|
22
22
|
* @aliases Segmented buttons, Split button
|
|
23
|
-
* @documentation https://
|
|
23
|
+
* @documentation https://fusion.dev/helix/components/button-group
|
|
24
24
|
*
|
|
25
25
|
* @slot - The buttons in the group.
|
|
26
26
|
*/
|
|
@@ -24,7 +24,7 @@ import { type PropertyValues, type TemplateResult } from 'lit';
|
|
|
24
24
|
* @status stable
|
|
25
25
|
* @category markers
|
|
26
26
|
* @aliases Admonition, Notice, Note, Alert
|
|
27
|
-
* @documentation https://
|
|
27
|
+
* @documentation https://fusion.dev/helix/components/callout
|
|
28
28
|
*
|
|
29
29
|
* @slot - The callout's content.
|
|
30
30
|
* @slot icon - Replaces the icon chosen by `tone`.
|
|
@@ -22,7 +22,7 @@ import { type PropertyValues, type TemplateResult } from 'lit';
|
|
|
22
22
|
* @status stable
|
|
23
23
|
* @category layout
|
|
24
24
|
* @aliases Panel, Surface
|
|
25
|
-
* @documentation https://
|
|
25
|
+
* @documentation https://fusion.dev/helix/components/card
|
|
26
26
|
*
|
|
27
27
|
* @slot - The card's main content.
|
|
28
28
|
* @slot footer - Actions that conclude the card.
|
|
@@ -23,7 +23,7 @@ import { type PropertyValues, type TemplateResult } from 'lit';
|
|
|
23
23
|
* @status experimental
|
|
24
24
|
* @category layout
|
|
25
25
|
* @aliases Slider, Gallery, Slideshow
|
|
26
|
-
* @documentation https://
|
|
26
|
+
* @documentation https://fusion.dev/helix/components/carousel
|
|
27
27
|
*
|
|
28
28
|
* @slot - The slides.
|
|
29
29
|
*
|
|
@@ -22,7 +22,7 @@ import { type PropertyValues, type TemplateResult } from 'lit';
|
|
|
22
22
|
* @status experimental
|
|
23
23
|
* @category forms
|
|
24
24
|
* @aliases Message box, Prompt input
|
|
25
|
-
* @documentation https://
|
|
25
|
+
* @documentation https://fusion.dev/helix/components/chat
|
|
26
26
|
*
|
|
27
27
|
* @slot end - Under the field, beside the send control.
|
|
28
28
|
* @slot start - Under the field, at the leading edge: attachments, a model picker.
|
|
@@ -26,7 +26,7 @@ export declare const FAILED_LABEL = "Not sent";
|
|
|
26
26
|
* @status experimental
|
|
27
27
|
* @category feedback
|
|
28
28
|
* @aliases Message, Bubble, Turn
|
|
29
|
-
* @documentation https://
|
|
29
|
+
* @documentation https://fusion.dev/helix/components/chat
|
|
30
30
|
*
|
|
31
31
|
* @slot - What was said.
|
|
32
32
|
* @slot actions - What can be done with it: copy, retry, react.
|
|
@@ -72,7 +72,7 @@ declare const HelixHeadlessChat_base: (new (...args: any[]) => import("@fusion.d
|
|
|
72
72
|
* @status experimental
|
|
73
73
|
* @category feedback
|
|
74
74
|
* @aliases Conversation, Transcript, Thread, Messages
|
|
75
|
-
* @documentation https://
|
|
75
|
+
* @documentation https://fusion.dev/helix/components/chat
|
|
76
76
|
*
|
|
77
77
|
* @slot - The turns, as `helix-chat-message` children.
|
|
78
78
|
* @slot actions - Beside the header: what can be done to the conversation itself.
|
|
@@ -27,7 +27,7 @@ declare const HelixHeadlessCheckbox_base: (new (...args: any[]) => import("@fusi
|
|
|
27
27
|
* @status stable
|
|
28
28
|
* @category forms
|
|
29
29
|
* @aliases Tickbox
|
|
30
|
-
* @documentation https://
|
|
30
|
+
* @documentation https://fusion.dev/helix/components/checkbox
|
|
31
31
|
*
|
|
32
32
|
* @slot - The label.
|
|
33
33
|
*
|
|
@@ -27,7 +27,7 @@ declare const HelixHeadlessCheckboxGroup_base: (new (...args: any[]) => import("
|
|
|
27
27
|
* @status stable
|
|
28
28
|
* @category forms
|
|
29
29
|
* @aliases Checkbox list, Multi-select
|
|
30
|
-
* @documentation https://
|
|
30
|
+
* @documentation https://fusion.dev/helix/components/checkbox-group
|
|
31
31
|
*
|
|
32
32
|
* @slot - The checkboxes.
|
|
33
33
|
* @slot hint - Richer than a string.
|
|
@@ -20,7 +20,7 @@ import { type TemplateResult } from 'lit';
|
|
|
20
20
|
* @status stable
|
|
21
21
|
* @category typography
|
|
22
22
|
* @aliases Inline code, Kbd
|
|
23
|
-
* @documentation https://
|
|
23
|
+
* @documentation https://fusion.dev/helix/components/code
|
|
24
24
|
*
|
|
25
25
|
* @slot - The code.
|
|
26
26
|
*
|
|
@@ -45,7 +45,7 @@ import '../../copy-button/index.js';
|
|
|
45
45
|
* @status stable
|
|
46
46
|
* @category typography
|
|
47
47
|
* @aliases Code block, Snippet, Pre
|
|
48
|
-
* @documentation https://
|
|
48
|
+
* @documentation https://fusion.dev/helix/components/code-block
|
|
49
49
|
*
|
|
50
50
|
* @slot - The code.
|
|
51
51
|
*
|
|
@@ -36,7 +36,7 @@ declare const HelixHeadlessColorInput_base: (new (...args: any[]) => import("@fu
|
|
|
36
36
|
* @status experimental
|
|
37
37
|
* @category forms
|
|
38
38
|
* @aliases ColorField, ColourInput, InputColor
|
|
39
|
-
* @documentation https://
|
|
39
|
+
* @documentation https://fusion.dev/helix/components/color-input
|
|
40
40
|
*
|
|
41
41
|
* @slot end - Content at the trailing end, before the trigger.
|
|
42
42
|
* @slot feedback - What is wrong with it.
|
|
@@ -28,7 +28,7 @@ declare const HelixHeadlessColorPicker_base: (new (...args: any[]) => import("@f
|
|
|
28
28
|
* @status experimental
|
|
29
29
|
* @category forms
|
|
30
30
|
* @aliases Color, ColorArea, Swatch picker
|
|
31
|
-
* @documentation https://
|
|
31
|
+
* @documentation https://fusion.dev/helix/components/color-picker
|
|
32
32
|
*
|
|
33
33
|
* @slot eyedropper-icon - The glyph on the screen-sampling control, usually a dropper.
|
|
34
34
|
*
|
|
@@ -37,7 +37,7 @@ declare const HelixHeadlessCombobox_base: (new (...args: any[]) => import("@fusi
|
|
|
37
37
|
* @status experimental
|
|
38
38
|
* @category forms
|
|
39
39
|
* @aliases Autocomplete, Typeahead, Search select
|
|
40
|
-
* @documentation https://
|
|
40
|
+
* @documentation https://fusion.dev/helix/components/combobox
|
|
41
41
|
*
|
|
42
42
|
* @slot - The options, which are `helix-option` elements.
|
|
43
43
|
* @slot end - After it, for a unit or a clear button.
|
|
@@ -34,7 +34,7 @@ declare const HelixHeadlessCommand_base: (new (...args: any[]) => import("@fusio
|
|
|
34
34
|
* @status stable
|
|
35
35
|
* @category navigation
|
|
36
36
|
* @aliases Command palette, Quick open, Spotlight
|
|
37
|
-
* @documentation https://
|
|
37
|
+
* @documentation https://fusion.dev/helix/components/command
|
|
38
38
|
*
|
|
39
39
|
* @slot - The commands, which are `helix-option` elements and their groups.
|
|
40
40
|
* @slot footer - Under the list, for the keys a reader can press.
|
|
@@ -20,7 +20,7 @@ import '../../tooltip/index.js';
|
|
|
20
20
|
* @status stable
|
|
21
21
|
* @category actions
|
|
22
22
|
* @aliases Copy, Copy to clipboard
|
|
23
|
-
* @documentation https://
|
|
23
|
+
* @documentation https://fusion.dev/helix/components/copy-button
|
|
24
24
|
*
|
|
25
25
|
* @slot - The resting icon. Falls back to a clipboard.
|
|
26
26
|
* @slot copied - What replaces it once the write succeeds. Falls back to a check.
|
|
@@ -56,7 +56,7 @@ declare const HelixHeadlessDataTable_base: (new (...args: any[]) => import("@fus
|
|
|
56
56
|
* @status experimental
|
|
57
57
|
* @category data
|
|
58
58
|
* @aliases Grid, Result table, Data grid
|
|
59
|
-
* @documentation https://
|
|
59
|
+
* @documentation https://fusion.dev/helix/components/data-table
|
|
60
60
|
*
|
|
61
61
|
* @slot - The columns, declared as `helix-table-column` children.
|
|
62
62
|
* @slot footer - Below the grid, replacing the pagination this would otherwise draw.
|
|
@@ -21,7 +21,7 @@ declare const HelixHeadlessDateInput_base: (new (...args: any[]) => import("@fus
|
|
|
21
21
|
* @status experimental
|
|
22
22
|
* @category forms
|
|
23
23
|
* @aliases DatePicker, DateField, InputDate
|
|
24
|
-
* @documentation https://
|
|
24
|
+
* @documentation https://fusion.dev/helix/components/date-input
|
|
25
25
|
*
|
|
26
26
|
* @slot feedback - What is wrong with it.
|
|
27
27
|
* @slot hint - Help under the field.
|
|
@@ -24,7 +24,7 @@ declare const HelixHeadlessDatePicker_base: (new (...args: any[]) => import("@fu
|
|
|
24
24
|
* @status experimental
|
|
25
25
|
* @category forms
|
|
26
26
|
* @aliases Calendar, Date grid, Month view
|
|
27
|
-
* @documentation https://
|
|
27
|
+
* @documentation https://fusion.dev/helix/components/date-picker
|
|
28
28
|
*
|
|
29
29
|
* @slot next-icon - The glyph on the control that moves forward a month, usually a caret.
|
|
30
30
|
* @slot previous-icon - The glyph on the control that moves back a month, usually a caret.
|
|
@@ -14,7 +14,7 @@ import { type TemplateResult } from 'lit';
|
|
|
14
14
|
*
|
|
15
15
|
* @since 0.1.0
|
|
16
16
|
* @status experimental
|
|
17
|
-
* @documentation https://
|
|
17
|
+
* @documentation https://fusion.dev/helix/components/description-list
|
|
18
18
|
*
|
|
19
19
|
* @slot - The value.
|
|
20
20
|
* @slot label - The label, when it is more than text. Falls back to `label`.
|
|
@@ -24,7 +24,7 @@ import { type TemplateResult } from 'lit';
|
|
|
24
24
|
* @status experimental
|
|
25
25
|
* @category data
|
|
26
26
|
* @aliases Data list, Key-value list, Details, Properties
|
|
27
|
-
* @documentation https://
|
|
27
|
+
* @documentation https://fusion.dev/helix/components/description-list
|
|
28
28
|
*
|
|
29
29
|
* @slot - The items.
|
|
30
30
|
*
|
|
@@ -21,7 +21,7 @@ declare const HelixHeadlessDialog_base: (new (...args: any[]) => import("@fusion
|
|
|
21
21
|
* @status stable
|
|
22
22
|
* @category overlays
|
|
23
23
|
* @aliases Modal, Lightbox, Sheet
|
|
24
|
-
* @documentation https://
|
|
24
|
+
* @documentation https://fusion.dev/helix/components/dialog
|
|
25
25
|
*
|
|
26
26
|
* @slot - The dialog's content.
|
|
27
27
|
* @slot footer - The actions.
|
|
@@ -18,7 +18,7 @@ import { type PropertyValues, type TemplateResult } from 'lit';
|
|
|
18
18
|
* @status stable
|
|
19
19
|
* @category layout
|
|
20
20
|
* @aliases Separator, Rule
|
|
21
|
-
* @documentation https://
|
|
21
|
+
* @documentation https://fusion.dev/helix/components/divider
|
|
22
22
|
*
|
|
23
23
|
* @slot - Content set into the rule, such as the word between two sections.
|
|
24
24
|
*
|
|
@@ -20,7 +20,7 @@ declare const HelixHeadlessDonutChart_base: typeof HelixElement & (new (...args:
|
|
|
20
20
|
* @status experimental
|
|
21
21
|
* @category charts
|
|
22
22
|
* @aliases Pie Chart, Ring Chart, Share Chart
|
|
23
|
-
* @documentation https://
|
|
23
|
+
* @documentation https://fusion.dev/helix/components/donut-chart
|
|
24
24
|
*
|
|
25
25
|
* @slot - Goes in the middle of the ring. A total, usually.
|
|
26
26
|
*
|
|
@@ -4,7 +4,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
4
4
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
|
-
import { customElement, drawTooltip, HelixElement, MixinChartSource, seriesIndex, } from '@fusion.dev/helix-core';
|
|
7
|
+
import { CHART_PLOT, customElement, drawTooltip, HelixElement, MixinChartSource, seriesIndex, } from '@fusion.dev/helix-core';
|
|
8
8
|
import { html, nothing, svg } from 'lit';
|
|
9
9
|
import { property } from 'lit/decorators.js';
|
|
10
10
|
import '../../tooltip/index.js';
|
|
@@ -60,7 +60,7 @@ let HelixHeadlessDonutChart = class HelixHeadlessDonutChart extends MixinChartSo
|
|
|
60
60
|
renderPlot(shares) {
|
|
61
61
|
return html `<div
|
|
62
62
|
aria-hidden="true"
|
|
63
|
-
id
|
|
63
|
+
id=${CHART_PLOT}
|
|
64
64
|
part="plot"
|
|
65
65
|
style="--donut-chart-stroke: ${this.thickness}"
|
|
66
66
|
>
|
|
@@ -32,7 +32,7 @@ declare const HelixHeadlessDrawer_base: (new (...args: any[]) => import("@fusion
|
|
|
32
32
|
* @status experimental
|
|
33
33
|
* @category overlays
|
|
34
34
|
* @aliases Sheet, Sidebar, Panel, Off-canvas
|
|
35
|
-
* @documentation https://
|
|
35
|
+
* @documentation https://fusion.dev/helix/components/drawer
|
|
36
36
|
*
|
|
37
37
|
* @slot - The drawer's content.
|
|
38
38
|
* @slot header - Content pinned above the scrolling area.
|
|
@@ -26,7 +26,7 @@ import { nothing, type PropertyValues, type TemplateResult } from 'lit';
|
|
|
26
26
|
* @since 0.1.0
|
|
27
27
|
* @status experimental
|
|
28
28
|
* @aliases Panel item, Drill row
|
|
29
|
-
* @documentation https://
|
|
29
|
+
* @documentation https://fusion.dev/helix/components/drilldown
|
|
30
30
|
*
|
|
31
31
|
* @slot - The words naming this row.
|
|
32
32
|
* @slot end - After the words, usually a mark or a count.
|
|
@@ -30,7 +30,7 @@ declare const HelixHeadlessDrilldown_base: (new (...args: any[]) => import("@fus
|
|
|
30
30
|
* @status experimental
|
|
31
31
|
* @category navigation
|
|
32
32
|
* @aliases Panel, Nested list, Drill-in
|
|
33
|
-
* @documentation https://
|
|
33
|
+
* @documentation https://fusion.dev/helix/components/drilldown
|
|
34
34
|
*
|
|
35
35
|
* @slot - The rows of the top page.
|
|
36
36
|
*
|
|
@@ -21,7 +21,7 @@ import { type PropertyValues, type TemplateResult } from 'lit';
|
|
|
21
21
|
* @status stable
|
|
22
22
|
* @category feedback
|
|
23
23
|
* @aliases Placeholder, NoResults, Blank
|
|
24
|
-
* @documentation https://
|
|
24
|
+
* @documentation https://fusion.dev/helix/components/empty
|
|
25
25
|
*
|
|
26
26
|
* @slot - Why, and what to do about it.
|
|
27
27
|
* @slot actions - The way out.
|
|
@@ -21,7 +21,7 @@ declare const HelixHeadlessFileInput_base: (new (...args: any[]) => import("@fus
|
|
|
21
21
|
* @status stable
|
|
22
22
|
* @category forms
|
|
23
23
|
* @aliases FileUpload, FilePicker, Dropzone, InputFile
|
|
24
|
-
* @documentation https://
|
|
24
|
+
* @documentation https://fusion.dev/helix/components/file-input
|
|
25
25
|
*
|
|
26
26
|
* @slot feedback - What is wrong with it.
|
|
27
27
|
* @slot hint - Help under the field.
|
|
@@ -40,7 +40,7 @@ declare const HelixHeadlessFilterChip_base: (new (...args: any[]) => import("@fu
|
|
|
40
40
|
* @status experimental
|
|
41
41
|
* @category forms
|
|
42
42
|
* @aliases FilterToken, FacetChip
|
|
43
|
-
* @documentation https://
|
|
43
|
+
* @documentation https://fusion.dev/helix/components/filter-input
|
|
44
44
|
*
|
|
45
45
|
* @slot - What the field is compared to, which is usually text and may be
|
|
46
46
|
* anything a consumer wants read there.
|
|
@@ -46,7 +46,7 @@ import type { HelixHeadlessFilterOperator } from '../operator/filter-operator.js
|
|
|
46
46
|
* @status experimental
|
|
47
47
|
* @category forms
|
|
48
48
|
* @aliases Facet, Dimension
|
|
49
|
-
* @documentation https://
|
|
49
|
+
* @documentation https://fusion.dev/helix/components/filter-input
|
|
50
50
|
*
|
|
51
51
|
* @slot - The comparisons this field supports, as `FilterOperator`s, and the
|
|
52
52
|
* values it supports them on, as `Option`s. Neither is rendered: they are read.
|
|
@@ -53,7 +53,7 @@ import '../../menu/index.js';
|
|
|
53
53
|
* @status experimental
|
|
54
54
|
* @category forms
|
|
55
55
|
* @aliases FacetPicker, FilterBuilder
|
|
56
|
-
* @documentation https://
|
|
56
|
+
* @documentation https://fusion.dev/helix/components/filter-input
|
|
57
57
|
*
|
|
58
58
|
* @slot - The fields this can filter by, as `FilterField`s. Read rather than rendered.
|
|
59
59
|
* @slot trigger - The control that opens the menu. A `Button` is the usual one.
|
|
@@ -26,7 +26,7 @@ import { nothing, type PropertyValues } from 'lit';
|
|
|
26
26
|
* @status experimental
|
|
27
27
|
* @category forms
|
|
28
28
|
* @aliases Comparator, Predicate
|
|
29
|
-
* @documentation https://
|
|
29
|
+
* @documentation https://fusion.dev/helix/components/filter-input
|
|
30
30
|
*/
|
|
31
31
|
export declare class HelixHeadlessFilterOperator extends HelixElement {
|
|
32
32
|
/**
|
|
@@ -86,7 +86,7 @@ declare const HelixHeadlessFilterInput_base: (new (...args: any[]) => import("@f
|
|
|
86
86
|
* @status experimental
|
|
87
87
|
* @category forms
|
|
88
88
|
* @aliases SearchField, FacetInput, TokenInput
|
|
89
|
-
* @documentation https://
|
|
89
|
+
* @documentation https://fusion.dev/helix/components/filter-input
|
|
90
90
|
*
|
|
91
91
|
* @slot end - After the text, for a count or a control.
|
|
92
92
|
* @slot start - Before the text, for a search icon.
|
|
@@ -33,7 +33,7 @@ import { nothing, type PropertyValues, type TemplateResult } from 'lit';
|
|
|
33
33
|
* @status experimental
|
|
34
34
|
* @category typography
|
|
35
35
|
* @aliases RelativeTime, Timestamp, TimeAgo
|
|
36
|
-
* @documentation https://
|
|
36
|
+
* @documentation https://fusion.dev/helix/components/format-date
|
|
37
37
|
*
|
|
38
38
|
* @csspart time - The `<time>` element carrying the reading.
|
|
39
39
|
*/
|
|
@@ -31,7 +31,7 @@ declare const HelixHeadlessHeatmap_base: typeof HelixElement & (new (...args: an
|
|
|
31
31
|
* @status experimental
|
|
32
32
|
* @category charts
|
|
33
33
|
* @aliases Contribution graph, Uptime strip, Calendar heatmap, Activity graph
|
|
34
|
-
* @documentation https://
|
|
34
|
+
* @documentation https://fusion.dev/helix/components/heatmap
|
|
35
35
|
*
|
|
36
36
|
* @slot end - Below the strip, at the trailing edge: usually the newest date.
|
|
37
37
|
* @slot start - Below the strip, at the leading edge: usually the oldest date.
|
|
@@ -4,7 +4,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
4
4
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
|
-
import { customElement, drawTooltip, HelixElement, HelixResizeEvent, hostAria, MixinChartSource, slotFilled, } from '@fusion.dev/helix-core';
|
|
7
|
+
import { CHART_PLOT, customElement, drawTooltip, HelixElement, HelixResizeEvent, hostAria, MixinChartSource, slotFilled, } from '@fusion.dev/helix-core';
|
|
8
8
|
import { html, nothing } from 'lit';
|
|
9
9
|
import { property, state } from 'lit/decorators.js';
|
|
10
10
|
import '../../tooltip/index.js';
|
|
@@ -125,7 +125,7 @@ let HelixHeadlessHeatmap = class HelixHeadlessHeatmap extends MixinChartSource(H
|
|
|
125
125
|
const cells = this.drawn;
|
|
126
126
|
return html `<div
|
|
127
127
|
part="strip"
|
|
128
|
-
id
|
|
128
|
+
id=${CHART_PLOT}
|
|
129
129
|
style="--heatmap-rows: ${this.rowCount}"
|
|
130
130
|
@pointerover=${this.onPointerOver}
|
|
131
131
|
@pointerleave=${this.onPointerLeave}
|
|
@@ -31,7 +31,7 @@ import { nothing, type TemplateResult } from 'lit';
|
|
|
31
31
|
* @status stable
|
|
32
32
|
* @category media
|
|
33
33
|
* @aliases Glyph, Symbol
|
|
34
|
-
* @documentation https://
|
|
34
|
+
* @documentation https://fusion.dev/helix/components/icon
|
|
35
35
|
*
|
|
36
36
|
* @csspart svg - The rendered SVG.
|
|
37
37
|
*/
|
|
@@ -23,7 +23,7 @@ import { HelixHeadlessButton } from '../../button/root/button-root.js';
|
|
|
23
23
|
* @status stable
|
|
24
24
|
* @category actions
|
|
25
25
|
* @aliases Icon button, Square button
|
|
26
|
-
* @documentation https://
|
|
26
|
+
* @documentation https://fusion.dev/helix/components/icon-button
|
|
27
27
|
*
|
|
28
28
|
* @slot - The icon.
|
|
29
29
|
*
|