@fusion.dev/helix-headless 0.243.0 → 0.244.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.
Files changed (41) hide show
  1. package/api.json +1 -1
  2. package/custom-elements.json +1 -1
  3. package/dist/announcement/root/announcement-root.d.ts +3 -0
  4. package/dist/badge/root/badge-root.d.ts +3 -0
  5. package/dist/blockquote/root/blockquote-root.d.ts +2 -0
  6. package/dist/callout/root/callout-root.d.ts +3 -0
  7. package/dist/card/root/card-root.d.ts +3 -0
  8. package/dist/checkbox/root/checkbox-root.d.ts +2 -0
  9. package/dist/combobox/root/combobox-root.d.ts +3 -0
  10. package/dist/dialog/root/dialog-root.d.ts +3 -0
  11. package/dist/drawer/root/drawer-root.d.ts +3 -0
  12. package/dist/empty/root/empty-root.d.ts +2 -0
  13. package/dist/legend/root/legend-root.d.ts +1 -1
  14. package/dist/list/item/list-item.d.ts +1 -1
  15. package/dist/list/root/list-root.d.ts +1 -1
  16. package/dist/listbox/root/listbox-root.d.ts +2 -0
  17. package/dist/loader/root/loader-root.d.ts +1 -1
  18. package/dist/map/points/map-points.d.ts +1 -1
  19. package/dist/megamenu/root/megamenu-root.d.ts +3 -0
  20. package/dist/menu/root/menu-root.d.ts +3 -0
  21. package/dist/notifications/root/notifications-root.d.ts +2 -0
  22. package/dist/number-input/root/number-input-root.d.ts +3 -0
  23. package/dist/option/root/option-root.d.ts +1 -1
  24. package/dist/pagination/summary/pagination-summary.d.ts +1 -1
  25. package/dist/popover/root/popover-root.d.ts +4 -0
  26. package/dist/quote/root/quote-root.d.ts +6 -4
  27. package/dist/radio/root/radio-root.d.ts +3 -0
  28. package/dist/select/root/select-root.d.ts +4 -0
  29. package/dist/skeleton/root/skeleton-root.d.ts +3 -0
  30. package/dist/stat/root/stat-root.d.ts +1 -1
  31. package/dist/steps/root/steps-root.d.ts +3 -0
  32. package/dist/switch/root/switch-root.d.ts +2 -0
  33. package/dist/tag/root/tag-root.d.ts +3 -0
  34. package/dist/timeline/group/timeline-group.d.ts +1 -1
  35. package/dist/toast/root/toast-root.d.ts +3 -0
  36. package/dist/toggle/root/toggle-root.d.ts +3 -0
  37. package/dist/tooltip/root/tooltip-root.d.ts +2 -0
  38. package/lint.json +1 -1
  39. package/package.json +5 -5
  40. package/types/jsx.d.ts +4 -4
  41. package/types/vue.d.ts +4 -4
