@fusion.dev/helix-headless 0.219.0 → 0.220.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/api.json +1 -1
- package/custom-elements.json +1 -1
- package/dist/code-editor/root/code-editor-root.d.ts +48 -51
- package/dist/code-editor/root/code-editor-root.js +67 -249
- package/dist/element-events.generated.js +3 -1
- package/dist/find/index.d.ts +1 -0
- package/dist/find/index.js +1 -0
- package/dist/find/root/find-root.d.ts +314 -0
- package/dist/find/root/find-root.js +577 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/log/group/log-group.d.ts +11 -2
- package/dist/log/group/log-group.js +17 -3
- package/dist/terminal/root/terminal-root.d.ts +49 -32
- package/dist/terminal/root/terminal-root.js +72 -181
- package/dist/tree/item/tree-item.d.ts +11 -0
- package/dist/tree/item/tree-item.js +19 -1
- package/examples.json +1 -1
- package/lint.json +1 -1
- package/package.json +5 -5
- package/types/jsx.d.ts +849 -66
- package/types/svelte.d.ts +1 -0
- package/types/vue.d.ts +156 -2
- package/types/words.d.ts +87 -0
package/types/svelte.d.ts
CHANGED
|
@@ -82,6 +82,7 @@ declare module 'svelte/elements' {
|
|
|
82
82
|
'helix-headless-filter-menu': Helix<'helix-headless-filter-menu'>
|
|
83
83
|
'helix-headless-filter-operator': Helix<'helix-headless-filter-operator'>
|
|
84
84
|
'helix-headless-filter-input': Helix<'helix-headless-filter-input'>
|
|
85
|
+
'helix-headless-find': Helix<'helix-headless-find'>
|
|
85
86
|
'helix-headless-format-date': Helix<'helix-headless-format-date'>
|
|
86
87
|
'helix-headless-graph': Helix<'helix-headless-graph'>
|
|
87
88
|
'helix-headless-heatmap': Helix<'helix-headless-heatmap'>
|
package/types/vue.d.ts
CHANGED
|
@@ -41,6 +41,7 @@ import type {
|
|
|
41
41
|
HelixFacetEvent,
|
|
42
42
|
HelixFilterEvent,
|
|
43
43
|
HelixFilteredEvent,
|
|
44
|
+
HelixFoundEvent,
|
|
44
45
|
HelixGraphFilterEvent,
|
|
45
46
|
HelixGraphLayoutEvent,
|
|
46
47
|
HelixGraphPanEvent,
|
|
@@ -101,6 +102,7 @@ import type {
|
|
|
101
102
|
HelixHeadlessFilterInput,
|
|
102
103
|
HelixHeadlessFilterMenu,
|
|
103
104
|
HelixHeadlessFilterOperator,
|
|
105
|
+
HelixHeadlessFind,
|
|
104
106
|
HelixHeadlessFormatDate,
|
|
105
107
|
HelixHeadlessGraph,
|
|
106
108
|
HelixHeadlessHeatmap,
|
|
@@ -3695,6 +3697,9 @@ export type HelixHeadlessCodeEditorElementEvent<E = Event> = TypedEvent<
|
|
|
3695
3697
|
/** `helix-before-change` event type */
|
|
3696
3698
|
export type HelixHeadlessCodeEditorHelixBeforeChangeElementEvent =
|
|
3697
3699
|
HelixHeadlessCodeEditorElementEvent<HelixBeforeChangeEvent>;
|
|
3700
|
+
/** `helix-found` event type */
|
|
3701
|
+
export type HelixHeadlessCodeEditorHelixFoundElementEvent =
|
|
3702
|
+
HelixHeadlessCodeEditorElementEvent<HelixFoundEvent>;
|
|
3698
3703
|
|
|
3699
3704
|
export type HelixHeadlessCodeEditorVueProps = {
|
|
3700
3705
|
/** The name of the header's toolbar, read by screen readers. */
|
|
@@ -3891,6 +3896,8 @@ export type HelixHeadlessCodeEditorVueEvents = {
|
|
|
3891
3896
|
change: HelixHeadlessCodeEditorElementEvent;
|
|
3892
3897
|
/** The text is about to change. Cancelable: cancel it to keep the current text. */
|
|
3893
3898
|
"helix-before-change": HelixHeadlessCodeEditorHelixBeforeChangeElementEvent;
|
|
3899
|
+
/** The find bar searched or moved among the matches, with `count` and the selected match's `index`, counting from 0, or -1 for none. */
|
|
3900
|
+
"helix-found": HelixHeadlessCodeEditorHelixFoundElementEvent;
|
|
3894
3901
|
/** Fired after the text changes. */
|
|
3895
3902
|
input: HelixHeadlessCodeEditorElementEvent;
|
|
3896
3903
|
};
|
|
@@ -8452,6 +8459,142 @@ export type HelixHeadlessFilterInputVueEvents = {
|
|
|
8452
8459
|
toggle: HelixHeadlessFilterInputToggleElementEvent;
|
|
8453
8460
|
};
|
|
8454
8461
|
|
|
8462
|
+
/** `HelixHeadlessFind` component event */
|
|
8463
|
+
export type HelixHeadlessFindElementEvent<E = Event> = TypedEvent<
|
|
8464
|
+
HelixHeadlessFind,
|
|
8465
|
+
E
|
|
8466
|
+
>;
|
|
8467
|
+
/** `helix-before-close` event type */
|
|
8468
|
+
export type HelixHeadlessFindHelixBeforeCloseElementEvent =
|
|
8469
|
+
HelixHeadlessFindElementEvent<HelixBeforeCloseEvent>;
|
|
8470
|
+
/** `helix-before-open` event type */
|
|
8471
|
+
export type HelixHeadlessFindHelixBeforeOpenElementEvent =
|
|
8472
|
+
HelixHeadlessFindElementEvent<HelixBeforeOpenEvent>;
|
|
8473
|
+
/** `helix-found` event type */
|
|
8474
|
+
export type HelixHeadlessFindHelixFoundElementEvent =
|
|
8475
|
+
HelixHeadlessFindElementEvent<HelixFoundEvent>;
|
|
8476
|
+
/** `toggle` event type */
|
|
8477
|
+
export type HelixHeadlessFindToggleElementEvent =
|
|
8478
|
+
HelixHeadlessFindElementEvent<ToggleEvent>;
|
|
8479
|
+
|
|
8480
|
+
export type HelixHeadlessFindVueProps = {
|
|
8481
|
+
/** The close button's label. */
|
|
8482
|
+
"close-label"?: (HelixHeadlessFind["closeLabel"]) | undefined;
|
|
8483
|
+
/** The close button's label. */
|
|
8484
|
+
closeLabel?: (HelixHeadlessFind["closeLabel"]) | undefined;
|
|
8485
|
+
/** The name of the bar's toolbar, read by screen readers. */
|
|
8486
|
+
"controls-label"?: (HelixHeadlessFind["controlsLabel"]) | undefined;
|
|
8487
|
+
/** The name of the bar's toolbar, read by screen readers. */
|
|
8488
|
+
controlsLabel?: (HelixHeadlessFind["controlsLabel"]) | undefined;
|
|
8489
|
+
/** The id of the element whose text Find searches, in the same tree as Find.
|
|
8490
|
+
With a finder attached, it names only where the find key opens the bar. */
|
|
8491
|
+
for?: (HelixHeadlessFind["for"]) | undefined;
|
|
8492
|
+
/** What the count says when the regular expression cannot be read. */
|
|
8493
|
+
"invalid-label"?: (HelixHeadlessFind["invalidLabel"]) | undefined;
|
|
8494
|
+
/** What the count says when the regular expression cannot be read. */
|
|
8495
|
+
invalidLabel?: (HelixHeadlessFind["invalidLabel"]) | undefined;
|
|
8496
|
+
/** The field's name and placeholder, and the name of the bar. */
|
|
8497
|
+
label?: (HelixHeadlessFind["label"]) | undefined;
|
|
8498
|
+
/** Whether case has to match, so "Error" does not find "error". The reader turns it on and off from the bar. */
|
|
8499
|
+
"match-case"?: (HelixHeadlessFind["matchCase"]) | undefined;
|
|
8500
|
+
/** Whether case has to match, so "Error" does not find "error". The reader turns it on and off from the bar. */
|
|
8501
|
+
matchCase?: (HelixHeadlessFind["matchCase"]) | undefined;
|
|
8502
|
+
/** The match case button's label. */
|
|
8503
|
+
"match-case-label"?: (HelixHeadlessFind["matchCaseLabel"]) | undefined;
|
|
8504
|
+
/** The match case button's label. */
|
|
8505
|
+
matchCaseLabel?: (HelixHeadlessFind["matchCaseLabel"]) | undefined;
|
|
8506
|
+
/** What the count says of the matches. `{index}` is the current match,
|
|
8507
|
+
counting from 1, and `{count}` how many there are. */
|
|
8508
|
+
"matches-label"?: (HelixHeadlessFind["matchesLabel"]) | undefined;
|
|
8509
|
+
/** What the count says of the matches. `{index}` is the current match,
|
|
8510
|
+
counting from 1, and `{count}` how many there are. */
|
|
8511
|
+
matchesLabel?: (HelixHeadlessFind["matchesLabel"]) | undefined;
|
|
8512
|
+
/** The next match button's label. */
|
|
8513
|
+
"next-label"?: (HelixHeadlessFind["nextLabel"]) | undefined;
|
|
8514
|
+
/** The next match button's label. */
|
|
8515
|
+
nextLabel?: (HelixHeadlessFind["nextLabel"]) | undefined;
|
|
8516
|
+
/** Which options the bar draws, as a list of `match-case`, `whole-word`, and
|
|
8517
|
+
`regex`, or `none`. They are always drawn in that order. */
|
|
8518
|
+
options?: (HelixHeadlessFind["options"]) | undefined;
|
|
8519
|
+
/** The previous match button's label. */
|
|
8520
|
+
"previous-label"?: (HelixHeadlessFind["previousLabel"]) | undefined;
|
|
8521
|
+
/** The previous match button's label. */
|
|
8522
|
+
previousLabel?: (HelixHeadlessFind["previousLabel"]) | undefined;
|
|
8523
|
+
/** What the field holds: what the reader typed, or what you set. */
|
|
8524
|
+
query?: (HelixHeadlessFind["query"]) | undefined;
|
|
8525
|
+
/** Hides replacing, for content the reader cannot change. The attribute is `readonly`, the platform's spelling. */
|
|
8526
|
+
readonly?: (HelixHeadlessFind["readOnly"]) | undefined;
|
|
8527
|
+
/** Hides replacing, for content the reader cannot change. The attribute is `readonly`, the platform's spelling. */
|
|
8528
|
+
readOnly?: (HelixHeadlessFind["readOnly"]) | undefined;
|
|
8529
|
+
/** Whether the field reads as a regular expression, in JavaScript's syntax. The reader turns it on and off from the bar. */
|
|
8530
|
+
regex?: (HelixHeadlessFind["regex"]) | undefined;
|
|
8531
|
+
/** The regular expression button's label. */
|
|
8532
|
+
"regex-label"?: (HelixHeadlessFind["regexLabel"]) | undefined;
|
|
8533
|
+
/** The regular expression button's label. */
|
|
8534
|
+
regexLabel?: (HelixHeadlessFind["regexLabel"]) | undefined;
|
|
8535
|
+
/** The Replace all button's words. */
|
|
8536
|
+
"replace-all-label"?: (HelixHeadlessFind["replaceAllLabel"]) | undefined;
|
|
8537
|
+
/** The Replace all button's words. */
|
|
8538
|
+
replaceAllLabel?: (HelixHeadlessFind["replaceAllLabel"]) | undefined;
|
|
8539
|
+
/** The replace field's name and placeholder. */
|
|
8540
|
+
"replace-field-label"?: (HelixHeadlessFind["replaceFieldLabel"]) | undefined;
|
|
8541
|
+
/** The replace field's name and placeholder. */
|
|
8542
|
+
replaceFieldLabel?: (HelixHeadlessFind["replaceFieldLabel"]) | undefined;
|
|
8543
|
+
/** The Replace button's words. */
|
|
8544
|
+
"replace-label"?: (HelixHeadlessFind["replaceLabel"]) | undefined;
|
|
8545
|
+
/** The Replace button's words. */
|
|
8546
|
+
replaceLabel?: (HelixHeadlessFind["replaceLabel"]) | undefined;
|
|
8547
|
+
/** What the replace field holds, which Replace puts in place of a match. */
|
|
8548
|
+
replacement?: (HelixHeadlessFind["replacement"]) | undefined;
|
|
8549
|
+
/** The label of the button that shows the replace row. */
|
|
8550
|
+
"replace-toggle-label"?: (HelixHeadlessFind["replaceToggleLabel"]) | undefined;
|
|
8551
|
+
/** The label of the button that shows the replace row. */
|
|
8552
|
+
replaceToggleLabel?: (HelixHeadlessFind["replaceToggleLabel"]) | undefined;
|
|
8553
|
+
/** The key that opens the bar, as a chord such as `mod+f`, where `mod` is
|
|
8554
|
+
Command on an Apple keyboard and Control elsewhere. Empty turns the key
|
|
8555
|
+
off, as for a bar the page opens itself. */
|
|
8556
|
+
shortcut?: (HelixHeadlessFind["shortcut"]) | undefined;
|
|
8557
|
+
/** Elements inside the content whose text is not searched, as a selector,
|
|
8558
|
+
such as line numbers or the buttons beside each message. */
|
|
8559
|
+
skip?: (HelixHeadlessFind["skip"]) | undefined;
|
|
8560
|
+
/** Whether only whole words match. The reader turns it on and off from the bar. */
|
|
8561
|
+
"whole-word"?: (HelixHeadlessFind["wholeWord"]) | undefined;
|
|
8562
|
+
/** Whether only whole words match. The reader turns it on and off from the bar. */
|
|
8563
|
+
wholeWord?: (HelixHeadlessFind["wholeWord"]) | undefined;
|
|
8564
|
+
/** The whole word button's label. */
|
|
8565
|
+
"whole-word-label"?: (HelixHeadlessFind["wholeWordLabel"]) | undefined;
|
|
8566
|
+
/** The whole word button's label. */
|
|
8567
|
+
wholeWordLabel?: (HelixHeadlessFind["wholeWordLabel"]) | undefined;
|
|
8568
|
+
/** Whether the element starts open. Ignored once `open` is written. */
|
|
8569
|
+
"default-open"?: (HelixHeadlessFind["defaultOpen"]) | undefined;
|
|
8570
|
+
/** Whether the element starts open. Ignored once `open` is written. */
|
|
8571
|
+
defaultOpen?: (HelixHeadlessFind["defaultOpen"]) | undefined;
|
|
8572
|
+
/** Whether the element is open.
|
|
8573
|
+
|
|
8574
|
+
One property, not two, so `dialog.open` answers the question anyone
|
|
8575
|
+
asking it meant. Writing always applies; `<helix-dialog open>` is the
|
|
8576
|
+
same statement in markup.
|
|
8577
|
+
|
|
8578
|
+
**Not reflected, and that is required rather than tidy.** Reflection
|
|
8579
|
+
writes the resolved state back as an attribute, so an element that opened
|
|
8580
|
+
itself would put `open` on its own host: cloned, serialized for
|
|
8581
|
+
hydration, or diffed by a framework, it comes back holding whatever the
|
|
8582
|
+
last reader did rather than what the author wrote. `:state(open)` carries
|
|
8583
|
+
the resolved state for stylesheets, which is what the mirror is for. */
|
|
8584
|
+
open?: (HelixHeadlessFind["open"]) | undefined;
|
|
8585
|
+
};
|
|
8586
|
+
|
|
8587
|
+
export type HelixHeadlessFindVueEvents = {
|
|
8588
|
+
/** Fired before the bar closes, and cancelable. */
|
|
8589
|
+
"helix-before-close": HelixHeadlessFindHelixBeforeCloseElementEvent;
|
|
8590
|
+
/** Fired before the bar opens, and cancelable. Canceling it keeps the bar closed. */
|
|
8591
|
+
"helix-before-open": HelixHeadlessFindHelixBeforeOpenElementEvent;
|
|
8592
|
+
/** Sent after each search and each move among the matches, with `count` and the current match's `index`, counting from 0, or -1 for none. */
|
|
8593
|
+
"helix-found": HelixHeadlessFindHelixFoundElementEvent;
|
|
8594
|
+
/** Sent when the bar opens or closes, with `newState` and `oldState`. */
|
|
8595
|
+
toggle: HelixHeadlessFindToggleElementEvent;
|
|
8596
|
+
};
|
|
8597
|
+
|
|
8455
8598
|
export type HelixHeadlessFormatDateVueProps = {
|
|
8456
8599
|
/** The calendar a date is written in: `gregory`, `buddhist`, `japanese`,
|
|
8457
8600
|
`roc`, or `iso8601`, or a calendar with months of its own, such as
|
|
@@ -18797,6 +18940,9 @@ export type HelixHeadlessTerminalElementEvent<E = Event> = TypedEvent<
|
|
|
18797
18940
|
/** `helix-copy` event type */
|
|
18798
18941
|
export type HelixHeadlessTerminalHelixCopyElementEvent =
|
|
18799
18942
|
HelixHeadlessTerminalElementEvent<HelixCopyEvent>;
|
|
18943
|
+
/** `helix-found` event type */
|
|
18944
|
+
export type HelixHeadlessTerminalHelixFoundElementEvent =
|
|
18945
|
+
HelixHeadlessTerminalElementEvent<HelixFoundEvent>;
|
|
18800
18946
|
/** `helix-terminal-bell` event type */
|
|
18801
18947
|
export type HelixHeadlessTerminalHelixTerminalBellElementEvent =
|
|
18802
18948
|
HelixHeadlessTerminalElementEvent<HelixTerminalBellEvent>;
|
|
@@ -18965,6 +19111,8 @@ write. Connect it to a setting your reader can turn on. */
|
|
|
18965
19111
|
export type HelixHeadlessTerminalVueEvents = {
|
|
18966
19112
|
/** The copy control or its key put the selection on the clipboard. */
|
|
18967
19113
|
"helix-copy": HelixHeadlessTerminalHelixCopyElementEvent;
|
|
19114
|
+
/** The find bar searched or moved among the matches, with `count` and the current match's `index`, counting from 0, or -1 for none. */
|
|
19115
|
+
"helix-found": HelixHeadlessTerminalHelixFoundElementEvent;
|
|
18968
19116
|
/** The program rang the bell. The frame flashes once. */
|
|
18969
19117
|
"helix-terminal-bell": HelixHeadlessTerminalHelixTerminalBellElementEvent;
|
|
18970
19118
|
/** The reader typed or pasted, with `data` encoded for the program. Write it to the process. Not sent while `readonly`, or once `exit-code` is set. */
|
|
@@ -22780,6 +22928,12 @@ export interface WcToolkitVueGlobalComponents {
|
|
|
22780
22928
|
HelixHeadlessFilterInputVueProps,
|
|
22781
22929
|
HelixHeadlessFilterInputVueEvents
|
|
22782
22930
|
>;
|
|
22931
|
+
/** Searches the content 'for' names, by id, and marks every match, with the current one marked apart. The count says which match is current and how many there are. Find opens with Command+F, or Control+F on Windows and Linux, while the reader is in that content or in the bar. Everywhere else on the page, the key opens the browser's own find. 'shortcut' changes the key, and empty turns it off. The match case, whole word, and regular expression options are drawn in the bar. 'options' names the ones it draws. Text that is not shown is not searched, nor text under 'inert' or 'aria-hidden="true"', nor what 'skip' matches. Text under 'hidden="until-found"' and in a closed '<details>' is searched, and opened when its match becomes current, as the browser's find opens it: an Accordion section opens. A match is scrolled into the middle of what scrolls it unless it is already in sight. While Find is open, a change to the content searches again once the content is still. Content drawn some other way, such as a terminal's grid, an editor's document, or rows of a list that are not all in the page, is searched by a finder the page attaches with 'attach(finder)'. Terminal and Code Editor draw a Find of their own, which searches through their renderer. Find offers replacing to a finder that can replace, unless 'readonly' is set. The bar is a search landmark named by 'label'. The count is said in a live region as it changes. **Keyboard.** In the field, Enter moves to the next match and Shift+Enter to the previous one. Escape closes the bar from anywhere in it, and focus returns to where it was before the bar opened. The find key pressed again moves focus to the field and selects what it holds. In the replace field, Enter replaces the current match, and Command+Enter or Control+Enter replaces every match. */
|
|
22932
|
+
"helix-headless-find": DefineCustomElement<
|
|
22933
|
+
HelixHeadlessFind,
|
|
22934
|
+
HelixHeadlessFindVueProps,
|
|
22935
|
+
HelixHeadlessFindVueEvents
|
|
22936
|
+
>;
|
|
22783
22937
|
/** Formats a date with 'Intl' where it is shown, so you do not write the same 'Intl' call and options in your own code. **'elapsed' shows compact relative time for a feed**, such as "42m", "3h", or "1d". After six days it shows a date. In en-US, 'Intl.NumberFormat' narrow renders both 'minute' and 'month' as 'm', so a compact "3m" could mean three minutes or three months. 'elapsedTime' in 'helix/core' does the measurement. **'relative' shows the same reading in words**, such as "3 hours ago" at 'long', "3 hr. ago" at 'short' and "3h ago" at 'narrow', the styles 'sl-relative-time' offers. 'numeric="always"' says "1 day ago" where the default says "yesterday". Both readings round the count, as 'sl-relative-time' does: 100 seconds ago is "2 minutes ago", and 59.6 minutes is "1 hour". **'date-style' and 'time-style' take each locale's own pattern**, such as "Tuesday, August 4, 2026" at 'full', and stand in for the separate fields, which 'Intl' refuses beside them. 'hour-cycle' sets a twelve or twenty-four hour clock either way. **The text refreshes on one timer shared by the page.** Each element schedules an update for when its current reading expires, and an element showing a date schedules none, so a long feed left open costs almost nothing. 'frozen' draws the reading once and leaves it. **'fields' draws each field of a date as a part of its own**, such as 'day', 'month' and 'year', so a stylesheet can set the year in a lighter ink or the weekday in capitals with '::part()'. The text between the fields is the locale's own and has no part. An 'elapsed' or 'relative' reading is one phrase, with no parts inside it. **The output is always '<time datetime>'**, so copy and paste and scripts parsing the page get the exact instant, whatever the visible text says. A screen reader reads the text, so an 'elapsed' reading is named in full, such as "3 hours ago", and carries the whole date as its title. **A date with no time, such as '2026-08-04', is that day everywhere.** It is formatted in UTC unless 'time-zone' says otherwise, as Date Input and Date Picker format their dates, so a reader west of UTC sees August 4 and not August 3. **A date is written in a calendar Date Picker draws**: the locale's own where its months are the Gregorian months, as 'th-TH' writes 2569 for 2026, and 'gregory' where they are not, as for 'fa-IR'. 'calendar' picks any of them, 'persian' and 'hebrew' included. */
|
|
22784
22938
|
"helix-headless-format-date": DefineCustomElement<
|
|
22785
22939
|
HelixHeadlessFormatDate,
|
|
@@ -22876,7 +23030,7 @@ export interface WcToolkitVueGlobalComponents {
|
|
|
22876
23030
|
HelixHeadlessLoaderVueProps,
|
|
22877
23031
|
HelixHeadlessLoaderVueEvents
|
|
22878
23032
|
>;
|
|
22879
|
-
/** A group is a disclosure: its heading is a button that shows and hides the lines inside it, and says whether they are shown with 'aria-expanded'. Put 'Log.Line' elements inside it, and nest groups for steps within steps. 'status' draws a mark before the heading, and a screen reader hears the status after the heading ('status-label'). 'duration' stands at the end of the heading, as you write it, such as '12s'. A group starts shut. Write 'default-open' on the step a reader should see, such as the one that failed. */
|
|
23033
|
+
/** A group is a disclosure: its heading is a button that shows and hides the lines inside it, and says whether they are shown with 'aria-expanded'. Put 'Log.Line' elements inside it, and nest groups for steps within steps. 'status' draws a mark before the heading, and a screen reader hears the status after the heading ('status-label'). 'duration' stands at the end of the heading, as you write it, such as '12s'. A group starts shut. Write 'default-open' on the step a reader should see, such as the one that failed. A shut group's lines are hidden until found: the browser's find and Find search them, and the group opens on the one that holds the match, unless 'helix-before-open' is canceled. */
|
|
22880
23034
|
"helix-headless-log-group": DefineCustomElement<
|
|
22881
23035
|
HelixHeadlessLogGroup,
|
|
22882
23036
|
HelixHeadlessLogGroupVueProps,
|
|
@@ -23416,7 +23570,7 @@ export interface WcToolkitVueGlobalComponents {
|
|
|
23416
23570
|
HelixHeadlessTourStopVueProps,
|
|
23417
23571
|
HelixHeadlessTourStopVueEvents
|
|
23418
23572
|
>;
|
|
23419
|
-
/** 'open' comes from 'MixinControllerOpen', the same state a disclosure holds, so you can respond to a branch opening and control the state yourself. The row renders 'aria-expanded'. Each item is an element because it holds state: whether it is open, selected, and focused. An item is a branch when an item is slotted into 'children', with 'slot="children"' on each nested item. This is detected on the client, so server-rendered markup shows a leaf and the twisty appears on hydration. **'href' makes the whole row a link**, rendered as an '<a>'. Enter, middle click, and the status bar then work anywhere on the row. Pressing a branch, or Enter or Space on it, opens or closes it. A branch with a 'value' is chosen as well and sends 'helix-select', unless the tree has 'nesting="heading"', where a branch names the list under it, or 'selection-mode="leaf"', where only the items at the ends are chosen. A 'disabled' item is reached by the arrow keys and announced as unavailable, and a press, Enter or Space on it does nothing. A 'lazy' item is a branch whose children you load when it opens: opening it sends 'helix-load', the row says it is busy, and the children you add appear in it. Remove 'lazy' once they are in. **In a 'reorderable' tree, the row has a grip** at its far end, which a pointer drags to move the item among its siblings. The tree says which item is moving and where the drop indicator is, with the 'dragging', 'drop-before', and 'drop-after' states. */
|
|
23573
|
+
/** 'open' comes from 'MixinControllerOpen', the same state a disclosure holds, so you can respond to a branch opening and control the state yourself. The row renders 'aria-expanded'. Each item is an element because it holds state: whether it is open, selected, and focused. An item is a branch when an item is slotted into 'children', with 'slot="children"' on each nested item. This is detected on the client, so server-rendered markup shows a leaf and the twisty appears on hydration. **'href' makes the whole row a link**, rendered as an '<a>'. Enter, middle click, and the status bar then work anywhere on the row. Pressing a branch, or Enter or Space on it, opens or closes it. A branch with a 'value' is chosen as well and sends 'helix-select', unless the tree has 'nesting="heading"', where a branch names the list under it, or 'selection-mode="leaf"', where only the items at the ends are chosen. A 'disabled' item is reached by the arrow keys and announced as unavailable, and a press, Enter or Space on it does nothing. A closed branch's children are hidden until found: the browser's find and Find search them, and the branch opens on the one that holds the match, unless 'helix-before-open' is canceled. A 'lazy' item is a branch whose children you load when it opens: opening it sends 'helix-load', the row says it is busy, and the children you add appear in it. Remove 'lazy' once they are in. **In a 'reorderable' tree, the row has a grip** at its far end, which a pointer drags to move the item among its siblings. The tree says which item is moving and where the drop indicator is, with the 'dragging', 'drop-before', and 'drop-after' states. */
|
|
23420
23574
|
"helix-headless-tree-item": DefineCustomElement<
|
|
23421
23575
|
HelixHeadlessTreeItem,
|
|
23422
23576
|
HelixHeadlessTreeItemVueProps,
|
package/types/words.d.ts
CHANGED
|
@@ -2023,6 +2023,93 @@ declare module '@fusion.dev/helix-core' {
|
|
|
2023
2023
|
*/
|
|
2024
2024
|
label: Message
|
|
2025
2025
|
}
|
|
2026
|
+
'helix-find': {
|
|
2027
|
+
/**
|
|
2028
|
+
* The close button's label.
|
|
2029
|
+
*
|
|
2030
|
+
* English: `Close find`
|
|
2031
|
+
*/
|
|
2032
|
+
closeLabel: Message
|
|
2033
|
+
/**
|
|
2034
|
+
* The name of the bar's toolbar, read by screen readers.
|
|
2035
|
+
*
|
|
2036
|
+
* English: `Find controls`
|
|
2037
|
+
*/
|
|
2038
|
+
controlsLabel: Message
|
|
2039
|
+
/**
|
|
2040
|
+
* What the count says when the regular expression cannot be read.
|
|
2041
|
+
*
|
|
2042
|
+
* English: `Not a valid regular expression`
|
|
2043
|
+
*/
|
|
2044
|
+
invalidLabel: Message
|
|
2045
|
+
/**
|
|
2046
|
+
* The field's name and placeholder, and the name of the bar.
|
|
2047
|
+
*
|
|
2048
|
+
* English: `Find`
|
|
2049
|
+
*/
|
|
2050
|
+
label: Message
|
|
2051
|
+
/**
|
|
2052
|
+
* The match case button's label.
|
|
2053
|
+
*
|
|
2054
|
+
* English: `Match case`
|
|
2055
|
+
*/
|
|
2056
|
+
matchCaseLabel: Message
|
|
2057
|
+
/**
|
|
2058
|
+
* What the count says of the matches. `{index}` is the current match,
|
|
2059
|
+
* counting from 1, and `{count}` how many there are.
|
|
2060
|
+
*
|
|
2061
|
+
* English: `{count, plural, =0 {No matches} one {{index} of # match} other {{index} of # matches}}`
|
|
2062
|
+
*/
|
|
2063
|
+
matchesLabel: Message
|
|
2064
|
+
/**
|
|
2065
|
+
* The next match button's label.
|
|
2066
|
+
*
|
|
2067
|
+
* English: `Next match`
|
|
2068
|
+
*/
|
|
2069
|
+
nextLabel: Message
|
|
2070
|
+
/**
|
|
2071
|
+
* The previous match button's label.
|
|
2072
|
+
*
|
|
2073
|
+
* English: `Previous match`
|
|
2074
|
+
*/
|
|
2075
|
+
previousLabel: Message
|
|
2076
|
+
/**
|
|
2077
|
+
* The regular expression button's label.
|
|
2078
|
+
*
|
|
2079
|
+
* English: `Use regular expression`
|
|
2080
|
+
*/
|
|
2081
|
+
regexLabel: Message
|
|
2082
|
+
/**
|
|
2083
|
+
* The Replace all button's words.
|
|
2084
|
+
*
|
|
2085
|
+
* English: `Replace all`
|
|
2086
|
+
*/
|
|
2087
|
+
replaceAllLabel: Message
|
|
2088
|
+
/**
|
|
2089
|
+
* The replace field's name and placeholder.
|
|
2090
|
+
*
|
|
2091
|
+
* English: `Replace with`
|
|
2092
|
+
*/
|
|
2093
|
+
replaceFieldLabel: Message
|
|
2094
|
+
/**
|
|
2095
|
+
* The Replace button's words.
|
|
2096
|
+
*
|
|
2097
|
+
* English: `Replace`
|
|
2098
|
+
*/
|
|
2099
|
+
replaceLabel: Message
|
|
2100
|
+
/**
|
|
2101
|
+
* The label of the button that shows the replace row.
|
|
2102
|
+
*
|
|
2103
|
+
* English: `Find and replace`
|
|
2104
|
+
*/
|
|
2105
|
+
replaceToggleLabel: Message
|
|
2106
|
+
/**
|
|
2107
|
+
* The whole word button's label.
|
|
2108
|
+
*
|
|
2109
|
+
* English: `Match whole word`
|
|
2110
|
+
*/
|
|
2111
|
+
wholeWordLabel: Message
|
|
2112
|
+
}
|
|
2026
2113
|
'helix-graph': {
|
|
2027
2114
|
/**
|
|
2028
2115
|
* The hint shown when the graph, waiting to be pressed with
|