@fusion.dev/helix 0.19.1 → 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.
@@ -25139,6 +25139,215 @@
25139
25139
  "text": "toggleOpen() => boolean"
25140
25140
  }
25141
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
+ },
25142
25351
  {
25143
25352
  "kind": "field",
25144
25353
  "name": "defaultValue",
@@ -25610,20 +25819,6 @@
25610
25819
  "module": "src/date-input/root/date-input-root.ts"
25611
25820
  }
25612
25821
  },
25613
- {
25614
- "kind": "field",
25615
- "name": "maxTags",
25616
- "type": {
25617
- "text": "number"
25618
- },
25619
- "default": "0",
25620
- "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.",
25621
- "attribute": "max-tags",
25622
- "inheritedFrom": {
25623
- "name": "HelixHeadlessDateInput",
25624
- "module": "src/date-input/root/date-input-root.ts"
25625
- }
25626
- },
25627
25822
  {
25628
25823
  "kind": "field",
25629
25824
  "name": "min",
@@ -25841,7 +26036,7 @@
25841
26036
  "text": "string[]"
25842
26037
  },
25843
26038
  "privacy": "private",
25844
- "description": "The dates that get a tag, which is all of them until `maxTags` says not.",
26039
+ "description": "The dates that get a tag, which is all of them until the cap says not.",
25845
26040
  "readonly": true,
25846
26041
  "inheritedFrom": {
25847
26042
  "name": "HelixHeadlessDateInput",
@@ -26465,6 +26660,58 @@
26465
26660
  "module": "src/mixins/mixin-controller-open/mixin-controller-open.ts"
26466
26661
  }
26467
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
+ },
26468
26715
  {
26469
26716
  "name": "default-value",
26470
26717
  "type": {
@@ -26633,19 +26880,6 @@
26633
26880
  "module": "src/date-input/root/date-input-root.ts"
26634
26881
  }
26635
26882
  },
26636
- {
26637
- "name": "max-tags",
26638
- "type": {
26639
- "text": "number"
26640
- },
26641
- "default": "0",
26642
- "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.",
26643
- "fieldName": "maxTags",
26644
- "inheritedFrom": {
26645
- "name": "HelixHeadlessDateInput",
26646
- "module": "src/date-input/root/date-input-root.ts"
26647
- }
26648
- },
26649
26883
  {
26650
26884
  "name": "min",
26651
26885
  "type": {
@@ -27049,7 +27283,7 @@
27049
27283
  }
27050
27284
  },
27051
27285
  {
27052
- "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.",
27053
27287
  "name": "rest",
27054
27288
  "inheritedFrom": {
27055
27289
  "name": "HelixHeadlessDateInput",
@@ -27064,6 +27298,14 @@
27064
27298
  "module": "src/date-input/root/date-input-root.ts"
27065
27299
  }
27066
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
+ },
27067
27309
  {
27068
27310
  "description": "The control that opens the calendar.",
27069
27311
  "name": "trigger",
@@ -86043,6 +86285,215 @@
86043
86285
  "text": "toggleOpen() => boolean"
86044
86286
  }
86045
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
+ },
86046
86497
  {
86047
86498
  "kind": "field",
86048
86499
  "name": "defaultValue",
@@ -86458,20 +86909,6 @@
86458
86909
  "module": "src/time-input/root/time-input-root.ts"
86459
86910
  }
86460
86911
  },
86461
- {
86462
- "kind": "field",
86463
- "name": "maxTags",
86464
- "type": {
86465
- "text": "number"
86466
- },
86467
- "default": "0",
86468
- "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.",
86469
- "attribute": "max-tags",
86470
- "inheritedFrom": {
86471
- "name": "HelixHeadlessTimeInput",
86472
- "module": "src/time-input/root/time-input-root.ts"
86473
- }
86474
- },
86475
86912
  {
86476
86913
  "kind": "field",
86477
86914
  "name": "min",
@@ -86682,7 +87119,7 @@
86682
87119
  "text": "string[]"
86683
87120
  },
86684
87121
  "privacy": "private",
86685
- "description": "The times that get a tag, which is all of them until `maxTags` says not.",
87122
+ "description": "The times that get a tag, which is all of them until the cap says not.",
86686
87123
  "readonly": true,
86687
87124
  "inheritedFrom": {
86688
87125
  "name": "HelixHeadlessTimeInput",
@@ -87337,6 +87774,58 @@
87337
87774
  "module": "src/mixins/mixin-controller-open/mixin-controller-open.ts"
87338
87775
  }
87339
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
+ },
87340
87829
  {
87341
87830
  "name": "default-value",
87342
87831
  "type": {
@@ -87453,19 +87942,6 @@
87453
87942
  "module": "src/time-input/root/time-input-root.ts"
87454
87943
  }
87455
87944
  },