@@ -58,6 +58,9 @@ declare const HelixHeadlessAnnouncement_base: (new (...args: any[]) => import("@
58
58
  * @status stable
59
59
  * @category feedback
60
60
  * @aliases Banner, Notification bar, Alert bar
61
+ * @use A message for every page of a site, shown above its header, such as planned downtime.
62
+ * @instead callout - A message about one section.
63
+ * @instead toast - A reply to an action.
61
64
  * @documentation https://fusion.dev/helix/components/announcement
62
65
  *
63
66
  * @slot - The message.
@@ -45,6 +45,9 @@ import { type PropertyValues, type TemplateResult } from 'lit';
45
45
  * @status stable
46
46
  * @category markers
47
47
  * @aliases Count, Indicator, Pip
48
+ * @use A count on an icon, a tab, or a button, or a dot that marks something new.
49
+ * @instead tag - A word that describes the content.
50
+ * @instead stat - A number that is the content itself.
48
51
  * @documentation https://fusion.dev/helix/components/badge
49
52
  *
50
53
  * @slot - The element being decorated.
@@ -38,6 +38,8 @@ import { type CSSResultGroup, type PropertyValues, type TemplateResult } from 'l
38
38
  * @status stable
39
39
  * @category typography
40
40
  * @aliases Pullquote, Citation, Excerpt
41
+ * @use A passage set apart from the prose, including a pull quote with `marks`.
42
+ * @instead quote - A few words quoted inside a sentence.
41
43
  * @documentation https://fusion.dev/helix/components/blockquote
42
44
  *
43
45
  * @slot - The quoted passage.
@@ -30,6 +30,9 @@ declare const HelixHeadlessCallout_base: (new (...args: any[]) => import("@fusio
30
30
  * @status stable
31
31
  * @category markers
32
32
  * @aliases Admonition, Notice, Note, Alert
33
+ * @use A note, a warning, or an error about the content around it.
34
+ * @instead toast - A confirmation that leaves on its own.
35
+ * @instead announcement - A message for the whole site.
33
36
  * @documentation https://fusion.dev/helix/components/callout
34
37
  *
35
38
  * @slot - The callout's content.
@@ -47,6 +47,9 @@ import { type PropertyValues, type TemplateResult } from 'lit';
47
47
  * @status stable
48
48
  * @category layout
49
49
  * @aliases Panel, Surface
50
+ * @use Related content and actions grouped on one surface, often repeated in a grid.
51
+ * @instead drawer - A panel that slides in over the page.
52
+ * @instead drilldown - Pages you step into and back out of.
50
53
  * @documentation https://fusion.dev/helix/components/card
51
54
  *
52
55
  * @slot - The card's main content.
@@ -35,6 +35,8 @@ declare const HelixHeadlessCheckbox_base: (new (...args: any[]) => import("@fusi
35
35
  * @status stable
36
36
  * @category forms
37
37
  * @aliases Tickbox
38
+ * @use A choice submitted with a form, or a set of independent choices.
39
+ * @instead switch - A setting that applies at once.
38
40
  * @documentation https://fusion.dev/helix/components/checkbox
39
41
  *
40
42
  * @slot - The label.
@@ -75,6 +75,9 @@ declare const HelixHeadlessCombobox_base: (new (...args: any[]) => import("@fusi
75
75
  * @status stable
76
76
  * @category forms
77
77
  * @aliases Autocomplete, Typeahead, Search select
78
+ * @use One value from a long list, found by typing.
79
+ * @instead select - A short list you scan.
80
+ * @instead filter-input - Several values that narrow a list.
78
81
  * @documentation https://fusion.dev/helix/components/combobox
79
82
  *
80
83
  * @slot - The options.
@@ -55,6 +55,9 @@ declare const HelixHeadlessDialog_base: (new (...args: any[]) => import("@fusion
55
55
  * @status stable
56
56
  * @category overlays
57
57
  * @aliases Modal, Sheet
58
+ * @use A decision or a short task that blocks the page until it is done.
59
+ * @instead drawer - Details or settings beside the page's content.
60
+ * @instead popover - Content tied to one trigger, with the page still in use.
58
61
  * @documentation https://fusion.dev/helix/components/dialog
59
62
  *
60
63
  * @slot - The dialog's content.
@@ -85,6 +85,9 @@ declare const HelixHeadlessDrawer_base: (new (...args: any[]) => import("@fusion
85
85
  * @status stable
86
86
  * @category overlays
87
87
  * @aliases Sheet, Sidebar, Panel, Off-canvas
88
+ * @use Details, filters, or navigation that slide in from an edge, with the page still in view.
89
+ * @instead dialog - A decision you answer before going on.
90
+ * @instead drilldown - Pages you step into and back out of.
88
91
  * @documentation https://fusion.dev/helix/components/drawer
89
92
  *
90
93
  * @slot - The drawer's content.
@@ -44,6 +44,8 @@ import { type PropertyValues, type TemplateResult } from 'lit';
44
44
  * @status stable
45
45
  * @category feedback
46
46
  * @aliases Placeholder, NoResults, Blank
47
+ * @use A region with nothing in it, and the next step to take.
48
+ * @instead skeleton - Content that has not arrived yet.
47
49
  * @documentation https://fusion.dev/helix/components/empty
48
50
  *
49
51
  * @slot - The message: why the region is empty, and what to do about it.
@@ -33,7 +33,7 @@ import { nothing, type PropertyValues, type TemplateResult } from 'lit';
33
33
  * @since 0.1.0
34
34
  * @status stable
35
35
  * @category charts
36
- * @aliases Key, Series Key
36
+ * @aliases Series Key
37
37
  * @documentation https://fusion.dev/helix/components/legend
38
38
  *
39
39
  * @event {Event} change - Fired once a toggle has hidden or shown a series.
@@ -44,7 +44,7 @@ export type ListItemMove = 'dragging' | 'drop-after' | 'drop-before';
44
44
  *
45
45
  * @since 0.1.0
46
46
  * @status stable
47
- * @aliases Row, Entry
47
+ * @aliases Entry
48
48
  * @documentation https://fusion.dev/helix/components/list
49
49
  *
50
50
  * @slot - The label.
@@ -98,7 +98,7 @@ import { type ListSelectionBehavior, type ListSelectionMode } from '../selection
98
98
  * @since 0.1.0
99
99
  * @status stable
100
100
  * @category data
101
- * @aliases Rows, Stack, Menu
101
+ * @aliases Rows, Menu
102
102
  * @documentation https://fusion.dev/helix/components/list
103
103
  *
104
104
  * @slot - The rows.
@@ -93,6 +93,8 @@ declare const HelixHeadlessListbox_base: (new (...args: any[]) => import("@fusio
93
93
  * @status stable
94
94
  * @category forms
95
95
  * @aliases Options, Select list
96
+ * @use A list of options that stays open on the page.
97
+ * @instead select - A list that opens only when you need it.
96
98
  * @documentation https://fusion.dev/helix/components/listbox
97
99
  *
98
100
  * @slot - The options, and any groups of them.
@@ -44,7 +44,7 @@ import { type PropertyValues, type TemplateResult } from 'lit';
44
44
  * @since 0.1.0
45
45
  * @status stable
46
46
  * @category feedback
47
- * @aliases Spinner, Busy, Activity
47
+ * @aliases Spinner, Busy, Activity indicator
48
48
  * @documentation https://fusion.dev/helix/components/loader
49
49
  *
50
50
  * @slot - An icon or logo that stays still at the center. Empty by default.
@@ -58,7 +58,7 @@ export interface MapPointsCollection {
58
58
  * @since 0.105.0
59
59
  * @status stable
60
60
  * @category media
61
- * @aliases Data layer, GeoJSON layer, Point cloud, Point layer
61
+ * @aliases Data layer, GeoJSON layer, Point layer
62
62
  * @documentation https://fusion.dev/helix/components/map
63
63
  *
64
64
  * @event {HelixActivateEvent} helix-activate - A point in view was pressed. The value is its id, or its name if it has no id.
@@ -70,6 +70,9 @@ declare const HelixHeadlessMegamenu_base: (new (...args: any[]) => import("@fusi
70
70
  * @status stable
71
71
  * @category navigation
72
72
  * @aliases Mega menu, Flyout, Nav panel
73
+ * @use A section of a site's main navigation that opens a panel of links.
74
+ * @instead popover - Content other than navigation.
75
+ * @instead navigation - Links that fit in one row.
73
76
  * @documentation https://fusion.dev/helix/components/megamenu
74
77
  *
75
78
  * @slot - The panel's contents, such as your own lists of links and their headings.
@@ -118,6 +118,9 @@ declare const HelixHeadlessMenu_base: (new (...args: any[]) => import("@fusion.d
118
118
  * @status stable
119
119
  * @category overlays
120
120
  * @aliases Dropdown, Action menu
121
+ * @use Commands that act at once, such as Rename, Duplicate, and Delete.
122
+ * @instead select - A value a form submits.
123
+ * @instead command - Commands you find by typing, from anywhere on the page.
121
124
  * @documentation https://fusion.dev/helix/components/menu
122
125
  *
123
126
  * @slot - The items.
@@ -62,6 +62,8 @@ declare const HelixHeadlessNotifications_base: (new (...args: any[]) => import("
62
62
  * @status stable
63
63
  * @category feedback
64
64
  * @aliases Notification feed, Inbox, Activity
65
+ * @use A record of events you can return to and mark read.
66
+ * @instead toast - A message that leaves on its own.
65
67
  * @documentation https://fusion.dev/helix/components/notifications
66
68
  *
67
69
  * @slot - The notifications.
@@ -65,6 +65,9 @@ declare const HelixHeadlessNumberInput_base: (new (...args: any[]) => import("@f
65
65
  * @status stable
66
66
  * @category forms
67
67
  * @aliases NumberField, Stepper, InputNumber
68
+ * @use A number you type or nudge with step buttons, such as a quantity.
69
+ * @instead slider - A value picked from a range by eye.
70
+ * @instead steps - Progress through stages.
68
71
  * @documentation https://fusion.dev/helix/components/number-input
69
72
  *
70
73
  * @slot decrement-icon - Replaces the icon on the step down button.
@@ -36,7 +36,7 @@ export { isOption, optionsAmong } from '../among.js';
36
36
  * @since 0.1.0
37
37
  * @status stable
38
38
  * @category forms
39
- * @aliases Item, Choice
39
+ * @aliases Item
40
40
  * @documentation https://fusion.dev/helix/components/option
41
41
  *
42
42
  * @slot - The option's label.
@@ -17,7 +17,7 @@ import { type TemplateResult } from 'lit';
17
17
  *
18
18
  * @since 0.1.0
19
19
  * @status stable
20
- * @aliases Result count, Range
20
+ * @aliases Result count
21
21
  * @documentation https://fusion.dev/helix/components/pagination
22
22
  */
23
23
  export declare class HelixHeadlessPaginationSummary extends HelixElement {
@@ -78,6 +78,10 @@ declare const HelixHeadlessPopover_base: (new (...args: any[]) => import("@fusio
78
78
  * @status stable
79
79
  * @category overlays
80
80
  * @aliases Popper, Flyout, Overlay
81
+ * @use Content you act on, anchored to a trigger, such as a short form.
82
+ * @instead tooltip - A short text that names its trigger.
83
+ * @instead menu - A list of commands.
84
+ * @instead megamenu - A site's navigation sections.
81
85
  * @documentation https://fusion.dev/helix/components/popover
82
86
  *
83
87
  * @slot - The contents of the panel.
@@ -12,18 +12,20 @@ import { type CSSResultGroup, type PropertyValues, type TemplateResult } from 'l
12
12
  * element, and its marks follow it: `lang="de"` sets „…“ and `lang="fr"` «…»
13
13
  * inside an English page.
14
14
  *
15
- * **`no-marks` leaves the marks off**, for a quotation set where the page draws
16
- * its own, such as a pull quote with a large decorative mark beside it or a
17
- * table of sayings. The quotation still counts toward nesting, so a quote
15
+ * **`no-marks` leaves the marks off**, for a quotation whose marks the page
16
+ * draws itself, such as marks set in an accent color. The quotation still counts toward nesting, so a quote
18
17
  * inside it takes the inner marks it would have had. Text with marks typed
19
18
  * into it raises no warning under `no-marks`.
20
19
  *
21
- * For a passage set off from the surrounding text, use a blockquote.
20
+ * For a passage set off from the surrounding text, including a pull quote, use
21
+ * a blockquote.
22
22
  *
23
23
  * @since 0.1.0
24
24
  * @status stable
25
25
  * @category typography
26
26
  * @aliases Q, InlineQuote
27
+ * @use A quotation inside a sentence.
28
+ * @instead blockquote - A passage set apart, including a pull quote.
27
29
  * @documentation https://fusion.dev/helix/components/quote
28
30
  *
29
31
  * @slot - The quoted text.
@@ -22,6 +22,9 @@ declare const HelixHeadlessRadio_base: (new (...args: any[]) => import("@fusion.
22
22
  * @status stable
23
23
  * @category forms
24
24
  * @aliases Option, Choice
25
+ * @use One choice from up to five options, each with a label or a sentence of its own.
26
+ * @instead toggle - A compact choice of view or mode.
27
+ * @instead select - More options than fit on the page.
25
28
  * @documentation https://fusion.dev/helix/components/radio
26
29
  *
27
30
  * @slot - The radio's label.
@@ -75,6 +75,10 @@ declare const HelixHeadlessSelect_base: (new (...args: any[]) => import("@fusion
75
75
  * @status stable
76
76
  * @category forms
77
77
  * @aliases Dropdown, Picker
78
+ * @use One value from a short list.
79
+ * @instead combobox - A list long enough that you type to find the value.
80
+ * @instead radio - Up to five options you should see without opening anything.
81
+ * @instead menu - An action that runs when you choose it.
78
82
  * @documentation https://fusion.dev/helix/components/select
79
83
  *
80
84
  * @slot - The options, and any groups of them.
@@ -26,6 +26,9 @@ import { type PropertyValues, type TemplateResult } from 'lit';
26
26
  * @status stable
27
27
  * @category feedback
28
28
  * @aliases Placeholder, Shimmer, Ghost
29
+ * @use The shape of content that is loading, where its layout is known.
30
+ * @instead loader - Work of unknown length with no layout to hold.
31
+ * @instead empty - A region that loaded and holds nothing.
29
32
  * @documentation https://fusion.dev/helix/components/skeleton
30
33
  *
31
34
  * @slot - The content the skeleton stands in for, which sizes it. Optional.
@@ -49,7 +49,7 @@ import { type PropertyValues, type TemplateResult } from 'lit';
49
49
  * @since 0.1.0
50
50
  * @status stable
51
51
  * @category data
52
- * @aliases Metric, KPI, Figure
52
+ * @aliases Metric, KPI
53
53
  * @documentation https://fusion.dev/helix/components/stat
54
54
  *
55
55
  * @slot - The value.
@@ -67,6 +67,9 @@ declare const HelixHeadlessSteps_base: (new (...args: any[]) => import("@fusion.
67
67
  * @status stable
68
68
  * @category navigation
69
69
  * @aliases Stepper, Wizard, Progress steps
70
+ * @use Progress through a fixed sequence of stages, such as a checkout.
71
+ * @instead tabs - Sections you visit in any order.
72
+ * @instead number-input - A number you type, such as a quantity.
70
73
  * @documentation https://fusion.dev/helix/components/steps
71
74
  *
72
75
  * @slot - The steps.
@@ -32,6 +32,8 @@ declare const HelixHeadlessSwitch_base: (new (...args: any[]) => import("@fusion
32
32
  * @status stable
33
33
  * @category forms
34
34
  * @aliases Toggle switch, On/off
35
+ * @use One setting that takes effect the moment it changes.
36
+ * @instead checkbox - A choice you review before submitting a form.
35
37
  * @documentation https://fusion.dev/helix/components/switch
36
38
  *
37
39
  * @slot - The label that names what the switch turns on.
@@ -39,6 +39,9 @@ declare const HelixHeadlessTag_base: (new (...args: any[]) => import("@fusion.de
39
39
  * @status stable
40
40
  * @category markers
41
41
  * @aliases Chip, Pill, Label
42
+ * @use A word that classifies content, such as a status or a topic.
43
+ * @instead badge - A count pinned to another element.
44
+ * @instead button - A word that performs an action.
42
45
  * @documentation https://fusion.dev/helix/components/tag
43
46
  *
44
47
  * @slot - The tag's label.
@@ -16,7 +16,7 @@ import { type PropertyValues, type TemplateResult } from 'lit';
16
16
  *
17
17
  * @since 0.1.0
18
18
  * @status stable
19
- * @aliases Day, Section, Date group
19
+ * @aliases Day, Date group
20
20
  * @documentation https://fusion.dev/helix/components/timeline
21
21
  *
22
22
  * @slot - The entries.
@@ -83,6 +83,9 @@ import '../../button/index.js';
83
83
  * @status stable
84
84
  * @category overlays
85
85
  * @aliases Toaster, Snackbar
86
+ * @use A confirmation of something you just did, such as saving a change.
87
+ * @instead callout - A message that must stay until it is read.
88
+ * @instead announcement - News for the whole site.
86
89
  * @documentation https://fusion.dev/helix/components/toast
87
90
  *
88
91
  * @slot - The messages.
@@ -22,6 +22,9 @@ declare const HelixHeadlessToggle_base: (new (...args: any[]) => import("@fusion
22
22
  * @status stable
23
23
  * @category actions
24
24
  * @aliases Segment, NavItem, Option
25
+ * @use A compact choice of view or mode, such as list or grid, that shows at once.
26
+ * @instead radio - Options that each need a sentence.
27
+ * @instead switch - One setting, on or off.
25
28
  * @documentation https://fusion.dev/helix/components/toggle
26
29
  *
27
30
  * @slot - The item's label.
@@ -54,6 +54,8 @@ declare const HelixHeadlessTooltip_base: (new (...args: any[]) => import("@fusio
54
54
  * @status stable
55
55
  * @category overlays
56
56
  * @aliases Hint, Popup label
57
+ * @use A short text that names an icon-only control or adds a detail to it.
58
+ * @instead popover - Anything you click, type in, or select.
57
59
  * @documentation https://fusion.dev/helix/components/tooltip
58
60
  *
59
61
  * @slot - The trigger, in the wrapping form. The tooltip describes it, as it