@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.
@@ -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;
@@ -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;
@@ -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";
@@ -8509,7 +8509,8 @@ var screenDescriptorSchema = {
8509
8509
  "status",
8510
8510
  "group",
8511
8511
  "grid",
8512
- "gridcell"
8512
+ "gridcell",
8513
+ "region"
8513
8514
  ]
8514
8515
  },
8515
8516
  accessibilityHint: { type: "string" },
@@ -7379,7 +7379,8 @@ var screenDescriptorSchema = {
7379
7379
  "status",
7380
7380
  "group",
7381
7381
  "grid",
7382
- "gridcell"
7382
+ "gridcell",
7383
+ "region"
7383
7384
  ]
7384
7385
  },
7385
7386
  accessibilityHint: { type: "string" },