@wix/himalaya-cli 0.1539.0 → 0.1540.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/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +5 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +7 -0
- package/dist/cli.mjs +2185 -1826
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/component-reference.json +5 -3
- package/guides/component-reference.md +8 -1
- package/guides/himi-json-output.md +7 -0
- package/guides/recipe-search.md +9 -7
- package/guides/release-notes.md +17 -0
- package/guides/templates.md +19 -0
- package/package.json +2 -2
- package/stdlib/design-kits/dark-luxe.json +4 -0
- package/templates/branded-lite/tokens.json +1 -1
- package/templates/brandy/tokens.json +1 -1
- package/templates/podcast-creator/tokens.json +4 -4
- package/templates/podcast-creator-owner/tokens.json +4 -4
- package/templates/restaurant/tokens.json +4 -4
|
@@ -674,6 +674,8 @@ export interface TextFieldShape {
|
|
|
674
674
|
errorPath?: string;
|
|
675
675
|
/** Literal error, for a server-rendered screen with no worker to bind. */
|
|
676
676
|
errorText?: string;
|
|
677
|
+
/** `onChange` fires after this many ms of idle typing; 0 or unset = every change. */
|
|
678
|
+
debounceMs?: number;
|
|
677
679
|
}
|
|
678
680
|
export declare function form(props: {
|
|
679
681
|
id: string;
|
|
@@ -853,7 +855,10 @@ export declare function searchField(props: {
|
|
|
853
855
|
value?: string;
|
|
854
856
|
onChange?: ActionShape;
|
|
855
857
|
onSubmit?: ActionShape;
|
|
858
|
+
/** 0 or less (or unset) = 250 ms. */
|
|
856
859
|
debounceMs?: number;
|
|
860
|
+
/** "$service:" binding → a focus TOKEN (`textField` `focusPath` semantics). */
|
|
861
|
+
focusPath?: string;
|
|
857
862
|
}, opts?: {
|
|
858
863
|
id?: string;
|
|
859
864
|
}): Component;
|
package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts
CHANGED
|
@@ -863,6 +863,9 @@ export interface TextFieldProps {
|
|
|
863
863
|
errorText?: string;
|
|
864
864
|
/** Opt-in accessible show/hide button. Only applies to secure fields; initially masked. */
|
|
865
865
|
visibilityToggle?: boolean;
|
|
866
|
+
/** `onChange` fires after this many ms of idle typing. 0 or unset = every change.
|
|
867
|
+
* A submit fires a pending debounced `onChange` first (RFC 0010 "Native top-bar search"). */
|
|
868
|
+
debounceMs?: number;
|
|
866
869
|
}
|
|
867
870
|
export interface ToggleProps {
|
|
868
871
|
label?: string;
|
|
@@ -1194,7 +1197,11 @@ export interface SearchFieldProps {
|
|
|
1194
1197
|
value?: string;
|
|
1195
1198
|
onChange?: Action;
|
|
1196
1199
|
onSubmit?: Action;
|
|
1200
|
+
/** `onChange` fires after this many ms of idle typing; 0 or less (or unset) = 250 ms.
|
|
1201
|
+
* A submit fires a pending debounced `onChange` first. */
|
|
1197
1202
|
debounceMs?: number;
|
|
1203
|
+
/** `$service:` binding → a focus TOKEN; `TextFieldProps.focusPath` semantics. */
|
|
1204
|
+
focusPath?: string;
|
|
1198
1205
|
}
|
|
1199
1206
|
export interface FilterChip {
|
|
1200
1207
|
id: string;
|