@fusion.dev/helix 0.162.0 → 0.162.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/custom-elements.json
CHANGED
|
@@ -13899,6 +13899,18 @@
|
|
|
13899
13899
|
"module": "src/breadcrumbs/root/breadcrumbs-root.ts"
|
|
13900
13900
|
}
|
|
13901
13901
|
},
|
|
13902
|
+
{
|
|
13903
|
+
"kind": "field",
|
|
13904
|
+
"name": "upgradeWatch",
|
|
13905
|
+
"privacy": "protected",
|
|
13906
|
+
"readonly": true,
|
|
13907
|
+
"default": "new UpgradeController(this, this.handleSlotChange)",
|
|
13908
|
+
"description": "Reads a crumb again once it upgrades, so the current one is marked.",
|
|
13909
|
+
"inheritedFrom": {
|
|
13910
|
+
"name": "HelixHeadlessBreadcrumbs",
|
|
13911
|
+
"module": "src/breadcrumbs/root/breadcrumbs-root.ts"
|
|
13912
|
+
}
|
|
13913
|
+
},
|
|
13902
13914
|
{
|
|
13903
13915
|
"kind": "method",
|
|
13904
13916
|
"name": "renderItems",
|
|
@@ -32290,6 +32302,18 @@
|
|
|
32290
32302
|
"module": "src/chat/root/chat-root.ts"
|
|
32291
32303
|
}
|
|
32292
32304
|
},
|
|
32305
|
+
{
|
|
32306
|
+
"kind": "field",
|
|
32307
|
+
"name": "upgradeWatch",
|
|
32308
|
+
"privacy": "protected",
|
|
32309
|
+
"readonly": true,
|
|
32310
|
+
"default": "new UpgradeController(this, () => this.handleSlotChange())",
|
|
32311
|
+
"description": "Hears a message upgrade after it arrived. A message is known by its marker,\nwhich an element that has not upgraded lacks, so it was assigned nowhere.",
|
|
32312
|
+
"inheritedFrom": {
|
|
32313
|
+
"name": "HelixHeadlessChat",
|
|
32314
|
+
"module": "src/chat/root/chat-root.ts"
|
|
32315
|
+
}
|
|
32316
|
+
},
|
|
32293
32317
|
{
|
|
32294
32318
|
"kind": "field",
|
|
32295
32319
|
"name": "settling",
|
|
@@ -34445,6 +34469,18 @@
|
|
|
34445
34469
|
"module": "src/checkbox-group/root/checkbox-group-root.ts"
|
|
34446
34470
|
}
|
|
34447
34471
|
},
|
|
34472
|
+
{
|
|
34473
|
+
"kind": "field",
|
|
34474
|
+
"name": "upgradeWatch",
|
|
34475
|
+
"privacy": "protected",
|
|
34476
|
+
"readonly": true,
|
|
34477
|
+
"default": "new UpgradeController(this, undefined, { subtree: true })",
|
|
34478
|
+
"description": "Reads a box again once it upgrades, so it takes the group's name and value.",
|
|
34479
|
+
"inheritedFrom": {
|
|
34480
|
+
"name": "HelixHeadlessCheckboxGroup",
|
|
34481
|
+
"module": "src/checkbox-group/root/checkbox-group-root.ts"
|
|
34482
|
+
}
|
|
34483
|
+
},
|
|
34448
34484
|
{
|
|
34449
34485
|
"kind": "field",
|
|
34450
34486
|
"name": "judged",
|
|
@@ -48474,6 +48510,18 @@
|
|
|
48474
48510
|
"module": "src/combobox/root/combobox-root.ts"
|
|
48475
48511
|
}
|
|
48476
48512
|
},
|
|
48513
|
+
{
|
|
48514
|
+
"kind": "field",
|
|
48515
|
+
"name": "upgradeWatch",
|
|
48516
|
+
"privacy": "protected",
|
|
48517
|
+
"readonly": true,
|
|
48518
|
+
"default": "new UpgradeController( this, () => { this.listbox?.requestUpdate() this.requestUpdate() }, { subtree: true }, )",
|
|
48519
|
+
"description": "Hears an option upgrade after it arrived. The options are this element's\nchildren, which the listbox reaches through a slot and does not watch, so\nboth read them again: the listbox to select the one `value` names, and this\nelement for the words in its field.",
|
|
48520
|
+
"inheritedFrom": {
|
|
48521
|
+
"name": "HelixHeadlessCombobox",
|
|
48522
|
+
"module": "src/combobox/root/combobox-root.ts"
|
|
48523
|
+
}
|
|
48524
|
+
},
|
|
48477
48525
|
{
|
|
48478
48526
|
"kind": "field",
|
|
48479
48527
|
"name": "panel",
|
|
@@ -111831,6 +111879,18 @@
|
|
|
111831
111879
|
"module": "src/list/root/list-root.ts"
|
|
111832
111880
|
}
|
|
111833
111881
|
},
|
|
111882
|
+
{
|
|
111883
|
+
"kind": "field",
|
|
111884
|
+
"name": "upgradeWatch",
|
|
111885
|
+
"privacy": "protected",
|
|
111886
|
+
"readonly": true,
|
|
111887
|
+
"default": "new UpgradeController(this, this.handleSlotChange)",
|
|
111888
|
+
"description": "Reads an item again once it upgrades, so it takes the role the list gives its rows.",
|
|
111889
|
+
"inheritedFrom": {
|
|
111890
|
+
"name": "HelixHeadlessList",
|
|
111891
|
+
"module": "src/list/root/list-root.ts"
|
|
111892
|
+
}
|
|
111893
|
+
},
|
|
111834
111894
|
{
|
|
111835
111895
|
"kind": "field",
|
|
111836
111896
|
"name": "tier",
|
|
@@ -114086,6 +114146,17 @@
|
|
|
114086
114146
|
"module": "src/listbox/root/listbox-root.ts"
|
|
114087
114147
|
}
|
|
114088
114148
|
},
|
|
114149
|
+
{
|
|
114150
|
+
"kind": "field",
|
|
114151
|
+
"name": "upgradeWatch",
|
|
114152
|
+
"privacy": "protected",
|
|
114153
|
+
"readonly": true,
|
|
114154
|
+
"default": "new UpgradeController(this, undefined, { subtree: true })",
|
|
114155
|
+
"inheritedFrom": {
|
|
114156
|
+
"name": "HelixHeadlessListbox",
|
|
114157
|
+
"module": "src/listbox/root/listbox-root.ts"
|
|
114158
|
+
}
|
|
114159
|
+
},
|
|
114089
114160
|
{
|
|
114090
114161
|
"kind": "method",
|
|
114091
114162
|
"name": "among",
|
|
@@ -136041,13 +136112,35 @@
|
|
|
136041
136112
|
"module": "src/notifications/group/notification-group.ts"
|
|
136042
136113
|
}
|
|
136043
136114
|
},
|
|
136115
|
+
{
|
|
136116
|
+
"kind": "field",
|
|
136117
|
+
"name": "recount",
|
|
136118
|
+
"privacy": "private",
|
|
136119
|
+
"readonly": true,
|
|
136120
|
+
"description": "Hears a row arrive after the render. The slot is assigned by hand, so a\nnew row is in no slot and sends no `slotchange` to say it came. The feed\nthe group is in is asked to update as well, since it counts the group's\nrows and does not watch inside the group.",
|
|
136121
|
+
"inheritedFrom": {
|
|
136122
|
+
"name": "HelixHeadlessNotificationGroup",
|
|
136123
|
+
"module": "src/notifications/group/notification-group.ts"
|
|
136124
|
+
}
|
|
136125
|
+
},
|
|
136044
136126
|
{
|
|
136045
136127
|
"kind": "field",
|
|
136046
136128
|
"name": "childWatch",
|
|
136047
136129
|
"privacy": "protected",
|
|
136048
136130
|
"readonly": true,
|
|
136049
|
-
"default": "new ChildrenController(this,
|
|
136050
|
-
"
|
|
136131
|
+
"default": "new ChildrenController(this, this.recount)",
|
|
136132
|
+
"inheritedFrom": {
|
|
136133
|
+
"name": "HelixHeadlessNotificationGroup",
|
|
136134
|
+
"module": "src/notifications/group/notification-group.ts"
|
|
136135
|
+
}
|
|
136136
|
+
},
|
|
136137
|
+
{
|
|
136138
|
+
"kind": "field",
|
|
136139
|
+
"name": "upgradeWatch",
|
|
136140
|
+
"privacy": "protected",
|
|
136141
|
+
"readonly": true,
|
|
136142
|
+
"default": "new UpgradeController(this, this.recount)",
|
|
136143
|
+
"description": "Hears a row upgrade after it arrived, which neither the slot nor `childWatch` reports.",
|
|
136051
136144
|
"inheritedFrom": {
|
|
136052
136145
|
"name": "HelixHeadlessNotificationGroup",
|
|
136053
136146
|
"module": "src/notifications/group/notification-group.ts"
|
|
@@ -138616,6 +138709,18 @@
|
|
|
138616
138709
|
"module": "src/notifications/root/notifications-root.ts"
|
|
138617
138710
|
}
|
|
138618
138711
|
},
|
|
138712
|
+
{
|
|
138713
|
+
"kind": "field",
|
|
138714
|
+
"name": "upgradeWatch",
|
|
138715
|
+
"privacy": "protected",
|
|
138716
|
+
"readonly": true,
|
|
138717
|
+
"default": "new UpgradeController(this, this.handleSlotChange)",
|
|
138718
|
+
"description": "Hears a row upgrade after it arrived. A row is known by its marker, which\nan element that has not upgraded lacks, so the row was assigned nowhere.",
|
|
138719
|
+
"inheritedFrom": {
|
|
138720
|
+
"name": "HelixHeadlessNotifications",
|
|
138721
|
+
"module": "src/notifications/root/notifications-root.ts"
|
|
138722
|
+
}
|
|
138723
|
+
},
|
|
138619
138724
|
{
|
|
138620
138725
|
"kind": "field",
|
|
138621
138726
|
"name": "handleRead",
|
|
@@ -138814,7 +138919,7 @@
|
|
|
138814
138919
|
"text": "void"
|
|
138815
138920
|
}
|
|
138816
138921
|
},
|
|
138817
|
-
"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
|
|
138922
|
+
"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 `UpgradeController` asks for when its definition arrives.",
|
|
138818
138923
|
"inheritedFrom": {
|
|
138819
138924
|
"name": "HelixHeadlessNotifications",
|
|
138820
138925
|
"module": "src/notifications/root/notifications-root.ts"
|
|
@@ -159886,6 +159991,17 @@
|
|
|
159886
159991
|
"module": "src/radio/group/radio-group.ts"
|
|
159887
159992
|
}
|
|
159888
159993
|
},
|
|
159994
|
+
{
|
|
159995
|
+
"kind": "field",
|
|
159996
|
+
"name": "upgradeWatch",
|
|
159997
|
+
"privacy": "protected",
|
|
159998
|
+
"readonly": true,
|
|
159999
|
+
"default": "new UpgradeController(this, undefined, { subtree: true })",
|
|
160000
|
+
"inheritedFrom": {
|
|
160001
|
+
"name": "HelixHeadlessRadioGroup",
|
|
160002
|
+
"module": "src/radio/group/radio-group.ts"
|
|
160003
|
+
}
|
|
160004
|
+
},
|
|
159889
160005
|
{
|
|
159890
160006
|
"kind": "field",
|
|
159891
160007
|
"name": "handleSelection",
|
|
@@ -172977,6 +173093,18 @@
|
|
|
172977
173093
|
"module": "src/select/root/select-root.ts"
|
|
172978
173094
|
}
|
|
172979
173095
|
},
|
|
173096
|
+
{
|
|
173097
|
+
"kind": "field",
|
|
173098
|
+
"name": "upgradeWatch",
|
|
173099
|
+
"privacy": "protected",
|
|
173100
|
+
"readonly": true,
|
|
173101
|
+
"default": "new UpgradeController( this, () => { this.listbox?.requestUpdate() this.requestUpdate() }, { subtree: true }, )",
|
|
173102
|
+
"description": "Hears an option upgrade after it arrived. The options are this element's\nchildren, which the listbox reaches through a slot and does not watch, so\nboth read them again: the listbox to select the one `value` names, and this\nelement for the words on its trigger.",
|
|
173103
|
+
"inheritedFrom": {
|
|
173104
|
+
"name": "HelixHeadlessSelect",
|
|
173105
|
+
"module": "src/select/root/select-root.ts"
|
|
173106
|
+
}
|
|
173107
|
+
},
|
|
172980
173108
|
{
|
|
172981
173109
|
"kind": "field",
|
|
172982
173110
|
"name": "panel",
|
|
@@ -202411,6 +202539,18 @@
|
|
|
202411
202539
|
"module": "src/tag/group/tag-group.ts"
|
|
202412
202540
|
}
|
|
202413
202541
|
},
|
|
202542
|
+
{
|
|
202543
|
+
"kind": "field",
|
|
202544
|
+
"name": "upgradeWatch",
|
|
202545
|
+
"privacy": "protected",
|
|
202546
|
+
"readonly": true,
|
|
202547
|
+
"default": "new UpgradeController(this, this.handleSlotchange)",
|
|
202548
|
+
"description": "Reads a tag again once it upgrades, so it takes its role and its place.",
|
|
202549
|
+
"inheritedFrom": {
|
|
202550
|
+
"name": "HelixHeadlessTagGroup",
|
|
202551
|
+
"module": "src/tag/group/tag-group.ts"
|
|
202552
|
+
}
|
|
202553
|
+
},
|
|
202414
202554
|
{
|
|
202415
202555
|
"kind": "field",
|
|
202416
202556
|
"name": "handleFocusin",
|
|
@@ -220112,6 +220252,17 @@
|
|
|
220112
220252
|
"module": "src/toggle/group/toggle-group.ts"
|
|
220113
220253
|
}
|
|
220114
220254
|
},
|
|
220255
|
+
{
|
|
220256
|
+
"kind": "field",
|
|
220257
|
+
"name": "upgradeWatch",
|
|
220258
|
+
"privacy": "protected",
|
|
220259
|
+
"readonly": true,
|
|
220260
|
+
"default": "new UpgradeController(this, () => this.handleItems(), { subtree: true, })",
|
|
220261
|
+
"inheritedFrom": {
|
|
220262
|
+
"name": "HelixHeadlessToggleGroup",
|
|
220263
|
+
"module": "src/toggle/group/toggle-group.ts"
|
|
220264
|
+
}
|
|
220265
|
+
},
|
|
220115
220266
|
{
|
|
220116
220267
|
"kind": "field",
|
|
220117
220268
|
"name": "handleSelection",
|
|
@@ -229615,6 +229766,17 @@
|
|
|
229615
229766
|
"module": "src/tree/root/tree-root.ts"
|
|
229616
229767
|
}
|
|
229617
229768
|
},
|
|
229769
|
+
{
|
|
229770
|
+
"kind": "field",
|
|
229771
|
+
"name": "upgradeWatch",
|
|
229772
|
+
"privacy": "protected",
|
|
229773
|
+
"readonly": true,
|
|
229774
|
+
"default": "new UpgradeController(this, () => this.syncItems(), { subtree: true, })",
|
|
229775
|
+
"inheritedFrom": {
|
|
229776
|
+
"name": "HelixHeadlessTree",
|
|
229777
|
+
"module": "src/tree/root/tree-root.ts"
|
|
229778
|
+
}
|
|
229779
|
+
},
|
|
229618
229780
|
{
|
|
229619
229781
|
"kind": "field",
|
|
229620
229782
|
"name": "focused",
|
|
@@ -240840,6 +241002,6 @@
|
|
|
240840
241002
|
],
|
|
240841
241003
|
"helix": {
|
|
240842
241004
|
"package": "@fusion.dev/helix",
|
|
240843
|
-
"version": "0.162.
|
|
241005
|
+
"version": "0.162.1"
|
|
240844
241006
|
}
|
|
240845
241007
|
}
|
|
@@ -3,6 +3,6 @@ export const styles = createSheet(`:host {--_filter-input-size: var(--filter-inp
|
|
|
3
3
|
var(--filter-input-field-border-color, var(--helix-color-border));border-radius: var(--filter-input-radius, var(--helix-radii-sm));color: var(--helix-color-foreground-subtle);display: flex;flex-wrap: wrap;gap: var(--helix-space-2xs);min-block-size: var(--_filter-input-size);padding-block: var(--helix-space-2xs);padding-inline: var(--filter-input-padding-inline, var(--helix-space-xs));transition:
|
|
4
4
|
border-color var(--helix-duration-fast) var(--helix-easing-standard),
|
|
5
5
|
background-color var(--helix-duration-fast) var(--helix-easing-standard);}::slotted([slot="tags"]) {flex: 0 0 auto;max-inline-size: 100%;}[part="control"] {flex: 1 1 var(--filter-input-control-size, 6ch);}[part="lead"] {align-items: center;align-self: stretch;border-inline-end: var(--helix-border-thin) solid
|
|
6
|
-
var(--filter-input-lead-border-color, var(--helix-color-border));display: flex;margin-block: calc(var(--helix-space-2xs) * -1);margin-inline-start: calc(var(--helix-space-xs) * -1);padding-inline: var(--helix-space-2xs)
|
|
6
|
+
var(--filter-input-lead-border-color, var(--helix-color-border));display: flex;margin-block: calc(var(--helix-space-2xs) * -1);margin-inline-start: calc(var(--helix-space-xs) * -1);padding-inline: var(--helix-space-2xs);}[part="lead"][hidden] {display: none;}[part="lead"],
|
|
7
7
|
slot[name="end"] {--button-size: var(--filter-input-action-size, var(--helix-size-tag));--icon-button-size: var(--filter-input-action-size, var(--helix-size-tag));--button-padding-inline: var(--filter-input-action-padding-inline, var(--helix-space-xs));}slot[name="start"]::slotted(*),
|
|
8
8
|
slot[name="end"]::slotted(*) {color: var(--helix-color-foreground-subtle);flex: 0 0 auto;}[part="clear"] {--icon-size: 0.85em;all: unset;align-items: center;align-self: center;border-radius: var(--helix-radii-sm);box-sizing: border-box;color: var(--filter-input-clear-color, var(--helix-color-foreground-subtle));cursor: pointer;display: flex;flex: 0 0 auto;justify-content: center;min-block-size: var(--helix-size-icon-loose);min-inline-size: var(--helix-size-icon-loose);transition: color var(--helix-duration-fast) var(--helix-easing-standard);}[part="clear"]:hover {background-color: color-mix(in oklab, currentcolor 12%, transparent);color: var(--filter-input-clear-color-hover, var(--helix-color-foreground));}[part="clear"]:focus-visible {outline: var(--helix-size-focus-ring) solid var(--helix-color-focus-ring);outline-offset: var(--helix-size-focus-offset);}:host(:disabled) [part="field"] {cursor: not-allowed;opacity: 0.5;}@media print {:host {print-color-adjust: exact;}}[part="surface"] {--_floating-border-color: var(--filter-input-border-color, var(--helix-color-border));--_floating-border-width: var(--filter-input-border-width, var(--helix-border-floating));--_floating-shadow: var(--filter-input-shadow, var(--helix-shadow-floating));box-sizing: border-box;inline-size: var(--filter-input-panel-size, var(--floating-anchor-inline-size, 100%));max-block-size: var(--floating-available-block-size, 20rem);min-inline-size: max-content;overflow-y: auto;padding-block: var(--helix-space-2xs);padding-inline: var(--helix-space-none);position: absolute;}`);
|