@fusion.dev/helix 0.220.0 → 0.222.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 +2 -2
- package/dist/editor/index.d.ts +1 -0
- package/dist/editor/index.js +1 -0
- package/dist/editor/root/editor-root.css.d.ts +1 -0
- package/dist/editor/root/editor-root.css.js +2 -0
- package/dist/editor/root/editor-root.d.ts +62 -0
- package/dist/editor/root/editor-root.js +33 -0
- package/dist/element-events.generated.js +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/sandbox/index.d.ts +2 -1
- package/dist/sandbox/preview/sandbox-preview.d.ts +46 -8
- package/dist/sandbox/preview/sandbox-preview.js +65 -11
- package/dist/shared/dictation/dictation.css.js +1 -1
- package/dist/textarea/root/textarea-root.css.js +1 -1
- package/dist/textarea/root/textarea-root.js +2 -0
- package/examples.json +1 -1
- package/lint.json +1 -1
- package/package.json +6 -6
- package/skills/helix/SKILL.md +2 -2
- package/types/jsx.d.ts +1130 -20
- package/types/svelte.d.ts +1 -0
- package/types/vue.d.ts +229 -2
- package/types/words.d.ts +248 -0
package/types/svelte.d.ts
CHANGED
|
@@ -76,6 +76,7 @@ declare module 'svelte/elements' {
|
|
|
76
76
|
'helix-drawer': Helix<'helix-drawer'>
|
|
77
77
|
'helix-drilldown-item': Helix<'helix-drilldown-item'>
|
|
78
78
|
'helix-drilldown': Helix<'helix-drilldown'>
|
|
79
|
+
'helix-editor': Helix<'helix-editor'>
|
|
79
80
|
'helix-empty': Helix<'helix-empty'>
|
|
80
81
|
'helix-file-input': Helix<'helix-file-input'>
|
|
81
82
|
'helix-filter-chip': Helix<'helix-filter-chip'>
|
package/types/vue.d.ts
CHANGED
|
@@ -90,6 +90,7 @@ import type {
|
|
|
90
90
|
HelixDrilldown,
|
|
91
91
|
HelixDrilldownItem,
|
|
92
92
|
HelixEditEvent,
|
|
93
|
+
HelixEditor,
|
|
93
94
|
HelixEmpty,
|
|
94
95
|
HelixEndEvent,
|
|
95
96
|
HelixExpandEvent,
|
|
@@ -3567,6 +3568,18 @@ without the sweep.
|
|
|
3567
3568
|
The steady edge is the focus indicator, so the ring is not drawn as well.
|
|
3568
3569
|
Its color is `--chat-composer-glow-color`, the primary color unless set. */
|
|
3569
3570
|
glow?: (HelixChatComposer["glow"]) | undefined;
|
|
3571
|
+
/** What a screen reader hears when the browser or the reader refuses the microphone. */
|
|
3572
|
+
"dictation-denied-label"?: (HelixChatComposer["dictationDeniedLabel"]) | undefined;
|
|
3573
|
+
/** What a screen reader hears when the browser or the reader refuses the microphone. */
|
|
3574
|
+
dictationDeniedLabel?: (HelixChatComposer["dictationDeniedLabel"]) | undefined;
|
|
3575
|
+
/** What a screen reader hears when listening ends with an error that has no label of its own. */
|
|
3576
|
+
"dictation-failed-label"?: (HelixChatComposer["dictationFailedLabel"]) | undefined;
|
|
3577
|
+
/** What a screen reader hears when listening ends with an error that has no label of its own. */
|
|
3578
|
+
dictationFailedLabel?: (HelixChatComposer["dictationFailedLabel"]) | undefined;
|
|
3579
|
+
/** What a screen reader hears when the recognizer cannot reach its speech service. */
|
|
3580
|
+
"dictation-unreachable-label"?: (HelixChatComposer["dictationUnreachableLabel"]) | undefined;
|
|
3581
|
+
/** What a screen reader hears when the recognizer cannot reach its speech service. */
|
|
3582
|
+
dictationUnreachableLabel?: (HelixChatComposer["dictationUnreachableLabel"]) | undefined;
|
|
3570
3583
|
/** What a screen reader hears as listening starts. */
|
|
3571
3584
|
"listening-label"?: (HelixChatComposer["listeningLabel"]) | undefined;
|
|
3572
3585
|
/** What a screen reader hears as listening starts. */
|
|
@@ -4764,7 +4777,7 @@ Here rather than on each control. */
|
|
|
4764
4777
|
/** The problems in the text, each underlined and listed under the editor. */
|
|
4765
4778
|
diagnostics?: (HelixCodeEditor["diagnostics"]) | undefined;
|
|
4766
4779
|
/** What draws the editor, such as `codeMirrorEngine()` from
|
|
4767
|
-
`@fusion.dev/helix-editor`. Absent, the editor is a plain text field. */
|
|
4780
|
+
`@fusion.dev/helix-code-editor`. Absent, the editor is a plain text field. */
|
|
4768
4781
|
engine?: (HelixCodeEditor["engine"]) | undefined;
|
|
4769
4782
|
};
|
|
4770
4783
|
|
|
@@ -4803,6 +4816,18 @@ export type HelixCodeInputVueProps = {
|
|
|
4803
4816
|
/** How the browser wraps the text, and whether the breaks are submitted with
|
|
4804
4817
|
it. */
|
|
4805
4818
|
wrap?: (HelixCodeInput["wrap"]) | undefined;
|
|
4819
|
+
/** What a screen reader hears when the browser or the reader refuses the microphone. */
|
|
4820
|
+
"dictation-denied-label"?: (HelixCodeInput["dictationDeniedLabel"]) | undefined;
|
|
4821
|
+
/** What a screen reader hears when the browser or the reader refuses the microphone. */
|
|
4822
|
+
dictationDeniedLabel?: (HelixCodeInput["dictationDeniedLabel"]) | undefined;
|
|
4823
|
+
/** What a screen reader hears when listening ends with an error that has no label of its own. */
|
|
4824
|
+
"dictation-failed-label"?: (HelixCodeInput["dictationFailedLabel"]) | undefined;
|
|
4825
|
+
/** What a screen reader hears when listening ends with an error that has no label of its own. */
|
|
4826
|
+
dictationFailedLabel?: (HelixCodeInput["dictationFailedLabel"]) | undefined;
|
|
4827
|
+
/** What a screen reader hears when the recognizer cannot reach its speech service. */
|
|
4828
|
+
"dictation-unreachable-label"?: (HelixCodeInput["dictationUnreachableLabel"]) | undefined;
|
|
4829
|
+
/** What a screen reader hears when the recognizer cannot reach its speech service. */
|
|
4830
|
+
dictationUnreachableLabel?: (HelixCodeInput["dictationUnreachableLabel"]) | undefined;
|
|
4806
4831
|
/** What a screen reader hears as listening starts. */
|
|
4807
4832
|
"listening-label"?: (HelixCodeInput["listeningLabel"]) | undefined;
|
|
4808
4833
|
/** What a screen reader hears as listening starts. */
|
|
@@ -8845,6 +8870,138 @@ export type HelixDrilldownVueEvents = {
|
|
|
8845
8870
|
"helix-select": HelixDrilldownHelixSelectElementEvent;
|
|
8846
8871
|
};
|
|
8847
8872
|
|
|
8873
|
+
/** `HelixEditor` component event */
|
|
8874
|
+
export type HelixEditorElementEvent<E = Event> = TypedEvent<HelixEditor, E>;
|
|
8875
|
+
/** `helix-found` event type */
|
|
8876
|
+
export type HelixEditorHelixFoundElementEvent =
|
|
8877
|
+
HelixEditorElementEvent<HelixFoundEvent>;
|
|
8878
|
+
|
|
8879
|
+
export type HelixEditorVueProps = {
|
|
8880
|
+
/** Covers the container instead of growing with the document, for an editor
|
|
8881
|
+
that fills a pane, such as one side of a split view. The document scrolls
|
|
8882
|
+
inside the frame. The container needs a position, such as
|
|
8883
|
+
`position: relative`. */
|
|
8884
|
+
fill?: (HelixEditor["fill"]) | undefined;
|
|
8885
|
+
/** How the frame stands off the page. Unset, it is outlined. `plain` draws
|
|
8886
|
+
no edge or corners, for a document that fills a page or a pane of its own. */
|
|
8887
|
+
separation?: (HelixEditor["separation"]) | undefined;
|
|
8888
|
+
/** The block menu button's name. `{name}` is the block type at the selection. */
|
|
8889
|
+
"block-chosen-label"?: (HelixEditor["blockChosenLabel"]) | undefined;
|
|
8890
|
+
/** The block menu button's name. `{name}` is the block type at the selection. */
|
|
8891
|
+
blockChosenLabel?: (HelixEditor["blockChosenLabel"]) | undefined;
|
|
8892
|
+
/** The block menu's name, read by screen readers. */
|
|
8893
|
+
"block-label"?: (HelixEditor["blockLabel"]) | undefined;
|
|
8894
|
+
/** The block menu's name, read by screen readers. */
|
|
8895
|
+
blockLabel?: (HelixEditor["blockLabel"]) | undefined;
|
|
8896
|
+
/** The Bold button's label. */
|
|
8897
|
+
"bold-label"?: (HelixEditor["boldLabel"]) | undefined;
|
|
8898
|
+
/** The Bold button's label. */
|
|
8899
|
+
boldLabel?: (HelixEditor["boldLabel"]) | undefined;
|
|
8900
|
+
/** The Bulleted list button's label. */
|
|
8901
|
+
"bullet-list-label"?: (HelixEditor["bulletListLabel"]) | undefined;
|
|
8902
|
+
/** The Bulleted list button's label. */
|
|
8903
|
+
bulletListLabel?: (HelixEditor["bulletListLabel"]) | undefined;
|
|
8904
|
+
/** The Code block row's label in the block menu. */
|
|
8905
|
+
"code-block-label"?: (HelixEditor["codeBlockLabel"]) | undefined;
|
|
8906
|
+
/** The Code block row's label in the block menu. */
|
|
8907
|
+
codeBlockLabel?: (HelixEditor["codeBlockLabel"]) | undefined;
|
|
8908
|
+
/** The Code button's label. */
|
|
8909
|
+
"code-label"?: (HelixEditor["codeLabel"]) | undefined;
|
|
8910
|
+
/** The Code button's label. */
|
|
8911
|
+
codeLabel?: (HelixEditor["codeLabel"]) | undefined;
|
|
8912
|
+
/** The toolbar's name, read by screen readers. */
|
|
8913
|
+
"controls-label"?: (HelixEditor["controlsLabel"]) | undefined;
|
|
8914
|
+
/** The toolbar's name, read by screen readers. */
|
|
8915
|
+
controlsLabel?: (HelixEditor["controlsLabel"]) | undefined;
|
|
8916
|
+
/** The document's name where `label` is empty and the host has no `aria-label`. */
|
|
8917
|
+
"fallback-label"?: (HelixEditor["fallbackLabel"]) | undefined;
|
|
8918
|
+
/** The document's name where `label` is empty and the host has no `aria-label`. */
|
|
8919
|
+
fallbackLabel?: (HelixEditor["fallbackLabel"]) | undefined;
|
|
8920
|
+
/** The Find button's label, and the find bar's name. */
|
|
8921
|
+
"find-label"?: (HelixEditor["findLabel"]) | undefined;
|
|
8922
|
+
/** The Find button's label, and the find bar's name. */
|
|
8923
|
+
findLabel?: (HelixEditor["findLabel"]) | undefined;
|
|
8924
|
+
/** A heading's name in the block menu. `{level}` is its level, 1 to 3. */
|
|
8925
|
+
"heading-label"?: (HelixEditor["headingLabel"]) | undefined;
|
|
8926
|
+
/** A heading's name in the block menu. `{level}` is its level, 1 to 3. */
|
|
8927
|
+
headingLabel?: (HelixEditor["headingLabel"]) | undefined;
|
|
8928
|
+
/** The Italic button's label. */
|
|
8929
|
+
"italic-label"?: (HelixEditor["italicLabel"]) | undefined;
|
|
8930
|
+
/** The Italic button's label. */
|
|
8931
|
+
italicLabel?: (HelixEditor["italicLabel"]) | undefined;
|
|
8932
|
+
/** The document's name, read by screen readers. Name what it holds, such as
|
|
8933
|
+
"Release notes", so that several editors on one page can be told apart.
|
|
8934
|
+
Required. */
|
|
8935
|
+
label?: (HelixEditor["label"]) | undefined;
|
|
8936
|
+
/** The Apply button's label in the address bar. */
|
|
8937
|
+
"link-apply-label"?: (HelixEditor["linkApplyLabel"]) | undefined;
|
|
8938
|
+
/** The Apply button's label in the address bar. */
|
|
8939
|
+
linkApplyLabel?: (HelixEditor["linkApplyLabel"]) | undefined;
|
|
8940
|
+
/** The close button's label in the address bar. */
|
|
8941
|
+
"link-close-label"?: (HelixEditor["linkCloseLabel"]) | undefined;
|
|
8942
|
+
/** The close button's label in the address bar. */
|
|
8943
|
+
linkCloseLabel?: (HelixEditor["linkCloseLabel"]) | undefined;
|
|
8944
|
+
/** The name of the address bar's toolbar, read by screen readers. */
|
|
8945
|
+
"link-controls-label"?: (HelixEditor["linkControlsLabel"]) | undefined;
|
|
8946
|
+
/** The name of the address bar's toolbar, read by screen readers. */
|
|
8947
|
+
linkControlsLabel?: (HelixEditor["linkControlsLabel"]) | undefined;
|
|
8948
|
+
/** The address field's name, which it also shows while it is empty. */
|
|
8949
|
+
"link-field-label"?: (HelixEditor["linkFieldLabel"]) | undefined;
|
|
8950
|
+
/** The address field's name, which it also shows while it is empty. */
|
|
8951
|
+
linkFieldLabel?: (HelixEditor["linkFieldLabel"]) | undefined;
|
|
8952
|
+
/** The Link button's label, and the address bar's name. */
|
|
8953
|
+
"link-label"?: (HelixEditor["linkLabel"]) | undefined;
|
|
8954
|
+
/** The Link button's label, and the address bar's name. */
|
|
8955
|
+
linkLabel?: (HelixEditor["linkLabel"]) | undefined;
|
|
8956
|
+
/** The Remove button's label in the address bar. */
|
|
8957
|
+
"link-remove-label"?: (HelixEditor["linkRemoveLabel"]) | undefined;
|
|
8958
|
+
/** The Remove button's label in the address bar. */
|
|
8959
|
+
linkRemoveLabel?: (HelixEditor["linkRemoveLabel"]) | undefined;
|
|
8960
|
+
/** The Numbered list button's label. */
|
|
8961
|
+
"ordered-list-label"?: (HelixEditor["orderedListLabel"]) | undefined;
|
|
8962
|
+
/** The Numbered list button's label. */
|
|
8963
|
+
orderedListLabel?: (HelixEditor["orderedListLabel"]) | undefined;
|
|
8964
|
+
/** The Paragraph row's label in the block menu. */
|
|
8965
|
+
"paragraph-label"?: (HelixEditor["paragraphLabel"]) | undefined;
|
|
8966
|
+
/** The Paragraph row's label in the block menu. */
|
|
8967
|
+
paragraphLabel?: (HelixEditor["paragraphLabel"]) | undefined;
|
|
8968
|
+
/** The words shown in an empty document, such as "Write the release notes". */
|
|
8969
|
+
placeholder?: (HelixEditor["placeholder"]) | undefined;
|
|
8970
|
+
/** The Quote button's label. */
|
|
8971
|
+
"quote-label"?: (HelixEditor["quoteLabel"]) | undefined;
|
|
8972
|
+
/** The Quote button's label. */
|
|
8973
|
+
quoteLabel?: (HelixEditor["quoteLabel"]) | undefined;
|
|
8974
|
+
/** Shows the document and takes no edits, with no toolbar, for a document
|
|
8975
|
+
someone reads, or one an agent is writing. The attribute is `readonly`,
|
|
8976
|
+
the platform's spelling. */
|
|
8977
|
+
readonly?: (HelixEditor["readOnly"]) | undefined;
|
|
8978
|
+
/** Shows the document and takes no edits, with no toolbar, for a document
|
|
8979
|
+
someone reads, or one an agent is writing. The attribute is `readonly`,
|
|
8980
|
+
the platform's spelling. */
|
|
8981
|
+
readOnly?: (HelixEditor["readOnly"]) | undefined;
|
|
8982
|
+
/** The Redo button's label. */
|
|
8983
|
+
"redo-label"?: (HelixEditor["redoLabel"]) | undefined;
|
|
8984
|
+
/** The Redo button's label. */
|
|
8985
|
+
redoLabel?: (HelixEditor["redoLabel"]) | undefined;
|
|
8986
|
+
/** The Strikethrough button's label. */
|
|
8987
|
+
"strike-label"?: (HelixEditor["strikeLabel"]) | undefined;
|
|
8988
|
+
/** The Strikethrough button's label. */
|
|
8989
|
+
strikeLabel?: (HelixEditor["strikeLabel"]) | undefined;
|
|
8990
|
+
/** Which groups of tools the toolbar draws, as a list of `history`, `block`,
|
|
8991
|
+
`marks`, `link`, `lists`, and `quote`, or `none`. They are drawn in that
|
|
8992
|
+
order, whatever order the list is in. Absent is all six. */
|
|
8993
|
+
tools?: (HelixEditor["tools"]) | undefined;
|
|
8994
|
+
/** The Undo button's label. */
|
|
8995
|
+
"undo-label"?: (HelixEditor["undoLabel"]) | undefined;
|
|
8996
|
+
/** The Undo button's label. */
|
|
8997
|
+
undoLabel?: (HelixEditor["undoLabel"]) | undefined;
|
|
8998
|
+
};
|
|
8999
|
+
|
|
9000
|
+
export type HelixEditorVueEvents = {
|
|
9001
|
+
/** The find bar searched or moved among the matches, with `count` and the selected match's `index`, counting from 0, or -1 for none. */
|
|
9002
|
+
"helix-found": HelixEditorHelixFoundElementEvent;
|
|
9003
|
+
};
|
|
9004
|
+
|
|
8848
9005
|
export type HelixEmptyVueProps = {
|
|
8849
9006
|
/** The heading as words, such as "No results", drawn as a heading when
|
|
8850
9007
|
nothing is slotted into `heading`.
|
|
@@ -9277,6 +9434,18 @@ export type HelixFilterInputHelixSelectElementEvent =
|
|
|
9277
9434
|
HelixFilterInputElementEvent<HelixSelectEvent>;
|
|
9278
9435
|
|
|
9279
9436
|
export type HelixFilterInputVueProps = {
|
|
9437
|
+
/** What a screen reader hears when the browser or the reader refuses the microphone. */
|
|
9438
|
+
"dictation-denied-label"?: (HelixFilterInput["dictationDeniedLabel"]) | undefined;
|
|
9439
|
+
/** What a screen reader hears when the browser or the reader refuses the microphone. */
|
|
9440
|
+
dictationDeniedLabel?: (HelixFilterInput["dictationDeniedLabel"]) | undefined;
|
|
9441
|
+
/** What a screen reader hears when listening ends with an error that has no label of its own. */
|
|
9442
|
+
"dictation-failed-label"?: (HelixFilterInput["dictationFailedLabel"]) | undefined;
|
|
9443
|
+
/** What a screen reader hears when listening ends with an error that has no label of its own. */
|
|
9444
|
+
dictationFailedLabel?: (HelixFilterInput["dictationFailedLabel"]) | undefined;
|
|
9445
|
+
/** What a screen reader hears when the recognizer cannot reach its speech service. */
|
|
9446
|
+
"dictation-unreachable-label"?: (HelixFilterInput["dictationUnreachableLabel"]) | undefined;
|
|
9447
|
+
/** What a screen reader hears when the recognizer cannot reach its speech service. */
|
|
9448
|
+
dictationUnreachableLabel?: (HelixFilterInput["dictationUnreachableLabel"]) | undefined;
|
|
9280
9449
|
/** What a screen reader hears as listening starts. */
|
|
9281
9450
|
"listening-label"?: (HelixFilterInput["listeningLabel"]) | undefined;
|
|
9282
9451
|
/** What a screen reader hears as listening starts. */
|
|
@@ -11185,6 +11354,18 @@ export type HelixInputHelixListenElementEvent =
|
|
|
11185
11354
|
HelixInputElementEvent<HelixListenEvent>;
|
|
11186
11355
|
|
|
11187
11356
|
export type HelixInputVueProps = {
|
|
11357
|
+
/** What a screen reader hears when the browser or the reader refuses the microphone. */
|
|
11358
|
+
"dictation-denied-label"?: (HelixInput["dictationDeniedLabel"]) | undefined;
|
|
11359
|
+
/** What a screen reader hears when the browser or the reader refuses the microphone. */
|
|
11360
|
+
dictationDeniedLabel?: (HelixInput["dictationDeniedLabel"]) | undefined;
|
|
11361
|
+
/** What a screen reader hears when listening ends with an error that has no label of its own. */
|
|
11362
|
+
"dictation-failed-label"?: (HelixInput["dictationFailedLabel"]) | undefined;
|
|
11363
|
+
/** What a screen reader hears when listening ends with an error that has no label of its own. */
|
|
11364
|
+
dictationFailedLabel?: (HelixInput["dictationFailedLabel"]) | undefined;
|
|
11365
|
+
/** What a screen reader hears when the recognizer cannot reach its speech service. */
|
|
11366
|
+
"dictation-unreachable-label"?: (HelixInput["dictationUnreachableLabel"]) | undefined;
|
|
11367
|
+
/** What a screen reader hears when the recognizer cannot reach its speech service. */
|
|
11368
|
+
dictationUnreachableLabel?: (HelixInput["dictationUnreachableLabel"]) | undefined;
|
|
11188
11369
|
/** What a screen reader hears as listening starts. */
|
|
11189
11370
|
"listening-label"?: (HelixInput["listeningLabel"]) | undefined;
|
|
11190
11371
|
/** What a screen reader hears as listening starts. */
|
|
@@ -12431,6 +12612,18 @@ export type HelixListboxHelixReorderElementEvent =
|
|
|
12431
12612
|
HelixListboxElementEvent<HelixReorderEvent>;
|
|
12432
12613
|
|
|
12433
12614
|
export type HelixListboxVueProps = {
|
|
12615
|
+
/** What a screen reader hears when the browser or the reader refuses the microphone. */
|
|
12616
|
+
"dictation-denied-label"?: (HelixListbox["dictationDeniedLabel"]) | undefined;
|
|
12617
|
+
/** What a screen reader hears when the browser or the reader refuses the microphone. */
|
|
12618
|
+
dictationDeniedLabel?: (HelixListbox["dictationDeniedLabel"]) | undefined;
|
|
12619
|
+
/** What a screen reader hears when listening ends with an error that has no label of its own. */
|
|
12620
|
+
"dictation-failed-label"?: (HelixListbox["dictationFailedLabel"]) | undefined;
|
|
12621
|
+
/** What a screen reader hears when listening ends with an error that has no label of its own. */
|
|
12622
|
+
dictationFailedLabel?: (HelixListbox["dictationFailedLabel"]) | undefined;
|
|
12623
|
+
/** What a screen reader hears when the recognizer cannot reach its speech service. */
|
|
12624
|
+
"dictation-unreachable-label"?: (HelixListbox["dictationUnreachableLabel"]) | undefined;
|
|
12625
|
+
/** What a screen reader hears when the recognizer cannot reach its speech service. */
|
|
12626
|
+
dictationUnreachableLabel?: (HelixListbox["dictationUnreachableLabel"]) | undefined;
|
|
12434
12627
|
/** What a screen reader hears as listening starts. */
|
|
12435
12628
|
"listening-label"?: (HelixListbox["listeningLabel"]) | undefined;
|
|
12436
12629
|
/** What a screen reader hears as listening starts. */
|
|
@@ -21938,6 +22131,18 @@ export type HelixTextareaHelixListenElementEvent =
|
|
|
21938
22131
|
HelixTextareaElementEvent<HelixListenEvent>;
|
|
21939
22132
|
|
|
21940
22133
|
export type HelixTextareaVueProps = {
|
|
22134
|
+
/** What a screen reader hears when the browser or the reader refuses the microphone. */
|
|
22135
|
+
"dictation-denied-label"?: (HelixTextarea["dictationDeniedLabel"]) | undefined;
|
|
22136
|
+
/** What a screen reader hears when the browser or the reader refuses the microphone. */
|
|
22137
|
+
dictationDeniedLabel?: (HelixTextarea["dictationDeniedLabel"]) | undefined;
|
|
22138
|
+
/** What a screen reader hears when listening ends with an error that has no label of its own. */
|
|
22139
|
+
"dictation-failed-label"?: (HelixTextarea["dictationFailedLabel"]) | undefined;
|
|
22140
|
+
/** What a screen reader hears when listening ends with an error that has no label of its own. */
|
|
22141
|
+
dictationFailedLabel?: (HelixTextarea["dictationFailedLabel"]) | undefined;
|
|
22142
|
+
/** What a screen reader hears when the recognizer cannot reach its speech service. */
|
|
22143
|
+
"dictation-unreachable-label"?: (HelixTextarea["dictationUnreachableLabel"]) | undefined;
|
|
22144
|
+
/** What a screen reader hears when the recognizer cannot reach its speech service. */
|
|
22145
|
+
dictationUnreachableLabel?: (HelixTextarea["dictationUnreachableLabel"]) | undefined;
|
|
21941
22146
|
/** What a screen reader hears as listening starts. */
|
|
21942
22147
|
"listening-label"?: (HelixTextarea["listeningLabel"]) | undefined;
|
|
21943
22148
|
/** What a screen reader hears as listening starts. */
|
|
@@ -26118,6 +26323,22 @@ export type CustomCssProperties = {
|
|
|
26118
26323
|
"--drilldown-title-font-weight"?: (string) | undefined;
|
|
26119
26324
|
/** How far a page slides as it arrives, along the line of text. */
|
|
26120
26325
|
"--drilldown-travel"?: (string) | undefined;
|
|
26326
|
+
/** The ground the document is drawn on. Defaults to the page's background. */
|
|
26327
|
+
"--editor-background-color"?: (string) | undefined;
|
|
26328
|
+
/** The frame's edge and the line under the toolbar. */
|
|
26329
|
+
"--editor-border-color"?: (string) | undefined;
|
|
26330
|
+
/** The fill of the toolbar's strip. */
|
|
26331
|
+
"--editor-header-background-color"?: (string) | undefined;
|
|
26332
|
+
/** How far below the top of the page the toolbar stays while the document scrolls, such as the height of your own fixed header. `0` unless set. */
|
|
26333
|
+
"--editor-header-offset"?: (string) | undefined;
|
|
26334
|
+
/** The longest a line of the document runs, as a length: `72ch` unless set. */
|
|
26335
|
+
"--editor-measure"?: (string) | undefined;
|
|
26336
|
+
/** The frame's least height, which it grows from with the document: `12rem` unless set. Ignored with `fill`. */
|
|
26337
|
+
"--editor-min-block-size"?: (string) | undefined;
|
|
26338
|
+
/** The space around the document, inside the frame. */
|
|
26339
|
+
"--editor-padding"?: (string) | undefined;
|
|
26340
|
+
/** The frame's corner radius. */
|
|
26341
|
+
"--editor-radius"?: (string) | undefined;
|
|
26121
26342
|
/** Space added above the actions. */
|
|
26122
26343
|
"--empty-actions-gap"?: (string) | undefined;
|
|
26123
26344
|
/** Space between the icon, the heading, the message and the actions. */
|
|
@@ -28236,7 +28457,7 @@ export interface WcToolkitVueGlobalComponents {
|
|
|
28236
28457
|
HelixCodeBlockVueProps,
|
|
28237
28458
|
HelixCodeBlockVueEvents
|
|
28238
28459
|
>;
|
|
28239
|
-
/** Drawn as Terminal and Code Block are: the code on the page's ground, with a header, a find bar and a status line each a strip on the raised surface, one frame around them. It is 24rem tall unless 'fill' is set or '--code-editor-block-size' says otherwise. An engine draws inside it: '@fusion.dev/helix-editor' themes CodeMirror's gutter, caret, selection and syntax from your tokens, and draws a problem's line number in its tone. Set 'fill' for an editor that fills a pane, such as one side of a split view. */
|
|
28460
|
+
/** Drawn as Terminal and Code Block are: the code on the page's ground, with a header, a find bar and a status line each a strip on the raised surface, one frame around them. It is 24rem tall unless 'fill' is set or '--code-editor-block-size' says otherwise. An engine draws inside it: '@fusion.dev/helix-code-editor' themes CodeMirror's gutter, caret, selection and syntax from your tokens, and draws a problem's line number in its tone. Set 'fill' for an editor that fills a pane, such as one side of a split view. */
|
|
28240
28461
|
"helix-code-editor": DefineCustomElement<
|
|
28241
28462
|
HelixCodeEditor,
|
|
28242
28463
|
HelixCodeEditorVueProps,
|
|
@@ -28356,6 +28577,12 @@ export interface WcToolkitVueGlobalComponents {
|
|
|
28356
28577
|
HelixDrilldownVueProps,
|
|
28357
28578
|
HelixDrilldownVueEvents
|
|
28358
28579
|
>;
|
|
28580
|
+
/** Drawn as Code Editor is: the document on the page's ground, and the toolbar a strip on the raised surface, one frame around them. The strip stays at the top of the page while a long document scrolls under it, and the frame grows with the document from '--editor-min-block-size'. Set 'fill' for an editor that fills a pane, where the document scrolls inside the frame. The document's headings, lists, quotes, code, and tables are drawn by the base layer's 'data-prose' rules, so it reads as your docs and chat replies do. Write 'data-prose' on the document so the base layer draws it before a renderer connects, and 'connectEditor' writes it too. Its lines keep to a readable length, '--editor-measure', centered in a wide frame. */
|
|
28581
|
+
"helix-editor": DefineCustomElement<
|
|
28582
|
+
HelixEditor,
|
|
28583
|
+
HelixEditorVueProps,
|
|
28584
|
+
HelixEditorVueEvents
|
|
28585
|
+
>;
|
|
28359
28586
|
/** Centered with space around it. An empty view is the only thing on screen, and pressed against the top edge it looks broken. */
|
|
28360
28587
|
"helix-empty": DefineCustomElement<
|
|
28361
28588
|
HelixEmpty,
|
package/types/words.d.ts
CHANGED
|
@@ -626,6 +626,24 @@ declare module '@fusion.dev/helix-core' {
|
|
|
626
626
|
typingLabel: Message
|
|
627
627
|
}
|
|
628
628
|
'helix-chat-composer': {
|
|
629
|
+
/**
|
|
630
|
+
* What a screen reader hears when the browser or the reader refuses the microphone.
|
|
631
|
+
*
|
|
632
|
+
* English: `Dictation needs the microphone`
|
|
633
|
+
*/
|
|
634
|
+
dictationDeniedLabel: Message
|
|
635
|
+
/**
|
|
636
|
+
* What a screen reader hears when listening ends with an error that has no label of its own.
|
|
637
|
+
*
|
|
638
|
+
* English: `Dictation stopped with an error`
|
|
639
|
+
*/
|
|
640
|
+
dictationFailedLabel: Message
|
|
641
|
+
/**
|
|
642
|
+
* What a screen reader hears when the recognizer cannot reach its speech service.
|
|
643
|
+
*
|
|
644
|
+
* English: `Dictation could not reach the speech service`
|
|
645
|
+
*/
|
|
646
|
+
dictationUnreachableLabel: Message
|
|
629
647
|
/**
|
|
630
648
|
* The field's name, read by screen readers.
|
|
631
649
|
*
|
|
@@ -908,6 +926,24 @@ declare module '@fusion.dev/helix-core' {
|
|
|
908
926
|
* English: `Clear`
|
|
909
927
|
*/
|
|
910
928
|
clearLabel: Message
|
|
929
|
+
/**
|
|
930
|
+
* What a screen reader hears when the browser or the reader refuses the microphone.
|
|
931
|
+
*
|
|
932
|
+
* English: `Dictation needs the microphone`
|
|
933
|
+
*/
|
|
934
|
+
dictationDeniedLabel: Message
|
|
935
|
+
/**
|
|
936
|
+
* What a screen reader hears when listening ends with an error that has no label of its own.
|
|
937
|
+
*
|
|
938
|
+
* English: `Dictation stopped with an error`
|
|
939
|
+
*/
|
|
940
|
+
dictationFailedLabel: Message
|
|
941
|
+
/**
|
|
942
|
+
* What a screen reader hears when the recognizer cannot reach its speech service.
|
|
943
|
+
*
|
|
944
|
+
* English: `Dictation could not reach the speech service`
|
|
945
|
+
*/
|
|
946
|
+
dictationUnreachableLabel: Message
|
|
911
947
|
/**
|
|
912
948
|
* What a screen reader hears as listening starts.
|
|
913
949
|
*
|
|
@@ -1897,6 +1933,146 @@ declare module '@fusion.dev/helix-core' {
|
|
|
1897
1933
|
*/
|
|
1898
1934
|
loadingText: Message
|
|
1899
1935
|
}
|
|
1936
|
+
'helix-editor': {
|
|
1937
|
+
/**
|
|
1938
|
+
* The block menu button's name. `{name}` is the block type at the selection.
|
|
1939
|
+
*
|
|
1940
|
+
* English: `Text style: {name}`
|
|
1941
|
+
*/
|
|
1942
|
+
blockChosenLabel: Message
|
|
1943
|
+
/**
|
|
1944
|
+
* The block menu's name, read by screen readers.
|
|
1945
|
+
*
|
|
1946
|
+
* English: `Text style`
|
|
1947
|
+
*/
|
|
1948
|
+
blockLabel: Message
|
|
1949
|
+
/**
|
|
1950
|
+
* The Bold button's label.
|
|
1951
|
+
*
|
|
1952
|
+
* English: `Bold`
|
|
1953
|
+
*/
|
|
1954
|
+
boldLabel: Message
|
|
1955
|
+
/**
|
|
1956
|
+
* The Bulleted list button's label.
|
|
1957
|
+
*
|
|
1958
|
+
* English: `Bulleted list`
|
|
1959
|
+
*/
|
|
1960
|
+
bulletListLabel: Message
|
|
1961
|
+
/**
|
|
1962
|
+
* The Code block row's label in the block menu.
|
|
1963
|
+
*
|
|
1964
|
+
* English: `Code block`
|
|
1965
|
+
*/
|
|
1966
|
+
codeBlockLabel: Message
|
|
1967
|
+
/**
|
|
1968
|
+
* The Code button's label.
|
|
1969
|
+
*
|
|
1970
|
+
* English: `Code`
|
|
1971
|
+
*/
|
|
1972
|
+
codeLabel: Message
|
|
1973
|
+
/**
|
|
1974
|
+
* The toolbar's name, read by screen readers.
|
|
1975
|
+
*
|
|
1976
|
+
* English: `Formatting`
|
|
1977
|
+
*/
|
|
1978
|
+
controlsLabel: Message
|
|
1979
|
+
/**
|
|
1980
|
+
* The document's name where `label` is empty and the host has no `aria-label`.
|
|
1981
|
+
*
|
|
1982
|
+
* English: `Editor`
|
|
1983
|
+
*/
|
|
1984
|
+
fallbackLabel: Message
|
|
1985
|
+
/**
|
|
1986
|
+
* The Find button's label, and the find bar's name.
|
|
1987
|
+
*
|
|
1988
|
+
* English: `Find`
|
|
1989
|
+
*/
|
|
1990
|
+
findLabel: Message
|
|
1991
|
+
/**
|
|
1992
|
+
* A heading's name in the block menu. `{level}` is its level, 1 to 3.
|
|
1993
|
+
*
|
|
1994
|
+
* English: `Heading {level}`
|
|
1995
|
+
*/
|
|
1996
|
+
headingLabel: Message
|
|
1997
|
+
/**
|
|
1998
|
+
* The Italic button's label.
|
|
1999
|
+
*
|
|
2000
|
+
* English: `Italic`
|
|
2001
|
+
*/
|
|
2002
|
+
italicLabel: Message
|
|
2003
|
+
/**
|
|
2004
|
+
* The Apply button's label in the address bar.
|
|
2005
|
+
*
|
|
2006
|
+
* English: `Apply link`
|
|
2007
|
+
*/
|
|
2008
|
+
linkApplyLabel: Message
|
|
2009
|
+
/**
|
|
2010
|
+
* The close button's label in the address bar.
|
|
2011
|
+
*
|
|
2012
|
+
* English: `Close`
|
|
2013
|
+
*/
|
|
2014
|
+
linkCloseLabel: Message
|
|
2015
|
+
/**
|
|
2016
|
+
* The name of the address bar's toolbar, read by screen readers.
|
|
2017
|
+
*
|
|
2018
|
+
* English: `Link controls`
|
|
2019
|
+
*/
|
|
2020
|
+
linkControlsLabel: Message
|
|
2021
|
+
/**
|
|
2022
|
+
* The address field's name, which it also shows while it is empty.
|
|
2023
|
+
*
|
|
2024
|
+
* English: `Address`
|
|
2025
|
+
*/
|
|
2026
|
+
linkFieldLabel: Message
|
|
2027
|
+
/**
|
|
2028
|
+
* The Link button's label, and the address bar's name.
|
|
2029
|
+
*
|
|
2030
|
+
* English: `Link`
|
|
2031
|
+
*/
|
|
2032
|
+
linkLabel: Message
|
|
2033
|
+
/**
|
|
2034
|
+
* The Remove button's label in the address bar.
|
|
2035
|
+
*
|
|
2036
|
+
* English: `Remove link`
|
|
2037
|
+
*/
|
|
2038
|
+
linkRemoveLabel: Message
|
|
2039
|
+
/**
|
|
2040
|
+
* The Numbered list button's label.
|
|
2041
|
+
*
|
|
2042
|
+
* English: `Numbered list`
|
|
2043
|
+
*/
|
|
2044
|
+
orderedListLabel: Message
|
|
2045
|
+
/**
|
|
2046
|
+
* The Paragraph row's label in the block menu.
|
|
2047
|
+
*
|
|
2048
|
+
* English: `Paragraph`
|
|
2049
|
+
*/
|
|
2050
|
+
paragraphLabel: Message
|
|
2051
|
+
/**
|
|
2052
|
+
* The Quote button's label.
|
|
2053
|
+
*
|
|
2054
|
+
* English: `Quote`
|
|
2055
|
+
*/
|
|
2056
|
+
quoteLabel: Message
|
|
2057
|
+
/**
|
|
2058
|
+
* The Redo button's label.
|
|
2059
|
+
*
|
|
2060
|
+
* English: `Redo`
|
|
2061
|
+
*/
|
|
2062
|
+
redoLabel: Message
|
|
2063
|
+
/**
|
|
2064
|
+
* The Strikethrough button's label.
|
|
2065
|
+
*
|
|
2066
|
+
* English: `Strikethrough`
|
|
2067
|
+
*/
|
|
2068
|
+
strikeLabel: Message
|
|
2069
|
+
/**
|
|
2070
|
+
* The Undo button's label.
|
|
2071
|
+
*
|
|
2072
|
+
* English: `Undo`
|
|
2073
|
+
*/
|
|
2074
|
+
undoLabel: Message
|
|
2075
|
+
}
|
|
1900
2076
|
'helix-file-input': {
|
|
1901
2077
|
/**
|
|
1902
2078
|
* What a reader hears when a drop or a paste adds files, with `{names}` and
|
|
@@ -1968,6 +2144,24 @@ declare module '@fusion.dev/helix-core' {
|
|
|
1968
2144
|
* English: `Show fewer`
|
|
1969
2145
|
*/
|
|
1970
2146
|
collapseLabel: Message
|
|
2147
|
+
/**
|
|
2148
|
+
* What a screen reader hears when the browser or the reader refuses the microphone.
|
|
2149
|
+
*
|
|
2150
|
+
* English: `Dictation needs the microphone`
|
|
2151
|
+
*/
|
|
2152
|
+
dictationDeniedLabel: Message
|
|
2153
|
+
/**
|
|
2154
|
+
* What a screen reader hears when listening ends with an error that has no label of its own.
|
|
2155
|
+
*
|
|
2156
|
+
* English: `Dictation stopped with an error`
|
|
2157
|
+
*/
|
|
2158
|
+
dictationFailedLabel: Message
|
|
2159
|
+
/**
|
|
2160
|
+
* What a screen reader hears when the recognizer cannot reach its speech service.
|
|
2161
|
+
*
|
|
2162
|
+
* English: `Dictation could not reach the speech service`
|
|
2163
|
+
*/
|
|
2164
|
+
dictationUnreachableLabel: Message
|
|
1971
2165
|
/**
|
|
1972
2166
|
* The count button's label, read by screen readers. Its visible text, such
|
|
1973
2167
|
* as `+3`, does not say what it does.
|
|
@@ -2470,6 +2664,24 @@ declare module '@fusion.dev/helix-core' {
|
|
|
2470
2664
|
* English: `Clear`
|
|
2471
2665
|
*/
|
|
2472
2666
|
clearLabel: Message
|
|
2667
|
+
/**
|
|
2668
|
+
* What a screen reader hears when the browser or the reader refuses the microphone.
|
|
2669
|
+
*
|
|
2670
|
+
* English: `Dictation needs the microphone`
|
|
2671
|
+
*/
|
|
2672
|
+
dictationDeniedLabel: Message
|
|
2673
|
+
/**
|
|
2674
|
+
* What a screen reader hears when listening ends with an error that has no label of its own.
|
|
2675
|
+
*
|
|
2676
|
+
* English: `Dictation stopped with an error`
|
|
2677
|
+
*/
|
|
2678
|
+
dictationFailedLabel: Message
|
|
2679
|
+
/**
|
|
2680
|
+
* What a screen reader hears when the recognizer cannot reach its speech service.
|
|
2681
|
+
*
|
|
2682
|
+
* English: `Dictation could not reach the speech service`
|
|
2683
|
+
*/
|
|
2684
|
+
dictationUnreachableLabel: Message
|
|
2473
2685
|
/**
|
|
2474
2686
|
* What a screen reader hears as listening starts.
|
|
2475
2687
|
*
|
|
@@ -2675,6 +2887,24 @@ declare module '@fusion.dev/helix-core' {
|
|
|
2675
2887
|
pickedUpLabel: Message
|
|
2676
2888
|
}
|
|
2677
2889
|
'helix-listbox': {
|
|
2890
|
+
/**
|
|
2891
|
+
* What a screen reader hears when the browser or the reader refuses the microphone.
|
|
2892
|
+
*
|
|
2893
|
+
* English: `Dictation needs the microphone`
|
|
2894
|
+
*/
|
|
2895
|
+
dictationDeniedLabel: Message
|
|
2896
|
+
/**
|
|
2897
|
+
* What a screen reader hears when listening ends with an error that has no label of its own.
|
|
2898
|
+
*
|
|
2899
|
+
* English: `Dictation stopped with an error`
|
|
2900
|
+
*/
|
|
2901
|
+
dictationFailedLabel: Message
|
|
2902
|
+
/**
|
|
2903
|
+
* What a screen reader hears when the recognizer cannot reach its speech service.
|
|
2904
|
+
*
|
|
2905
|
+
* English: `Dictation could not reach the speech service`
|
|
2906
|
+
*/
|
|
2907
|
+
dictationUnreachableLabel: Message
|
|
2678
2908
|
/**
|
|
2679
2909
|
* The text shown and announced when there are no rows and none are loading.
|
|
2680
2910
|
*
|
|
@@ -4835,6 +5065,24 @@ declare module '@fusion.dev/helix-core' {
|
|
|
4835
5065
|
* English: `Clear`
|
|
4836
5066
|
*/
|
|
4837
5067
|
clearLabel: Message
|
|
5068
|
+
/**
|
|
5069
|
+
* What a screen reader hears when the browser or the reader refuses the microphone.
|
|
5070
|
+
*
|
|
5071
|
+
* English: `Dictation needs the microphone`
|
|
5072
|
+
*/
|
|
5073
|
+
dictationDeniedLabel: Message
|
|
5074
|
+
/**
|
|
5075
|
+
* What a screen reader hears when listening ends with an error that has no label of its own.
|
|
5076
|
+
*
|
|
5077
|
+
* English: `Dictation stopped with an error`
|
|
5078
|
+
*/
|
|
5079
|
+
dictationFailedLabel: Message
|
|
5080
|
+
/**
|
|
5081
|
+
* What a screen reader hears when the recognizer cannot reach its speech service.
|
|
5082
|
+
*
|
|
5083
|
+
* English: `Dictation could not reach the speech service`
|
|
5084
|
+
*/
|
|
5085
|
+
dictationUnreachableLabel: Message
|
|
4838
5086
|
/**
|
|
4839
5087
|
* What a screen reader hears as listening starts.
|
|
4840
5088
|
*
|