@fusion.dev/helix-headless 0.52.0 → 0.52.1
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 +12 -13
- package/dist/area-chart/root/area-chart-root.d.ts +7 -0
- package/dist/line-chart/root/line-chart-root.d.ts +6 -0
- package/dist/qr-code/root/qr-code-root.d.ts +8 -6
- package/dist/qr-code/root/qr-code-root.js +2 -3
- package/dist/sparkline/root/sparkline-root.d.ts +6 -0
- package/package.json +5 -5
- package/types/jsx.d.ts +110 -26
- package/types/vue.d.ts +29 -8
package/custom-elements.json
CHANGED
|
@@ -2350,7 +2350,7 @@
|
|
|
2350
2350
|
"type": {
|
|
2351
2351
|
"text": "Curve | undefined"
|
|
2352
2352
|
},
|
|
2353
|
-
"description": "How a band's edge gets from one reading to the next.\n\nThree values, and the class doc argues for each: `straight` is absent and\nis the default, `smooth` is for a stack read as a shape and is the one that\ncan draw a part as less than nothing, `step` is for a quantity that changes\nat a moment and is ordered the way `straight` is.\n\nAbsent rather than defaulted because a reflecting property with a default\nwrites its attribute onto every host, including the ones nobody configured.",
|
|
2353
|
+
"description": "How a band's edge gets from one reading to the next.\n\nThree values, and the class doc argues for each: `straight` is absent and\nis the default, `smooth` is for a stack read as a shape and is the one that\ncan draw a part as less than nothing, `step` is for a quantity that changes\nat a moment and is ordered the way `straight` is.\n\nAbsent rather than defaulted because a reflecting property with a default\nwrites its attribute onto every host, including the ones nobody configured.\nThe resting value therefore lives in the render, as `curve ?? 'straight'`.\n\n**`LineChart` and `Sparkline` rest at `smooth` and are not disagreeing.** A\nline claims a position, so the bounded invention a monotone cubic makes is\na reading aid and costs nothing. A band claims an amount, and two sums\nsmoothed independently can cross, so the same aid here draws a part as less\nthan nothing. Same axis, different mark, different resting value.",
|
|
2354
2354
|
"attribute": "curve",
|
|
2355
2355
|
"reflects": true
|
|
2356
2356
|
},
|
|
@@ -3136,7 +3136,7 @@
|
|
|
3136
3136
|
"type": {
|
|
3137
3137
|
"text": "Curve | undefined"
|
|
3138
3138
|
},
|
|
3139
|
-
"description": "How a band's edge gets from one reading to the next.\n\nThree values, and the class doc argues for each: `straight` is absent and\nis the default, `smooth` is for a stack read as a shape and is the one that\ncan draw a part as less than nothing, `step` is for a quantity that changes\nat a moment and is ordered the way `straight` is.\n\nAbsent rather than defaulted because a reflecting property with a default\nwrites its attribute onto every host, including the ones nobody configured.",
|
|
3139
|
+
"description": "How a band's edge gets from one reading to the next.\n\nThree values, and the class doc argues for each: `straight` is absent and\nis the default, `smooth` is for a stack read as a shape and is the one that\ncan draw a part as less than nothing, `step` is for a quantity that changes\nat a moment and is ordered the way `straight` is.\n\nAbsent rather than defaulted because a reflecting property with a default\nwrites its attribute onto every host, including the ones nobody configured.\nThe resting value therefore lives in the render, as `curve ?? 'straight'`.\n\n**`LineChart` and `Sparkline` rest at `smooth` and are not disagreeing.** A\nline claims a position, so the bounded invention a monotone cubic makes is\na reading aid and costs nothing. A band claims an amount, and two sums\nsmoothed independently can cross, so the same aid here draws a part as less\nthan nothing. Same axis, different mark, different resting value.",
|
|
3140
3140
|
"fieldName": "curve"
|
|
3141
3141
|
},
|
|
3142
3142
|
{
|
|
@@ -49864,7 +49864,7 @@
|
|
|
49864
49864
|
"type": {
|
|
49865
49865
|
"text": "Curve | undefined"
|
|
49866
49866
|
},
|
|
49867
|
-
"description": "How the line gets from one reading to the next.\n\n**`smooth` is the resting curve.** A curve invents the values between two\nreadings, which is why `straight` still exists, but the invention is\nbounded: the interpolation is monotone cubic, so it never leaves the band\nthe data sets and never introduces a peak or a trough the series does not\nhave. Within that bound the smoothed line is the easier one to follow\nacross a long series, and `straight` becomes the deliberate claim.\n\n**Absent rather than defaulted on the property**, because a reflecting\nproperty with a default writes its attribute onto every host anybody\nrenders, including the ones nobody configured.\n`line-chart-root.ssr.spec.ts` asserts the host carries only what the\nconsumer wrote. The default therefore lives where the path is built, as\n`curve ?? 'smooth'`.\n\n`step` claims the opposite of both, that a reading holds until the next.",
|
|
49867
|
+
"description": "How the line gets from one reading to the next.\n\n**`smooth` is the resting curve.** A curve invents the values between two\nreadings, which is why `straight` still exists, but the invention is\nbounded: the interpolation is monotone cubic, so it never leaves the band\nthe data sets and never introduces a peak or a trough the series does not\nhave. Within that bound the smoothed line is the easier one to follow\nacross a long series, and `straight` becomes the deliberate claim.\n\n**Absent rather than defaulted on the property**, because a reflecting\nproperty with a default writes its attribute onto every host anybody\nrenders, including the ones nobody configured.\n`line-chart-root.ssr.spec.ts` asserts the host carries only what the\nconsumer wrote. The default therefore lives where the path is built, as\n`curve ?? 'smooth'`.\n\n`step` claims the opposite of both, that a reading holds until the next.\n\n**`AreaChart` rests at `straight` and is not disagreeing.** A line claims a\nposition and a stacked band claims an amount: a curve fitted through one\nsum can pass under the curve fitted through the sum beneath it, so a\nsmoothed stack can draw a part as less than nothing. There is no such edge\nhere, which is what lets a line take the reading aid.",
|
|
49868
49868
|
"attribute": "curve",
|
|
49869
49869
|
"reflects": true
|
|
49870
49870
|
},
|
|
@@ -50647,7 +50647,7 @@
|
|
|
50647
50647
|
"type": {
|
|
50648
50648
|
"text": "Curve | undefined"
|
|
50649
50649
|
},
|
|
50650
|
-
"description": "How the line gets from one reading to the next.\n\n**`smooth` is the resting curve.** A curve invents the values between two\nreadings, which is why `straight` still exists, but the invention is\nbounded: the interpolation is monotone cubic, so it never leaves the band\nthe data sets and never introduces a peak or a trough the series does not\nhave. Within that bound the smoothed line is the easier one to follow\nacross a long series, and `straight` becomes the deliberate claim.\n\n**Absent rather than defaulted on the property**, because a reflecting\nproperty with a default writes its attribute onto every host anybody\nrenders, including the ones nobody configured.\n`line-chart-root.ssr.spec.ts` asserts the host carries only what the\nconsumer wrote. The default therefore lives where the path is built, as\n`curve ?? 'smooth'`.\n\n`step` claims the opposite of both, that a reading holds until the next.",
|
|
50650
|
+
"description": "How the line gets from one reading to the next.\n\n**`smooth` is the resting curve.** A curve invents the values between two\nreadings, which is why `straight` still exists, but the invention is\nbounded: the interpolation is monotone cubic, so it never leaves the band\nthe data sets and never introduces a peak or a trough the series does not\nhave. Within that bound the smoothed line is the easier one to follow\nacross a long series, and `straight` becomes the deliberate claim.\n\n**Absent rather than defaulted on the property**, because a reflecting\nproperty with a default writes its attribute onto every host anybody\nrenders, including the ones nobody configured.\n`line-chart-root.ssr.spec.ts` asserts the host carries only what the\nconsumer wrote. The default therefore lives where the path is built, as\n`curve ?? 'smooth'`.\n\n`step` claims the opposite of both, that a reading holds until the next.\n\n**`AreaChart` rests at `straight` and is not disagreeing.** A line claims a\nposition and a stacked band claims an amount: a curve fitted through one\nsum can pass under the curve fitted through the sum beneath it, so a\nsmoothed stack can draw a part as less than nothing. There is no such edge\nhere, which is what lets a line take the reading aid.",
|
|
50651
50651
|
"fieldName": "curve"
|
|
50652
50652
|
},
|
|
50653
50653
|
{
|
|
@@ -69615,11 +69615,11 @@
|
|
|
69615
69615
|
"kind": "field",
|
|
69616
69616
|
"name": "shape",
|
|
69617
69617
|
"type": {
|
|
69618
|
-
"text": "QrStyle"
|
|
69618
|
+
"text": "QrStyle | undefined"
|
|
69619
69619
|
},
|
|
69620
|
-
"
|
|
69621
|
-
"
|
|
69622
|
-
"
|
|
69620
|
+
"description": "How the modules are drawn.\n\n`square` is the resting state and is written by not writing it, per the\nrule that a reflected property takes no default. It is also the only one\nthat joins runs of adjacent modules into a single subpath, which is what\nkeeps a thousand modules to a handful of nodes. `rounded` and `dots` draw\neach module on its own, because the corners are the thing being drawn and a\njoined run has none in the middle. That cost is paid only by a code that\nasks for them.\n\nA scanner reads contrast between cells, not their shape, so all three\nscan. `dots` sits a little under half a module so neighbors do not touch,\nwhich is what makes it read as dots rather than as a softened square code.",
|
|
69621
|
+
"attribute": "shape",
|
|
69622
|
+
"reflects": true
|
|
69623
69623
|
},
|
|
69624
69624
|
{
|
|
69625
69625
|
"kind": "field",
|
|
@@ -70007,10 +70007,9 @@
|
|
|
70007
70007
|
{
|
|
70008
70008
|
"name": "shape",
|
|
70009
70009
|
"type": {
|
|
70010
|
-
"text": "QrStyle"
|
|
70010
|
+
"text": "QrStyle | undefined"
|
|
70011
70011
|
},
|
|
70012
|
-
"
|
|
70013
|
-
"description": "How the modules are drawn.\n\n`square` is the default and the only one that joins runs of adjacent\nmodules into a single subpath, which is what keeps a thousand modules to a\nhandful of nodes. `rounded` and `dots` draw each module on its own, because\nthe corners are the thing being drawn and a joined run has none in the\nmiddle. That cost is paid only by a code that asks for them.\n\nA scanner reads contrast between cells, not their shape, so all three\nscan. `dots` sits a little under half a module so neighbors do not touch,\nwhich is what makes it read as dots rather than as a softened square code.",
|
|
70012
|
+
"description": "How the modules are drawn.\n\n`square` is the resting state and is written by not writing it, per the\nrule that a reflected property takes no default. It is also the only one\nthat joins runs of adjacent modules into a single subpath, which is what\nkeeps a thousand modules to a handful of nodes. `rounded` and `dots` draw\neach module on its own, because the corners are the thing being drawn and a\njoined run has none in the middle. That cost is paid only by a code that\nasks for them.\n\nA scanner reads contrast between cells, not their shape, so all three\nscan. `dots` sits a little under half a module so neighbors do not touch,\nwhich is what makes it read as dots rather than as a softened square code.",
|
|
70014
70013
|
"fieldName": "shape"
|
|
70015
70014
|
},
|
|
70016
70015
|
{
|
|
@@ -79128,7 +79127,7 @@
|
|
|
79128
79127
|
"type": {
|
|
79129
79128
|
"text": "Curve | undefined"
|
|
79130
79129
|
},
|
|
79131
|
-
"description": "How the line gets from one reading to the next.\n\n**`smooth` is the resting curve.** A straight segment asserts nothing about\nthe values between two readings and a curve invents them, which is why\n`straight` exists. What settles the default the other way is that the\ninvention is bounded: the interpolation is monotone cubic, so it never\nleaves the band the data sets and never introduces a peak or a trough the\nseries does not have. Within that bound the smoothed line is the easier one\nto follow across a long series, which is what the drawing is for. `straight`\nbecomes the claim a consumer makes deliberately rather than the one they get\nby saying nothing.\n\n**The property stays optional and the default lives in the render.** A\nreflecting property with a default writes its attribute onto every host\nanybody renders, including the ones nobody configured, which the SSR specs\nassert against. So the resting state is still the attribute's absence, and\n`curve ?? 'smooth'` is what reads it.\n\n`step` claims the opposite of both, that a reading holds until the next.\nBars ignore it, having no between to interpolate.",
|
|
79130
|
+
"description": "How the line gets from one reading to the next.\n\n**`smooth` is the resting curve.** A straight segment asserts nothing about\nthe values between two readings and a curve invents them, which is why\n`straight` exists. What settles the default the other way is that the\ninvention is bounded: the interpolation is monotone cubic, so it never\nleaves the band the data sets and never introduces a peak or a trough the\nseries does not have. Within that bound the smoothed line is the easier one\nto follow across a long series, which is what the drawing is for. `straight`\nbecomes the claim a consumer makes deliberately rather than the one they get\nby saying nothing.\n\n**The property stays optional and the default lives in the render.** A\nreflecting property with a default writes its attribute onto every host\nanybody renders, including the ones nobody configured, which the SSR specs\nassert against. So the resting state is still the attribute's absence, and\n`curve ?? 'smooth'` is what reads it.\n\n`step` claims the opposite of both, that a reading holds until the next.\nBars ignore it, having no between to interpolate.\n\n**`AreaChart` rests at `straight` and is not disagreeing.** A line claims a\nposition and a stacked band claims an amount: a curve fitted through one\nsum can pass under the curve fitted through the sum beneath it, so a\nsmoothed stack can draw a part as less than nothing. There is no such edge\nhere, which is what lets a line take the reading aid.",
|
|
79132
79131
|
"attribute": "curve",
|
|
79133
79132
|
"reflects": true
|
|
79134
79133
|
},
|
|
@@ -79521,7 +79520,7 @@
|
|
|
79521
79520
|
"type": {
|
|
79522
79521
|
"text": "Curve | undefined"
|
|
79523
79522
|
},
|
|
79524
|
-
"description": "How the line gets from one reading to the next.\n\n**`smooth` is the resting curve.** A straight segment asserts nothing about\nthe values between two readings and a curve invents them, which is why\n`straight` exists. What settles the default the other way is that the\ninvention is bounded: the interpolation is monotone cubic, so it never\nleaves the band the data sets and never introduces a peak or a trough the\nseries does not have. Within that bound the smoothed line is the easier one\nto follow across a long series, which is what the drawing is for. `straight`\nbecomes the claim a consumer makes deliberately rather than the one they get\nby saying nothing.\n\n**The property stays optional and the default lives in the render.** A\nreflecting property with a default writes its attribute onto every host\nanybody renders, including the ones nobody configured, which the SSR specs\nassert against. So the resting state is still the attribute's absence, and\n`curve ?? 'smooth'` is what reads it.\n\n`step` claims the opposite of both, that a reading holds until the next.\nBars ignore it, having no between to interpolate.",
|
|
79523
|
+
"description": "How the line gets from one reading to the next.\n\n**`smooth` is the resting curve.** A straight segment asserts nothing about\nthe values between two readings and a curve invents them, which is why\n`straight` exists. What settles the default the other way is that the\ninvention is bounded: the interpolation is monotone cubic, so it never\nleaves the band the data sets and never introduces a peak or a trough the\nseries does not have. Within that bound the smoothed line is the easier one\nto follow across a long series, which is what the drawing is for. `straight`\nbecomes the claim a consumer makes deliberately rather than the one they get\nby saying nothing.\n\n**The property stays optional and the default lives in the render.** A\nreflecting property with a default writes its attribute onto every host\nanybody renders, including the ones nobody configured, which the SSR specs\nassert against. So the resting state is still the attribute's absence, and\n`curve ?? 'smooth'` is what reads it.\n\n`step` claims the opposite of both, that a reading holds until the next.\nBars ignore it, having no between to interpolate.\n\n**`AreaChart` rests at `straight` and is not disagreeing.** A line claims a\nposition and a stacked band claims an amount: a curve fitted through one\nsum can pass under the curve fitted through the sum beneath it, so a\nsmoothed stack can draw a part as less than nothing. There is no such edge\nhere, which is what lets a line take the reading aid.",
|
|
79525
79524
|
"fieldName": "curve"
|
|
79526
79525
|
},
|
|
79527
79526
|
{
|
|
@@ -115,6 +115,13 @@ export declare class HelixHeadlessAreaChart extends HelixHeadlessAreaChart_base
|
|
|
115
115
|
*
|
|
116
116
|
* Absent rather than defaulted because a reflecting property with a default
|
|
117
117
|
* writes its attribute onto every host, including the ones nobody configured.
|
|
118
|
+
* The resting value therefore lives in the render, as `curve ?? 'straight'`.
|
|
119
|
+
*
|
|
120
|
+
* **`LineChart` and `Sparkline` rest at `smooth` and are not disagreeing.** A
|
|
121
|
+
* line claims a position, so the bounded invention a monotone cubic makes is
|
|
122
|
+
* a reading aid and costs nothing. A band claims an amount, and two sums
|
|
123
|
+
* smoothed independently can cross, so the same aid here draws a part as less
|
|
124
|
+
* than nothing. Same axis, different mark, different resting value.
|
|
118
125
|
*/
|
|
119
126
|
curve?: Curve;
|
|
120
127
|
/**
|
|
@@ -101,6 +101,12 @@ export declare class HelixHeadlessLineChart extends HelixHeadlessLineChart_base
|
|
|
101
101
|
* `curve ?? 'smooth'`.
|
|
102
102
|
*
|
|
103
103
|
* `step` claims the opposite of both, that a reading holds until the next.
|
|
104
|
+
*
|
|
105
|
+
* **`AreaChart` rests at `straight` and is not disagreeing.** A line claims a
|
|
106
|
+
* position and a stacked band claims an amount: a curve fitted through one
|
|
107
|
+
* sum can pass under the curve fitted through the sum beneath it, so a
|
|
108
|
+
* smoothed stack can draw a part as less than nothing. There is no such edge
|
|
109
|
+
* here, which is what lets a line take the reading aid.
|
|
104
110
|
*/
|
|
105
111
|
curve?: Curve;
|
|
106
112
|
/**
|
|
@@ -64,17 +64,19 @@ export declare class HelixHeadlessQrCode extends HelixElement {
|
|
|
64
64
|
/**
|
|
65
65
|
* How the modules are drawn.
|
|
66
66
|
*
|
|
67
|
-
* `square` is the
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
*
|
|
67
|
+
* `square` is the resting state and is written by not writing it, per the
|
|
68
|
+
* rule that a reflected property takes no default. It is also the only one
|
|
69
|
+
* that joins runs of adjacent modules into a single subpath, which is what
|
|
70
|
+
* keeps a thousand modules to a handful of nodes. `rounded` and `dots` draw
|
|
71
|
+
* each module on its own, because the corners are the thing being drawn and a
|
|
72
|
+
* joined run has none in the middle. That cost is paid only by a code that
|
|
73
|
+
* asks for them.
|
|
72
74
|
*
|
|
73
75
|
* A scanner reads contrast between cells, not their shape, so all three
|
|
74
76
|
* scan. `dots` sits a little under half a module so neighbors do not touch,
|
|
75
77
|
* which is what makes it read as dots rather than as a softened square code.
|
|
76
78
|
*/
|
|
77
|
-
shape
|
|
79
|
+
shape?: QrStyle;
|
|
78
80
|
/**
|
|
79
81
|
* What the code encodes, which is usually a URL.
|
|
80
82
|
*/
|
|
@@ -63,7 +63,6 @@ let HelixHeadlessQrCode = class HelixHeadlessQrCode extends HelixElement {
|
|
|
63
63
|
constructor() {
|
|
64
64
|
super(...arguments);
|
|
65
65
|
this.label = '';
|
|
66
|
-
this.shape = 'square';
|
|
67
66
|
this.value = '';
|
|
68
67
|
this.logo = false;
|
|
69
68
|
}
|
|
@@ -99,7 +98,7 @@ let HelixHeadlessQrCode = class HelixHeadlessQrCode extends HelixElement {
|
|
|
99
98
|
>
|
|
100
99
|
<path
|
|
101
100
|
part="modules"
|
|
102
|
-
d=${pathFor(result.data, this.shape, 'body')}
|
|
101
|
+
d=${pathFor(result.data, this.shape ?? 'square', 'body')}
|
|
103
102
|
transform="translate(${quiet} ${quiet})"
|
|
104
103
|
fill="currentColor"
|
|
105
104
|
/>
|
|
@@ -134,7 +133,7 @@ __decorate([
|
|
|
134
133
|
property()
|
|
135
134
|
], HelixHeadlessQrCode.prototype, "label", void 0);
|
|
136
135
|
__decorate([
|
|
137
|
-
property()
|
|
136
|
+
property({ reflect: true })
|
|
138
137
|
], HelixHeadlessQrCode.prototype, "shape", void 0);
|
|
139
138
|
__decorate([
|
|
140
139
|
property()
|
|
@@ -70,6 +70,12 @@ export declare class HelixHeadlessSparkline extends HelixElement {
|
|
|
70
70
|
*
|
|
71
71
|
* `step` claims the opposite of both, that a reading holds until the next.
|
|
72
72
|
* Bars ignore it, having no between to interpolate.
|
|
73
|
+
*
|
|
74
|
+
* **`AreaChart` rests at `straight` and is not disagreeing.** A line claims a
|
|
75
|
+
* position and a stacked band claims an amount: a curve fitted through one
|
|
76
|
+
* sum can pass under the curve fitted through the sum beneath it, so a
|
|
77
|
+
* smoothed stack can draw a part as less than nothing. There is no such edge
|
|
78
|
+
* here, which is what lets a line take the reading aid.
|
|
73
79
|
*/
|
|
74
80
|
curve?: Curve;
|
|
75
81
|
/**
|
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.52.
|
|
4
|
+
"version": "0.52.1",
|
|
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.52.
|
|
50
|
-
"@fusion.dev/helix-icons": "0.52.
|
|
49
|
+
"@fusion.dev/helix-core": "0.52.1",
|
|
50
|
+
"@fusion.dev/helix-icons": "0.52.1",
|
|
51
51
|
"uqr": "^0.1.3"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@custom-elements-manifest/analyzer": "^0.11.0",
|
|
55
|
-
"@fusion.dev/helix-cem": "0.52.
|
|
56
|
-
"@fusion.dev/helix-testing": "0.52.
|
|
55
|
+
"@fusion.dev/helix-cem": "0.52.1",
|
|
56
|
+
"@fusion.dev/helix-testing": "0.52.1",
|
|
57
57
|
"@fusion.dev/scripts": "0.0.0-dev",
|
|
58
58
|
"@happy-dom/global-registrator": "^20.0.0",
|
|
59
59
|
"@lit-labs/ssr": "^4.1.0",
|
package/types/jsx.d.ts
CHANGED
|
@@ -756,7 +756,14 @@ can draw a part as less than nothing, `step` is for a quantity that changes
|
|
|
756
756
|
at a moment and is ordered the way `straight` is.
|
|
757
757
|
|
|
758
758
|
Absent rather than defaulted because a reflecting property with a default
|
|
759
|
-
writes its attribute onto every host, including the ones nobody configured.
|
|
759
|
+
writes its attribute onto every host, including the ones nobody configured.
|
|
760
|
+
The resting value therefore lives in the render, as `curve ?? 'straight'`.
|
|
761
|
+
|
|
762
|
+
**`LineChart` and `Sparkline` rest at `smooth` and are not disagreeing.** A
|
|
763
|
+
line claims a position, so the bounded invention a monotone cubic makes is
|
|
764
|
+
a reading aid and costs nothing. A band claims an amount, and two sums
|
|
765
|
+
smoothed independently can cross, so the same aid here draws a part as less
|
|
766
|
+
than nothing. Same axis, different mark, different resting value. */
|
|
760
767
|
curve?: (HelixHeadlessAreaChart["curve"]) | undefined;
|
|
761
768
|
/** Which rules are drawn across the plot, if any.
|
|
762
769
|
|
|
@@ -799,7 +806,14 @@ can draw a part as less than nothing, `step` is for a quantity that changes
|
|
|
799
806
|
at a moment and is ordered the way `straight` is.
|
|
800
807
|
|
|
801
808
|
Absent rather than defaulted because a reflecting property with a default
|
|
802
|
-
writes its attribute onto every host, including the ones nobody configured.
|
|
809
|
+
writes its attribute onto every host, including the ones nobody configured.
|
|
810
|
+
The resting value therefore lives in the render, as `curve ?? 'straight'`.
|
|
811
|
+
|
|
812
|
+
**`LineChart` and `Sparkline` rest at `smooth` and are not disagreeing.** A
|
|
813
|
+
line claims a position, so the bounded invention a monotone cubic makes is
|
|
814
|
+
a reading aid and costs nothing. A band claims an amount, and two sums
|
|
815
|
+
smoothed independently can cross, so the same aid here draws a part as less
|
|
816
|
+
than nothing. Same axis, different mark, different resting value. */
|
|
803
817
|
"prop:curve"?: (HelixHeadlessAreaChart["curve"]) | undefined;
|
|
804
818
|
/** Which rules are drawn across the plot, if any.
|
|
805
819
|
|
|
@@ -8494,7 +8508,13 @@ renders, including the ones nobody configured.
|
|
|
8494
8508
|
consumer wrote. The default therefore lives where the path is built, as
|
|
8495
8509
|
`curve ?? 'smooth'`.
|
|
8496
8510
|
|
|
8497
|
-
`step` claims the opposite of both, that a reading holds until the next.
|
|
8511
|
+
`step` claims the opposite of both, that a reading holds until the next.
|
|
8512
|
+
|
|
8513
|
+
**`AreaChart` rests at `straight` and is not disagreeing.** A line claims a
|
|
8514
|
+
position and a stacked band claims an amount: a curve fitted through one
|
|
8515
|
+
sum can pass under the curve fitted through the sum beneath it, so a
|
|
8516
|
+
smoothed stack can draw a part as less than nothing. There is no such edge
|
|
8517
|
+
here, which is what lets a line take the reading aid. */
|
|
8498
8518
|
curve?: (HelixHeadlessLineChart["curve"]) | undefined;
|
|
8499
8519
|
/** Which rules are drawn across the plot, if any.
|
|
8500
8520
|
|
|
@@ -8599,7 +8619,13 @@ renders, including the ones nobody configured.
|
|
|
8599
8619
|
consumer wrote. The default therefore lives where the path is built, as
|
|
8600
8620
|
`curve ?? 'smooth'`.
|
|
8601
8621
|
|
|
8602
|
-
`step` claims the opposite of both, that a reading holds until the next.
|
|
8622
|
+
`step` claims the opposite of both, that a reading holds until the next.
|
|
8623
|
+
|
|
8624
|
+
**`AreaChart` rests at `straight` and is not disagreeing.** A line claims a
|
|
8625
|
+
position and a stacked band claims an amount: a curve fitted through one
|
|
8626
|
+
sum can pass under the curve fitted through the sum beneath it, so a
|
|
8627
|
+
smoothed stack can draw a part as less than nothing. There is no such edge
|
|
8628
|
+
here, which is what lets a line take the reading aid. */
|
|
8603
8629
|
"prop:curve"?: (HelixHeadlessLineChart["curve"]) | undefined;
|
|
8604
8630
|
/** Which rules are drawn across the plot, if any.
|
|
8605
8631
|
|
|
@@ -11780,11 +11806,13 @@ and a URL is a better name than "QR code" for a reader who cannot see it. */
|
|
|
11780
11806
|
label?: (HelixHeadlessQrCode["label"]) | undefined;
|
|
11781
11807
|
/** How the modules are drawn.
|
|
11782
11808
|
|
|
11783
|
-
`square` is the
|
|
11784
|
-
|
|
11785
|
-
|
|
11786
|
-
|
|
11787
|
-
|
|
11809
|
+
`square` is the resting state and is written by not writing it, per the
|
|
11810
|
+
rule that a reflected property takes no default. It is also the only one
|
|
11811
|
+
that joins runs of adjacent modules into a single subpath, which is what
|
|
11812
|
+
keeps a thousand modules to a handful of nodes. `rounded` and `dots` draw
|
|
11813
|
+
each module on its own, because the corners are the thing being drawn and a
|
|
11814
|
+
joined run has none in the middle. That cost is paid only by a code that
|
|
11815
|
+
asks for them.
|
|
11788
11816
|
|
|
11789
11817
|
A scanner reads contrast between cells, not their shape, so all three
|
|
11790
11818
|
scan. `dots` sits a little under half a module so neighbors do not touch,
|
|
@@ -11810,11 +11838,13 @@ and a URL is a better name than "QR code" for a reader who cannot see it. */
|
|
|
11810
11838
|
"prop:label"?: (HelixHeadlessQrCode["label"]) | undefined;
|
|
11811
11839
|
/** How the modules are drawn.
|
|
11812
11840
|
|
|
11813
|
-
`square` is the
|
|
11814
|
-
|
|
11815
|
-
|
|
11816
|
-
|
|
11817
|
-
|
|
11841
|
+
`square` is the resting state and is written by not writing it, per the
|
|
11842
|
+
rule that a reflected property takes no default. It is also the only one
|
|
11843
|
+
that joins runs of adjacent modules into a single subpath, which is what
|
|
11844
|
+
keeps a thousand modules to a handful of nodes. `rounded` and `dots` draw
|
|
11845
|
+
each module on its own, because the corners are the thing being drawn and a
|
|
11846
|
+
joined run has none in the middle. That cost is paid only by a code that
|
|
11847
|
+
asks for them.
|
|
11818
11848
|
|
|
11819
11849
|
A scanner reads contrast between cells, not their shape, so all three
|
|
11820
11850
|
scan. `dots` sits a little under half a module so neighbors do not touch,
|
|
@@ -13066,7 +13096,13 @@ assert against. So the resting state is still the attribute's absence, and
|
|
|
13066
13096
|
`curve ?? 'smooth'` is what reads it.
|
|
13067
13097
|
|
|
13068
13098
|
`step` claims the opposite of both, that a reading holds until the next.
|
|
13069
|
-
Bars ignore it, having no between to interpolate.
|
|
13099
|
+
Bars ignore it, having no between to interpolate.
|
|
13100
|
+
|
|
13101
|
+
**`AreaChart` rests at `straight` and is not disagreeing.** A line claims a
|
|
13102
|
+
position and a stacked band claims an amount: a curve fitted through one
|
|
13103
|
+
sum can pass under the curve fitted through the sum beneath it, so a
|
|
13104
|
+
smoothed stack can draw a part as less than nothing. There is no such edge
|
|
13105
|
+
here, which is what lets a line take the reading aid. */
|
|
13070
13106
|
curve?: (HelixHeadlessSparkline["curve"]) | undefined;
|
|
13071
13107
|
/** The id of a table to read instead, when there is one behind the line.
|
|
13072
13108
|
|
|
@@ -13141,7 +13177,13 @@ assert against. So the resting state is still the attribute's absence, and
|
|
|
13141
13177
|
`curve ?? 'smooth'` is what reads it.
|
|
13142
13178
|
|
|
13143
13179
|
`step` claims the opposite of both, that a reading holds until the next.
|
|
13144
|
-
Bars ignore it, having no between to interpolate.
|
|
13180
|
+
Bars ignore it, having no between to interpolate.
|
|
13181
|
+
|
|
13182
|
+
**`AreaChart` rests at `straight` and is not disagreeing.** A line claims a
|
|
13183
|
+
position and a stacked band claims an amount: a curve fitted through one
|
|
13184
|
+
sum can pass under the curve fitted through the sum beneath it, so a
|
|
13185
|
+
smoothed stack can draw a part as less than nothing. There is no such edge
|
|
13186
|
+
here, which is what lets a line take the reading aid. */
|
|
13145
13187
|
"prop:curve"?: (HelixHeadlessSparkline["curve"]) | undefined;
|
|
13146
13188
|
/** The id of a table to read instead, when there is one behind the line.
|
|
13147
13189
|
|
|
@@ -18202,6 +18244,13 @@ export type CustomElements = {
|
|
|
18202
18244
|
*
|
|
18203
18245
|
* Absent rather than defaulted because a reflecting property with a default
|
|
18204
18246
|
* writes its attribute onto every host, including the ones nobody configured.
|
|
18247
|
+
* The resting value therefore lives in the render, as `curve ?? 'straight'`.
|
|
18248
|
+
*
|
|
18249
|
+
* **`LineChart` and `Sparkline` rest at `smooth` and are not disagreeing.** A
|
|
18250
|
+
* line claims a position, so the bounded invention a monotone cubic makes is
|
|
18251
|
+
* a reading aid and costs nothing. A band claims an amount, and two sums
|
|
18252
|
+
* smoothed independently can cross, so the same aid here draws a part as less
|
|
18253
|
+
* than nothing. Same axis, different mark, different resting value.
|
|
18205
18254
|
* - `gridlines`: Which rules are drawn across the plot, if any.
|
|
18206
18255
|
*
|
|
18207
18256
|
* The same three values `LineChart` takes, with the same fallback: a bare
|
|
@@ -25934,6 +25983,12 @@ export type CustomElements = {
|
|
|
25934
25983
|
* `curve ?? 'smooth'`.
|
|
25935
25984
|
*
|
|
25936
25985
|
* `step` claims the opposite of both, that a reading holds until the next.
|
|
25986
|
+
*
|
|
25987
|
+
* **`AreaChart` rests at `straight` and is not disagreeing.** A line claims a
|
|
25988
|
+
* position and a stacked band claims an amount: a curve fitted through one
|
|
25989
|
+
* sum can pass under the curve fitted through the sum beneath it, so a
|
|
25990
|
+
* smoothed stack can draw a part as less than nothing. There is no such edge
|
|
25991
|
+
* here, which is what lets a line take the reading aid.
|
|
25937
25992
|
* - `gridlines`: Which rules are drawn across the plot, if any.
|
|
25938
25993
|
*
|
|
25939
25994
|
* Absent draws none, which is the honest default rather than a timid one: a
|
|
@@ -29288,11 +29343,13 @@ export type CustomElements = {
|
|
|
29288
29343
|
* and a URL is a better name than "QR code" for a reader who cannot see it.
|
|
29289
29344
|
* - `shape`: How the modules are drawn.
|
|
29290
29345
|
*
|
|
29291
|
-
* `square` is the
|
|
29292
|
-
*
|
|
29293
|
-
*
|
|
29294
|
-
*
|
|
29295
|
-
*
|
|
29346
|
+
* `square` is the resting state and is written by not writing it, per the
|
|
29347
|
+
* rule that a reflected property takes no default. It is also the only one
|
|
29348
|
+
* that joins runs of adjacent modules into a single subpath, which is what
|
|
29349
|
+
* keeps a thousand modules to a handful of nodes. `rounded` and `dots` draw
|
|
29350
|
+
* each module on its own, because the corners are the thing being drawn and a
|
|
29351
|
+
* joined run has none in the middle. That cost is paid only by a code that
|
|
29352
|
+
* asks for them.
|
|
29296
29353
|
*
|
|
29297
29354
|
* A scanner reads contrast between cells, not their shape, so all three
|
|
29298
29355
|
* scan. `dots` sits a little under half a module so neighbors do not touch,
|
|
@@ -30866,6 +30923,12 @@ export type CustomElements = {
|
|
|
30866
30923
|
*
|
|
30867
30924
|
* `step` claims the opposite of both, that a reading holds until the next.
|
|
30868
30925
|
* Bars ignore it, having no between to interpolate.
|
|
30926
|
+
*
|
|
30927
|
+
* **`AreaChart` rests at `straight` and is not disagreeing.** A line claims a
|
|
30928
|
+
* position and a stacked band claims an amount: a curve fitted through one
|
|
30929
|
+
* sum can pass under the curve fitted through the sum beneath it, so a
|
|
30930
|
+
* smoothed stack can draw a part as less than nothing. There is no such edge
|
|
30931
|
+
* here, which is what lets a line take the reading aid.
|
|
30869
30932
|
* - `for`: The id of a table to read instead, when there is one behind the line.
|
|
30870
30933
|
*
|
|
30871
30934
|
* The first column of numbers is the series drawn. This wins over `values`,
|
|
@@ -36093,6 +36156,13 @@ export type CustomElementsSolidJs = {
|
|
|
36093
36156
|
*
|
|
36094
36157
|
* Absent rather than defaulted because a reflecting property with a default
|
|
36095
36158
|
* writes its attribute onto every host, including the ones nobody configured.
|
|
36159
|
+
* The resting value therefore lives in the render, as `curve ?? 'straight'`.
|
|
36160
|
+
*
|
|
36161
|
+
* **`LineChart` and `Sparkline` rest at `smooth` and are not disagreeing.** A
|
|
36162
|
+
* line claims a position, so the bounded invention a monotone cubic makes is
|
|
36163
|
+
* a reading aid and costs nothing. A band claims an amount, and two sums
|
|
36164
|
+
* smoothed independently can cross, so the same aid here draws a part as less
|
|
36165
|
+
* than nothing. Same axis, different mark, different resting value.
|
|
36096
36166
|
* - `gridlines`: Which rules are drawn across the plot, if any.
|
|
36097
36167
|
*
|
|
36098
36168
|
* The same three values `LineChart` takes, with the same fallback: a bare
|
|
@@ -43932,6 +44002,12 @@ export type CustomElementsSolidJs = {
|
|
|
43932
44002
|
* `curve ?? 'smooth'`.
|
|
43933
44003
|
*
|
|
43934
44004
|
* `step` claims the opposite of both, that a reading holds until the next.
|
|
44005
|
+
*
|
|
44006
|
+
* **`AreaChart` rests at `straight` and is not disagreeing.** A line claims a
|
|
44007
|
+
* position and a stacked band claims an amount: a curve fitted through one
|
|
44008
|
+
* sum can pass under the curve fitted through the sum beneath it, so a
|
|
44009
|
+
* smoothed stack can draw a part as less than nothing. There is no such edge
|
|
44010
|
+
* here, which is what lets a line take the reading aid.
|
|
43935
44011
|
* - `gridlines`: Which rules are drawn across the plot, if any.
|
|
43936
44012
|
*
|
|
43937
44013
|
* Absent draws none, which is the honest default rather than a timid one: a
|
|
@@ -47338,11 +47414,13 @@ export type CustomElementsSolidJs = {
|
|
|
47338
47414
|
* and a URL is a better name than "QR code" for a reader who cannot see it.
|
|
47339
47415
|
* - `shape`: How the modules are drawn.
|
|
47340
47416
|
*
|
|
47341
|
-
* `square` is the
|
|
47342
|
-
*
|
|
47343
|
-
*
|
|
47344
|
-
*
|
|
47345
|
-
*
|
|
47417
|
+
* `square` is the resting state and is written by not writing it, per the
|
|
47418
|
+
* rule that a reflected property takes no default. It is also the only one
|
|
47419
|
+
* that joins runs of adjacent modules into a single subpath, which is what
|
|
47420
|
+
* keeps a thousand modules to a handful of nodes. `rounded` and `dots` draw
|
|
47421
|
+
* each module on its own, because the corners are the thing being drawn and a
|
|
47422
|
+
* joined run has none in the middle. That cost is paid only by a code that
|
|
47423
|
+
* asks for them.
|
|
47346
47424
|
*
|
|
47347
47425
|
* A scanner reads contrast between cells, not their shape, so all three
|
|
47348
47426
|
* scan. `dots` sits a little under half a module so neighbors do not touch,
|
|
@@ -48943,6 +49021,12 @@ export type CustomElementsSolidJs = {
|
|
|
48943
49021
|
*
|
|
48944
49022
|
* `step` claims the opposite of both, that a reading holds until the next.
|
|
48945
49023
|
* Bars ignore it, having no between to interpolate.
|
|
49024
|
+
*
|
|
49025
|
+
* **`AreaChart` rests at `straight` and is not disagreeing.** A line claims a
|
|
49026
|
+
* position and a stacked band claims an amount: a curve fitted through one
|
|
49027
|
+
* sum can pass under the curve fitted through the sum beneath it, so a
|
|
49028
|
+
* smoothed stack can draw a part as less than nothing. There is no such edge
|
|
49029
|
+
* here, which is what lets a line take the reading aid.
|
|
48946
49030
|
* - `for`: The id of a table to read instead, when there is one behind the line.
|
|
48947
49031
|
*
|
|
48948
49032
|
* The first column of numbers is the series drawn. This wins over `values`,
|
package/types/vue.d.ts
CHANGED
|
@@ -408,7 +408,14 @@ can draw a part as less than nothing, `step` is for a quantity that changes
|
|
|
408
408
|
at a moment and is ordered the way `straight` is.
|
|
409
409
|
|
|
410
410
|
Absent rather than defaulted because a reflecting property with a default
|
|
411
|
-
writes its attribute onto every host, including the ones nobody configured.
|
|
411
|
+
writes its attribute onto every host, including the ones nobody configured.
|
|
412
|
+
The resting value therefore lives in the render, as `curve ?? 'straight'`.
|
|
413
|
+
|
|
414
|
+
**`LineChart` and `Sparkline` rest at `smooth` and are not disagreeing.** A
|
|
415
|
+
line claims a position, so the bounded invention a monotone cubic makes is
|
|
416
|
+
a reading aid and costs nothing. A band claims an amount, and two sums
|
|
417
|
+
smoothed independently can cross, so the same aid here draws a part as less
|
|
418
|
+
than nothing. Same axis, different mark, different resting value. */
|
|
412
419
|
curve?: (HelixHeadlessAreaChart["curve"]) | undefined;
|
|
413
420
|
/** Which rules are drawn across the plot, if any.
|
|
414
421
|
|
|
@@ -4360,7 +4367,13 @@ renders, including the ones nobody configured.
|
|
|
4360
4367
|
consumer wrote. The default therefore lives where the path is built, as
|
|
4361
4368
|
`curve ?? 'smooth'`.
|
|
4362
4369
|
|
|
4363
|
-
`step` claims the opposite of both, that a reading holds until the next.
|
|
4370
|
+
`step` claims the opposite of both, that a reading holds until the next.
|
|
4371
|
+
|
|
4372
|
+
**`AreaChart` rests at `straight` and is not disagreeing.** A line claims a
|
|
4373
|
+
position and a stacked band claims an amount: a curve fitted through one
|
|
4374
|
+
sum can pass under the curve fitted through the sum beneath it, so a
|
|
4375
|
+
smoothed stack can draw a part as less than nothing. There is no such edge
|
|
4376
|
+
here, which is what lets a line take the reading aid. */
|
|
4364
4377
|
curve?: (HelixHeadlessLineChart["curve"]) | undefined;
|
|
4365
4378
|
/** Which rules are drawn across the plot, if any.
|
|
4366
4379
|
|
|
@@ -6038,11 +6051,13 @@ and a URL is a better name than "QR code" for a reader who cannot see it. */
|
|
|
6038
6051
|
label?: (HelixHeadlessQrCode["label"]) | undefined;
|
|
6039
6052
|
/** How the modules are drawn.
|
|
6040
6053
|
|
|
6041
|
-
`square` is the
|
|
6042
|
-
|
|
6043
|
-
|
|
6044
|
-
|
|
6045
|
-
|
|
6054
|
+
`square` is the resting state and is written by not writing it, per the
|
|
6055
|
+
rule that a reflected property takes no default. It is also the only one
|
|
6056
|
+
that joins runs of adjacent modules into a single subpath, which is what
|
|
6057
|
+
keeps a thousand modules to a handful of nodes. `rounded` and `dots` draw
|
|
6058
|
+
each module on its own, because the corners are the thing being drawn and a
|
|
6059
|
+
joined run has none in the middle. That cost is paid only by a code that
|
|
6060
|
+
asks for them.
|
|
6046
6061
|
|
|
6047
6062
|
A scanner reads contrast between cells, not their shape, so all three
|
|
6048
6063
|
scan. `dots` sits a little under half a module so neighbors do not touch,
|
|
@@ -6693,7 +6708,13 @@ assert against. So the resting state is still the attribute's absence, and
|
|
|
6693
6708
|
`curve ?? 'smooth'` is what reads it.
|
|
6694
6709
|
|
|
6695
6710
|
`step` claims the opposite of both, that a reading holds until the next.
|
|
6696
|
-
Bars ignore it, having no between to interpolate.
|
|
6711
|
+
Bars ignore it, having no between to interpolate.
|
|
6712
|
+
|
|
6713
|
+
**`AreaChart` rests at `straight` and is not disagreeing.** A line claims a
|
|
6714
|
+
position and a stacked band claims an amount: a curve fitted through one
|
|
6715
|
+
sum can pass under the curve fitted through the sum beneath it, so a
|
|
6716
|
+
smoothed stack can draw a part as less than nothing. There is no such edge
|
|
6717
|
+
here, which is what lets a line take the reading aid. */
|
|
6697
6718
|
curve?: (HelixHeadlessSparkline["curve"]) | undefined;
|
|
6698
6719
|
/** The id of a table to read instead, when there is one behind the line.
|
|
6699
6720
|
|