@lettuceai/crisp 1.6.2 → 1.6.3

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.
@@ -17,7 +17,7 @@ export interface AppBarProps {
17
17
  * defaults to the window.
18
18
  */
19
19
  scrollRef?: React.RefObject<HTMLElement | null>;
20
- /** Desktop window chrome sits above; leave room for it. */
20
+ /** Leave room for the status bar above (the top safe area, zero on the desktop). Default on. */
21
21
  inset?: boolean;
22
22
  className?: string;
23
23
  }
package/dist/index.js CHANGED
@@ -627,7 +627,7 @@ var wt = a(function({ className: e, id: t, rows: n = 4, autoGrow: r, maxRows: i
627
627
  wt.displayName = "Textarea";
628
628
  //#endregion
629
629
  //#region src/components/AppBar.tsx
630
- function Tt({ title: e, meta: t, onBack: n, backLabel: r, searchValue: i, onSearchChange: a, searchPlaceholder: o, actions: s, filters: c, scrollRef: u, inset: d, className: f }) {
630
+ function Tt({ title: e, meta: t, onBack: n, backLabel: r, searchValue: i, onSearchChange: a, searchPlaceholder: o, actions: s, filters: c, scrollRef: u, inset: d = !0, className: f }) {
631
631
  let { strings: h } = G(), [g, _] = m(!1), [v, y] = m(!1), b = p(null);
632
632
  l(() => {
633
633
  let e = u?.current ?? window, t = () => u?.current ? u.current.scrollTop : window.scrollY, n = () => _(t() > 12);