@fusion.dev/helix 0.13.2 → 0.14.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 +291 -3
- package/dist/shared/tags/tags.css.js +20 -0
- package/package.json +6 -6
- package/types/jsx.d.ts +56 -4
- package/types/vue.d.ts +20 -0
package/custom-elements.json
CHANGED
|
@@ -19033,6 +19033,48 @@
|
|
|
19033
19033
|
"text": "toggleOpen() => boolean"
|
|
19034
19034
|
}
|
|
19035
19035
|
},
|
|
19036
|
+
{
|
|
19037
|
+
"kind": "field",
|
|
19038
|
+
"name": "collapseLabel",
|
|
19039
|
+
"type": {
|
|
19040
|
+
"text": "string"
|
|
19041
|
+
},
|
|
19042
|
+
"default": "'Show fewer'",
|
|
19043
|
+
"description": "What the control says once everything is showing.",
|
|
19044
|
+
"attribute": "collapse-label",
|
|
19045
|
+
"inheritedFrom": {
|
|
19046
|
+
"name": "MixinTokens",
|
|
19047
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
19048
|
+
}
|
|
19049
|
+
},
|
|
19050
|
+
{
|
|
19051
|
+
"kind": "field",
|
|
19052
|
+
"name": "expandable",
|
|
19053
|
+
"type": {
|
|
19054
|
+
"text": "boolean"
|
|
19055
|
+
},
|
|
19056
|
+
"default": "false",
|
|
19057
|
+
"description": "Whether the count is a control that shows the rest.",
|
|
19058
|
+
"attribute": "expandable",
|
|
19059
|
+
"inheritedFrom": {
|
|
19060
|
+
"name": "MixinTokens",
|
|
19061
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
19062
|
+
}
|
|
19063
|
+
},
|
|
19064
|
+
{
|
|
19065
|
+
"kind": "field",
|
|
19066
|
+
"name": "expandLabel",
|
|
19067
|
+
"type": {
|
|
19068
|
+
"text": "string"
|
|
19069
|
+
},
|
|
19070
|
+
"default": "'Show all'",
|
|
19071
|
+
"description": "What the collapsed count is called, since `+3` names nothing.",
|
|
19072
|
+
"attribute": "expand-label",
|
|
19073
|
+
"inheritedFrom": {
|
|
19074
|
+
"name": "MixinTokens",
|
|
19075
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
19076
|
+
}
|
|
19077
|
+
},
|
|
19036
19078
|
{
|
|
19037
19079
|
"kind": "field",
|
|
19038
19080
|
"name": "maxTags",
|
|
@@ -19047,6 +19089,44 @@
|
|
|
19047
19089
|
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
19048
19090
|
}
|
|
19049
19091
|
},
|
|
19092
|
+
{
|
|
19093
|
+
"kind": "field",
|
|
19094
|
+
"name": "expanded",
|
|
19095
|
+
"type": {
|
|
19096
|
+
"text": "boolean"
|
|
19097
|
+
},
|
|
19098
|
+
"privacy": "private",
|
|
19099
|
+
"default": "false",
|
|
19100
|
+
"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.",
|
|
19101
|
+
"inheritedFrom": {
|
|
19102
|
+
"name": "MixinTokens",
|
|
19103
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
19104
|
+
}
|
|
19105
|
+
},
|
|
19106
|
+
{
|
|
19107
|
+
"kind": "field",
|
|
19108
|
+
"name": "shownLimit",
|
|
19109
|
+
"type": {
|
|
19110
|
+
"text": "number"
|
|
19111
|
+
},
|
|
19112
|
+
"privacy": "protected",
|
|
19113
|
+
"readonly": true,
|
|
19114
|
+
"inheritedFrom": {
|
|
19115
|
+
"name": "MixinTokens",
|
|
19116
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
19117
|
+
}
|
|
19118
|
+
},
|
|
19119
|
+
{
|
|
19120
|
+
"kind": "field",
|
|
19121
|
+
"name": "toggleExpanded",
|
|
19122
|
+
"privacy": "private",
|
|
19123
|
+
"readonly": true,
|
|
19124
|
+
"description": "Turns the cap off and on, which is all expanding is.",
|
|
19125
|
+
"inheritedFrom": {
|
|
19126
|
+
"name": "MixinTokens",
|
|
19127
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
19128
|
+
}
|
|
19129
|
+
},
|
|
19050
19130
|
{
|
|
19051
19131
|
"kind": "method",
|
|
19052
19132
|
"name": "renderTokenRow",
|
|
@@ -19075,6 +19155,29 @@
|
|
|
19075
19155
|
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
19076
19156
|
}
|
|
19077
19157
|
},
|
|
19158
|
+
{
|
|
19159
|
+
"kind": "method",
|
|
19160
|
+
"name": "renderRest",
|
|
19161
|
+
"privacy": "private",
|
|
19162
|
+
"return": {
|
|
19163
|
+
"type": {
|
|
19164
|
+
"text": "TemplateResult | typeof nothing"
|
|
19165
|
+
}
|
|
19166
|
+
},
|
|
19167
|
+
"parameters": [
|
|
19168
|
+
{
|
|
19169
|
+
"name": "over",
|
|
19170
|
+
"type": {
|
|
19171
|
+
"text": "number"
|
|
19172
|
+
}
|
|
19173
|
+
}
|
|
19174
|
+
],
|
|
19175
|
+
"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.",
|
|
19176
|
+
"inheritedFrom": {
|
|
19177
|
+
"name": "MixinTokens",
|
|
19178
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
19179
|
+
}
|
|
19180
|
+
},
|
|
19078
19181
|
{
|
|
19079
19182
|
"kind": "method",
|
|
19080
19183
|
"name": "hideOverflow",
|
|
@@ -20374,7 +20477,7 @@
|
|
|
20374
20477
|
"slug": "invalid"
|
|
20375
20478
|
},
|
|
20376
20479
|
{
|
|
20377
|
-
"description": "A cap on the tags drawn, with the rest counted.",
|
|
20480
|
+
"description": "A cap on the tags drawn, with the rest counted and openable.",
|
|
20378
20481
|
"slug": "max-tags"
|
|
20379
20482
|
},
|
|
20380
20483
|
{
|
|
@@ -20420,6 +20523,45 @@
|
|
|
20420
20523
|
"module": "src/mixins/mixin-controller-open/mixin-controller-open.ts"
|
|
20421
20524
|
}
|
|
20422
20525
|
},
|
|
20526
|
+
{
|
|
20527
|
+
"name": "collapse-label",
|
|
20528
|
+
"type": {
|
|
20529
|
+
"text": "string"
|
|
20530
|
+
},
|
|
20531
|
+
"default": "'Show fewer'",
|
|
20532
|
+
"description": "What the control says once everything is showing.",
|
|
20533
|
+
"fieldName": "collapseLabel",
|
|
20534
|
+
"inheritedFrom": {
|
|
20535
|
+
"name": "MixinTokens",
|
|
20536
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
20537
|
+
}
|
|
20538
|
+
},
|
|
20539
|
+
{
|
|
20540
|
+
"name": "expandable",
|
|
20541
|
+
"type": {
|
|
20542
|
+
"text": "boolean"
|
|
20543
|
+
},
|
|
20544
|
+
"default": "false",
|
|
20545
|
+
"description": "Whether the count is a control that shows the rest.",
|
|
20546
|
+
"fieldName": "expandable",
|
|
20547
|
+
"inheritedFrom": {
|
|
20548
|
+
"name": "MixinTokens",
|
|
20549
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
20550
|
+
}
|
|
20551
|
+
},
|
|
20552
|
+
{
|
|
20553
|
+
"name": "expand-label",
|
|
20554
|
+
"type": {
|
|
20555
|
+
"text": "string"
|
|
20556
|
+
},
|
|
20557
|
+
"default": "'Show all'",
|
|
20558
|
+
"description": "What the collapsed count is called, since `+3` names nothing.",
|
|
20559
|
+
"fieldName": "expandLabel",
|
|
20560
|
+
"inheritedFrom": {
|
|
20561
|
+
"name": "MixinTokens",
|
|
20562
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
20563
|
+
}
|
|
20564
|
+
},
|
|
20423
20565
|
{
|
|
20424
20566
|
"name": "max-tags",
|
|
20425
20567
|
"type": {
|
|
@@ -20958,7 +21100,7 @@
|
|
|
20958
21100
|
}
|
|
20959
21101
|
},
|
|
20960
21102
|
{
|
|
20961
|
-
"description": "The count of choices held beyond `max-tags`.",
|
|
21103
|
+
"description": "The count of choices held beyond `max-tags`. A `<button>` with `expandable`, a `<span>` without it.",
|
|
20962
21104
|
"name": "rest",
|
|
20963
21105
|
"inheritedFrom": {
|
|
20964
21106
|
"name": "HelixHeadlessCombobox",
|
|
@@ -34431,6 +34573,48 @@
|
|
|
34431
34573
|
}
|
|
34432
34574
|
],
|
|
34433
34575
|
"members": [
|
|
34576
|
+
{
|
|
34577
|
+
"kind": "field",
|
|
34578
|
+
"name": "collapseLabel",
|
|
34579
|
+
"type": {
|
|
34580
|
+
"text": "string"
|
|
34581
|
+
},
|
|
34582
|
+
"default": "'Show fewer'",
|
|
34583
|
+
"description": "What the control says once everything is showing.",
|
|
34584
|
+
"attribute": "collapse-label",
|
|
34585
|
+
"inheritedFrom": {
|
|
34586
|
+
"name": "MixinTokens",
|
|
34587
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
34588
|
+
}
|
|
34589
|
+
},
|
|
34590
|
+
{
|
|
34591
|
+
"kind": "field",
|
|
34592
|
+
"name": "expandable",
|
|
34593
|
+
"type": {
|
|
34594
|
+
"text": "boolean"
|
|
34595
|
+
},
|
|
34596
|
+
"default": "false",
|
|
34597
|
+
"description": "Whether the count is a control that shows the rest.",
|
|
34598
|
+
"attribute": "expandable",
|
|
34599
|
+
"inheritedFrom": {
|
|
34600
|
+
"name": "MixinTokens",
|
|
34601
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
34602
|
+
}
|
|
34603
|
+
},
|
|
34604
|
+
{
|
|
34605
|
+
"kind": "field",
|
|
34606
|
+
"name": "expandLabel",
|
|
34607
|
+
"type": {
|
|
34608
|
+
"text": "string"
|
|
34609
|
+
},
|
|
34610
|
+
"default": "'Show all'",
|
|
34611
|
+
"description": "What the collapsed count is called, since `+3` names nothing.",
|
|
34612
|
+
"attribute": "expand-label",
|
|
34613
|
+
"inheritedFrom": {
|
|
34614
|
+
"name": "MixinTokens",
|
|
34615
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
34616
|
+
}
|
|
34617
|
+
},
|
|
34434
34618
|
{
|
|
34435
34619
|
"kind": "field",
|
|
34436
34620
|
"name": "maxTags",
|
|
@@ -34445,6 +34629,44 @@
|
|
|
34445
34629
|
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
34446
34630
|
}
|
|
34447
34631
|
},
|
|
34632
|
+
{
|
|
34633
|
+
"kind": "field",
|
|
34634
|
+
"name": "expanded",
|
|
34635
|
+
"type": {
|
|
34636
|
+
"text": "boolean"
|
|
34637
|
+
},
|
|
34638
|
+
"privacy": "private",
|
|
34639
|
+
"default": "false",
|
|
34640
|
+
"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.",
|
|
34641
|
+
"inheritedFrom": {
|
|
34642
|
+
"name": "MixinTokens",
|
|
34643
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
34644
|
+
}
|
|
34645
|
+
},
|
|
34646
|
+
{
|
|
34647
|
+
"kind": "field",
|
|
34648
|
+
"name": "shownLimit",
|
|
34649
|
+
"type": {
|
|
34650
|
+
"text": "number"
|
|
34651
|
+
},
|
|
34652
|
+
"privacy": "protected",
|
|
34653
|
+
"readonly": true,
|
|
34654
|
+
"inheritedFrom": {
|
|
34655
|
+
"name": "MixinTokens",
|
|
34656
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
34657
|
+
}
|
|
34658
|
+
},
|
|
34659
|
+
{
|
|
34660
|
+
"kind": "field",
|
|
34661
|
+
"name": "toggleExpanded",
|
|
34662
|
+
"privacy": "private",
|
|
34663
|
+
"readonly": true,
|
|
34664
|
+
"description": "Turns the cap off and on, which is all expanding is.",
|
|
34665
|
+
"inheritedFrom": {
|
|
34666
|
+
"name": "MixinTokens",
|
|
34667
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
34668
|
+
}
|
|
34669
|
+
},
|
|
34448
34670
|
{
|
|
34449
34671
|
"kind": "method",
|
|
34450
34672
|
"name": "renderTokenRow",
|
|
@@ -34473,6 +34695,29 @@
|
|
|
34473
34695
|
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
34474
34696
|
}
|
|
34475
34697
|
},
|
|
34698
|
+
{
|
|
34699
|
+
"kind": "method",
|
|
34700
|
+
"name": "renderRest",
|
|
34701
|
+
"privacy": "private",
|
|
34702
|
+
"return": {
|
|
34703
|
+
"type": {
|
|
34704
|
+
"text": "TemplateResult | typeof nothing"
|
|
34705
|
+
}
|
|
34706
|
+
},
|
|
34707
|
+
"parameters": [
|
|
34708
|
+
{
|
|
34709
|
+
"name": "over",
|
|
34710
|
+
"type": {
|
|
34711
|
+
"text": "number"
|
|
34712
|
+
}
|
|
34713
|
+
}
|
|
34714
|
+
],
|
|
34715
|
+
"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.",
|
|
34716
|
+
"inheritedFrom": {
|
|
34717
|
+
"name": "MixinTokens",
|
|
34718
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
34719
|
+
}
|
|
34720
|
+
},
|
|
34476
34721
|
{
|
|
34477
34722
|
"kind": "method",
|
|
34478
34723
|
"name": "hideOverflow",
|
|
@@ -35445,6 +35690,10 @@
|
|
|
35445
35690
|
"description": "Backspace on an empty field asks the same way the close control does.",
|
|
35446
35691
|
"slug": "dismissing"
|
|
35447
35692
|
},
|
|
35693
|
+
{
|
|
35694
|
+
"description": "A capped row whose count opens it, and closes it again.",
|
|
35695
|
+
"slug": "expandable"
|
|
35696
|
+
},
|
|
35448
35697
|
{
|
|
35449
35698
|
"description": "A cap for a field in a row, where the rest becomes a count.",
|
|
35450
35699
|
"slug": "max-tags"
|
|
@@ -35455,6 +35704,45 @@
|
|
|
35455
35704
|
"tagName": "helix-filter-input",
|
|
35456
35705
|
"customElement": true,
|
|
35457
35706
|
"attributes": [
|
|
35707
|
+
{
|
|
35708
|
+
"name": "collapse-label",
|
|
35709
|
+
"type": {
|
|
35710
|
+
"text": "string"
|
|
35711
|
+
},
|
|
35712
|
+
"default": "'Show fewer'",
|
|
35713
|
+
"description": "What the control says once everything is showing.",
|
|
35714
|
+
"fieldName": "collapseLabel",
|
|
35715
|
+
"inheritedFrom": {
|
|
35716
|
+
"name": "MixinTokens",
|
|
35717
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
35718
|
+
}
|
|
35719
|
+
},
|
|
35720
|
+
{
|
|
35721
|
+
"name": "expandable",
|
|
35722
|
+
"type": {
|
|
35723
|
+
"text": "boolean"
|
|
35724
|
+
},
|
|
35725
|
+
"default": "false",
|
|
35726
|
+
"description": "Whether the count is a control that shows the rest.",
|
|
35727
|
+
"fieldName": "expandable",
|
|
35728
|
+
"inheritedFrom": {
|
|
35729
|
+
"name": "MixinTokens",
|
|
35730
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
35731
|
+
}
|
|
35732
|
+
},
|
|
35733
|
+
{
|
|
35734
|
+
"name": "expand-label",
|
|
35735
|
+
"type": {
|
|
35736
|
+
"text": "string"
|
|
35737
|
+
},
|
|
35738
|
+
"default": "'Show all'",
|
|
35739
|
+
"description": "What the collapsed count is called, since `+3` names nothing.",
|
|
35740
|
+
"fieldName": "expandLabel",
|
|
35741
|
+
"inheritedFrom": {
|
|
35742
|
+
"name": "MixinTokens",
|
|
35743
|
+
"module": "src/mixins/mixin-tokens/mixin-tokens.ts"
|
|
35744
|
+
}
|
|
35745
|
+
},
|
|
35458
35746
|
{
|
|
35459
35747
|
"name": "max-tags",
|
|
35460
35748
|
"type": {
|
|
@@ -35725,7 +36013,7 @@
|
|
|
35725
36013
|
}
|
|
35726
36014
|
},
|
|
35727
36015
|
{
|
|
35728
|
-
"description": "How many tokens did not fit.",
|
|
36016
|
+
"description": "How many tokens did not fit. A `<button>` with `expandable`, a `<span>` without it.",
|
|
35729
36017
|
"name": "rest",
|
|
35730
36018
|
"inheritedFrom": {
|
|
35731
36019
|
"name": "HelixHeadlessFilterInput",
|
|
@@ -3,6 +3,11 @@ export const styles = createSheet(`[part="tags"] {
|
|
|
3
3
|
display: contents;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
|
+
:where(button)[part="rest"] {
|
|
7
|
+
all: unset;
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
}
|
|
10
|
+
|
|
6
11
|
[part="rest"] {
|
|
7
12
|
align-self: center;
|
|
8
13
|
color: var(--helix-color-foreground-subtle);
|
|
@@ -11,4 +16,19 @@ font-family: var(--helix-font-sans);
|
|
|
11
16
|
font-size: var(--helix-text-xs);
|
|
12
17
|
font-weight: var(--helix-weight-medium);
|
|
13
18
|
white-space: nowrap;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
button[part="rest"] {
|
|
22
|
+
border-radius: var(--helix-radii-sm);
|
|
23
|
+
cursor: pointer;
|
|
24
|
+
transition: color var(--helix-duration-fast) var(--helix-easing-standard);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
button[part="rest"]:hover {
|
|
28
|
+
color: var(--helix-color-foreground);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
button[part="rest"]:focus-visible {
|
|
32
|
+
outline: var(--helix-size-focus-ring) solid var(--helix-color-focus-ring);
|
|
33
|
+
outline-offset: var(--helix-size-focus-offset);
|
|
14
34
|
}`);
|
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.14.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.14.0",
|
|
50
|
+
"@fusion.dev/helix-headless": "0.14.0",
|
|
51
|
+
"@fusion.dev/helix-styles": "0.14.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.14.0",
|
|
56
|
+
"@fusion.dev/helix-testing": "0.14.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
|
@@ -4068,6 +4068,16 @@ the resolved state for stylesheets, which is what the mirror is for. */
|
|
|
4068
4068
|
"default-open"?: (HelixCombobox["defaultOpen"]) | undefined;
|
|
4069
4069
|
/** Initial open state for uncontrolled use, where nothing declared one. */
|
|
4070
4070
|
defaultOpen?: (HelixCombobox["defaultOpen"]) | undefined;
|
|
4071
|
+
/** What the control says once everything is showing. */
|
|
4072
|
+
"collapse-label"?: (HelixCombobox["collapseLabel"]) | undefined;
|
|
4073
|
+
/** What the control says once everything is showing. */
|
|
4074
|
+
collapseLabel?: (HelixCombobox["collapseLabel"]) | undefined;
|
|
4075
|
+
/** Whether the count is a control that shows the rest. */
|
|
4076
|
+
expandable?: (HelixCombobox["expandable"]) | undefined;
|
|
4077
|
+
/** What the collapsed count is called, since `+3` names nothing. */
|
|
4078
|
+
"expand-label"?: (HelixCombobox["expandLabel"]) | undefined;
|
|
4079
|
+
/** What the collapsed count is called, since `+3` names nothing. */
|
|
4080
|
+
expandLabel?: (HelixCombobox["expandLabel"]) | undefined;
|
|
4071
4081
|
/** How many tokens to show before the rest become a count. */
|
|
4072
4082
|
"max-tags"?: (HelixCombobox["maxTags"]) | undefined;
|
|
4073
4083
|
/** How many tokens to show before the rest become a count. */
|
|
@@ -4222,6 +4232,16 @@ the resolved state for stylesheets, which is what the mirror is for. */
|
|
|
4222
4232
|
"bool:default-open"?: (HelixCombobox["defaultOpen"]) | undefined;
|
|
4223
4233
|
/** Initial open state for uncontrolled use, where nothing declared one. */
|
|
4224
4234
|
"prop:defaultOpen"?: (HelixCombobox["defaultOpen"]) | undefined;
|
|
4235
|
+
/** What the control says once everything is showing. */
|
|
4236
|
+
"attr:collapse-label"?: (HelixCombobox["collapseLabel"]) | undefined;
|
|
4237
|
+
/** What the control says once everything is showing. */
|
|
4238
|
+
"prop:collapseLabel"?: (HelixCombobox["collapseLabel"]) | undefined;
|
|
4239
|
+
/** Whether the count is a control that shows the rest. */
|
|
4240
|
+
"prop:expandable"?: (HelixCombobox["expandable"]) | undefined;
|
|
4241
|
+
/** What the collapsed count is called, since `+3` names nothing. */
|
|
4242
|
+
"attr:expand-label"?: (HelixCombobox["expandLabel"]) | undefined;
|
|
4243
|
+
/** What the collapsed count is called, since `+3` names nothing. */
|
|
4244
|
+
"prop:expandLabel"?: (HelixCombobox["expandLabel"]) | undefined;
|
|
4225
4245
|
/** How many tokens to show before the rest become a count. */
|
|
4226
4246
|
"attr:max-tags"?: (HelixCombobox["maxTags"]) | undefined;
|
|
4227
4247
|
/** How many tokens to show before the rest become a count. */
|
|
@@ -6959,6 +6979,16 @@ export type HelixFilterInputHelixBeforeChangeElementEvent =
|
|
|
6959
6979
|
HelixFilterInputElementEvent<HelixBeforeChangeEvent>;
|
|
6960
6980
|
|
|
6961
6981
|
export type HelixFilterInputProps = {
|
|
6982
|
+
/** What the control says once everything is showing. */
|
|
6983
|
+
"collapse-label"?: (HelixFilterInput["collapseLabel"]) | undefined;
|
|
6984
|
+
/** What the control says once everything is showing. */
|
|
6985
|
+
collapseLabel?: (HelixFilterInput["collapseLabel"]) | undefined;
|
|
6986
|
+
/** Whether the count is a control that shows the rest. */
|
|
6987
|
+
expandable?: (HelixFilterInput["expandable"]) | undefined;
|
|
6988
|
+
/** What the collapsed count is called, since `+3` names nothing. */
|
|
6989
|
+
"expand-label"?: (HelixFilterInput["expandLabel"]) | undefined;
|
|
6990
|
+
/** What the collapsed count is called, since `+3` names nothing. */
|
|
6991
|
+
expandLabel?: (HelixFilterInput["expandLabel"]) | undefined;
|
|
6962
6992
|
/** How many tokens to show before the rest become a count. */
|
|
6963
6993
|
"max-tags"?: (HelixFilterInput["maxTags"]) | undefined;
|
|
6964
6994
|
/** How many tokens to show before the rest become a count. */
|
|
@@ -7035,6 +7065,16 @@ Here rather than on each control. */
|
|
|
7035
7065
|
};
|
|
7036
7066
|
|
|
7037
7067
|
export type HelixFilterInputSolidJsProps = {
|
|
7068
|
+
/** What the control says once everything is showing. */
|
|
7069
|
+
"attr:collapse-label"?: (HelixFilterInput["collapseLabel"]) | undefined;
|
|
7070
|
+
/** What the control says once everything is showing. */
|
|
7071
|
+
"prop:collapseLabel"?: (HelixFilterInput["collapseLabel"]) | undefined;
|
|
7072
|
+
/** Whether the count is a control that shows the rest. */
|
|
7073
|
+
"prop:expandable"?: (HelixFilterInput["expandable"]) | undefined;
|
|
7074
|
+
/** What the collapsed count is called, since `+3` names nothing. */
|
|
7075
|
+
"attr:expand-label"?: (HelixFilterInput["expandLabel"]) | undefined;
|
|
7076
|
+
/** What the collapsed count is called, since `+3` names nothing. */
|
|
7077
|
+
"prop:expandLabel"?: (HelixFilterInput["expandLabel"]) | undefined;
|
|
7038
7078
|
/** How many tokens to show before the rest become a count. */
|
|
7039
7079
|
"attr:max-tags"?: (HelixFilterInput["maxTags"]) | undefined;
|
|
7040
7080
|
/** How many tokens to show before the rest become a count. */
|
|
@@ -21424,6 +21464,9 @@ export type CustomElements = {
|
|
|
21424
21464
|
* last reader did rather than what the author wrote. `:state(open)` carries
|
|
21425
21465
|
* the resolved state for stylesheets, which is what the mirror is for.
|
|
21426
21466
|
* - `default-open`/`defaultOpen`: Initial open state for uncontrolled use, where nothing declared one.
|
|
21467
|
+
* - `collapse-label`/`collapseLabel`: What the control says once everything is showing.
|
|
21468
|
+
* - `expandable`: Whether the count is a control that shows the rest.
|
|
21469
|
+
* - `expand-label`/`expandLabel`: What the collapsed count is called, since `+3` names nothing.
|
|
21427
21470
|
* - `max-tags`/`maxTags`: How many tokens to show before the rest become a count.
|
|
21428
21471
|
* - `default-value`/`defaultValue`: The value the markup declared, which is where a reset returns to.
|
|
21429
21472
|
* - `value`: What the control holds now, and what its form submits.
|
|
@@ -21642,7 +21685,7 @@ export type CustomElements = {
|
|
|
21642
21685
|
* - `listbox-loading`: Shown while the options are still on their way.
|
|
21643
21686
|
* - `listbox-search`: The region holding the field that narrows the list.
|
|
21644
21687
|
* - `listbox-search-field`: The field itself.
|
|
21645
|
-
* - `rest`: The count of choices held beyond `max-tags`.
|
|
21688
|
+
* - `rest`: The count of choices held beyond `max-tags`. A `<button>` with `expandable`, a `<span>` without it.
|
|
21646
21689
|
* - `surface`: The floating panel.
|
|
21647
21690
|
* - `tag`: One chosen option.
|
|
21648
21691
|
* - `tag-dismiss`: The remove button, when `dismissible`.
|
|
@@ -23720,6 +23763,9 @@ export type CustomElements = {
|
|
|
23720
23763
|
*
|
|
23721
23764
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
23722
23765
|
*
|
|
23766
|
+
* - `collapse-label`/`collapseLabel`: What the control says once everything is showing.
|
|
23767
|
+
* - `expandable`: Whether the count is a control that shows the rest.
|
|
23768
|
+
* - `expand-label`/`expandLabel`: What the collapsed count is called, since `+3` names nothing.
|
|
23723
23769
|
* - `max-tags`/`maxTags`: How many tokens to show before the rest become a count.
|
|
23724
23770
|
* - `default-value`/`defaultValue`: The value the markup declared, which is where a reset returns to.
|
|
23725
23771
|
* - `value`: What the control holds now, and what its form submits.
|
|
@@ -23877,7 +23923,7 @@ export type CustomElements = {
|
|
|
23877
23923
|
* - `field`: The box holding everything.
|
|
23878
23924
|
* - `hint`: Help under the field, while nothing is wrong.
|
|
23879
23925
|
* - `label`: The question, over the field.
|
|
23880
|
-
* - `rest`: How many tokens did not fit.
|
|
23926
|
+
* - `rest`: How many tokens did not fit. A `<button>` with `expandable`, a `<span>` without it.
|
|
23881
23927
|
* - `tags`: The row the tokens sit in.
|
|
23882
23928
|
*/
|
|
23883
23929
|
"helix-filter-input": Partial<
|
|
@@ -37377,6 +37423,9 @@ export type CustomElementsSolidJs = {
|
|
|
37377
37423
|
* last reader did rather than what the author wrote. `:state(open)` carries
|
|
37378
37424
|
* the resolved state for stylesheets, which is what the mirror is for.
|
|
37379
37425
|
* - `default-open`/`defaultOpen`: Initial open state for uncontrolled use, where nothing declared one.
|
|
37426
|
+
* - `collapse-label`/`collapseLabel`: What the control says once everything is showing.
|
|
37427
|
+
* - `expandable`: Whether the count is a control that shows the rest.
|
|
37428
|
+
* - `expand-label`/`expandLabel`: What the collapsed count is called, since `+3` names nothing.
|
|
37380
37429
|
* - `max-tags`/`maxTags`: How many tokens to show before the rest become a count.
|
|
37381
37430
|
* - `default-value`/`defaultValue`: The value the markup declared, which is where a reset returns to.
|
|
37382
37431
|
* - `value`: What the control holds now, and what its form submits.
|
|
@@ -37595,7 +37644,7 @@ export type CustomElementsSolidJs = {
|
|
|
37595
37644
|
* - `listbox-loading`: Shown while the options are still on their way.
|
|
37596
37645
|
* - `listbox-search`: The region holding the field that narrows the list.
|
|
37597
37646
|
* - `listbox-search-field`: The field itself.
|
|
37598
|
-
* - `rest`: The count of choices held beyond `max-tags`.
|
|
37647
|
+
* - `rest`: The count of choices held beyond `max-tags`. A `<button>` with `expandable`, a `<span>` without it.
|
|
37599
37648
|
* - `surface`: The floating panel.
|
|
37600
37649
|
* - `tag`: One chosen option.
|
|
37601
37650
|
* - `tag-dismiss`: The remove button, when `dismissible`.
|
|
@@ -39717,6 +39766,9 @@ export type CustomElementsSolidJs = {
|
|
|
39717
39766
|
*
|
|
39718
39767
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
39719
39768
|
*
|
|
39769
|
+
* - `collapse-label`/`collapseLabel`: What the control says once everything is showing.
|
|
39770
|
+
* - `expandable`: Whether the count is a control that shows the rest.
|
|
39771
|
+
* - `expand-label`/`expandLabel`: What the collapsed count is called, since `+3` names nothing.
|
|
39720
39772
|
* - `max-tags`/`maxTags`: How many tokens to show before the rest become a count.
|
|
39721
39773
|
* - `default-value`/`defaultValue`: The value the markup declared, which is where a reset returns to.
|
|
39722
39774
|
* - `value`: What the control holds now, and what its form submits.
|
|
@@ -39874,7 +39926,7 @@ export type CustomElementsSolidJs = {
|
|
|
39874
39926
|
* - `field`: The box holding everything.
|
|
39875
39927
|
* - `hint`: Help under the field, while nothing is wrong.
|
|
39876
39928
|
* - `label`: The question, over the field.
|
|
39877
|
-
* - `rest`: How many tokens did not fit.
|
|
39929
|
+
* - `rest`: How many tokens did not fit. A `<button>` with `expandable`, a `<span>` without it.
|
|
39878
39930
|
* - `tags`: The row the tokens sit in.
|
|
39879
39931
|
*/
|
|
39880
39932
|
"helix-filter-input": Partial<
|
package/types/vue.d.ts
CHANGED
|
@@ -2095,6 +2095,16 @@ the resolved state for stylesheets, which is what the mirror is for. */
|
|
|
2095
2095
|
"default-open"?: (HelixCombobox["defaultOpen"]) | undefined;
|
|
2096
2096
|
/** Initial open state for uncontrolled use, where nothing declared one. */
|
|
2097
2097
|
defaultOpen?: (HelixCombobox["defaultOpen"]) | undefined;
|
|
2098
|
+
/** What the control says once everything is showing. */
|
|
2099
|
+
"collapse-label"?: (HelixCombobox["collapseLabel"]) | undefined;
|
|
2100
|
+
/** What the control says once everything is showing. */
|
|
2101
|
+
collapseLabel?: (HelixCombobox["collapseLabel"]) | undefined;
|
|
2102
|
+
/** Whether the count is a control that shows the rest. */
|
|
2103
|
+
expandable?: (HelixCombobox["expandable"]) | undefined;
|
|
2104
|
+
/** What the collapsed count is called, since `+3` names nothing. */
|
|
2105
|
+
"expand-label"?: (HelixCombobox["expandLabel"]) | undefined;
|
|
2106
|
+
/** What the collapsed count is called, since `+3` names nothing. */
|
|
2107
|
+
expandLabel?: (HelixCombobox["expandLabel"]) | undefined;
|
|
2098
2108
|
/** How many tokens to show before the rest become a count. */
|
|
2099
2109
|
"max-tags"?: (HelixCombobox["maxTags"]) | undefined;
|
|
2100
2110
|
/** How many tokens to show before the rest become a count. */
|
|
@@ -3570,6 +3580,16 @@ export type HelixFilterInputHelixBeforeChangeElementEvent =
|
|
|
3570
3580
|
HelixFilterInputElementEvent<HelixBeforeChangeEvent>;
|
|
3571
3581
|
|
|
3572
3582
|
export type HelixFilterInputVueProps = {
|
|
3583
|
+
/** What the control says once everything is showing. */
|
|
3584
|
+
"collapse-label"?: (HelixFilterInput["collapseLabel"]) | undefined;
|
|
3585
|
+
/** What the control says once everything is showing. */
|
|
3586
|
+
collapseLabel?: (HelixFilterInput["collapseLabel"]) | undefined;
|
|
3587
|
+
/** Whether the count is a control that shows the rest. */
|
|
3588
|
+
expandable?: (HelixFilterInput["expandable"]) | undefined;
|
|
3589
|
+
/** What the collapsed count is called, since `+3` names nothing. */
|
|
3590
|
+
"expand-label"?: (HelixFilterInput["expandLabel"]) | undefined;
|
|
3591
|
+
/** What the collapsed count is called, since `+3` names nothing. */
|
|
3592
|
+
expandLabel?: (HelixFilterInput["expandLabel"]) | undefined;
|
|
3573
3593
|
/** How many tokens to show before the rest become a count. */
|
|
3574
3594
|
"max-tags"?: (HelixFilterInput["maxTags"]) | undefined;
|
|
3575
3595
|
/** How many tokens to show before the rest become a count. */
|