@fusion.dev/helix 0.171.0 → 0.172.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/custom-elements.json +569 -27
- package/dist/chat/composer/chat-composer.css.js +1 -1
- package/dist/element-events.generated.js +1 -0
- package/lint.json +1 -1
- package/package.json +6 -6
- package/types/jsx.d.ts +194 -4
- package/types/vue.d.ts +52 -1
package/custom-elements.json
CHANGED
|
@@ -29320,6 +29320,14 @@
|
|
|
29320
29320
|
"module": "src/chat/composer/chat-composer.ts"
|
|
29321
29321
|
}
|
|
29322
29322
|
},
|
|
29323
|
+
{
|
|
29324
|
+
"description": "The `feedback` message, under the field while it is set.",
|
|
29325
|
+
"name": "feedback",
|
|
29326
|
+
"inheritedFrom": {
|
|
29327
|
+
"name": "HelixHeadlessChatComposer",
|
|
29328
|
+
"module": "src/chat/composer/chat-composer.ts"
|
|
29329
|
+
}
|
|
29330
|
+
},
|
|
29323
29331
|
{
|
|
29324
29332
|
"description": "The icon inside the send button.",
|
|
29325
29333
|
"name": "mark",
|
|
@@ -29384,6 +29392,20 @@
|
|
|
29384
29392
|
"module": "src/chat/composer/chat-composer.ts"
|
|
29385
29393
|
}
|
|
29386
29394
|
},
|
|
29395
|
+
{
|
|
29396
|
+
"kind": "field",
|
|
29397
|
+
"name": "feedback",
|
|
29398
|
+
"type": {
|
|
29399
|
+
"text": "string"
|
|
29400
|
+
},
|
|
29401
|
+
"default": "''",
|
|
29402
|
+
"description": "A message about the draft, shown under the field. While set, the composer\nis invalid, does not send, and does not submit, as a field's `feedback`\ndoes, and the message is announced as it appears.",
|
|
29403
|
+
"attribute": "feedback",
|
|
29404
|
+
"inheritedFrom": {
|
|
29405
|
+
"name": "HelixHeadlessChatComposer",
|
|
29406
|
+
"module": "src/chat/composer/chat-composer.ts"
|
|
29407
|
+
}
|
|
29408
|
+
},
|
|
29387
29409
|
{
|
|
29388
29410
|
"kind": "field",
|
|
29389
29411
|
"name": "label",
|
|
@@ -29556,6 +29578,20 @@
|
|
|
29556
29578
|
"module": "src/chat/composer/chat-composer.ts"
|
|
29557
29579
|
}
|
|
29558
29580
|
},
|
|
29581
|
+
{
|
|
29582
|
+
"kind": "field",
|
|
29583
|
+
"name": "edited",
|
|
29584
|
+
"type": {
|
|
29585
|
+
"text": "boolean"
|
|
29586
|
+
},
|
|
29587
|
+
"privacy": "private",
|
|
29588
|
+
"default": "false",
|
|
29589
|
+
"description": "Whether the reader has typed in the field since it last held a fresh\ndraft: since it rendered, since a send cleared it, or since a reset.\n\n**A send clears the field, and the field still sends `change` as it is\nleft**, because the platform compares the text with what it held when it\nwas focused. Measured in Chromium before this: a required composer sent\n\"hi\", cleared, and on Tab showed itself invalid over an empty draft\nnobody had written.",
|
|
29590
|
+
"inheritedFrom": {
|
|
29591
|
+
"name": "HelixHeadlessChatComposer",
|
|
29592
|
+
"module": "src/chat/composer/chat-composer.ts"
|
|
29593
|
+
}
|
|
29594
|
+
},
|
|
29559
29595
|
{
|
|
29560
29596
|
"kind": "field",
|
|
29561
29597
|
"name": "shownInvalid",
|
|
@@ -29677,6 +29713,17 @@
|
|
|
29677
29713
|
"module": "src/chat/composer/chat-composer.ts"
|
|
29678
29714
|
}
|
|
29679
29715
|
},
|
|
29716
|
+
{
|
|
29717
|
+
"kind": "field",
|
|
29718
|
+
"name": "handleChange",
|
|
29719
|
+
"privacy": "private",
|
|
29720
|
+
"readonly": true,
|
|
29721
|
+
"description": "The field's `change`, which counts only after the reader typed in it.",
|
|
29722
|
+
"inheritedFrom": {
|
|
29723
|
+
"name": "HelixHeadlessChatComposer",
|
|
29724
|
+
"module": "src/chat/composer/chat-composer.ts"
|
|
29725
|
+
}
|
|
29726
|
+
},
|
|
29680
29727
|
{
|
|
29681
29728
|
"kind": "method",
|
|
29682
29729
|
"name": "formStateRestoreCallback",
|
|
@@ -30597,6 +30644,19 @@
|
|
|
30597
30644
|
"tagName": "helix-chat-composer",
|
|
30598
30645
|
"customElement": true,
|
|
30599
30646
|
"attributes": [
|
|
30647
|
+
{
|
|
30648
|
+
"name": "feedback",
|
|
30649
|
+
"type": {
|
|
30650
|
+
"text": "string"
|
|
30651
|
+
},
|
|
30652
|
+
"default": "''",
|
|
30653
|
+
"description": "A message about the draft, shown under the field. While set, the composer\nis invalid, does not send, and does not submit, as a field's `feedback`\ndoes, and the message is announced as it appears.",
|
|
30654
|
+
"fieldName": "feedback",
|
|
30655
|
+
"inheritedFrom": {
|
|
30656
|
+
"name": "HelixHeadlessChatComposer",
|
|
30657
|
+
"module": "src/chat/composer/chat-composer.ts"
|
|
30658
|
+
}
|
|
30659
|
+
},
|
|
30600
30660
|
{
|
|
30601
30661
|
"name": "label",
|
|
30602
30662
|
"type": {
|
|
@@ -30792,7 +30852,7 @@
|
|
|
30792
30852
|
],
|
|
30793
30853
|
"cssStates": [
|
|
30794
30854
|
{
|
|
30795
|
-
"description": "The draft fails `required`, `minlength`, `maxlength`, or a custom error, and the reader has tried to send or submit it, or edited the field and left it.",
|
|
30855
|
+
"description": "The draft fails `required`, `minlength`, `maxlength`, or a custom error, and the reader has tried to send or submit it, or edited the field and left it. Or `feedback` is set.",
|
|
30796
30856
|
"name": "invalid",
|
|
30797
30857
|
"inheritedFrom": {
|
|
30798
30858
|
"name": "HelixHeadlessChatComposer",
|
|
@@ -33544,6 +33604,56 @@
|
|
|
33544
33604
|
"module": "src/chat/root/chat-root.ts"
|
|
33545
33605
|
}
|
|
33546
33606
|
},
|
|
33607
|
+
{
|
|
33608
|
+
"kind": "field",
|
|
33609
|
+
"name": "held",
|
|
33610
|
+
"type": {
|
|
33611
|
+
"text": "{ at: number; id: unknown } | undefined"
|
|
33612
|
+
},
|
|
33613
|
+
"privacy": "private",
|
|
33614
|
+
"description": "The turn focus is in, by its place and its identity, once a reader is in one.",
|
|
33615
|
+
"inheritedFrom": {
|
|
33616
|
+
"name": "HelixHeadlessChat",
|
|
33617
|
+
"module": "src/chat/root/chat-root.ts"
|
|
33618
|
+
}
|
|
33619
|
+
},
|
|
33620
|
+
{
|
|
33621
|
+
"kind": "field",
|
|
33622
|
+
"name": "handleFocusIn",
|
|
33623
|
+
"privacy": "private",
|
|
33624
|
+
"readonly": true,
|
|
33625
|
+
"description": "Notes the turn focus went into, or that it went somewhere else.",
|
|
33626
|
+
"inheritedFrom": {
|
|
33627
|
+
"name": "HelixHeadlessChat",
|
|
33628
|
+
"module": "src/chat/root/chat-root.ts"
|
|
33629
|
+
}
|
|
33630
|
+
},
|
|
33631
|
+
{
|
|
33632
|
+
"kind": "field",
|
|
33633
|
+
"name": "handleFocusOut",
|
|
33634
|
+
"privacy": "private",
|
|
33635
|
+
"readonly": true,
|
|
33636
|
+
"description": "Forgets the turn once focus moves to something outside the transcript.\nA move to nothing is kept, since removing the turn that held focus is\none.",
|
|
33637
|
+
"inheritedFrom": {
|
|
33638
|
+
"name": "HelixHeadlessChat",
|
|
33639
|
+
"module": "src/chat/root/chat-root.ts"
|
|
33640
|
+
}
|
|
33641
|
+
},
|
|
33642
|
+
{
|
|
33643
|
+
"kind": "method",
|
|
33644
|
+
"name": "followRemoved",
|
|
33645
|
+
"privacy": "private",
|
|
33646
|
+
"return": {
|
|
33647
|
+
"type": {
|
|
33648
|
+
"text": "void"
|
|
33649
|
+
}
|
|
33650
|
+
},
|
|
33651
|
+
"description": "Moves focus to a neighbor where removing the turn that held it dropped\nfocus to the body: the turn that took its place, or the one before it\nwhere it was the last.\n\n**Focus went to the body**, and Page Down did nothing until the reader\ntabbed back into the transcript. List and Virtual List move focus to a\nneighbor the same way, as React Aria's GridList does. Focus anywhere but\nthe body is where you put it, and is left there.",
|
|
33652
|
+
"inheritedFrom": {
|
|
33653
|
+
"name": "HelixHeadlessChat",
|
|
33654
|
+
"module": "src/chat/root/chat-root.ts"
|
|
33655
|
+
}
|
|
33656
|
+
},
|
|
33547
33657
|
{
|
|
33548
33658
|
"kind": "method",
|
|
33549
33659
|
"name": "tellTurns",
|
|
@@ -43194,6 +43304,31 @@
|
|
|
43194
43304
|
"module": "src/color-input/root/color-input-root.ts"
|
|
43195
43305
|
}
|
|
43196
43306
|
},
|
|
43307
|
+
{
|
|
43308
|
+
"kind": "field",
|
|
43309
|
+
"name": "pressedOpen",
|
|
43310
|
+
"type": {
|
|
43311
|
+
"text": "boolean"
|
|
43312
|
+
},
|
|
43313
|
+
"privacy": "private",
|
|
43314
|
+
"default": "false",
|
|
43315
|
+
"description": "Whether the trigger's press opened the panel that is open now.",
|
|
43316
|
+
"inheritedFrom": {
|
|
43317
|
+
"name": "HelixHeadlessColorInput",
|
|
43318
|
+
"module": "src/color-input/root/color-input-root.ts"
|
|
43319
|
+
}
|
|
43320
|
+
},
|
|
43321
|
+
{
|
|
43322
|
+
"kind": "field",
|
|
43323
|
+
"name": "handlePress",
|
|
43324
|
+
"privacy": "private",
|
|
43325
|
+
"readonly": true,
|
|
43326
|
+
"description": "The trigger's press, which notes that it opened the panel, so Escape hands\nfocus back to the trigger.",
|
|
43327
|
+
"inheritedFrom": {
|
|
43328
|
+
"name": "HelixHeadlessColorInput",
|
|
43329
|
+
"module": "src/color-input/root/color-input-root.ts"
|
|
43330
|
+
}
|
|
43331
|
+
},
|
|
43197
43332
|
{
|
|
43198
43333
|
"kind": "method",
|
|
43199
43334
|
"name": "renderPicker",
|
|
@@ -45249,7 +45384,7 @@
|
|
|
45249
45384
|
"text": "TemplateResult | typeof nothing"
|
|
45250
45385
|
}
|
|
45251
45386
|
},
|
|
45252
|
-
"description": "The `feedback` line, or nothing while there is none.",
|
|
45387
|
+
"description": "The `feedback` line, or nothing while there is none.\n\n`role=\"alert\"`, as a field's feedback line has, so the message is\nannounced when it appears and the label and hint are not read with it.",
|
|
45253
45388
|
"inheritedFrom": {
|
|
45254
45389
|
"name": "MixinPickerFeedback",
|
|
45255
45390
|
"module": "src/mixins/mixin-picker-feedback/mixin-picker-feedback.ts"
|
|
@@ -58073,7 +58208,7 @@
|
|
|
58073
58208
|
"text": "boolean"
|
|
58074
58209
|
},
|
|
58075
58210
|
"default": "false",
|
|
58076
|
-
"description": "Draws only the rows in view, with empty space in place of the rest.\n\n**Not a `mode`.** `mode` says where the rows come from and who filtered\nthem; this says how many of the ones we hold get drawn. They are\nindependent: a consumer fetching five thousand rows a chunk at a time wants\n`mode=\"server\"` and this at once, and folding this into `mode` would be an\nAPI that forbids that combination for no reason.\n\n**Composes with `paginated` rather than excluding it.** A window over a\npage is coherent -- the page is the slice of the result, the window is the\npart of that slice on screen -- and the arithmetic is the same either way,\nso there is nothing to forbid. Together they suit a table paging at a\nthousand rows, where the page is a reasonable fetch and a poor render.\n\nOff by default. Windowing costs a scroll listener, a measurement per row\ndrawn, and a `block-size` on the scrolling box, and a table of twenty rows\nshould pay none of them.",
|
|
58211
|
+
"description": "Draws only the rows in view, with empty space in place of the rest.\n\n**Not a `mode`.** `mode` says where the rows come from and who filtered\nthem; this says how many of the ones we hold get drawn. They are\nindependent: a consumer fetching five thousand rows a chunk at a time wants\n`mode=\"server\"` and this at once, and folding this into `mode` would be an\nAPI that forbids that combination for no reason.\n\n**Composes with `paginated` rather than excluding it.** A window over a\npage is coherent -- the page is the slice of the result, the window is the\npart of that slice on screen -- and the arithmetic is the same either way,\nso there is nothing to forbid. Together they suit a table paging at a\nthousand rows, where the page is a reasonable fetch and a poor render.\n\nOff by default. Windowing costs a scroll listener, a measurement per row\ndrawn, and a `block-size` on the scrolling box, and a table of twenty rows\nshould pay none of them.\n\nWhile windowed, the `table` part scrolls on this tier: it carries\n`data-scroller`, and `core` ships `[data-scroller] { overflow: auto }` into\nevery shadow root. You still need to give it a block size.",
|
|
58077
58212
|
"attribute": "windowed",
|
|
58078
58213
|
"reflects": true,
|
|
58079
58214
|
"inheritedFrom": {
|
|
@@ -61635,7 +61770,7 @@
|
|
|
61635
61770
|
"text": "boolean"
|
|
61636
61771
|
},
|
|
61637
61772
|
"default": "false",
|
|
61638
|
-
"description": "Draws only the rows in view, with empty space in place of the rest.\n\n**Not a `mode`.** `mode` says where the rows come from and who filtered\nthem; this says how many of the ones we hold get drawn. They are\nindependent: a consumer fetching five thousand rows a chunk at a time wants\n`mode=\"server\"` and this at once, and folding this into `mode` would be an\nAPI that forbids that combination for no reason.\n\n**Composes with `paginated` rather than excluding it.** A window over a\npage is coherent -- the page is the slice of the result, the window is the\npart of that slice on screen -- and the arithmetic is the same either way,\nso there is nothing to forbid. Together they suit a table paging at a\nthousand rows, where the page is a reasonable fetch and a poor render.\n\nOff by default. Windowing costs a scroll listener, a measurement per row\ndrawn, and a `block-size` on the scrolling box, and a table of twenty rows\nshould pay none of them.",
|
|
61773
|
+
"description": "Draws only the rows in view, with empty space in place of the rest.\n\n**Not a `mode`.** `mode` says where the rows come from and who filtered\nthem; this says how many of the ones we hold get drawn. They are\nindependent: a consumer fetching five thousand rows a chunk at a time wants\n`mode=\"server\"` and this at once, and folding this into `mode` would be an\nAPI that forbids that combination for no reason.\n\n**Composes with `paginated` rather than excluding it.** A window over a\npage is coherent -- the page is the slice of the result, the window is the\npart of that slice on screen -- and the arithmetic is the same either way,\nso there is nothing to forbid. Together they suit a table paging at a\nthousand rows, where the page is a reasonable fetch and a poor render.\n\nOff by default. Windowing costs a scroll listener, a measurement per row\ndrawn, and a `block-size` on the scrolling box, and a table of twenty rows\nshould pay none of them.\n\nWhile windowed, the `table` part scrolls on this tier: it carries\n`data-scroller`, and `core` ships `[data-scroller] { overflow: auto }` into\nevery shadow root. You still need to give it a block size.",
|
|
61639
61774
|
"fieldName": "windowed",
|
|
61640
61775
|
"inheritedFrom": {
|
|
61641
61776
|
"name": "HelixHeadlessDataTable",
|
|
@@ -67310,7 +67445,7 @@
|
|
|
67310
67445
|
"text": "TemplateResult | typeof nothing"
|
|
67311
67446
|
}
|
|
67312
67447
|
},
|
|
67313
|
-
"description": "The `feedback` line, or nothing while there is none.",
|
|
67448
|
+
"description": "The `feedback` line, or nothing while there is none.\n\n`role=\"alert\"`, as a field's feedback line has, so the message is\nannounced when it appears and the label and hint are not read with it.",
|
|
67314
67449
|
"inheritedFrom": {
|
|
67315
67450
|
"name": "MixinPickerFeedback",
|
|
67316
67451
|
"module": "src/mixins/mixin-picker-feedback/mixin-picker-feedback.ts"
|
|
@@ -72413,7 +72548,7 @@
|
|
|
72413
72548
|
"name": "commands",
|
|
72414
72549
|
"privacy": "protected",
|
|
72415
72550
|
"readonly": true,
|
|
72416
|
-
"default": "new CommandController(this, { commands: { '--close': () => this.close(), '--show': () => this.show(), '--toggle': () => this.toggleOpen(), }, })",
|
|
72551
|
+
"default": "new CommandController(this, { commands: { '--close': () => this.close(), '--show': () => this.show(), '--toggle': () => this.toggleOpen(), }, expanded: () => this.open, })",
|
|
72417
72552
|
"inheritedFrom": {
|
|
72418
72553
|
"name": "HelixHeadlessDialog",
|
|
72419
72554
|
"module": "src/dialog/root/dialog-root.ts"
|
|
@@ -75958,7 +76093,7 @@
|
|
|
75958
76093
|
"name": "commands",
|
|
75959
76094
|
"privacy": "protected",
|
|
75960
76095
|
"readonly": true,
|
|
75961
|
-
"default": "new CommandController(this, { commands: { '--close': () => this.requestOpen(false), '--show': () => this.requestOpen(true), '--toggle': () => this.toggleOpen(), }, })",
|
|
76096
|
+
"default": "new CommandController(this, { commands: { '--close': () => this.requestOpen(false), '--show': () => this.requestOpen(true), '--toggle': () => this.toggleOpen(), }, expanded: () => this.open, })",
|
|
75962
76097
|
"inheritedFrom": {
|
|
75963
76098
|
"name": "HelixHeadlessDrawer",
|
|
75964
76099
|
"module": "src/drawer/root/drawer-root.ts"
|
|
@@ -108625,7 +108760,7 @@
|
|
|
108625
108760
|
"name": "commands",
|
|
108626
108761
|
"privacy": "protected",
|
|
108627
108762
|
"readonly": true,
|
|
108628
|
-
"default": "new CommandController(this, { commands: { '--close': () => this.close(), '--fullscreen': () => this.toggleFullscreen(), '--next': () => this.next(), '--previous': () => this.previous(), '--show': () => this.show(), '--toggle': () => this.toggleOpen(), }, })",
|
|
108763
|
+
"default": "new CommandController(this, { commands: { '--close': () => this.close(), '--fullscreen': () => this.toggleFullscreen(), '--next': () => this.next(), '--previous': () => this.previous(), '--show': () => this.show(), '--toggle': () => this.toggleOpen(), }, expanded: () => this.open, })",
|
|
108629
108764
|
"inheritedFrom": {
|
|
108630
108765
|
"name": "HelixHeadlessLightbox",
|
|
108631
108766
|
"module": "src/lightbox/root/lightbox-root.ts"
|
|
@@ -116567,7 +116702,7 @@
|
|
|
116567
116702
|
}
|
|
116568
116703
|
}
|
|
116569
116704
|
],
|
|
116570
|
-
"description": "Says how many options a filter left, in the live region.\n\n**A reader typing into a filter cannot see the list narrow**, and React\nAria and Web Awesome both say the count as it changes. Only \"No matches\"\nwas said here, so a query that left forty options and one that left one\nsounded the same. Said when the filter changes and the count with it, so\na keystroke that leaves the same options says nothing new. An empty filter\nsays nothing, being the list as it was given; no matches is `empty-text`,\nwhich the region says in place of this.",
|
|
116705
|
+
"description": "Says how many options a filter left, in the live region.\n\n**A reader typing into a filter cannot see the list narrow**, and React\nAria and Web Awesome both say the count as it changes. Only \"No matches\"\nwas said here, so a query that left forty options and one that left one\nsounded the same. Said when the filter changes and the count with it, so\na keystroke that leaves the same options says nothing new. An empty filter\nsays nothing, being the list as it was given; no matches is `empty-text`,\nwhich the region says in place of this. A load that ends says the count\ntoo, whatever the filter.",
|
|
116571
116706
|
"inheritedFrom": {
|
|
116572
116707
|
"name": "HelixHeadlessListbox",
|
|
116573
116708
|
"module": "src/listbox/root/listbox-root.ts"
|
|
@@ -133654,6 +133789,22 @@
|
|
|
133654
133789
|
"module": "src/menu/item/menu-item.ts"
|
|
133655
133790
|
}
|
|
133656
133791
|
},
|
|
133792
|
+
{
|
|
133793
|
+
"description": "The row is disabled.",
|
|
133794
|
+
"name": "disabled",
|
|
133795
|
+
"inheritedFrom": {
|
|
133796
|
+
"name": "HelixHeadlessMenuItem",
|
|
133797
|
+
"module": "src/menu/item/menu-item.ts"
|
|
133798
|
+
}
|
|
133799
|
+
},
|
|
133800
|
+
{
|
|
133801
|
+
"description": "Under `submenus=\"flyout\"`, the row's submenu is open beside it.",
|
|
133802
|
+
"name": "expanded",
|
|
133803
|
+
"inheritedFrom": {
|
|
133804
|
+
"name": "HelixHeadlessMenuItem",
|
|
133805
|
+
"module": "src/menu/item/menu-item.ts"
|
|
133806
|
+
}
|
|
133807
|
+
},
|
|
133657
133808
|
{
|
|
133658
133809
|
"description": "In a menu with `filterable`, the arrow keys or the pointer reached the row while focus stays in the filter field.",
|
|
133659
133810
|
"name": "highlighted",
|
|
@@ -134413,6 +134564,20 @@
|
|
|
134413
134564
|
"module": "src/menu/root/menu-root.ts"
|
|
134414
134565
|
}
|
|
134415
134566
|
},
|
|
134567
|
+
{
|
|
134568
|
+
"kind": "field",
|
|
134569
|
+
"name": "openOn",
|
|
134570
|
+
"type": {
|
|
134571
|
+
"text": "'click' | 'long-press'"
|
|
134572
|
+
},
|
|
134573
|
+
"default": "'click'",
|
|
134574
|
+
"description": "What opens the menu from its trigger. `long-press` leaves a press to the\ntrigger's own action and opens the menu on a press held for half a second,\nor on Alt+Down or Alt+Up.",
|
|
134575
|
+
"attribute": "open-on",
|
|
134576
|
+
"inheritedFrom": {
|
|
134577
|
+
"name": "HelixHeadlessMenu",
|
|
134578
|
+
"module": "src/menu/root/menu-root.ts"
|
|
134579
|
+
}
|
|
134580
|
+
},
|
|
134416
134581
|
{
|
|
134417
134582
|
"kind": "field",
|
|
134418
134583
|
"name": "pressHeld",
|
|
@@ -134454,13 +134619,13 @@
|
|
|
134454
134619
|
},
|
|
134455
134620
|
{
|
|
134456
134621
|
"kind": "field",
|
|
134457
|
-
"name": "
|
|
134622
|
+
"name": "placement",
|
|
134458
134623
|
"type": {
|
|
134459
|
-
"text": "'
|
|
134624
|
+
"text": "'bottom' | 'bottom-end' | 'bottom-start' | 'left' | 'left-end' | 'left-start' | 'right' | 'right-end' | 'right-start' | 'top' | 'top-end' | 'top-start'"
|
|
134460
134625
|
},
|
|
134461
|
-
"default": "'
|
|
134462
|
-
"description": "
|
|
134463
|
-
"attribute": "
|
|
134626
|
+
"default": "'bottom-start'",
|
|
134627
|
+
"description": "The side the menu opens on, when there is room.\n\nIt moves if that side does not fit.",
|
|
134628
|
+
"attribute": "placement",
|
|
134464
134629
|
"inheritedFrom": {
|
|
134465
134630
|
"name": "HelixHeadlessMenu",
|
|
134466
134631
|
"module": "src/menu/root/menu-root.ts"
|
|
@@ -134468,13 +134633,16 @@
|
|
|
134468
134633
|
},
|
|
134469
134634
|
{
|
|
134470
134635
|
"kind": "field",
|
|
134471
|
-
"name": "
|
|
134636
|
+
"name": "resultsLabel",
|
|
134472
134637
|
"type": {
|
|
134473
|
-
"text": "
|
|
134638
|
+
"text": "string"
|
|
134639
|
+
},
|
|
134640
|
+
"default": "'{count, plural, one {# result} other {# results}}'",
|
|
134641
|
+
"description": "What a screen reader hears when the filter narrows the rows. `{count}` is\nhow many rows are left, written in the locale, and each language writes\nthe forms it has, as Listbox's `results-label` does.",
|
|
134642
|
+
"attribute": "results-label",
|
|
134643
|
+
"helix": {
|
|
134644
|
+
"words": true
|
|
134474
134645
|
},
|
|
134475
|
-
"default": "'bottom-start'",
|
|
134476
|
-
"description": "The side the menu opens on, when there is room.\n\nIt moves if that side does not fit.",
|
|
134477
|
-
"attribute": "placement",
|
|
134478
134646
|
"inheritedFrom": {
|
|
134479
134647
|
"name": "HelixHeadlessMenu",
|
|
134480
134648
|
"module": "src/menu/root/menu-root.ts"
|
|
@@ -134518,6 +134686,17 @@
|
|
|
134518
134686
|
"module": "src/menu/root/menu-root.ts"
|
|
134519
134687
|
}
|
|
134520
134688
|
},
|
|
134689
|
+
{
|
|
134690
|
+
"kind": "field",
|
|
134691
|
+
"name": "phases",
|
|
134692
|
+
"privacy": "protected",
|
|
134693
|
+
"readonly": true,
|
|
134694
|
+
"default": "new OpenPhaseController(this, { mark: { entering: (on) => this.toggleState('entering', on), exiting: (on) => this.toggleState('exiting', on), }, open: () => this.open, surface: () => this.partNamed('surface'), })",
|
|
134695
|
+
"inheritedFrom": {
|
|
134696
|
+
"name": "HelixHeadlessMenu",
|
|
134697
|
+
"module": "src/menu/root/menu-root.ts"
|
|
134698
|
+
}
|
|
134699
|
+
},
|
|
134521
134700
|
{
|
|
134522
134701
|
"kind": "field",
|
|
134523
134702
|
"name": "aria",
|
|
@@ -134821,6 +135000,30 @@
|
|
|
134821
135000
|
"module": "src/menu/root/menu-root.ts"
|
|
134822
135001
|
}
|
|
134823
135002
|
},
|
|
135003
|
+
{
|
|
135004
|
+
"kind": "field",
|
|
135005
|
+
"name": "rowWatch",
|
|
135006
|
+
"type": {
|
|
135007
|
+
"text": "MutationObserver | undefined"
|
|
135008
|
+
},
|
|
135009
|
+
"privacy": "private",
|
|
135010
|
+
"description": "Watches for rows taken away while the menu is open.",
|
|
135011
|
+
"inheritedFrom": {
|
|
135012
|
+
"name": "HelixHeadlessMenu",
|
|
135013
|
+
"module": "src/menu/root/menu-root.ts"
|
|
135014
|
+
}
|
|
135015
|
+
},
|
|
135016
|
+
{
|
|
135017
|
+
"kind": "field",
|
|
135018
|
+
"name": "followRemoved",
|
|
135019
|
+
"privacy": "private",
|
|
135020
|
+
"readonly": true,
|
|
135021
|
+
"description": "Moves the reader to a neighbor when the page takes away the row they were\non: the row that took its place, or the one before it where it was the\nlast. A menu with no rows left closes and gives focus to its trigger.\n\n**Focus went to the body**, and the menu then ignored every key, its\nlistener being on the host: measured in Chromium, removing the focused\nrow and pressing ArrowUp did nothing. List and Virtual List move focus to\na neighbor the same way, as React Aria's collections do. With `filterable`,\nfocus stays in the field and the highlight moves. Focus a reader put\nanywhere but the body is left there.",
|
|
135022
|
+
"inheritedFrom": {
|
|
135023
|
+
"name": "HelixHeadlessMenu",
|
|
135024
|
+
"module": "src/menu/root/menu-root.ts"
|
|
135025
|
+
}
|
|
135026
|
+
},
|
|
134824
135027
|
{
|
|
134825
135028
|
"kind": "method",
|
|
134826
135029
|
"name": "show",
|
|
@@ -134950,6 +135153,60 @@
|
|
|
134950
135153
|
"module": "src/menu/root/menu-root.ts"
|
|
134951
135154
|
}
|
|
134952
135155
|
},
|
|
135156
|
+
{
|
|
135157
|
+
"kind": "field",
|
|
135158
|
+
"name": "choiceRows",
|
|
135159
|
+
"type": {
|
|
135160
|
+
"text": "HelixHeadlessMenuItem[]"
|
|
135161
|
+
},
|
|
135162
|
+
"privacy": "private",
|
|
135163
|
+
"description": "The choice rows anywhere in the menu, in document order.",
|
|
135164
|
+
"readonly": true,
|
|
135165
|
+
"inheritedFrom": {
|
|
135166
|
+
"name": "HelixHeadlessMenu",
|
|
135167
|
+
"module": "src/menu/root/menu-root.ts"
|
|
135168
|
+
}
|
|
135169
|
+
},
|
|
135170
|
+
{
|
|
135171
|
+
"kind": "field",
|
|
135172
|
+
"name": "checkedValues",
|
|
135173
|
+
"type": {
|
|
135174
|
+
"text": "string[]"
|
|
135175
|
+
},
|
|
135176
|
+
"description": "The values of the choice rows that are checked, anywhere in the menu, in\ndocument order.\n\nSet it to check exactly those rows and uncheck every other choice row, as\nReact Aria's `selectedKeys` controls a menu's selection from one place.\nEach row keeps its own `checked` too, which this reads and writes. `change`\nis sent on the menu when a reader's choice changes it.",
|
|
135177
|
+
"inheritedFrom": {
|
|
135178
|
+
"name": "HelixHeadlessMenu",
|
|
135179
|
+
"module": "src/menu/root/menu-root.ts"
|
|
135180
|
+
}
|
|
135181
|
+
},
|
|
135182
|
+
{
|
|
135183
|
+
"kind": "field",
|
|
135184
|
+
"name": "toldChecked",
|
|
135185
|
+
"type": {
|
|
135186
|
+
"text": "string | undefined"
|
|
135187
|
+
},
|
|
135188
|
+
"privacy": "private",
|
|
135189
|
+
"description": "The checked values `change` last said, joined, so a choice that moved nothing says nothing.",
|
|
135190
|
+
"inheritedFrom": {
|
|
135191
|
+
"name": "HelixHeadlessMenu",
|
|
135192
|
+
"module": "src/menu/root/menu-root.ts"
|
|
135193
|
+
}
|
|
135194
|
+
},
|
|
135195
|
+
{
|
|
135196
|
+
"kind": "method",
|
|
135197
|
+
"name": "tellChecked",
|
|
135198
|
+
"privacy": "private",
|
|
135199
|
+
"return": {
|
|
135200
|
+
"type": {
|
|
135201
|
+
"text": "void"
|
|
135202
|
+
}
|
|
135203
|
+
},
|
|
135204
|
+
"description": "Sends `change` when a reader's choice has changed which rows are checked.",
|
|
135205
|
+
"inheritedFrom": {
|
|
135206
|
+
"name": "HelixHeadlessMenu",
|
|
135207
|
+
"module": "src/menu/root/menu-root.ts"
|
|
135208
|
+
}
|
|
135209
|
+
},
|
|
134953
135210
|
{
|
|
134954
135211
|
"kind": "field",
|
|
134955
135212
|
"name": "handleSelect",
|
|
@@ -135226,7 +135483,7 @@
|
|
|
135226
135483
|
"name": "handleHover",
|
|
135227
135484
|
"privacy": "private",
|
|
135228
135485
|
"readonly": true,
|
|
135229
|
-
"description": "A mouse resting on a row
|
|
135486
|
+
"description": "A mouse resting on a row: focus follows it, and under `flyout`, after a\nmoment, the row's submenu opens, or the submenus below the row's own page\nclose. Not while the pointer is crossing toward an open submenu.\n\n**In every mode**, as the APG's menus, React Aria's and Radix's have it.\nUnder `drill` the pointer did not move focus, so the row under the\npointer and the row the keys moved from were two rows, measured in\nChromium: hovering Delete left focus on Cut.",
|
|
135230
135487
|
"inheritedFrom": {
|
|
135231
135488
|
"name": "HelixHeadlessMenu",
|
|
135232
135489
|
"module": "src/menu/root/menu-root.ts"
|
|
@@ -135266,6 +135523,20 @@
|
|
|
135266
135523
|
"module": "src/menu/root/menu-root.ts"
|
|
135267
135524
|
}
|
|
135268
135525
|
},
|
|
135526
|
+
{
|
|
135527
|
+
"kind": "field",
|
|
135528
|
+
"name": "namedByPage",
|
|
135529
|
+
"type": {
|
|
135530
|
+
"text": "boolean"
|
|
135531
|
+
},
|
|
135532
|
+
"privacy": "private",
|
|
135533
|
+
"default": "false",
|
|
135534
|
+
"description": "Whether the surface is named by a submenu's page, which `nameSurface` undoes at the top.",
|
|
135535
|
+
"inheritedFrom": {
|
|
135536
|
+
"name": "HelixHeadlessMenu",
|
|
135537
|
+
"module": "src/menu/root/menu-root.ts"
|
|
135538
|
+
}
|
|
135539
|
+
},
|
|
135269
135540
|
{
|
|
135270
135541
|
"kind": "method",
|
|
135271
135542
|
"name": "nameSurface",
|
|
@@ -135275,7 +135546,7 @@
|
|
|
135275
135546
|
"text": "void"
|
|
135276
135547
|
}
|
|
135277
135548
|
},
|
|
135278
|
-
"description": "Names the surface by its trigger, where nothing else names it.\n\nBy element reference, which is the one direction that crosses: the surface\nis in this shadow root and the trigger is in the tree around it. A host\n`aria-labelledby` is carried down by `aria`, and a host `aria-label` or\n`label` is a name of its own, so each of them clears this reference.",
|
|
135549
|
+
"description": "Names the surface by its trigger, where nothing else names it, and a\nsubmenu's page by its title.\n\nBy element reference, which is the one direction that crosses: the surface\nis in this shadow root and the trigger is in the tree around it. A host\n`aria-labelledby` is carried down by `aria`, and a host `aria-label` or\n`label` is a name of its own, so each of them clears this reference.",
|
|
135279
135550
|
"inheritedFrom": {
|
|
135280
135551
|
"name": "HelixHeadlessMenu",
|
|
135281
135552
|
"module": "src/menu/root/menu-root.ts"
|
|
@@ -135950,6 +136221,19 @@
|
|
|
135950
136221
|
"module": "src/menu/root/menu-root.ts"
|
|
135951
136222
|
}
|
|
135952
136223
|
},
|
|
136224
|
+
{
|
|
136225
|
+
"name": "results-label",
|
|
136226
|
+
"type": {
|
|
136227
|
+
"text": "string"
|
|
136228
|
+
},
|
|
136229
|
+
"default": "'{count, plural, one {# result} other {# results}}'",
|
|
136230
|
+
"description": "What a screen reader hears when the filter narrows the rows. `{count}` is\nhow many rows are left, written in the locale, and each language writes\nthe forms it has, as Listbox's `results-label` does.",
|
|
136231
|
+
"fieldName": "resultsLabel",
|
|
136232
|
+
"inheritedFrom": {
|
|
136233
|
+
"name": "HelixHeadlessMenu",
|
|
136234
|
+
"module": "src/menu/root/menu-root.ts"
|
|
136235
|
+
}
|
|
136236
|
+
},
|
|
135953
136237
|
{
|
|
135954
136238
|
"name": "submenus",
|
|
135955
136239
|
"type": {
|
|
@@ -135977,6 +136261,18 @@
|
|
|
135977
136261
|
},
|
|
135978
136262
|
"reactProp": "ontoggle"
|
|
135979
136263
|
},
|
|
136264
|
+
{
|
|
136265
|
+
"type": {
|
|
136266
|
+
"text": "Event"
|
|
136267
|
+
},
|
|
136268
|
+
"description": "A reader's choice checked or unchecked rows. Read `checkedValues` for the rows that are checked now.",
|
|
136269
|
+
"name": "change",
|
|
136270
|
+
"reactProp": "onchange",
|
|
136271
|
+
"inheritedFrom": {
|
|
136272
|
+
"name": "HelixHeadlessMenu",
|
|
136273
|
+
"module": "src/menu/root/menu-root.ts"
|
|
136274
|
+
}
|
|
136275
|
+
},
|
|
135980
136276
|
{
|
|
135981
136277
|
"type": {
|
|
135982
136278
|
"text": "HelixBeforeCloseEvent"
|
|
@@ -136035,6 +136331,22 @@
|
|
|
136035
136331
|
"module": "src/menu/root/menu-root.ts"
|
|
136036
136332
|
}
|
|
136037
136333
|
},
|
|
136334
|
+
{
|
|
136335
|
+
"description": "What the menu shows when it has no items, for content richer than `empty-text`.",
|
|
136336
|
+
"name": "empty",
|
|
136337
|
+
"inheritedFrom": {
|
|
136338
|
+
"name": "HelixHeadlessMenu",
|
|
136339
|
+
"module": "src/menu/root/menu-root.ts"
|
|
136340
|
+
}
|
|
136341
|
+
},
|
|
136342
|
+
{
|
|
136343
|
+
"description": "What the menu shows while its items load, for content richer than `loading-text`.",
|
|
136344
|
+
"name": "loading",
|
|
136345
|
+
"inheritedFrom": {
|
|
136346
|
+
"name": "HelixHeadlessMenu",
|
|
136347
|
+
"module": "src/menu/root/menu-root.ts"
|
|
136348
|
+
}
|
|
136349
|
+
},
|
|
136038
136350
|
{
|
|
136039
136351
|
"description": "What the menu shows when the filter keeps no rows, for content richer than `no-results-text`.",
|
|
136040
136352
|
"name": "no-results",
|
|
@@ -136135,6 +136447,22 @@
|
|
|
136135
136447
|
"module": "src/menu/root/menu-root.ts"
|
|
136136
136448
|
}
|
|
136137
136449
|
},
|
|
136450
|
+
{
|
|
136451
|
+
"description": "From the moment the panel shows until its entrance has finished.",
|
|
136452
|
+
"name": "entering",
|
|
136453
|
+
"inheritedFrom": {
|
|
136454
|
+
"name": "HelixHeadlessMenu",
|
|
136455
|
+
"module": "src/menu/root/menu-root.ts"
|
|
136456
|
+
}
|
|
136457
|
+
},
|
|
136458
|
+
{
|
|
136459
|
+
"description": "From the moment the panel hides until its exit has finished.",
|
|
136460
|
+
"name": "exiting",
|
|
136461
|
+
"inheritedFrom": {
|
|
136462
|
+
"name": "HelixHeadlessMenu",
|
|
136463
|
+
"module": "src/menu/root/menu-root.ts"
|
|
136464
|
+
}
|
|
136465
|
+
},
|
|
136138
136466
|
{
|
|
136139
136467
|
"description": "A row on the current page has a checkbox or a link, so every row keeps the trailing column.",
|
|
136140
136468
|
"name": "mark",
|
|
@@ -159036,6 +159364,20 @@
|
|
|
159036
159364
|
"module": "src/popover/root/popover-root.ts"
|
|
159037
159365
|
}
|
|
159038
159366
|
},
|
|
159367
|
+
{
|
|
159368
|
+
"kind": "field",
|
|
159369
|
+
"name": "anchor",
|
|
159370
|
+
"type": {
|
|
159371
|
+
"text": "Element | string"
|
|
159372
|
+
},
|
|
159373
|
+
"default": "''",
|
|
159374
|
+
"description": "The element the panel opens against, where that is not the trigger: its\n`id` in the same document or shadow root, or the element itself. Left\nempty, the panel opens against the trigger, or against the button whose\ncommand opened it.",
|
|
159375
|
+
"attribute": "anchor",
|
|
159376
|
+
"inheritedFrom": {
|
|
159377
|
+
"name": "HelixHeadlessPopover",
|
|
159378
|
+
"module": "src/popover/root/popover-root.ts"
|
|
159379
|
+
}
|
|
159380
|
+
},
|
|
159039
159381
|
{
|
|
159040
159382
|
"kind": "field",
|
|
159041
159383
|
"name": "arrow",
|
|
@@ -159050,6 +159392,33 @@
|
|
|
159050
159392
|
"module": "src/popover/root/popover-root.ts"
|
|
159051
159393
|
}
|
|
159052
159394
|
},
|
|
159395
|
+
{
|
|
159396
|
+
"kind": "field",
|
|
159397
|
+
"name": "containerPadding",
|
|
159398
|
+
"type": {
|
|
159399
|
+
"text": "number | undefined"
|
|
159400
|
+
},
|
|
159401
|
+
"description": "How close to the window's edges the panel may come, in pixels, when it\nslides, shrinks or moves to the other side to fit. Left unset, it slides\nand shrinks to 8 pixels from an edge and moves to the other side only\nonce it would cross one.",
|
|
159402
|
+
"attribute": "container-padding",
|
|
159403
|
+
"inheritedFrom": {
|
|
159404
|
+
"name": "HelixHeadlessPopover",
|
|
159405
|
+
"module": "src/popover/root/popover-root.ts"
|
|
159406
|
+
}
|
|
159407
|
+
},
|
|
159408
|
+
{
|
|
159409
|
+
"kind": "field",
|
|
159410
|
+
"name": "crossOffset",
|
|
159411
|
+
"type": {
|
|
159412
|
+
"text": "number"
|
|
159413
|
+
},
|
|
159414
|
+
"default": "0",
|
|
159415
|
+
"description": "How far to slide the panel along the side it is on, in pixels: to the\nright on the top or the bottom, and down on the left or the right.",
|
|
159416
|
+
"attribute": "cross-offset",
|
|
159417
|
+
"inheritedFrom": {
|
|
159418
|
+
"name": "HelixHeadlessPopover",
|
|
159419
|
+
"module": "src/popover/root/popover-root.ts"
|
|
159420
|
+
}
|
|
159421
|
+
},
|
|
159053
159422
|
{
|
|
159054
159423
|
"kind": "field",
|
|
159055
159424
|
"name": "fallbackLabel",
|
|
@@ -159067,6 +159436,20 @@
|
|
|
159067
159436
|
"module": "src/popover/root/popover-root.ts"
|
|
159068
159437
|
}
|
|
159069
159438
|
},
|
|
159439
|
+
{
|
|
159440
|
+
"kind": "field",
|
|
159441
|
+
"name": "flip",
|
|
159442
|
+
"type": {
|
|
159443
|
+
"text": "boolean"
|
|
159444
|
+
},
|
|
159445
|
+
"default": "true",
|
|
159446
|
+
"description": "Whether the panel moves to the other side of the trigger when its own\nside has no room. On by default. Write `flip=\"false\"` to keep it on its\nside, where it shrinks to fit, as React Aria's `shouldFlip` turns off.",
|
|
159447
|
+
"attribute": "flip",
|
|
159448
|
+
"inheritedFrom": {
|
|
159449
|
+
"name": "HelixHeadlessPopover",
|
|
159450
|
+
"module": "src/popover/root/popover-root.ts"
|
|
159451
|
+
}
|
|
159452
|
+
},
|
|
159070
159453
|
{
|
|
159071
159454
|
"kind": "field",
|
|
159072
159455
|
"name": "label",
|
|
@@ -159150,7 +159533,7 @@
|
|
|
159150
159533
|
"name": "panel",
|
|
159151
159534
|
"privacy": "private",
|
|
159152
159535
|
"readonly": true,
|
|
159153
|
-
"default": "new PopoverController(this, { anchor: () => this.
|
|
159536
|
+
"default": "new PopoverController(this, { anchor: () => this.placedAgainst, arrow: () => this.partNamed('arrow'), /* The host *and* whatever invoked it, never the panel alone. An outside press is measured against this, and the host is not a box to rely on, a sheet being free to give it none, so a boundary of the panel alone would close on the very press that opened it. A `--toggle` button outside the host is part of the control by any reading a reader would give it: pressing it while the panel is open should close it once, not close it on `pointerdown` and reopen it on the `click` that follows. */ boundary: (): (HTMLElement | undefined)[] => [this, this.invoker], crossOffset: () => this.crossOffset, flip: () => this.flip, /* Measured to the point where there is one, as `Tooltip` measures it: the arrow is a square turned on its center, which reaches `n / sqrt(2)` past the edge it sits on. */ offset: () => this.offset + arrowReach(this.partNamed('arrow')), onDismiss: () => this.dismiss(), /* The side the panel landed on, for a sheet outside that draws by side, where no attribute can follow `::part()`. As `Tooltip` records it. */ onPlace: (placement) => { const side = sideOf(placement) this.toggleState('aligned-end', placement.endsWith('-end')) this.toggleState('aligned-start', placement.endsWith('-start')) this.toggleState('placed-bottom', side === 'bottom') this.toggleState('placed-left', side === 'left') this.toggleState('placed-right', side === 'right') this.toggleState('placed-top', side === 'top') this.side = side }, open: () => this.open, padding: () => this.containerPadding, placement: () => this.placement, surface: () => this.partNamed('popover'), })",
|
|
159154
159537
|
"inheritedFrom": {
|
|
159155
159538
|
"name": "HelixHeadlessPopover",
|
|
159156
159539
|
"module": "src/popover/root/popover-root.ts"
|
|
@@ -159241,7 +159624,7 @@
|
|
|
159241
159624
|
"name": "commands",
|
|
159242
159625
|
"privacy": "protected",
|
|
159243
159626
|
"readonly": true,
|
|
159244
|
-
"default": "new CommandController(this, { commands: { '--close': () => this.hide(), '--show': (source: Element | null) => { this.invoker = source instanceof HTMLElement ? source : undefined this.show() }, '--toggle': (source: Element | null) => { this.invoker = source instanceof HTMLElement ? source : undefined if (this.open) { this.hide() } else { this.show() } }, }, })",
|
|
159627
|
+
"default": "new CommandController(this, { commands: { '--close': () => this.hide(), '--show': (source: Element | null) => { this.invoker = source instanceof HTMLElement ? source : undefined this.show() }, '--toggle': (source: Element | null) => { this.invoker = source instanceof HTMLElement ? source : undefined if (this.open) { this.hide() } else { this.show() } }, }, expanded: () => this.open, })",
|
|
159245
159628
|
"inheritedFrom": {
|
|
159246
159629
|
"name": "HelixHeadlessPopover",
|
|
159247
159630
|
"module": "src/popover/root/popover-root.ts"
|
|
@@ -159249,7 +159632,7 @@
|
|
|
159249
159632
|
},
|
|
159250
159633
|
{
|
|
159251
159634
|
"kind": "field",
|
|
159252
|
-
"name": "
|
|
159635
|
+
"name": "placedAgainst",
|
|
159253
159636
|
"type": {
|
|
159254
159637
|
"text": "HTMLElement"
|
|
159255
159638
|
},
|
|
@@ -159261,6 +159644,35 @@
|
|
|
159261
159644
|
"module": "src/popover/root/popover-root.ts"
|
|
159262
159645
|
}
|
|
159263
159646
|
},
|
|
159647
|
+
{
|
|
159648
|
+
"kind": "field",
|
|
159649
|
+
"name": "trigger",
|
|
159650
|
+
"type": {
|
|
159651
|
+
"text": "HTMLElement"
|
|
159652
|
+
},
|
|
159653
|
+
"privacy": "private",
|
|
159654
|
+
"description": "The element that opened the panel, which focus goes back to.",
|
|
159655
|
+
"readonly": true,
|
|
159656
|
+
"inheritedFrom": {
|
|
159657
|
+
"name": "HelixHeadlessPopover",
|
|
159658
|
+
"module": "src/popover/root/popover-root.ts"
|
|
159659
|
+
}
|
|
159660
|
+
},
|
|
159661
|
+
{
|
|
159662
|
+
"kind": "method",
|
|
159663
|
+
"name": "dismiss",
|
|
159664
|
+
"privacy": "private",
|
|
159665
|
+
"return": {
|
|
159666
|
+
"type": {
|
|
159667
|
+
"text": "void"
|
|
159668
|
+
}
|
|
159669
|
+
},
|
|
159670
|
+
"description": "A press outside, or Escape, closing the panel.\n\n**Focus goes back to the trigger where the press put it nowhere.** The\npress is heard on `pointerdown`, and the browser moves focus a moment\nlater: onto what was pressed where that takes focus, and to the body where\nit does not. A popover dismissed by a press on text was left with focus on\nthe body, measured in Chromium, where React Aria's returns it to the\ntrigger. Read after the press, once the browser has moved it.",
|
|
159671
|
+
"inheritedFrom": {
|
|
159672
|
+
"name": "HelixHeadlessPopover",
|
|
159673
|
+
"module": "src/popover/root/popover-root.ts"
|
|
159674
|
+
}
|
|
159675
|
+
},
|
|
159264
159676
|
{
|
|
159265
159677
|
"kind": "method",
|
|
159266
159678
|
"name": "show",
|
|
@@ -159836,6 +160248,19 @@
|
|
|
159836
160248
|
"module": "src/mixins/mixin-controller-open/mixin-controller-open.ts"
|
|
159837
160249
|
}
|
|
159838
160250
|
},
|
|
160251
|
+
{
|
|
160252
|
+
"name": "anchor",
|
|
160253
|
+
"type": {
|
|
160254
|
+
"text": "Element | string"
|
|
160255
|
+
},
|
|
160256
|
+
"default": "''",
|
|
160257
|
+
"description": "The element the panel opens against, where that is not the trigger: its\n`id` in the same document or shadow root, or the element itself. Left\nempty, the panel opens against the trigger, or against the button whose\ncommand opened it.",
|
|
160258
|
+
"fieldName": "anchor",
|
|
160259
|
+
"inheritedFrom": {
|
|
160260
|
+
"name": "HelixHeadlessPopover",
|
|
160261
|
+
"module": "src/popover/root/popover-root.ts"
|
|
160262
|
+
}
|
|
160263
|
+
},
|
|
159839
160264
|
{
|
|
159840
160265
|
"name": "arrow",
|
|
159841
160266
|
"type": {
|
|
@@ -159849,6 +160274,31 @@
|
|
|
159849
160274
|
"module": "src/popover/root/popover-root.ts"
|
|
159850
160275
|
}
|
|
159851
160276
|
},
|
|
160277
|
+
{
|
|
160278
|
+
"name": "container-padding",
|
|
160279
|
+
"type": {
|
|
160280
|
+
"text": "number | undefined"
|
|
160281
|
+
},
|
|
160282
|
+
"description": "How close to the window's edges the panel may come, in pixels, when it\nslides, shrinks or moves to the other side to fit. Left unset, it slides\nand shrinks to 8 pixels from an edge and moves to the other side only\nonce it would cross one.",
|
|
160283
|
+
"fieldName": "containerPadding",
|
|
160284
|
+
"inheritedFrom": {
|
|
160285
|
+
"name": "HelixHeadlessPopover",
|
|
160286
|
+
"module": "src/popover/root/popover-root.ts"
|
|
160287
|
+
}
|
|
160288
|
+
},
|
|
160289
|
+
{
|
|
160290
|
+
"name": "cross-offset",
|
|
160291
|
+
"type": {
|
|
160292
|
+
"text": "number"
|
|
160293
|
+
},
|
|
160294
|
+
"default": "0",
|
|
160295
|
+
"description": "How far to slide the panel along the side it is on, in pixels: to the\nright on the top or the bottom, and down on the left or the right.",
|
|
160296
|
+
"fieldName": "crossOffset",
|
|
160297
|
+
"inheritedFrom": {
|
|
160298
|
+
"name": "HelixHeadlessPopover",
|
|
160299
|
+
"module": "src/popover/root/popover-root.ts"
|
|
160300
|
+
}
|
|
160301
|
+
},
|
|
159852
160302
|
{
|
|
159853
160303
|
"name": "fallback-label",
|
|
159854
160304
|
"type": {
|
|
@@ -159862,6 +160312,19 @@
|
|
|
159862
160312
|
"module": "src/popover/root/popover-root.ts"
|
|
159863
160313
|
}
|
|
159864
160314
|
},
|
|
160315
|
+
{
|
|
160316
|
+
"name": "flip",
|
|
160317
|
+
"type": {
|
|
160318
|
+
"text": "boolean"
|
|
160319
|
+
},
|
|
160320
|
+
"default": "true",
|
|
160321
|
+
"description": "Whether the panel moves to the other side of the trigger when its own\nside has no room. On by default. Write `flip=\"false\"` to keep it on its\nside, where it shrinks to fit, as React Aria's `shouldFlip` turns off.",
|
|
160322
|
+
"fieldName": "flip",
|
|
160323
|
+
"inheritedFrom": {
|
|
160324
|
+
"name": "HelixHeadlessPopover",
|
|
160325
|
+
"module": "src/popover/root/popover-root.ts"
|
|
160326
|
+
}
|
|
160327
|
+
},
|
|
159865
160328
|
{
|
|
159866
160329
|
"name": "label",
|
|
159867
160330
|
"type": {
|
|
@@ -160080,6 +160543,22 @@
|
|
|
160080
160543
|
}
|
|
160081
160544
|
],
|
|
160082
160545
|
"cssStates": [
|
|
160546
|
+
{
|
|
160547
|
+
"description": "While the panel is aligned to the end of the side it sits on.",
|
|
160548
|
+
"name": "aligned-end",
|
|
160549
|
+
"inheritedFrom": {
|
|
160550
|
+
"name": "HelixHeadlessPopover",
|
|
160551
|
+
"module": "src/popover/root/popover-root.ts"
|
|
160552
|
+
}
|
|
160553
|
+
},
|
|
160554
|
+
{
|
|
160555
|
+
"description": "While the panel is aligned to the start of the side it sits on.",
|
|
160556
|
+
"name": "aligned-start",
|
|
160557
|
+
"inheritedFrom": {
|
|
160558
|
+
"name": "HelixHeadlessPopover",
|
|
160559
|
+
"module": "src/popover/root/popover-root.ts"
|
|
160560
|
+
}
|
|
160561
|
+
},
|
|
160083
160562
|
{
|
|
160084
160563
|
"description": "From the moment the panel shows until its entrance has finished.",
|
|
160085
160564
|
"name": "entering",
|
|
@@ -177439,7 +177918,7 @@
|
|
|
177439
177918
|
"name": "handleTriggerKeydown",
|
|
177440
177919
|
"privacy": "private",
|
|
177441
177920
|
"readonly": true,
|
|
177442
|
-
"description": "The keys of the closed trigger.\n\nLetters choose without opening, the way a native `<select>` and React\nAria's Select do, so a reader who knows the answer types it. A Space in the\nmiddle of those letters is one of them. With `multiple`, a letter opens the\nlist on the match instead, because adding to a set is a choice the reader\nmakes in the list. ArrowLeft and ArrowRight choose the option before and\nafter the chosen one.",
|
|
177921
|
+
"description": "The keys of the closed trigger.\n\nLetters choose without opening, the way a native `<select>` and React\nAria's Select do, so a reader who knows the answer types it. A Space in the\nmiddle of those letters is one of them. With `multiple`, a letter opens the\nlist on the match instead, because adding to a set is a choice the reader\nmakes in the list. ArrowLeft and ArrowRight choose the option before and\nafter the chosen one, the other way round on a right-to-left page.",
|
|
177443
177922
|
"inheritedFrom": {
|
|
177444
177923
|
"name": "HelixHeadlessSelect",
|
|
177445
177924
|
"module": "src/select/root/select-root.ts"
|
|
@@ -210397,6 +210876,69 @@
|
|
|
210397
210876
|
"module": "src/textarea/root/textarea-root.ts"
|
|
210398
210877
|
}
|
|
210399
210878
|
},
|
|
210879
|
+
{
|
|
210880
|
+
"kind": "method",
|
|
210881
|
+
"name": "setRangeText",
|
|
210882
|
+
"return": {
|
|
210883
|
+
"type": {
|
|
210884
|
+
"text": "void"
|
|
210885
|
+
}
|
|
210886
|
+
},
|
|
210887
|
+
"parameters": [
|
|
210888
|
+
{
|
|
210889
|
+
"name": "replacement",
|
|
210890
|
+
"type": {
|
|
210891
|
+
"text": "string"
|
|
210892
|
+
}
|
|
210893
|
+
},
|
|
210894
|
+
{
|
|
210895
|
+
"name": "start",
|
|
210896
|
+
"optional": true,
|
|
210897
|
+
"type": {
|
|
210898
|
+
"text": "number"
|
|
210899
|
+
}
|
|
210900
|
+
},
|
|
210901
|
+
{
|
|
210902
|
+
"name": "end",
|
|
210903
|
+
"optional": true,
|
|
210904
|
+
"type": {
|
|
210905
|
+
"text": "number"
|
|
210906
|
+
}
|
|
210907
|
+
},
|
|
210908
|
+
{
|
|
210909
|
+
"name": "selectMode",
|
|
210910
|
+
"optional": true,
|
|
210911
|
+
"type": {
|
|
210912
|
+
"text": "SelectionMode"
|
|
210913
|
+
}
|
|
210914
|
+
}
|
|
210915
|
+
],
|
|
210916
|
+
"description": "Replaces a range of the text, as the native method does: the selection\nwhere `start` and `end` are left out, and `selectMode` says what is\nselected after. It sends no event, as the native method sends none.",
|
|
210917
|
+
"type": {
|
|
210918
|
+
"text": "setRangeText(replacement: string, start?: number, end?: number, selectMode?: SelectionMode) => void"
|
|
210919
|
+
},
|
|
210920
|
+
"inheritedFrom": {
|
|
210921
|
+
"name": "HelixHeadlessTextarea",
|
|
210922
|
+
"module": "src/textarea/root/textarea-root.ts"
|
|
210923
|
+
}
|
|
210924
|
+
},
|
|
210925
|
+
{
|
|
210926
|
+
"kind": "method",
|
|
210927
|
+
"name": "select",
|
|
210928
|
+
"return": {
|
|
210929
|
+
"type": {
|
|
210930
|
+
"text": "void"
|
|
210931
|
+
}
|
|
210932
|
+
},
|
|
210933
|
+
"description": "Selects everything in the field.",
|
|
210934
|
+
"type": {
|
|
210935
|
+
"text": "select() => void"
|
|
210936
|
+
},
|
|
210937
|
+
"inheritedFrom": {
|
|
210938
|
+
"name": "HelixHeadlessTextarea",
|
|
210939
|
+
"module": "src/textarea/root/textarea-root.ts"
|
|
210940
|
+
}
|
|
210941
|
+
},
|
|
210400
210942
|
{
|
|
210401
210943
|
"kind": "field",
|
|
210402
210944
|
"name": "textLength",
|
|
@@ -216965,7 +217507,7 @@
|
|
|
216965
217507
|
"text": "TemplateResult | typeof nothing"
|
|
216966
217508
|
}
|
|
216967
217509
|
},
|
|
216968
|
-
"description": "The `feedback` line, or nothing while there is none.",
|
|
217510
|
+
"description": "The `feedback` line, or nothing while there is none.\n\n`role=\"alert\"`, as a field's feedback line has, so the message is\nannounced when it appears and the label and hint are not read with it.",
|
|
216969
217511
|
"inheritedFrom": {
|
|
216970
217512
|
"name": "MixinPickerFeedback",
|
|
216971
217513
|
"module": "src/mixins/mixin-picker-feedback/mixin-picker-feedback.ts"
|
|
@@ -246687,6 +247229,6 @@
|
|
|
246687
247229
|
],
|
|
246688
247230
|
"helix": {
|
|
246689
247231
|
"package": "@fusion.dev/helix",
|
|
246690
|
-
"version": "0.
|
|
247232
|
+
"version": "0.172.0"
|
|
246691
247233
|
}
|
|
246692
247234
|
}
|