@fusion.dev/helix 0.35.1 → 0.37.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 +21 -13
- package/dist/color-input/root/color-input-root.d.ts +2 -2
- package/dist/date-input/root/date-input-root.d.ts +1 -1
- package/dist/input/root/input-root.d.ts +6 -3
- package/dist/listbox/root/listbox-root.d.ts +1 -1
- package/dist/number-input/root/number-input-root.d.ts +1 -1
- package/dist/rating/root/rating-root.d.ts +1 -1
- package/dist/select/root/select-root.d.ts +1 -1
- package/dist/time-input/root/time-input-root.d.ts +1 -1
- package/package.json +6 -6
- package/types/jsx.d.ts +23 -45
- package/types/vue.d.ts +5 -15
package/custom-elements.json
CHANGED
|
@@ -22305,7 +22305,7 @@
|
|
|
22305
22305
|
"name": "--color-input-swatch-radius"
|
|
22306
22306
|
},
|
|
22307
22307
|
{
|
|
22308
|
-
"description": "Edge length of the block in `
|
|
22308
|
+
"description": "Edge length of the block in `variant=\"swatch\"`.",
|
|
22309
22309
|
"name": "--color-input-swatch-size"
|
|
22310
22310
|
},
|
|
22311
22311
|
{
|
|
@@ -23686,7 +23686,7 @@
|
|
|
23686
23686
|
"helix": {
|
|
23687
23687
|
"category": "forms",
|
|
23688
23688
|
"since": "0.1.0",
|
|
23689
|
-
"status": "
|
|
23689
|
+
"status": "stable",
|
|
23690
23690
|
"documentation": "https://fusion.dev/helix/components/color-input",
|
|
23691
23691
|
"aliases": [
|
|
23692
23692
|
"ColorField",
|
|
@@ -35765,7 +35765,7 @@
|
|
|
35765
35765
|
"helix": {
|
|
35766
35766
|
"category": "forms",
|
|
35767
35767
|
"since": "0.1.0",
|
|
35768
|
-
"status": "
|
|
35768
|
+
"status": "stable",
|
|
35769
35769
|
"documentation": "https://fusion.dev/helix/components/date-input",
|
|
35770
35770
|
"aliases": [
|
|
35771
35771
|
"DatePicker",
|
|
@@ -58602,7 +58602,7 @@
|
|
|
58602
58602
|
"declarations": [
|
|
58603
58603
|
{
|
|
58604
58604
|
"kind": "class",
|
|
58605
|
-
"description": "The frame is the field rather than the input, so anything slotted at either\nend sits inside the same box as the text and the focus ring is drawn once,\naround the whole control, instead of around a smaller box within it.\n\nThe input itself is the native one, stripped rather than replaced, so the\ncaret, the selection, the autofill, and the keyboard a phone chooses are all\nthe platform's.\n\nHeight comes from the region, like every other control: `data-density` on\nwhatever holds it, not a `size` here. Invalid styling waits for
|
|
58605
|
+
"description": "The frame is the field rather than the input, so anything slotted at either\nend sits inside the same box as the text and the focus ring is drawn once,\naround the whole control, instead of around a smaller box within it.\n\nThe input itself is the native one, stripped rather than replaced, so the\ncaret, the selection, the autofill, and the keyboard a phone chooses are all\nthe platform's.\n\nHeight comes from the region, like every other control: `data-density` on\nwhatever holds it, not a `size` here. Invalid styling waits for the `invalid`\ncustom state, because a field is not wrong before anyone has filled it in and\n`:user-invalid` cannot answer that here: it tracks the control the reader is\nin, which is inside this shadow root, so it never reaches the host the rule\nselects on.",
|
|
58606
58606
|
"name": "HelixInput",
|
|
58607
58607
|
"cssProperties": [
|
|
58608
58608
|
{
|
|
@@ -59091,7 +59091,7 @@
|
|
|
59091
59091
|
"text": "boolean"
|
|
59092
59092
|
},
|
|
59093
59093
|
"default": "false",
|
|
59094
|
-
"description": "Whether the field refuses input while still submitting its value.\n\n**The attribute is `readonly`, which is the platform's spelling.** A\ncamelCase property needs an explicit `attribute`, and dash-casing a word\nHTML writes as one costs what an attribute always costs here: nothing\nwarns. `<helix-input readonly>` is what anybody who has written HTML types;\nagainst `read-only` it parses to no property at all, and the field stays\neditable with no error anywhere. Measured on the dash-cased form, `readOnly`\ncame back `false
|
|
59094
|
+
"description": "Whether the field refuses input while still submitting its value.\n\n**The attribute is `readonly`, which is the platform's spelling.** A\ncamelCase property needs an explicit `attribute`, and dash-casing a word\nHTML writes as one costs what an attribute always costs here: nothing\nwarns. `<helix-input readonly>` is what anybody who has written HTML types;\nagainst `read-only` it parses to no property at all, and the field stays\neditable with no error anywhere. Measured on the dash-cased form, `readOnly`\ncame back `false`.",
|
|
59095
59095
|
"attribute": "readonly",
|
|
59096
59096
|
"reflects": true,
|
|
59097
59097
|
"inheritedFrom": {
|
|
@@ -59877,7 +59877,7 @@
|
|
|
59877
59877
|
"helix": {
|
|
59878
59878
|
"category": "forms",
|
|
59879
59879
|
"since": "0.1.0",
|
|
59880
|
-
"status": "
|
|
59880
|
+
"status": "stable",
|
|
59881
59881
|
"documentation": "https://fusion.dev/helix/components/input",
|
|
59882
59882
|
"aliases": [
|
|
59883
59883
|
"TextField",
|
|
@@ -60102,7 +60102,7 @@
|
|
|
60102
60102
|
"text": "boolean"
|
|
60103
60103
|
},
|
|
60104
60104
|
"default": "false",
|
|
60105
|
-
"description": "Whether the field refuses input while still submitting its value.\n\n**The attribute is `readonly`, which is the platform's spelling.** A\ncamelCase property needs an explicit `attribute`, and dash-casing a word\nHTML writes as one costs what an attribute always costs here: nothing\nwarns. `<helix-input readonly>` is what anybody who has written HTML types;\nagainst `read-only` it parses to no property at all, and the field stays\neditable with no error anywhere. Measured on the dash-cased form, `readOnly`\ncame back `false
|
|
60105
|
+
"description": "Whether the field refuses input while still submitting its value.\n\n**The attribute is `readonly`, which is the platform's spelling.** A\ncamelCase property needs an explicit `attribute`, and dash-casing a word\nHTML writes as one costs what an attribute always costs here: nothing\nwarns. `<helix-input readonly>` is what anybody who has written HTML types;\nagainst `read-only` it parses to no property at all, and the field stays\neditable with no error anywhere. Measured on the dash-cased form, `readOnly`\ncame back `false`.",
|
|
60106
60106
|
"fieldName": "readOnly",
|
|
60107
60107
|
"inheritedFrom": {
|
|
60108
60108
|
"name": "HelixHeadlessInput",
|
|
@@ -65737,7 +65737,7 @@
|
|
|
65737
65737
|
"helix": {
|
|
65738
65738
|
"category": "forms",
|
|
65739
65739
|
"since": "0.1.0",
|
|
65740
|
-
"status": "
|
|
65740
|
+
"status": "stable",
|
|
65741
65741
|
"documentation": "https://fusion.dev/helix/components/listbox",
|
|
65742
65742
|
"aliases": [
|
|
65743
65743
|
"Options",
|
|
@@ -66016,6 +66016,14 @@
|
|
|
66016
66016
|
"module": "src/listbox/root/listbox-root.ts"
|
|
66017
66017
|
}
|
|
66018
66018
|
},
|
|
66019
|
+
{
|
|
66020
|
+
"description": "The mark in the filter's field. Left empty, a magnifier is drawn.",
|
|
66021
|
+
"name": "filter-icon",
|
|
66022
|
+
"inheritedFrom": {
|
|
66023
|
+
"name": "HelixHeadlessListbox",
|
|
66024
|
+
"module": "src/listbox/root/listbox-root.ts"
|
|
66025
|
+
}
|
|
66026
|
+
},
|
|
66019
66027
|
{
|
|
66020
66028
|
"description": "Richer than a string.",
|
|
66021
66029
|
"name": "hint",
|
|
@@ -76055,7 +76063,7 @@
|
|
|
76055
76063
|
"helix": {
|
|
76056
76064
|
"category": "forms",
|
|
76057
76065
|
"since": "0.1.0",
|
|
76058
|
-
"status": "
|
|
76066
|
+
"status": "stable",
|
|
76059
76067
|
"documentation": "https://fusion.dev/helix/components/number-input",
|
|
76060
76068
|
"aliases": [
|
|
76061
76069
|
"NumberField",
|
|
@@ -90465,7 +90473,7 @@
|
|
|
90465
90473
|
"type": {
|
|
90466
90474
|
"text": "'dots' | 'marks' | undefined"
|
|
90467
90475
|
},
|
|
90468
|
-
"description": "Which mark the row is drawn with.\n\n`marks` is the star, and is what a rating means to most readers. `dots`\ndrops the glyph for a plain circle, which says how much rather than how\ngood: a star carries a judgment that a level of spice, a difficulty or a\nconfidence has not earned.\n\nBoth are one shape repeated and clipped to the score, so halves work in\neither, and both are only a choice of drawing. A scale whose marks are\n*different* drawings is a set of choices rather than a quantity: that is\n`Radio.Group`, whose options already carry a value and a name each.\n\n**Undefaulted, because it reflects.** A default of `marks` writes\n`
|
|
90476
|
+
"description": "Which mark the row is drawn with.\n\n`marks` is the star, and is what a rating means to most readers. `dots`\ndrops the glyph for a plain circle, which says how much rather than how\ngood: a star carries a judgment that a level of spice, a difficulty or a\nconfidence has not earned.\n\nBoth are one shape repeated and clipped to the score, so halves work in\neither, and both are only a choice of drawing. A scale whose marks are\n*different* drawings is a set of choices rather than a quantity: that is\n`Radio.Group`, whose options already carry a value and a name each.\n\n**Undefaulted, because it reflects.** A default of `marks` writes\n`variant=\"marks\"` onto every server-rendered rating, which React holds no\nprop for and reports as a hydration mismatch. The stylesheet names only\n`dots`, so an unset one draws marks anyway.",
|
|
90469
90477
|
"attribute": "variant",
|
|
90470
90478
|
"reflects": true
|
|
90471
90479
|
},
|
|
@@ -91684,7 +91692,7 @@
|
|
|
91684
91692
|
"type": {
|
|
91685
91693
|
"text": "'dots' | 'marks' | undefined"
|
|
91686
91694
|
},
|
|
91687
|
-
"description": "Which mark the row is drawn with.\n\n`marks` is the star, and is what a rating means to most readers. `dots`\ndrops the glyph for a plain circle, which says how much rather than how\ngood: a star carries a judgment that a level of spice, a difficulty or a\nconfidence has not earned.\n\nBoth are one shape repeated and clipped to the score, so halves work in\neither, and both are only a choice of drawing. A scale whose marks are\n*different* drawings is a set of choices rather than a quantity: that is\n`Radio.Group`, whose options already carry a value and a name each.\n\n**Undefaulted, because it reflects.** A default of `marks` writes\n`
|
|
91695
|
+
"description": "Which mark the row is drawn with.\n\n`marks` is the star, and is what a rating means to most readers. `dots`\ndrops the glyph for a plain circle, which says how much rather than how\ngood: a star carries a judgment that a level of spice, a difficulty or a\nconfidence has not earned.\n\nBoth are one shape repeated and clipped to the score, so halves work in\neither, and both are only a choice of drawing. A scale whose marks are\n*different* drawings is a set of choices rather than a quantity: that is\n`Radio.Group`, whose options already carry a value and a name each.\n\n**Undefaulted, because it reflects.** A default of `marks` writes\n`variant=\"marks\"` onto every server-rendered rating, which React holds no\nprop for and reports as a hydration mismatch. The stylesheet names only\n`dots`, so an unset one draws marks anyway.",
|
|
91688
91696
|
"fieldName": "variant"
|
|
91689
91697
|
},
|
|
91690
91698
|
{
|
|
@@ -98998,7 +99006,7 @@
|
|
|
98998
99006
|
"helix": {
|
|
98999
99007
|
"category": "forms",
|
|
99000
99008
|
"since": "0.1.0",
|
|
99001
|
-
"status": "
|
|
99009
|
+
"status": "stable",
|
|
99002
99010
|
"documentation": "https://fusion.dev/helix/components/select",
|
|
99003
99011
|
"aliases": [
|
|
99004
99012
|
"Dropdown",
|
|
@@ -119333,7 +119341,7 @@
|
|
|
119333
119341
|
"helix": {
|
|
119334
119342
|
"category": "forms",
|
|
119335
119343
|
"since": "0.1.0",
|
|
119336
|
-
"status": "
|
|
119344
|
+
"status": "stable",
|
|
119337
119345
|
"documentation": "https://fusion.dev/helix/components/time-input",
|
|
119338
119346
|
"aliases": [
|
|
119339
119347
|
"TimeField",
|
|
@@ -22,7 +22,7 @@ import '../../color-picker/index.js';
|
|
|
22
22
|
* pads its own lower rows.
|
|
23
23
|
*
|
|
24
24
|
* @since 0.1.0
|
|
25
|
-
* @status
|
|
25
|
+
* @status stable
|
|
26
26
|
* @category forms
|
|
27
27
|
* @aliases ColorField, ColourInput, InputColor
|
|
28
28
|
* @documentation https://fusion.dev/helix/components/color-input
|
|
@@ -37,7 +37,7 @@ import '../../color-picker/index.js';
|
|
|
37
37
|
* `--helix-shadow-floating`: a floating surface sits over content nobody can predict, so it
|
|
38
38
|
* keeps a lift by default.
|
|
39
39
|
* @cssproperty --color-input-swatch-radius - Corner radius of that block.
|
|
40
|
-
* @cssproperty --color-input-swatch-size - Edge length of the block in `
|
|
40
|
+
* @cssproperty --color-input-swatch-size - Edge length of the block in `variant="swatch"`.
|
|
41
41
|
*/
|
|
42
42
|
export declare class HelixColorInput extends HelixHeadlessColorInput {
|
|
43
43
|
static tier: string;
|
|
@@ -14,11 +14,14 @@ import '../../icon/index.js';
|
|
|
14
14
|
* the platform's.
|
|
15
15
|
*
|
|
16
16
|
* Height comes from the region, like every other control: `data-density` on
|
|
17
|
-
* whatever holds it, not a `size` here. Invalid styling waits for
|
|
18
|
-
*
|
|
17
|
+
* whatever holds it, not a `size` here. Invalid styling waits for the `invalid`
|
|
18
|
+
* custom state, because a field is not wrong before anyone has filled it in and
|
|
19
|
+
* `:user-invalid` cannot answer that here: it tracks the control the reader is
|
|
20
|
+
* in, which is inside this shadow root, so it never reaches the host the rule
|
|
21
|
+
* selects on.
|
|
19
22
|
*
|
|
20
23
|
* @since 0.1.0
|
|
21
|
-
* @status
|
|
24
|
+
* @status stable
|
|
22
25
|
* @category forms
|
|
23
26
|
* @aliases TextField, Field, TextInput
|
|
24
27
|
* @documentation https://fusion.dev/helix/components/input
|
|
@@ -13,7 +13,7 @@ import type { CSSResultGroup } from 'lit';
|
|
|
13
13
|
* list moves under the reader rather than the reader moving to find it.
|
|
14
14
|
*
|
|
15
15
|
* @since 0.1.0
|
|
16
|
-
* @status
|
|
16
|
+
* @status stable
|
|
17
17
|
* @category forms
|
|
18
18
|
* @aliases Options, Select list
|
|
19
19
|
* @documentation https://fusion.dev/helix/components/listbox
|
|
@@ -18,7 +18,7 @@ import type { CSSResultGroup } from 'lit';
|
|
|
18
18
|
* three times as long to cross.
|
|
19
19
|
*
|
|
20
20
|
* @since 0.1.0
|
|
21
|
-
* @status
|
|
21
|
+
* @status stable
|
|
22
22
|
* @category forms
|
|
23
23
|
* @aliases NumberField, Stepper, InputNumber
|
|
24
24
|
* @documentation https://fusion.dev/helix/components/number-input
|
|
@@ -38,7 +38,7 @@ export declare class HelixRating extends HelixHeadlessRating {
|
|
|
38
38
|
* `Radio.Group`, whose options already carry a value and a name each.
|
|
39
39
|
*
|
|
40
40
|
* **Undefaulted, because it reflects.** A default of `marks` writes
|
|
41
|
-
* `
|
|
41
|
+
* `variant="marks"` onto every server-rendered rating, which React holds no
|
|
42
42
|
* prop for and reports as a hydration mismatch. The stylesheet names only
|
|
43
43
|
* `dots`, so an unset one draws marks anyway.
|
|
44
44
|
*/
|
|
@@ -18,7 +18,7 @@ import '../../time-picker/index.js';
|
|
|
18
18
|
* belongs to. That is the same reasoning Select gives for its own list.
|
|
19
19
|
*
|
|
20
20
|
* @since 0.1.0
|
|
21
|
-
* @status
|
|
21
|
+
* @status stable
|
|
22
22
|
* @category forms
|
|
23
23
|
* @aliases TimeField, InputTime
|
|
24
24
|
* @documentation https://fusion.dev/helix/components/time-input
|
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
|
+
"version": "0.37.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Ross Sheppard <ross.sheppard@fusion.dev>",
|
|
7
7
|
"repository": {
|
|
@@ -47,14 +47,14 @@
|
|
|
47
47
|
},
|
|
48
48
|
"bugs": "https://github.com/project-fusion/fusion/issues",
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@fusion.dev/helix-core": "0.
|
|
51
|
-
"@fusion.dev/helix-headless": "0.
|
|
52
|
-
"@fusion.dev/helix-styles": "0.
|
|
50
|
+
"@fusion.dev/helix-core": "0.37.0",
|
|
51
|
+
"@fusion.dev/helix-headless": "0.37.0",
|
|
52
|
+
"@fusion.dev/helix-styles": "0.37.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@custom-elements-manifest/analyzer": "^0.11.0",
|
|
56
|
-
"@fusion.dev/helix-cem": "0.
|
|
57
|
-
"@fusion.dev/helix-testing": "0.
|
|
56
|
+
"@fusion.dev/helix-cem": "0.37.0",
|
|
57
|
+
"@fusion.dev/helix-testing": "0.37.0",
|
|
58
58
|
"@fusion.dev/scripts": "0.0.0-dev",
|
|
59
59
|
"@happy-dom/global-registrator": "^20.0.0",
|
|
60
60
|
"@lit-labs/ssr": "^4.1.0",
|
package/types/jsx.d.ts
CHANGED
|
@@ -9108,12 +9108,7 @@ HTML writes as one costs what an attribute always costs here: nothing
|
|
|
9108
9108
|
warns. `<helix-input readonly>` is what anybody who has written HTML types;
|
|
9109
9109
|
against `read-only` it parses to no property at all, and the field stays
|
|
9110
9110
|
editable with no error anywhere. Measured on the dash-cased form, `readOnly`
|
|
9111
|
-
came back `false`.
|
|
9112
|
-
|
|
9113
|
-
A part was renamed for
|
|
9114
|
-
the same kind of reason: there is no `helix-v` tag, so no consumer is
|
|
9115
|
-
holding the old spelling, and this is free today and a deprecation after
|
|
9116
|
-
the first release. */
|
|
9111
|
+
came back `false`. */
|
|
9117
9112
|
readonly?: (HelixInput["readOnly"]) | undefined;
|
|
9118
9113
|
/** Whether the field refuses input while still submitting its value.
|
|
9119
9114
|
|
|
@@ -9123,12 +9118,7 @@ HTML writes as one costs what an attribute always costs here: nothing
|
|
|
9123
9118
|
warns. `<helix-input readonly>` is what anybody who has written HTML types;
|
|
9124
9119
|
against `read-only` it parses to no property at all, and the field stays
|
|
9125
9120
|
editable with no error anywhere. Measured on the dash-cased form, `readOnly`
|
|
9126
|
-
came back `false`.
|
|
9127
|
-
|
|
9128
|
-
A part was renamed for
|
|
9129
|
-
the same kind of reason: there is no `helix-v` tag, so no consumer is
|
|
9130
|
-
holding the old spelling, and this is free today and a deprecation after
|
|
9131
|
-
the first release. */
|
|
9121
|
+
came back `false`. */
|
|
9132
9122
|
readOnly?: (HelixInput["readOnly"]) | undefined;
|
|
9133
9123
|
/** Whether a password field offers a toggle that shows what was typed.
|
|
9134
9124
|
|
|
@@ -9272,12 +9262,7 @@ HTML writes as one costs what an attribute always costs here: nothing
|
|
|
9272
9262
|
warns. `<helix-input readonly>` is what anybody who has written HTML types;
|
|
9273
9263
|
against `read-only` it parses to no property at all, and the field stays
|
|
9274
9264
|
editable with no error anywhere. Measured on the dash-cased form, `readOnly`
|
|
9275
|
-
came back `false`.
|
|
9276
|
-
|
|
9277
|
-
A part was renamed for
|
|
9278
|
-
the same kind of reason: there is no `helix-v` tag, so no consumer is
|
|
9279
|
-
holding the old spelling, and this is free today and a deprecation after
|
|
9280
|
-
the first release. */
|
|
9265
|
+
came back `false`. */
|
|
9281
9266
|
"bool:readonly"?: (HelixInput["readOnly"]) | undefined;
|
|
9282
9267
|
/** Whether the field refuses input while still submitting its value.
|
|
9283
9268
|
|
|
@@ -9287,12 +9272,7 @@ HTML writes as one costs what an attribute always costs here: nothing
|
|
|
9287
9272
|
warns. `<helix-input readonly>` is what anybody who has written HTML types;
|
|
9288
9273
|
against `read-only` it parses to no property at all, and the field stays
|
|
9289
9274
|
editable with no error anywhere. Measured on the dash-cased form, `readOnly`
|
|
9290
|
-
came back `false`.
|
|
9291
|
-
|
|
9292
|
-
A part was renamed for
|
|
9293
|
-
the same kind of reason: there is no `helix-v` tag, so no consumer is
|
|
9294
|
-
holding the old spelling, and this is free today and a deprecation after
|
|
9295
|
-
the first release. */
|
|
9275
|
+
came back `false`. */
|
|
9296
9276
|
"prop:readOnly"?: (HelixInput["readOnly"]) | undefined;
|
|
9297
9277
|
/** Whether a password field offers a toggle that shows what was typed.
|
|
9298
9278
|
|
|
@@ -13445,7 +13425,7 @@ either, and both are only a choice of drawing. A scale whose marks are
|
|
|
13445
13425
|
`Radio.Group`, whose options already carry a value and a name each.
|
|
13446
13426
|
|
|
13447
13427
|
**Undefaulted, because it reflects.** A default of `marks` writes
|
|
13448
|
-
`
|
|
13428
|
+
`variant="marks"` onto every server-rendered rating, which React holds no
|
|
13449
13429
|
prop for and reports as a hydration mismatch. The stylesheet names only
|
|
13450
13430
|
`dots`, so an unset one draws marks anyway. */
|
|
13451
13431
|
variant?: (HelixRating["variant"]) | undefined;
|
|
@@ -13585,7 +13565,7 @@ either, and both are only a choice of drawing. A scale whose marks are
|
|
|
13585
13565
|
`Radio.Group`, whose options already carry a value and a name each.
|
|
13586
13566
|
|
|
13587
13567
|
**Undefaulted, because it reflects.** A default of `marks` writes
|
|
13588
|
-
`
|
|
13568
|
+
`variant="marks"` onto every server-rendered rating, which React holds no
|
|
13589
13569
|
prop for and reports as a hydration mismatch. The stylesheet names only
|
|
13590
13570
|
`dots`, so an unset one draws marks anyway. */
|
|
13591
13571
|
"prop:variant"?: (HelixRating["variant"]) | undefined;
|
|
@@ -23300,7 +23280,7 @@ export type CustomElements = {
|
|
|
23300
23280
|
* - `--color-input-panel-size`: Width of the panel, and so of the square. (default: `undefined`)
|
|
23301
23281
|
* - `--color-input-shadow`: Lift under the panel. Follows `--helix-shadow-floating`: a floating surface sits over content nobody can predict, so it keeps a lift by default. (default: `undefined`)
|
|
23302
23282
|
* - `--color-input-swatch-radius`: Corner radius of that block. (default: `undefined`)
|
|
23303
|
-
* - `--color-input-swatch-size`: Edge length of the block in `
|
|
23283
|
+
* - `--color-input-swatch-size`: Edge length of the block in `variant="swatch"`. (default: `undefined`)
|
|
23304
23284
|
* - `--color-input-swatch`: The chosen color, to paint over the transparency check. (default: `undefined`)
|
|
23305
23285
|
*
|
|
23306
23286
|
* ## CSS Parts
|
|
@@ -27837,8 +27817,11 @@ export type CustomElements = {
|
|
|
27837
27817
|
* the platform's.
|
|
27838
27818
|
*
|
|
27839
27819
|
* Height comes from the region, like every other control: `data-density` on
|
|
27840
|
-
* whatever holds it, not a `size` here. Invalid styling waits for
|
|
27841
|
-
*
|
|
27820
|
+
* whatever holds it, not a `size` here. Invalid styling waits for the `invalid`
|
|
27821
|
+
* custom state, because a field is not wrong before anyone has filled it in and
|
|
27822
|
+
* `:user-invalid` cannot answer that here: it tracks the control the reader is
|
|
27823
|
+
* in, which is inside this shadow root, so it never reaches the host the rule
|
|
27824
|
+
* selects on.
|
|
27842
27825
|
*
|
|
27843
27826
|
* ## Attributes & Properties
|
|
27844
27827
|
*
|
|
@@ -27885,11 +27868,6 @@ export type CustomElements = {
|
|
|
27885
27868
|
* against `read-only` it parses to no property at all, and the field stays
|
|
27886
27869
|
* editable with no error anywhere. Measured on the dash-cased form, `readOnly`
|
|
27887
27870
|
* came back `false`.
|
|
27888
|
-
*
|
|
27889
|
-
* A part was renamed for
|
|
27890
|
-
* the same kind of reason: there is no `helix-v` tag, so no consumer is
|
|
27891
|
-
* holding the old spelling, and this is free today and a deprecation after
|
|
27892
|
-
* the first release.
|
|
27893
27871
|
* - `reveal`: Whether a password field offers a toggle that shows what was typed.
|
|
27894
27872
|
*
|
|
27895
27873
|
* Ignored on every other type. A reveal on an email field would be a button
|
|
@@ -28848,6 +28826,7 @@ export type CustomElements = {
|
|
|
28848
28826
|
* Areas where markup can be added to the component.
|
|
28849
28827
|
*
|
|
28850
28828
|
* - `(default)`: The options, and any groups of them.
|
|
28829
|
+
* - `filter-icon`: The mark in the filter's field. Left empty, a magnifier is drawn.
|
|
28851
28830
|
* - `hint`: Richer than a string.
|
|
28852
28831
|
* - `label`: Richer than a string.
|
|
28853
28832
|
*
|
|
@@ -32219,7 +32198,7 @@ export type CustomElements = {
|
|
|
32219
32198
|
* `Radio.Group`, whose options already carry a value and a name each.
|
|
32220
32199
|
*
|
|
32221
32200
|
* **Undefaulted, because it reflects.** A default of `marks` writes
|
|
32222
|
-
* `
|
|
32201
|
+
* `variant="marks"` onto every server-rendered rating, which React holds no
|
|
32223
32202
|
* prop for and reports as a hydration mismatch. The stylesheet names only
|
|
32224
32203
|
* `dots`, so an unset one draws marks anyway.
|
|
32225
32204
|
* - `default-value`/`defaultValue`: The value the markup declared, which is where a reset returns to.
|
|
@@ -42182,7 +42161,7 @@ export type CustomElementsSolidJs = {
|
|
|
42182
42161
|
* - `--color-input-panel-size`: Width of the panel, and so of the square. (default: `undefined`)
|
|
42183
42162
|
* - `--color-input-shadow`: Lift under the panel. Follows `--helix-shadow-floating`: a floating surface sits over content nobody can predict, so it keeps a lift by default. (default: `undefined`)
|
|
42184
42163
|
* - `--color-input-swatch-radius`: Corner radius of that block. (default: `undefined`)
|
|
42185
|
-
* - `--color-input-swatch-size`: Edge length of the block in `
|
|
42164
|
+
* - `--color-input-swatch-size`: Edge length of the block in `variant="swatch"`. (default: `undefined`)
|
|
42186
42165
|
* - `--color-input-swatch`: The chosen color, to paint over the transparency check. (default: `undefined`)
|
|
42187
42166
|
*
|
|
42188
42167
|
* ## CSS Parts
|
|
@@ -46808,8 +46787,11 @@ export type CustomElementsSolidJs = {
|
|
|
46808
46787
|
* the platform's.
|
|
46809
46788
|
*
|
|
46810
46789
|
* Height comes from the region, like every other control: `data-density` on
|
|
46811
|
-
* whatever holds it, not a `size` here. Invalid styling waits for
|
|
46812
|
-
*
|
|
46790
|
+
* whatever holds it, not a `size` here. Invalid styling waits for the `invalid`
|
|
46791
|
+
* custom state, because a field is not wrong before anyone has filled it in and
|
|
46792
|
+
* `:user-invalid` cannot answer that here: it tracks the control the reader is
|
|
46793
|
+
* in, which is inside this shadow root, so it never reaches the host the rule
|
|
46794
|
+
* selects on.
|
|
46813
46795
|
*
|
|
46814
46796
|
* ## Attributes & Properties
|
|
46815
46797
|
*
|
|
@@ -46856,11 +46838,6 @@ export type CustomElementsSolidJs = {
|
|
|
46856
46838
|
* against `read-only` it parses to no property at all, and the field stays
|
|
46857
46839
|
* editable with no error anywhere. Measured on the dash-cased form, `readOnly`
|
|
46858
46840
|
* came back `false`.
|
|
46859
|
-
*
|
|
46860
|
-
* A part was renamed for
|
|
46861
|
-
* the same kind of reason: there is no `helix-v` tag, so no consumer is
|
|
46862
|
-
* holding the old spelling, and this is free today and a deprecation after
|
|
46863
|
-
* the first release.
|
|
46864
46841
|
* - `reveal`: Whether a password field offers a toggle that shows what was typed.
|
|
46865
46842
|
*
|
|
46866
46843
|
* Ignored on every other type. A reveal on an email field would be a button
|
|
@@ -47837,6 +47814,7 @@ export type CustomElementsSolidJs = {
|
|
|
47837
47814
|
* Areas where markup can be added to the component.
|
|
47838
47815
|
*
|
|
47839
47816
|
* - `(default)`: The options, and any groups of them.
|
|
47817
|
+
* - `filter-icon`: The mark in the filter's field. Left empty, a magnifier is drawn.
|
|
47840
47818
|
* - `hint`: Richer than a string.
|
|
47841
47819
|
* - `label`: Richer than a string.
|
|
47842
47820
|
*
|
|
@@ -51290,7 +51268,7 @@ export type CustomElementsSolidJs = {
|
|
|
51290
51268
|
* `Radio.Group`, whose options already carry a value and a name each.
|
|
51291
51269
|
*
|
|
51292
51270
|
* **Undefaulted, because it reflects.** A default of `marks` writes
|
|
51293
|
-
* `
|
|
51271
|
+
* `variant="marks"` onto every server-rendered rating, which React holds no
|
|
51294
51272
|
* prop for and reports as a hydration mismatch. The stylesheet names only
|
|
51295
51273
|
* `dots`, so an unset one draws marks anyway.
|
|
51296
51274
|
* - `default-value`/`defaultValue`: The value the markup declared, which is where a reset returns to.
|
|
@@ -58089,7 +58067,7 @@ export type CustomCssProperties = {
|
|
|
58089
58067
|
"--color-input-shadow"?: (string) | undefined;
|
|
58090
58068
|
/** Corner radius of that block. */
|
|
58091
58069
|
"--color-input-swatch-radius"?: (string) | undefined;
|
|
58092
|
-
/** Edge length of the block in `
|
|
58070
|
+
/** Edge length of the block in `variant="swatch"`. */
|
|
58093
58071
|
"--color-input-swatch-size"?: (string) | undefined;
|
|
58094
58072
|
/** The chosen color, to paint over the transparency check. */
|
|
58095
58073
|
"--color-input-swatch"?: (string) | undefined;
|
package/types/vue.d.ts
CHANGED
|
@@ -4700,12 +4700,7 @@ HTML writes as one costs what an attribute always costs here: nothing
|
|
|
4700
4700
|
warns. `<helix-input readonly>` is what anybody who has written HTML types;
|
|
4701
4701
|
against `read-only` it parses to no property at all, and the field stays
|
|
4702
4702
|
editable with no error anywhere. Measured on the dash-cased form, `readOnly`
|
|
4703
|
-
came back `false`.
|
|
4704
|
-
|
|
4705
|
-
A part was renamed for
|
|
4706
|
-
the same kind of reason: there is no `helix-v` tag, so no consumer is
|
|
4707
|
-
holding the old spelling, and this is free today and a deprecation after
|
|
4708
|
-
the first release. */
|
|
4703
|
+
came back `false`. */
|
|
4709
4704
|
readonly?: (HelixInput["readOnly"]) | undefined;
|
|
4710
4705
|
/** Whether the field refuses input while still submitting its value.
|
|
4711
4706
|
|
|
@@ -4715,12 +4710,7 @@ HTML writes as one costs what an attribute always costs here: nothing
|
|
|
4715
4710
|
warns. `<helix-input readonly>` is what anybody who has written HTML types;
|
|
4716
4711
|
against `read-only` it parses to no property at all, and the field stays
|
|
4717
4712
|
editable with no error anywhere. Measured on the dash-cased form, `readOnly`
|
|
4718
|
-
came back `false`.
|
|
4719
|
-
|
|
4720
|
-
A part was renamed for
|
|
4721
|
-
the same kind of reason: there is no `helix-v` tag, so no consumer is
|
|
4722
|
-
holding the old spelling, and this is free today and a deprecation after
|
|
4723
|
-
the first release. */
|
|
4713
|
+
came back `false`. */
|
|
4724
4714
|
readOnly?: (HelixInput["readOnly"]) | undefined;
|
|
4725
4715
|
/** Whether a password field offers a toggle that shows what was typed.
|
|
4726
4716
|
|
|
@@ -6899,7 +6889,7 @@ either, and both are only a choice of drawing. A scale whose marks are
|
|
|
6899
6889
|
`Radio.Group`, whose options already carry a value and a name each.
|
|
6900
6890
|
|
|
6901
6891
|
**Undefaulted, because it reflects.** A default of `marks` writes
|
|
6902
|
-
`
|
|
6892
|
+
`variant="marks"` onto every server-rendered rating, which React holds no
|
|
6903
6893
|
prop for and reports as a hydration mismatch. The stylesheet names only
|
|
6904
6894
|
`dots`, so an unset one draws marks anyway. */
|
|
6905
6895
|
variant?: (HelixRating["variant"]) | undefined;
|
|
@@ -10397,7 +10387,7 @@ export type CustomCssProperties = {
|
|
|
10397
10387
|
"--color-input-shadow"?: (string) | undefined;
|
|
10398
10388
|
/** Corner radius of that block. */
|
|
10399
10389
|
"--color-input-swatch-radius"?: (string) | undefined;
|
|
10400
|
-
/** Edge length of the block in `
|
|
10390
|
+
/** Edge length of the block in `variant="swatch"`. */
|
|
10401
10391
|
"--color-input-swatch-size"?: (string) | undefined;
|
|
10402
10392
|
/** The chosen color, to paint over the transparency check. */
|
|
10403
10393
|
"--color-input-swatch"?: (string) | undefined;
|
|
@@ -11537,7 +11527,7 @@ export interface WcToolkitVueGlobalComponents {
|
|
|
11537
11527
|
HelixImageVueProps,
|
|
11538
11528
|
HelixImageVueEvents
|
|
11539
11529
|
>;
|
|
11540
|
-
/** The frame is the field rather than the input, so anything slotted at either end sits inside the same box as the text and the focus ring is drawn once, around the whole control, instead of around a smaller box within it. The input itself is the native one, stripped rather than replaced, so the caret, the selection, the autofill, and the keyboard a phone chooses are all the platform's. Height comes from the region, like every other control: 'data-density' on whatever holds it, not a 'size' here. Invalid styling waits for '
|
|
11530
|
+
/** The frame is the field rather than the input, so anything slotted at either end sits inside the same box as the text and the focus ring is drawn once, around the whole control, instead of around a smaller box within it. The input itself is the native one, stripped rather than replaced, so the caret, the selection, the autofill, and the keyboard a phone chooses are all the platform's. Height comes from the region, like every other control: 'data-density' on whatever holds it, not a 'size' here. Invalid styling waits for the 'invalid' custom state, because a field is not wrong before anyone has filled it in and ':user-invalid' cannot answer that here: it tracks the control the reader is in, which is inside this shadow root, so it never reaches the host the rule selects on. */
|
|
11541
11531
|
"helix-input": DefineCustomElement<
|
|
11542
11532
|
HelixInput,
|
|
11543
11533
|
HelixInputVueProps,
|