87456
- {
87457
- "name": "max-tags",
87458
- "type": {
87459
- "text": "number"
87460
- },
87461
- "default": "0",
87462
- "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.",
87463
- "fieldName": "maxTags",
87464
- "inheritedFrom": {
87465
- "name": "HelixHeadlessTimeInput",
87466
- "module": "src/time-input/root/time-input-root.ts"
87467
- }
87468
- },
87469
87945
  {
87470
87946
  "name": "min",
87471
87947
  "type": {
@@ -87969,7 +88445,7 @@
87969
88445
  }
87970
88446
  },
87971
88447
  {
87972
- "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.",
87973
88449
  "name": "rest",
87974
88450
  "inheritedFrom": {
87975
88451
  "name": "HelixHeadlessTimeInput",
@@ -87984,6 +88460,14 @@
87984
88460
  "module": "src/time-input/root/time-input-root.ts"
87985
88461
  }
87986
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
+ },
87987
88471
  {
87988
88472
  "description": "One held time, as a tag, in `multiple`.",
87989
88473
  "name": "time",
@@ -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.19.1",
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.19.1",
50
- "@fusion.dev/helix-headless": "0.19.1",
51
- "@fusion.dev/helix-styles": "0.19.1"
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.19.1",
56
- "@fusion.dev/helix-testing": "0.19.1",
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.
@@ -22385,6 +22369,10 @@ export type CustomElements = {
22385
22369
  * last reader did rather than what the author wrote. `:state(open)` carries
22386
22370
  * the resolved state for stylesheets, which is what the mirror is for.
22387
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.
22388
22376
  * - `default-value`/`defaultValue`: The value the markup declared, which is where a reset returns to.
22389
22377
  * - `value`: What the control holds now, and what its form submits.
22390
22378
  *
@@ -22428,17 +22416,6 @@ export type CustomElements = {
22428
22416
  * - `first-day-of-week`/`firstDayOfWeek`: First column of the week in the calendar, `0` for Sunday through `6`.
22429
22417
  * - `locale`: Language tag the calendar names its months and days in.
22430
22418
  * - `max`: Latest date that can be chosen, as `YYYY-MM-DD`.
22431
- * - `max-tags`/`maxTags`: How many dates are shown as tags before the rest are counted, in `multiple`.
22432
- *
22433
- * `0` is all of them, and is the default: a cap that guesses is worse than no
22434
- * cap, because the number that fits depends on the width of the field and the
22435
- * length of what is in it, neither of which this element knows. What a cap is
22436
- * genuinely for is a field in a row or a table cell, where a set of twelve
22437
- * dates would push everything below it down a line at a time.
22438
- *
22439
- * The remainder is counted rather than hidden. `+3` is a fact a reader can
22440
- * act on, where a row that silently stops is a field that appears to have lost
22441
- * what was put in it, and the count is what tells them there is more to see.
22442
22419
  * - `min`: Earliest date that can be chosen, as `YYYY-MM-DD`.
22443
22420
  * - `mode`: How many dates can be held at once.
22444
22421
  *
@@ -22645,8 +22622,9 @@ export type CustomElements = {
22645
22622
  * - `picker-previous-mark`: The glyph on the previous month control.
22646
22623
  * - `picker-week`: One row of days.
22647
22624
  * - `picker-weekday`: A column header naming a day of the week.
22648
- * - `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.
22649
22626
  * - `surface`: The floating panel.
22627
+ * - `tags`: The row the dates sit in.
22650
22628
  * - `trigger`: The control that opens the calendar.
22651
22629
  * - `trigger-icon`: The mark on the button that opens the calendar.
22652
22630
  */
@@ -31784,6 +31762,10 @@ export type CustomElements = {
31784
31762
  * last reader did rather than what the author wrote. `:state(open)` carries
31785
31763
  * the resolved state for stylesheets, which is what the mirror is for.
31786
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.
31787
31769
  * - `default-value`/`defaultValue`: The value the markup declared, which is where a reset returns to.
31788
31770
  * - `value`: What the control holds now, and what its form submits.
31789
31771
  *
@@ -31803,11 +31785,6 @@ export type CustomElements = {
31803
31785
  *
31804
31786
  * Absent uses the runtime's own.
31805
31787
  * - `max`: Latest time that can be chosen, as `HH:mm`.
31806
- * - `max-tags`/`maxTags`: How many times are shown as tags before the rest are counted, in `multiple`.
31807
- *
31808
- * `0` is all of them, and is the default, for the reason Date Input gives: how
31809
- * many fit depends on the width of the field and the length of what is in it,
31810
- * and this element knows neither.
31811
31788
  * - `min`: Earliest time that can be chosen, as `HH:mm`.
31812
31789
  * - `mode`: How many times can be held at once.
31813
31790
  *
@@ -32031,8 +32008,9 @@ export type CustomElements = {
32031
32008
  * - `picker-option-item`: The row.
32032
32009
  * - `picker-option-label`: The words.
32033
32010
  * - `picker-option-text`: The words and the caption, as one column.
32034
- * - `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.
32035
32012
  * - `surface`: The floating panel.
32013
+ * - `tags`: The row the times sit in.
32036
32014
  * - `time`: One held time, as a tag, in `multiple`.
32037
32015
  * - `time-dismiss`: The remove button, when `dismissible`.
32038
32016
  * - `time-dismiss-mark`: The glyph on the dismiss control, where none is slotted.
@@ -38422,6 +38400,10 @@ export type CustomElementsSolidJs = {
38422
38400
  * last reader did rather than what the author wrote. `:state(open)` carries
38423
38401
  * the resolved state for stylesheets, which is what the mirror is for.
38424
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.
38425
38407
  * - `default-value`/`defaultValue`: The value the markup declared, which is where a reset returns to.
38426
38408
  * - `value`: What the control holds now, and what its form submits.
38427
38409
  *
@@ -38465,17 +38447,6 @@ export type CustomElementsSolidJs = {
38465
38447
  * - `first-day-of-week`/`firstDayOfWeek`: First column of the week in the calendar, `0` for Sunday through `6`.
38466
38448
  * - `locale`: Language tag the calendar names its months and days in.
38467
38449
  * - `max`: Latest date that can be chosen, as `YYYY-MM-DD`.
38468
- * - `max-tags`/`maxTags`: How many dates are shown as tags before the rest are counted, in `multiple`.
38469
- *
38470
- * `0` is all of them, and is the default: a cap that guesses is worse than no
38471
- * cap, because the number that fits depends on the width of the field and the
38472
- * length of what is in it, neither of which this element knows. What a cap is
38473
- * genuinely for is a field in a row or a table cell, where a set of twelve
38474
- * dates would push everything below it down a line at a time.
38475
- *
38476
- * The remainder is counted rather than hidden. `+3` is a fact a reader can
38477
- * act on, where a row that silently stops is a field that appears to have lost
38478
- * what was put in it, and the count is what tells them there is more to see.
38479
38450
  * - `min`: Earliest date that can be chosen, as `YYYY-MM-DD`.
38480
38451
  * - `mode`: How many dates can be held at once.
38481
38452
  *
@@ -38682,8 +38653,9 @@ export type CustomElementsSolidJs = {
38682
38653
  * - `picker-previous-mark`: The glyph on the previous month control.
38683
38654
  * - `picker-week`: One row of days.
38684
38655
  * - `picker-weekday`: A column header naming a day of the week.
38685
- * - `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.
38686
38657
  * - `surface`: The floating panel.
38658
+ * - `tags`: The row the dates sit in.
38687
38659
  * - `trigger`: The control that opens the calendar.
38688
38660
  * - `trigger-icon`: The mark on the button that opens the calendar.
38689
38661
  */
@@ -48058,6 +48030,10 @@ export type CustomElementsSolidJs = {
48058
48030
  * last reader did rather than what the author wrote. `:state(open)` carries
48059
48031
  * the resolved state for stylesheets, which is what the mirror is for.
48060
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.
48061
48037
  * - `default-value`/`defaultValue`: The value the markup declared, which is where a reset returns to.
48062
48038
  * - `value`: What the control holds now, and what its form submits.
48063
48039
  *
@@ -48077,11 +48053,6 @@ export type CustomElementsSolidJs = {
48077
48053
  *
48078
48054
  * Absent uses the runtime's own.
48079
48055
  * - `max`: Latest time that can be chosen, as `HH:mm`.
48080
- * - `max-tags`/`maxTags`: How many times are shown as tags before the rest are counted, in `multiple`.
48081
- *
48082
- * `0` is all of them, and is the default, for the reason Date Input gives: how
48083
- * many fit depends on the width of the field and the length of what is in it,
48084
- * and this element knows neither.
48085
48056
  * - `min`: Earliest time that can be chosen, as `HH:mm`.
48086
48057
  * - `mode`: How many times can be held at once.
48087
48058
  *
@@ -48305,8 +48276,9 @@ export type CustomElementsSolidJs = {
48305
48276
  * - `picker-option-item`: The row.
48306
48277
  * - `picker-option-label`: The words.
48307
48278
  * - `picker-option-text`: The words and the caption, as one column.
48308
- * - `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.
48309
48280
  * - `surface`: The floating panel.
48281
+ * - `tags`: The row the times sit in.
48310
48282
  * - `time`: One held time, as a tag, in `multiple`.
48311
48283
  * - `time-dismiss`: The remove button, when `dismissible`.
48312
48284
  * - `time-dismiss-mark`: The glyph on the dismiss control, where none is slotted.
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.