@fusion.dev/helix 0.43.0 → 0.45.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 +138 -73
- package/dist/chat/composer/chat-composer.d.ts +1 -1
- package/dist/chat/message/chat-message.d.ts +1 -1
- package/dist/chat/root/chat-root.d.ts +1 -1
- package/dist/element-events.generated.js +1 -7
- package/dist/filter-input/chip/filter-chip.d.ts +1 -1
- package/dist/filter-input/field/filter-field.d.ts +1 -1
- package/dist/filter-input/menu/filter-menu.d.ts +1 -1
- package/dist/filter-input/operator/filter-operator.d.ts +1 -1
- package/dist/filter-input/root/filter-input-root.d.ts +1 -1
- package/dist/notifications/group/notification-group.d.ts +1 -1
- package/dist/notifications/notification/notification.d.ts +1 -1
- package/dist/notifications/root/notifications-root.d.ts +1 -1
- package/dist/option/group/option-group.d.ts +1 -1
- package/dist/option/root/option-root.d.ts +1 -1
- package/dist/radio/group/radio-group.d.ts +1 -1
- package/dist/radio/root/radio-root.d.ts +1 -1
- package/dist/sandbox/preview/sandbox-preview.d.ts +15 -0
- package/dist/sandbox/preview/sandbox-preview.js +2 -2
- package/dist/sandbox/root/sandbox-root.d.ts +43 -4
- package/dist/sandbox/root/sandbox-root.js +33 -12
- package/dist/sandbox/status-bar/sandbox-status-bar.js +1 -1
- package/dist/skip-link/root/skip-link-root.d.ts +2 -1
- package/dist/speed-dial/item/speed-dial-item.css.js +1 -5
- package/dist/speed-dial/item/speed-dial-item.d.ts +1 -1
- package/dist/speed-dial/root/speed-dial-root.css.js +4 -0
- package/dist/speed-dial/root/speed-dial-root.d.ts +1 -1
- package/dist/text/root/text-root.d.ts +1 -1
- package/dist/toast/item/toast-item.d.ts +1 -1
- package/dist/toast/root/toast-root.d.ts +2 -2
- package/package.json +6 -6
- package/types/jsx.d.ts +154 -20
- package/types/vue.d.ts +40 -7
package/custom-elements.json
CHANGED
|
@@ -15216,7 +15216,7 @@
|
|
|
15216
15216
|
"helix": {
|
|
15217
15217
|
"category": "forms",
|
|
15218
15218
|
"since": "0.1.0",
|
|
15219
|
-
"status": "
|
|
15219
|
+
"status": "stable",
|
|
15220
15220
|
"documentation": "https://fusion.dev/helix/components/chat",
|
|
15221
15221
|
"tier": "styled",
|
|
15222
15222
|
"group": "Chat",
|
|
@@ -16246,7 +16246,7 @@
|
|
|
16246
16246
|
"helix": {
|
|
16247
16247
|
"category": "feedback",
|
|
16248
16248
|
"since": "0.1.0",
|
|
16249
|
-
"status": "
|
|
16249
|
+
"status": "stable",
|
|
16250
16250
|
"documentation": "https://fusion.dev/helix/components/chat",
|
|
16251
16251
|
"tier": "styled",
|
|
16252
16252
|
"group": "Chat",
|
|
@@ -17943,7 +17943,7 @@
|
|
|
17943
17943
|
"helix": {
|
|
17944
17944
|
"category": "feedback",
|
|
17945
17945
|
"since": "0.1.0",
|
|
17946
|
-
"status": "
|
|
17946
|
+
"status": "stable",
|
|
17947
17947
|
"documentation": "https://fusion.dev/helix/components/chat",
|
|
17948
17948
|
"tier": "styled",
|
|
17949
17949
|
"group": "Chat",
|
|
@@ -47423,7 +47423,7 @@
|
|
|
47423
47423
|
"helix": {
|
|
47424
47424
|
"category": "forms",
|
|
47425
47425
|
"since": "0.23.0",
|
|
47426
|
-
"status": "
|
|
47426
|
+
"status": "stable",
|
|
47427
47427
|
"documentation": "https://fusion.dev/helix/components/filter-input",
|
|
47428
47428
|
"aliases": [
|
|
47429
47429
|
"FilterToken",
|
|
@@ -48070,7 +48070,7 @@
|
|
|
48070
48070
|
"helix": {
|
|
48071
48071
|
"category": "forms",
|
|
48072
48072
|
"since": "0.23.0",
|
|
48073
|
-
"status": "
|
|
48073
|
+
"status": "stable",
|
|
48074
48074
|
"documentation": "https://fusion.dev/helix/components/filter-input",
|
|
48075
48075
|
"aliases": [
|
|
48076
48076
|
"Facet",
|
|
@@ -48748,7 +48748,7 @@
|
|
|
48748
48748
|
"helix": {
|
|
48749
48749
|
"category": "forms",
|
|
48750
48750
|
"since": "0.25.0",
|
|
48751
|
-
"status": "
|
|
48751
|
+
"status": "stable",
|
|
48752
48752
|
"documentation": "https://fusion.dev/helix/components/filter-input",
|
|
48753
48753
|
"aliases": [
|
|
48754
48754
|
"FacetPicker",
|
|
@@ -49367,7 +49367,7 @@
|
|
|
49367
49367
|
"helix": {
|
|
49368
49368
|
"category": "forms",
|
|
49369
49369
|
"since": "0.23.0",
|
|
49370
|
-
"status": "
|
|
49370
|
+
"status": "stable",
|
|
49371
49371
|
"documentation": "https://fusion.dev/helix/components/filter-input",
|
|
49372
49372
|
"aliases": [
|
|
49373
49373
|
"Comparator",
|
|
@@ -51285,7 +51285,7 @@
|
|
|
51285
51285
|
"helix": {
|
|
51286
51286
|
"category": "forms",
|
|
51287
51287
|
"since": "0.1.0",
|
|
51288
|
-
"status": "
|
|
51288
|
+
"status": "stable",
|
|
51289
51289
|
"documentation": "https://fusion.dev/helix/components/filter-input",
|
|
51290
51290
|
"aliases": [
|
|
51291
51291
|
"SearchField",
|
|
@@ -72243,6 +72243,20 @@
|
|
|
72243
72243
|
"module": "src/notifications/group/notification-group.ts"
|
|
72244
72244
|
}
|
|
72245
72245
|
},
|
|
72246
|
+
{
|
|
72247
|
+
"kind": "field",
|
|
72248
|
+
"name": "counted",
|
|
72249
|
+
"type": {
|
|
72250
|
+
"text": "number | undefined"
|
|
72251
|
+
},
|
|
72252
|
+
"privacy": "private",
|
|
72253
|
+
"description": "The same number where anything can know it, and nothing where nothing can.\n\n**A server has no rows to count and must not say zero.** `items` reads\n`knownChildren`, which is empty on a server and while hydrating what one\nsent, so a group written around three notifications with no `count` of its\nown served `<span part=\"count\">0</span>`: a crawler, and a reader before the\npage has run, given a group that says it holds nothing over the three rows\nunderneath it. Not knowing is not zero, which is the rule `MixinCollection`\nalready states about an empty list.\n\nA declared `count` is a fact about the group rather than about its children,\nso it serves whole, which is the shape a feed trimmed by a server already\nwants: it is the number the rows were cut from.",
|
|
72254
|
+
"readonly": true,
|
|
72255
|
+
"inheritedFrom": {
|
|
72256
|
+
"name": "HelixHeadlessNotificationGroup",
|
|
72257
|
+
"module": "src/notifications/group/notification-group.ts"
|
|
72258
|
+
}
|
|
72259
|
+
},
|
|
72246
72260
|
{
|
|
72247
72261
|
"kind": "method",
|
|
72248
72262
|
"name": "assign",
|
|
@@ -72268,20 +72282,6 @@
|
|
|
72268
72282
|
"module": "src/notifications/group/notification-group.ts"
|
|
72269
72283
|
}
|
|
72270
72284
|
},
|
|
72271
|
-
{
|
|
72272
|
-
"kind": "field",
|
|
72273
|
-
"name": "folded",
|
|
72274
|
-
"type": {
|
|
72275
|
-
"text": "number"
|
|
72276
|
-
},
|
|
72277
|
-
"privacy": "private",
|
|
72278
|
-
"description": "How many rows the collapse is hiding, for the control to say so.",
|
|
72279
|
-
"readonly": true,
|
|
72280
|
-
"inheritedFrom": {
|
|
72281
|
-
"name": "HelixHeadlessNotificationGroup",
|
|
72282
|
-
"module": "src/notifications/group/notification-group.ts"
|
|
72283
|
-
}
|
|
72284
|
-
},
|
|
72285
72285
|
{
|
|
72286
72286
|
"kind": "field",
|
|
72287
72287
|
"name": "tier",
|
|
@@ -72641,7 +72641,7 @@
|
|
|
72641
72641
|
"helix": {
|
|
72642
72642
|
"category": "feedback",
|
|
72643
72643
|
"since": "0.24.0",
|
|
72644
|
-
"status": "
|
|
72644
|
+
"status": "stable",
|
|
72645
72645
|
"documentation": "https://fusion.dev/helix/components/notifications",
|
|
72646
72646
|
"aliases": [
|
|
72647
72647
|
"NotificationSection",
|
|
@@ -73078,6 +73078,14 @@
|
|
|
73078
73078
|
"name": "HelixHeadlessNotification",
|
|
73079
73079
|
"module": "src/notifications/notification/notification.ts"
|
|
73080
73080
|
}
|
|
73081
|
+
},
|
|
73082
|
+
{
|
|
73083
|
+
"description": "Replaces the glyph inside the dismiss control, which is drawn only where the row is `dismissible`.",
|
|
73084
|
+
"name": "dismiss",
|
|
73085
|
+
"inheritedFrom": {
|
|
73086
|
+
"name": "HelixHeadlessNotification",
|
|
73087
|
+
"module": "src/notifications/notification/notification.ts"
|
|
73088
|
+
}
|
|
73081
73089
|
}
|
|
73082
73090
|
],
|
|
73083
73091
|
"members": [
|
|
@@ -73710,7 +73718,7 @@
|
|
|
73710
73718
|
"helix": {
|
|
73711
73719
|
"category": "feedback",
|
|
73712
73720
|
"since": "0.1.0",
|
|
73713
|
-
"status": "
|
|
73721
|
+
"status": "stable",
|
|
73714
73722
|
"documentation": "https://fusion.dev/helix/components/notifications",
|
|
73715
73723
|
"tier": "styled",
|
|
73716
73724
|
"group": "Notifications",
|
|
@@ -74275,7 +74283,7 @@
|
|
|
74275
74283
|
"text": "void"
|
|
74276
74284
|
}
|
|
74277
74285
|
},
|
|
74278
|
-
"description": "Says whether anything in the feed has media, so every item can hold the\ncolumn open whether or not it has one of its own.\n\n**A fact no item can answer for itself**, which is why it is here. An item\nknows about its own media slot and nothing about its neighbors, so a feed\nwhere some rows have an avatar and some do not draws two different left\nedges for its text: measured on a four item feed, the rows without media\nstarted their text 32 pixels to the left of the rows with it. The styled\ntier turns this into a width; this tier ships no stylesheet and is\nunaffected.\n\
|
|
74286
|
+
"description": "Says whether anything in the feed has media, so every item can hold the\ncolumn open whether or not it has one of its own.\n\n**A fact no item can answer for itself**, which is why it is here. An item\nknows about its own media slot and nothing about its neighbors, so a feed\nwhere some rows have an avatar and some do not draws two different left\nedges for its text: measured on a four item feed, the rows without media\nstarted their text 32 pixels to the left of the rows with it. The styled\ntier turns this into a width; this tier ships no stylesheet and is\nunaffected.\n\n**What is asked of each row is its light DOM, not the row.** A notification\npublishes no property for this, and asking one would make the answer depend\non the row having drawn itself; a `[slot=\"media\"]` child is there from the\nmoment the markup is parsed. The rows themselves come from `items`, which\ndoes need them upgraded, and that is the honest limit rather than a claim\nthis had made the other way: a row that upgrades late is counted on the next\nupdate, which its own `slotchange` asks for.",
|
|
74279
74287
|
"inheritedFrom": {
|
|
74280
74288
|
"name": "HelixHeadlessNotifications",
|
|
74281
74289
|
"module": "src/notifications/root/notifications-root.ts"
|
|
@@ -74661,7 +74669,7 @@
|
|
|
74661
74669
|
"helix": {
|
|
74662
74670
|
"category": "feedback",
|
|
74663
74671
|
"since": "0.1.0",
|
|
74664
|
-
"status": "
|
|
74672
|
+
"status": "stable",
|
|
74665
74673
|
"documentation": "https://fusion.dev/helix/components/notifications",
|
|
74666
74674
|
"tier": "styled",
|
|
74667
74675
|
"group": "Notifications",
|
|
@@ -77979,6 +77987,21 @@
|
|
|
77979
77987
|
"module": "src/option/group/option-group.ts"
|
|
77980
77988
|
}
|
|
77981
77989
|
},
|
|
77990
|
+
{
|
|
77991
|
+
"kind": "method",
|
|
77992
|
+
"name": "nameFromHeading",
|
|
77993
|
+
"privacy": "private",
|
|
77994
|
+
"return": {
|
|
77995
|
+
"type": {
|
|
77996
|
+
"text": "void"
|
|
77997
|
+
}
|
|
77998
|
+
},
|
|
77999
|
+
"description": "Names the run after the heading it drew, whatever the heading is made of.\n\n**The string alone was not the name of the heading, it was the name of one\nway of writing it.** `label` reached `ariaLabel` and the slot reached the\nscreen, so a consumer who took the documented `label` slot for a heading\nricher than a string got a `role=\"group\"` with no accessible name at all,\nand the words they wrote were the one thing a reader could not hear: the\nheading carries `aria-hidden`, because the name was supposed to be on the\nhost already. Set both and they disagreed, the host saying the string and\nthe panel showing the slot.\n\nSo the host points at the heading, which is the one thing that is always\nwhat a reader sees. `ElementInternals` and not an IDREF, because the host\nis in the light DOM and the heading is in this shadow root, which is the\nboundary `aria-labelledby` cannot cross. `MixinField.linkHost` does the\nsame for a field's label and records the measurement.\n\nClient only. Element references need the nodes to exist, and the server has\nthe string.",
|
|
78000
|
+
"inheritedFrom": {
|
|
78001
|
+
"name": "HelixHeadlessOptionGroup",
|
|
78002
|
+
"module": "src/option/group/option-group.ts"
|
|
78003
|
+
}
|
|
78004
|
+
},
|
|
77982
78005
|
{
|
|
77983
78006
|
"kind": "field",
|
|
77984
78007
|
"name": "tier",
|
|
@@ -78311,7 +78334,7 @@
|
|
|
78311
78334
|
"summary": "A named run of options inside a listbox.",
|
|
78312
78335
|
"helix": {
|
|
78313
78336
|
"since": "0.1.0",
|
|
78314
|
-
"status": "
|
|
78337
|
+
"status": "stable",
|
|
78315
78338
|
"documentation": "https://fusion.dev/helix/components/option",
|
|
78316
78339
|
"aliases": [
|
|
78317
78340
|
"OptGroup",
|
|
@@ -78965,7 +78988,7 @@
|
|
|
78965
78988
|
"helix": {
|
|
78966
78989
|
"category": "forms",
|
|
78967
78990
|
"since": "0.1.0",
|
|
78968
|
-
"status": "
|
|
78991
|
+
"status": "stable",
|
|
78969
78992
|
"documentation": "https://fusion.dev/helix/components/option",
|
|
78970
78993
|
"aliases": [
|
|
78971
78994
|
"Item",
|
|
@@ -89599,7 +89622,7 @@
|
|
|
89599
89622
|
"summary": "A set of choices where exactly one is the answer.",
|
|
89600
89623
|
"helix": {
|
|
89601
89624
|
"since": "0.1.0",
|
|
89602
|
-
"status": "
|
|
89625
|
+
"status": "stable",
|
|
89603
89626
|
"documentation": "https://fusion.dev/helix/components/radio",
|
|
89604
89627
|
"aliases": [
|
|
89605
89628
|
"RadioButtons",
|
|
@@ -90013,6 +90036,19 @@
|
|
|
90013
90036
|
"module": "src/radio/root/radio-root.ts"
|
|
90014
90037
|
}
|
|
90015
90038
|
},
|
|
90039
|
+
{
|
|
90040
|
+
"kind": "field",
|
|
90041
|
+
"name": "focusable",
|
|
90042
|
+
"type": {
|
|
90043
|
+
"text": "boolean"
|
|
90044
|
+
},
|
|
90045
|
+
"default": "false",
|
|
90046
|
+
"description": "Whether this choice holds the group's tab stop while nothing is chosen.\n\nThe stop rides on the selection, and an unanswered group has no selection,\nso without this every choice is `tabindex=\"-1\"` and the keyboard cannot\nenter the set at all.\n\n**Written by the group, with no attribute, and it reaches the control\nrather than the host.** A `tabindex` on the host is two faults at once: it\nis markup a consumer rendered and their server never sent, which React\nreports as a mismatch and does not patch up, and it puts the tab stop on\nthe element rather than on the `<button role=\"radio\">` inside it, so a\nscreen reader meets an unnamed box where a native group would have given\nthem an unchecked radio. `Toggle.Root` carries the same property for the\nsame reason.",
|
|
90047
|
+
"inheritedFrom": {
|
|
90048
|
+
"name": "HelixHeadlessRadio",
|
|
90049
|
+
"module": "src/radio/root/radio-root.ts"
|
|
90050
|
+
}
|
|
90051
|
+
},
|
|
90016
90052
|
{
|
|
90017
90053
|
"kind": "field",
|
|
90018
90054
|
"name": "selected",
|
|
@@ -90466,7 +90502,7 @@
|
|
|
90466
90502
|
"helix": {
|
|
90467
90503
|
"category": "forms",
|
|
90468
90504
|
"since": "0.1.0",
|
|
90469
|
-
"status": "
|
|
90505
|
+
"status": "stable",
|
|
90470
90506
|
"documentation": "https://fusion.dev/helix/components/radio",
|
|
90471
90507
|
"aliases": [
|
|
90472
90508
|
"Option",
|
|
@@ -92458,9 +92494,8 @@
|
|
|
92458
92494
|
"type": {
|
|
92459
92495
|
"text": "'rtl' | undefined"
|
|
92460
92496
|
},
|
|
92461
|
-
"description": "Writing direction inside the frame.",
|
|
92462
|
-
"attribute": "direction"
|
|
92463
|
-
"reflects": true
|
|
92497
|
+
"description": "Writing direction inside the frame.\n\nNot reflected. It is payload for the render message and nothing selects on\nit, here or anywhere: a frame is a document of its own and what is written\non this host reaches nothing inside it, which is the same reason\n`colorMode` has to be sent rather than set.",
|
|
92498
|
+
"attribute": "direction"
|
|
92464
92499
|
},
|
|
92465
92500
|
{
|
|
92466
92501
|
"kind": "field",
|
|
@@ -92478,9 +92513,8 @@
|
|
|
92478
92513
|
"type": {
|
|
92479
92514
|
"text": "'padded' | 'centered' | 'fullscreen' | 'hug' | undefined"
|
|
92480
92515
|
},
|
|
92481
|
-
"description": "How the example is placed in the frame.",
|
|
92482
|
-
"attribute": "layout"
|
|
92483
|
-
"reflects": true
|
|
92516
|
+
"description": "How the example is placed in the frame.\n\n`padded` insets it and leaves it at the top, which is the resting case and\nwhat an absent value sends. `centered` gives it a measure and centers that\nbox in the frame. `hug` shrinks the example to its own content and centers\nwhat is left, which is the difference that matters for a component whose\nroot is a full-width block. `fullscreen` is the whole frame with no inset.\n\nNot reflected, for `direction`'s reason: the placement is applied by the\ndocument inside the frame, against its own root, so no rule on this side\ncould read it.",
|
|
92517
|
+
"attribute": "layout"
|
|
92484
92518
|
},
|
|
92485
92519
|
{
|
|
92486
92520
|
"kind": "field",
|
|
@@ -92948,7 +92982,7 @@
|
|
|
92948
92982
|
"type": {
|
|
92949
92983
|
"text": "'rtl' | undefined"
|
|
92950
92984
|
},
|
|
92951
|
-
"description": "Writing direction inside the frame.",
|
|
92985
|
+
"description": "Writing direction inside the frame.\n\nNot reflected. It is payload for the render message and nothing selects on\nit, here or anywhere: a frame is a document of its own and what is written\non this host reaches nothing inside it, which is the same reason\n`colorMode` has to be sent rather than set.",
|
|
92952
92986
|
"fieldName": "direction"
|
|
92953
92987
|
},
|
|
92954
92988
|
{
|
|
@@ -92965,7 +92999,7 @@
|
|
|
92965
92999
|
"type": {
|
|
92966
93000
|
"text": "'padded' | 'centered' | 'fullscreen' | 'hug' | undefined"
|
|
92967
93001
|
},
|
|
92968
|
-
"description": "How the example is placed in the frame.",
|
|
93002
|
+
"description": "How the example is placed in the frame.\n\n`padded` insets it and leaves it at the top, which is the resting case and\nwhat an absent value sends. `centered` gives it a measure and centers that\nbox in the frame. `hug` shrinks the example to its own content and centers\nwhat is left, which is the difference that matters for a component whose\nroot is a full-width block. `fullscreen` is the whole frame with no inset.\n\nNot reflected, for `direction`'s reason: the placement is applied by the\ndocument inside the frame, against its own root, so no rule on this side\ncould read it.",
|
|
92969
93003
|
"fieldName": "layout"
|
|
92970
93004
|
},
|
|
92971
93005
|
{
|
|
@@ -93185,9 +93219,8 @@
|
|
|
93185
93219
|
"type": {
|
|
93186
93220
|
"text": "'horizontal' | 'vertical' | undefined"
|
|
93187
93221
|
},
|
|
93188
|
-
"description": "Whether the panes sit side by side or stacked.",
|
|
93189
|
-
"attribute": "orientation"
|
|
93190
|
-
"reflects": true
|
|
93222
|
+
"description": "Whether the panes sit side by side or stacked.\n\nNot reflected, for `lead`'s reason above: no rule selects on it. The axis\nreaches the stylesheet as the inner splitter's own `orientation`, which is\nwhere the panes are laid out, and this element's sheet names no host\nattribute at all.",
|
|
93223
|
+
"attribute": "orientation"
|
|
93191
93224
|
},
|
|
93192
93225
|
{
|
|
93193
93226
|
"kind": "field",
|
|
@@ -93404,32 +93437,48 @@
|
|
|
93404
93437
|
},
|
|
93405
93438
|
{
|
|
93406
93439
|
"kind": "method",
|
|
93407
|
-
"name": "
|
|
93440
|
+
"name": "requestSplit",
|
|
93408
93441
|
"privacy": "private",
|
|
93409
93442
|
"return": {
|
|
93410
93443
|
"type": {
|
|
93411
|
-
"text": "
|
|
93444
|
+
"text": "boolean"
|
|
93412
93445
|
}
|
|
93413
93446
|
},
|
|
93414
|
-
"
|
|
93447
|
+
"parameters": [
|
|
93448
|
+
{
|
|
93449
|
+
"name": "next",
|
|
93450
|
+
"type": {
|
|
93451
|
+
"text": "number"
|
|
93452
|
+
}
|
|
93453
|
+
}
|
|
93454
|
+
],
|
|
93455
|
+
"description": "Asks for the panes' divider to settle here, and moves it unless refused.\n\nWhen it settles, not while it moves. A drag is a stream of positions and\nonly the one it ends at is a preference; announcing each would ask whoever\nis listening to write to storage a hundred times to record one decision.\n\nThe sandbox does not keep it. Where a preference lives, and whether it\nshould be kept at all, is the consumer's to decide, and a component that\nwrote to storage on its own would be deciding for all of them under a key\nit chose.\n\n**Through `requestChange`, and never the other way round.** Both of these\nfired after `split` and `panelSize` had already been written, with the\nanswer dropped, so a consumer calling `preventDefault()` on an event whose\nown line says refusing it takes the decision changed nothing whatever: the\ndivider stayed where the drag left it and their handler read a value they\nhad just declined. `SandboxSource.edit` two files away already carries the\nargument, that assigning first turns a `before` event into one that has\nalready happened, and `Splitter`, whose `helix-before-resize` these two were\nsplit out of, has always announced through the audited path. Refusing one\nnow leaves `.position` bound to the value this element still holds, so the\ndivider goes back where it was.\n\n**A verb each, rather than one `helix-before-resize` naming which of the two\nmoved.** Both dividers are this element's, so `composedPath()[0]` is the same\nhost for either and the event name is the only thing that can separate them."
|
|
93415
93456
|
},
|
|
93416
93457
|
{
|
|
93417
93458
|
"kind": "method",
|
|
93418
|
-
"name": "
|
|
93459
|
+
"name": "requestPanelSize",
|
|
93419
93460
|
"privacy": "private",
|
|
93420
93461
|
"return": {
|
|
93421
93462
|
"type": {
|
|
93422
|
-
"text": "
|
|
93463
|
+
"text": "boolean"
|
|
93423
93464
|
}
|
|
93424
93465
|
},
|
|
93425
|
-
"
|
|
93466
|
+
"parameters": [
|
|
93467
|
+
{
|
|
93468
|
+
"name": "next",
|
|
93469
|
+
"type": {
|
|
93470
|
+
"text": "number"
|
|
93471
|
+
}
|
|
93472
|
+
}
|
|
93473
|
+
],
|
|
93474
|
+
"description": "As `requestSplit`, for the panel, whose value is pixels rather than a share."
|
|
93426
93475
|
},
|
|
93427
93476
|
{
|
|
93428
93477
|
"kind": "field",
|
|
93429
93478
|
"name": "handlePanesChange",
|
|
93430
93479
|
"privacy": "private",
|
|
93431
93480
|
"readonly": true,
|
|
93432
|
-
"description": "Answers a divider that has asked to move.\n\nBoth splitters are controlled from here, so neither applies anything on its\nown: each announces where it wants to go and this decides. That is what\nkeeps `split` and `panelSize` the truth about the arrangement rather than a\nstale copy of it.\n\n`target` against `currentTarget`, because a source pane's own change bubbles\nup through these same elements on its way to the host. Only a splitter\nspeaking for itself is one of ours, and only those are stopped: the sandbox\nannounces `helix-before-split` and `helix-before-panel-resize` in their\nplace, and a consumer never sees the two splitters inside it."
|
|
93481
|
+
"description": "Answers a divider that has asked to move.\n\nBoth splitters are controlled from here, so neither applies anything on its\nown: each announces where it wants to go and this decides. That is what\nkeeps `split` and `panelSize` the truth about the arrangement rather than a\nstale copy of it.\n\n`target` against `currentTarget`, because a source pane's own change bubbles\nup through these same elements on its way to the host. Only a splitter\nspeaking for itself is one of ours, and only those are stopped: the sandbox\nannounces `helix-before-split` and `helix-before-panel-resize` in their\nplace, and a consumer never sees the two splitters inside it.\n\n**Refused as well as stopped, which is what \"controlled from here\" costs.**\nA splitter nobody refuses applies the move itself and says so in its own\ndocblock, so the sentence above was true only while nothing downstream ever\ndeclined: refusing `helix-before-split` left `split` at fifty and the\ndivider drawn at fifty-two, one element holding the arrangement and the\nother showing it. Refusing the inner request first makes this element the\nsingle answer.\n\n**And the divider is written back, because a refusal writes nothing.** A\nsplitter draws itself from where the gesture reached until its `position` is\nassigned, which is the setter's stated job, and a bound property Lit did not\nchange is a property Lit does not write. So the answer is assigned either\nway, which for an accepted move is the number the binding is about to carry\nanyway."
|
|
93433
93482
|
},
|
|
93434
93483
|
{
|
|
93435
93484
|
"kind": "field",
|
|
@@ -93437,6 +93486,31 @@
|
|
|
93437
93486
|
"privacy": "private",
|
|
93438
93487
|
"readonly": true
|
|
93439
93488
|
},
|
|
93489
|
+
{
|
|
93490
|
+
"kind": "method",
|
|
93491
|
+
"name": "answer",
|
|
93492
|
+
"privacy": "private",
|
|
93493
|
+
"return": {
|
|
93494
|
+
"type": {
|
|
93495
|
+
"text": "void"
|
|
93496
|
+
}
|
|
93497
|
+
},
|
|
93498
|
+
"parameters": [
|
|
93499
|
+
{
|
|
93500
|
+
"name": "divider",
|
|
93501
|
+
"type": {
|
|
93502
|
+
"text": "EventTarget | null"
|
|
93503
|
+
}
|
|
93504
|
+
},
|
|
93505
|
+
{
|
|
93506
|
+
"name": "position",
|
|
93507
|
+
"type": {
|
|
93508
|
+
"text": "number"
|
|
93509
|
+
}
|
|
93510
|
+
}
|
|
93511
|
+
],
|
|
93512
|
+
"description": "Puts a divider where this element says it is.\n\nTyped by what is used rather than by the class, which is the whole of the\ncoupling: a splitter this does not import is one that can be replaced."
|
|
93513
|
+
},
|
|
93440
93514
|
{
|
|
93441
93515
|
"kind": "method",
|
|
93442
93516
|
"name": "watchBody",
|
|
@@ -93866,7 +93940,7 @@
|
|
|
93866
93940
|
"type": {
|
|
93867
93941
|
"text": "'horizontal' | 'vertical' | undefined"
|
|
93868
93942
|
},
|
|
93869
|
-
"description": "Whether the panes sit side by side or stacked.",
|
|
93943
|
+
"description": "Whether the panes sit side by side or stacked.\n\nNot reflected, for `lead`'s reason above: no rule selects on it. The axis\nreaches the stylesheet as the inner splitter's own `orientation`, which is\nwhere the panes are laid out, and this element's sheet names no host\nattribute at all.",
|
|
93870
93944
|
"fieldName": "orientation"
|
|
93871
93945
|
},
|
|
93872
93946
|
{
|
|
@@ -100950,8 +101024,12 @@
|
|
|
100950
101024
|
"helix": {
|
|
100951
101025
|
"category": "navigation",
|
|
100952
101026
|
"since": "0.1.0",
|
|
100953
|
-
"status": "
|
|
101027
|
+
"status": "stable",
|
|
100954
101028
|
"documentation": "https://fusion.dev/helix/components/skip-link",
|
|
101029
|
+
"aliases": [
|
|
101030
|
+
"Skip navigation",
|
|
101031
|
+
"Skip to content"
|
|
101032
|
+
],
|
|
100955
101033
|
"tier": "styled",
|
|
100956
101034
|
"group": "SkipLink",
|
|
100957
101035
|
"part": "Root",
|
|
@@ -104042,7 +104120,7 @@
|
|
|
104042
104120
|
"helix": {
|
|
104043
104121
|
"category": "actions",
|
|
104044
104122
|
"since": "0.1.0",
|
|
104045
|
-
"status": "
|
|
104123
|
+
"status": "stable",
|
|
104046
104124
|
"documentation": "https://fusion.dev/helix/components/speed-dial",
|
|
104047
104125
|
"aliases": [
|
|
104048
104126
|
"Speed dial action",
|
|
@@ -104815,7 +104893,7 @@
|
|
|
104815
104893
|
"helix": {
|
|
104816
104894
|
"category": "actions",
|
|
104817
104895
|
"since": "0.1.0",
|
|
104818
|
-
"status": "
|
|
104896
|
+
"status": "stable",
|
|
104819
104897
|
"documentation": "https://fusion.dev/helix/components/speed-dial",
|
|
104820
104898
|
"aliases": [
|
|
104821
104899
|
"FAB",
|
|
@@ -105708,7 +105786,7 @@
|
|
|
105708
105786
|
}
|
|
105709
105787
|
}
|
|
105710
105788
|
],
|
|
105711
|
-
"description": "
|
|
105789
|
+
"description": "Moves the divider under a gesture that is still happening.\n\nNot announced per step: `helix-before-resize` is the settling, below. A drag that\nannounced every position would be asking a consumer to record a hundred\ndecisions to keep one.\n\n**A drag only, which is the whole of why applying before announcing is\nright here.** The divider has to follow the hand, and the one number worth\na decision is where the hand let go. Nothing discrete calls this: a key and\na double click go straight to `settle`, so their announcement comes before\ntheir change and refusing one takes the decision, and the corner's arrows\nalready did.",
|
|
105712
105790
|
"inheritedFrom": {
|
|
105713
105791
|
"name": "HelixHeadlessSplitter",
|
|
105714
105792
|
"module": "src/splitter/root/splitter-root.ts"
|
|
@@ -105731,7 +105809,7 @@
|
|
|
105731
105809
|
}
|
|
105732
105810
|
}
|
|
105733
105811
|
],
|
|
105734
|
-
"description": "Says the arrangement has settled, so a consumer can keep it.\n\nThrough the audited path, so a consumer who owns `position` is told what was\nasked for and decides, and one who does not has already had it applied.",
|
|
105812
|
+
"description": "Says the arrangement has settled, so a consumer can keep it.\n\nThrough the audited path, so a consumer who owns `position` is told what was\nasked for and decides, and one who does not has already had it applied.\n\n**The second announcement is conditional on the first, because it is derived\nfrom it.** `shutAt` reads the position the gesture ended on, so a refused\n`helix-before-resize` leaves a collapse computed from a number that was\nrefused. Announced anyway, the refusal produced the outcome it was refusing:\nmeasured on a divider at 40 with a listener calling `preventDefault`, Home\nleft `position` reporting 0 and `collapsed` reporting `start`, because the\ncollapse applied and `position` reads the sliver once a pane is shut. The\nreturn of the first request is what says so, and it was being dropped: a\ncancelable event dispatched as a bare statement with nothing reading the\nanswer, which is the shape the navigation cohort named on `Outline` and left.\n\nRefusing the collapse alone still leaves the resize, which is the other way\nround and is coherent: the divider goes where the drag put it and the pane\nis not declared shut. What a consumer cannot have is a pane that collapses\nout from under a position they said no to.",
|
|
105735
105813
|
"inheritedFrom": {
|
|
105736
105814
|
"name": "HelixHeadlessSplitter",
|
|
105737
105815
|
"module": "src/splitter/root/splitter-root.ts"
|
|
@@ -106534,7 +106612,7 @@
|
|
|
106534
106612
|
"type": {
|
|
106535
106613
|
"text": "HelixBeforeCollapseEvent"
|
|
106536
106614
|
},
|
|
106537
|
-
"description": "Fired before a pane shuts or reopens, and
|
|
106615
|
+
"description": "Fired before a pane shuts or reopens, and only where the position it is derived from stood. Cancelable: refusing it leaves the pane as it was and the divider where the gesture put it.",
|
|
106538
106616
|
"name": "helix-before-collapse",
|
|
106539
106617
|
"reactProp": "onhelix-before-collapse",
|
|
106540
106618
|
"inheritedFrom": {
|
|
@@ -106546,7 +106624,7 @@
|
|
|
106546
106624
|
"type": {
|
|
106547
106625
|
"text": "HelixBeforeResizeEvent"
|
|
106548
106626
|
},
|
|
106549
|
-
"description": "Fired before the divider settles, and
|
|
106627
|
+
"description": "Fired before the divider settles. Cancelable: refusing it takes the whole of where the gesture ended, so no collapse follows from it either. A drag has already drawn itself by then and holds where it was dropped until the consumer assigns their own.",
|
|
106550
106628
|
"name": "helix-before-resize",
|
|
106551
106629
|
"reactProp": "onhelix-before-resize",
|
|
106552
106630
|
"inheritedFrom": {
|
|
@@ -116046,7 +116124,7 @@
|
|
|
116046
116124
|
"helix": {
|
|
116047
116125
|
"category": "typography",
|
|
116048
116126
|
"since": "0.1.0",
|
|
116049
|
-
"status": "
|
|
116127
|
+
"status": "stable",
|
|
116050
116128
|
"documentation": "https://fusion.dev/helix/components/text",
|
|
116051
116129
|
"aliases": [
|
|
116052
116130
|
"Paragraph",
|
|
@@ -124092,7 +124170,7 @@
|
|
|
124092
124170
|
"summary": "One message in the toast region.",
|
|
124093
124171
|
"helix": {
|
|
124094
124172
|
"since": "0.1.0",
|
|
124095
|
-
"status": "
|
|
124173
|
+
"status": "stable",
|
|
124096
124174
|
"documentation": "https://fusion.dev/helix/components/toast",
|
|
124097
124175
|
"tier": "styled",
|
|
124098
124176
|
"group": "Toast",
|
|
@@ -124715,12 +124793,11 @@
|
|
|
124715
124793
|
"helix": {
|
|
124716
124794
|
"category": "overlays",
|
|
124717
124795
|
"since": "0.1.0",
|
|
124718
|
-
"status": "
|
|
124796
|
+
"status": "stable",
|
|
124719
124797
|
"documentation": "https://fusion.dev/helix/components/toast",
|
|
124720
124798
|
"aliases": [
|
|
124721
124799
|
"Toaster",
|
|
124722
|
-
"Snackbar"
|
|
124723
|
-
"Notifications"
|
|
124800
|
+
"Snackbar"
|
|
124724
124801
|
],
|
|
124725
124802
|
"tier": "styled",
|
|
124726
124803
|
"group": "Toast",
|
|
@@ -129853,18 +129930,6 @@
|
|
|
129853
129930
|
"name": "HelixHeadlessTour",
|
|
129854
129931
|
"module": "src/tour/root/tour-root.ts"
|
|
129855
129932
|
}
|
|
129856
|
-
},
|
|
129857
|
-
{
|
|
129858
|
-
"type": {
|
|
129859
|
-
"text": "Event"
|
|
129860
|
-
},
|
|
129861
|
-
"description": "Says the state moved, carrying `newState` and `oldState`.",
|
|
129862
|
-
"name": "toggle",
|
|
129863
|
-
"reactProp": "ontoggle",
|
|
129864
|
-
"inheritedFrom": {
|
|
129865
|
-
"name": "HelixHeadlessTour",
|
|
129866
|
-
"module": "src/tour/root/tour-root.ts"
|
|
129867
|
-
}
|
|
129868
129933
|
}
|
|
129869
129934
|
],
|
|
129870
129935
|
"cssStates": [
|
|
@@ -13,7 +13,7 @@ import type { CSSResultGroup } from 'lit';
|
|
|
13
13
|
* is the signal, and decorating it competes with the thing it is decorating.
|
|
14
14
|
*
|
|
15
15
|
* @since 0.1.0
|
|
16
|
-
* @status
|
|
16
|
+
* @status stable
|
|
17
17
|
* @category feedback
|
|
18
18
|
* @documentation https://fusion.dev/helix/components/chat
|
|
19
19
|
*
|
|
@@ -138,13 +138,7 @@ registerElementEvents({
|
|
|
138
138
|
'helix-toggle': ['helix-select'],
|
|
139
139
|
'helix-toggle-group': ['change', 'helix-before-change', 'helix-select', 'input'],
|
|
140
140
|
'helix-tooltip': ['helix-before-close', 'helix-before-open', 'toggle'],
|
|
141
|
-
'helix-tour': [
|
|
142
|
-
'helix-before-activate',
|
|
143
|
-
'helix-before-close',
|
|
144
|
-
'helix-complete',
|
|
145
|
-
'helix-tour-ask',
|
|
146
|
-
'toggle',
|
|
147
|
-
],
|
|
141
|
+
'helix-tour': ['helix-before-activate', 'helix-before-close', 'helix-complete', 'helix-tour-ask'],
|
|
148
142
|
'helix-tour-stop': ['helix-tour-ask'],
|
|
149
143
|
'helix-tree': ['helix-activate', 'helix-before-activate', 'helix-select'],
|
|
150
144
|
'helix-tree-item': ['helix-before-close', 'helix-before-open', 'helix-select', 'toggle'],
|
|
@@ -13,7 +13,7 @@ import type { CSSResultGroup } from 'lit';
|
|
|
13
13
|
* common chip free of jargon. See the headless note, which records the rule.
|
|
14
14
|
*
|
|
15
15
|
* @since 0.23.0
|
|
16
|
-
* @status
|
|
16
|
+
* @status stable
|
|
17
17
|
* @category forms
|
|
18
18
|
* @aliases FilterToken, FacetChip
|
|
19
19
|
* @documentation https://fusion.dev/helix/components/filter-input
|
|
@@ -14,7 +14,7 @@ import type { CSSResultGroup } from 'lit';
|
|
|
14
14
|
* away from its neighbors.
|
|
15
15
|
*
|
|
16
16
|
* @since 0.23.0
|
|
17
|
-
* @status
|
|
17
|
+
* @status stable
|
|
18
18
|
* @category forms
|
|
19
19
|
* @aliases Facet, Dimension
|
|
20
20
|
* @documentation https://fusion.dev/helix/components/filter-input
|
|
@@ -15,7 +15,7 @@ import '../../menu/index.js';
|
|
|
15
15
|
* immediately and why the operator is decided here rather than on the chip.
|
|
16
16
|
*
|
|
17
17
|
* @since 0.25.0
|
|
18
|
-
* @status
|
|
18
|
+
* @status stable
|
|
19
19
|
* @category forms
|
|
20
20
|
* @aliases FacetPicker, FilterBuilder
|
|
21
21
|
* @documentation https://fusion.dev/helix/components/filter-input
|
|
@@ -12,7 +12,7 @@ import type { CSSResultGroup } from 'lit';
|
|
|
12
12
|
* reason `FilterField`'s note gives.
|
|
13
13
|
*
|
|
14
14
|
* @since 0.23.0
|
|
15
|
-
* @status
|
|
15
|
+
* @status stable
|
|
16
16
|
* @category forms
|
|
17
17
|
* @aliases Comparator, Predicate
|
|
18
18
|
* @documentation https://fusion.dev/helix/components/filter-input
|
|
@@ -26,7 +26,7 @@ import '../../option/index.js';
|
|
|
26
26
|
* whatever holds it, not a `size` here.
|
|
27
27
|
*
|
|
28
28
|
* @since 0.1.0
|
|
29
|
-
* @status
|
|
29
|
+
* @status stable
|
|
30
30
|
* @category forms
|
|
31
31
|
* @aliases SearchField, FacetInput, TokenInput
|
|
32
32
|
* @documentation https://fusion.dev/helix/components/filter-input
|
|
@@ -19,7 +19,7 @@ import type { CSSResultGroup } from 'lit';
|
|
|
19
19
|
* that says there is something back there.
|
|
20
20
|
*
|
|
21
21
|
* @since 0.24.0
|
|
22
|
-
* @status
|
|
22
|
+
* @status stable
|
|
23
23
|
* @category feedback
|
|
24
24
|
* @aliases NotificationSection, FeedGroup
|
|
25
25
|
* @documentation https://fusion.dev/helix/components/notifications
|
|
@@ -16,7 +16,7 @@ import '../notification/notification.js';
|
|
|
16
16
|
* holds thousands wants `helix-data-table` with a custom cell.
|
|
17
17
|
*
|
|
18
18
|
* @since 0.1.0
|
|
19
|
-
* @status
|
|
19
|
+
* @status stable
|
|
20
20
|
* @category feedback
|
|
21
21
|
* @documentation https://fusion.dev/helix/components/notifications
|
|
22
22
|
*
|