@fusion.dev/helix 0.153.0 → 0.154.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 +697 -66
- package/dist/badge/root/badge-root.css.js +1 -1
- package/dist/badge/root/badge-root.d.ts +1 -0
- package/dist/card/root/card-root.css.js +3 -1
- package/dist/code/root/code-root.css.js +2 -2
- package/dist/code/root/code-root.d.ts +1 -0
- package/dist/code-block/root/code-block-root.css.js +4 -1
- package/dist/code-block/root/code-block-root.d.ts +1 -0
- package/dist/icon/root/icon-root.css.js +8 -1
- package/dist/icon/root/icon-root.d.ts +38 -1
- package/dist/icon/root/icon-root.js +17 -0
- package/dist/quote/root/quote-root.css.js +1 -1
- package/dist/skeleton/root/skeleton-root.css.js +11 -7
- package/dist/skeleton/root/skeleton-root.d.ts +18 -2
- package/dist/skeleton/root/skeleton-root.js +11 -0
- package/dist/stat/root/stat-root.css.js +1 -1
- package/lint.json +1 -1
- package/package.json +6 -6
- package/types/jsx.d.ts +413 -37
- package/types/vue.d.ts +105 -10
- package/types/words.d.ts +13 -0
package/types/jsx.d.ts
CHANGED
|
@@ -5170,12 +5170,6 @@ twice what this says once.
|
|
|
5170
5170
|
Reflected and undefaulted, so a card that has not asked reads as a card
|
|
5171
5171
|
with no attribute on it and the stylesheet only describes the departure. */
|
|
5172
5172
|
mediaPlacement?: (HelixCard["mediaPlacement"]) | undefined;
|
|
5173
|
-
/** */
|
|
5174
|
-
"aria-labelledby"?: unknown;
|
|
5175
|
-
/** */
|
|
5176
|
-
undefined?: unknown;
|
|
5177
|
-
/** */
|
|
5178
|
-
"aria-label"?: unknown;
|
|
5179
5173
|
};
|
|
5180
5174
|
|
|
5181
5175
|
export type HelixCardSolidJsProps = {
|
|
@@ -5258,12 +5252,6 @@ twice what this says once.
|
|
|
5258
5252
|
Reflected and undefaulted, so a card that has not asked reads as a card
|
|
5259
5253
|
with no attribute on it and the stylesheet only describes the departure. */
|
|
5260
5254
|
"prop:mediaPlacement"?: (HelixCard["mediaPlacement"]) | undefined;
|
|
5261
|
-
/** */
|
|
5262
|
-
"attr:aria-labelledby"?: unknown;
|
|
5263
|
-
/** */
|
|
5264
|
-
"prop:undefined"?: unknown;
|
|
5265
|
-
/** */
|
|
5266
|
-
"attr:aria-label"?: unknown;
|
|
5267
5255
|
|
|
5268
5256
|
/** Set the innerHTML of the element */
|
|
5269
5257
|
innerHTML?: (string) | undefined;
|
|
@@ -7377,6 +7365,22 @@ significant in code and a wrapped line reads as two. For prose-like code, such a
|
|
|
7377
7365
|
a log line, a wrap reads better than a scroll. Line numbers keep the lines
|
|
7378
7366
|
unwrapped, since a wrapped line would take one number and several rows. */
|
|
7379
7367
|
wrap?: (HelixCodeBlock["wrap"]) | undefined;
|
|
7368
|
+
/** The name of a block that scrolls, which is a tab stop while it does.
|
|
7369
|
+
|
|
7370
|
+
Where the block has a name, the scroller says it too, such as "Code,
|
|
7371
|
+
app.ts", as `code-name-label` puts it. */
|
|
7372
|
+
"code-label"?: (HelixCodeBlock["codeLabel"]) | undefined;
|
|
7373
|
+
/** The name of a block that scrolls, which is a tab stop while it does.
|
|
7374
|
+
|
|
7375
|
+
Where the block has a name, the scroller says it too, such as "Code,
|
|
7376
|
+
app.ts", as `code-name-label` puts it. */
|
|
7377
|
+
codeLabel?: (HelixCodeBlock["codeLabel"]) | undefined;
|
|
7378
|
+
/** The name of a block that scrolls, where the block has a name. `{code}` is
|
|
7379
|
+
`code-label` and `{name}` the block's name. */
|
|
7380
|
+
"code-name-label"?: (HelixCodeBlock["codeNameLabel"]) | undefined;
|
|
7381
|
+
/** The name of a block that scrolls, where the block has a name. `{code}` is
|
|
7382
|
+
`code-label` and `{name}` the block's name. */
|
|
7383
|
+
codeNameLabel?: (HelixCodeBlock["codeNameLabel"]) | undefined;
|
|
7380
7384
|
/** The expand button's words while the block shows every line. */
|
|
7381
7385
|
"collapse-label"?: (HelixCodeBlock["collapseLabel"]) | undefined;
|
|
7382
7386
|
/** The expand button's words while the block shows every line. */
|
|
@@ -7524,6 +7528,22 @@ significant in code and a wrapped line reads as two. For prose-like code, such a
|
|
|
7524
7528
|
a log line, a wrap reads better than a scroll. Line numbers keep the lines
|
|
7525
7529
|
unwrapped, since a wrapped line would take one number and several rows. */
|
|
7526
7530
|
"prop:wrap"?: (HelixCodeBlock["wrap"]) | undefined;
|
|
7531
|
+
/** The name of a block that scrolls, which is a tab stop while it does.
|
|
7532
|
+
|
|
7533
|
+
Where the block has a name, the scroller says it too, such as "Code,
|
|
7534
|
+
app.ts", as `code-name-label` puts it. */
|
|
7535
|
+
"attr:code-label"?: (HelixCodeBlock["codeLabel"]) | undefined;
|
|
7536
|
+
/** The name of a block that scrolls, which is a tab stop while it does.
|
|
7537
|
+
|
|
7538
|
+
Where the block has a name, the scroller says it too, such as "Code,
|
|
7539
|
+
app.ts", as `code-name-label` puts it. */
|
|
7540
|
+
"prop:codeLabel"?: (HelixCodeBlock["codeLabel"]) | undefined;
|
|
7541
|
+
/** The name of a block that scrolls, where the block has a name. `{code}` is
|
|
7542
|
+
`code-label` and `{name}` the block's name. */
|
|
7543
|
+
"attr:code-name-label"?: (HelixCodeBlock["codeNameLabel"]) | undefined;
|
|
7544
|
+
/** The name of a block that scrolls, where the block has a name. `{code}` is
|
|
7545
|
+
`code-label` and `{name}` the block's name. */
|
|
7546
|
+
"prop:codeNameLabel"?: (HelixCodeBlock["codeNameLabel"]) | undefined;
|
|
7527
7547
|
/** The expand button's words while the block shows every line. */
|
|
7528
7548
|
"attr:collapse-label"?: (HelixCodeBlock["collapseLabel"]) | undefined;
|
|
7529
7549
|
/** The expand button's words while the block shows every line. */
|
|
@@ -17073,6 +17093,31 @@ invoker without an id in the same tree needs. */
|
|
|
17073
17093
|
export type HelixIconElementEvent<E = Event> = TypedEvent<HelixIcon, E>;
|
|
17074
17094
|
|
|
17075
17095
|
export type HelixIconProps = {
|
|
17096
|
+
/** A motion that draws the eye or says work is going on: `spin` turns the
|
|
17097
|
+
glyph without end, `pulse` fades it in and out, and `beat` swells it.
|
|
17098
|
+
|
|
17099
|
+
Absent is still. Reduced motion stills every one of them. */
|
|
17100
|
+
animation?: (HelixIcon["animation"]) | undefined;
|
|
17101
|
+
/** Whether the box takes the glyph's own proportions, its height from
|
|
17102
|
+
`--icon-size` and its width from the glyph's box.
|
|
17103
|
+
|
|
17104
|
+
Absent is a square, which lines icons up in a column. */
|
|
17105
|
+
"auto-width"?: (HelixIcon["autoWidth"]) | undefined;
|
|
17106
|
+
/** Whether the box takes the glyph's own proportions, its height from
|
|
17107
|
+
`--icon-size` and its width from the glyph's box.
|
|
17108
|
+
|
|
17109
|
+
Absent is a square, which lines icons up in a column. */
|
|
17110
|
+
autoWidth?: (HelixIcon["autoWidth"]) | undefined;
|
|
17111
|
+
/** Mirrors the glyph across an axis: `x` left to right, `y` top to bottom,
|
|
17112
|
+
`both` across both.
|
|
17113
|
+
|
|
17114
|
+
Absent draws it as it is. On a right-to-left page, `mirror` is the flip
|
|
17115
|
+
that follows the direction. */
|
|
17116
|
+
flip?: (HelixIcon["flip"]) | undefined;
|
|
17117
|
+
/** Turns the glyph clockwise by 90, 180 or 270 degrees.
|
|
17118
|
+
|
|
17119
|
+
Absent draws it upright. `--icon-rotate` turns it by any other angle. */
|
|
17120
|
+
rotate?: (HelixIcon["rotate"]) | undefined;
|
|
17076
17121
|
/** The icon's name, read by screen readers. Set it for an icon that is not
|
|
17077
17122
|
decorative. */
|
|
17078
17123
|
label?: (HelixIcon["label"]) | undefined;
|
|
@@ -17096,6 +17141,11 @@ the value instead.
|
|
|
17096
17141
|
A name written `prefix:name` asks the library registered under that
|
|
17097
17142
|
prefix. */
|
|
17098
17143
|
name?: (HelixIcon["name"]) | undefined;
|
|
17144
|
+
/** The URL of an SVG file to draw, fetched once a page and drawn in
|
|
17145
|
+
`currentColor` where the file does not color its shapes.
|
|
17146
|
+
|
|
17147
|
+
Wins over `name`; `icon` wins over both. Absent draws `name`. */
|
|
17148
|
+
src?: (HelixIcon["src"]) | undefined;
|
|
17099
17149
|
/** The icon to draw, as an object you import.
|
|
17100
17150
|
|
|
17101
17151
|
**The scalable door, and the one this library uses internally.** An icon is
|
|
@@ -17110,13 +17160,38 @@ frameworks set properties and plain markup cannot, which is what `name` is
|
|
|
17110
17160
|
for. Set both and this wins, the value being the more specific statement. */
|
|
17111
17161
|
icon?: (HelixIcon["icon"]) | undefined;
|
|
17112
17162
|
|
|
17113
|
-
/** `name` matches no registered icon and no library answers it, so nothing is drawn. */
|
|
17163
|
+
/** `name` matches no registered icon and no library answers it, or `src` is no SVG, so nothing is drawn. */
|
|
17114
17164
|
onerror?: ((e: HelixIconElementEvent) => void) | undefined;
|
|
17115
|
-
/** A glyph a library gave later for `name` is drawn. */
|
|
17165
|
+
/** A glyph a library gave later for `name`, or the file at `src`, is drawn. */
|
|
17116
17166
|
onload?: ((e: HelixIconElementEvent) => void) | undefined;
|
|
17117
17167
|
};
|
|
17118
17168
|
|
|
17119
17169
|
export type HelixIconSolidJsProps = {
|
|
17170
|
+
/** A motion that draws the eye or says work is going on: `spin` turns the
|
|
17171
|
+
glyph without end, `pulse` fades it in and out, and `beat` swells it.
|
|
17172
|
+
|
|
17173
|
+
Absent is still. Reduced motion stills every one of them. */
|
|
17174
|
+
"prop:animation"?: (HelixIcon["animation"]) | undefined;
|
|
17175
|
+
/** Whether the box takes the glyph's own proportions, its height from
|
|
17176
|
+
`--icon-size` and its width from the glyph's box.
|
|
17177
|
+
|
|
17178
|
+
Absent is a square, which lines icons up in a column. */
|
|
17179
|
+
"bool:auto-width"?: (HelixIcon["autoWidth"]) | undefined;
|
|
17180
|
+
/** Whether the box takes the glyph's own proportions, its height from
|
|
17181
|
+
`--icon-size` and its width from the glyph's box.
|
|
17182
|
+
|
|
17183
|
+
Absent is a square, which lines icons up in a column. */
|
|
17184
|
+
"prop:autoWidth"?: (HelixIcon["autoWidth"]) | undefined;
|
|
17185
|
+
/** Mirrors the glyph across an axis: `x` left to right, `y` top to bottom,
|
|
17186
|
+
`both` across both.
|
|
17187
|
+
|
|
17188
|
+
Absent draws it as it is. On a right-to-left page, `mirror` is the flip
|
|
17189
|
+
that follows the direction. */
|
|
17190
|
+
"prop:flip"?: (HelixIcon["flip"]) | undefined;
|
|
17191
|
+
/** Turns the glyph clockwise by 90, 180 or 270 degrees.
|
|
17192
|
+
|
|
17193
|
+
Absent draws it upright. `--icon-rotate` turns it by any other angle. */
|
|
17194
|
+
"prop:rotate"?: (HelixIcon["rotate"]) | undefined;
|
|
17120
17195
|
/** The icon's name, read by screen readers. Set it for an icon that is not
|
|
17121
17196
|
decorative. */
|
|
17122
17197
|
"prop:label"?: (HelixIcon["label"]) | undefined;
|
|
@@ -17140,6 +17215,11 @@ the value instead.
|
|
|
17140
17215
|
A name written `prefix:name` asks the library registered under that
|
|
17141
17216
|
prefix. */
|
|
17142
17217
|
"prop:name"?: (HelixIcon["name"]) | undefined;
|
|
17218
|
+
/** The URL of an SVG file to draw, fetched once a page and drawn in
|
|
17219
|
+
`currentColor` where the file does not color its shapes.
|
|
17220
|
+
|
|
17221
|
+
Wins over `name`; `icon` wins over both. Absent draws `name`. */
|
|
17222
|
+
"prop:src"?: (HelixIcon["src"]) | undefined;
|
|
17143
17223
|
/** The icon to draw, as an object you import.
|
|
17144
17224
|
|
|
17145
17225
|
**The scalable door, and the one this library uses internally.** An icon is
|
|
@@ -17153,9 +17233,9 @@ consumer's own drawings.
|
|
|
17153
17233
|
frameworks set properties and plain markup cannot, which is what `name` is
|
|
17154
17234
|
for. Set both and this wins, the value being the more specific statement. */
|
|
17155
17235
|
"prop:icon"?: (HelixIcon["icon"]) | undefined;
|
|
17156
|
-
/** `name` matches no registered icon and no library answers it, so nothing is drawn. */
|
|
17236
|
+
/** `name` matches no registered icon and no library answers it, or `src` is no SVG, so nothing is drawn. */
|
|
17157
17237
|
"on:error"?: ((e: HelixIconElementEvent) => void) | undefined;
|
|
17158
|
-
/** A glyph a library gave later for `name` is drawn. */
|
|
17238
|
+
/** A glyph a library gave later for `name`, or the file at `src`, is drawn. */
|
|
17159
17239
|
"on:load"?: ((e: HelixIconElementEvent) => void) | undefined;
|
|
17160
17240
|
|
|
17161
17241
|
/** Set the innerHTML of the element */
|
|
@@ -25940,11 +26020,39 @@ which is what makes it read as dots rather than as a softened square code. */
|
|
|
25940
26020
|
export type HelixQuoteProps = {
|
|
25941
26021
|
/** URL identifying where the quotation came from. */
|
|
25942
26022
|
cite?: (HelixQuote["cite"]) | undefined;
|
|
26023
|
+
/** Whether to leave the quotation marks off, for a quotation set where the
|
|
26024
|
+
page draws its own.
|
|
26025
|
+
|
|
26026
|
+
Negative, because the marks are on by default and a boolean attribute is
|
|
26027
|
+
true whenever it is present. Reflected, because a stylesheet takes the
|
|
26028
|
+
marks off on it. */
|
|
26029
|
+
"no-marks"?: (HelixQuote["noMarks"]) | undefined;
|
|
26030
|
+
/** Whether to leave the quotation marks off, for a quotation set where the
|
|
26031
|
+
page draws its own.
|
|
26032
|
+
|
|
26033
|
+
Negative, because the marks are on by default and a boolean attribute is
|
|
26034
|
+
true whenever it is present. Reflected, because a stylesheet takes the
|
|
26035
|
+
marks off on it. */
|
|
26036
|
+
noMarks?: (HelixQuote["noMarks"]) | undefined;
|
|
25943
26037
|
};
|
|
25944
26038
|
|
|
25945
26039
|
export type HelixQuoteSolidJsProps = {
|
|
25946
26040
|
/** URL identifying where the quotation came from. */
|
|
25947
26041
|
"prop:cite"?: (HelixQuote["cite"]) | undefined;
|
|
26042
|
+
/** Whether to leave the quotation marks off, for a quotation set where the
|
|
26043
|
+
page draws its own.
|
|
26044
|
+
|
|
26045
|
+
Negative, because the marks are on by default and a boolean attribute is
|
|
26046
|
+
true whenever it is present. Reflected, because a stylesheet takes the
|
|
26047
|
+
marks off on it. */
|
|
26048
|
+
"bool:no-marks"?: (HelixQuote["noMarks"]) | undefined;
|
|
26049
|
+
/** Whether to leave the quotation marks off, for a quotation set where the
|
|
26050
|
+
page draws its own.
|
|
26051
|
+
|
|
26052
|
+
Negative, because the marks are on by default and a boolean attribute is
|
|
26053
|
+
true whenever it is present. Reflected, because a stylesheet takes the
|
|
26054
|
+
marks off on it. */
|
|
26055
|
+
"prop:noMarks"?: (HelixQuote["noMarks"]) | undefined;
|
|
25948
26056
|
|
|
25949
26057
|
/** Set the innerHTML of the element */
|
|
25950
26058
|
innerHTML?: (string) | undefined;
|
|
@@ -28591,6 +28699,11 @@ fade the fill in and out, or `none` to sit still.
|
|
|
28591
28699
|
|
|
28592
28700
|
Reduced motion stills both. */
|
|
28593
28701
|
effect?: (HelixSkeleton["effect"]) | undefined;
|
|
28702
|
+
/** How many lines of text the placeholder stands for, with `shape="text"`.
|
|
28703
|
+
|
|
28704
|
+
Absent, or 1, is one line. Reflected, because the stylesheet sizes a
|
|
28705
|
+
paragraph by it. */
|
|
28706
|
+
lines?: (HelixSkeleton["lines"]) | undefined;
|
|
28594
28707
|
/** The shape of the placeholder: `text`, `circle`, or a block when unset.
|
|
28595
28708
|
|
|
28596
28709
|
Unset is a block, which is what most missing things are. A block is the
|
|
@@ -28616,6 +28729,11 @@ fade the fill in and out, or `none` to sit still.
|
|
|
28616
28729
|
|
|
28617
28730
|
Reduced motion stills both. */
|
|
28618
28731
|
"prop:effect"?: (HelixSkeleton["effect"]) | undefined;
|
|
28732
|
+
/** How many lines of text the placeholder stands for, with `shape="text"`.
|
|
28733
|
+
|
|
28734
|
+
Absent, or 1, is one line. Reflected, because the stylesheet sizes a
|
|
28735
|
+
paragraph by it. */
|
|
28736
|
+
"prop:lines"?: (HelixSkeleton["lines"]) | undefined;
|
|
28619
28737
|
/** The shape of the placeholder: `text`, `circle`, or a block when unset.
|
|
28620
28738
|
|
|
28621
28739
|
Unset is a block, which is what most missing things are. A block is the
|
|
@@ -30031,7 +30149,10 @@ figures compared one against another keep their own widths. */
|
|
|
30031
30149
|
columns?: (HelixStatGroup["columns"]) | undefined;
|
|
30032
30150
|
/** Draws a rule between the figures, in addition to the space. */
|
|
30033
30151
|
divided?: (HelixStatGroup["divided"]) | undefined;
|
|
30034
|
-
/** Accessible name for the group.
|
|
30152
|
+
/** Accessible name for the group, which makes it a group.
|
|
30153
|
+
|
|
30154
|
+
Absent leaves the stats with no group around them, unless `aria-label` or
|
|
30155
|
+
`aria-labelledby` names it. */
|
|
30035
30156
|
label?: (HelixStatGroup["label"]) | undefined;
|
|
30036
30157
|
};
|
|
30037
30158
|
|
|
@@ -30045,7 +30166,10 @@ figures compared one against another keep their own widths. */
|
|
|
30045
30166
|
"prop:columns"?: (HelixStatGroup["columns"]) | undefined;
|
|
30046
30167
|
/** Draws a rule between the figures, in addition to the space. */
|
|
30047
30168
|
"prop:divided"?: (HelixStatGroup["divided"]) | undefined;
|
|
30048
|
-
/** Accessible name for the group.
|
|
30169
|
+
/** Accessible name for the group, which makes it a group.
|
|
30170
|
+
|
|
30171
|
+
Absent leaves the stats with no group around them, unless `aria-label` or
|
|
30172
|
+
`aria-labelledby` names it. */
|
|
30049
30173
|
"prop:label"?: (HelixStatGroup["label"]) | undefined;
|
|
30050
30174
|
|
|
30051
30175
|
/** Set the innerHTML of the element */
|
|
@@ -30081,6 +30205,29 @@ reports a hydration mismatch. The absent attribute is the column, which the
|
|
|
30081
30205
|
stylesheet reads as the base case, and the server spec asserts the host
|
|
30082
30206
|
carries nothing nobody wrote. */
|
|
30083
30207
|
direction?: (HelixStat["direction"]) | undefined;
|
|
30208
|
+
/** `Intl.NumberFormat` options `value` is written with, such as
|
|
30209
|
+
`{"notation":"compact"}` for `1.2M` or `{"style":"percent"}` for `98%`,
|
|
30210
|
+
written as JSON in the attribute.
|
|
30211
|
+
|
|
30212
|
+
Absent writes the number as the locale writes any number. */
|
|
30213
|
+
"format-options"?: (HelixStat["formatOptions"]) | undefined;
|
|
30214
|
+
/** `Intl.NumberFormat` options `value` is written with, such as
|
|
30215
|
+
`{"notation":"compact"}` for `1.2M` or `{"style":"percent"}` for `98%`,
|
|
30216
|
+
written as JSON in the attribute.
|
|
30217
|
+
|
|
30218
|
+
Absent writes the number as the locale writes any number. */
|
|
30219
|
+
formatOptions?: (HelixStat["formatOptions"]) | undefined;
|
|
30220
|
+
/** The locale `value` is written in, such as `de` for `1.234.567`.
|
|
30221
|
+
|
|
30222
|
+
Absent reads the nearest `lang`, then the runtime's own. Set it on a page
|
|
30223
|
+
rendered on a server, so the server and the browser write the figure
|
|
30224
|
+
alike. */
|
|
30225
|
+
locale?: (HelixStat["locale"]) | undefined;
|
|
30226
|
+
/** The figure as a number, written with `format-options` in `locale` in
|
|
30227
|
+
place of a slotted value.
|
|
30228
|
+
|
|
30229
|
+
Absent leaves the figure to the slot. */
|
|
30230
|
+
value?: (HelixStat["value"]) | undefined;
|
|
30084
30231
|
};
|
|
30085
30232
|
|
|
30086
30233
|
export type HelixStatSolidJsProps = {
|
|
@@ -30110,6 +30257,29 @@ reports a hydration mismatch. The absent attribute is the column, which the
|
|
|
30110
30257
|
stylesheet reads as the base case, and the server spec asserts the host
|
|
30111
30258
|
carries nothing nobody wrote. */
|
|
30112
30259
|
"prop:direction"?: (HelixStat["direction"]) | undefined;
|
|
30260
|
+
/** `Intl.NumberFormat` options `value` is written with, such as
|
|
30261
|
+
`{"notation":"compact"}` for `1.2M` or `{"style":"percent"}` for `98%`,
|
|
30262
|
+
written as JSON in the attribute.
|
|
30263
|
+
|
|
30264
|
+
Absent writes the number as the locale writes any number. */
|
|
30265
|
+
"attr:format-options"?: (HelixStat["formatOptions"]) | undefined;
|
|
30266
|
+
/** `Intl.NumberFormat` options `value` is written with, such as
|
|
30267
|
+
`{"notation":"compact"}` for `1.2M` or `{"style":"percent"}` for `98%`,
|
|
30268
|
+
written as JSON in the attribute.
|
|
30269
|
+
|
|
30270
|
+
Absent writes the number as the locale writes any number. */
|
|
30271
|
+
"prop:formatOptions"?: (HelixStat["formatOptions"]) | undefined;
|
|
30272
|
+
/** The locale `value` is written in, such as `de` for `1.234.567`.
|
|
30273
|
+
|
|
30274
|
+
Absent reads the nearest `lang`, then the runtime's own. Set it on a page
|
|
30275
|
+
rendered on a server, so the server and the browser write the figure
|
|
30276
|
+
alike. */
|
|
30277
|
+
"prop:locale"?: (HelixStat["locale"]) | undefined;
|
|
30278
|
+
/** The figure as a number, written with `format-options` in `locale` in
|
|
30279
|
+
place of a slotted value.
|
|
30280
|
+
|
|
30281
|
+
Absent leaves the figure to the slot. */
|
|
30282
|
+
"prop:value"?: (HelixStat["value"]) | undefined;
|
|
30113
30283
|
|
|
30114
30284
|
/** Set the innerHTML of the element */
|
|
30115
30285
|
innerHTML?: (string) | undefined;
|
|
@@ -38869,6 +39039,7 @@ export type CustomElements = {
|
|
|
38869
39039
|
* Areas where markup can be added to the component.
|
|
38870
39040
|
*
|
|
38871
39041
|
* - `(default)`: The element being decorated.
|
|
39042
|
+
* - `icon`: An icon inside the mark, before the count, or the whole mark when there is no value. Hidden from screen readers.
|
|
38872
39043
|
*
|
|
38873
39044
|
* ## CSS Custom Properties
|
|
38874
39045
|
*
|
|
@@ -38879,6 +39050,7 @@ export type CustomElements = {
|
|
|
38879
39050
|
* - `--badge-color`: The color of the count, to pair with a fill set through `--badge-background-color`.
|
|
38880
39051
|
* - `--badge-font-weight`: The weight of the count.
|
|
38881
39052
|
* - `--badge-gap`: The space between the content and the count under `placement="inline"`.
|
|
39053
|
+
* - `--badge-icon-size`: The size of an icon in the `icon` slot. The count's own size by default.
|
|
38882
39054
|
* - `--badge-offset`: Pulls the mark in from the corner, along both axes.
|
|
38883
39055
|
* - `--badge-radius`: How far the indicator's corners are rounded.
|
|
38884
39056
|
* - `--badge-ring-color`: The color of the ring between the indicator and what is behind it.
|
|
@@ -38887,7 +39059,8 @@ export type CustomElements = {
|
|
|
38887
39059
|
*
|
|
38888
39060
|
* Custom selectors for styling elements within the component.
|
|
38889
39061
|
*
|
|
38890
|
-
* - `
|
|
39062
|
+
* - `icon`: The slot the icon arrives through, inside the indicator. A slot draws no box, so it passes inherited properties, such as color, to the icon.
|
|
39063
|
+
* - `indicator`: The count, or the dot when there is no value. Carries `data-dot` when there is no value, `data-single` when the count is one character, and `data-blank` when the value is zero.
|
|
38891
39064
|
*
|
|
38892
39065
|
* ## CSS States
|
|
38893
39066
|
*
|
|
@@ -38895,7 +39068,8 @@ export type CustomElements = {
|
|
|
38895
39068
|
*
|
|
38896
39069
|
* - `blank`: The value is zero, so there is no mark.
|
|
38897
39070
|
* - `capped`: The count is past `max`, so the mark shows `{max}+`.
|
|
38898
|
-
* - `dot`: There is no value, so the mark is a dot.
|
|
39071
|
+
* - `dot`: There is no value and no icon, so the mark is a dot.
|
|
39072
|
+
* - `has-icon`: Something is slotted into `icon`, so it is drawn inside the mark.
|
|
38899
39073
|
* - `settled`: Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
|
|
38900
39074
|
*/
|
|
38901
39075
|
"helix-badge": Partial<HelixBadgeProps & BaseProps<HelixBadge> & BaseEvents<HelixBadge>>;
|
|
@@ -40931,8 +41105,6 @@ export type CustomElements = {
|
|
|
40931
41105
|
*
|
|
40932
41106
|
* Reflected and undefaulted, so a card that has not asked reads as a card
|
|
40933
41107
|
* with no attribute on it and the stylesheet only describes the departure.
|
|
40934
|
-
* - `aria-labelledby`/`undefined`: undefined
|
|
40935
|
-
* - `aria-label`/`undefined`: undefined
|
|
40936
41108
|
* - `whenSettled`: Resolves a frame after the first update, when transitions are switched on.
|
|
40937
41109
|
*
|
|
40938
41110
|
* **Named `whenSettled` because `settled` is taken four times over**, by
|
|
@@ -40965,6 +41137,14 @@ export type CustomElements = {
|
|
|
40965
41137
|
* - `header-actions`: Controls for the whole card at the end of the header's line, such as a menu.
|
|
40966
41138
|
* - `media`: Image, video, or chart that runs edge to edge, outside the inset.
|
|
40967
41139
|
*
|
|
41140
|
+
* ## Methods
|
|
41141
|
+
*
|
|
41142
|
+
* Methods that can be called to access component functionality.
|
|
41143
|
+
*
|
|
41144
|
+
* - `attributeChangedCallback(name: string, old: string | null, value: string | null) => void`: Called by the browser when an observed attribute changes. A name written
|
|
41145
|
+
* or taken off asks for an update, because it decides whether the card is a
|
|
41146
|
+
* group and whether its heading names it.
|
|
41147
|
+
*
|
|
40968
41148
|
* ## CSS Custom Properties
|
|
40969
41149
|
*
|
|
40970
41150
|
* CSS variables available for styling the component.
|
|
@@ -42378,6 +42558,12 @@ export type CustomElements = {
|
|
|
42378
42558
|
* significant in code and a wrapped line reads as two. For prose-like code, such as a long command or
|
|
42379
42559
|
* a log line, a wrap reads better than a scroll. Line numbers keep the lines
|
|
42380
42560
|
* unwrapped, since a wrapped line would take one number and several rows.
|
|
42561
|
+
* - `code-label`/`codeLabel`: The name of a block that scrolls, which is a tab stop while it does.
|
|
42562
|
+
*
|
|
42563
|
+
* Where the block has a name, the scroller says it too, such as "Code,
|
|
42564
|
+
* app.ts", as `code-name-label` puts it.
|
|
42565
|
+
* - `code-name-label`/`codeNameLabel`: The name of a block that scrolls, where the block has a name. `{code}` is
|
|
42566
|
+
* `code-label` and `{name}` the block's name.
|
|
42381
42567
|
* - `collapse-label`/`collapseLabel`: The expand button's words while the block shows every line.
|
|
42382
42568
|
* - `copied-label`/`copiedLabel`: The copy button's name and tooltip text after a copy.
|
|
42383
42569
|
* - `copy-label`/`copyLabel`: The copy button's name and tooltip text before a copy.
|
|
@@ -46640,13 +46826,18 @@ export type CustomElements = {
|
|
|
46640
46826
|
*
|
|
46641
46827
|
* Custom selectors for styling elements within the component.
|
|
46642
46828
|
*
|
|
46829
|
+
* - `actions`: The slot the actions arrive through. A slot draws no box, so it passes inherited properties to the actions; `display: flex` lays them out in a row.
|
|
46643
46830
|
* - `heading`: The heading at `heading-level`: the one `heading` draws while nothing is slotted into `heading`, or the one around a slotted element that is no heading.
|
|
46831
|
+
* - `icon`: The slot the icon arrives through, drawing no box, as `actions` does.
|
|
46644
46832
|
* - `live`: A copy of the heading and the message, in a live region that screen readers announce when the view appears. Visually hidden in the styled tier.
|
|
46833
|
+
* - `message`: The slot the message arrives through, drawing no box, as `actions` does.
|
|
46645
46834
|
*
|
|
46646
46835
|
* ## CSS States
|
|
46647
46836
|
*
|
|
46648
46837
|
* These can be used to apply styling when a component is in a given state.
|
|
46649
46838
|
*
|
|
46839
|
+
* - `has-actions`: Something is slotted into `actions`.
|
|
46840
|
+
* - `has-icon`: Something is slotted into `icon`.
|
|
46650
46841
|
* - `settled`: Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
|
|
46651
46842
|
*/
|
|
46652
46843
|
"helix-empty": Partial<HelixEmptyProps & BaseProps<HelixEmpty> & BaseEvents<HelixEmpty>>;
|
|
@@ -49016,10 +49207,33 @@ export type CustomElements = {
|
|
|
49016
49207
|
* Inside a button, `--icon-size` is set in `em`, so the icon scales with the
|
|
49017
49208
|
* button.
|
|
49018
49209
|
*
|
|
49210
|
+
* **The glyph turns, flips and moves inside its own box**, so the line around
|
|
49211
|
+
* it keeps its place: `rotate` turns it by a quarter, a half or three
|
|
49212
|
+
* quarters, `--icon-rotate` by any angle, `flip` mirrors it across either
|
|
49213
|
+
* axis, and `animation` spins, pulses or beats it, as Web Awesome's icon does.
|
|
49214
|
+
* Reduced motion stills every animation. `auto-width` gives the box the
|
|
49215
|
+
* glyph's own proportions, for a mark wider than it is tall.
|
|
49216
|
+
*
|
|
49019
49217
|
* ## Attributes & Properties
|
|
49020
49218
|
*
|
|
49021
49219
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
49022
49220
|
*
|
|
49221
|
+
* - `animation`: A motion that draws the eye or says work is going on: `spin` turns the
|
|
49222
|
+
* glyph without end, `pulse` fades it in and out, and `beat` swells it.
|
|
49223
|
+
*
|
|
49224
|
+
* Absent is still. Reduced motion stills every one of them.
|
|
49225
|
+
* - `auto-width`/`autoWidth`: Whether the box takes the glyph's own proportions, its height from
|
|
49226
|
+
* `--icon-size` and its width from the glyph's box.
|
|
49227
|
+
*
|
|
49228
|
+
* Absent is a square, which lines icons up in a column.
|
|
49229
|
+
* - `flip`: Mirrors the glyph across an axis: `x` left to right, `y` top to bottom,
|
|
49230
|
+
* `both` across both.
|
|
49231
|
+
*
|
|
49232
|
+
* Absent draws it as it is. On a right-to-left page, `mirror` is the flip
|
|
49233
|
+
* that follows the direction.
|
|
49234
|
+
* - `rotate`: Turns the glyph clockwise by 90, 180 or 270 degrees.
|
|
49235
|
+
*
|
|
49236
|
+
* Absent draws it upright. `--icon-rotate` turns it by any other angle.
|
|
49023
49237
|
* - `label`: The icon's name, read by screen readers. Set it for an icon that is not
|
|
49024
49238
|
* decorative.
|
|
49025
49239
|
* - `mirror`: Flips the glyph on a right-to-left page. Use it for an arrow that means
|
|
@@ -49040,6 +49254,10 @@ export type CustomElements = {
|
|
|
49040
49254
|
*
|
|
49041
49255
|
* A name written `prefix:name` asks the library registered under that
|
|
49042
49256
|
* prefix.
|
|
49257
|
+
* - `src`: The URL of an SVG file to draw, fetched once a page and drawn in
|
|
49258
|
+
* `currentColor` where the file does not color its shapes.
|
|
49259
|
+
*
|
|
49260
|
+
* Wins over `name`; `icon` wins over both. Absent draws `name`.
|
|
49043
49261
|
* - `icon`: The icon to draw, as an object you import.
|
|
49044
49262
|
*
|
|
49045
49263
|
* **The scalable door, and the one this library uses internally.** An icon is
|
|
@@ -49077,8 +49295,8 @@ export type CustomElements = {
|
|
|
49077
49295
|
*
|
|
49078
49296
|
* Events that will be emitted by the component.
|
|
49079
49297
|
*
|
|
49080
|
-
* - `error`: `name` matches no registered icon and no library answers it, so nothing is drawn.
|
|
49081
|
-
* - `load`: A glyph a library gave later for `name` is drawn.
|
|
49298
|
+
* - `error`: `name` matches no registered icon and no library answers it, or `src` is no SVG, so nothing is drawn.
|
|
49299
|
+
* - `load`: A glyph a library gave later for `name`, or the file at `src`, is drawn.
|
|
49082
49300
|
*
|
|
49083
49301
|
* ## Methods
|
|
49084
49302
|
*
|
|
@@ -49092,7 +49310,9 @@ export type CustomElements = {
|
|
|
49092
49310
|
*
|
|
49093
49311
|
* CSS variables available for styling the component.
|
|
49094
49312
|
*
|
|
49095
|
-
* - `--icon-
|
|
49313
|
+
* - `--icon-animation-duration`: How long one turn, pulse or beat of `animation` takes.
|
|
49314
|
+
* - `--icon-rotate`: An angle the glyph is turned by, such as `45deg`. `rotate` wins over it.
|
|
49315
|
+
* - `--icon-size`: The width and height of the icon's box. The height alone under `auto-width`.
|
|
49096
49316
|
*
|
|
49097
49317
|
* ## CSS Parts
|
|
49098
49318
|
*
|
|
@@ -55989,6 +56209,12 @@ export type CustomElements = {
|
|
|
55989
56209
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
55990
56210
|
*
|
|
55991
56211
|
* - `cite`: URL identifying where the quotation came from.
|
|
56212
|
+
* - `no-marks`/`noMarks`: Whether to leave the quotation marks off, for a quotation set where the
|
|
56213
|
+
* page draws its own.
|
|
56214
|
+
*
|
|
56215
|
+
* Negative, because the marks are on by default and a boolean attribute is
|
|
56216
|
+
* true whenever it is present. Reflected, because a stylesheet takes the
|
|
56217
|
+
* marks off on it.
|
|
55992
56218
|
* - `whenSettled`: Resolves a frame after the first update, when transitions are switched on.
|
|
55993
56219
|
*
|
|
55994
56220
|
* **Named `whenSettled` because `settled` is taken four times over**, by
|
|
@@ -58161,6 +58387,11 @@ export type CustomElements = {
|
|
|
58161
58387
|
* Around content with `loading`, the skeleton takes the content's box and
|
|
58162
58388
|
* paints over it, and the content is hidden until `loading` is taken off.
|
|
58163
58389
|
*
|
|
58390
|
+
* **`lines` draws a paragraph.** With `shape="text"` and `lines="3"`, one
|
|
58391
|
+
* element stands in for three lines of text: each line a `skeleton` part one
|
|
58392
|
+
* `em` tall, spaced a body line height apart, and the last one shorter, as the end
|
|
58393
|
+
* of a paragraph is.
|
|
58394
|
+
*
|
|
58164
58395
|
* ## Attributes & Properties
|
|
58165
58396
|
*
|
|
58166
58397
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
@@ -58169,6 +58400,10 @@ export type CustomElements = {
|
|
|
58169
58400
|
* fade the fill in and out, or `none` to sit still.
|
|
58170
58401
|
*
|
|
58171
58402
|
* Reduced motion stills both.
|
|
58403
|
+
* - `lines`: How many lines of text the placeholder stands for, with `shape="text"`.
|
|
58404
|
+
*
|
|
58405
|
+
* Absent, or 1, is one line. Reflected, because the stylesheet sizes a
|
|
58406
|
+
* paragraph by it.
|
|
58172
58407
|
* - `shape`: The shape of the placeholder: `text`, `circle`, or a block when unset.
|
|
58173
58408
|
*
|
|
58174
58409
|
* Unset is a block, which is what most missing things are. A block is the
|
|
@@ -58217,6 +58452,7 @@ export type CustomElements = {
|
|
|
58217
58452
|
* - `--skeleton-block-size`: The height of the block shape, which is the shape when `shape` is unset. Defaults to the control height.
|
|
58218
58453
|
* - `--skeleton-color`: The placeholder's fill.
|
|
58219
58454
|
* - `--skeleton-duration`: How long one sweep or one pulse takes.
|
|
58455
|
+
* - `--skeleton-last-line-size`: The width of the last line of a `lines` paragraph. Defaults to 60%.
|
|
58220
58456
|
* - `--skeleton-radius`: The corner of the block shape.
|
|
58221
58457
|
* - `--skeleton-sheen-color`: The highlight the sweep carries across the fill.
|
|
58222
58458
|
* - `--skeleton-size`: The diameter of the circle shape.
|
|
@@ -58226,8 +58462,10 @@ export type CustomElements = {
|
|
|
58226
58462
|
* Custom selectors for styling elements within the component.
|
|
58227
58463
|
*
|
|
58228
58464
|
* - `content`: The box around the content, hidden while `loading`.
|
|
58465
|
+
* - `line`: Each line of a `lines` paragraph, which is also a `skeleton` part.
|
|
58466
|
+
* - `lines`: The column holding a `lines` paragraph, drawn only for `shape="text"` with two or more lines.
|
|
58229
58467
|
* - `sheen`: The highlight swept across the shape. Hidden for `effect="pulse"` and `effect="none"`.
|
|
58230
|
-
* - `skeleton`: The placeholder shape.
|
|
58468
|
+
* - `skeleton`: The placeholder shape, or each line of a `lines` paragraph.
|
|
58231
58469
|
*
|
|
58232
58470
|
* ## CSS States
|
|
58233
58471
|
*
|
|
@@ -59395,7 +59633,10 @@ export type CustomElements = {
|
|
|
59395
59633
|
* with its rule; and a count is what a set of facts read across wants, where
|
|
59396
59634
|
* figures compared one against another keep their own widths.
|
|
59397
59635
|
* - `divided`: Draws a rule between the figures, in addition to the space.
|
|
59398
|
-
* - `label`: Accessible name for the group.
|
|
59636
|
+
* - `label`: Accessible name for the group, which makes it a group.
|
|
59637
|
+
*
|
|
59638
|
+
* Absent leaves the stats with no group around them, unless `aria-label` or
|
|
59639
|
+
* `aria-labelledby` names it.
|
|
59399
59640
|
* - `whenSettled`: Resolves a frame after the first update, when transitions are switched on.
|
|
59400
59641
|
*
|
|
59401
59642
|
* **Named `whenSettled` because `settled` is taken four times over**, by
|
|
@@ -59423,6 +59664,14 @@ export type CustomElements = {
|
|
|
59423
59664
|
*
|
|
59424
59665
|
* - `(default)`: The stats.
|
|
59425
59666
|
*
|
|
59667
|
+
* ## Methods
|
|
59668
|
+
*
|
|
59669
|
+
* Methods that can be called to access component functionality.
|
|
59670
|
+
*
|
|
59671
|
+
* - `attributeChangedCallback(name: string, old: string | null, value: string | null) => void`: Called by the browser when an observed attribute changes. A name written
|
|
59672
|
+
* or taken off asks for an update, because it decides whether the stats are
|
|
59673
|
+
* a group.
|
|
59674
|
+
*
|
|
59426
59675
|
* ## CSS Custom Properties
|
|
59427
59676
|
*
|
|
59428
59677
|
* CSS variables available for styling the component.
|
|
@@ -59474,6 +59723,20 @@ export type CustomElements = {
|
|
|
59474
59723
|
* reports a hydration mismatch. The absent attribute is the column, which the
|
|
59475
59724
|
* stylesheet reads as the base case, and the server spec asserts the host
|
|
59476
59725
|
* carries nothing nobody wrote.
|
|
59726
|
+
* - `format-options`/`formatOptions`: `Intl.NumberFormat` options `value` is written with, such as
|
|
59727
|
+
* `{"notation":"compact"}` for `1.2M` or `{"style":"percent"}` for `98%`,
|
|
59728
|
+
* written as JSON in the attribute.
|
|
59729
|
+
*
|
|
59730
|
+
* Absent writes the number as the locale writes any number.
|
|
59731
|
+
* - `locale`: The locale `value` is written in, such as `de` for `1.234.567`.
|
|
59732
|
+
*
|
|
59733
|
+
* Absent reads the nearest `lang`, then the runtime's own. Set it on a page
|
|
59734
|
+
* rendered on a server, so the server and the browser write the figure
|
|
59735
|
+
* alike.
|
|
59736
|
+
* - `value`: The figure as a number, written with `format-options` in `locale` in
|
|
59737
|
+
* place of a slotted value.
|
|
59738
|
+
*
|
|
59739
|
+
* Absent leaves the figure to the slot.
|
|
59477
59740
|
* - `whenSettled`: Resolves a frame after the first update, when transitions are switched on.
|
|
59478
59741
|
*
|
|
59479
59742
|
* **Named `whenSettled` because `settled` is taken four times over**, by
|
|
@@ -59521,11 +59784,17 @@ export type CustomElements = {
|
|
|
59521
59784
|
* Custom selectors for styling elements within the component.
|
|
59522
59785
|
*
|
|
59523
59786
|
* - `value`: The slot the value is written in. A slot draws no box, so it takes the inherited properties, such as color and font, and passes them to the value.
|
|
59787
|
+
* - `label`: The slot the label arrives through, drawing no box, as `value` does.
|
|
59788
|
+
* - `trend`: The slot the trend arrives through, drawing no box, as `value` does.
|
|
59789
|
+
* - `unit`: The slot the unit arrives through, drawing no box, as `value` does.
|
|
59524
59790
|
*
|
|
59525
59791
|
* ## CSS States
|
|
59526
59792
|
*
|
|
59527
59793
|
* These can be used to apply styling when a component is in a given state.
|
|
59528
59794
|
*
|
|
59795
|
+
* - `has-label`: Something is slotted into `label`.
|
|
59796
|
+
* - `has-trend`: Something is slotted into `trend`.
|
|
59797
|
+
* - `has-unit`: Something is slotted into `unit`.
|
|
59529
59798
|
* - `settled`: Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
|
|
59530
59799
|
*/
|
|
59531
59800
|
"helix-stat": Partial<HelixStatProps & BaseProps<HelixStat> & BaseEvents<HelixStat>>;
|
|
@@ -66541,6 +66810,7 @@ export type CustomElementsSolidJs = {
|
|
|
66541
66810
|
* Areas where markup can be added to the component.
|
|
66542
66811
|
*
|
|
66543
66812
|
* - `(default)`: The element being decorated.
|
|
66813
|
+
* - `icon`: An icon inside the mark, before the count, or the whole mark when there is no value. Hidden from screen readers.
|
|
66544
66814
|
*
|
|
66545
66815
|
* ## CSS Custom Properties
|
|
66546
66816
|
*
|
|
@@ -66551,6 +66821,7 @@ export type CustomElementsSolidJs = {
|
|
|
66551
66821
|
* - `--badge-color`: The color of the count, to pair with a fill set through `--badge-background-color`.
|
|
66552
66822
|
* - `--badge-font-weight`: The weight of the count.
|
|
66553
66823
|
* - `--badge-gap`: The space between the content and the count under `placement="inline"`.
|
|
66824
|
+
* - `--badge-icon-size`: The size of an icon in the `icon` slot. The count's own size by default.
|
|
66554
66825
|
* - `--badge-offset`: Pulls the mark in from the corner, along both axes.
|
|
66555
66826
|
* - `--badge-radius`: How far the indicator's corners are rounded.
|
|
66556
66827
|
* - `--badge-ring-color`: The color of the ring between the indicator and what is behind it.
|
|
@@ -66559,7 +66830,8 @@ export type CustomElementsSolidJs = {
|
|
|
66559
66830
|
*
|
|
66560
66831
|
* Custom selectors for styling elements within the component.
|
|
66561
66832
|
*
|
|
66562
|
-
* - `
|
|
66833
|
+
* - `icon`: The slot the icon arrives through, inside the indicator. A slot draws no box, so it passes inherited properties, such as color, to the icon.
|
|
66834
|
+
* - `indicator`: The count, or the dot when there is no value. Carries `data-dot` when there is no value, `data-single` when the count is one character, and `data-blank` when the value is zero.
|
|
66563
66835
|
*
|
|
66564
66836
|
* ## CSS States
|
|
66565
66837
|
*
|
|
@@ -66567,7 +66839,8 @@ export type CustomElementsSolidJs = {
|
|
|
66567
66839
|
*
|
|
66568
66840
|
* - `blank`: The value is zero, so there is no mark.
|
|
66569
66841
|
* - `capped`: The count is past `max`, so the mark shows `{max}+`.
|
|
66570
|
-
* - `dot`: There is no value, so the mark is a dot.
|
|
66842
|
+
* - `dot`: There is no value and no icon, so the mark is a dot.
|
|
66843
|
+
* - `has-icon`: Something is slotted into `icon`, so it is drawn inside the mark.
|
|
66571
66844
|
* - `settled`: Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
|
|
66572
66845
|
*/
|
|
66573
66846
|
"helix-badge": Partial<
|
|
@@ -68638,8 +68911,6 @@ export type CustomElementsSolidJs = {
|
|
|
68638
68911
|
*
|
|
68639
68912
|
* Reflected and undefaulted, so a card that has not asked reads as a card
|
|
68640
68913
|
* with no attribute on it and the stylesheet only describes the departure.
|
|
68641
|
-
* - `aria-labelledby`/`undefined`: undefined
|
|
68642
|
-
* - `aria-label`/`undefined`: undefined
|
|
68643
68914
|
* - `whenSettled`: Resolves a frame after the first update, when transitions are switched on.
|
|
68644
68915
|
*
|
|
68645
68916
|
* **Named `whenSettled` because `settled` is taken four times over**, by
|
|
@@ -68672,6 +68943,14 @@ export type CustomElementsSolidJs = {
|
|
|
68672
68943
|
* - `header-actions`: Controls for the whole card at the end of the header's line, such as a menu.
|
|
68673
68944
|
* - `media`: Image, video, or chart that runs edge to edge, outside the inset.
|
|
68674
68945
|
*
|
|
68946
|
+
* ## Methods
|
|
68947
|
+
*
|
|
68948
|
+
* Methods that can be called to access component functionality.
|
|
68949
|
+
*
|
|
68950
|
+
* - `attributeChangedCallback(name: string, old: string | null, value: string | null) => void`: Called by the browser when an observed attribute changes. A name written
|
|
68951
|
+
* or taken off asks for an update, because it decides whether the card is a
|
|
68952
|
+
* group and whether its heading names it.
|
|
68953
|
+
*
|
|
68675
68954
|
* ## CSS Custom Properties
|
|
68676
68955
|
*
|
|
68677
68956
|
* CSS variables available for styling the component.
|
|
@@ -70104,6 +70383,12 @@ export type CustomElementsSolidJs = {
|
|
|
70104
70383
|
* significant in code and a wrapped line reads as two. For prose-like code, such as a long command or
|
|
70105
70384
|
* a log line, a wrap reads better than a scroll. Line numbers keep the lines
|
|
70106
70385
|
* unwrapped, since a wrapped line would take one number and several rows.
|
|
70386
|
+
* - `code-label`/`codeLabel`: The name of a block that scrolls, which is a tab stop while it does.
|
|
70387
|
+
*
|
|
70388
|
+
* Where the block has a name, the scroller says it too, such as "Code,
|
|
70389
|
+
* app.ts", as `code-name-label` puts it.
|
|
70390
|
+
* - `code-name-label`/`codeNameLabel`: The name of a block that scrolls, where the block has a name. `{code}` is
|
|
70391
|
+
* `code-label` and `{name}` the block's name.
|
|
70107
70392
|
* - `collapse-label`/`collapseLabel`: The expand button's words while the block shows every line.
|
|
70108
70393
|
* - `copied-label`/`copiedLabel`: The copy button's name and tooltip text after a copy.
|
|
70109
70394
|
* - `copy-label`/`copyLabel`: The copy button's name and tooltip text before a copy.
|
|
@@ -74417,13 +74702,18 @@ export type CustomElementsSolidJs = {
|
|
|
74417
74702
|
*
|
|
74418
74703
|
* Custom selectors for styling elements within the component.
|
|
74419
74704
|
*
|
|
74705
|
+
* - `actions`: The slot the actions arrive through. A slot draws no box, so it passes inherited properties to the actions; `display: flex` lays them out in a row.
|
|
74420
74706
|
* - `heading`: The heading at `heading-level`: the one `heading` draws while nothing is slotted into `heading`, or the one around a slotted element that is no heading.
|
|
74707
|
+
* - `icon`: The slot the icon arrives through, drawing no box, as `actions` does.
|
|
74421
74708
|
* - `live`: A copy of the heading and the message, in a live region that screen readers announce when the view appears. Visually hidden in the styled tier.
|
|
74709
|
+
* - `message`: The slot the message arrives through, drawing no box, as `actions` does.
|
|
74422
74710
|
*
|
|
74423
74711
|
* ## CSS States
|
|
74424
74712
|
*
|
|
74425
74713
|
* These can be used to apply styling when a component is in a given state.
|
|
74426
74714
|
*
|
|
74715
|
+
* - `has-actions`: Something is slotted into `actions`.
|
|
74716
|
+
* - `has-icon`: Something is slotted into `icon`.
|
|
74427
74717
|
* - `settled`: Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
|
|
74428
74718
|
*/
|
|
74429
74719
|
"helix-empty": Partial<
|
|
@@ -76834,10 +77124,33 @@ export type CustomElementsSolidJs = {
|
|
|
76834
77124
|
* Inside a button, `--icon-size` is set in `em`, so the icon scales with the
|
|
76835
77125
|
* button.
|
|
76836
77126
|
*
|
|
77127
|
+
* **The glyph turns, flips and moves inside its own box**, so the line around
|
|
77128
|
+
* it keeps its place: `rotate` turns it by a quarter, a half or three
|
|
77129
|
+
* quarters, `--icon-rotate` by any angle, `flip` mirrors it across either
|
|
77130
|
+
* axis, and `animation` spins, pulses or beats it, as Web Awesome's icon does.
|
|
77131
|
+
* Reduced motion stills every animation. `auto-width` gives the box the
|
|
77132
|
+
* glyph's own proportions, for a mark wider than it is tall.
|
|
77133
|
+
*
|
|
76837
77134
|
* ## Attributes & Properties
|
|
76838
77135
|
*
|
|
76839
77136
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
76840
77137
|
*
|
|
77138
|
+
* - `animation`: A motion that draws the eye or says work is going on: `spin` turns the
|
|
77139
|
+
* glyph without end, `pulse` fades it in and out, and `beat` swells it.
|
|
77140
|
+
*
|
|
77141
|
+
* Absent is still. Reduced motion stills every one of them.
|
|
77142
|
+
* - `auto-width`/`autoWidth`: Whether the box takes the glyph's own proportions, its height from
|
|
77143
|
+
* `--icon-size` and its width from the glyph's box.
|
|
77144
|
+
*
|
|
77145
|
+
* Absent is a square, which lines icons up in a column.
|
|
77146
|
+
* - `flip`: Mirrors the glyph across an axis: `x` left to right, `y` top to bottom,
|
|
77147
|
+
* `both` across both.
|
|
77148
|
+
*
|
|
77149
|
+
* Absent draws it as it is. On a right-to-left page, `mirror` is the flip
|
|
77150
|
+
* that follows the direction.
|
|
77151
|
+
* - `rotate`: Turns the glyph clockwise by 90, 180 or 270 degrees.
|
|
77152
|
+
*
|
|
77153
|
+
* Absent draws it upright. `--icon-rotate` turns it by any other angle.
|
|
76841
77154
|
* - `label`: The icon's name, read by screen readers. Set it for an icon that is not
|
|
76842
77155
|
* decorative.
|
|
76843
77156
|
* - `mirror`: Flips the glyph on a right-to-left page. Use it for an arrow that means
|
|
@@ -76858,6 +77171,10 @@ export type CustomElementsSolidJs = {
|
|
|
76858
77171
|
*
|
|
76859
77172
|
* A name written `prefix:name` asks the library registered under that
|
|
76860
77173
|
* prefix.
|
|
77174
|
+
* - `src`: The URL of an SVG file to draw, fetched once a page and drawn in
|
|
77175
|
+
* `currentColor` where the file does not color its shapes.
|
|
77176
|
+
*
|
|
77177
|
+
* Wins over `name`; `icon` wins over both. Absent draws `name`.
|
|
76861
77178
|
* - `icon`: The icon to draw, as an object you import.
|
|
76862
77179
|
*
|
|
76863
77180
|
* **The scalable door, and the one this library uses internally.** An icon is
|
|
@@ -76895,8 +77212,8 @@ export type CustomElementsSolidJs = {
|
|
|
76895
77212
|
*
|
|
76896
77213
|
* Events that will be emitted by the component.
|
|
76897
77214
|
*
|
|
76898
|
-
* - `error`: `name` matches no registered icon and no library answers it, so nothing is drawn.
|
|
76899
|
-
* - `load`: A glyph a library gave later for `name` is drawn.
|
|
77215
|
+
* - `error`: `name` matches no registered icon and no library answers it, or `src` is no SVG, so nothing is drawn.
|
|
77216
|
+
* - `load`: A glyph a library gave later for `name`, or the file at `src`, is drawn.
|
|
76900
77217
|
*
|
|
76901
77218
|
* ## Methods
|
|
76902
77219
|
*
|
|
@@ -76910,7 +77227,9 @@ export type CustomElementsSolidJs = {
|
|
|
76910
77227
|
*
|
|
76911
77228
|
* CSS variables available for styling the component.
|
|
76912
77229
|
*
|
|
76913
|
-
* - `--icon-
|
|
77230
|
+
* - `--icon-animation-duration`: How long one turn, pulse or beat of `animation` takes.
|
|
77231
|
+
* - `--icon-rotate`: An angle the glyph is turned by, such as `45deg`. `rotate` wins over it.
|
|
77232
|
+
* - `--icon-size`: The width and height of the icon's box. The height alone under `auto-width`.
|
|
76914
77233
|
*
|
|
76915
77234
|
* ## CSS Parts
|
|
76916
77235
|
*
|
|
@@ -83945,6 +84264,12 @@ export type CustomElementsSolidJs = {
|
|
|
83945
84264
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
83946
84265
|
*
|
|
83947
84266
|
* - `cite`: URL identifying where the quotation came from.
|
|
84267
|
+
* - `no-marks`/`noMarks`: Whether to leave the quotation marks off, for a quotation set where the
|
|
84268
|
+
* page draws its own.
|
|
84269
|
+
*
|
|
84270
|
+
* Negative, because the marks are on by default and a boolean attribute is
|
|
84271
|
+
* true whenever it is present. Reflected, because a stylesheet takes the
|
|
84272
|
+
* marks off on it.
|
|
83948
84273
|
* - `whenSettled`: Resolves a frame after the first update, when transitions are switched on.
|
|
83949
84274
|
*
|
|
83950
84275
|
* **Named `whenSettled` because `settled` is taken four times over**, by
|
|
@@ -86160,6 +86485,11 @@ export type CustomElementsSolidJs = {
|
|
|
86160
86485
|
* Around content with `loading`, the skeleton takes the content's box and
|
|
86161
86486
|
* paints over it, and the content is hidden until `loading` is taken off.
|
|
86162
86487
|
*
|
|
86488
|
+
* **`lines` draws a paragraph.** With `shape="text"` and `lines="3"`, one
|
|
86489
|
+
* element stands in for three lines of text: each line a `skeleton` part one
|
|
86490
|
+
* `em` tall, spaced a body line height apart, and the last one shorter, as the end
|
|
86491
|
+
* of a paragraph is.
|
|
86492
|
+
*
|
|
86163
86493
|
* ## Attributes & Properties
|
|
86164
86494
|
*
|
|
86165
86495
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
@@ -86168,6 +86498,10 @@ export type CustomElementsSolidJs = {
|
|
|
86168
86498
|
* fade the fill in and out, or `none` to sit still.
|
|
86169
86499
|
*
|
|
86170
86500
|
* Reduced motion stills both.
|
|
86501
|
+
* - `lines`: How many lines of text the placeholder stands for, with `shape="text"`.
|
|
86502
|
+
*
|
|
86503
|
+
* Absent, or 1, is one line. Reflected, because the stylesheet sizes a
|
|
86504
|
+
* paragraph by it.
|
|
86171
86505
|
* - `shape`: The shape of the placeholder: `text`, `circle`, or a block when unset.
|
|
86172
86506
|
*
|
|
86173
86507
|
* Unset is a block, which is what most missing things are. A block is the
|
|
@@ -86216,6 +86550,7 @@ export type CustomElementsSolidJs = {
|
|
|
86216
86550
|
* - `--skeleton-block-size`: The height of the block shape, which is the shape when `shape` is unset. Defaults to the control height.
|
|
86217
86551
|
* - `--skeleton-color`: The placeholder's fill.
|
|
86218
86552
|
* - `--skeleton-duration`: How long one sweep or one pulse takes.
|
|
86553
|
+
* - `--skeleton-last-line-size`: The width of the last line of a `lines` paragraph. Defaults to 60%.
|
|
86219
86554
|
* - `--skeleton-radius`: The corner of the block shape.
|
|
86220
86555
|
* - `--skeleton-sheen-color`: The highlight the sweep carries across the fill.
|
|
86221
86556
|
* - `--skeleton-size`: The diameter of the circle shape.
|
|
@@ -86225,8 +86560,10 @@ export type CustomElementsSolidJs = {
|
|
|
86225
86560
|
* Custom selectors for styling elements within the component.
|
|
86226
86561
|
*
|
|
86227
86562
|
* - `content`: The box around the content, hidden while `loading`.
|
|
86563
|
+
* - `line`: Each line of a `lines` paragraph, which is also a `skeleton` part.
|
|
86564
|
+
* - `lines`: The column holding a `lines` paragraph, drawn only for `shape="text"` with two or more lines.
|
|
86228
86565
|
* - `sheen`: The highlight swept across the shape. Hidden for `effect="pulse"` and `effect="none"`.
|
|
86229
|
-
* - `skeleton`: The placeholder shape.
|
|
86566
|
+
* - `skeleton`: The placeholder shape, or each line of a `lines` paragraph.
|
|
86230
86567
|
*
|
|
86231
86568
|
* ## CSS States
|
|
86232
86569
|
*
|
|
@@ -87418,7 +87755,10 @@ export type CustomElementsSolidJs = {
|
|
|
87418
87755
|
* with its rule; and a count is what a set of facts read across wants, where
|
|
87419
87756
|
* figures compared one against another keep their own widths.
|
|
87420
87757
|
* - `divided`: Draws a rule between the figures, in addition to the space.
|
|
87421
|
-
* - `label`: Accessible name for the group.
|
|
87758
|
+
* - `label`: Accessible name for the group, which makes it a group.
|
|
87759
|
+
*
|
|
87760
|
+
* Absent leaves the stats with no group around them, unless `aria-label` or
|
|
87761
|
+
* `aria-labelledby` names it.
|
|
87422
87762
|
* - `whenSettled`: Resolves a frame after the first update, when transitions are switched on.
|
|
87423
87763
|
*
|
|
87424
87764
|
* **Named `whenSettled` because `settled` is taken four times over**, by
|
|
@@ -87446,6 +87786,14 @@ export type CustomElementsSolidJs = {
|
|
|
87446
87786
|
*
|
|
87447
87787
|
* - `(default)`: The stats.
|
|
87448
87788
|
*
|
|
87789
|
+
* ## Methods
|
|
87790
|
+
*
|
|
87791
|
+
* Methods that can be called to access component functionality.
|
|
87792
|
+
*
|
|
87793
|
+
* - `attributeChangedCallback(name: string, old: string | null, value: string | null) => void`: Called by the browser when an observed attribute changes. A name written
|
|
87794
|
+
* or taken off asks for an update, because it decides whether the stats are
|
|
87795
|
+
* a group.
|
|
87796
|
+
*
|
|
87449
87797
|
* ## CSS Custom Properties
|
|
87450
87798
|
*
|
|
87451
87799
|
* CSS variables available for styling the component.
|
|
@@ -87500,6 +87848,20 @@ export type CustomElementsSolidJs = {
|
|
|
87500
87848
|
* reports a hydration mismatch. The absent attribute is the column, which the
|
|
87501
87849
|
* stylesheet reads as the base case, and the server spec asserts the host
|
|
87502
87850
|
* carries nothing nobody wrote.
|
|
87851
|
+
* - `format-options`/`formatOptions`: `Intl.NumberFormat` options `value` is written with, such as
|
|
87852
|
+
* `{"notation":"compact"}` for `1.2M` or `{"style":"percent"}` for `98%`,
|
|
87853
|
+
* written as JSON in the attribute.
|
|
87854
|
+
*
|
|
87855
|
+
* Absent writes the number as the locale writes any number.
|
|
87856
|
+
* - `locale`: The locale `value` is written in, such as `de` for `1.234.567`.
|
|
87857
|
+
*
|
|
87858
|
+
* Absent reads the nearest `lang`, then the runtime's own. Set it on a page
|
|
87859
|
+
* rendered on a server, so the server and the browser write the figure
|
|
87860
|
+
* alike.
|
|
87861
|
+
* - `value`: The figure as a number, written with `format-options` in `locale` in
|
|
87862
|
+
* place of a slotted value.
|
|
87863
|
+
*
|
|
87864
|
+
* Absent leaves the figure to the slot.
|
|
87503
87865
|
* - `whenSettled`: Resolves a frame after the first update, when transitions are switched on.
|
|
87504
87866
|
*
|
|
87505
87867
|
* **Named `whenSettled` because `settled` is taken four times over**, by
|
|
@@ -87547,11 +87909,17 @@ export type CustomElementsSolidJs = {
|
|
|
87547
87909
|
* Custom selectors for styling elements within the component.
|
|
87548
87910
|
*
|
|
87549
87911
|
* - `value`: The slot the value is written in. A slot draws no box, so it takes the inherited properties, such as color and font, and passes them to the value.
|
|
87912
|
+
* - `label`: The slot the label arrives through, drawing no box, as `value` does.
|
|
87913
|
+
* - `trend`: The slot the trend arrives through, drawing no box, as `value` does.
|
|
87914
|
+
* - `unit`: The slot the unit arrives through, drawing no box, as `value` does.
|
|
87550
87915
|
*
|
|
87551
87916
|
* ## CSS States
|
|
87552
87917
|
*
|
|
87553
87918
|
* These can be used to apply styling when a component is in a given state.
|
|
87554
87919
|
*
|
|
87920
|
+
* - `has-label`: Something is slotted into `label`.
|
|
87921
|
+
* - `has-trend`: Something is slotted into `trend`.
|
|
87922
|
+
* - `has-unit`: Something is slotted into `unit`.
|
|
87555
87923
|
* - `settled`: Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
|
|
87556
87924
|
*/
|
|
87557
87925
|
"helix-stat": Partial<
|
|
@@ -93386,6 +93754,8 @@ export type CustomCssProperties = {
|
|
|
93386
93754
|
"--badge-font-weight"?: (string) | undefined;
|
|
93387
93755
|
/** The space between the content and the count under `placement="inline"`. */
|
|
93388
93756
|
"--badge-gap"?: (string) | undefined;
|
|
93757
|
+
/** The size of an icon in the `icon` slot. The count's own size by default. */
|
|
93758
|
+
"--badge-icon-size"?: (string) | undefined;
|
|
93389
93759
|
/** Pulls the mark in from the corner, along both axes. */
|
|
93390
93760
|
"--badge-offset"?: (string) | undefined;
|
|
93391
93761
|
/** How far the indicator's corners are rounded. */
|
|
@@ -94246,7 +94616,11 @@ export type CustomCssProperties = {
|
|
|
94246
94616
|
"--heatmap-rows"?: (string) | undefined;
|
|
94247
94617
|
/** The tone of the cell it is set on. The component writes it, and the stylesheet that paints the cell reads it. */
|
|
94248
94618
|
"--heatmap-tone"?: (string) | undefined;
|
|
94249
|
-
/**
|
|
94619
|
+
/** How long one turn, pulse or beat of `animation` takes. */
|
|
94620
|
+
"--icon-animation-duration"?: (string) | undefined;
|
|
94621
|
+
/** An angle the glyph is turned by, such as `45deg`. `rotate` wins over it. */
|
|
94622
|
+
"--icon-rotate"?: (string) | undefined;
|
|
94623
|
+
/** The width and height of the icon's box. The height alone under `auto-width`. */
|
|
94250
94624
|
"--icon-size"?: (string) | undefined;
|
|
94251
94625
|
/** The aspect ratio of the box, such as `16 / 9`. */
|
|
94252
94626
|
"--image-aspect"?: (string) | undefined;
|
|
@@ -95052,6 +95426,8 @@ export type CustomCssProperties = {
|
|
|
95052
95426
|
"--skeleton-color"?: (string) | undefined;
|
|
95053
95427
|
/** How long one sweep or one pulse takes. */
|
|
95054
95428
|
"--skeleton-duration"?: (string) | undefined;
|
|
95429
|
+
/** The width of the last line of a `lines` paragraph. Defaults to 60%. */
|
|
95430
|
+
"--skeleton-last-line-size"?: (string) | undefined;
|
|
95055
95431
|
/** The corner of the block shape. */
|
|
95056
95432
|
"--skeleton-radius"?: (string) | undefined;
|
|
95057
95433
|
/** The highlight the sweep carries across the fill. */
|