@wix/himalaya-cli 0.1383.0 → 0.1384.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 +9 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +13 -2
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/validator.d.ts +2 -2
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +2 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +2 -1
- package/dist/cli.mjs +536 -38
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/component-reference.json +1 -1
- package/guides/component-reference.md +12 -1
- package/package.json +2 -2
|
@@ -926,8 +926,16 @@ export declare function bottomSheet(props: {
|
|
|
926
926
|
presentedPath?: string;
|
|
927
927
|
edge?: "bottom" | "leading" | "trailing";
|
|
928
928
|
/** RFC 0058 §4 — trap focus and hide the rest of the tree from AT while presented.
|
|
929
|
-
* Tri-state: absent takes the BottomSheet default (modal), `false` opts out
|
|
929
|
+
* Tri-state: absent takes the BottomSheet default (modal), `false` opts out — and, since
|
|
930
|
+
* RFC 0068, drops the scrim: the sheet is non-blocking and the screen stays usable. */
|
|
930
931
|
modal?: boolean;
|
|
932
|
+
/** RFC 0068 — `"overlay"` (default) floats over the screen and the tab bar; `"inline"` sits
|
|
933
|
+
* directly above the tab bar. `"inline"` needs `modal: false`. */
|
|
934
|
+
placement?: "overlay" | "inline";
|
|
935
|
+
/** RFC 0068 — close after this many ms; the renderer owns the countdown. Needs `modal: false`. */
|
|
936
|
+
autoDismissMs?: number;
|
|
937
|
+
/** RFC 0068 — accessible name of a non-modal sheet, announced as an alert when it presents. */
|
|
938
|
+
label?: string;
|
|
931
939
|
}, opts?: {
|
|
932
940
|
id?: string;
|
|
933
941
|
}): Component;
|
package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts
CHANGED
|
@@ -400,7 +400,7 @@ export type LiveRegionTrigger = "on_change" | "on_appear" | "both" | "none";
|
|
|
400
400
|
/** RFC 0058 §3.2 — the role AT announces for a node. The union of what iOS,
|
|
401
401
|
* Android, web and React Native can express; an arm that cannot express a role
|
|
402
402
|
* exactly falls back to the nearest one it has. */
|
|
403
|
-
export type AccessibilityRole = "decorative" | "text" | "heading" | "image" | "button" | "link" | "toggle" | "checkbox" | "radio" | "tab" | "tablist" | "adjustable" | "search" | "textfield" | "combobox" | "list" | "listitem" | "menu" | "menuitem" | "dialog" | "alert" | "progressbar" | "summary" | "status" | "group" | "grid" | "gridcell";
|
|
403
|
+
export type AccessibilityRole = "decorative" | "text" | "heading" | "image" | "button" | "link" | "toggle" | "checkbox" | "radio" | "tab" | "tablist" | "adjustable" | "search" | "textfield" | "combobox" | "list" | "listitem" | "menu" | "menuitem" | "dialog" | "alert" | "progressbar" | "summary" | "status" | "group" | "grid" | "gridcell" | "region";
|
|
404
404
|
/** RFC 0058 §3.2 — additive, orthogonal state a single role cannot carry. */
|
|
405
405
|
export type AccessibilityTrait = "selected" | "disabled" | "updates_frequently" | "plays_sound" | "starts_media";
|
|
406
406
|
/** Motion grammar (Phase-3) — drag-to-dismiss config (see `Modifiers.swipeDismiss`). */
|
|
@@ -1314,8 +1314,19 @@ export interface BottomSheetProps {
|
|
|
1314
1314
|
/** RFC 0058 §4 — the overlay traps focus and hides the rest of the tree from AT while
|
|
1315
1315
|
* presented (iOS `accessibilityViewIsModal`, Android `isTraversalGroup`, ARIA
|
|
1316
1316
|
* `aria-modal`). TRI-STATE: absent takes this component's default (**true**), an
|
|
1317
|
-
* explicit `false` opts it out.
|
|
1317
|
+
* explicit `false` opts it out. Since RFC 0068 an explicit `false` also drops the scrim: the
|
|
1318
|
+
* sheet is non-blocking and the screen behind it stays usable. */
|
|
1318
1319
|
modal?: boolean;
|
|
1320
|
+
/** RFC 0068 — where the sheet is drawn. `"overlay"` (default) floats over the screen and the
|
|
1321
|
+
* tab bar; `"inline"` draws it over the bottom of the content region, directly above the tab
|
|
1322
|
+
* bar. `"inline"` needs `modal: false`. */
|
|
1323
|
+
placement?: "overlay" | "inline";
|
|
1324
|
+
/** RFC 0068 — > 0 closes the sheet after this many milliseconds, with the countdown owned by
|
|
1325
|
+
* the RENDERER (no worker timer). Interaction inside the sheet pauses it; a drag up to a larger
|
|
1326
|
+
* detent cancels it. Needs `modal: false`. */
|
|
1327
|
+
autoDismissMs?: number;
|
|
1328
|
+
/** RFC 0068 — accessible name of a non-modal sheet, announced as an alert when it presents. */
|
|
1329
|
+
label?: string;
|
|
1319
1330
|
}
|
|
1320
1331
|
export interface MenuItem {
|
|
1321
1332
|
id: string;
|
package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/validator.d.ts
CHANGED
|
@@ -627,7 +627,7 @@ export declare const screenDescriptorSchema: {
|
|
|
627
627
|
};
|
|
628
628
|
readonly accessibilityRole: {
|
|
629
629
|
readonly type: "string";
|
|
630
|
-
readonly enum: readonly ["decorative", "text", "heading", "image", "button", "link", "toggle", "checkbox", "radio", "tab", "tablist", "adjustable", "search", "textfield", "combobox", "list", "listitem", "menu", "menuitem", "dialog", "alert", "progressbar", "summary", "status", "group", "grid", "gridcell"];
|
|
630
|
+
readonly enum: readonly ["decorative", "text", "heading", "image", "button", "link", "toggle", "checkbox", "radio", "tab", "tablist", "adjustable", "search", "textfield", "combobox", "list", "listitem", "menu", "menuitem", "dialog", "alert", "progressbar", "summary", "status", "group", "grid", "gridcell", "region"];
|
|
631
631
|
};
|
|
632
632
|
readonly accessibilityHint: {
|
|
633
633
|
readonly type: "string";
|
|
@@ -1615,7 +1615,7 @@ export declare const widgetSnapshotSchema: {
|
|
|
1615
1615
|
};
|
|
1616
1616
|
readonly accessibilityRole: {
|
|
1617
1617
|
readonly type: "string";
|
|
1618
|
-
readonly enum: readonly ["decorative", "text", "heading", "image", "button", "link", "toggle", "checkbox", "radio", "tab", "tablist", "adjustable", "search", "textfield", "combobox", "list", "listitem", "menu", "menuitem", "dialog", "alert", "progressbar", "summary", "status", "group", "grid", "gridcell"];
|
|
1618
|
+
readonly enum: readonly ["decorative", "text", "heading", "image", "button", "link", "toggle", "checkbox", "radio", "tab", "tablist", "adjustable", "search", "textfield", "combobox", "list", "listitem", "menu", "menuitem", "dialog", "alert", "progressbar", "summary", "status", "group", "grid", "gridcell", "region"];
|
|
1619
1619
|
};
|
|
1620
1620
|
readonly accessibilityHint: {
|
|
1621
1621
|
readonly type: "string";
|