@fusion.dev/helix 0.19.0 → 0.20.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 +546 -58
- package/dist/announcement/root/announcement-root.css.js +5 -0
- package/dist/announcement/root/announcement-root.d.ts +1 -0
- package/dist/date-input/root/date-input-root.css.js +0 -11
- package/dist/date-input/root/date-input-root.js +2 -1
- package/dist/time-input/root/time-input-root.css.js +0 -11
- package/dist/time-input/root/time-input-root.js +2 -1
- package/package.json +6 -6
- package/types/jsx.d.ts +84 -108
- package/types/vue.d.ts +30 -36
package/custom-elements.json
CHANGED
|
@@ -1040,6 +1040,10 @@
|
|
|
1040
1040
|
"description": "Full width and flat, with the severity carried by a tinted fill and a\nhairline beneath rather than by a border on four sides: an announcement is a\nband across the top of the page, not a box that happens to be wide.",
|
|
1041
1041
|
"name": "HelixAnnouncement",
|
|
1042
1042
|
"cssProperties": [
|
|
1043
|
+
{
|
|
1044
|
+
"description": "How tall the band is at its shortest, so adding a control to it does not move the page down. A floor, not a cap: a message long enough to wrap still gets the room.",
|
|
1045
|
+
"name": "--announcement-block-size"
|
|
1046
|
+
},
|
|
1043
1047
|
{
|
|
1044
1048
|
"description": "Inline padding, matched to the page.",
|
|
1045
1049
|
"name": "--announcement-inset"
|
|
@@ -25135,6 +25139,215 @@
|
|
|
25135
25139
|
"text": "toggleOpen() => boolean"
|
|
25136
25140
|
}
|
|
25137
25141
|
},
|
|
25142
|
+
{
|
|
25143
|
+
"kind": "field",
|
|
25144
|
+
"name": "collapseLabel",
|
|
25145
|
+
"type": {
|
|
25146
|
+
"text": "string"
|
|
25147
|
+
},
|
|
25148
|
+
"default": "'Show fewer'",
|
|
25149
|
+
"description": "What the control is called once everything is showing.",
|
|
25150
|
+
"attribute": "collapse-label",
|
|
25151
|
+
"inheritedFrom": {
|
|
25152
|
+
"name": "MixinTokens",
|
|
25153
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
25154
|
+
}
|
|
25155
|
+
},
|
|
25156
|
+
{
|
|
25157
|
+
"kind": "field",
|
|
25158
|
+
"name": "expandable",
|
|
25159
|
+
"type": {
|
|
25160
|
+
"text": "boolean"
|
|
25161
|
+
},
|
|
25162
|
+
"default": "false",
|
|
25163
|
+
"description": "Whether the count is a control that shows the rest.",
|
|
25164
|
+
"attribute": "expandable",
|
|
25165
|
+
"inheritedFrom": {
|
|
25166
|
+
"name": "MixinTokens",
|
|
25167
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
25168
|
+
}
|
|
25169
|
+
},
|
|
25170
|
+
{
|
|
25171
|
+
"kind": "field",
|
|
25172
|
+
"name": "expandLabel",
|
|
25173
|
+
"type": {
|
|
25174
|
+
"text": "string"
|
|
25175
|
+
},
|
|
25176
|
+
"default": "'Show all'",
|
|
25177
|
+
"description": "What the collapsed count is called, since `+3` names nothing.",
|
|
25178
|
+
"attribute": "expand-label",
|
|
25179
|
+
"inheritedFrom": {
|
|
25180
|
+
"name": "MixinTokens",
|
|
25181
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
25182
|
+
}
|
|
25183
|
+
},
|
|
25184
|
+
{
|
|
25185
|
+
"kind": "field",
|
|
25186
|
+
"name": "maxTags",
|
|
25187
|
+
"type": {
|
|
25188
|
+
"text": "number"
|
|
25189
|
+
},
|
|
25190
|
+
"default": "0",
|
|
25191
|
+
"description": "How many tokens to show before the rest become a count.",
|
|
25192
|
+
"attribute": "max-tags",
|
|
25193
|
+
"inheritedFrom": {
|
|
25194
|
+
"name": "MixinTokens",
|
|
25195
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
25196
|
+
}
|
|
25197
|
+
},
|
|
25198
|
+
{
|
|
25199
|
+
"kind": "field",
|
|
25200
|
+
"name": "expanded",
|
|
25201
|
+
"type": {
|
|
25202
|
+
"text": "boolean"
|
|
25203
|
+
},
|
|
25204
|
+
"privacy": "private",
|
|
25205
|
+
"default": "false",
|
|
25206
|
+
"description": "Whether the reader has asked for all of them.\n\nState and private, the way `Input`'s `revealed` is: it is a reader's\nmomentary choice about what is on their own screen, it must not survive\nanything, and a consumer who wants the field opened is asking for\n`max-tags=\"0\"` rather than for a second way to say it.",
|
|
25207
|
+
"inheritedFrom": {
|
|
25208
|
+
"name": "MixinTokens",
|
|
25209
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
25210
|
+
}
|
|
25211
|
+
},
|
|
25212
|
+
{
|
|
25213
|
+
"kind": "field",
|
|
25214
|
+
"name": "shownLimit",
|
|
25215
|
+
"type": {
|
|
25216
|
+
"text": "number"
|
|
25217
|
+
},
|
|
25218
|
+
"privacy": "protected",
|
|
25219
|
+
"readonly": true,
|
|
25220
|
+
"inheritedFrom": {
|
|
25221
|
+
"name": "MixinTokens",
|
|
25222
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
25223
|
+
}
|
|
25224
|
+
},
|
|
25225
|
+
{
|
|
25226
|
+
"kind": "field",
|
|
25227
|
+
"name": "toggleExpanded",
|
|
25228
|
+
"privacy": "private",
|
|
25229
|
+
"readonly": true,
|
|
25230
|
+
"description": "Turns the cap off and on, which is all expanding is.",
|
|
25231
|
+
"inheritedFrom": {
|
|
25232
|
+
"name": "MixinTokens",
|
|
25233
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
25234
|
+
}
|
|
25235
|
+
},
|
|
25236
|
+
{
|
|
25237
|
+
"kind": "method",
|
|
25238
|
+
"name": "renderTokenRow",
|
|
25239
|
+
"privacy": "protected",
|
|
25240
|
+
"return": {
|
|
25241
|
+
"type": {
|
|
25242
|
+
"text": "TemplateResult | typeof nothing"
|
|
25243
|
+
}
|
|
25244
|
+
},
|
|
25245
|
+
"parameters": [
|
|
25246
|
+
{
|
|
25247
|
+
"name": "content",
|
|
25248
|
+
"type": {
|
|
25249
|
+
"text": "unknown"
|
|
25250
|
+
}
|
|
25251
|
+
},
|
|
25252
|
+
{
|
|
25253
|
+
"name": "over",
|
|
25254
|
+
"type": {
|
|
25255
|
+
"text": "number"
|
|
25256
|
+
}
|
|
25257
|
+
}
|
|
25258
|
+
],
|
|
25259
|
+
"inheritedFrom": {
|
|
25260
|
+
"name": "MixinTokens",
|
|
25261
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
25262
|
+
}
|
|
25263
|
+
},
|
|
25264
|
+
{
|
|
25265
|
+
"kind": "method",
|
|
25266
|
+
"name": "renderRest",
|
|
25267
|
+
"privacy": "private",
|
|
25268
|
+
"return": {
|
|
25269
|
+
"type": {
|
|
25270
|
+
"text": "TemplateResult | typeof nothing"
|
|
25271
|
+
}
|
|
25272
|
+
},
|
|
25273
|
+
"parameters": [
|
|
25274
|
+
{
|
|
25275
|
+
"name": "over",
|
|
25276
|
+
"type": {
|
|
25277
|
+
"text": "number"
|
|
25278
|
+
}
|
|
25279
|
+
}
|
|
25280
|
+
],
|
|
25281
|
+
"description": "The count, as a control where the host asked for one and a word otherwise.\n\n**`part=\"rest\"` either way**, so a consumer's `::part(rest)` keeps working\nacross the change. The element under it is different, which is the point:\na `<span>` that looks like an affordance and answers nothing is the fault\nthis exists to fix, and the way to fix it is a real button rather than a\nclick handler on text.\n\n**Expanded, it renders on no count.** `shownLimit` is zero while expanded,\nso `over` is zero too, and gating the control on the number would take\naway the only way back.",
|
|
25282
|
+
"inheritedFrom": {
|
|
25283
|
+
"name": "MixinTokens",
|
|
25284
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
25285
|
+
}
|
|
25286
|
+
},
|
|
25287
|
+
{
|
|
25288
|
+
"kind": "method",
|
|
25289
|
+
"name": "hideOverflow",
|
|
25290
|
+
"privacy": "protected",
|
|
25291
|
+
"return": {
|
|
25292
|
+
"type": {
|
|
25293
|
+
"text": "number"
|
|
25294
|
+
}
|
|
25295
|
+
},
|
|
25296
|
+
"parameters": [
|
|
25297
|
+
{
|
|
25298
|
+
"name": "slot",
|
|
25299
|
+
"type": {
|
|
25300
|
+
"text": "HTMLSlotElement | null | undefined"
|
|
25301
|
+
}
|
|
25302
|
+
}
|
|
25303
|
+
],
|
|
25304
|
+
"inheritedFrom": {
|
|
25305
|
+
"name": "MixinTokens",
|
|
25306
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
25307
|
+
}
|
|
25308
|
+
},
|
|
25309
|
+
{
|
|
25310
|
+
"kind": "method",
|
|
25311
|
+
"name": "tokenKeydown",
|
|
25312
|
+
"privacy": "protected",
|
|
25313
|
+
"return": {
|
|
25314
|
+
"type": {
|
|
25315
|
+
"text": "boolean"
|
|
25316
|
+
}
|
|
25317
|
+
},
|
|
25318
|
+
"parameters": [
|
|
25319
|
+
{
|
|
25320
|
+
"name": "event",
|
|
25321
|
+
"type": {
|
|
25322
|
+
"text": "KeyboardEvent"
|
|
25323
|
+
}
|
|
25324
|
+
},
|
|
25325
|
+
{
|
|
25326
|
+
"name": "typed",
|
|
25327
|
+
"type": {
|
|
25328
|
+
"text": "string"
|
|
25329
|
+
}
|
|
25330
|
+
}
|
|
25331
|
+
],
|
|
25332
|
+
"inheritedFrom": {
|
|
25333
|
+
"name": "MixinTokens",
|
|
25334
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
25335
|
+
}
|
|
25336
|
+
},
|
|
25337
|
+
{
|
|
25338
|
+
"kind": "method",
|
|
25339
|
+
"name": "removeLastToken",
|
|
25340
|
+
"privacy": "protected",
|
|
25341
|
+
"return": {
|
|
25342
|
+
"type": {
|
|
25343
|
+
"text": "void"
|
|
25344
|
+
}
|
|
25345
|
+
},
|
|
25346
|
+
"inheritedFrom": {
|
|
25347
|
+
"name": "MixinTokens",
|
|
25348
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
25349
|
+
}
|
|
25350
|
+
},
|
|
25138
25351
|
{
|
|
25139
25352
|
"kind": "field",
|
|
25140
25353
|
"name": "defaultValue",
|
|
@@ -25606,20 +25819,6 @@
|
|
|
25606
25819
|
"module": "src/date-input/root/date-input-root.ts"
|
|
25607
25820
|
}
|
|
25608
25821
|
},
|
|
25609
|
-
{
|
|
25610
|
-
"kind": "field",
|
|
25611
|
-
"name": "maxTags",
|
|
25612
|
-
"type": {
|
|
25613
|
-
"text": "number"
|
|
25614
|
-
},
|
|
25615
|
-
"default": "0",
|
|
25616
|
-
"description": "How many dates are shown as tags before the rest are counted, in `multiple`.\n\n`0` is all of them, and is the default: a cap that guesses is worse than no\ncap, because the number that fits depends on the width of the field and the\nlength of what is in it, neither of which this element knows. What a cap is\ngenuinely for is a field in a row or a table cell, where a set of twelve\ndates would push everything below it down a line at a time.\n\nThe remainder is counted rather than hidden. `+3` is a fact a reader can\nact on, where a row that silently stops is a field that appears to have lost\nwhat was put in it, and the count is what tells them there is more to see.",
|
|
25617
|
-
"attribute": "max-tags",
|
|
25618
|
-
"inheritedFrom": {
|
|
25619
|
-
"name": "HelixHeadlessDateInput",
|
|
25620
|
-
"module": "src/date-input/root/date-input-root.ts"
|
|
25621
|
-
}
|
|
25622
|
-
},
|
|
25623
25822
|
{
|
|
25624
25823
|
"kind": "field",
|
|
25625
25824
|
"name": "min",
|
|
@@ -25837,7 +26036,7 @@
|
|
|
25837
26036
|
"text": "string[]"
|
|
25838
26037
|
},
|
|
25839
26038
|
"privacy": "private",
|
|
25840
|
-
"description": "The dates that get a tag, which is all of them until
|
|
26039
|
+
"description": "The dates that get a tag, which is all of them until the cap says not.",
|
|
25841
26040
|
"readonly": true,
|
|
25842
26041
|
"inheritedFrom": {
|
|
25843
26042
|
"name": "HelixHeadlessDateInput",
|
|
@@ -26461,6 +26660,58 @@
|
|
|
26461
26660
|
"module": "src/mixins/mixin-controller-open/mixin-controller-open.ts"
|
|
26462
26661
|
}
|
|
26463
26662
|
},
|
|
26663
|
+
{
|
|
26664
|
+
"name": "collapse-label",
|
|
26665
|
+
"type": {
|
|
26666
|
+
"text": "string"
|
|
26667
|
+
},
|
|
26668
|
+
"default": "'Show fewer'",
|
|
26669
|
+
"description": "What the control is called once everything is showing.",
|
|
26670
|
+
"fieldName": "collapseLabel",
|
|
26671
|
+
"inheritedFrom": {
|
|
26672
|
+
"name": "MixinTokens",
|
|
26673
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
26674
|
+
}
|
|
26675
|
+
},
|
|
26676
|
+
{
|
|
26677
|
+
"name": "expandable",
|
|
26678
|
+
"type": {
|
|
26679
|
+
"text": "boolean"
|
|
26680
|
+
},
|
|
26681
|
+
"default": "false",
|
|
26682
|
+
"description": "Whether the count is a control that shows the rest.",
|
|
26683
|
+
"fieldName": "expandable",
|
|
26684
|
+
"inheritedFrom": {
|
|
26685
|
+
"name": "MixinTokens",
|
|
26686
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
26687
|
+
}
|
|
26688
|
+
},
|
|
26689
|
+
{
|
|
26690
|
+
"name": "expand-label",
|
|
26691
|
+
"type": {
|
|
26692
|
+
"text": "string"
|
|
26693
|
+
},
|
|
26694
|
+
"default": "'Show all'",
|
|
26695
|
+
"description": "What the collapsed count is called, since `+3` names nothing.",
|
|
26696
|
+
"fieldName": "expandLabel",
|
|
26697
|
+
"inheritedFrom": {
|
|
26698
|
+
"name": "MixinTokens",
|
|
26699
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
26700
|
+
}
|
|
26701
|
+
},
|
|
26702
|
+
{
|
|
26703
|
+
"name": "max-tags",
|
|
26704
|
+
"type": {
|
|
26705
|
+
"text": "number"
|
|
26706
|
+
},
|
|
26707
|
+
"default": "0",
|
|
26708
|
+
"description": "How many tokens to show before the rest become a count.",
|
|
26709
|
+
"fieldName": "maxTags",
|
|
26710
|
+
"inheritedFrom": {
|
|
26711
|
+
"name": "MixinTokens",
|
|
26712
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
26713
|
+
}
|
|
26714
|
+
},
|
|
26464
26715
|
{
|
|
26465
26716
|
"name": "default-value",
|
|
26466
26717
|
"type": {
|
|
@@ -26629,19 +26880,6 @@
|
|
|
26629
26880
|
"module": "src/date-input/root/date-input-root.ts"
|
|
26630
26881
|
}
|
|
26631
26882
|
},
|
|
26632
|
-
{
|
|
26633
|
-
"name": "max-tags",
|
|
26634
|
-
"type": {
|
|
26635
|
-
"text": "number"
|
|
26636
|
-
},
|
|
26637
|
-
"default": "0",
|
|
26638
|
-
"description": "How many dates are shown as tags before the rest are counted, in `multiple`.\n\n`0` is all of them, and is the default: a cap that guesses is worse than no\ncap, because the number that fits depends on the width of the field and the\nlength of what is in it, neither of which this element knows. What a cap is\ngenuinely for is a field in a row or a table cell, where a set of twelve\ndates would push everything below it down a line at a time.\n\nThe remainder is counted rather than hidden. `+3` is a fact a reader can\nact on, where a row that silently stops is a field that appears to have lost\nwhat was put in it, and the count is what tells them there is more to see.",
|
|
26639
|
-
"fieldName": "maxTags",
|
|
26640
|
-
"inheritedFrom": {
|
|
26641
|
-
"name": "HelixHeadlessDateInput",
|
|
26642
|
-
"module": "src/date-input/root/date-input-root.ts"
|
|
26643
|
-
}
|
|
26644
|
-
},
|
|
26645
26883
|
{
|
|
26646
26884
|
"name": "min",
|
|
26647
26885
|
"type": {
|
|
@@ -27045,7 +27283,7 @@
|
|
|
27045
27283
|
}
|
|
27046
27284
|
},
|
|
27047
27285
|
{
|
|
27048
|
-
"description": "How many dates are held beyond the ones shown.",
|
|
27286
|
+
"description": "How many dates are held beyond the ones shown. A `<button>` with `expandable`, a `<span>` without it.",
|
|
27049
27287
|
"name": "rest",
|
|
27050
27288
|
"inheritedFrom": {
|
|
27051
27289
|
"name": "HelixHeadlessDateInput",
|
|
@@ -27060,6 +27298,14 @@
|
|
|
27060
27298
|
"module": "src/date-input/root/date-input-root.ts"
|
|
27061
27299
|
}
|
|
27062
27300
|
},
|
|
27301
|
+
{
|
|
27302
|
+
"description": "The row the dates sit in.",
|
|
27303
|
+
"name": "tags",
|
|
27304
|
+
"inheritedFrom": {
|
|
27305
|
+
"name": "HelixHeadlessDateInput",
|
|
27306
|
+
"module": "src/date-input/root/date-input-root.ts"
|
|
27307
|
+
}
|
|
27308
|
+
},
|
|
27063
27309
|
{
|
|
27064
27310
|
"description": "The control that opens the calendar.",
|
|
27065
27311
|
"name": "trigger",
|
|
@@ -86039,6 +86285,215 @@
|
|
|
86039
86285
|
"text": "toggleOpen() => boolean"
|
|
86040
86286
|
}
|
|
86041
86287
|
},
|
|
86288
|
+
{
|
|
86289
|
+
"kind": "field",
|
|
86290
|
+
"name": "collapseLabel",
|
|
86291
|
+
"type": {
|
|
86292
|
+
"text": "string"
|
|
86293
|
+
},
|
|
86294
|
+
"default": "'Show fewer'",
|
|
86295
|
+
"description": "What the control is called once everything is showing.",
|
|
86296
|
+
"attribute": "collapse-label",
|
|
86297
|
+
"inheritedFrom": {
|
|
86298
|
+
"name": "MixinTokens",
|
|
86299
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
86300
|
+
}
|
|
86301
|
+
},
|
|
86302
|
+
{
|
|
86303
|
+
"kind": "field",
|
|
86304
|
+
"name": "expandable",
|
|
86305
|
+
"type": {
|
|
86306
|
+
"text": "boolean"
|
|
86307
|
+
},
|
|
86308
|
+
"default": "false",
|
|
86309
|
+
"description": "Whether the count is a control that shows the rest.",
|
|
86310
|
+
"attribute": "expandable",
|
|
86311
|
+
"inheritedFrom": {
|
|
86312
|
+
"name": "MixinTokens",
|
|
86313
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
86314
|
+
}
|
|
86315
|
+
},
|
|
86316
|
+
{
|
|
86317
|
+
"kind": "field",
|
|
86318
|
+
"name": "expandLabel",
|
|
86319
|
+
"type": {
|
|
86320
|
+
"text": "string"
|
|
86321
|
+
},
|
|
86322
|
+
"default": "'Show all'",
|
|
86323
|
+
"description": "What the collapsed count is called, since `+3` names nothing.",
|
|
86324
|
+
"attribute": "expand-label",
|
|
86325
|
+
"inheritedFrom": {
|
|
86326
|
+
"name": "MixinTokens",
|
|
86327
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
86328
|
+
}
|
|
86329
|
+
},
|
|
86330
|
+
{
|
|
86331
|
+
"kind": "field",
|
|
86332
|
+
"name": "maxTags",
|
|
86333
|
+
"type": {
|
|
86334
|
+
"text": "number"
|
|
86335
|
+
},
|
|
86336
|
+
"default": "0",
|
|
86337
|
+
"description": "How many tokens to show before the rest become a count.",
|
|
86338
|
+
"attribute": "max-tags",
|
|
86339
|
+
"inheritedFrom": {
|
|
86340
|
+
"name": "MixinTokens",
|
|
86341
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
86342
|
+
}
|
|
86343
|
+
},
|
|
86344
|
+
{
|
|
86345
|
+
"kind": "field",
|
|
86346
|
+
"name": "expanded",
|
|
86347
|
+
"type": {
|
|
86348
|
+
"text": "boolean"
|
|
86349
|
+
},
|
|
86350
|
+
"privacy": "private",
|
|
86351
|
+
"default": "false",
|
|
86352
|
+
"description": "Whether the reader has asked for all of them.\n\nState and private, the way `Input`'s `revealed` is: it is a reader's\nmomentary choice about what is on their own screen, it must not survive\nanything, and a consumer who wants the field opened is asking for\n`max-tags=\"0\"` rather than for a second way to say it.",
|
|
86353
|
+
"inheritedFrom": {
|
|
86354
|
+
"name": "MixinTokens",
|
|
86355
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
86356
|
+
}
|
|
86357
|
+
},
|
|
86358
|
+
{
|
|
86359
|
+
"kind": "field",
|
|
86360
|
+
"name": "shownLimit",
|
|
86361
|
+
"type": {
|
|
86362
|
+
"text": "number"
|
|
86363
|
+
},
|
|
86364
|
+
"privacy": "protected",
|
|
86365
|
+
"readonly": true,
|
|
86366
|
+
"inheritedFrom": {
|
|
86367
|
+
"name": "MixinTokens",
|
|
86368
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
86369
|
+
}
|
|
86370
|
+
},
|
|
86371
|
+
{
|
|
86372
|
+
"kind": "field",
|
|
86373
|
+
"name": "toggleExpanded",
|
|
86374
|
+
"privacy": "private",
|
|
86375
|
+
"readonly": true,
|
|
86376
|
+
"description": "Turns the cap off and on, which is all expanding is.",
|
|
86377
|
+
"inheritedFrom": {
|
|
86378
|
+
"name": "MixinTokens",
|
|
86379
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
86380
|
+
}
|
|
86381
|
+
},
|
|
86382
|
+
{
|
|
86383
|
+
"kind": "method",
|
|
86384
|
+
"name": "renderTokenRow",
|
|
86385
|
+
"privacy": "protected",
|
|
86386
|
+
"return": {
|
|
86387
|
+
"type": {
|
|
86388
|
+
"text": "TemplateResult | typeof nothing"
|
|
86389
|
+
}
|
|
86390
|
+
},
|
|
86391
|
+
"parameters": [
|
|
86392
|
+
{
|
|
86393
|
+
"name": "content",
|
|
86394
|
+
"type": {
|
|
86395
|
+
"text": "unknown"
|
|
86396
|
+
}
|
|
86397
|
+
},
|
|
86398
|
+
{
|
|
86399
|
+
"name": "over",
|
|
86400
|
+
"type": {
|
|
86401
|
+
"text": "number"
|
|
86402
|
+
}
|
|
86403
|
+
}
|
|
86404
|
+
],
|
|
86405
|
+
"inheritedFrom": {
|
|
86406
|
+
"name": "MixinTokens",
|
|
86407
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
86408
|
+
}
|
|
86409
|
+
},
|
|
86410
|
+
{
|
|
86411
|
+
"kind": "method",
|
|
86412
|
+
"name": "renderRest",
|
|
86413
|
+
"privacy": "private",
|
|
86414
|
+
"return": {
|
|
86415
|
+
"type": {
|
|
86416
|
+
"text": "TemplateResult | typeof nothing"
|
|
86417
|
+
}
|
|
86418
|
+
},
|
|
86419
|
+
"parameters": [
|
|
86420
|
+
{
|
|
86421
|
+
"name": "over",
|
|
86422
|
+
"type": {
|
|
86423
|
+
"text": "number"
|
|
86424
|
+
}
|
|
86425
|
+
}
|
|
86426
|
+
],
|
|
86427
|
+
"description": "The count, as a control where the host asked for one and a word otherwise.\n\n**`part=\"rest\"` either way**, so a consumer's `::part(rest)` keeps working\nacross the change. The element under it is different, which is the point:\na `<span>` that looks like an affordance and answers nothing is the fault\nthis exists to fix, and the way to fix it is a real button rather than a\nclick handler on text.\n\n**Expanded, it renders on no count.** `shownLimit` is zero while expanded,\nso `over` is zero too, and gating the control on the number would take\naway the only way back.",
|
|
86428
|
+
"inheritedFrom": {
|
|
86429
|
+
"name": "MixinTokens",
|
|
86430
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
86431
|
+
}
|
|
86432
|
+
},
|
|
86433
|
+
{
|
|
86434
|
+
"kind": "method",
|
|
86435
|
+
"name": "hideOverflow",
|
|
86436
|
+
"privacy": "protected",
|
|
86437
|
+
"return": {
|
|
86438
|
+
"type": {
|
|
86439
|
+
"text": "number"
|
|
86440
|
+
}
|
|
86441
|
+
},
|
|
86442
|
+
"parameters": [
|
|
86443
|
+
{
|
|
86444
|
+
"name": "slot",
|
|
86445
|
+
"type": {
|
|
86446
|
+
"text": "HTMLSlotElement | null | undefined"
|
|
86447
|
+
}
|
|
86448
|
+
}
|
|
86449
|
+
],
|
|
86450
|
+
"inheritedFrom": {
|
|
86451
|
+
"name": "MixinTokens",
|
|
86452
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
86453
|
+
}
|
|
86454
|
+
},
|
|
86455
|
+
{
|
|
86456
|
+
"kind": "method",
|
|
86457
|
+
"name": "tokenKeydown",
|
|
86458
|
+
"privacy": "protected",
|
|
86459
|
+
"return": {
|
|
86460
|
+
"type": {
|
|
86461
|
+
"text": "boolean"
|
|
86462
|
+
}
|
|
86463
|
+
},
|
|
86464
|
+
"parameters": [
|
|
86465
|
+
{
|
|
86466
|
+
"name": "event",
|
|
86467
|
+
"type": {
|
|
86468
|
+
"text": "KeyboardEvent"
|
|
86469
|
+
}
|
|
86470
|
+
},
|
|
86471
|
+
{
|
|
86472
|
+
"name": "typed",
|
|
86473
|
+
"type": {
|
|
86474
|
+
"text": "string"
|
|
86475
|
+
}
|
|
86476
|
+
}
|
|
86477
|
+
],
|
|
86478
|
+
"inheritedFrom": {
|
|
86479
|
+
"name": "MixinTokens",
|
|
86480
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
86481
|
+
}
|
|
86482
|
+
},
|
|
86483
|
+
{
|
|
86484
|
+
"kind": "method",
|
|
86485
|
+
"name": "removeLastToken",
|
|
86486
|
+
"privacy": "protected",
|
|
86487
|
+
"return": {
|
|
86488
|
+
"type": {
|
|
86489
|
+
"text": "void"
|
|
86490
|
+
}
|
|
86491
|
+
},
|
|
86492
|
+
"inheritedFrom": {
|
|
86493
|
+
"name": "MixinTokens",
|
|
86494
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
86495
|
+
}
|
|
86496
|
+
},
|
|
86042
86497
|
{
|
|
86043
86498
|
"kind": "field",
|
|
86044
86499
|
"name": "defaultValue",
|
|
@@ -86454,20 +86909,6 @@
|
|
|
86454
86909
|
"module": "src/time-input/root/time-input-root.ts"
|
|
86455
86910
|
}
|
|
86456
86911
|
},
|
|
86457
|
-
{
|
|
86458
|
-
"kind": "field",
|
|
86459
|
-
"name": "maxTags",
|
|
86460
|
-
"type": {
|
|
86461
|
-
"text": "number"
|
|
86462
|
-
},
|
|
86463
|
-
"default": "0",
|
|
86464
|
-
"description": "How many times are shown as tags before the rest are counted, in `multiple`.\n\n`0` is all of them, and is the default, for the reason Date Input gives: how\nmany fit depends on the width of the field and the length of what is in it,\nand this element knows neither.",
|
|
86465
|
-
"attribute": "max-tags",
|
|
86466
|
-
"inheritedFrom": {
|
|
86467
|
-
"name": "HelixHeadlessTimeInput",
|
|
86468
|
-
"module": "src/time-input/root/time-input-root.ts"
|
|
86469
|
-
}
|
|
86470
|
-
},
|
|
86471
86912
|
{
|
|
86472
86913
|
"kind": "field",
|
|
86473
86914
|
"name": "min",
|
|
@@ -86678,7 +87119,7 @@
|
|
|
86678
87119
|
"text": "string[]"
|
|
86679
87120
|
},
|
|
86680
87121
|
"privacy": "private",
|
|
86681
|
-
"description": "The times that get a tag, which is all of them until
|
|
87122
|
+
"description": "The times that get a tag, which is all of them until the cap says not.",
|
|
86682
87123
|
"readonly": true,
|
|
86683
87124
|
"inheritedFrom": {
|
|
86684
87125
|
"name": "HelixHeadlessTimeInput",
|
|
@@ -87333,6 +87774,58 @@
|
|
|
87333
87774
|
"module": "src/mixins/mixin-controller-open/mixin-controller-open.ts"
|
|
87334
87775
|
}
|
|
87335
87776
|
},
|
|
87777
|
+
{
|
|
87778
|
+
"name": "collapse-label",
|
|
87779
|
+
"type": {
|
|
87780
|
+
"text": "string"
|
|
87781
|
+
},
|
|
87782
|
+
"default": "'Show fewer'",
|
|
87783
|
+
"description": "What the control is called once everything is showing.",
|
|
87784
|
+
"fieldName": "collapseLabel",
|
|
87785
|
+
"inheritedFrom": {
|
|
87786
|
+
"name": "MixinTokens",
|
|
87787
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
87788
|
+
}
|
|
87789
|
+
},
|
|
87790
|
+
{
|
|
87791
|
+
"name": "expandable",
|
|
87792
|
+
"type": {
|
|
87793
|
+
"text": "boolean"
|
|
87794
|
+
},
|
|
87795
|
+
"default": "false",
|
|
87796
|
+
"description": "Whether the count is a control that shows the rest.",
|
|
87797
|
+
"fieldName": "expandable",
|
|
87798
|
+
"inheritedFrom": {
|
|
87799
|
+
"name": "MixinTokens",
|
|
87800
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
87801
|
+
}
|
|
87802
|
+
},
|
|
87803
|
+
{
|
|
87804
|
+
"name": "expand-label",
|
|
87805
|
+
"type": {
|
|
87806
|
+
"text": "string"
|
|
87807
|
+
},
|
|
87808
|
+
"default": "'Show all'",
|
|
87809
|
+
"description": "What the collapsed count is called, since `+3` names nothing.",
|
|
87810
|
+
"fieldName": "expandLabel",
|
|
87811
|
+
"inheritedFrom": {
|
|
87812
|
+
"name": "MixinTokens",
|
|
87813
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
87814
|
+
}
|
|
87815
|
+
},
|
|
87816
|
+
{
|
|
87817
|
+
"name": "max-tags",
|
|
87818
|
+
"type": {
|
|
87819
|
+
"text": "number"
|
|
87820
|
+
},
|
|
87821
|
+
"default": "0",
|
|
87822
|
+
"description": "How many tokens to show before the rest become a count.",
|
|
87823
|
+
"fieldName": "maxTags",
|
|
87824
|
+
"inheritedFrom": {
|
|
87825
|
+
"name": "MixinTokens",
|
|
87826
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
87827
|
+
}
|
|
87828
|
+
},
|
|
87336
87829
|
{
|
|
87337
87830
|
"name": "default-value",
|
|
87338
87831
|
"type": {
|
|
@@ -87449,19 +87942,6 @@
|
|
|
87449
87942
|
"module": "src/time-input/root/time-input-root.ts"
|
|
87450
87943
|
}
|
|
87451
87944
|
},
|
|
87452
|
-
{
|
|
87453
|
-
"name": "max-tags",
|
|
87454
|
-
"type": {
|
|
87455
|
-
"text": "number"
|
|
87456
|
-
},
|
|
87457
|
-
"default": "0",
|
|
87458
|
-
"description": "How many times are shown as tags before the rest are counted, in `multiple`.\n\n`0` is all of them, and is the default, for the reason Date Input gives: how\nmany fit depends on the width of the field and the length of what is in it,\nand this element knows neither.",
|
|
87459
|
-
"fieldName": "maxTags",
|
|
87460
|
-
"inheritedFrom": {
|
|
87461
|
-
"name": "HelixHeadlessTimeInput",
|
|
87462
|
-
"module": "src/time-input/root/time-input-root.ts"
|
|
87463
|
-
}
|
|
87464
|
-
},
|
|
87465
87945
|
{
|
|
87466
87946
|
"name": "min",
|
|
87467
87947
|
"type": {
|
|
@@ -87965,7 +88445,7 @@
|
|
|
87965
88445
|
}
|
|
87966
88446
|
},
|
|
87967
88447
|
{
|
|
87968
|
-
"description": "How many times are held beyond the ones shown.",
|
|
88448
|
+
"description": "How many times are held beyond the ones shown. A `<button>` with `expandable`, a `<span>` without it.",
|
|
87969
88449
|
"name": "rest",
|
|
87970
88450
|
"inheritedFrom": {
|
|
87971
88451
|
"name": "HelixHeadlessTimeInput",
|
|
@@ -87980,6 +88460,14 @@
|
|
|
87980
88460
|
"module": "src/time-input/root/time-input-root.ts"
|
|
87981
88461
|
}
|
|
87982
88462
|
},
|
|
88463
|
+
{
|
|
88464
|
+
"description": "The row the times sit in.",
|
|
88465
|
+
"name": "tags",
|
|
88466
|
+
"inheritedFrom": {
|
|
88467
|
+
"name": "HelixHeadlessTimeInput",
|
|
88468
|
+
"module": "src/time-input/root/time-input-root.ts"
|
|
88469
|
+
}
|
|
88470
|
+
},
|
|
87983
88471
|
{
|
|
87984
88472
|
"description": "One held time, as a tag, in `multiple`.",
|
|
87985
88473
|
"name": "time",
|
|
@@ -16,6 +16,11 @@ font-size: var(--helix-text-sm);
|
|
|
16
16
|
|
|
17
17
|
font-weight: var(--helix-weight-medium);
|
|
18
18
|
inline-size: 100%;
|
|
19
|
+
|
|
20
|
+
min-block-size: var(
|
|
21
|
+
--announcement-block-size,
|
|
22
|
+
calc(var(--helix-size-control) + var(--helix-space-xs) * 2)
|
|
23
|
+
);
|
|
19
24
|
padding-block: var(--helix-space-xs);
|
|
20
25
|
padding-inline: var(--announcement-inset, var(--helix-space-lg));
|
|
21
26
|
|
|
@@ -14,6 +14,7 @@ import type { CSSResultGroup } from 'lit';
|
|
|
14
14
|
* @aliases Banner, Notification bar, Alert bar
|
|
15
15
|
* @documentation https://helix.fusion.dev/components/announcement
|
|
16
16
|
*
|
|
17
|
+
* @cssproperty --announcement-block-size - How tall the band is at its shortest, so adding a control to it does not move the page down. A floor, not a cap: a message long enough to wrap still gets the room.
|
|
17
18
|
* @cssproperty --announcement-inset - Inline padding, matched to the page.
|
|
18
19
|
*/
|
|
19
20
|
export declare class HelixAnnouncement extends HelixHeadlessAnnouncement {
|
|
@@ -144,17 +144,6 @@ flex-basis: 0;
|
|
|
144
144
|
min-inline-size: var(--helix-size-icon-loose);
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
[part="rest"] {
|
|
148
|
-
color: var(--helix-color-foreground-subtle);
|
|
149
|
-
flex: none;
|
|
150
|
-
align-self: center;
|
|
151
|
-
|
|
152
|
-
font-family: var(--helix-font-sans);
|
|
153
|
-
font-size: var(--helix-text-xs);
|
|
154
|
-
font-weight: var(--helix-weight-medium);
|
|
155
|
-
white-space: nowrap;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
147
|
:host(:state(invalid)) [part="field"],
|
|
159
148
|
:host(:state(invalid)) [part="field"]:hover,
|
|
160
149
|
:host(:state(invalid):focus-within) [part="field"],
|
|
@@ -10,10 +10,11 @@ import '../../date-picker/index.js';
|
|
|
10
10
|
import '../../tag/index.js';
|
|
11
11
|
import { styles as fieldStyles } from '../../shared/field/field.css.js';
|
|
12
12
|
import { styles as fieldStackedStyles } from '../../shared/field/field-stacked.css.js';
|
|
13
|
+
import { styles as tagRowStyles } from '../../shared/tags/tags.css.js';
|
|
13
14
|
import { styles } from './date-input-root.css.js';
|
|
14
15
|
let HelixDateInput = class HelixDateInput extends HelixHeadlessDateInput {
|
|
15
16
|
static { this.tier = 'helix-'; }
|
|
16
|
-
static { this.styles = [fieldStyles, fieldStackedStyles, styles]; }
|
|
17
|
+
static { this.styles = [fieldStyles, fieldStackedStyles, tagRowStyles, styles]; }
|
|
17
18
|
};
|
|
18
19
|
HelixDateInput = __decorate([
|
|
19
20
|
customElement('helix-date-input')
|
|
@@ -156,17 +156,6 @@ flex-basis: 0;
|
|
|
156
156
|
min-inline-size: var(--helix-size-icon-loose);
|
|
157
157
|
}
|
|
158
158
|
|
|
159
|
-
[part="rest"] {
|
|
160
|
-
color: var(--helix-color-foreground-subtle);
|
|
161
|
-
flex: none;
|
|
162
|
-
align-self: center;
|
|
163
|
-
|
|
164
|
-
font-family: var(--helix-font-sans);
|
|
165
|
-
font-size: var(--helix-text-xs);
|
|
166
|
-
font-weight: var(--helix-weight-medium);
|
|
167
|
-
white-space: nowrap;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
159
|
:host(:state(invalid)) [part="field"],
|
|
171
160
|
:host(:state(invalid)) [part="field"]:hover,
|
|
172
161
|
:host(:state(invalid):focus-within) [part="field"],
|
|
@@ -11,10 +11,11 @@ import '../../tag/index.js';
|
|
|
11
11
|
import '../../time-picker/index.js';
|
|
12
12
|
import { styles as fieldStyles } from '../../shared/field/field.css.js';
|
|
13
13
|
import { styles as fieldStackedStyles } from '../../shared/field/field-stacked.css.js';
|
|
14
|
+
import { styles as tagRowStyles } from '../../shared/tags/tags.css.js';
|
|
14
15
|
import { styles } from './time-input-root.css.js';
|
|
15
16
|
let HelixTimeInput = class HelixTimeInput extends HelixHeadlessTimeInput {
|
|
16
17
|
static { this.tier = 'helix-'; }
|
|
17
|
-
static { this.styles = [fieldStyles, fieldStackedStyles, styles]; }
|
|
18
|
+
static { this.styles = [fieldStyles, fieldStackedStyles, tagRowStyles, styles]; }
|
|
18
19
|
};
|
|
19
20
|
HelixTimeInput = __decorate([
|
|
20
21
|
customElement('helix-time-input')
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fusion.dev/helix",
|
|
3
3
|
"description": "Styled component tier. Extends the headless tier with token-driven presentation.",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.20.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Ross Sheppard <ross.sheppard@fusion.dev>",
|
|
7
7
|
"repository": {
|
|
@@ -46,14 +46,14 @@
|
|
|
46
46
|
},
|
|
47
47
|
"bugs": "https://github.com/project-fusion/fusion/issues",
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@fusion.dev/helix-core": "0.
|
|
50
|
-
"@fusion.dev/helix-headless": "0.
|
|
51
|
-
"@fusion.dev/helix-styles": "0.
|
|
49
|
+
"@fusion.dev/helix-core": "0.20.0",
|
|
50
|
+
"@fusion.dev/helix-headless": "0.20.0",
|
|
51
|
+
"@fusion.dev/helix-styles": "0.20.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@custom-elements-manifest/analyzer": "^0.11.0",
|
|
55
|
-
"@fusion.dev/helix-cem": "0.
|
|
56
|
-
"@fusion.dev/helix-testing": "0.
|
|
55
|
+
"@fusion.dev/helix-cem": "0.20.0",
|
|
56
|
+
"@fusion.dev/helix-testing": "0.20.0",
|
|
57
57
|
"@fusion.dev/scripts": "0.0.0-dev",
|
|
58
58
|
"@happy-dom/global-registrator": "^20.0.0",
|
|
59
59
|
"@lit-labs/ssr": "^3.3.0",
|
package/types/jsx.d.ts
CHANGED
|
@@ -5227,6 +5227,20 @@ the resolved state for stylesheets, which is what the mirror is for. */
|
|
|
5227
5227
|
"default-open"?: (HelixDateInput["defaultOpen"]) | undefined;
|
|
5228
5228
|
/** Initial open state for uncontrolled use, where nothing declared one. */
|
|
5229
5229
|
defaultOpen?: (HelixDateInput["defaultOpen"]) | undefined;
|
|
5230
|
+
/** What the control is called once everything is showing. */
|
|
5231
|
+
"collapse-label"?: (HelixDateInput["collapseLabel"]) | undefined;
|
|
5232
|
+
/** What the control is called once everything is showing. */
|
|
5233
|
+
collapseLabel?: (HelixDateInput["collapseLabel"]) | undefined;
|
|
5234
|
+
/** Whether the count is a control that shows the rest. */
|
|
5235
|
+
expandable?: (HelixDateInput["expandable"]) | undefined;
|
|
5236
|
+
/** What the collapsed count is called, since `+3` names nothing. */
|
|
5237
|
+
"expand-label"?: (HelixDateInput["expandLabel"]) | undefined;
|
|
5238
|
+
/** What the collapsed count is called, since `+3` names nothing. */
|
|
5239
|
+
expandLabel?: (HelixDateInput["expandLabel"]) | undefined;
|
|
5240
|
+
/** How many tokens to show before the rest become a count. */
|
|
5241
|
+
"max-tags"?: (HelixDateInput["maxTags"]) | undefined;
|
|
5242
|
+
/** How many tokens to show before the rest become a count. */
|
|
5243
|
+
maxTags?: (HelixDateInput["maxTags"]) | undefined;
|
|
5230
5244
|
/** The value the markup declared, which is where a reset returns to. */
|
|
5231
5245
|
"default-value"?: (HelixDateInput["defaultValue"]) | undefined;
|
|
5232
5246
|
/** The value the markup declared, which is where a reset returns to. */
|
|
@@ -5314,30 +5328,6 @@ submits and what `min` and `max` compare against. */
|
|
|
5314
5328
|
locale?: (HelixDateInput["locale"]) | undefined;
|
|
5315
5329
|
/** Latest date that can be chosen, as `YYYY-MM-DD`. */
|
|
5316
5330
|
max?: (HelixDateInput["max"]) | undefined;
|
|
5317
|
-
/** How many dates are shown as tags before the rest are counted, in `multiple`.
|
|
5318
|
-
|
|
5319
|
-
`0` is all of them, and is the default: a cap that guesses is worse than no
|
|
5320
|
-
cap, because the number that fits depends on the width of the field and the
|
|
5321
|
-
length of what is in it, neither of which this element knows. What a cap is
|
|
5322
|
-
genuinely for is a field in a row or a table cell, where a set of twelve
|
|
5323
|
-
dates would push everything below it down a line at a time.
|
|
5324
|
-
|
|
5325
|
-
The remainder is counted rather than hidden. `+3` is a fact a reader can
|
|
5326
|
-
act on, where a row that silently stops is a field that appears to have lost
|
|
5327
|
-
what was put in it, and the count is what tells them there is more to see. */
|
|
5328
|
-
"max-tags"?: (HelixDateInput["maxTags"]) | undefined;
|
|
5329
|
-
/** How many dates are shown as tags before the rest are counted, in `multiple`.
|
|
5330
|
-
|
|
5331
|
-
`0` is all of them, and is the default: a cap that guesses is worse than no
|
|
5332
|
-
cap, because the number that fits depends on the width of the field and the
|
|
5333
|
-
length of what is in it, neither of which this element knows. What a cap is
|
|
5334
|
-
genuinely for is a field in a row or a table cell, where a set of twelve
|
|
5335
|
-
dates would push everything below it down a line at a time.
|
|
5336
|
-
|
|
5337
|
-
The remainder is counted rather than hidden. `+3` is a fact a reader can
|
|
5338
|
-
act on, where a row that silently stops is a field that appears to have lost
|
|
5339
|
-
what was put in it, and the count is what tells them there is more to see. */
|
|
5340
|
-
maxTags?: (HelixDateInput["maxTags"]) | undefined;
|
|
5341
5331
|
/** Earliest date that can be chosen, as `YYYY-MM-DD`. */
|
|
5342
5332
|
min?: (HelixDateInput["min"]) | undefined;
|
|
5343
5333
|
/** How many dates can be held at once.
|
|
@@ -5468,6 +5458,20 @@ the resolved state for stylesheets, which is what the mirror is for. */
|
|
|
5468
5458
|
"bool:default-open"?: (HelixDateInput["defaultOpen"]) | undefined;
|
|
5469
5459
|
/** Initial open state for uncontrolled use, where nothing declared one. */
|
|
5470
5460
|
"prop:defaultOpen"?: (HelixDateInput["defaultOpen"]) | undefined;
|
|
5461
|
+
/** What the control is called once everything is showing. */
|
|
5462
|
+
"attr:collapse-label"?: (HelixDateInput["collapseLabel"]) | undefined;
|
|
5463
|
+
/** What the control is called once everything is showing. */
|
|
5464
|
+
"prop:collapseLabel"?: (HelixDateInput["collapseLabel"]) | undefined;
|
|
5465
|
+
/** Whether the count is a control that shows the rest. */
|
|
5466
|
+
"prop:expandable"?: (HelixDateInput["expandable"]) | undefined;
|
|
5467
|
+
/** What the collapsed count is called, since `+3` names nothing. */
|
|
5468
|
+
"attr:expand-label"?: (HelixDateInput["expandLabel"]) | undefined;
|
|
5469
|
+
/** What the collapsed count is called, since `+3` names nothing. */
|
|
5470
|
+
"prop:expandLabel"?: (HelixDateInput["expandLabel"]) | undefined;
|
|
5471
|
+
/** How many tokens to show before the rest become a count. */
|
|
5472
|
+
"attr:max-tags"?: (HelixDateInput["maxTags"]) | undefined;
|
|
5473
|
+
/** How many tokens to show before the rest become a count. */
|
|
5474
|
+
"prop:maxTags"?: (HelixDateInput["maxTags"]) | undefined;
|
|
5471
5475
|
/** The value the markup declared, which is where a reset returns to. */
|
|
5472
5476
|
"attr:default-value"?: (HelixDateInput["defaultValue"]) | undefined;
|
|
5473
5477
|
/** The value the markup declared, which is where a reset returns to. */
|
|
@@ -5555,30 +5559,6 @@ submits and what `min` and `max` compare against. */
|
|
|
5555
5559
|
"prop:locale"?: (HelixDateInput["locale"]) | undefined;
|
|
5556
5560
|
/** Latest date that can be chosen, as `YYYY-MM-DD`. */
|
|
5557
5561
|
"prop:max"?: (HelixDateInput["max"]) | undefined;
|
|
5558
|
-
/** How many dates are shown as tags before the rest are counted, in `multiple`.
|
|
5559
|
-
|
|
5560
|
-
`0` is all of them, and is the default: a cap that guesses is worse than no
|
|
5561
|
-
cap, because the number that fits depends on the width of the field and the
|
|
5562
|
-
length of what is in it, neither of which this element knows. What a cap is
|
|
5563
|
-
genuinely for is a field in a row or a table cell, where a set of twelve
|
|
5564
|
-
dates would push everything below it down a line at a time.
|
|
5565
|
-
|
|
5566
|
-
The remainder is counted rather than hidden. `+3` is a fact a reader can
|
|
5567
|
-
act on, where a row that silently stops is a field that appears to have lost
|
|
5568
|
-
what was put in it, and the count is what tells them there is more to see. */
|
|
5569
|
-
"attr:max-tags"?: (HelixDateInput["maxTags"]) | undefined;
|
|
5570
|
-
/** How many dates are shown as tags before the rest are counted, in `multiple`.
|
|
5571
|
-
|
|
5572
|
-
`0` is all of them, and is the default: a cap that guesses is worse than no
|
|
5573
|
-
cap, because the number that fits depends on the width of the field and the
|
|
5574
|
-
length of what is in it, neither of which this element knows. What a cap is
|
|
5575
|
-
genuinely for is a field in a row or a table cell, where a set of twelve
|
|
5576
|
-
dates would push everything below it down a line at a time.
|
|
5577
|
-
|
|
5578
|
-
The remainder is counted rather than hidden. `+3` is a fact a reader can
|
|
5579
|
-
act on, where a row that silently stops is a field that appears to have lost
|
|
5580
|
-
what was put in it, and the count is what tells them there is more to see. */
|
|
5581
|
-
"prop:maxTags"?: (HelixDateInput["maxTags"]) | undefined;
|
|
5582
5562
|
/** Earliest date that can be chosen, as `YYYY-MM-DD`. */
|
|
5583
5563
|
"prop:min"?: (HelixDateInput["min"]) | undefined;
|
|
5584
5564
|
/** How many dates can be held at once.
|
|
@@ -15463,6 +15443,20 @@ the resolved state for stylesheets, which is what the mirror is for. */
|
|
|
15463
15443
|
"default-open"?: (HelixTimeInput["defaultOpen"]) | undefined;
|
|
15464
15444
|
/** Initial open state for uncontrolled use, where nothing declared one. */
|
|
15465
15445
|
defaultOpen?: (HelixTimeInput["defaultOpen"]) | undefined;
|
|
15446
|
+
/** What the control is called once everything is showing. */
|
|
15447
|
+
"collapse-label"?: (HelixTimeInput["collapseLabel"]) | undefined;
|
|
15448
|
+
/** What the control is called once everything is showing. */
|
|
15449
|
+
collapseLabel?: (HelixTimeInput["collapseLabel"]) | undefined;
|
|
15450
|
+
/** Whether the count is a control that shows the rest. */
|
|
15451
|
+
expandable?: (HelixTimeInput["expandable"]) | undefined;
|
|
15452
|
+
/** What the collapsed count is called, since `+3` names nothing. */
|
|
15453
|
+
"expand-label"?: (HelixTimeInput["expandLabel"]) | undefined;
|
|
15454
|
+
/** What the collapsed count is called, since `+3` names nothing. */
|
|
15455
|
+
expandLabel?: (HelixTimeInput["expandLabel"]) | undefined;
|
|
15456
|
+
/** How many tokens to show before the rest become a count. */
|
|
15457
|
+
"max-tags"?: (HelixTimeInput["maxTags"]) | undefined;
|
|
15458
|
+
/** How many tokens to show before the rest become a count. */
|
|
15459
|
+
maxTags?: (HelixTimeInput["maxTags"]) | undefined;
|
|
15466
15460
|
/** The value the markup declared, which is where a reset returns to. */
|
|
15467
15461
|
"default-value"?: (HelixTimeInput["defaultValue"]) | undefined;
|
|
15468
15462
|
/** The value the markup declared, which is where a reset returns to. */
|
|
@@ -15493,18 +15487,6 @@ Absent uses the runtime's own. */
|
|
|
15493
15487
|
locale?: (HelixTimeInput["locale"]) | undefined;
|
|
15494
15488
|
/** Latest time that can be chosen, as `HH:mm`. */
|
|
15495
15489
|
max?: (HelixTimeInput["max"]) | undefined;
|
|
15496
|
-
/** How many times are shown as tags before the rest are counted, in `multiple`.
|
|
15497
|
-
|
|
15498
|
-
`0` is all of them, and is the default, for the reason Date Input gives: how
|
|
15499
|
-
many fit depends on the width of the field and the length of what is in it,
|
|
15500
|
-
and this element knows neither. */
|
|
15501
|
-
"max-tags"?: (HelixTimeInput["maxTags"]) | undefined;
|
|
15502
|
-
/** How many times are shown as tags before the rest are counted, in `multiple`.
|
|
15503
|
-
|
|
15504
|
-
`0` is all of them, and is the default, for the reason Date Input gives: how
|
|
15505
|
-
many fit depends on the width of the field and the length of what is in it,
|
|
15506
|
-
and this element knows neither. */
|
|
15507
|
-
maxTags?: (HelixTimeInput["maxTags"]) | undefined;
|
|
15508
15490
|
/** Earliest time that can be chosen, as `HH:mm`. */
|
|
15509
15491
|
min?: (HelixTimeInput["min"]) | undefined;
|
|
15510
15492
|
/** How many times can be held at once.
|
|
@@ -15649,6 +15631,20 @@ the resolved state for stylesheets, which is what the mirror is for. */
|
|
|
15649
15631
|
"bool:default-open"?: (HelixTimeInput["defaultOpen"]) | undefined;
|
|
15650
15632
|
/** Initial open state for uncontrolled use, where nothing declared one. */
|
|
15651
15633
|
"prop:defaultOpen"?: (HelixTimeInput["defaultOpen"]) | undefined;
|
|
15634
|
+
/** What the control is called once everything is showing. */
|
|
15635
|
+
"attr:collapse-label"?: (HelixTimeInput["collapseLabel"]) | undefined;
|
|
15636
|
+
/** What the control is called once everything is showing. */
|
|
15637
|
+
"prop:collapseLabel"?: (HelixTimeInput["collapseLabel"]) | undefined;
|
|
15638
|
+
/** Whether the count is a control that shows the rest. */
|
|
15639
|
+
"prop:expandable"?: (HelixTimeInput["expandable"]) | undefined;
|
|
15640
|
+
/** What the collapsed count is called, since `+3` names nothing. */
|
|
15641
|
+
"attr:expand-label"?: (HelixTimeInput["expandLabel"]) | undefined;
|
|
15642
|
+
/** What the collapsed count is called, since `+3` names nothing. */
|
|
15643
|
+
"prop:expandLabel"?: (HelixTimeInput["expandLabel"]) | undefined;
|
|
15644
|
+
/** How many tokens to show before the rest become a count. */
|
|
15645
|
+
"attr:max-tags"?: (HelixTimeInput["maxTags"]) | undefined;
|
|
15646
|
+
/** How many tokens to show before the rest become a count. */
|
|
15647
|
+
"prop:maxTags"?: (HelixTimeInput["maxTags"]) | undefined;
|
|
15652
15648
|
/** The value the markup declared, which is where a reset returns to. */
|
|
15653
15649
|
"attr:default-value"?: (HelixTimeInput["defaultValue"]) | undefined;
|
|
15654
15650
|
/** The value the markup declared, which is where a reset returns to. */
|
|
@@ -15679,18 +15675,6 @@ Absent uses the runtime's own. */
|
|
|
15679
15675
|
"prop:locale"?: (HelixTimeInput["locale"]) | undefined;
|
|
15680
15676
|
/** Latest time that can be chosen, as `HH:mm`. */
|
|
15681
15677
|
"prop:max"?: (HelixTimeInput["max"]) | undefined;
|
|
15682
|
-
/** How many times are shown as tags before the rest are counted, in `multiple`.
|
|
15683
|
-
|
|
15684
|
-
`0` is all of them, and is the default, for the reason Date Input gives: how
|
|
15685
|
-
many fit depends on the width of the field and the length of what is in it,
|
|
15686
|
-
and this element knows neither. */
|
|
15687
|
-
"attr:max-tags"?: (HelixTimeInput["maxTags"]) | undefined;
|
|
15688
|
-
/** How many times are shown as tags before the rest are counted, in `multiple`.
|
|
15689
|
-
|
|
15690
|
-
`0` is all of them, and is the default, for the reason Date Input gives: how
|
|
15691
|
-
many fit depends on the width of the field and the length of what is in it,
|
|
15692
|
-
and this element knows neither. */
|
|
15693
|
-
"prop:maxTags"?: (HelixTimeInput["maxTags"]) | undefined;
|
|
15694
15678
|
/** Earliest time that can be chosen, as `HH:mm`. */
|
|
15695
15679
|
"prop:min"?: (HelixTimeInput["min"]) | undefined;
|
|
15696
15680
|
/** How many times can be held at once.
|
|
@@ -18559,6 +18543,7 @@ export type CustomElements = {
|
|
|
18559
18543
|
*
|
|
18560
18544
|
* CSS variables available for styling the component.
|
|
18561
18545
|
*
|
|
18546
|
+
* - `--announcement-block-size`: How tall the band is at its shortest, so adding a control to it does not move the page down. A floor, not a cap: a message long enough to wrap still gets the room. (default: `undefined`)
|
|
18562
18547
|
* - `--announcement-inset`: Inline padding, matched to the page. (default: `undefined`)
|
|
18563
18548
|
*
|
|
18564
18549
|
* ## CSS Parts
|
|
@@ -22384,6 +22369,10 @@ export type CustomElements = {
|
|
|
22384
22369
|
* last reader did rather than what the author wrote. `:state(open)` carries
|
|
22385
22370
|
* the resolved state for stylesheets, which is what the mirror is for.
|
|
22386
22371
|
* - `default-open`/`defaultOpen`: Initial open state for uncontrolled use, where nothing declared one.
|
|
22372
|
+
* - `collapse-label`/`collapseLabel`: What the control is called once everything is showing.
|
|
22373
|
+
* - `expandable`: Whether the count is a control that shows the rest.
|
|
22374
|
+
* - `expand-label`/`expandLabel`: What the collapsed count is called, since `+3` names nothing.
|
|
22375
|
+
* - `max-tags`/`maxTags`: How many tokens to show before the rest become a count.
|
|
22387
22376
|
* - `default-value`/`defaultValue`: The value the markup declared, which is where a reset returns to.
|
|
22388
22377
|
* - `value`: What the control holds now, and what its form submits.
|
|
22389
22378
|
*
|
|
@@ -22427,17 +22416,6 @@ export type CustomElements = {
|
|
|
22427
22416
|
* - `first-day-of-week`/`firstDayOfWeek`: First column of the week in the calendar, `0` for Sunday through `6`.
|
|
22428
22417
|
* - `locale`: Language tag the calendar names its months and days in.
|
|
22429
22418
|
* - `max`: Latest date that can be chosen, as `YYYY-MM-DD`.
|
|
22430
|
-
* - `max-tags`/`maxTags`: How many dates are shown as tags before the rest are counted, in `multiple`.
|
|
22431
|
-
*
|
|
22432
|
-
* `0` is all of them, and is the default: a cap that guesses is worse than no
|
|
22433
|
-
* cap, because the number that fits depends on the width of the field and the
|
|
22434
|
-
* length of what is in it, neither of which this element knows. What a cap is
|
|
22435
|
-
* genuinely for is a field in a row or a table cell, where a set of twelve
|
|
22436
|
-
* dates would push everything below it down a line at a time.
|
|
22437
|
-
*
|
|
22438
|
-
* The remainder is counted rather than hidden. `+3` is a fact a reader can
|
|
22439
|
-
* act on, where a row that silently stops is a field that appears to have lost
|
|
22440
|
-
* what was put in it, and the count is what tells them there is more to see.
|
|
22441
22419
|
* - `min`: Earliest date that can be chosen, as `YYYY-MM-DD`.
|
|
22442
22420
|
* - `mode`: How many dates can be held at once.
|
|
22443
22421
|
*
|
|
@@ -22644,8 +22622,9 @@ export type CustomElements = {
|
|
|
22644
22622
|
* - `picker-previous-mark`: The glyph on the previous month control.
|
|
22645
22623
|
* - `picker-week`: One row of days.
|
|
22646
22624
|
* - `picker-weekday`: A column header naming a day of the week.
|
|
22647
|
-
* - `rest`: How many dates are held beyond the ones shown.
|
|
22625
|
+
* - `rest`: How many dates are held beyond the ones shown. A `<button>` with `expandable`, a `<span>` without it.
|
|
22648
22626
|
* - `surface`: The floating panel.
|
|
22627
|
+
* - `tags`: The row the dates sit in.
|
|
22649
22628
|
* - `trigger`: The control that opens the calendar.
|
|
22650
22629
|
* - `trigger-icon`: The mark on the button that opens the calendar.
|
|
22651
22630
|
*/
|
|
@@ -31783,6 +31762,10 @@ export type CustomElements = {
|
|
|
31783
31762
|
* last reader did rather than what the author wrote. `:state(open)` carries
|
|
31784
31763
|
* the resolved state for stylesheets, which is what the mirror is for.
|
|
31785
31764
|
* - `default-open`/`defaultOpen`: Initial open state for uncontrolled use, where nothing declared one.
|
|
31765
|
+
* - `collapse-label`/`collapseLabel`: What the control is called once everything is showing.
|
|
31766
|
+
* - `expandable`: Whether the count is a control that shows the rest.
|
|
31767
|
+
* - `expand-label`/`expandLabel`: What the collapsed count is called, since `+3` names nothing.
|
|
31768
|
+
* - `max-tags`/`maxTags`: How many tokens to show before the rest become a count.
|
|
31786
31769
|
* - `default-value`/`defaultValue`: The value the markup declared, which is where a reset returns to.
|
|
31787
31770
|
* - `value`: What the control holds now, and what its form submits.
|
|
31788
31771
|
*
|
|
@@ -31802,11 +31785,6 @@ export type CustomElements = {
|
|
|
31802
31785
|
*
|
|
31803
31786
|
* Absent uses the runtime's own.
|
|
31804
31787
|
* - `max`: Latest time that can be chosen, as `HH:mm`.
|
|
31805
|
-
* - `max-tags`/`maxTags`: How many times are shown as tags before the rest are counted, in `multiple`.
|
|
31806
|
-
*
|
|
31807
|
-
* `0` is all of them, and is the default, for the reason Date Input gives: how
|
|
31808
|
-
* many fit depends on the width of the field and the length of what is in it,
|
|
31809
|
-
* and this element knows neither.
|
|
31810
31788
|
* - `min`: Earliest time that can be chosen, as `HH:mm`.
|
|
31811
31789
|
* - `mode`: How many times can be held at once.
|
|
31812
31790
|
*
|
|
@@ -32030,8 +32008,9 @@ export type CustomElements = {
|
|
|
32030
32008
|
* - `picker-option-item`: The row.
|
|
32031
32009
|
* - `picker-option-label`: The words.
|
|
32032
32010
|
* - `picker-option-text`: The words and the caption, as one column.
|
|
32033
|
-
* - `rest`: How many times are held beyond the ones shown.
|
|
32011
|
+
* - `rest`: How many times are held beyond the ones shown. A `<button>` with `expandable`, a `<span>` without it.
|
|
32034
32012
|
* - `surface`: The floating panel.
|
|
32013
|
+
* - `tags`: The row the times sit in.
|
|
32035
32014
|
* - `time`: One held time, as a tag, in `multiple`.
|
|
32036
32015
|
* - `time-dismiss`: The remove button, when `dismissible`.
|
|
32037
32016
|
* - `time-dismiss-mark`: The glyph on the dismiss control, where none is slotted.
|
|
@@ -34513,6 +34492,7 @@ export type CustomElementsSolidJs = {
|
|
|
34513
34492
|
*
|
|
34514
34493
|
* CSS variables available for styling the component.
|
|
34515
34494
|
*
|
|
34495
|
+
* - `--announcement-block-size`: How tall the band is at its shortest, so adding a control to it does not move the page down. A floor, not a cap: a message long enough to wrap still gets the room. (default: `undefined`)
|
|
34516
34496
|
* - `--announcement-inset`: Inline padding, matched to the page. (default: `undefined`)
|
|
34517
34497
|
*
|
|
34518
34498
|
* ## CSS Parts
|
|
@@ -38420,6 +38400,10 @@ export type CustomElementsSolidJs = {
|
|
|
38420
38400
|
* last reader did rather than what the author wrote. `:state(open)` carries
|
|
38421
38401
|
* the resolved state for stylesheets, which is what the mirror is for.
|
|
38422
38402
|
* - `default-open`/`defaultOpen`: Initial open state for uncontrolled use, where nothing declared one.
|
|
38403
|
+
* - `collapse-label`/`collapseLabel`: What the control is called once everything is showing.
|
|
38404
|
+
* - `expandable`: Whether the count is a control that shows the rest.
|
|
38405
|
+
* - `expand-label`/`expandLabel`: What the collapsed count is called, since `+3` names nothing.
|
|
38406
|
+
* - `max-tags`/`maxTags`: How many tokens to show before the rest become a count.
|
|
38423
38407
|
* - `default-value`/`defaultValue`: The value the markup declared, which is where a reset returns to.
|
|
38424
38408
|
* - `value`: What the control holds now, and what its form submits.
|
|
38425
38409
|
*
|
|
@@ -38463,17 +38447,6 @@ export type CustomElementsSolidJs = {
|
|
|
38463
38447
|
* - `first-day-of-week`/`firstDayOfWeek`: First column of the week in the calendar, `0` for Sunday through `6`.
|
|
38464
38448
|
* - `locale`: Language tag the calendar names its months and days in.
|
|
38465
38449
|
* - `max`: Latest date that can be chosen, as `YYYY-MM-DD`.
|
|
38466
|
-
* - `max-tags`/`maxTags`: How many dates are shown as tags before the rest are counted, in `multiple`.
|
|
38467
|
-
*
|
|
38468
|
-
* `0` is all of them, and is the default: a cap that guesses is worse than no
|
|
38469
|
-
* cap, because the number that fits depends on the width of the field and the
|
|
38470
|
-
* length of what is in it, neither of which this element knows. What a cap is
|
|
38471
|
-
* genuinely for is a field in a row or a table cell, where a set of twelve
|
|
38472
|
-
* dates would push everything below it down a line at a time.
|
|
38473
|
-
*
|
|
38474
|
-
* The remainder is counted rather than hidden. `+3` is a fact a reader can
|
|
38475
|
-
* act on, where a row that silently stops is a field that appears to have lost
|
|
38476
|
-
* what was put in it, and the count is what tells them there is more to see.
|
|
38477
38450
|
* - `min`: Earliest date that can be chosen, as `YYYY-MM-DD`.
|
|
38478
38451
|
* - `mode`: How many dates can be held at once.
|
|
38479
38452
|
*
|
|
@@ -38680,8 +38653,9 @@ export type CustomElementsSolidJs = {
|
|
|
38680
38653
|
* - `picker-previous-mark`: The glyph on the previous month control.
|
|
38681
38654
|
* - `picker-week`: One row of days.
|
|
38682
38655
|
* - `picker-weekday`: A column header naming a day of the week.
|
|
38683
|
-
* - `rest`: How many dates are held beyond the ones shown.
|
|
38656
|
+
* - `rest`: How many dates are held beyond the ones shown. A `<button>` with `expandable`, a `<span>` without it.
|
|
38684
38657
|
* - `surface`: The floating panel.
|
|
38658
|
+
* - `tags`: The row the dates sit in.
|
|
38685
38659
|
* - `trigger`: The control that opens the calendar.
|
|
38686
38660
|
* - `trigger-icon`: The mark on the button that opens the calendar.
|
|
38687
38661
|
*/
|
|
@@ -48056,6 +48030,10 @@ export type CustomElementsSolidJs = {
|
|
|
48056
48030
|
* last reader did rather than what the author wrote. `:state(open)` carries
|
|
48057
48031
|
* the resolved state for stylesheets, which is what the mirror is for.
|
|
48058
48032
|
* - `default-open`/`defaultOpen`: Initial open state for uncontrolled use, where nothing declared one.
|
|
48033
|
+
* - `collapse-label`/`collapseLabel`: What the control is called once everything is showing.
|
|
48034
|
+
* - `expandable`: Whether the count is a control that shows the rest.
|
|
48035
|
+
* - `expand-label`/`expandLabel`: What the collapsed count is called, since `+3` names nothing.
|
|
48036
|
+
* - `max-tags`/`maxTags`: How many tokens to show before the rest become a count.
|
|
48059
48037
|
* - `default-value`/`defaultValue`: The value the markup declared, which is where a reset returns to.
|
|
48060
48038
|
* - `value`: What the control holds now, and what its form submits.
|
|
48061
48039
|
*
|
|
@@ -48075,11 +48053,6 @@ export type CustomElementsSolidJs = {
|
|
|
48075
48053
|
*
|
|
48076
48054
|
* Absent uses the runtime's own.
|
|
48077
48055
|
* - `max`: Latest time that can be chosen, as `HH:mm`.
|
|
48078
|
-
* - `max-tags`/`maxTags`: How many times are shown as tags before the rest are counted, in `multiple`.
|
|
48079
|
-
*
|
|
48080
|
-
* `0` is all of them, and is the default, for the reason Date Input gives: how
|
|
48081
|
-
* many fit depends on the width of the field and the length of what is in it,
|
|
48082
|
-
* and this element knows neither.
|
|
48083
48056
|
* - `min`: Earliest time that can be chosen, as `HH:mm`.
|
|
48084
48057
|
* - `mode`: How many times can be held at once.
|
|
48085
48058
|
*
|
|
@@ -48303,8 +48276,9 @@ export type CustomElementsSolidJs = {
|
|
|
48303
48276
|
* - `picker-option-item`: The row.
|
|
48304
48277
|
* - `picker-option-label`: The words.
|
|
48305
48278
|
* - `picker-option-text`: The words and the caption, as one column.
|
|
48306
|
-
* - `rest`: How many times are held beyond the ones shown.
|
|
48279
|
+
* - `rest`: How many times are held beyond the ones shown. A `<button>` with `expandable`, a `<span>` without it.
|
|
48307
48280
|
* - `surface`: The floating panel.
|
|
48281
|
+
* - `tags`: The row the times sit in.
|
|
48308
48282
|
* - `time`: One held time, as a tag, in `multiple`.
|
|
48309
48283
|
* - `time-dismiss`: The remove button, when `dismissible`.
|
|
48310
48284
|
* - `time-dismiss-mark`: The glyph on the dismiss control, where none is slotted.
|
|
@@ -50589,6 +50563,8 @@ export type CustomCssProperties = {
|
|
|
50589
50563
|
"--accordion-gap"?: (string) | undefined;
|
|
50590
50564
|
/** Corner radius of each item, when outlined. */
|
|
50591
50565
|
"--accordion-radius"?: (string) | undefined;
|
|
50566
|
+
/** How tall the band is at its shortest, so adding a control to it does not move the page down. A floor, not a cap: a message long enough to wrap still gets the room. */
|
|
50567
|
+
"--announcement-block-size"?: (string) | undefined;
|
|
50592
50568
|
/** Inline padding, matched to the page. */
|
|
50593
50569
|
"--announcement-inset"?: (string) | undefined;
|
|
50594
50570
|
/** The filter behind it. `none` to pair it with a panel. */
|
package/types/vue.d.ts
CHANGED
|
@@ -2693,6 +2693,20 @@ the resolved state for stylesheets, which is what the mirror is for. */
|
|
|
2693
2693
|
"default-open"?: (HelixDateInput["defaultOpen"]) | undefined;
|
|
2694
2694
|
/** Initial open state for uncontrolled use, where nothing declared one. */
|
|
2695
2695
|
defaultOpen?: (HelixDateInput["defaultOpen"]) | undefined;
|
|
2696
|
+
/** What the control is called once everything is showing. */
|
|
2697
|
+
"collapse-label"?: (HelixDateInput["collapseLabel"]) | undefined;
|
|
2698
|
+
/** What the control is called once everything is showing. */
|
|
2699
|
+
collapseLabel?: (HelixDateInput["collapseLabel"]) | undefined;
|
|
2700
|
+
/** Whether the count is a control that shows the rest. */
|
|
2701
|
+
expandable?: (HelixDateInput["expandable"]) | undefined;
|
|
2702
|
+
/** What the collapsed count is called, since `+3` names nothing. */
|
|
2703
|
+
"expand-label"?: (HelixDateInput["expandLabel"]) | undefined;
|
|
2704
|
+
/** What the collapsed count is called, since `+3` names nothing. */
|
|
2705
|
+
expandLabel?: (HelixDateInput["expandLabel"]) | undefined;
|
|
2706
|
+
/** How many tokens to show before the rest become a count. */
|
|
2707
|
+
"max-tags"?: (HelixDateInput["maxTags"]) | undefined;
|
|
2708
|
+
/** How many tokens to show before the rest become a count. */
|
|
2709
|
+
maxTags?: (HelixDateInput["maxTags"]) | undefined;
|
|
2696
2710
|
/** The value the markup declared, which is where a reset returns to. */
|
|
2697
2711
|
"default-value"?: (HelixDateInput["defaultValue"]) | undefined;
|
|
2698
2712
|
/** The value the markup declared, which is where a reset returns to. */
|
|
@@ -2780,30 +2794,6 @@ submits and what `min` and `max` compare against. */
|
|
|
2780
2794
|
locale?: (HelixDateInput["locale"]) | undefined;
|
|
2781
2795
|
/** Latest date that can be chosen, as `YYYY-MM-DD`. */
|
|
2782
2796
|
max?: (HelixDateInput["max"]) | undefined;
|
|
2783
|
-
/** How many dates are shown as tags before the rest are counted, in `multiple`.
|
|
2784
|
-
|
|
2785
|
-
`0` is all of them, and is the default: a cap that guesses is worse than no
|
|
2786
|
-
cap, because the number that fits depends on the width of the field and the
|
|
2787
|
-
length of what is in it, neither of which this element knows. What a cap is
|
|
2788
|
-
genuinely for is a field in a row or a table cell, where a set of twelve
|
|
2789
|
-
dates would push everything below it down a line at a time.
|
|
2790
|
-
|
|
2791
|
-
The remainder is counted rather than hidden. `+3` is a fact a reader can
|
|
2792
|
-
act on, where a row that silently stops is a field that appears to have lost
|
|
2793
|
-
what was put in it, and the count is what tells them there is more to see. */
|
|
2794
|
-
"max-tags"?: (HelixDateInput["maxTags"]) | undefined;
|
|
2795
|
-
/** How many dates are shown as tags before the rest are counted, in `multiple`.
|
|
2796
|
-
|
|
2797
|
-
`0` is all of them, and is the default: a cap that guesses is worse than no
|
|
2798
|
-
cap, because the number that fits depends on the width of the field and the
|
|
2799
|
-
length of what is in it, neither of which this element knows. What a cap is
|
|
2800
|
-
genuinely for is a field in a row or a table cell, where a set of twelve
|
|
2801
|
-
dates would push everything below it down a line at a time.
|
|
2802
|
-
|
|
2803
|
-
The remainder is counted rather than hidden. `+3` is a fact a reader can
|
|
2804
|
-
act on, where a row that silently stops is a field that appears to have lost
|
|
2805
|
-
what was put in it, and the count is what tells them there is more to see. */
|
|
2806
|
-
maxTags?: (HelixDateInput["maxTags"]) | undefined;
|
|
2807
2797
|
/** Earliest date that can be chosen, as `YYYY-MM-DD`. */
|
|
2808
2798
|
min?: (HelixDateInput["min"]) | undefined;
|
|
2809
2799
|
/** How many dates can be held at once.
|
|
@@ -7915,6 +7905,20 @@ the resolved state for stylesheets, which is what the mirror is for. */
|
|
|
7915
7905
|
"default-open"?: (HelixTimeInput["defaultOpen"]) | undefined;
|
|
7916
7906
|
/** Initial open state for uncontrolled use, where nothing declared one. */
|
|
7917
7907
|
defaultOpen?: (HelixTimeInput["defaultOpen"]) | undefined;
|
|
7908
|
+
/** What the control is called once everything is showing. */
|
|
7909
|
+
"collapse-label"?: (HelixTimeInput["collapseLabel"]) | undefined;
|
|
7910
|
+
/** What the control is called once everything is showing. */
|
|
7911
|
+
collapseLabel?: (HelixTimeInput["collapseLabel"]) | undefined;
|
|
7912
|
+
/** Whether the count is a control that shows the rest. */
|
|
7913
|
+
expandable?: (HelixTimeInput["expandable"]) | undefined;
|
|
7914
|
+
/** What the collapsed count is called, since `+3` names nothing. */
|
|
7915
|
+
"expand-label"?: (HelixTimeInput["expandLabel"]) | undefined;
|
|
7916
|
+
/** What the collapsed count is called, since `+3` names nothing. */
|
|
7917
|
+
expandLabel?: (HelixTimeInput["expandLabel"]) | undefined;
|
|
7918
|
+
/** How many tokens to show before the rest become a count. */
|
|
7919
|
+
"max-tags"?: (HelixTimeInput["maxTags"]) | undefined;
|
|
7920
|
+
/** How many tokens to show before the rest become a count. */
|
|
7921
|
+
maxTags?: (HelixTimeInput["maxTags"]) | undefined;
|
|
7918
7922
|
/** The value the markup declared, which is where a reset returns to. */
|
|
7919
7923
|
"default-value"?: (HelixTimeInput["defaultValue"]) | undefined;
|
|
7920
7924
|
/** The value the markup declared, which is where a reset returns to. */
|
|
@@ -7945,18 +7949,6 @@ Absent uses the runtime's own. */
|
|
|
7945
7949
|
locale?: (HelixTimeInput["locale"]) | undefined;
|
|
7946
7950
|
/** Latest time that can be chosen, as `HH:mm`. */
|
|
7947
7951
|
max?: (HelixTimeInput["max"]) | undefined;
|
|
7948
|
-
/** How many times are shown as tags before the rest are counted, in `multiple`.
|
|
7949
|
-
|
|
7950
|
-
`0` is all of them, and is the default, for the reason Date Input gives: how
|
|
7951
|
-
many fit depends on the width of the field and the length of what is in it,
|
|
7952
|
-
and this element knows neither. */
|
|
7953
|
-
"max-tags"?: (HelixTimeInput["maxTags"]) | undefined;
|
|
7954
|
-
/** How many times are shown as tags before the rest are counted, in `multiple`.
|
|
7955
|
-
|
|
7956
|
-
`0` is all of them, and is the default, for the reason Date Input gives: how
|
|
7957
|
-
many fit depends on the width of the field and the length of what is in it,
|
|
7958
|
-
and this element knows neither. */
|
|
7959
|
-
maxTags?: (HelixTimeInput["maxTags"]) | undefined;
|
|
7960
7952
|
/** Earliest time that can be chosen, as `HH:mm`. */
|
|
7961
7953
|
min?: (HelixTimeInput["min"]) | undefined;
|
|
7962
7954
|
/** How many times can be held at once.
|
|
@@ -9367,6 +9359,8 @@ export type CustomCssProperties = {
|
|
|
9367
9359
|
"--accordion-gap"?: (string) | undefined;
|
|
9368
9360
|
/** Corner radius of each item, when outlined. */
|
|
9369
9361
|
"--accordion-radius"?: (string) | undefined;
|
|
9362
|
+
/** How tall the band is at its shortest, so adding a control to it does not move the page down. A floor, not a cap: a message long enough to wrap still gets the room. */
|
|
9363
|
+
"--announcement-block-size"?: (string) | undefined;
|
|
9370
9364
|
/** Inline padding, matched to the page. */
|
|
9371
9365
|
"--announcement-inset"?: (string) | undefined;
|
|
9372
9366
|
/** The filter behind it. `none` to pair it with a panel. */
|