@helpai/elements 0.63.6 → 0.64.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/index.d.ts CHANGED
@@ -805,18 +805,20 @@ interface SizeOptions {
805
805
  /**
806
806
  * Which size to open with on the **first** render.
807
807
  *
808
- * - `"auto"` — pick `expanded` when `window.innerWidth ≥ autoSizeBreakpoint`,
809
- * otherwise `normal`. Lets the backend push a "responsive default" without
810
- * baking the breakpoint into the frontend.
811
- * - `"normal"` — default compact panel (same as omitting the field).
808
+ * - `"auto"` (**default**, also when omitted) — responsive by viewport: phones
809
+ * (`window.innerWidth < 640`) open `fullscreen` edge-to-edge, tablets
810
+ * (`640 … autoSizeBreakpoint`) open `normal`, desktop/laptop
811
+ * (`≥ autoSizeBreakpoint`) open `expanded`. Right for the device with no config;
812
+ * the backend can tune the desktop breakpoint without baking it into the frontend.
813
+ * - `"normal"` — force the compact panel everywhere.
812
814
  * - `"expanded"` — force-start at the configured `expanded.width/height`.
813
815
  * - `"fullscreen"` — force-start at viewport fill.
814
816
  *
815
817
  * Only applies to the very first mount. The user's last size is
816
818
  * preserved across close → reopen; a page reload re-evaluates.
817
- * Standalone mode always overrides to `fullscreen`.
819
+ * Standalone / page mode always overrides to `fullscreen`.
818
820
  *
819
- * Default: `"normal"`.
821
+ * Default: `"auto"`.
820
822
  */
821
823
  initialSize?: "auto" | "normal" | "expanded" | "fullscreen";
822
824
  /**