@fusion.dev/helix-headless 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 +542 -42
- package/dist/date-input/root/date-input-root.d.ts +4 -17
- package/dist/date-input/root/date-input-root.js +6 -9
- package/dist/time-input/root/time-input-root.d.ts +4 -11
- package/dist/time-input/root/time-input-root.js +6 -9
- package/package.json +5 -5
- package/types/jsx.d.ts +80 -108
- package/types/vue.d.ts +28 -36
package/custom-elements.json
CHANGED
|
@@ -19188,13 +19188,17 @@
|
|
|
19188
19188
|
"name": "picker-weekday"
|
|
19189
19189
|
},
|
|
19190
19190
|
{
|
|
19191
|
-
"description": "How many dates are held beyond the ones shown.",
|
|
19191
|
+
"description": "How many dates are held beyond the ones shown. A `<button>` with `expandable`, a `<span>` without it.",
|
|
19192
19192
|
"name": "rest"
|
|
19193
19193
|
},
|
|
19194
19194
|
{
|
|
19195
19195
|
"description": "The floating panel.",
|
|
19196
19196
|
"name": "surface"
|
|
19197
19197
|
},
|
|
19198
|
+
{
|
|
19199
|
+
"description": "The row the dates sit in.",
|
|
19200
|
+
"name": "tags"
|
|
19201
|
+
},
|
|
19198
19202
|
{
|
|
19199
19203
|
"description": "The control that opens the calendar.",
|
|
19200
19204
|
"name": "trigger"
|
|
@@ -19296,16 +19300,6 @@
|
|
|
19296
19300
|
"description": "Latest date that can be chosen, as `YYYY-MM-DD`.",
|
|
19297
19301
|
"attribute": "max"
|
|
19298
19302
|
},
|
|
19299
|
-
{
|
|
19300
|
-
"kind": "field",
|
|
19301
|
-
"name": "maxTags",
|
|
19302
|
-
"type": {
|
|
19303
|
-
"text": "number"
|
|
19304
|
-
},
|
|
19305
|
-
"default": "0",
|
|
19306
|
-
"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.",
|
|
19307
|
-
"attribute": "max-tags"
|
|
19308
|
-
},
|
|
19309
19303
|
{
|
|
19310
19304
|
"kind": "field",
|
|
19311
19305
|
"name": "min",
|
|
@@ -19463,7 +19457,7 @@
|
|
|
19463
19457
|
"text": "string[]"
|
|
19464
19458
|
},
|
|
19465
19459
|
"privacy": "private",
|
|
19466
|
-
"description": "The dates that get a tag, which is all of them until
|
|
19460
|
+
"description": "The dates that get a tag, which is all of them until the cap says not.",
|
|
19467
19461
|
"readonly": true
|
|
19468
19462
|
},
|
|
19469
19463
|
{
|
|
@@ -19770,6 +19764,215 @@
|
|
|
19770
19764
|
"text": "toggleOpen() => boolean"
|
|
19771
19765
|
}
|
|
19772
19766
|
},
|
|
19767
|
+
{
|
|
19768
|
+
"kind": "field",
|
|
19769
|
+
"name": "collapseLabel",
|
|
19770
|
+
"type": {
|
|
19771
|
+
"text": "string"
|
|
19772
|
+
},
|
|
19773
|
+
"default": "'Show fewer'",
|
|
19774
|
+
"description": "What the control is called once everything is showing.",
|
|
19775
|
+
"attribute": "collapse-label",
|
|
19776
|
+
"inheritedFrom": {
|
|
19777
|
+
"name": "MixinTokens",
|
|
19778
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
19779
|
+
}
|
|
19780
|
+
},
|
|
19781
|
+
{
|
|
19782
|
+
"kind": "field",
|
|
19783
|
+
"name": "expandable",
|
|
19784
|
+
"type": {
|
|
19785
|
+
"text": "boolean"
|
|
19786
|
+
},
|
|
19787
|
+
"default": "false",
|
|
19788
|
+
"description": "Whether the count is a control that shows the rest.",
|
|
19789
|
+
"attribute": "expandable",
|
|
19790
|
+
"inheritedFrom": {
|
|
19791
|
+
"name": "MixinTokens",
|
|
19792
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
19793
|
+
}
|
|
19794
|
+
},
|
|
19795
|
+
{
|
|
19796
|
+
"kind": "field",
|
|
19797
|
+
"name": "expandLabel",
|
|
19798
|
+
"type": {
|
|
19799
|
+
"text": "string"
|
|
19800
|
+
},
|
|
19801
|
+
"default": "'Show all'",
|
|
19802
|
+
"description": "What the collapsed count is called, since `+3` names nothing.",
|
|
19803
|
+
"attribute": "expand-label",
|
|
19804
|
+
"inheritedFrom": {
|
|
19805
|
+
"name": "MixinTokens",
|
|
19806
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
19807
|
+
}
|
|
19808
|
+
},
|
|
19809
|
+
{
|
|
19810
|
+
"kind": "field",
|
|
19811
|
+
"name": "maxTags",
|
|
19812
|
+
"type": {
|
|
19813
|
+
"text": "number"
|
|
19814
|
+
},
|
|
19815
|
+
"default": "0",
|
|
19816
|
+
"description": "How many tokens to show before the rest become a count.",
|
|
19817
|
+
"attribute": "max-tags",
|
|
19818
|
+
"inheritedFrom": {
|
|
19819
|
+
"name": "MixinTokens",
|
|
19820
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
19821
|
+
}
|
|
19822
|
+
},
|
|
19823
|
+
{
|
|
19824
|
+
"kind": "field",
|
|
19825
|
+
"name": "expanded",
|
|
19826
|
+
"type": {
|
|
19827
|
+
"text": "boolean"
|
|
19828
|
+
},
|
|
19829
|
+
"privacy": "private",
|
|
19830
|
+
"default": "false",
|
|
19831
|
+
"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.",
|
|
19832
|
+
"inheritedFrom": {
|
|
19833
|
+
"name": "MixinTokens",
|
|
19834
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
19835
|
+
}
|
|
19836
|
+
},
|
|
19837
|
+
{
|
|
19838
|
+
"kind": "field",
|
|
19839
|
+
"name": "shownLimit",
|
|
19840
|
+
"type": {
|
|
19841
|
+
"text": "number"
|
|
19842
|
+
},
|
|
19843
|
+
"privacy": "protected",
|
|
19844
|
+
"readonly": true,
|
|
19845
|
+
"inheritedFrom": {
|
|
19846
|
+
"name": "MixinTokens",
|
|
19847
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
19848
|
+
}
|
|
19849
|
+
},
|
|
19850
|
+
{
|
|
19851
|
+
"kind": "field",
|
|
19852
|
+
"name": "toggleExpanded",
|
|
19853
|
+
"privacy": "private",
|
|
19854
|
+
"readonly": true,
|
|
19855
|
+
"description": "Turns the cap off and on, which is all expanding is.",
|
|
19856
|
+
"inheritedFrom": {
|
|
19857
|
+
"name": "MixinTokens",
|
|
19858
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
19859
|
+
}
|
|
19860
|
+
},
|
|
19861
|
+
{
|
|
19862
|
+
"kind": "method",
|
|
19863
|
+
"name": "renderTokenRow",
|
|
19864
|
+
"privacy": "protected",
|
|
19865
|
+
"return": {
|
|
19866
|
+
"type": {
|
|
19867
|
+
"text": "TemplateResult | typeof nothing"
|
|
19868
|
+
}
|
|
19869
|
+
},
|
|
19870
|
+
"parameters": [
|
|
19871
|
+
{
|
|
19872
|
+
"name": "content",
|
|
19873
|
+
"type": {
|
|
19874
|
+
"text": "unknown"
|
|
19875
|
+
}
|
|
19876
|
+
},
|
|
19877
|
+
{
|
|
19878
|
+
"name": "over",
|
|
19879
|
+
"type": {
|
|
19880
|
+
"text": "number"
|
|
19881
|
+
}
|
|
19882
|
+
}
|
|
19883
|
+
],
|
|
19884
|
+
"inheritedFrom": {
|
|
19885
|
+
"name": "MixinTokens",
|
|
19886
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
19887
|
+
}
|
|
19888
|
+
},
|
|
19889
|
+
{
|
|
19890
|
+
"kind": "method",
|
|
19891
|
+
"name": "renderRest",
|
|
19892
|
+
"privacy": "private",
|
|
19893
|
+
"return": {
|
|
19894
|
+
"type": {
|
|
19895
|
+
"text": "TemplateResult | typeof nothing"
|
|
19896
|
+
}
|
|
19897
|
+
},
|
|
19898
|
+
"parameters": [
|
|
19899
|
+
{
|
|
19900
|
+
"name": "over",
|
|
19901
|
+
"type": {
|
|
19902
|
+
"text": "number"
|
|
19903
|
+
}
|
|
19904
|
+
}
|
|
19905
|
+
],
|
|
19906
|
+
"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.",
|
|
19907
|
+
"inheritedFrom": {
|
|
19908
|
+
"name": "MixinTokens",
|
|
19909
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
19910
|
+
}
|
|
19911
|
+
},
|
|
19912
|
+
{
|
|
19913
|
+
"kind": "method",
|
|
19914
|
+
"name": "hideOverflow",
|
|
19915
|
+
"privacy": "protected",
|
|
19916
|
+
"return": {
|
|
19917
|
+
"type": {
|
|
19918
|
+
"text": "number"
|
|
19919
|
+
}
|
|
19920
|
+
},
|
|
19921
|
+
"parameters": [
|
|
19922
|
+
{
|
|
19923
|
+
"name": "slot",
|
|
19924
|
+
"type": {
|
|
19925
|
+
"text": "HTMLSlotElement | null | undefined"
|
|
19926
|
+
}
|
|
19927
|
+
}
|
|
19928
|
+
],
|
|
19929
|
+
"inheritedFrom": {
|
|
19930
|
+
"name": "MixinTokens",
|
|
19931
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
19932
|
+
}
|
|
19933
|
+
},
|
|
19934
|
+
{
|
|
19935
|
+
"kind": "method",
|
|
19936
|
+
"name": "tokenKeydown",
|
|
19937
|
+
"privacy": "protected",
|
|
19938
|
+
"return": {
|
|
19939
|
+
"type": {
|
|
19940
|
+
"text": "boolean"
|
|
19941
|
+
}
|
|
19942
|
+
},
|
|
19943
|
+
"parameters": [
|
|
19944
|
+
{
|
|
19945
|
+
"name": "event",
|
|
19946
|
+
"type": {
|
|
19947
|
+
"text": "KeyboardEvent"
|
|
19948
|
+
}
|
|
19949
|
+
},
|
|
19950
|
+
{
|
|
19951
|
+
"name": "typed",
|
|
19952
|
+
"type": {
|
|
19953
|
+
"text": "string"
|
|
19954
|
+
}
|
|
19955
|
+
}
|
|
19956
|
+
],
|
|
19957
|
+
"inheritedFrom": {
|
|
19958
|
+
"name": "MixinTokens",
|
|
19959
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
19960
|
+
}
|
|
19961
|
+
},
|
|
19962
|
+
{
|
|
19963
|
+
"kind": "method",
|
|
19964
|
+
"name": "removeLastToken",
|
|
19965
|
+
"privacy": "protected",
|
|
19966
|
+
"return": {
|
|
19967
|
+
"type": {
|
|
19968
|
+
"text": "void"
|
|
19969
|
+
}
|
|
19970
|
+
},
|
|
19971
|
+
"inheritedFrom": {
|
|
19972
|
+
"name": "MixinTokens",
|
|
19973
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
19974
|
+
}
|
|
19975
|
+
},
|
|
19773
19976
|
{
|
|
19774
19977
|
"kind": "field",
|
|
19775
19978
|
"name": "defaultValue",
|
|
@@ -20529,15 +20732,6 @@
|
|
|
20529
20732
|
"description": "Latest date that can be chosen, as `YYYY-MM-DD`.",
|
|
20530
20733
|
"fieldName": "max"
|
|
20531
20734
|
},
|
|
20532
|
-
{
|
|
20533
|
-
"name": "max-tags",
|
|
20534
|
-
"type": {
|
|
20535
|
-
"text": "number"
|
|
20536
|
-
},
|
|
20537
|
-
"default": "0",
|
|
20538
|
-
"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.",
|
|
20539
|
-
"fieldName": "maxTags"
|
|
20540
|
-
},
|
|
20541
20735
|
{
|
|
20542
20736
|
"name": "min",
|
|
20543
20737
|
"type": {
|
|
@@ -20625,6 +20819,58 @@
|
|
|
20625
20819
|
"module": "src/mixins/mixin-controller-open/mixin-controller-open.ts"
|
|
20626
20820
|
}
|
|
20627
20821
|
},
|
|
20822
|
+
{
|
|
20823
|
+
"name": "collapse-label",
|
|
20824
|
+
"type": {
|
|
20825
|
+
"text": "string"
|
|
20826
|
+
},
|
|
20827
|
+
"default": "'Show fewer'",
|
|
20828
|
+
"description": "What the control is called once everything is showing.",
|
|
20829
|
+
"fieldName": "collapseLabel",
|
|
20830
|
+
"inheritedFrom": {
|
|
20831
|
+
"name": "MixinTokens",
|
|
20832
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
20833
|
+
}
|
|
20834
|
+
},
|
|
20835
|
+
{
|
|
20836
|
+
"name": "expandable",
|
|
20837
|
+
"type": {
|
|
20838
|
+
"text": "boolean"
|
|
20839
|
+
},
|
|
20840
|
+
"default": "false",
|
|
20841
|
+
"description": "Whether the count is a control that shows the rest.",
|
|
20842
|
+
"fieldName": "expandable",
|
|
20843
|
+
"inheritedFrom": {
|
|
20844
|
+
"name": "MixinTokens",
|
|
20845
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
20846
|
+
}
|
|
20847
|
+
},
|
|
20848
|
+
{
|
|
20849
|
+
"name": "expand-label",
|
|
20850
|
+
"type": {
|
|
20851
|
+
"text": "string"
|
|
20852
|
+
},
|
|
20853
|
+
"default": "'Show all'",
|
|
20854
|
+
"description": "What the collapsed count is called, since `+3` names nothing.",
|
|
20855
|
+
"fieldName": "expandLabel",
|
|
20856
|
+
"inheritedFrom": {
|
|
20857
|
+
"name": "MixinTokens",
|
|
20858
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
20859
|
+
}
|
|
20860
|
+
},
|
|
20861
|
+
{
|
|
20862
|
+
"name": "max-tags",
|
|
20863
|
+
"type": {
|
|
20864
|
+
"text": "number"
|
|
20865
|
+
},
|
|
20866
|
+
"default": "0",
|
|
20867
|
+
"description": "How many tokens to show before the rest become a count.",
|
|
20868
|
+
"fieldName": "maxTags",
|
|
20869
|
+
"inheritedFrom": {
|
|
20870
|
+
"name": "MixinTokens",
|
|
20871
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
20872
|
+
}
|
|
20873
|
+
},
|
|
20628
20874
|
{
|
|
20629
20875
|
"name": "default-value",
|
|
20630
20876
|
"type": {
|
|
@@ -20734,6 +20980,10 @@
|
|
|
20734
20980
|
"name": "MixinControllerOpen",
|
|
20735
20981
|
"package": "@fusion.dev/helix-core"
|
|
20736
20982
|
},
|
|
20983
|
+
{
|
|
20984
|
+
"name": "MixinTokens",
|
|
20985
|
+
"package": "@fusion.dev/helix-core"
|
|
20986
|
+
},
|
|
20737
20987
|
{
|
|
20738
20988
|
"name": "MixinControllerValue",
|
|
20739
20989
|
"package": "@fusion.dev/helix-core"
|
|
@@ -64282,13 +64532,17 @@
|
|
|
64282
64532
|
"name": "picker-option-text"
|
|
64283
64533
|
},
|
|
64284
64534
|
{
|
|
64285
|
-
"description": "How many times are held beyond the ones shown.",
|
|
64535
|
+
"description": "How many times are held beyond the ones shown. A `<button>` with `expandable`, a `<span>` without it.",
|
|
64286
64536
|
"name": "rest"
|
|
64287
64537
|
},
|
|
64288
64538
|
{
|
|
64289
64539
|
"description": "The floating panel.",
|
|
64290
64540
|
"name": "surface"
|
|
64291
64541
|
},
|
|
64542
|
+
{
|
|
64543
|
+
"description": "The row the times sit in.",
|
|
64544
|
+
"name": "tags"
|
|
64545
|
+
},
|
|
64292
64546
|
{
|
|
64293
64547
|
"description": "One held time, as a tag, in `multiple`.",
|
|
64294
64548
|
"name": "time"
|
|
@@ -64366,16 +64620,6 @@
|
|
|
64366
64620
|
"description": "Latest time that can be chosen, as `HH:mm`.",
|
|
64367
64621
|
"attribute": "max"
|
|
64368
64622
|
},
|
|
64369
|
-
{
|
|
64370
|
-
"kind": "field",
|
|
64371
|
-
"name": "maxTags",
|
|
64372
|
-
"type": {
|
|
64373
|
-
"text": "number"
|
|
64374
|
-
},
|
|
64375
|
-
"default": "0",
|
|
64376
|
-
"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.",
|
|
64377
|
-
"attribute": "max-tags"
|
|
64378
|
-
},
|
|
64379
64623
|
{
|
|
64380
64624
|
"kind": "field",
|
|
64381
64625
|
"name": "min",
|
|
@@ -64530,7 +64774,7 @@
|
|
|
64530
64774
|
"text": "string[]"
|
|
64531
64775
|
},
|
|
64532
64776
|
"privacy": "private",
|
|
64533
|
-
"description": "The times that get a tag, which is all of them until
|
|
64777
|
+
"description": "The times that get a tag, which is all of them until the cap says not.",
|
|
64534
64778
|
"readonly": true
|
|
64535
64779
|
},
|
|
64536
64780
|
{
|
|
@@ -64861,6 +65105,215 @@
|
|
|
64861
65105
|
"text": "toggleOpen() => boolean"
|
|
64862
65106
|
}
|
|
64863
65107
|
},
|
|
65108
|
+
{
|
|
65109
|
+
"kind": "field",
|
|
65110
|
+
"name": "collapseLabel",
|
|
65111
|
+
"type": {
|
|
65112
|
+
"text": "string"
|
|
65113
|
+
},
|
|
65114
|
+
"default": "'Show fewer'",
|
|
65115
|
+
"description": "What the control is called once everything is showing.",
|
|
65116
|
+
"attribute": "collapse-label",
|
|
65117
|
+
"inheritedFrom": {
|
|
65118
|
+
"name": "MixinTokens",
|
|
65119
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
65120
|
+
}
|
|
65121
|
+
},
|
|
65122
|
+
{
|
|
65123
|
+
"kind": "field",
|
|
65124
|
+
"name": "expandable",
|
|
65125
|
+
"type": {
|
|
65126
|
+
"text": "boolean"
|
|
65127
|
+
},
|
|
65128
|
+
"default": "false",
|
|
65129
|
+
"description": "Whether the count is a control that shows the rest.",
|
|
65130
|
+
"attribute": "expandable",
|
|
65131
|
+
"inheritedFrom": {
|
|
65132
|
+
"name": "MixinTokens",
|
|
65133
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
65134
|
+
}
|
|
65135
|
+
},
|
|
65136
|
+
{
|
|
65137
|
+
"kind": "field",
|
|
65138
|
+
"name": "expandLabel",
|
|
65139
|
+
"type": {
|
|
65140
|
+
"text": "string"
|
|
65141
|
+
},
|
|
65142
|
+
"default": "'Show all'",
|
|
65143
|
+
"description": "What the collapsed count is called, since `+3` names nothing.",
|
|
65144
|
+
"attribute": "expand-label",
|
|
65145
|
+
"inheritedFrom": {
|
|
65146
|
+
"name": "MixinTokens",
|
|
65147
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
65148
|
+
}
|
|
65149
|
+
},
|
|
65150
|
+
{
|
|
65151
|
+
"kind": "field",
|
|
65152
|
+
"name": "maxTags",
|
|
65153
|
+
"type": {
|
|
65154
|
+
"text": "number"
|
|
65155
|
+
},
|
|
65156
|
+
"default": "0",
|
|
65157
|
+
"description": "How many tokens to show before the rest become a count.",
|
|
65158
|
+
"attribute": "max-tags",
|
|
65159
|
+
"inheritedFrom": {
|
|
65160
|
+
"name": "MixinTokens",
|
|
65161
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
65162
|
+
}
|
|
65163
|
+
},
|
|
65164
|
+
{
|
|
65165
|
+
"kind": "field",
|
|
65166
|
+
"name": "expanded",
|
|
65167
|
+
"type": {
|
|
65168
|
+
"text": "boolean"
|
|
65169
|
+
},
|
|
65170
|
+
"privacy": "private",
|
|
65171
|
+
"default": "false",
|
|
65172
|
+
"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.",
|
|
65173
|
+
"inheritedFrom": {
|
|
65174
|
+
"name": "MixinTokens",
|
|
65175
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
65176
|
+
}
|
|
65177
|
+
},
|
|
65178
|
+
{
|
|
65179
|
+
"kind": "field",
|
|
65180
|
+
"name": "shownLimit",
|
|
65181
|
+
"type": {
|
|
65182
|
+
"text": "number"
|
|
65183
|
+
},
|
|
65184
|
+
"privacy": "protected",
|
|
65185
|
+
"readonly": true,
|
|
65186
|
+
"inheritedFrom": {
|
|
65187
|
+
"name": "MixinTokens",
|
|
65188
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
65189
|
+
}
|
|
65190
|
+
},
|
|
65191
|
+
{
|
|
65192
|
+
"kind": "field",
|
|
65193
|
+
"name": "toggleExpanded",
|
|
65194
|
+
"privacy": "private",
|
|
65195
|
+
"readonly": true,
|
|
65196
|
+
"description": "Turns the cap off and on, which is all expanding is.",
|
|
65197
|
+
"inheritedFrom": {
|
|
65198
|
+
"name": "MixinTokens",
|
|
65199
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
65200
|
+
}
|
|
65201
|
+
},
|
|
65202
|
+
{
|
|
65203
|
+
"kind": "method",
|
|
65204
|
+
"name": "renderTokenRow",
|
|
65205
|
+
"privacy": "protected",
|
|
65206
|
+
"return": {
|
|
65207
|
+
"type": {
|
|
65208
|
+
"text": "TemplateResult | typeof nothing"
|
|
65209
|
+
}
|
|
65210
|
+
},
|
|
65211
|
+
"parameters": [
|
|
65212
|
+
{
|
|
65213
|
+
"name": "content",
|
|
65214
|
+
"type": {
|
|
65215
|
+
"text": "unknown"
|
|
65216
|
+
}
|
|
65217
|
+
},
|
|
65218
|
+
{
|
|
65219
|
+
"name": "over",
|
|
65220
|
+
"type": {
|
|
65221
|
+
"text": "number"
|
|
65222
|
+
}
|
|
65223
|
+
}
|
|
65224
|
+
],
|
|
65225
|
+
"inheritedFrom": {
|
|
65226
|
+
"name": "MixinTokens",
|
|
65227
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
65228
|
+
}
|
|
65229
|
+
},
|
|
65230
|
+
{
|
|
65231
|
+
"kind": "method",
|
|
65232
|
+
"name": "renderRest",
|
|
65233
|
+
"privacy": "private",
|
|
65234
|
+
"return": {
|
|
65235
|
+
"type": {
|
|
65236
|
+
"text": "TemplateResult | typeof nothing"
|
|
65237
|
+
}
|
|
65238
|
+
},
|
|
65239
|
+
"parameters": [
|
|
65240
|
+
{
|
|
65241
|
+
"name": "over",
|
|
65242
|
+
"type": {
|
|
65243
|
+
"text": "number"
|
|
65244
|
+
}
|
|
65245
|
+
}
|
|
65246
|
+
],
|
|
65247
|
+
"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.",
|
|
65248
|
+
"inheritedFrom": {
|
|
65249
|
+
"name": "MixinTokens",
|
|
65250
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
65251
|
+
}
|
|
65252
|
+
},
|
|
65253
|
+
{
|
|
65254
|
+
"kind": "method",
|
|
65255
|
+
"name": "hideOverflow",
|
|
65256
|
+
"privacy": "protected",
|
|
65257
|
+
"return": {
|
|
65258
|
+
"type": {
|
|
65259
|
+
"text": "number"
|
|
65260
|
+
}
|
|
65261
|
+
},
|
|
65262
|
+
"parameters": [
|
|
65263
|
+
{
|
|
65264
|
+
"name": "slot",
|
|
65265
|
+
"type": {
|
|
65266
|
+
"text": "HTMLSlotElement | null | undefined"
|
|
65267
|
+
}
|
|
65268
|
+
}
|
|
65269
|
+
],
|
|
65270
|
+
"inheritedFrom": {
|
|
65271
|
+
"name": "MixinTokens",
|
|
65272
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
65273
|
+
}
|
|
65274
|
+
},
|
|
65275
|
+
{
|
|
65276
|
+
"kind": "method",
|
|
65277
|
+
"name": "tokenKeydown",
|
|
65278
|
+
"privacy": "protected",
|
|
65279
|
+
"return": {
|
|
65280
|
+
"type": {
|
|
65281
|
+
"text": "boolean"
|
|
65282
|
+
}
|
|
65283
|
+
},
|
|
65284
|
+
"parameters": [
|
|
65285
|
+
{
|
|
65286
|
+
"name": "event",
|
|
65287
|
+
"type": {
|
|
65288
|
+
"text": "KeyboardEvent"
|
|
65289
|
+
}
|
|
65290
|
+
},
|
|
65291
|
+
{
|
|
65292
|
+
"name": "typed",
|
|
65293
|
+
"type": {
|
|
65294
|
+
"text": "string"
|
|
65295
|
+
}
|
|
65296
|
+
}
|
|
65297
|
+
],
|
|
65298
|
+
"inheritedFrom": {
|
|
65299
|
+
"name": "MixinTokens",
|
|
65300
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
65301
|
+
}
|
|
65302
|
+
},
|
|
65303
|
+
{
|
|
65304
|
+
"kind": "method",
|
|
65305
|
+
"name": "removeLastToken",
|
|
65306
|
+
"privacy": "protected",
|
|
65307
|
+
"return": {
|
|
65308
|
+
"type": {
|
|
65309
|
+
"text": "void"
|
|
65310
|
+
}
|
|
65311
|
+
},
|
|
65312
|
+
"inheritedFrom": {
|
|
65313
|
+
"name": "MixinTokens",
|
|
65314
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
65315
|
+
}
|
|
65316
|
+
},
|
|
64864
65317
|
{
|
|
64865
65318
|
"kind": "field",
|
|
64866
65319
|
"name": "defaultValue",
|
|
@@ -65584,15 +66037,6 @@
|
|
|
65584
66037
|
"description": "Latest time that can be chosen, as `HH:mm`.",
|
|
65585
66038
|
"fieldName": "max"
|
|
65586
66039
|
},
|
|
65587
|
-
{
|
|
65588
|
-
"name": "max-tags",
|
|
65589
|
-
"type": {
|
|
65590
|
-
"text": "number"
|
|
65591
|
-
},
|
|
65592
|
-
"default": "0",
|
|
65593
|
-
"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.",
|
|
65594
|
-
"fieldName": "maxTags"
|
|
65595
|
-
},
|
|
65596
66040
|
{
|
|
65597
66041
|
"name": "min",
|
|
65598
66042
|
"type": {
|
|
@@ -65688,6 +66132,58 @@
|
|
|
65688
66132
|
"module": "src/mixins/mixin-controller-open/mixin-controller-open.ts"
|
|
65689
66133
|
}
|
|
65690
66134
|
},
|
|
66135
|
+
{
|
|
66136
|
+
"name": "collapse-label",
|
|
66137
|
+
"type": {
|
|
66138
|
+
"text": "string"
|
|
66139
|
+
},
|
|
66140
|
+
"default": "'Show fewer'",
|
|
66141
|
+
"description": "What the control is called once everything is showing.",
|
|
66142
|
+
"fieldName": "collapseLabel",
|
|
66143
|
+
"inheritedFrom": {
|
|
66144
|
+
"name": "MixinTokens",
|
|
66145
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
66146
|
+
}
|
|
66147
|
+
},
|
|
66148
|
+
{
|
|
66149
|
+
"name": "expandable",
|
|
66150
|
+
"type": {
|
|
66151
|
+
"text": "boolean"
|
|
66152
|
+
},
|
|
66153
|
+
"default": "false",
|
|
66154
|
+
"description": "Whether the count is a control that shows the rest.",
|
|
66155
|
+
"fieldName": "expandable",
|
|
66156
|
+
"inheritedFrom": {
|
|
66157
|
+
"name": "MixinTokens",
|
|
66158
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
66159
|
+
}
|
|
66160
|
+
},
|
|
66161
|
+
{
|
|
66162
|
+
"name": "expand-label",
|
|
66163
|
+
"type": {
|
|
66164
|
+
"text": "string"
|
|
66165
|
+
},
|
|
66166
|
+
"default": "'Show all'",
|
|
66167
|
+
"description": "What the collapsed count is called, since `+3` names nothing.",
|
|
66168
|
+
"fieldName": "expandLabel",
|
|
66169
|
+
"inheritedFrom": {
|
|
66170
|
+
"name": "MixinTokens",
|
|
66171
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
66172
|
+
}
|
|
66173
|
+
},
|
|
66174
|
+
{
|
|
66175
|
+
"name": "max-tags",
|
|
66176
|
+
"type": {
|
|
66177
|
+
"text": "number"
|
|
66178
|
+
},
|
|
66179
|
+
"default": "0",
|
|
66180
|
+
"description": "How many tokens to show before the rest become a count.",
|
|
66181
|
+
"fieldName": "maxTags",
|
|
66182
|
+
"inheritedFrom": {
|
|
66183
|
+
"name": "MixinTokens",
|
|
66184
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
66185
|
+
}
|
|
66186
|
+
},
|
|
65691
66187
|
{
|
|
65692
66188
|
"name": "default-value",
|
|
65693
66189
|
"type": {
|
|
@@ -65797,6 +66293,10 @@
|
|
|
65797
66293
|
"name": "MixinControllerOpen",
|
|
65798
66294
|
"package": "@fusion.dev/helix-core"
|
|
65799
66295
|
},
|
|
66296
|
+
{
|
|
66297
|
+
"name": "MixinTokens",
|
|
66298
|
+
"package": "@fusion.dev/helix-core"
|
|
66299
|
+
},
|
|
65800
66300
|
{
|
|
65801
66301
|
"name": "MixinControllerValue",
|
|
65802
66302
|
"package": "@fusion.dev/helix-core"
|