@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/configurator.mjs +1 -1
- package/elements-web-component.esm.js +20 -20
- package/elements-web-component.esm.js.map +3 -3
- package/elements.cjs.js +20 -20
- package/elements.cjs.js.map +3 -3
- package/elements.esm.js +20 -20
- package/elements.esm.js.map +3 -3
- package/elements.js +20 -20
- package/elements.js.map +3 -3
- package/index.d.ts +8 -6
- package/index.mjs +5 -5
- package/package.json +1 -1
- package/schema.json +6 -6
- package/schema.mjs +1 -1
- package/web-component.mjs +5 -5
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"`
|
|
809
|
-
*
|
|
810
|
-
*
|
|
811
|
-
*
|
|
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: `"
|
|
821
|
+
* Default: `"auto"`.
|
|
820
822
|
*/
|
|
821
823
|
initialSize?: "auto" | "normal" | "expanded" | "fullscreen";
|
|
822
824
|
/**
|