@fusion.dev/helix-headless 0.15.5 → 0.15.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
CHANGED
|
@@ -50199,7 +50199,7 @@
|
|
|
50199
50199
|
"name": ""
|
|
50200
50200
|
},
|
|
50201
50201
|
{
|
|
50202
|
-
"description": "A mark shown beside them, or instead of them under `
|
|
50202
|
+
"description": "A mark shown beside them, or instead of them under `variant=\"chip\"`, where the words become the accessible name and the mark is what a reader picks between. Separate from the default slot because the chip has to hide one and show the other, and they are both in the same place otherwise.",
|
|
50203
50203
|
"name": "icon"
|
|
50204
50204
|
}
|
|
50205
50205
|
],
|
|
@@ -27,7 +27,7 @@ import { type PropertyValues, type TemplateResult } from 'lit';
|
|
|
27
27
|
*
|
|
28
28
|
* @slot - The words naming this choice.
|
|
29
29
|
* @slot icon - A mark shown beside them, or instead of them under
|
|
30
|
-
* `
|
|
30
|
+
* `variant="chip"`, where the words become the accessible name and the mark
|
|
31
31
|
* is what a reader picks between. Separate from the default slot because the
|
|
32
32
|
* chip has to hide one and show the other, and they are both in the same place
|
|
33
33
|
* otherwise.
|
package/dist/steps/step/step.js
CHANGED
|
@@ -41,7 +41,7 @@ let HelixHeadlessStep = class HelixHeadlessStep extends HelixElement {
|
|
|
41
41
|
return html `<${this.tag('button')}
|
|
42
42
|
part="label"
|
|
43
43
|
exportparts="button: label-button"
|
|
44
|
-
|
|
44
|
+
emphasis="ghost"
|
|
45
45
|
?disabled=${this.disabled}
|
|
46
46
|
@click=${this.select}
|
|
47
47
|
>
|
|
@@ -238,7 +238,7 @@ let HelixHeadlessTimeInput = class HelixHeadlessTimeInput extends MixinControlle
|
|
|
238
238
|
option-label: picker-option-label, option-text: picker-option-text"
|
|
239
239
|
?invalid=${this.resolvedFeedback !== ''}
|
|
240
240
|
mode=${this.mode ?? nothing}
|
|
241
|
-
|
|
241
|
+
variant=${this.variant ?? nothing}
|
|
242
242
|
label=${this.label || 'Time'}
|
|
243
243
|
locale=${this.locale || nothing}
|
|
244
244
|
max=${this.max}
|
|
@@ -49,7 +49,7 @@ let HelixHeadlessTourStop = class HelixHeadlessTourStop extends HelixElement {
|
|
|
49
49
|
return html `<slot name="actions">
|
|
50
50
|
<${this.tag('button')}
|
|
51
51
|
part="skip"
|
|
52
|
-
exportparts="button: skip-button"
|
|
52
|
+
exportparts="button: skip-button" emphasis="ghost" @click=${() => this.ask('skip')}>
|
|
53
53
|
${this.skipLabel}
|
|
54
54
|
</${this.tag('button')}>
|
|
55
55
|
${this.first
|
|
@@ -57,7 +57,7 @@ let HelixHeadlessTourStop = class HelixHeadlessTourStop extends HelixElement {
|
|
|
57
57
|
: html `<${this.tag('button')}
|
|
58
58
|
part="back"
|
|
59
59
|
exportparts="button: back-button"
|
|
60
|
-
|
|
60
|
+
emphasis="outlined"
|
|
61
61
|
@click=${() => this.ask('back')}
|
|
62
62
|
>
|
|
63
63
|
${this.backLabel}
|
|
@@ -65,7 +65,7 @@ let HelixHeadlessTourStop = class HelixHeadlessTourStop extends HelixElement {
|
|
|
65
65
|
<${this.tag('button')}
|
|
66
66
|
part="next"
|
|
67
67
|
exportparts="button: next-button"
|
|
68
|
-
|
|
68
|
+
emphasis="solid"
|
|
69
69
|
tone="primary"
|
|
70
70
|
@click=${() => this.ask('next')}
|
|
71
71
|
>
|
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.15.
|
|
4
|
+
"version": "0.15.7",
|
|
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.15.
|
|
49
|
-
"@fusion.dev/helix-icons": "0.15.
|
|
48
|
+
"@fusion.dev/helix-core": "0.15.7",
|
|
49
|
+
"@fusion.dev/helix-icons": "0.15.7",
|
|
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.15.
|
|
55
|
-
"@fusion.dev/helix-testing": "0.15.
|
|
54
|
+
"@fusion.dev/helix-cem": "0.15.7",
|
|
55
|
+
"@fusion.dev/helix-testing": "0.15.7",
|
|
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
|
@@ -25000,7 +25000,7 @@ export type CustomElements = {
|
|
|
25000
25000
|
* Areas where markup can be added to the component.
|
|
25001
25001
|
*
|
|
25002
25002
|
* - `(default)`: The words naming this choice.
|
|
25003
|
-
* - `icon`: A mark shown beside them, or instead of them under `
|
|
25003
|
+
* - `icon`: A mark shown beside them, or instead of them under `variant="chip"`, where the words become the accessible name and the mark is what a reader picks between. Separate from the default slot because the chip has to hide one and show the other, and they are both in the same place otherwise.
|
|
25004
25004
|
*
|
|
25005
25005
|
* ## Methods
|
|
25006
25006
|
*
|
|
@@ -39573,7 +39573,7 @@ export type CustomElementsSolidJs = {
|
|
|
39573
39573
|
* Areas where markup can be added to the component.
|
|
39574
39574
|
*
|
|
39575
39575
|
* - `(default)`: The words naming this choice.
|
|
39576
|
-
* - `icon`: A mark shown beside them, or instead of them under `
|
|
39576
|
+
* - `icon`: A mark shown beside them, or instead of them under `variant="chip"`, where the words become the accessible name and the mark is what a reader picks between. Separate from the default slot because the chip has to hide one and show the other, and they are both in the same place otherwise.
|
|
39577
39577
|
*
|
|
39578
39578
|
* ## Methods
|
|
39579
39579
|
*
|