@fusion.dev/helix 0.16.4 → 0.16.6
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 +23 -12
- package/dist/data-table/root/data-table-root.css.js +8 -0
- package/package.json +6 -6
- package/types/jsx.d.ts +42 -2
- package/types/vue.d.ts +11 -1
package/custom-elements.json
CHANGED
|
@@ -4138,16 +4138,30 @@
|
|
|
4138
4138
|
"kind": "field",
|
|
4139
4139
|
"name": "value",
|
|
4140
4140
|
"type": {
|
|
4141
|
-
"text": "string"
|
|
4141
|
+
"text": "number | string"
|
|
4142
4142
|
},
|
|
4143
4143
|
"default": "''",
|
|
4144
|
-
"description": "The count or short text to show.\n\nAbsent shows a dot, zero shows nothing.",
|
|
4144
|
+
"description": "The count or short text to show.\n\nAbsent shows a dot, zero shows nothing.\n\n**A string, and a number is taken anyway.** What this shows is usually a\ncount, so `value={unread}` is the first thing a React consumer writes, and\na property assignment does not go through the attribute converter that\nwould have made it a string. Read raw it went straight into\n`this.value.trim()`, which threw inside `render` and left the mark showing\nwhatever it had last: measured, a badge set to the number 2 stayed an 8px\ndot with no digit in it, and the console carried\n`TypeError: this.value.trim is not a function`. A component whose whole job\nis showing a count must not lose the count for being handed one.",
|
|
4145
4145
|
"attribute": "value",
|
|
4146
4146
|
"inheritedFrom": {
|
|
4147
4147
|
"name": "HelixHeadlessBadge",
|
|
4148
4148
|
"module": "src/badge/root/badge-root.ts"
|
|
4149
4149
|
}
|
|
4150
4150
|
},
|
|
4151
|
+
{
|
|
4152
|
+
"kind": "field",
|
|
4153
|
+
"name": "given",
|
|
4154
|
+
"type": {
|
|
4155
|
+
"text": "string"
|
|
4156
|
+
},
|
|
4157
|
+
"privacy": "private",
|
|
4158
|
+
"description": "The value as text, whatever it was set to.",
|
|
4159
|
+
"readonly": true,
|
|
4160
|
+
"inheritedFrom": {
|
|
4161
|
+
"name": "HelixHeadlessBadge",
|
|
4162
|
+
"module": "src/badge/root/badge-root.ts"
|
|
4163
|
+
}
|
|
4164
|
+
},
|
|
4151
4165
|
{
|
|
4152
4166
|
"kind": "field",
|
|
4153
4167
|
"name": "blank",
|
|
@@ -4387,10 +4401,10 @@
|
|
|
4387
4401
|
{
|
|
4388
4402
|
"name": "value",
|
|
4389
4403
|
"type": {
|
|
4390
|
-
"text": "string"
|
|
4404
|
+
"text": "number | string"
|
|
4391
4405
|
},
|
|
4392
4406
|
"default": "''",
|
|
4393
|
-
"description": "The count or short text to show.\n\nAbsent shows a dot, zero shows nothing.",
|
|
4407
|
+
"description": "The count or short text to show.\n\nAbsent shows a dot, zero shows nothing.\n\n**A string, and a number is taken anyway.** What this shows is usually a\ncount, so `value={unread}` is the first thing a React consumer writes, and\na property assignment does not go through the attribute converter that\nwould have made it a string. Read raw it went straight into\n`this.value.trim()`, which threw inside `render` and left the mark showing\nwhatever it had last: measured, a badge set to the number 2 stayed an 8px\ndot with no digit in it, and the console carried\n`TypeError: this.value.trim is not a function`. A component whose whole job\nis showing a count must not lose the count for being handed one.",
|
|
4394
4408
|
"fieldName": "value",
|
|
4395
4409
|
"inheritedFrom": {
|
|
4396
4410
|
"name": "HelixHeadlessBadge",
|
|
@@ -24637,6 +24651,11 @@
|
|
|
24637
24651
|
"description": "One query across every column, from a search field the page owns.",
|
|
24638
24652
|
"slug": "searching"
|
|
24639
24653
|
},
|
|
24654
|
+
{
|
|
24655
|
+
"description": "A reading of the range and a choice of page size, either side of the pagination the table draws.",
|
|
24656
|
+
"min": 520,
|
|
24657
|
+
"slug": "summary-and-size"
|
|
24658
|
+
},
|
|
24640
24659
|
{
|
|
24641
24660
|
"description": "Pages of five hundred, each drawn a window at a time.",
|
|
24642
24661
|
"slug": "windowed-paging"
|
|
@@ -30680,10 +30699,6 @@
|
|
|
30680
30699
|
"description": "The same shares over a half circle, with the total in the opening.",
|
|
30681
30700
|
"slug": "arc"
|
|
30682
30701
|
},
|
|
30683
|
-
{
|
|
30684
|
-
"description": "A column the chart does not plot, still read out when a slice is pointed at.",
|
|
30685
|
-
"slug": "columns-not-plotted"
|
|
30686
|
-
},
|
|
30687
30702
|
{
|
|
30688
30703
|
"description": "The three weights a ring can carry, from full strength to a wash.",
|
|
30689
30704
|
"slug": "emphasis"
|
|
@@ -31569,10 +31584,6 @@
|
|
|
31569
31584
|
"min": 420,
|
|
31570
31585
|
"slug": "events"
|
|
31571
31586
|
},
|
|
31572
|
-
{
|
|
31573
|
-
"description": "A panel beside the page rather than over it, with the page still usable behind it.",
|
|
31574
|
-
"slug": "inline"
|
|
31575
|
-
},
|
|
31576
31587
|
{
|
|
31577
31588
|
"description": "Glass, so the page it covers stays visible under its own scrim.",
|
|
31578
31589
|
"slug": "material"
|
|
@@ -61,9 +61,17 @@ padding-block-end: var(--helix-space-sm);
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
[part="footer"] {
|
|
64
|
+
align-items: center;
|
|
65
|
+
display: flex;
|
|
66
|
+
flex-wrap: wrap;
|
|
67
|
+
gap: var(--helix-space-md);
|
|
64
68
|
padding-block-start: var(--helix-space-sm);
|
|
65
69
|
}
|
|
66
70
|
|
|
71
|
+
[part="pagination"] {
|
|
72
|
+
margin-inline-start: auto;
|
|
73
|
+
}
|
|
74
|
+
|
|
67
75
|
[part="empty"],
|
|
68
76
|
[part="loading"] {
|
|
69
77
|
color: var(--helix-color-foreground-subtle);
|
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.16.
|
|
4
|
+
"version": "0.16.6",
|
|
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.16.
|
|
50
|
-
"@fusion.dev/helix-headless": "0.16.
|
|
51
|
-
"@fusion.dev/helix-styles": "0.16.
|
|
49
|
+
"@fusion.dev/helix-core": "0.16.6",
|
|
50
|
+
"@fusion.dev/helix-headless": "0.16.6",
|
|
51
|
+
"@fusion.dev/helix-styles": "0.16.6"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@custom-elements-manifest/analyzer": "^0.11.0",
|
|
55
|
-
"@fusion.dev/helix-cem": "0.16.
|
|
56
|
-
"@fusion.dev/helix-testing": "0.16.
|
|
55
|
+
"@fusion.dev/helix-cem": "0.16.6",
|
|
56
|
+
"@fusion.dev/helix-testing": "0.16.6",
|
|
57
57
|
"@fusion.dev/scripts": "0.0.0-dev",
|
|
58
58
|
"@happy-dom/global-registrator": "^20.0.0",
|
|
59
59
|
"@lit-labs/ssr": "^3.3.0",
|
package/types/jsx.d.ts
CHANGED
|
@@ -1151,7 +1151,17 @@ Past it the indicator reads `{max}+`. */
|
|
|
1151
1151
|
max?: (HelixBadge["max"]) | undefined;
|
|
1152
1152
|
/** The count or short text to show.
|
|
1153
1153
|
|
|
1154
|
-
Absent shows a dot, zero shows nothing.
|
|
1154
|
+
Absent shows a dot, zero shows nothing.
|
|
1155
|
+
|
|
1156
|
+
**A string, and a number is taken anyway.** What this shows is usually a
|
|
1157
|
+
count, so `value={unread}` is the first thing a React consumer writes, and
|
|
1158
|
+
a property assignment does not go through the attribute converter that
|
|
1159
|
+
would have made it a string. Read raw it went straight into
|
|
1160
|
+
`this.value.trim()`, which threw inside `render` and left the mark showing
|
|
1161
|
+
whatever it had last: measured, a badge set to the number 2 stayed an 8px
|
|
1162
|
+
dot with no digit in it, and the console carried
|
|
1163
|
+
`TypeError: this.value.trim is not a function`. A component whose whole job
|
|
1164
|
+
is showing a count must not lose the count for being handed one. */
|
|
1155
1165
|
value?: (HelixBadge["value"]) | undefined;
|
|
1156
1166
|
};
|
|
1157
1167
|
|
|
@@ -1169,7 +1179,17 @@ Past it the indicator reads `{max}+`. */
|
|
|
1169
1179
|
"prop:max"?: (HelixBadge["max"]) | undefined;
|
|
1170
1180
|
/** The count or short text to show.
|
|
1171
1181
|
|
|
1172
|
-
Absent shows a dot, zero shows nothing.
|
|
1182
|
+
Absent shows a dot, zero shows nothing.
|
|
1183
|
+
|
|
1184
|
+
**A string, and a number is taken anyway.** What this shows is usually a
|
|
1185
|
+
count, so `value={unread}` is the first thing a React consumer writes, and
|
|
1186
|
+
a property assignment does not go through the attribute converter that
|
|
1187
|
+
would have made it a string. Read raw it went straight into
|
|
1188
|
+
`this.value.trim()`, which threw inside `render` and left the mark showing
|
|
1189
|
+
whatever it had last: measured, a badge set to the number 2 stayed an 8px
|
|
1190
|
+
dot with no digit in it, and the console carried
|
|
1191
|
+
`TypeError: this.value.trim is not a function`. A component whose whole job
|
|
1192
|
+
is showing a count must not lose the count for being handed one. */
|
|
1173
1193
|
"prop:value"?: (HelixBadge["value"]) | undefined;
|
|
1174
1194
|
|
|
1175
1195
|
/** Set the innerHTML of the element */
|
|
@@ -19006,6 +19026,16 @@ export type CustomElements = {
|
|
|
19006
19026
|
* - `value`: The count or short text to show.
|
|
19007
19027
|
*
|
|
19008
19028
|
* Absent shows a dot, zero shows nothing.
|
|
19029
|
+
*
|
|
19030
|
+
* **A string, and a number is taken anyway.** What this shows is usually a
|
|
19031
|
+
* count, so `value={unread}` is the first thing a React consumer writes, and
|
|
19032
|
+
* a property assignment does not go through the attribute converter that
|
|
19033
|
+
* would have made it a string. Read raw it went straight into
|
|
19034
|
+
* `this.value.trim()`, which threw inside `render` and left the mark showing
|
|
19035
|
+
* whatever it had last: measured, a badge set to the number 2 stayed an 8px
|
|
19036
|
+
* dot with no digit in it, and the console carried
|
|
19037
|
+
* `TypeError: this.value.trim is not a function`. A component whose whole job
|
|
19038
|
+
* is showing a count must not lose the count for being handed one.
|
|
19009
19039
|
* - `whenSettled`: Resolves a frame after the first update, when transitions are switched on.
|
|
19010
19040
|
*
|
|
19011
19041
|
* **Named `whenSettled` because `settled` is taken four times over**, by
|
|
@@ -34971,6 +35001,16 @@ export type CustomElementsSolidJs = {
|
|
|
34971
35001
|
* - `value`: The count or short text to show.
|
|
34972
35002
|
*
|
|
34973
35003
|
* Absent shows a dot, zero shows nothing.
|
|
35004
|
+
*
|
|
35005
|
+
* **A string, and a number is taken anyway.** What this shows is usually a
|
|
35006
|
+
* count, so `value={unread}` is the first thing a React consumer writes, and
|
|
35007
|
+
* a property assignment does not go through the attribute converter that
|
|
35008
|
+
* would have made it a string. Read raw it went straight into
|
|
35009
|
+
* `this.value.trim()`, which threw inside `render` and left the mark showing
|
|
35010
|
+
* whatever it had last: measured, a badge set to the number 2 stayed an 8px
|
|
35011
|
+
* dot with no digit in it, and the console carried
|
|
35012
|
+
* `TypeError: this.value.trim is not a function`. A component whose whole job
|
|
35013
|
+
* is showing a count must not lose the count for being handed one.
|
|
34974
35014
|
* - `whenSettled`: Resolves a frame after the first update, when transitions are switched on.
|
|
34975
35015
|
*
|
|
34976
35016
|
* **Named `whenSettled` because `settled` is taken four times over**, by
|
package/types/vue.d.ts
CHANGED
|
@@ -608,7 +608,17 @@ Past it the indicator reads `{max}+`. */
|
|
|
608
608
|
max?: (HelixBadge["max"]) | undefined;
|
|
609
609
|
/** The count or short text to show.
|
|
610
610
|
|
|
611
|
-
Absent shows a dot, zero shows nothing.
|
|
611
|
+
Absent shows a dot, zero shows nothing.
|
|
612
|
+
|
|
613
|
+
**A string, and a number is taken anyway.** What this shows is usually a
|
|
614
|
+
count, so `value={unread}` is the first thing a React consumer writes, and
|
|
615
|
+
a property assignment does not go through the attribute converter that
|
|
616
|
+
would have made it a string. Read raw it went straight into
|
|
617
|
+
`this.value.trim()`, which threw inside `render` and left the mark showing
|
|
618
|
+
whatever it had last: measured, a badge set to the number 2 stayed an 8px
|
|
619
|
+
dot with no digit in it, and the console carried
|
|
620
|
+
`TypeError: this.value.trim is not a function`. A component whose whole job
|
|
621
|
+
is showing a count must not lose the count for being handed one. */
|
|
612
622
|
value?: (HelixBadge["value"]) | undefined;
|
|
613
623
|
};
|
|
614
624
|
|