@constructive-io/sheets 0.11.0 → 0.13.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/index.js CHANGED
@@ -24,14 +24,14 @@ import {
24
24
  useSheetsTable,
25
25
  useSheetsTableCursor,
26
26
  validateOrderByVariables
27
- } from "./chunk-J67BAGEN.js";
27
+ } from "./chunk-CBXNKMN6.js";
28
28
  import {
29
29
  SheetsAuthGate,
30
30
  useSheetsForgotPassword,
31
31
  useSheetsLogin,
32
32
  useSheetsRegister,
33
33
  useSheetsResetPassword
34
- } from "./chunk-FNWOEA5F.js";
34
+ } from "./chunk-MXVNIKES.js";
35
35
  import {
36
36
  SheetsProvider
37
37
  } from "./chunk-HETVHNMD.js";
@@ -5827,7 +5827,9 @@ function ImageCellView(props) {
5827
5827
  decoding: "async",
5828
5828
  alt: "",
5829
5829
  onLoad: () => warmImage(url),
5830
- className: cn("absolute inset-0 h-full w-full rounded-sm object-cover")
5830
+ className: cn(
5831
+ "absolute inset-0 h-full w-full rounded-sm object-cover outline-1 -outline-offset-1 outline-black/10 dark:outline-white/10"
5832
+ )
5831
5833
  }
5832
5834
  ) : null })
5833
5835
  }
@@ -6364,7 +6366,7 @@ function OverlayManager({ anchorRect, open, presetClass, onCancel, dismissMode =
6364
6366
  // Origin-aware entrance (DESIGN_SPEC §10 / Emil standards): subtle scale + fade from the
6365
6367
  // cell corner, reusing the UI popover's tw-animate utilities for a consistent feel. Gated
6366
6368
  // on `positioned` so the overlay animates only after its measured position is applied.
6367
- positioned && "animate-in fade-in-0 zoom-in-95 duration-150 ease-out motion-reduce:animate-none",
6369
+ positioned && "animate-[fade-scale-in_var(--duration-moderate)_ease-out] motion-reduce:animate-none",
6368
6370
  shouldFlip ? "origin-bottom-left" : "origin-top-left"
6369
6371
  ),
6370
6372
  children: /* @__PURE__ */ jsx23(OverlayMeasureContext.Provider, { value: overlayMeasure, children: /* @__PURE__ */ jsx23(EditorErrorGuard, { onClose: onCancel, children: /* @__PURE__ */ jsx23(EditorFocusTrap, { onEscape: onCancel, className: cn("overflow-visible", presetClass), children }) }) })
@@ -7759,7 +7761,7 @@ var TableItem = memo3(function TableItem2({ table, activeTable, onTableSelect, i
7759
7761
  type: "button",
7760
7762
  variant: "ghost",
7761
7763
  className: cn(
7762
- "group relative my-1 flex h-8 w-full shrink items-center justify-between rounded-lg px-2 text-left text-xs font-normal transition-colors duration-150",
7764
+ "group relative my-1 flex h-8 w-full shrink items-center justify-between rounded-lg px-2 text-left text-xs font-normal transition-colors duration-(--duration-moderate)",
7763
7765
  isActive ? "bg-primary/10 text-foreground ring-primary/30 dark:bg-primary/15 dark:ring-primary/40 ring-1" : "text-muted-foreground hover:text-foreground"
7764
7766
  ),
7765
7767
  onClick: () => onTableSelect(table.value),
@@ -7955,7 +7957,7 @@ function SheetsTableListByCategory({
7955
7957
  CollapsibleTrigger,
7956
7958
  {
7957
7959
  className: cn(
7958
- "group flex w-full items-center gap-2 rounded-lg py-1.5 pr-2 pl-1 transition-colors duration-150",
7960
+ "group flex w-full items-center gap-2 rounded-lg py-1.5 pr-2 pl-1 transition-colors duration-(--duration-moderate)",
7959
7961
  "bg-muted hover:bg-muted/50",
7960
7962
  isExpanded && "bg-muted/50"
7961
7963
  ),