@fusion.dev/helix 0.187.0 → 0.188.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.json +1 -1
- package/custom-elements.json +12 -4
- package/dist/orb/shapes.d.ts +2 -2
- package/dist/table/root/table-root.d.ts +1 -0
- package/lint.json +1 -1
- package/package.json +8 -6
- package/skills/helix/SKILL.md +476 -0
- package/types/jsx.d.ts +6 -4
- package/types/vue.d.ts +1 -1
package/custom-elements.json
CHANGED
|
@@ -106569,7 +106569,7 @@
|
|
|
106569
106569
|
"text": "'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url'"
|
|
106570
106570
|
},
|
|
106571
106571
|
"default": "'text'",
|
|
106572
|
-
"description": "The kind of text the field accepts. It sets the on-screen keyboard and the\nvalidation.\n\n**Not reflected.** Reflection exists so a selector can reach a value, and\nno stylesheet
|
|
106572
|
+
"description": "The kind of text the field accepts. It sets the on-screen keyboard and the\nvalidation.\n\n**Not reflected.** Reflection exists so a selector can reach a value, and\nno Helix stylesheet selects on `type`. Reflecting it writes\n`type=\"text\"` onto every `<helix-headless-input>` ever rendered, an\nattribute no consumer's markup has, which is the fault the area rules write\nup under `Button`'s `href`, `target` and `rel`.\n\nNothing reads it from the attribute either. The real `<input>` inside takes\nit as a property binding, which is what makes the keyboard and the\nvalidation follow.",
|
|
106573
106573
|
"attribute": "type",
|
|
106574
106574
|
"inheritedFrom": {
|
|
106575
106575
|
"name": "HelixHeadlessInput",
|
|
@@ -107841,7 +107841,7 @@
|
|
|
107841
107841
|
"text": "'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url'"
|
|
107842
107842
|
},
|
|
107843
107843
|
"default": "'text'",
|
|
107844
|
-
"description": "The kind of text the field accepts. It sets the on-screen keyboard and the\nvalidation.\n\n**Not reflected.** Reflection exists so a selector can reach a value, and\nno stylesheet
|
|
107844
|
+
"description": "The kind of text the field accepts. It sets the on-screen keyboard and the\nvalidation.\n\n**Not reflected.** Reflection exists so a selector can reach a value, and\nno Helix stylesheet selects on `type`. Reflecting it writes\n`type=\"text\"` onto every `<helix-headless-input>` ever rendered, an\nattribute no consumer's markup has, which is the fault the area rules write\nup under `Button`'s `href`, `target` and `rel`.\n\nNothing reads it from the attribute either. The real `<input>` inside takes\nit as a property binding, which is what makes the keyboard and the\nvalidation follow.",
|
|
107845
107845
|
"fieldName": "type",
|
|
107846
107846
|
"inheritedFrom": {
|
|
107847
107847
|
"name": "HelixHeadlessInput",
|
|
@@ -208511,6 +208511,14 @@
|
|
|
208511
208511
|
"module": "src/table/root/table-root.ts"
|
|
208512
208512
|
}
|
|
208513
208513
|
},
|
|
208514
|
+
{
|
|
208515
|
+
"description": "The columns, as `TableColumn` elements. The table moves each column here itself, so markup that runs in a browser leaves it out; a server-rendered page writes `slot=\"columns\"` on each column so the headings sit in place before the table upgrades.",
|
|
208516
|
+
"name": "columns",
|
|
208517
|
+
"inheritedFrom": {
|
|
208518
|
+
"name": "HelixHeadlessTable",
|
|
208519
|
+
"module": "src/table/root/table-root.ts"
|
|
208520
|
+
}
|
|
208521
|
+
},
|
|
208514
208522
|
{
|
|
208515
208523
|
"description": "Content shown when there are no rows and none are loading, such as a picture and a link. Falls back to `empty-text`, which the live region still says.",
|
|
208516
208524
|
"name": "empty",
|
|
@@ -210366,7 +210374,7 @@
|
|
|
210366
210374
|
},
|
|
210367
210375
|
"static": true,
|
|
210368
210376
|
"default": "{ ...HelixElement.shadowRootOptions, slotAssignment: 'manual', }",
|
|
210369
|
-
"description": "Nothing is assigned by name, so the columns can be put in a row.\n\nThe table pattern is `table > row > columnheader`, and a header cell\nlanding directly under `role=\"table\"` with no owning row is invalid: it is\na cell belonging to nothing. The columns are ordinary children the consumer\nwrites with no `slot`, so the only way to put a wrapper around them without\nchanging what a consumer writes is to assign them here.\n\nManual rather than a `slot` attribute this element would set on the\nconsumer's own markup, which is the change a React consumer's hydration\nreports and does not patch up. Assignment writes nothing at all.\n\nSafe against the server because
|
|
210377
|
+
"description": "Nothing is assigned by name, so the columns can be put in a row.\n\nThe table pattern is `table > row > columnheader`, and a header cell\nlanding directly under `role=\"table\"` with no owning row is invalid: it is\na cell belonging to nothing. The columns are ordinary children the consumer\nwrites with no `slot`, so the only way to put a wrapper around them without\nchanging what a consumer writes is to assign them here.\n\nManual rather than a `slot` attribute this element would set on the\nconsumer's own markup, which is the change a React consumer's hydration\nreports and does not patch up. Assignment writes nothing at all.\n\nSafe against the server because Helix ships no declarative shadow DOM:\nthe shadow root exists only after upgrade, and the assignment below runs in\nthat same update. There is no window in which the shadow is present and the\nassignment has not happened.",
|
|
210370
210378
|
"inheritedFrom": {
|
|
210371
210379
|
"name": "HelixHeadlessTable",
|
|
210372
210380
|
"module": "src/table/root/table-root.ts"
|
|
@@ -256683,6 +256691,6 @@
|
|
|
256683
256691
|
],
|
|
256684
256692
|
"helix": {
|
|
256685
256693
|
"package": "@fusion.dev/helix",
|
|
256686
|
-
"version": "0.
|
|
256694
|
+
"version": "0.188.0"
|
|
256687
256695
|
}
|
|
256688
256696
|
}
|
package/dist/orb/shapes.d.ts
CHANGED
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
* the text somebody wrote, so `(typeof ORB_STATES)[number]` reached it as a name
|
|
7
7
|
* with no values in it and the reference page listed none: a reader was told the
|
|
8
8
|
* attribute takes an `OrbState` and left to find out what one is. A union on one
|
|
9
|
-
* line is what every reader of
|
|
10
|
-
*
|
|
9
|
+
* line is what every reader of the source can resolve, a lint rule included,
|
|
10
|
+
* and no type system is needed to do it.
|
|
11
11
|
*/
|
|
12
12
|
export type OrbState = 'waiting' | 'connecting' | 'thinking' | 'fetching' | 'listening' | 'working' | 'done';
|
|
13
13
|
/**
|
|
@@ -14,6 +14,7 @@ import '../../checkbox/index.js';
|
|
|
14
14
|
* @documentation https://fusion.dev/helix/components/table
|
|
15
15
|
*
|
|
16
16
|
* @slot - The table's rows.
|
|
17
|
+
* @slot columns - The columns, as `TableColumn` elements. The table moves each column here itself, so markup that runs in a browser leaves it out; a server-rendered page writes `slot="columns"` on each column so the headings sit in place before the table upgrades.
|
|
17
18
|
* @slot empty - Content shown when there are no rows and none are loading, such as a picture and a link. Falls back to `empty-text`, which the live region still says.
|
|
18
19
|
* @slot error - Content shown while `error-text` is set, such as a button that tries again. Falls back to `error-text`, which the live region still says.
|
|
19
20
|
* @slot heading - Words that name the table, shown above it in the weight of a heading.
|