@fusion.dev/helix 0.4.6 → 0.4.7
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 +1 -1
- package/package.json +6 -6
- package/types/jsx.d.ts +26 -2
package/custom-elements.json
CHANGED
|
@@ -53889,7 +53889,7 @@
|
|
|
53889
53889
|
"type": {
|
|
53890
53890
|
"text": "string"
|
|
53891
53891
|
},
|
|
53892
|
-
"description": "The words, for a listbox that has to match text against them.\n\nRead from the rendered content rather than required as a property, because\nthe content is where a consumer naturally puts it and asking for both is\nasking for two things to disagree.\n\n**The default slot's content, never `this.textContent`.** An option holds\nthree slots: the words, plus `start` for an icon and `end` for a shortcut\nor a count. Neither of the latter two is what a reader searched for, and\n`textContent` runs both onto the end of it. Measured on a font picker whose\noptions carry a two-letter specimen in `end`: the field read\n`Noto Sans Linear BAg`, and typing `ag` matched 1,892 of 1,893 options,\nevery row containing the sample. An option with a keyboard shortcut in its\nend slot has the same fault and a worse one, every row carrying one matching\nevery letter of it.\n\nSix things read this: the collapsed field of Select and of Combobox, the\nlistbox's filter, Combobox's match against typed text, its inline\ncompletion, and the label on a chosen tag.\n\nA node goes to the default slot when it names no other, which is the rule\nthe platform applies at assignment. Asking the same question here rather\nthan a second one is what stops the two disagreeing. Text nodes are\nalways the default slot's and cannot say otherwise.",
|
|
53892
|
+
"description": "The words, for a listbox that has to match text against them.\n\nRead from the rendered content rather than required as a property, because\nthe content is where a consumer naturally puts it and asking for both is\nasking for two things to disagree.\n\n**The default slot's content, never `this.textContent`.** An option holds\nthree slots: the words, plus `start` for an icon and `end` for a shortcut\nor a count. Neither of the latter two is what a reader searched for, and\n`textContent` runs both onto the end of it. Measured on a font picker whose\noptions carry a two-letter specimen in `end`: the field read\n`Noto Sans Linear BAg`, and typing `ag` matched 1,892 of 1,893 options,\nevery row containing the sample. An option with a keyboard shortcut in its\nend slot has the same fault and a worse one, every row carrying one matching\nevery letter of it.\n\nSix things read this: the collapsed field of Select and of Combobox, the\nlistbox's filter, Combobox's match against typed text, its inline\ncompletion, and the label on a chosen tag.\n\nA node goes to the default slot when it names no other, which is the rule\nthe platform applies at assignment. Asking the same question here rather\nthan a second one is what stops the two disagreeing. Text nodes are\nalways the default slot's and cannot say otherwise.\n\n**Text and elements, named rather than \"not an element\".** The filter read\n`!(node instanceof Element) || node.slot === ''`, which admits a comment,\nand `textContent` on a comment is the comment's own body. Every option Lit\nrenders carries one: a child binding is marked with `<!--?lit$1234$-->`, so\nan option written as `` html`<${option}>${size}</${option}>` `` read back as\n`?lit$090648746$25`. Measured in `pagination/footer`, where the trigger\npainted exactly that instead of `25`, on both twins.\n\nIt is worse than one wrong label, because of the six readers listed above:\nthe filter and Combobox's match compare against this string, so a marker in\nit is in every comparison too.",
|
|
53893
53893
|
"readonly": true,
|
|
53894
53894
|
"inheritedFrom": {
|
|
53895
53895
|
"name": "HelixHeadlessOption",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fusion.dev/helix",
|
|
3
3
|
"description": "Styled component tier. Extends the headless tier with token-driven presentation.",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.7",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Ross Sheppard <ross.sheppard@fusion.dev>",
|
|
7
7
|
"repository": {
|
|
@@ -46,14 +46,14 @@
|
|
|
46
46
|
},
|
|
47
47
|
"bugs": "https://github.com/project-fusion/fusion/issues",
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@fusion.dev/helix-core": "0.4.
|
|
50
|
-
"@fusion.dev/helix-headless": "0.4.
|
|
51
|
-
"@fusion.dev/helix-styles": "0.4.
|
|
49
|
+
"@fusion.dev/helix-core": "0.4.7",
|
|
50
|
+
"@fusion.dev/helix-headless": "0.4.7",
|
|
51
|
+
"@fusion.dev/helix-styles": "0.4.7"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@custom-elements-manifest/analyzer": "^0.11.0",
|
|
55
|
-
"@fusion.dev/helix-cem": "0.4.
|
|
56
|
-
"@fusion.dev/helix-testing": "0.4.
|
|
55
|
+
"@fusion.dev/helix-cem": "0.4.7",
|
|
56
|
+
"@fusion.dev/helix-testing": "0.4.7",
|
|
57
57
|
"@fusion.dev/scripts": "0.0.0-dev",
|
|
58
58
|
"@happy-dom/global-registrator": "^20.0.0",
|
|
59
59
|
"@lit-labs/ssr": "^3.3.0",
|
package/types/jsx.d.ts
CHANGED
|
@@ -26555,7 +26555,19 @@ export type CustomElements = {
|
|
|
26555
26555
|
* A node goes to the default slot when it names no other, which is the rule
|
|
26556
26556
|
* the platform applies at assignment. Asking the same question here rather
|
|
26557
26557
|
* than a second one is what stops the two disagreeing. Text nodes are
|
|
26558
|
-
* always the default slot's and cannot say otherwise.
|
|
26558
|
+
* always the default slot's and cannot say otherwise.
|
|
26559
|
+
*
|
|
26560
|
+
* **Text and elements, named rather than "not an element".** The filter read
|
|
26561
|
+
* `!(node instanceof Element) || node.slot === ''`, which admits a comment,
|
|
26562
|
+
* and `textContent` on a comment is the comment's own body. Every option Lit
|
|
26563
|
+
* renders carries one: a child binding is marked with `<!--?lit$1234$-->`, so
|
|
26564
|
+
* an option written as `` html`<${option}>${size}</${option}>` `` read back as
|
|
26565
|
+
* `?lit$090648746$25`. Measured in `pagination/footer`, where the trigger
|
|
26566
|
+
* painted exactly that instead of `25`, on both twins.
|
|
26567
|
+
*
|
|
26568
|
+
* It is worse than one wrong label, because of the six readers listed above:
|
|
26569
|
+
* the filter and Combobox's match compare against this string, so a marker in
|
|
26570
|
+
* it is in every comparison too. (property only) (readonly)
|
|
26559
26571
|
* - `whenSettled`: Resolves a frame after the first update, when transitions are switched on.
|
|
26560
26572
|
*
|
|
26561
26573
|
* **Named `whenSettled` because `settled` is taken four times over**, by
|
|
@@ -42314,7 +42326,19 @@ export type CustomElementsSolidJs = {
|
|
|
42314
42326
|
* A node goes to the default slot when it names no other, which is the rule
|
|
42315
42327
|
* the platform applies at assignment. Asking the same question here rather
|
|
42316
42328
|
* than a second one is what stops the two disagreeing. Text nodes are
|
|
42317
|
-
* always the default slot's and cannot say otherwise.
|
|
42329
|
+
* always the default slot's and cannot say otherwise.
|
|
42330
|
+
*
|
|
42331
|
+
* **Text and elements, named rather than "not an element".** The filter read
|
|
42332
|
+
* `!(node instanceof Element) || node.slot === ''`, which admits a comment,
|
|
42333
|
+
* and `textContent` on a comment is the comment's own body. Every option Lit
|
|
42334
|
+
* renders carries one: a child binding is marked with `<!--?lit$1234$-->`, so
|
|
42335
|
+
* an option written as `` html`<${option}>${size}</${option}>` `` read back as
|
|
42336
|
+
* `?lit$090648746$25`. Measured in `pagination/footer`, where the trigger
|
|
42337
|
+
* painted exactly that instead of `25`, on both twins.
|
|
42338
|
+
*
|
|
42339
|
+
* It is worse than one wrong label, because of the six readers listed above:
|
|
42340
|
+
* the filter and Combobox's match compare against this string, so a marker in
|
|
42341
|
+
* it is in every comparison too. (property only) (readonly)
|
|
42318
42342
|
* - `whenSettled`: Resolves a frame after the first update, when transitions are switched on.
|
|
42319
42343
|
*
|
|
42320
42344
|
* **Named `whenSettled` because `settled` is taken four times over**, by
|