@fusion.dev/helix-headless 0.246.0 → 0.247.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/api.json +1 -1
- package/custom-elements.json +1 -1
- package/dist/area-chart/root/area-chart-root.d.ts +18 -3
- package/dist/area-chart/root/area-chart-root.js +29 -11
- package/dist/bar-chart/root/bar-chart-root.d.ts +12 -2
- package/dist/bar-chart/root/bar-chart-root.js +92 -32
- package/dist/code-editor/root/code-editor-root.d.ts +15 -0
- package/dist/code-editor/root/code-editor-root.js +8 -2
- package/dist/data-table/changes.d.ts +39 -0
- package/dist/data-table/changes.js +60 -0
- package/dist/data-table/root/data-table-root.d.ts +33 -0
- package/dist/data-table/root/data-table-root.js +52 -2
- package/dist/drawer/root/drawer-root.d.ts +54 -14
- package/dist/drawer/root/drawer-root.js +102 -29
- package/dist/editor/root/editor-root.d.ts +5 -0
- package/dist/editor/root/editor-root.js +5 -5
- package/dist/filter-input/menu/filter-menu.d.ts +1 -0
- package/dist/filter-input/menu/filter-menu.js +1 -1
- package/dist/find/root/find-root.d.ts +1 -0
- package/dist/find/root/find-root.js +1 -1
- package/dist/line-chart/root/line-chart-root.d.ts +26 -2
- package/dist/line-chart/root/line-chart-root.js +76 -24
- package/dist/menu/root/menu-root.d.ts +23 -1
- package/dist/menu/root/menu-root.js +60 -1
- package/dist/navigation/root/navigation-root.d.ts +1 -0
- package/dist/navigation/root/navigation-root.js +1 -1
- package/dist/scatter-chart/root/scatter-chart-root.d.ts +3 -0
- package/dist/scatter-chart/root/scatter-chart-root.js +28 -8
- package/dist/skeleton/root/skeleton-root.d.ts +26 -2
- package/dist/skeleton/root/skeleton-root.js +19 -4
- package/dist/tabs/root/tabs-root.d.ts +5 -1
- package/dist/tabs/root/tabs-root.js +8 -1
- package/dist/terminal/root/terminal-root.d.ts +2 -0
- package/dist/terminal/root/terminal-root.js +2 -2
- package/dist/toast/item/toast-item.d.ts +16 -11
- package/dist/toast/item/toast-item.js +13 -28
- package/dist/toast/root/toast-root.d.ts +6 -3
- package/dist/toast/root/toast-root.js +2 -2
- package/dist/toggle/group/toggle-group.d.ts +5 -1
- package/dist/toggle/group/toggle-group.js +8 -2
- package/dist/toolbar/root/toolbar-root.d.ts +9 -1
- package/dist/toolbar/root/toolbar-root.js +9 -1
- package/dist/video/root/video-root.d.ts +2 -0
- package/dist/video/root/video-root.js +2 -2
- package/dist/video-playlist/menu/video-playlist-menu.d.ts +1 -0
- package/dist/video-playlist/menu/video-playlist-menu.js +1 -1
- package/lint.json +1 -1
- package/package.json +5 -5
- package/types/jsx.d.ts +153 -34
- package/types/vue.d.ts +83 -22
package/types/vue.d.ts
CHANGED
|
@@ -3006,6 +3006,13 @@ export type HelixHeadlessCodeEditorVueProps = {
|
|
|
3006
3006
|
"find-whole-word-label"?: HelixHeadlessCodeEditor["findWholeWordLabel"] | undefined;
|
|
3007
3007
|
/** The name of the option that finds only whole words. */
|
|
3008
3008
|
"findWholeWordLabel"?: HelixHeadlessCodeEditor["findWholeWordLabel"] | undefined;
|
|
3009
|
+
/** Lights up the lines a change from the page touches, such as a new
|
|
3010
|
+
`value` from an agent, and fades them, so you see what changed. Lines a
|
|
3011
|
+
reader types stay as they are. The engine draws it, and the plain field
|
|
3012
|
+
draws nothing. */
|
|
3013
|
+
"flash-changes"?: HelixHeadlessCodeEditor["flashChanges"] | undefined;
|
|
3014
|
+
/** Lights up the lines a change from the page touches, such as a new `value` from an agent, and fades them, so you see what changed. Lines a reader types stay as they are. The engine draws it, and the plain field draws nothing. */
|
|
3015
|
+
"flashChanges"?: HelixHeadlessCodeEditor["flashChanges"] | undefined;
|
|
3009
3016
|
/** The language to highlight, such as `ts`, `css`, `md` or `rust`. Empty is plain text. */
|
|
3010
3017
|
"language"?: HelixHeadlessCodeEditor["language"] | undefined;
|
|
3011
3018
|
/** Draws each line's number beside it, in an engine. */
|
|
@@ -4790,6 +4797,12 @@ One query rather than a predicate per column, which is what a reader means
|
|
|
4790
4797
|
by a search box above a table. It matches on each column's ordering value,
|
|
4791
4798
|
so search and sort cannot disagree about what a column holds. */
|
|
4792
4799
|
"filter"?: HelixHeadlessDataTable["filter"] | undefined;
|
|
4800
|
+
/** Lights up a row whose data changes, and a row that arrives in `rows` after
|
|
4801
|
+
the table has drawn, so you see what live data or an agent changed. Wants
|
|
4802
|
+
`row-key`, which is how a row is known across the change. */
|
|
4803
|
+
"flash-changes"?: HelixHeadlessDataTable["flashChanges"] | undefined;
|
|
4804
|
+
/** Lights up a row whose data changes, and a row that arrives in `rows` after the table has drawn, so you see what live data or an agent changed. Wants `row-key`, which is how a row is known across the change. */
|
|
4805
|
+
"flashChanges"?: HelixHeadlessDataTable["flashChanges"] | undefined;
|
|
4793
4806
|
/** The built-in pagination's name for a gap in its run of pages. `{page}` is
|
|
4794
4807
|
replaced with the page it jumps to. */
|
|
4795
4808
|
"gap-label"?: HelixHeadlessDataTable["gapLabel"] | undefined;
|
|
@@ -18681,9 +18694,11 @@ arrangement in its own `:host` rule and the selectors describe only the
|
|
|
18681
18694
|
departures, which is what `orientation` does. */
|
|
18682
18695
|
"placement"?: HelixHeadlessToast["placement"] | undefined;
|
|
18683
18696
|
/** The edge a touch or a pen swipes a message toward to dismiss it: `end`,
|
|
18684
|
-
the end of the line, or `start`, `top
|
|
18697
|
+
the end of the line, or `start`, `top`, or `bottom`. Unset is the inline
|
|
18698
|
+
edge the stack sits at: `start` for a `placement` ending in `start`, and
|
|
18699
|
+
`end` for every other. */
|
|
18685
18700
|
"swipe-direction"?: HelixHeadlessToast["swipeDirection"] | undefined;
|
|
18686
|
-
/** The edge a touch or a pen swipes a message toward to dismiss it: `end`, the end of the line, or `start`, `top
|
|
18701
|
+
/** The edge a touch or a pen swipes a message toward to dismiss it: `end`, the end of the line, or `start`, `top`, or `bottom`. Unset is the inline edge the stack sits at: `start` for a `placement` ending in `start`, and `end` for every other. */
|
|
18687
18702
|
"swipeDirection"?: HelixHeadlessToast["swipeDirection"] | undefined;
|
|
18688
18703
|
/** What a message `undoable()` made says after its own words, with `{keys}`
|
|
18689
18704
|
for the chord that undoes it, spoken as words. */
|
|
@@ -20405,6 +20420,8 @@ export type CustomCssProperties = {
|
|
|
20405
20420
|
"--data-table-cell-align"?: string | undefined;
|
|
20406
20421
|
/** Where a cell's content sits from top to bottom in a row taller than it: `start`, `center` or `end`. `center` by default. Set it on the table, or on a row through `::part(row)`; a column's `vertical-align` writes it on each of that column's cells, and wins. */
|
|
20407
20422
|
"--data-table-cell-block-align"?: string | undefined;
|
|
20423
|
+
/** The wash a row takes when it changes, with `flash-changes`, at its strongest. Unset, the info color at 14 percent in light mode and 22 in dark. */
|
|
20424
|
+
"--data-table-flash-color"?: string | undefined;
|
|
20408
20425
|
/** How deep a row is in a tree grid, from 1. The component writes it on each row header cell, and the stylesheet indents by it. */
|
|
20409
20426
|
"--data-table-level"?: string | undefined;
|
|
20410
20427
|
/** How long a row takes to slide to its new place, or to fade in. Unset, nothing moves. */
|
|
@@ -20433,9 +20450,15 @@ export type CustomCssProperties = {
|
|
|
20433
20450
|
"--device-screen-touch-y"?: string | undefined;
|
|
20434
20451
|
/** How thick the ring is drawn, derived from `hole`. */
|
|
20435
20452
|
"--donut-chart-stroke"?: string | undefined;
|
|
20436
|
-
/** How far a
|
|
20453
|
+
/** How far a drag, and the glide after it, has taken the panel from its smallest snap point to off its edge, from `0` to `1`. Written only while the host has `:state(dragging)`. */
|
|
20454
|
+
"--drawer-drag-progress"?: string | undefined;
|
|
20455
|
+
/** The longest a released panel takes to go, or to go back to rest. Unset, it lands at once. */
|
|
20456
|
+
"--drawer-release-duration"?: string | undefined;
|
|
20457
|
+
/** The curve a released panel goes back to rest along, with the speed it was let go carried in. */
|
|
20458
|
+
"--drawer-release-easing"?: string | undefined;
|
|
20459
|
+
/** How far the snap point the panel rests at moves it across, in pixels, toward the right. */
|
|
20437
20460
|
"--drawer-swipe-x"?: string | undefined;
|
|
20438
|
-
/** How far
|
|
20461
|
+
/** How far the snap point the panel rests at moves it down, in pixels. */
|
|
20439
20462
|
"--drawer-swipe-y"?: string | undefined;
|
|
20440
20463
|
/** How many rows the strip lays out. The component writes it from the data, and the stylesheet that draws the strip reads it. */
|
|
20441
20464
|
"--heatmap-rows"?: string | undefined;
|
|
@@ -20749,10 +20772,10 @@ export type CustomCssProperties = {
|
|
|
20749
20772
|
"--timeline-move-easing"?: string | undefined;
|
|
20750
20773
|
/** How long this message stays, in milliseconds, for a progress hint. */
|
|
20751
20774
|
"--toast-duration"?: string | undefined;
|
|
20752
|
-
/**
|
|
20753
|
-
"--toast-
|
|
20754
|
-
/**
|
|
20755
|
-
"--toast-
|
|
20775
|
+
/** The longest a released message takes to go, or to go back to its place. Unset, it lands at once. */
|
|
20776
|
+
"--toast-release-duration"?: string | undefined;
|
|
20777
|
+
/** The curve a released message goes back to its place along, with the speed it was let go carried in. */
|
|
20778
|
+
"--toast-release-easing"?: string | undefined;
|
|
20756
20779
|
/** The lit box's height, in pixels, padding included. Written on the spotlight while it lights a target. */
|
|
20757
20780
|
"--tour-spotlight-height"?: string | undefined;
|
|
20758
20781
|
/** The lit box's width, in pixels, padding included. Written on the spotlight while it lights a target. */
|
|
@@ -22033,6 +22056,10 @@ export interface HelixVueGlobalComponents {
|
|
|
22033
22056
|
* engine or in the plain field alike.
|
|
22034
22057
|
* - Every change goes through `requestValue`, so a listener refusing
|
|
22035
22058
|
* `helix-before-change` refuses the keystroke, in the engine too.
|
|
22059
|
+
* - `flash-changes` lights up each line a change from the page touched, such
|
|
22060
|
+
* as a new `value` from an agent, and fades it, in an engine that draws
|
|
22061
|
+
* lines. A value that changes every line is a new file, and nothing lights
|
|
22062
|
+
* up.
|
|
22036
22063
|
*
|
|
22037
22064
|
* **Keyboard.** Command+F, or Control+F elsewhere, opens the find bar, Enter
|
|
22038
22065
|
* and Shift+Enter move between matches, and Escape closes it. In an engine,
|
|
@@ -22557,6 +22584,15 @@ export interface HelixVueGlobalComponents {
|
|
|
22557
22584
|
* draws only the rows in view, so a sort that brings in other rows fades them
|
|
22558
22585
|
* in where they land.
|
|
22559
22586
|
*
|
|
22587
|
+
* **`flash-changes` lights up what changed.** Set it with `row-key`, and a row
|
|
22588
|
+
* whose values differ when you set `rows` again, or a row that arrives in it,
|
|
22589
|
+
* takes a quiet wash that holds and fades, which core's `flashChange` draws
|
|
22590
|
+
* over each of its cells. A row with the same values does not, even as a new
|
|
22591
|
+
* object, and neither does a value a reader saves in a cell. A `rows` that
|
|
22592
|
+
* shares no key with the one before is new data, and nothing lights up. The
|
|
22593
|
+
* wash is `--data-table-flash-color`. Only the rows drawn light up, so a change
|
|
22594
|
+
* on another page or outside the window is not shown later.
|
|
22595
|
+
*
|
|
22560
22596
|
* **Editable cells.** `editable` on a column lets a reader edit its cells,
|
|
22561
22597
|
* and `rowEditable` decides row by row. The column's `type` picks the field:
|
|
22562
22598
|
* text, a number, a date, or a select of an enum's values, and a boolean
|
|
@@ -22939,13 +22975,24 @@ export interface HelixVueGlobalComponents {
|
|
|
22939
22975
|
* still close it. `closedby="none"` keeps it open on all three as well, and
|
|
22940
22976
|
* `closedby="closerequest"` keeps it open on a press outside.
|
|
22941
22977
|
*
|
|
22942
|
-
* **A touch or a pen
|
|
22943
|
-
* against the writing direction
|
|
22944
|
-
*
|
|
22945
|
-
*
|
|
22946
|
-
*
|
|
22947
|
-
*
|
|
22948
|
-
*
|
|
22978
|
+
* **A touch or a pen drags it closed**, toward the edge it came from, resolved
|
|
22979
|
+
* against the writing direction, from anywhere on the panel but a field or
|
|
22980
|
+
* content that scrolls along the drag. The panel follows the finger, and past
|
|
22981
|
+
* its open end it gives less and less. A drag past halfway, or a quick flick
|
|
22982
|
+
* from any distance, closes it through the same request as every other way
|
|
22983
|
+
* out, so a `helix-before-close` listener can refuse it, and then the panel
|
|
22984
|
+
* springs back. Let go, the panel carries on at the speed it was moving: off
|
|
22985
|
+
* the edge, or back to rest along `--drawer-release-easing`. The panel takes
|
|
22986
|
+
* an inline `translate` only while a drag and its release run, and the host
|
|
22987
|
+
* has `:state(dragging)` for that time. While it moves, the backdrop can fade
|
|
22988
|
+
* with `--drawer-drag-progress`. A mouse does not drag it, since a mouse drag
|
|
22989
|
+
* selects text, and `swipe="false"` turns dragging off.
|
|
22990
|
+
*
|
|
22991
|
+
* `snap-points` lists the fractions of the panel a reader can leave on screen,
|
|
22992
|
+
* such as `0.5 1` for a sheet that rests half open: it opens at the smallest,
|
|
22993
|
+
* and a drag settles at the nearest, or at the next one along for a flick.
|
|
22994
|
+
* The offset of the snap point it rests at is written on the panel as
|
|
22995
|
+
* `--drawer-swipe-x` and `--drawer-swipe-y`.
|
|
22949
22996
|
*
|
|
22950
22997
|
* `snap` is the snap point the panel rests at, and `:state(snapped)` is on the
|
|
22951
22998
|
* host while that is less than the whole panel. `snapTo()` moves it to
|
|
@@ -26001,6 +26048,14 @@ export interface HelixVueGlobalComponents {
|
|
|
26001
26048
|
* placeholder over its box, so nothing moves when the content arrives. Take
|
|
26002
26049
|
* `loading` off and the content is shown as it is. An empty skeleton is a
|
|
26003
26050
|
* placeholder of its own size, as before.
|
|
26051
|
+
*
|
|
26052
|
+
* **Draw your own placeholder in the `placeholder` slot** where the content is
|
|
26053
|
+
* not there until it loads, such as a card that is drawn from data: a circle
|
|
26054
|
+
* and three lines, laid out as the card will be. While `loading` is set the
|
|
26055
|
+
* placeholder shows and the content is hidden. Once it is off the placeholder
|
|
26056
|
+
* is hidden and the content shows. The placeholder is hidden from screen
|
|
26057
|
+
* readers. A server cannot see the children, so it serves both, and the
|
|
26058
|
+
* content is hidden once the page has its children.
|
|
26004
26059
|
*/
|
|
26005
26060
|
"helix-headless-skeleton": DefineCustomElement<HelixHeadlessSkeleton, HelixHeadlessSkeletonVueProps, HelixHeadlessSkeletonVueEvents>;
|
|
26006
26061
|
/**
|
|
@@ -27548,11 +27603,16 @@ export interface HelixVueGlobalComponents {
|
|
|
27548
27603
|
* says each message once as it arrives, a `danger` one assertively, so a
|
|
27549
27604
|
* message is never a live region of its own.
|
|
27550
27605
|
*
|
|
27551
|
-
* A touch or a pen swipes a message toward the
|
|
27552
|
-
* edge the region's `swipe-direction` names
|
|
27553
|
-
*
|
|
27554
|
-
*
|
|
27555
|
-
*
|
|
27606
|
+
* **A touch or a pen swipes a message away**, toward the edge its stack sits
|
|
27607
|
+
* at, or toward the edge the region's `swipe-direction` names. The message
|
|
27608
|
+
* follows the finger, and past halfway, or at a quick flick from any
|
|
27609
|
+
* distance, it is dismissed through the same `helix-dismiss` as its control.
|
|
27610
|
+
* Let go, it carries on at the speed it was moving: off the window, or back to
|
|
27611
|
+
* its place along `--toast-release-easing` when it stays, as it does when a
|
|
27612
|
+
* listener refuses `helix-dismiss`. The `item` part takes an inline
|
|
27613
|
+
* `translate` only while a swipe and its release run, and the message has
|
|
27614
|
+
* `:state(dragging)` for that time. A mouse does not swipe, since a mouse drag
|
|
27615
|
+
* selects the message's text.
|
|
27556
27616
|
*
|
|
27557
27617
|
* **Escape dismisses the message holding focus**, through the same
|
|
27558
27618
|
* `helix-dismiss`, and focus moves to the next message.
|
|
@@ -27592,8 +27652,9 @@ export interface HelixVueGlobalComponents {
|
|
|
27592
27652
|
* to render them from: it appends a message of the region's own tier and
|
|
27593
27653
|
* removes it once it has been dismissed and has finished leaving. Messages
|
|
27594
27654
|
* you render yourself stay yours, and the region never removes them. A touch
|
|
27595
|
-
* or a pen swipes a message away toward the
|
|
27596
|
-
*
|
|
27655
|
+
* or a pen swipes a message away toward the edge the stack sits at, the end
|
|
27656
|
+
* of the line unless `placement` puts it at the start, or toward the edge
|
|
27657
|
+
* `swipe-direction` names.
|
|
27597
27658
|
*
|
|
27598
27659
|
* **`undoable()` offers to take an action back**, which replaces a
|
|
27599
27660
|
* confirmation dialog for an action that can be undone: do the action, then
|