@fusion.dev/helix 0.13.2 → 0.15.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 +806 -69
- package/dist/element-events.generated.js +8 -1
- package/dist/filter-input/root/filter-input-root.css.js +64 -0
- package/dist/filter-input/root/filter-input-root.d.ts +13 -0
- package/dist/filter-input/root/filter-input-root.js +1 -0
- package/dist/shared/tags/tags.css.js +20 -0
- package/package.json +6 -6
- package/types/jsx.d.ts +228 -4
- package/types/vue.d.ts +58 -1
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. */
|
|
@@ -3568,8 +3578,41 @@ export type HelixFilterInputElementEvent<E = Event> = TypedEvent<
|
|
|
3568
3578
|
/** `helix-before-change` event type */
|
|
3569
3579
|
export type HelixFilterInputHelixBeforeChangeElementEvent =
|
|
3570
3580
|
HelixFilterInputElementEvent<HelixBeforeChangeEvent>;
|
|
3581
|
+
/** `helix-before-close` event type */
|
|
3582
|
+
export type HelixFilterInputHelixBeforeCloseElementEvent =
|
|
3583
|
+
HelixFilterInputElementEvent<HelixBeforeCloseEvent>;
|
|
3584
|
+
/** `helix-before-open` event type */
|
|
3585
|
+
export type HelixFilterInputHelixBeforeOpenElementEvent =
|
|
3586
|
+
HelixFilterInputElementEvent<HelixBeforeOpenEvent>;
|
|
3571
3587
|
|
|
3572
3588
|
export type HelixFilterInputVueProps = {
|
|
3589
|
+
/** Whether the element is open.
|
|
3590
|
+
|
|
3591
|
+
One property, not two, so `dialog.open` answers the question anyone
|
|
3592
|
+
asking it meant. Writing always applies; `<helix-dialog open>` is the
|
|
3593
|
+
same statement in markup.
|
|
3594
|
+
|
|
3595
|
+
**Not reflected, and that is required rather than tidy.** Reflection
|
|
3596
|
+
writes the resolved state back as an attribute, so an element that opened
|
|
3597
|
+
itself would put `open` on its own host: cloned, serialized for
|
|
3598
|
+
hydration, or diffed by a framework, it comes back holding whatever the
|
|
3599
|
+
last reader did rather than what the author wrote. `:state(open)` carries
|
|
3600
|
+
the resolved state for stylesheets, which is what the mirror is for. */
|
|
3601
|
+
open?: (HelixFilterInput["open"]) | undefined;
|
|
3602
|
+
/** Initial open state for uncontrolled use, where nothing declared one. */
|
|
3603
|
+
"default-open"?: (HelixFilterInput["defaultOpen"]) | undefined;
|
|
3604
|
+
/** Initial open state for uncontrolled use, where nothing declared one. */
|
|
3605
|
+
defaultOpen?: (HelixFilterInput["defaultOpen"]) | undefined;
|
|
3606
|
+
/** What the control says once everything is showing. */
|
|
3607
|
+
"collapse-label"?: (HelixFilterInput["collapseLabel"]) | undefined;
|
|
3608
|
+
/** What the control says once everything is showing. */
|
|
3609
|
+
collapseLabel?: (HelixFilterInput["collapseLabel"]) | undefined;
|
|
3610
|
+
/** Whether the count is a control that shows the rest. */
|
|
3611
|
+
expandable?: (HelixFilterInput["expandable"]) | undefined;
|
|
3612
|
+
/** What the collapsed count is called, since `+3` names nothing. */
|
|
3613
|
+
"expand-label"?: (HelixFilterInput["expandLabel"]) | undefined;
|
|
3614
|
+
/** What the collapsed count is called, since `+3` names nothing. */
|
|
3615
|
+
expandLabel?: (HelixFilterInput["expandLabel"]) | undefined;
|
|
3573
3616
|
/** How many tokens to show before the rest become a count. */
|
|
3574
3617
|
"max-tags"?: (HelixFilterInput["maxTags"]) | undefined;
|
|
3575
3618
|
/** How many tokens to show before the rest become a count. */
|
|
@@ -3643,6 +3686,12 @@ export type HelixFilterInputVueEvents = {
|
|
|
3643
3686
|
change: HelixFilterInputElementEvent;
|
|
3644
3687
|
/** Fired as the text changes, and cancelable. */
|
|
3645
3688
|
"helix-before-change": HelixFilterInputHelixBeforeChangeElementEvent;
|
|
3689
|
+
/** Fired before the suggestions go, and cancelable. */
|
|
3690
|
+
"helix-before-close": HelixFilterInputHelixBeforeCloseElementEvent;
|
|
3691
|
+
/** Fired before the suggestions show, and cancelable. */
|
|
3692
|
+
"helix-before-open": HelixFilterInputHelixBeforeOpenElementEvent;
|
|
3693
|
+
/** Says the panel moved, carrying `newState` and `oldState`. */
|
|
3694
|
+
toggle: HelixFilterInputElementEvent;
|
|
3646
3695
|
};
|
|
3647
3696
|
|
|
3648
3697
|
export type HelixFlexVueProps = {
|
|
@@ -9649,8 +9698,16 @@ export type CustomCssProperties = {
|
|
|
9649
9698
|
"--file-input-padding"?: (string) | undefined;
|
|
9650
9699
|
/** Fill behind the field. */
|
|
9651
9700
|
"--filter-input-background-color"?: (string) | undefined;
|
|
9701
|
+
/** Color of the suggestion panel's edge. */
|
|
9702
|
+
"--filter-input-border-color"?: (string) | undefined;
|
|
9703
|
+
/** Width of that edge. Follows `--helix-border-floating`. */
|
|
9704
|
+
"--filter-input-border-width"?: (string) | undefined;
|
|
9652
9705
|
/** Smallest the text keeps as tokens fill the line, before it wraps to its own. */
|
|
9653
9706
|
"--filter-input-control-size"?: (string) | undefined;
|
|
9707
|
+
/** Width of the suggestion panel. Follows the field by default. */
|
|
9708
|
+
"--filter-input-panel-size"?: (string) | undefined;
|
|
9709
|
+
/** Lift under the panel. Follows `--helix-shadow-floating`: a floating surface sits over content nobody can predict, so it keeps a lift by default. */
|
|
9710
|
+
"--filter-input-shadow"?: (string) | undefined;
|
|
9654
9711
|
/** Height of the field with nothing in it, which it grows from. */
|
|
9655
9712
|
"--filter-input-size"?: (string) | undefined;
|
|
9656
9713
|
/** An explicit track list, which wins over `min` and `columns`. For a layout of unequal tracks, which neither attribute can say. */
|
|
@@ -10467,7 +10524,7 @@ export interface WcToolkitVueGlobalComponents {
|
|
|
10467
10524
|
HelixFileInputVueProps,
|
|
10468
10525
|
HelixFileInputVueEvents
|
|
10469
10526
|
>;
|
|
10470
|
-
/** The frame is the field rather than the input, so the tokens sit inside the same box as the text and the focus ring is drawn once around the whole control. It grows down a line at a time as tokens are added, which is the arrangement Combobox takes when it is holding a selection. **The tokens are the consumer's own elements**, so the only thing said about them here is to keep their size and not run past the field. A 'Tag' slotted into 'tags' already looks like one; anything else looks like whatever it is. Height comes from the region, like every other control: 'data-density' on whatever holds it, not a 'size' here. */
|
|
10527
|
+
/** The frame is the field rather than the input, so the tokens sit inside the same box as the text and the focus ring is drawn once around the whole control. It grows down a line at a time as tokens are added, which is the arrangement Combobox takes when it is holding a selection. **The tokens are the consumer's own elements**, so the only thing said about them here is to keep their size and not run past the field. A 'Tag' slotted into 'tags' already looks like one; anything else looks like whatever it is. **The suggestion panel is this element's own box, not a listbox's.** Combobox puts a 'helix-listbox' in its panel because the options there are a selection it owns; these are the consumer's suggestions, so the panel is a plain 'role="listbox"' region and the options pass their own 'helix-select' straight through it. That is why this surface scrolls where Combobox's does not: there is no list inside to do it. Height comes from the region, like every other control: 'data-density' on whatever holds it, not a 'size' here. */
|
|
10471
10528
|
"helix-filter-input": DefineCustomElement<
|
|
10472
10529
|
HelixFilterInput,
|
|
10473
10530
|
HelixFilterInputVueProps,
|