@fusion.dev/helix-headless 0.21.0 → 0.22.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
CHANGED
|
@@ -3777,7 +3777,7 @@
|
|
|
3777
3777
|
"name": ""
|
|
3778
3778
|
},
|
|
3779
3779
|
{
|
|
3780
|
-
"description": "After
|
|
3780
|
+
"description": "After the label and outside the link, so it may be a control: this is where a switcher's menu trigger goes. A count or a mark is equally at home here and is no longer read into the link's accessible name.",
|
|
3781
3781
|
"name": "end"
|
|
3782
3782
|
},
|
|
3783
3783
|
{
|
|
@@ -37,7 +37,9 @@ import { type PropertyValues, type TemplateResult } from 'lit';
|
|
|
37
37
|
* @slot - The step's label. Without an `href` this may be the consumer's own
|
|
38
38
|
* anchor, styled with `data-link="quiet"`, since a slotted anchor belongs to the
|
|
39
39
|
* outer tree and cannot be reached from this component's styles.
|
|
40
|
-
* @slot end - After
|
|
40
|
+
* @slot end - After the label and outside the link, so it may be a control: this is where a
|
|
41
|
+
* switcher's menu trigger goes. A count or a mark is equally at home here and is no longer
|
|
42
|
+
* read into the link's accessible name.
|
|
41
43
|
* @slot separator - Replaces the chevron shown before this item.
|
|
42
44
|
* @slot start - Before the label, for an icon.
|
|
43
45
|
*
|
|
@@ -29,7 +29,7 @@ let HelixHeadlessBreadcrumb = class HelixHeadlessBreadcrumb extends HelixElement
|
|
|
29
29
|
>`;
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
|
-
const label = html `<slot name="start"></slot><slot></slot
|
|
32
|
+
const label = html `<slot name="start"></slot><slot></slot>`;
|
|
33
33
|
const linked = (this.href ?? '') !== '' && !this.current;
|
|
34
34
|
return html `<span part="separator" aria-hidden="true"
|
|
35
35
|
>${this.renderSeparator()}</span
|
|
@@ -41,7 +41,7 @@ let HelixHeadlessBreadcrumb = class HelixHeadlessBreadcrumb extends HelixElement
|
|
|
41
41
|
rel=${this.rel || nothing}
|
|
42
42
|
>${label}</a
|
|
43
43
|
>`
|
|
44
|
-
: html `<span part="link">${label}</span>`}
|
|
44
|
+
: html `<span part="link">${label}</span>`}<slot name="end"></slot>`;
|
|
45
45
|
}
|
|
46
46
|
};
|
|
47
47
|
__decorate([
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fusion.dev/helix-headless",
|
|
3
3
|
"description": "Headless component tier. Structure, accessibility, state, and form participation. No styling.",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.22.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Ross Sheppard <ross.sheppard@fusion.dev>",
|
|
7
7
|
"repository": {
|
|
@@ -45,14 +45,14 @@
|
|
|
45
45
|
},
|
|
46
46
|
"bugs": "https://github.com/project-fusion/fusion/issues",
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@fusion.dev/helix-core": "0.
|
|
49
|
-
"@fusion.dev/helix-icons": "0.
|
|
48
|
+
"@fusion.dev/helix-core": "0.22.0",
|
|
49
|
+
"@fusion.dev/helix-icons": "0.22.0",
|
|
50
50
|
"uqr": "^0.1.3"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@custom-elements-manifest/analyzer": "^0.11.0",
|
|
54
|
-
"@fusion.dev/helix-cem": "0.
|
|
55
|
-
"@fusion.dev/helix-testing": "0.
|
|
54
|
+
"@fusion.dev/helix-cem": "0.22.0",
|
|
55
|
+
"@fusion.dev/helix-testing": "0.22.0",
|
|
56
56
|
"@fusion.dev/scripts": "0.0.0-dev",
|
|
57
57
|
"@happy-dom/global-registrator": "^20.0.0",
|
|
58
58
|
"@lit-labs/ssr": "^3.3.0",
|
package/types/jsx.d.ts
CHANGED
|
@@ -16544,7 +16544,7 @@ export type CustomElements = {
|
|
|
16544
16544
|
* Areas where markup can be added to the component.
|
|
16545
16545
|
*
|
|
16546
16546
|
* - `(default)`: The step's label. Without an `href` this may be the consumer's own anchor, styled with `data-link="quiet"`, since a slotted anchor belongs to the outer tree and cannot be reached from this component's styles.
|
|
16547
|
-
* - `end`: After
|
|
16547
|
+
* - `end`: After the label and outside the link, so it may be a control: this is where a switcher's menu trigger goes. A count or a mark is equally at home here and is no longer read into the link's accessible name.
|
|
16548
16548
|
* - `separator`: Replaces the chevron shown before this item.
|
|
16549
16549
|
* - `start`: Before the label, for an icon.
|
|
16550
16550
|
*
|
|
@@ -31007,7 +31007,7 @@ export type CustomElementsSolidJs = {
|
|
|
31007
31007
|
* Areas where markup can be added to the component.
|
|
31008
31008
|
*
|
|
31009
31009
|
* - `(default)`: The step's label. Without an `href` this may be the consumer's own anchor, styled with `data-link="quiet"`, since a slotted anchor belongs to the outer tree and cannot be reached from this component's styles.
|
|
31010
|
-
* - `end`: After
|
|
31010
|
+
* - `end`: After the label and outside the link, so it may be a control: this is where a switcher's menu trigger goes. A count or a mark is equally at home here and is no longer read into the link's accessible name.
|
|
31011
31011
|
* - `separator`: Replaces the chevron shown before this item.
|
|
31012
31012
|
* - `start`: Before the label, for an icon.
|
|
31013
31013
|
*
|