@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/custom-elements.json
CHANGED
|
@@ -8830,6 +8830,10 @@
|
|
|
8830
8830
|
"description": "The space between the content and the count under `placement=\"inline\"`.",
|
|
8831
8831
|
"name": "--badge-gap"
|
|
8832
8832
|
},
|
|
8833
|
+
{
|
|
8834
|
+
"description": "The size of an icon in the `icon` slot. The count's own size by default.",
|
|
8835
|
+
"name": "--badge-icon-size"
|
|
8836
|
+
},
|
|
8833
8837
|
{
|
|
8834
8838
|
"description": "Pulls the mark in from the corner, along both axes.",
|
|
8835
8839
|
"name": "--badge-offset"
|
|
@@ -8952,6 +8956,31 @@
|
|
|
8952
8956
|
"module": "src/badge/root/badge-root.ts"
|
|
8953
8957
|
}
|
|
8954
8958
|
},
|
|
8959
|
+
{
|
|
8960
|
+
"kind": "field",
|
|
8961
|
+
"name": "hasIcon",
|
|
8962
|
+
"type": {
|
|
8963
|
+
"text": "boolean"
|
|
8964
|
+
},
|
|
8965
|
+
"privacy": "private",
|
|
8966
|
+
"default": "false",
|
|
8967
|
+
"description": "Whether something is slotted into `icon`, read from the children.",
|
|
8968
|
+
"inheritedFrom": {
|
|
8969
|
+
"name": "HelixHeadlessBadge",
|
|
8970
|
+
"module": "src/badge/root/badge-root.ts"
|
|
8971
|
+
}
|
|
8972
|
+
},
|
|
8973
|
+
{
|
|
8974
|
+
"kind": "field",
|
|
8975
|
+
"name": "readIcon",
|
|
8976
|
+
"privacy": "private",
|
|
8977
|
+
"readonly": true,
|
|
8978
|
+
"description": "Reads whether an icon is slotted, from the children where they can be known.",
|
|
8979
|
+
"inheritedFrom": {
|
|
8980
|
+
"name": "HelixHeadlessBadge",
|
|
8981
|
+
"module": "src/badge/root/badge-root.ts"
|
|
8982
|
+
}
|
|
8983
|
+
},
|
|
8955
8984
|
{
|
|
8956
8985
|
"kind": "field",
|
|
8957
8986
|
"name": "given",
|
|
@@ -9561,6 +9590,10 @@
|
|
|
9561
9590
|
"description": "A count drawn solid, outlined and subtle with `emphasis`, and a label that counts with `{count}`.",
|
|
9562
9591
|
"slug": "emphasis"
|
|
9563
9592
|
},
|
|
9593
|
+
{
|
|
9594
|
+
"description": "An icon inside the mark, alone on an avatar and before a count on a button.",
|
|
9595
|
+
"slug": "icon"
|
|
9596
|
+
},
|
|
9564
9597
|
{
|
|
9565
9598
|
"description": "A count placed inline inside a button, read as part of the button's name.",
|
|
9566
9599
|
"slug": "inline"
|
|
@@ -9587,11 +9620,27 @@
|
|
|
9587
9620
|
"name": "HelixHeadlessBadge",
|
|
9588
9621
|
"module": "src/badge/root/badge-root.ts"
|
|
9589
9622
|
}
|
|
9623
|
+
},
|
|
9624
|
+
{
|
|
9625
|
+
"description": "An icon inside the mark, before the count, or the whole mark when there is no value. Hidden from screen readers.",
|
|
9626
|
+
"name": "icon",
|
|
9627
|
+
"inheritedFrom": {
|
|
9628
|
+
"name": "HelixHeadlessBadge",
|
|
9629
|
+
"module": "src/badge/root/badge-root.ts"
|
|
9630
|
+
}
|
|
9590
9631
|
}
|
|
9591
9632
|
],
|
|
9592
9633
|
"cssParts": [
|
|
9593
9634
|
{
|
|
9594
|
-
"description": "The
|
|
9635
|
+
"description": "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.",
|
|
9636
|
+
"name": "icon",
|
|
9637
|
+
"inheritedFrom": {
|
|
9638
|
+
"name": "HelixHeadlessBadge",
|
|
9639
|
+
"module": "src/badge/root/badge-root.ts"
|
|
9640
|
+
}
|
|
9641
|
+
},
|
|
9642
|
+
{
|
|
9643
|
+
"description": "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.",
|
|
9595
9644
|
"name": "indicator",
|
|
9596
9645
|
"inheritedFrom": {
|
|
9597
9646
|
"name": "HelixHeadlessBadge",
|
|
@@ -9617,13 +9666,21 @@
|
|
|
9617
9666
|
}
|
|
9618
9667
|
},
|
|
9619
9668
|
{
|
|
9620
|
-
"description": "There is no value, so the mark is a dot.",
|
|
9669
|
+
"description": "There is no value and no icon, so the mark is a dot.",
|
|
9621
9670
|
"name": "dot",
|
|
9622
9671
|
"inheritedFrom": {
|
|
9623
9672
|
"name": "HelixHeadlessBadge",
|
|
9624
9673
|
"module": "src/badge/root/badge-root.ts"
|
|
9625
9674
|
}
|
|
9626
9675
|
},
|
|
9676
|
+
{
|
|
9677
|
+
"description": "Something is slotted into `icon`, so it is drawn inside the mark.",
|
|
9678
|
+
"name": "has-icon",
|
|
9679
|
+
"inheritedFrom": {
|
|
9680
|
+
"name": "HelixHeadlessBadge",
|
|
9681
|
+
"module": "src/badge/root/badge-root.ts"
|
|
9682
|
+
}
|
|
9683
|
+
},
|
|
9627
9684
|
{
|
|
9628
9685
|
"description": "Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.",
|
|
9629
9686
|
"name": "settled",
|
|
@@ -25023,6 +25080,57 @@
|
|
|
25023
25080
|
"module": "src/card/root/card-root.ts"
|
|
25024
25081
|
}
|
|
25025
25082
|
},
|
|
25083
|
+
{
|
|
25084
|
+
"kind": "field",
|
|
25085
|
+
"name": "observedAttributes",
|
|
25086
|
+
"type": {
|
|
25087
|
+
"text": "string[]"
|
|
25088
|
+
},
|
|
25089
|
+
"static": true,
|
|
25090
|
+
"description": "Hears a name written on the card, which no property mirrors.\n\nLit observes the attributes of its own properties only, and `ariaLabel`\nand `ariaLabelledByElements` belong to the platform. Observed here rather\nthan through a property, so the manifest lists no attribute of the card's\nown for them.",
|
|
25091
|
+
"readonly": true,
|
|
25092
|
+
"inheritedFrom": {
|
|
25093
|
+
"name": "HelixHeadlessCard",
|
|
25094
|
+
"module": "src/card/root/card-root.ts"
|
|
25095
|
+
}
|
|
25096
|
+
},
|
|
25097
|
+
{
|
|
25098
|
+
"kind": "method",
|
|
25099
|
+
"name": "attributeChangedCallback",
|
|
25100
|
+
"return": {
|
|
25101
|
+
"type": {
|
|
25102
|
+
"text": "void"
|
|
25103
|
+
}
|
|
25104
|
+
},
|
|
25105
|
+
"parameters": [
|
|
25106
|
+
{
|
|
25107
|
+
"name": "name",
|
|
25108
|
+
"type": {
|
|
25109
|
+
"text": "string"
|
|
25110
|
+
}
|
|
25111
|
+
},
|
|
25112
|
+
{
|
|
25113
|
+
"name": "old",
|
|
25114
|
+
"type": {
|
|
25115
|
+
"text": "string | null"
|
|
25116
|
+
}
|
|
25117
|
+
},
|
|
25118
|
+
{
|
|
25119
|
+
"name": "value",
|
|
25120
|
+
"type": {
|
|
25121
|
+
"text": "string | null"
|
|
25122
|
+
}
|
|
25123
|
+
}
|
|
25124
|
+
],
|
|
25125
|
+
"description": "Called by the browser when an observed attribute changes. A name written\nor taken off asks for an update, because it decides whether the card is a\ngroup and whether its heading names it.",
|
|
25126
|
+
"type": {
|
|
25127
|
+
"text": "attributeChangedCallback(name: string, old: string | null, value: string | null) => void"
|
|
25128
|
+
},
|
|
25129
|
+
"inheritedFrom": {
|
|
25130
|
+
"name": "HelixHeadlessCard",
|
|
25131
|
+
"module": "src/card/root/card-root.ts"
|
|
25132
|
+
}
|
|
25133
|
+
},
|
|
25026
25134
|
{
|
|
25027
25135
|
"kind": "field",
|
|
25028
25136
|
"name": "footerActions",
|
|
@@ -25051,6 +25159,21 @@
|
|
|
25051
25159
|
"module": "src/card/root/card-root.ts"
|
|
25052
25160
|
}
|
|
25053
25161
|
},
|
|
25162
|
+
{
|
|
25163
|
+
"kind": "method",
|
|
25164
|
+
"name": "writeName",
|
|
25165
|
+
"privacy": "private",
|
|
25166
|
+
"return": {
|
|
25167
|
+
"type": {
|
|
25168
|
+
"text": "void"
|
|
25169
|
+
}
|
|
25170
|
+
},
|
|
25171
|
+
"description": "Says what the card is and what names it. On the host, since the host is\nthe box, and from `willUpdate`, which the server calls too.\n\n**A heading in `header` is the name only where nothing else is**, and it\nnames the card by reference, so a renamed heading renames the card. An\nengine without element references hears its words.",
|
|
25172
|
+
"inheritedFrom": {
|
|
25173
|
+
"name": "HelixHeadlessCard",
|
|
25174
|
+
"module": "src/card/root/card-root.ts"
|
|
25175
|
+
}
|
|
25176
|
+
},
|
|
25054
25177
|
{
|
|
25055
25178
|
"kind": "field",
|
|
25056
25179
|
"name": "readRegions",
|
|
@@ -25450,28 +25573,6 @@
|
|
|
25450
25573
|
"name": "HelixHeadlessCard",
|
|
25451
25574
|
"module": "src/card/root/card-root.ts"
|
|
25452
25575
|
}
|
|
25453
|
-
},
|
|
25454
|
-
{
|
|
25455
|
-
"name": "aria-labelledby",
|
|
25456
|
-
"type": {
|
|
25457
|
-
"text": "string | null"
|
|
25458
|
-
},
|
|
25459
|
-
"default": "null",
|
|
25460
|
-
"inheritedFrom": {
|
|
25461
|
-
"name": "HelixHeadlessCard",
|
|
25462
|
-
"module": "src/card/root/card-root.ts"
|
|
25463
|
-
}
|
|
25464
|
-
},
|
|
25465
|
-
{
|
|
25466
|
-
"name": "aria-label",
|
|
25467
|
-
"type": {
|
|
25468
|
-
"text": "string | null"
|
|
25469
|
-
},
|
|
25470
|
-
"default": "null",
|
|
25471
|
-
"inheritedFrom": {
|
|
25472
|
-
"name": "HelixHeadlessCard",
|
|
25473
|
-
"module": "src/card/root/card-root.ts"
|
|
25474
|
-
}
|
|
25475
25576
|
}
|
|
25476
25577
|
],
|
|
25477
25578
|
"superclass": {
|
|
@@ -36975,6 +37076,40 @@
|
|
|
36975
37076
|
"module": "src/code-block/root/code-block-root.ts"
|
|
36976
37077
|
}
|
|
36977
37078
|
},
|
|
37079
|
+
{
|
|
37080
|
+
"kind": "field",
|
|
37081
|
+
"name": "codeLabel",
|
|
37082
|
+
"type": {
|
|
37083
|
+
"text": "string"
|
|
37084
|
+
},
|
|
37085
|
+
"default": "'Code'",
|
|
37086
|
+
"description": "The name of a block that scrolls, which is a tab stop while it does.\n\nWhere the block has a name, the scroller says it too, such as \"Code,\napp.ts\", as `code-name-label` puts it.",
|
|
37087
|
+
"attribute": "code-label",
|
|
37088
|
+
"helix": {
|
|
37089
|
+
"words": true
|
|
37090
|
+
},
|
|
37091
|
+
"inheritedFrom": {
|
|
37092
|
+
"name": "HelixHeadlessCodeBlock",
|
|
37093
|
+
"module": "src/code-block/root/code-block-root.ts"
|
|
37094
|
+
}
|
|
37095
|
+
},
|
|
37096
|
+
{
|
|
37097
|
+
"kind": "field",
|
|
37098
|
+
"name": "codeNameLabel",
|
|
37099
|
+
"type": {
|
|
37100
|
+
"text": "string"
|
|
37101
|
+
},
|
|
37102
|
+
"default": "'{code}, {name}'",
|
|
37103
|
+
"description": "The name of a block that scrolls, where the block has a name. `{code}` is\n`code-label` and `{name}` the block's name.",
|
|
37104
|
+
"attribute": "code-name-label",
|
|
37105
|
+
"helix": {
|
|
37106
|
+
"words": true
|
|
37107
|
+
},
|
|
37108
|
+
"inheritedFrom": {
|
|
37109
|
+
"name": "HelixHeadlessCodeBlock",
|
|
37110
|
+
"module": "src/code-block/root/code-block-root.ts"
|
|
37111
|
+
}
|
|
37112
|
+
},
|
|
36978
37113
|
{
|
|
36979
37114
|
"kind": "field",
|
|
36980
37115
|
"name": "collapseLabel",
|
|
@@ -37263,7 +37398,7 @@
|
|
|
37263
37398
|
"text": "ResizeObserver | undefined"
|
|
37264
37399
|
},
|
|
37265
37400
|
"privacy": "private",
|
|
37266
|
-
"description": "Watches the block's size
|
|
37401
|
+
"description": "Watches the block's size.",
|
|
37267
37402
|
"inheritedFrom": {
|
|
37268
37403
|
"name": "HelixHeadlessCodeBlock",
|
|
37269
37404
|
"module": "src/code-block/root/code-block-root.ts"
|
|
@@ -37280,6 +37415,21 @@
|
|
|
37280
37415
|
"module": "src/code-block/root/code-block-root.ts"
|
|
37281
37416
|
}
|
|
37282
37417
|
},
|
|
37418
|
+
{
|
|
37419
|
+
"kind": "method",
|
|
37420
|
+
"name": "markScrollers",
|
|
37421
|
+
"privacy": "private",
|
|
37422
|
+
"return": {
|
|
37423
|
+
"type": {
|
|
37424
|
+
"text": "void"
|
|
37425
|
+
}
|
|
37426
|
+
},
|
|
37427
|
+
"description": "Makes each box that scrolls a tab stop and a region named for its block,\nand takes both away from a box that fits.\n\n**A reader on a keyboard scrolls the code from the box itself.** Chromium\nand Firefox make a scrolling box focusable on their own, and Safari does\nnot, so there the arrow keys could not reach the end of a long line. A\nbox counts while its sheet lets it scroll and its content is wider or\ntaller than it is drawn: an unstyled `<pre>` overflows without scrolling,\nand a stop on it would scroll nothing.",
|
|
37428
|
+
"inheritedFrom": {
|
|
37429
|
+
"name": "HelixHeadlessCodeBlock",
|
|
37430
|
+
"module": "src/code-block/root/code-block-root.ts"
|
|
37431
|
+
}
|
|
37432
|
+
},
|
|
37283
37433
|
{
|
|
37284
37434
|
"kind": "method",
|
|
37285
37435
|
"name": "renderExpand",
|
|
@@ -37863,6 +38013,32 @@
|
|
|
37863
38013
|
"description": "Whether long lines wrap.\n\nOff by default, so long lines scroll, because a line break can be\nsignificant in code and a wrapped line reads as two. For prose-like code, such as a long command or\na log line, a wrap reads better than a scroll. Line numbers keep the lines\nunwrapped, since a wrapped line would take one number and several rows.",
|
|
37864
38014
|
"fieldName": "wrap"
|
|
37865
38015
|
},
|
|
38016
|
+
{
|
|
38017
|
+
"name": "code-label",
|
|
38018
|
+
"type": {
|
|
38019
|
+
"text": "string"
|
|
38020
|
+
},
|
|
38021
|
+
"default": "'Code'",
|
|
38022
|
+
"description": "The name of a block that scrolls, which is a tab stop while it does.\n\nWhere the block has a name, the scroller says it too, such as \"Code,\napp.ts\", as `code-name-label` puts it.",
|
|
38023
|
+
"fieldName": "codeLabel",
|
|
38024
|
+
"inheritedFrom": {
|
|
38025
|
+
"name": "HelixHeadlessCodeBlock",
|
|
38026
|
+
"module": "src/code-block/root/code-block-root.ts"
|
|
38027
|
+
}
|
|
38028
|
+
},
|
|
38029
|
+
{
|
|
38030
|
+
"name": "code-name-label",
|
|
38031
|
+
"type": {
|
|
38032
|
+
"text": "string"
|
|
38033
|
+
},
|
|
38034
|
+
"default": "'{code}, {name}'",
|
|
38035
|
+
"description": "The name of a block that scrolls, where the block has a name. `{code}` is\n`code-label` and `{name}` the block's name.",
|
|
38036
|
+
"fieldName": "codeNameLabel",
|
|
38037
|
+
"inheritedFrom": {
|
|
38038
|
+
"name": "HelixHeadlessCodeBlock",
|
|
38039
|
+
"module": "src/code-block/root/code-block-root.ts"
|
|
38040
|
+
}
|
|
38041
|
+
},
|
|
37866
38042
|
{
|
|
37867
38043
|
"name": "collapse-label",
|
|
37868
38044
|
"type": {
|
|
@@ -38029,6 +38205,11 @@
|
|
|
38029
38205
|
"since": "0.1.0",
|
|
38030
38206
|
"status": "stable",
|
|
38031
38207
|
"documentation": "https://fusion.dev/helix/components/code-block",
|
|
38208
|
+
"aliases": [
|
|
38209
|
+
"Code block",
|
|
38210
|
+
"Snippet",
|
|
38211
|
+
"Pre"
|
|
38212
|
+
],
|
|
38032
38213
|
"tier": "styled",
|
|
38033
38214
|
"group": "CodeBlock",
|
|
38034
38215
|
"part": "Root",
|
|
@@ -38819,6 +39000,9 @@
|
|
|
38819
39000
|
"since": "0.1.0",
|
|
38820
39001
|
"status": "stable",
|
|
38821
39002
|
"documentation": "https://fusion.dev/helix/components/code",
|
|
39003
|
+
"aliases": [
|
|
39004
|
+
"Inline code"
|
|
39005
|
+
],
|
|
38822
39006
|
"tier": "styled",
|
|
38823
39007
|
"group": "Code",
|
|
38824
39008
|
"part": "Root",
|
|
@@ -74235,6 +74419,17 @@
|
|
|
74235
74419
|
"module": "src/empty/root/empty-root.ts"
|
|
74236
74420
|
}
|
|
74237
74421
|
},
|
|
74422
|
+
{
|
|
74423
|
+
"kind": "field",
|
|
74424
|
+
"name": "readRegions",
|
|
74425
|
+
"privacy": "private",
|
|
74426
|
+
"readonly": true,
|
|
74427
|
+
"description": "Says which regions hold something, one call apiece so each pairs with its `@cssstate`.",
|
|
74428
|
+
"inheritedFrom": {
|
|
74429
|
+
"name": "HelixHeadlessEmpty",
|
|
74430
|
+
"module": "src/empty/root/empty-root.ts"
|
|
74431
|
+
}
|
|
74432
|
+
},
|
|
74238
74433
|
{
|
|
74239
74434
|
"kind": "field",
|
|
74240
74435
|
"name": "arrival",
|
|
@@ -74682,6 +74877,14 @@
|
|
|
74682
74877
|
}
|
|
74683
74878
|
],
|
|
74684
74879
|
"cssParts": [
|
|
74880
|
+
{
|
|
74881
|
+
"description": "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.",
|
|
74882
|
+
"name": "actions",
|
|
74883
|
+
"inheritedFrom": {
|
|
74884
|
+
"name": "HelixHeadlessEmpty",
|
|
74885
|
+
"module": "src/empty/root/empty-root.ts"
|
|
74886
|
+
}
|
|
74887
|
+
},
|
|
74685
74888
|
{
|
|
74686
74889
|
"description": "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.",
|
|
74687
74890
|
"name": "heading",
|
|
@@ -74690,6 +74893,14 @@
|
|
|
74690
74893
|
"module": "src/empty/root/empty-root.ts"
|
|
74691
74894
|
}
|
|
74692
74895
|
},
|
|
74896
|
+
{
|
|
74897
|
+
"description": "The slot the icon arrives through, drawing no box, as `actions` does.",
|
|
74898
|
+
"name": "icon",
|
|
74899
|
+
"inheritedFrom": {
|
|
74900
|
+
"name": "HelixHeadlessEmpty",
|
|
74901
|
+
"module": "src/empty/root/empty-root.ts"
|
|
74902
|
+
}
|
|
74903
|
+
},
|
|
74693
74904
|
{
|
|
74694
74905
|
"description": "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.",
|
|
74695
74906
|
"name": "live",
|
|
@@ -74697,6 +74908,14 @@
|
|
|
74697
74908
|
"name": "HelixHeadlessEmpty",
|
|
74698
74909
|
"module": "src/empty/root/empty-root.ts"
|
|
74699
74910
|
}
|
|
74911
|
+
},
|
|
74912
|
+
{
|
|
74913
|
+
"description": "The slot the message arrives through, drawing no box, as `actions` does.",
|
|
74914
|
+
"name": "message",
|
|
74915
|
+
"inheritedFrom": {
|
|
74916
|
+
"name": "HelixHeadlessEmpty",
|
|
74917
|
+
"module": "src/empty/root/empty-root.ts"
|
|
74918
|
+
}
|
|
74700
74919
|
}
|
|
74701
74920
|
],
|
|
74702
74921
|
"attributes": [
|
|
@@ -74740,6 +74959,22 @@
|
|
|
74740
74959
|
}
|
|
74741
74960
|
],
|
|
74742
74961
|
"cssStates": [
|
|
74962
|
+
{
|
|
74963
|
+
"description": "Something is slotted into `actions`.",
|
|
74964
|
+
"name": "has-actions",
|
|
74965
|
+
"inheritedFrom": {
|
|
74966
|
+
"name": "HelixHeadlessEmpty",
|
|
74967
|
+
"module": "src/empty/root/empty-root.ts"
|
|
74968
|
+
}
|
|
74969
|
+
},
|
|
74970
|
+
{
|
|
74971
|
+
"description": "Something is slotted into `icon`.",
|
|
74972
|
+
"name": "has-icon",
|
|
74973
|
+
"inheritedFrom": {
|
|
74974
|
+
"name": "HelixHeadlessEmpty",
|
|
74975
|
+
"module": "src/empty/root/empty-root.ts"
|
|
74976
|
+
}
|
|
74977
|
+
},
|
|
74743
74978
|
{
|
|
74744
74979
|
"description": "Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.",
|
|
74745
74980
|
"name": "settled",
|
|
@@ -93716,11 +93951,19 @@
|
|
|
93716
93951
|
"declarations": [
|
|
93717
93952
|
{
|
|
93718
93953
|
"kind": "class",
|
|
93719
|
-
"description": "Draws in `currentColor` and sizes from `--icon-size`, so an icon takes the\ncolor of the text around it and a container can resize it without a property.\nInside a button, `--icon-size` is set in `em`, so the icon scales with the\nbutton.",
|
|
93954
|
+
"description": "Draws in `currentColor` and sizes from `--icon-size`, so an icon takes the\ncolor of the text around it and a container can resize it without a property.\nInside a button, `--icon-size` is set in `em`, so the icon scales with the\nbutton.\n\n**The glyph turns, flips and moves inside its own box**, so the line around\nit keeps its place: `rotate` turns it by a quarter, a half or three\nquarters, `--icon-rotate` by any angle, `flip` mirrors it across either\naxis, and `animation` spins, pulses or beats it, as Web Awesome's icon does.\nReduced motion stills every animation. `auto-width` gives the box the\nglyph's own proportions, for a mark wider than it is tall.",
|
|
93720
93955
|
"name": "HelixIcon",
|
|
93721
93956
|
"cssProperties": [
|
|
93722
93957
|
{
|
|
93723
|
-
"description": "
|
|
93958
|
+
"description": "How long one turn, pulse or beat of `animation` takes.",
|
|
93959
|
+
"name": "--icon-animation-duration"
|
|
93960
|
+
},
|
|
93961
|
+
{
|
|
93962
|
+
"description": "An angle the glyph is turned by, such as `45deg`. `rotate` wins over it.",
|
|
93963
|
+
"name": "--icon-rotate"
|
|
93964
|
+
},
|
|
93965
|
+
{
|
|
93966
|
+
"description": "The width and height of the icon's box. The height alone under `auto-width`.",
|
|
93724
93967
|
"name": "--icon-size"
|
|
93725
93968
|
}
|
|
93726
93969
|
],
|
|
@@ -93735,6 +93978,47 @@
|
|
|
93735
93978
|
}
|
|
93736
93979
|
],
|
|
93737
93980
|
"members": [
|
|
93981
|
+
{
|
|
93982
|
+
"kind": "field",
|
|
93983
|
+
"name": "animation",
|
|
93984
|
+
"type": {
|
|
93985
|
+
"text": "'beat' | 'pulse' | 'spin' | undefined"
|
|
93986
|
+
},
|
|
93987
|
+
"description": "A motion that draws the eye or says work is going on: `spin` turns the\nglyph without end, `pulse` fades it in and out, and `beat` swells it.\n\nAbsent is still. Reduced motion stills every one of them.",
|
|
93988
|
+
"attribute": "animation",
|
|
93989
|
+
"reflects": true
|
|
93990
|
+
},
|
|
93991
|
+
{
|
|
93992
|
+
"kind": "field",
|
|
93993
|
+
"name": "autoWidth",
|
|
93994
|
+
"type": {
|
|
93995
|
+
"text": "boolean"
|
|
93996
|
+
},
|
|
93997
|
+
"default": "false",
|
|
93998
|
+
"description": "Whether the box takes the glyph's own proportions, its height from\n`--icon-size` and its width from the glyph's box.\n\nAbsent is a square, which lines icons up in a column.",
|
|
93999
|
+
"attribute": "auto-width",
|
|
94000
|
+
"reflects": true
|
|
94001
|
+
},
|
|
94002
|
+
{
|
|
94003
|
+
"kind": "field",
|
|
94004
|
+
"name": "flip",
|
|
94005
|
+
"type": {
|
|
94006
|
+
"text": "'both' | 'x' | 'y' | undefined"
|
|
94007
|
+
},
|
|
94008
|
+
"description": "Mirrors the glyph across an axis: `x` left to right, `y` top to bottom,\n`both` across both.\n\nAbsent draws it as it is. On a right-to-left page, `mirror` is the flip\nthat follows the direction.",
|
|
94009
|
+
"attribute": "flip",
|
|
94010
|
+
"reflects": true
|
|
94011
|
+
},
|
|
94012
|
+
{
|
|
94013
|
+
"kind": "field",
|
|
94014
|
+
"name": "rotate",
|
|
94015
|
+
"type": {
|
|
94016
|
+
"text": "90 | 180 | 270 | undefined"
|
|
94017
|
+
},
|
|
94018
|
+
"description": "Turns the glyph clockwise by 90, 180 or 270 degrees.\n\nAbsent draws it upright. `--icon-rotate` turns it by any other angle.",
|
|
94019
|
+
"attribute": "rotate",
|
|
94020
|
+
"reflects": true
|
|
94021
|
+
},
|
|
93738
94022
|
{
|
|
93739
94023
|
"kind": "field",
|
|
93740
94024
|
"name": "icon",
|
|
@@ -93789,6 +94073,20 @@
|
|
|
93789
94073
|
"module": "src/icon/root/icon-root.ts"
|
|
93790
94074
|
}
|
|
93791
94075
|
},
|
|
94076
|
+
{
|
|
94077
|
+
"kind": "field",
|
|
94078
|
+
"name": "src",
|
|
94079
|
+
"type": {
|
|
94080
|
+
"text": "string"
|
|
94081
|
+
},
|
|
94082
|
+
"default": "''",
|
|
94083
|
+
"description": "The URL of an SVG file to draw, fetched once a page and drawn in\n`currentColor` where the file does not color its shapes.\n\nWins over `name`; `icon` wins over both. Absent draws `name`.",
|
|
94084
|
+
"attribute": "src",
|
|
94085
|
+
"inheritedFrom": {
|
|
94086
|
+
"name": "HelixHeadlessIcon",
|
|
94087
|
+
"module": "src/icon/root/icon-root.ts"
|
|
94088
|
+
}
|
|
94089
|
+
},
|
|
93792
94090
|
{
|
|
93793
94091
|
"kind": "field",
|
|
93794
94092
|
"name": "observedAttributes",
|
|
@@ -93908,6 +94206,20 @@
|
|
|
93908
94206
|
"module": "src/icon/root/icon-root.ts"
|
|
93909
94207
|
}
|
|
93910
94208
|
},
|
|
94209
|
+
{
|
|
94210
|
+
"kind": "field",
|
|
94211
|
+
"name": "asked",
|
|
94212
|
+
"type": {
|
|
94213
|
+
"text": "string"
|
|
94214
|
+
},
|
|
94215
|
+
"privacy": "private",
|
|
94216
|
+
"description": "What the glyph is asked for by: `src` where it is set, and `name` otherwise.",
|
|
94217
|
+
"readonly": true,
|
|
94218
|
+
"inheritedFrom": {
|
|
94219
|
+
"name": "HelixHeadlessIcon",
|
|
94220
|
+
"module": "src/icon/root/icon-root.ts"
|
|
94221
|
+
}
|
|
94222
|
+
},
|
|
93911
94223
|
{
|
|
93912
94224
|
"kind": "method",
|
|
93913
94225
|
"name": "lookup",
|
|
@@ -93917,7 +94229,7 @@
|
|
|
93917
94229
|
"text": "HelixIcon | undefined"
|
|
93918
94230
|
}
|
|
93919
94231
|
},
|
|
93920
|
-
"description": "What the registry gives
|
|
94232
|
+
"description": "What `src` or the registry gives now, starting the wait for a late glyph.\nA file is fetched only where the page can be read: a server fetches\nnothing, and a hydrating render draws what the server sent.",
|
|
93921
94233
|
"inheritedFrom": {
|
|
93922
94234
|
"name": "HelixHeadlessIcon",
|
|
93923
94235
|
"module": "src/icon/root/icon-root.ts"
|
|
@@ -94322,38 +94634,40 @@
|
|
|
94322
94634
|
}
|
|
94323
94635
|
}
|
|
94324
94636
|
],
|
|
94325
|
-
"superclass": {
|
|
94326
|
-
"name": "HelixHeadlessIcon",
|
|
94327
|
-
"package": "@fusion.dev/helix-headless/icon/root"
|
|
94328
|
-
},
|
|
94329
|
-
"summary": "A named icon from the Helix set.",
|
|
94330
|
-
"helix": {
|
|
94331
|
-
"category": "media",
|
|
94332
|
-
"since": "0.1.0",
|
|
94333
|
-
"status": "stable",
|
|
94334
|
-
"documentation": "https://fusion.dev/helix/components/icon",
|
|
94335
|
-
"aliases": [
|
|
94336
|
-
"Glyph",
|
|
94337
|
-
"Symbol"
|
|
94338
|
-
],
|
|
94339
|
-
"tier": "styled",
|
|
94340
|
-
"group": "Icon",
|
|
94341
|
-
"part": "Root",
|
|
94342
|
-
"examples": [
|
|
94343
|
-
{
|
|
94344
|
-
"description": "One icon at the default size.",
|
|
94345
|
-
"slug": "preview"
|
|
94346
|
-
},
|
|
94347
|
-
{
|
|
94348
|
-
"description": "The same icon at each step of the icon scale.",
|
|
94349
|
-
"slug": "sizes"
|
|
94350
|
-
}
|
|
94351
|
-
],
|
|
94352
|
-
"source": "helix/styled/src/icon"
|
|
94353
|
-
},
|
|
94354
|
-
"tagName": "helix-icon",
|
|
94355
|
-
"customElement": true,
|
|
94356
94637
|
"attributes": [
|
|
94638
|
+
{
|
|
94639
|
+
"name": "animation",
|
|
94640
|
+
"type": {
|
|
94641
|
+
"text": "'beat' | 'pulse' | 'spin' | undefined"
|
|
94642
|
+
},
|
|
94643
|
+
"description": "A motion that draws the eye or says work is going on: `spin` turns the\nglyph without end, `pulse` fades it in and out, and `beat` swells it.\n\nAbsent is still. Reduced motion stills every one of them.",
|
|
94644
|
+
"fieldName": "animation"
|
|
94645
|
+
},
|
|
94646
|
+
{
|
|
94647
|
+
"name": "auto-width",
|
|
94648
|
+
"type": {
|
|
94649
|
+
"text": "boolean"
|
|
94650
|
+
},
|
|
94651
|
+
"default": "false",
|
|
94652
|
+
"description": "Whether the box takes the glyph's own proportions, its height from\n`--icon-size` and its width from the glyph's box.\n\nAbsent is a square, which lines icons up in a column.",
|
|
94653
|
+
"fieldName": "autoWidth"
|
|
94654
|
+
},
|
|
94655
|
+
{
|
|
94656
|
+
"name": "flip",
|
|
94657
|
+
"type": {
|
|
94658
|
+
"text": "'both' | 'x' | 'y' | undefined"
|
|
94659
|
+
},
|
|
94660
|
+
"description": "Mirrors the glyph across an axis: `x` left to right, `y` top to bottom,\n`both` across both.\n\nAbsent draws it as it is. On a right-to-left page, `mirror` is the flip\nthat follows the direction.",
|
|
94661
|
+
"fieldName": "flip"
|
|
94662
|
+
},
|
|
94663
|
+
{
|
|
94664
|
+
"name": "rotate",
|
|
94665
|
+
"type": {
|
|
94666
|
+
"text": "90 | 180 | 270 | undefined"
|
|
94667
|
+
},
|
|
94668
|
+
"description": "Turns the glyph clockwise by 90, 180 or 270 degrees.\n\nAbsent draws it upright. `--icon-rotate` turns it by any other angle.",
|
|
94669
|
+
"fieldName": "rotate"
|
|
94670
|
+
},
|
|
94357
94671
|
{
|
|
94358
94672
|
"name": "label",
|
|
94359
94673
|
"type": {
|
|
@@ -94392,14 +94706,62 @@
|
|
|
94392
94706
|
"name": "HelixHeadlessIcon",
|
|
94393
94707
|
"module": "src/icon/root/icon-root.ts"
|
|
94394
94708
|
}
|
|
94709
|
+
},
|
|
94710
|
+
{
|
|
94711
|
+
"name": "src",
|
|
94712
|
+
"type": {
|
|
94713
|
+
"text": "string"
|
|
94714
|
+
},
|
|
94715
|
+
"default": "''",
|
|
94716
|
+
"description": "The URL of an SVG file to draw, fetched once a page and drawn in\n`currentColor` where the file does not color its shapes.\n\nWins over `name`; `icon` wins over both. Absent draws `name`.",
|
|
94717
|
+
"fieldName": "src",
|
|
94718
|
+
"inheritedFrom": {
|
|
94719
|
+
"name": "HelixHeadlessIcon",
|
|
94720
|
+
"module": "src/icon/root/icon-root.ts"
|
|
94721
|
+
}
|
|
94395
94722
|
}
|
|
94396
94723
|
],
|
|
94724
|
+
"superclass": {
|
|
94725
|
+
"name": "HelixHeadlessIcon",
|
|
94726
|
+
"package": "@fusion.dev/helix-headless/icon/root"
|
|
94727
|
+
},
|
|
94728
|
+
"summary": "A named icon from the Helix set.",
|
|
94729
|
+
"helix": {
|
|
94730
|
+
"category": "media",
|
|
94731
|
+
"since": "0.1.0",
|
|
94732
|
+
"status": "stable",
|
|
94733
|
+
"documentation": "https://fusion.dev/helix/components/icon",
|
|
94734
|
+
"aliases": [
|
|
94735
|
+
"Glyph",
|
|
94736
|
+
"Symbol"
|
|
94737
|
+
],
|
|
94738
|
+
"tier": "styled",
|
|
94739
|
+
"group": "Icon",
|
|
94740
|
+
"part": "Root",
|
|
94741
|
+
"examples": [
|
|
94742
|
+
{
|
|
94743
|
+
"description": "One icon at the default size.",
|
|
94744
|
+
"slug": "preview"
|
|
94745
|
+
},
|
|
94746
|
+
{
|
|
94747
|
+
"description": "The same icon at each step of the icon scale.",
|
|
94748
|
+
"slug": "sizes"
|
|
94749
|
+
},
|
|
94750
|
+
{
|
|
94751
|
+
"description": "One arrow turned with `rotate`, flipped with `flip`, and a refresh mark spinning with `animation`.",
|
|
94752
|
+
"slug": "turned"
|
|
94753
|
+
}
|
|
94754
|
+
],
|
|
94755
|
+
"source": "helix/styled/src/icon"
|
|
94756
|
+
},
|
|
94757
|
+
"tagName": "helix-icon",
|
|
94758
|
+
"customElement": true,
|
|
94397
94759
|
"events": [
|
|
94398
94760
|
{
|
|
94399
94761
|
"type": {
|
|
94400
94762
|
"text": "Event"
|
|
94401
94763
|
},
|
|
94402
|
-
"description": "`name` matches no registered icon and no library answers it, so nothing is drawn.",
|
|
94764
|
+
"description": "`name` matches no registered icon and no library answers it, or `src` is no SVG, so nothing is drawn.",
|
|
94403
94765
|
"name": "error",
|
|
94404
94766
|
"reactProp": "onerror",
|
|
94405
94767
|
"inheritedFrom": {
|
|
@@ -94411,7 +94773,7 @@
|
|
|
94411
94773
|
"type": {
|
|
94412
94774
|
"text": "Event"
|
|
94413
94775
|
},
|
|
94414
|
-
"description": "A glyph a library gave later for `name` is drawn.",
|
|
94776
|
+
"description": "A glyph a library gave later for `name`, or the file at `src`, is drawn.",
|
|
94415
94777
|
"name": "load",
|
|
94416
94778
|
"reactProp": "onload",
|
|
94417
94779
|
"inheritedFrom": {
|
|
@@ -153245,6 +153607,21 @@
|
|
|
153245
153607
|
"module": "src/quote/root/quote-root.ts"
|
|
153246
153608
|
}
|
|
153247
153609
|
},
|
|
153610
|
+
{
|
|
153611
|
+
"kind": "field",
|
|
153612
|
+
"name": "noMarks",
|
|
153613
|
+
"type": {
|
|
153614
|
+
"text": "boolean"
|
|
153615
|
+
},
|
|
153616
|
+
"default": "false",
|
|
153617
|
+
"description": "Whether to leave the quotation marks off, for a quotation set where the\npage draws its own.\n\nNegative, because the marks are on by default and a boolean attribute is\ntrue whenever it is present. Reflected, because a stylesheet takes the\nmarks off on it.",
|
|
153618
|
+
"attribute": "no-marks",
|
|
153619
|
+
"reflects": true,
|
|
153620
|
+
"inheritedFrom": {
|
|
153621
|
+
"name": "HelixHeadlessQuote",
|
|
153622
|
+
"module": "src/quote/root/quote-root.ts"
|
|
153623
|
+
}
|
|
153624
|
+
},
|
|
153248
153625
|
{
|
|
153249
153626
|
"kind": "field",
|
|
153250
153627
|
"name": "warned",
|
|
@@ -153637,6 +154014,11 @@
|
|
|
153637
154014
|
"description": "A quotation's marks follow the `lang` written on it, so a German and a French quotation take their own marks inside English text.",
|
|
153638
154015
|
"layout": "hug",
|
|
153639
154016
|
"slug": "languages"
|
|
154017
|
+
},
|
|
154018
|
+
{
|
|
154019
|
+
"description": "A pull quote with `no-marks`, beside a large mark the page draws.",
|
|
154020
|
+
"layout": "hug",
|
|
154021
|
+
"slug": "no-marks"
|
|
153640
154022
|
}
|
|
153641
154023
|
],
|
|
153642
154024
|
"source": "helix/styled/src/quote"
|
|
@@ -153676,6 +154058,19 @@
|
|
|
153676
154058
|
"name": "HelixHeadlessQuote",
|
|
153677
154059
|
"module": "src/quote/root/quote-root.ts"
|
|
153678
154060
|
}
|
|
154061
|
+
},
|
|
154062
|
+
{
|
|
154063
|
+
"name": "no-marks",
|
|
154064
|
+
"type": {
|
|
154065
|
+
"text": "boolean"
|
|
154066
|
+
},
|
|
154067
|
+
"default": "false",
|
|
154068
|
+
"description": "Whether to leave the quotation marks off, for a quotation set where the\npage draws its own.\n\nNegative, because the marks are on by default and a boolean attribute is\ntrue whenever it is present. Reflected, because a stylesheet takes the\nmarks off on it.",
|
|
154069
|
+
"fieldName": "noMarks",
|
|
154070
|
+
"inheritedFrom": {
|
|
154071
|
+
"name": "HelixHeadlessQuote",
|
|
154072
|
+
"module": "src/quote/root/quote-root.ts"
|
|
154073
|
+
}
|
|
153679
154074
|
}
|
|
153680
154075
|
],
|
|
153681
154076
|
"cssStates": [
|
|
@@ -169570,7 +169965,7 @@
|
|
|
169570
169965
|
"declarations": [
|
|
169571
169966
|
{
|
|
169572
169967
|
"kind": "class",
|
|
169573
|
-
"description": "Animates a highlight sweeping across the block, which reads as work in\nprogress. A block fading in and out can look broken, so `effect=\"pulse\"` is\na choice rather than the default.\n\nAround content with `loading`, the skeleton takes the content's box and\npaints over it, and the content is hidden until `loading` is taken off.",
|
|
169968
|
+
"description": "Animates a highlight sweeping across the block, which reads as work in\nprogress. A block fading in and out can look broken, so `effect=\"pulse\"` is\na choice rather than the default.\n\nAround content with `loading`, the skeleton takes the content's box and\npaints over it, and the content is hidden until `loading` is taken off.\n\n**`lines` draws a paragraph.** With `shape=\"text\"` and `lines=\"3\"`, one\nelement stands in for three lines of text: each line a `skeleton` part one\n`em` tall, spaced a body line height apart, and the last one shorter, as the end\nof a paragraph is.",
|
|
169574
169969
|
"name": "HelixSkeleton",
|
|
169575
169970
|
"cssProperties": [
|
|
169576
169971
|
{
|
|
@@ -169585,6 +169980,10 @@
|
|
|
169585
169980
|
"description": "How long one sweep or one pulse takes.",
|
|
169586
169981
|
"name": "--skeleton-duration"
|
|
169587
169982
|
},
|
|
169983
|
+
{
|
|
169984
|
+
"description": "The width of the last line of a `lines` paragraph. Defaults to 60%.",
|
|
169985
|
+
"name": "--skeleton-last-line-size"
|
|
169986
|
+
},
|
|
169588
169987
|
{
|
|
169589
169988
|
"description": "The corner of the block shape.",
|
|
169590
169989
|
"name": "--skeleton-radius"
|
|
@@ -169607,6 +170006,14 @@
|
|
|
169607
170006
|
"module": "src/skeleton/root/skeleton-root.ts"
|
|
169608
170007
|
}
|
|
169609
170008
|
},
|
|
170009
|
+
{
|
|
170010
|
+
"description": "Each line of a `lines` paragraph, which is also a `skeleton` part.",
|
|
170011
|
+
"name": "line"
|
|
170012
|
+
},
|
|
170013
|
+
{
|
|
170014
|
+
"description": "The column holding a `lines` paragraph, drawn only for `shape=\"text\"` with two or more lines.",
|
|
170015
|
+
"name": "lines"
|
|
170016
|
+
},
|
|
169610
170017
|
{
|
|
169611
170018
|
"description": "The highlight swept across the shape. Hidden for `effect=\"pulse\"` and `effect=\"none\"`.",
|
|
169612
170019
|
"name": "sheen",
|
|
@@ -169616,7 +170023,7 @@
|
|
|
169616
170023
|
}
|
|
169617
170024
|
},
|
|
169618
170025
|
{
|
|
169619
|
-
"description": "The placeholder shape.",
|
|
170026
|
+
"description": "The placeholder shape, or each line of a `lines` paragraph.",
|
|
169620
170027
|
"name": "skeleton",
|
|
169621
170028
|
"inheritedFrom": {
|
|
169622
170029
|
"name": "HelixHeadlessSkeleton",
|
|
@@ -169635,6 +170042,16 @@
|
|
|
169635
170042
|
"attribute": "effect",
|
|
169636
170043
|
"reflects": true
|
|
169637
170044
|
},
|
|
170045
|
+
{
|
|
170046
|
+
"kind": "field",
|
|
170047
|
+
"name": "lines",
|
|
170048
|
+
"type": {
|
|
170049
|
+
"text": "number | undefined"
|
|
170050
|
+
},
|
|
170051
|
+
"description": "How many lines of text the placeholder stands for, with `shape=\"text\"`.\n\nAbsent, or 1, is one line. Reflected, because the stylesheet sizes a\nparagraph by it.",
|
|
170052
|
+
"attribute": "lines",
|
|
170053
|
+
"reflects": true
|
|
170054
|
+
},
|
|
169638
170055
|
{
|
|
169639
170056
|
"kind": "field",
|
|
169640
170057
|
"name": "shape",
|
|
@@ -169645,6 +170062,21 @@
|
|
|
169645
170062
|
"attribute": "shape",
|
|
169646
170063
|
"reflects": true
|
|
169647
170064
|
},
|
|
170065
|
+
{
|
|
170066
|
+
"kind": "method",
|
|
170067
|
+
"name": "renderShape",
|
|
170068
|
+
"privacy": "protected",
|
|
170069
|
+
"return": {
|
|
170070
|
+
"type": {
|
|
170071
|
+
"text": "TemplateResult"
|
|
170072
|
+
}
|
|
170073
|
+
},
|
|
170074
|
+
"description": "The placeholder shape and the sheen inside it.\n\nA method, so a tier above can draw the placeholder as several shapes, as\nthe styled tier draws a paragraph of lines.",
|
|
170075
|
+
"inheritedFrom": {
|
|
170076
|
+
"name": "HelixHeadlessSkeleton",
|
|
170077
|
+
"module": "src/skeleton/root/skeleton-root.ts"
|
|
170078
|
+
}
|
|
170079
|
+
},
|
|
169648
170080
|
{
|
|
169649
170081
|
"kind": "field",
|
|
169650
170082
|
"name": "label",
|
|
@@ -170037,6 +170469,14 @@
|
|
|
170037
170469
|
"description": "How the placeholder shows it is waiting: a sweep when unset, `pulse` to\nfade the fill in and out, or `none` to sit still.\n\nReduced motion stills both.",
|
|
170038
170470
|
"fieldName": "effect"
|
|
170039
170471
|
},
|
|
170472
|
+
{
|
|
170473
|
+
"name": "lines",
|
|
170474
|
+
"type": {
|
|
170475
|
+
"text": "number | undefined"
|
|
170476
|
+
},
|
|
170477
|
+
"description": "How many lines of text the placeholder stands for, with `shape=\"text\"`.\n\nAbsent, or 1, is one line. Reflected, because the stylesheet sizes a\nparagraph by it.",
|
|
170478
|
+
"fieldName": "lines"
|
|
170479
|
+
},
|
|
170040
170480
|
{
|
|
170041
170481
|
"name": "shape",
|
|
170042
170482
|
"type": {
|
|
@@ -170103,6 +170543,10 @@
|
|
|
170103
170543
|
{
|
|
170104
170544
|
"description": "A skeleton around real content takes its size, and shows the content once `loading` is gone.",
|
|
170105
170545
|
"slug": "loading"
|
|
170546
|
+
},
|
|
170547
|
+
{
|
|
170548
|
+
"description": "A paragraph of three lines from one element, with `lines`, the last line shorter.",
|
|
170549
|
+
"slug": "paragraph"
|
|
170106
170550
|
}
|
|
170107
170551
|
],
|
|
170108
170552
|
"source": "helix/styled/src/skeleton"
|
|
@@ -179222,13 +179666,64 @@
|
|
|
179222
179666
|
"text": "string"
|
|
179223
179667
|
},
|
|
179224
179668
|
"default": "''",
|
|
179225
|
-
"description": "Accessible name for the group.",
|
|
179669
|
+
"description": "Accessible name for the group, which makes it a group.\n\nAbsent leaves the stats with no group around them, unless `aria-label` or\n`aria-labelledby` names it.",
|
|
179226
179670
|
"attribute": "label",
|
|
179227
179671
|
"inheritedFrom": {
|
|
179228
179672
|
"name": "HelixHeadlessStatGroup",
|
|
179229
179673
|
"module": "src/stat/group/stat-group.ts"
|
|
179230
179674
|
}
|
|
179231
179675
|
},
|
|
179676
|
+
{
|
|
179677
|
+
"kind": "field",
|
|
179678
|
+
"name": "observedAttributes",
|
|
179679
|
+
"type": {
|
|
179680
|
+
"text": "string[]"
|
|
179681
|
+
},
|
|
179682
|
+
"static": true,
|
|
179683
|
+
"description": "Hears a name written on the element, which no property mirrors.\n\nLit observes the attributes of its own properties only, and `ariaLabel`\nand `ariaLabelledByElements` belong to the platform.",
|
|
179684
|
+
"readonly": true,
|
|
179685
|
+
"inheritedFrom": {
|
|
179686
|
+
"name": "HelixHeadlessStatGroup",
|
|
179687
|
+
"module": "src/stat/group/stat-group.ts"
|
|
179688
|
+
}
|
|
179689
|
+
},
|
|
179690
|
+
{
|
|
179691
|
+
"kind": "method",
|
|
179692
|
+
"name": "attributeChangedCallback",
|
|
179693
|
+
"return": {
|
|
179694
|
+
"type": {
|
|
179695
|
+
"text": "void"
|
|
179696
|
+
}
|
|
179697
|
+
},
|
|
179698
|
+
"parameters": [
|
|
179699
|
+
{
|
|
179700
|
+
"name": "name",
|
|
179701
|
+
"type": {
|
|
179702
|
+
"text": "string"
|
|
179703
|
+
}
|
|
179704
|
+
},
|
|
179705
|
+
{
|
|
179706
|
+
"name": "old",
|
|
179707
|
+
"type": {
|
|
179708
|
+
"text": "string | null"
|
|
179709
|
+
}
|
|
179710
|
+
},
|
|
179711
|
+
{
|
|
179712
|
+
"name": "value",
|
|
179713
|
+
"type": {
|
|
179714
|
+
"text": "string | null"
|
|
179715
|
+
}
|
|
179716
|
+
}
|
|
179717
|
+
],
|
|
179718
|
+
"description": "Called by the browser when an observed attribute changes. A name written\nor taken off asks for an update, because it decides whether the stats are\na group.",
|
|
179719
|
+
"type": {
|
|
179720
|
+
"text": "attributeChangedCallback(name: string, old: string | null, value: string | null) => void"
|
|
179721
|
+
},
|
|
179722
|
+
"inheritedFrom": {
|
|
179723
|
+
"name": "HelixHeadlessStatGroup",
|
|
179724
|
+
"module": "src/stat/group/stat-group.ts"
|
|
179725
|
+
}
|
|
179726
|
+
},
|
|
179232
179727
|
{
|
|
179233
179728
|
"kind": "field",
|
|
179234
179729
|
"name": "tier",
|
|
@@ -179593,7 +180088,7 @@
|
|
|
179593
180088
|
"text": "string"
|
|
179594
180089
|
},
|
|
179595
180090
|
"default": "''",
|
|
179596
|
-
"description": "Accessible name for the group.",
|
|
180091
|
+
"description": "Accessible name for the group, which makes it a group.\n\nAbsent leaves the stats with no group around them, unless `aria-label` or\n`aria-labelledby` names it.",
|
|
179597
180092
|
"fieldName": "label",
|
|
179598
180093
|
"inheritedFrom": {
|
|
179599
180094
|
"name": "HelixHeadlessStatGroup",
|
|
@@ -179753,6 +180248,30 @@
|
|
|
179753
180248
|
"name": "HelixHeadlessStat",
|
|
179754
180249
|
"module": "src/stat/root/stat-root.ts"
|
|
179755
180250
|
}
|
|
180251
|
+
},
|
|
180252
|
+
{
|
|
180253
|
+
"description": "The slot the label arrives through, drawing no box, as `value` does.",
|
|
180254
|
+
"name": "label",
|
|
180255
|
+
"inheritedFrom": {
|
|
180256
|
+
"name": "HelixHeadlessStat",
|
|
180257
|
+
"module": "src/stat/root/stat-root.ts"
|
|
180258
|
+
}
|
|
180259
|
+
},
|
|
180260
|
+
{
|
|
180261
|
+
"description": "The slot the trend arrives through, drawing no box, as `value` does.",
|
|
180262
|
+
"name": "trend",
|
|
180263
|
+
"inheritedFrom": {
|
|
180264
|
+
"name": "HelixHeadlessStat",
|
|
180265
|
+
"module": "src/stat/root/stat-root.ts"
|
|
180266
|
+
}
|
|
180267
|
+
},
|
|
180268
|
+
{
|
|
180269
|
+
"description": "The slot the unit arrives through, drawing no box, as `value` does.",
|
|
180270
|
+
"name": "unit",
|
|
180271
|
+
"inheritedFrom": {
|
|
180272
|
+
"name": "HelixHeadlessStat",
|
|
180273
|
+
"module": "src/stat/root/stat-root.ts"
|
|
180274
|
+
}
|
|
179756
180275
|
}
|
|
179757
180276
|
],
|
|
179758
180277
|
"members": [
|
|
@@ -179770,6 +180289,57 @@
|
|
|
179770
180289
|
"module": "src/stat/root/stat-root.ts"
|
|
179771
180290
|
}
|
|
179772
180291
|
},
|
|
180292
|
+
{
|
|
180293
|
+
"kind": "field",
|
|
180294
|
+
"name": "formatOptions",
|
|
180295
|
+
"type": {
|
|
180296
|
+
"text": "Intl.NumberFormatOptions | undefined"
|
|
180297
|
+
},
|
|
180298
|
+
"description": "`Intl.NumberFormat` options `value` is written with, such as\n`{\"notation\":\"compact\"}` for `1.2M` or `{\"style\":\"percent\"}` for `98%`,\nwritten as JSON in the attribute.\n\nAbsent writes the number as the locale writes any number.",
|
|
180299
|
+
"attribute": "format-options",
|
|
180300
|
+
"inheritedFrom": {
|
|
180301
|
+
"name": "HelixHeadlessStat",
|
|
180302
|
+
"module": "src/stat/root/stat-root.ts"
|
|
180303
|
+
}
|
|
180304
|
+
},
|
|
180305
|
+
{
|
|
180306
|
+
"kind": "field",
|
|
180307
|
+
"name": "locale",
|
|
180308
|
+
"type": {
|
|
180309
|
+
"text": "string"
|
|
180310
|
+
},
|
|
180311
|
+
"default": "''",
|
|
180312
|
+
"description": "The locale `value` is written in, such as `de` for `1.234.567`.\n\nAbsent reads the nearest `lang`, then the runtime's own. Set it on a page\nrendered on a server, so the server and the browser write the figure\nalike.",
|
|
180313
|
+
"attribute": "locale",
|
|
180314
|
+
"inheritedFrom": {
|
|
180315
|
+
"name": "HelixHeadlessStat",
|
|
180316
|
+
"module": "src/stat/root/stat-root.ts"
|
|
180317
|
+
}
|
|
180318
|
+
},
|
|
180319
|
+
{
|
|
180320
|
+
"kind": "field",
|
|
180321
|
+
"name": "value",
|
|
180322
|
+
"type": {
|
|
180323
|
+
"text": "number | undefined"
|
|
180324
|
+
},
|
|
180325
|
+
"description": "The figure as a number, written with `format-options` in `locale` in\nplace of a slotted value.\n\nAbsent leaves the figure to the slot.",
|
|
180326
|
+
"attribute": "value",
|
|
180327
|
+
"inheritedFrom": {
|
|
180328
|
+
"name": "HelixHeadlessStat",
|
|
180329
|
+
"module": "src/stat/root/stat-root.ts"
|
|
180330
|
+
}
|
|
180331
|
+
},
|
|
180332
|
+
{
|
|
180333
|
+
"kind": "field",
|
|
180334
|
+
"name": "readPieces",
|
|
180335
|
+
"privacy": "private",
|
|
180336
|
+
"readonly": true,
|
|
180337
|
+
"description": "Says which pieces the stat holds, one call apiece so each pairs with its `@cssstate`.",
|
|
180338
|
+
"inheritedFrom": {
|
|
180339
|
+
"name": "HelixHeadlessStat",
|
|
180340
|
+
"module": "src/stat/root/stat-root.ts"
|
|
180341
|
+
}
|
|
180342
|
+
},
|
|
179773
180343
|
{
|
|
179774
180344
|
"kind": "field",
|
|
179775
180345
|
"name": "tier",
|
|
@@ -180193,9 +180763,70 @@
|
|
|
180193
180763
|
"name": "HelixHeadlessStat",
|
|
180194
180764
|
"module": "src/stat/root/stat-root.ts"
|
|
180195
180765
|
}
|
|
180766
|
+
},
|
|
180767
|
+
{
|
|
180768
|
+
"name": "format-options",
|
|
180769
|
+
"type": {
|
|
180770
|
+
"text": "Intl.NumberFormatOptions | undefined"
|
|
180771
|
+
},
|
|
180772
|
+
"description": "`Intl.NumberFormat` options `value` is written with, such as\n`{\"notation\":\"compact\"}` for `1.2M` or `{\"style\":\"percent\"}` for `98%`,\nwritten as JSON in the attribute.\n\nAbsent writes the number as the locale writes any number.",
|
|
180773
|
+
"fieldName": "formatOptions",
|
|
180774
|
+
"inheritedFrom": {
|
|
180775
|
+
"name": "HelixHeadlessStat",
|
|
180776
|
+
"module": "src/stat/root/stat-root.ts"
|
|
180777
|
+
}
|
|
180778
|
+
},
|
|
180779
|
+
{
|
|
180780
|
+
"name": "locale",
|
|
180781
|
+
"type": {
|
|
180782
|
+
"text": "string"
|
|
180783
|
+
},
|
|
180784
|
+
"default": "''",
|
|
180785
|
+
"description": "The locale `value` is written in, such as `de` for `1.234.567`.\n\nAbsent reads the nearest `lang`, then the runtime's own. Set it on a page\nrendered on a server, so the server and the browser write the figure\nalike.",
|
|
180786
|
+
"fieldName": "locale",
|
|
180787
|
+
"inheritedFrom": {
|
|
180788
|
+
"name": "HelixHeadlessStat",
|
|
180789
|
+
"module": "src/stat/root/stat-root.ts"
|
|
180790
|
+
}
|
|
180791
|
+
},
|
|
180792
|
+
{
|
|
180793
|
+
"name": "value",
|
|
180794
|
+
"type": {
|
|
180795
|
+
"text": "number | undefined"
|
|
180796
|
+
},
|
|
180797
|
+
"description": "The figure as a number, written with `format-options` in `locale` in\nplace of a slotted value.\n\nAbsent leaves the figure to the slot.",
|
|
180798
|
+
"fieldName": "value",
|
|
180799
|
+
"inheritedFrom": {
|
|
180800
|
+
"name": "HelixHeadlessStat",
|
|
180801
|
+
"module": "src/stat/root/stat-root.ts"
|
|
180802
|
+
}
|
|
180196
180803
|
}
|
|
180197
180804
|
],
|
|
180198
180805
|
"cssStates": [
|
|
180806
|
+
{
|
|
180807
|
+
"description": "Something is slotted into `label`.",
|
|
180808
|
+
"name": "has-label",
|
|
180809
|
+
"inheritedFrom": {
|
|
180810
|
+
"name": "HelixHeadlessStat",
|
|
180811
|
+
"module": "src/stat/root/stat-root.ts"
|
|
180812
|
+
}
|
|
180813
|
+
},
|
|
180814
|
+
{
|
|
180815
|
+
"description": "Something is slotted into `trend`.",
|
|
180816
|
+
"name": "has-trend",
|
|
180817
|
+
"inheritedFrom": {
|
|
180818
|
+
"name": "HelixHeadlessStat",
|
|
180819
|
+
"module": "src/stat/root/stat-root.ts"
|
|
180820
|
+
}
|
|
180821
|
+
},
|
|
180822
|
+
{
|
|
180823
|
+
"description": "Something is slotted into `unit`.",
|
|
180824
|
+
"name": "has-unit",
|
|
180825
|
+
"inheritedFrom": {
|
|
180826
|
+
"name": "HelixHeadlessStat",
|
|
180827
|
+
"module": "src/stat/root/stat-root.ts"
|
|
180828
|
+
}
|
|
180829
|
+
},
|
|
180199
180830
|
{
|
|
180200
180831
|
"description": "Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.",
|
|
180201
180832
|
"name": "settled",
|
|
@@ -227509,6 +228140,6 @@
|
|
|
227509
228140
|
],
|
|
227510
228141
|
"helix": {
|
|
227511
228142
|
"package": "@fusion.dev/helix",
|
|
227512
|
-
"version": "0.
|
|
228143
|
+
"version": "0.154.0"
|
|
227513
228144
|
}
|
|
227514
228145
|
}
|