@caratlogic/design-system 0.1.44 → 0.1.45

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.
Files changed (26) hide show
  1. package/dist/components/molecules/FloatingSlideOver/FloatingSlideOver.d.ts +11 -0
  2. package/dist/components/molecules/FloatingSlideOver/FloatingSlideOver.d.ts.map +1 -0
  3. package/dist/components/molecules/FloatingSlideOver/FloatingSlideOver.hooks.d.ts +23 -0
  4. package/dist/components/molecules/FloatingSlideOver/FloatingSlideOver.hooks.d.ts.map +1 -0
  5. package/dist/components/molecules/FloatingSlideOver/FloatingSlideOver.types.d.ts +19 -0
  6. package/dist/components/molecules/FloatingSlideOver/FloatingSlideOver.types.d.ts.map +1 -0
  7. package/dist/components/molecules/FloatingSlideOver/FloatingSlideOver.utils.d.ts +9 -0
  8. package/dist/components/molecules/FloatingSlideOver/FloatingSlideOver.utils.d.ts.map +1 -0
  9. package/dist/components/molecules/FloatingSlideOver/index.d.ts +3 -0
  10. package/dist/components/molecules/FloatingSlideOver/index.d.ts.map +1 -0
  11. package/dist/components/molecules/Sidebar/Sidebar.parts.d.ts.map +1 -1
  12. package/dist/components/molecules/SlideOut/SlideOut.parts.d.ts +2 -0
  13. package/dist/components/molecules/SlideOut/SlideOut.parts.d.ts.map +1 -1
  14. package/dist/components/organisms/Filters/FilterSurface/FilterSurface.accessibility.d.ts +1 -0
  15. package/dist/components/organisms/Filters/FilterSurface/FilterSurface.accessibility.d.ts.map +1 -1
  16. package/dist/components/organisms/Filters/FilterSurface/FilterSurface.d.ts +1 -1
  17. package/dist/components/organisms/Filters/FilterSurface/FilterSurface.d.ts.map +1 -1
  18. package/dist/components/organisms/Filters/FilterSurface/FilterSurface.types.d.ts +6 -1
  19. package/dist/components/organisms/Filters/FilterSurface/FilterSurface.types.d.ts.map +1 -1
  20. package/dist/index.cjs.js +153 -39
  21. package/dist/index.cjs.js.map +1 -1
  22. package/dist/index.d.ts +1 -0
  23. package/dist/index.d.ts.map +1 -1
  24. package/dist/index.esm.js +153 -40
  25. package/dist/index.esm.js.map +1 -1
  26. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -53,6 +53,7 @@ export * from './components/molecules/Field';
53
53
  export * from './components/molecules/CustomField';
54
54
  export * from './components/molecules/FilterSelect';
55
55
  export * from './components/molecules/Filters';
56
+ export * from './components/molecules/FloatingSlideOver';
56
57
  export * from './components/molecules/SavedSearches';
57
58
  export * from './components/molecules/InAppNotificationCard';
58
59
  export * from './components/molecules/FormSectionCard';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,OAAO,EACL,2BAA2B,EAC3B,oBAAoB,GACrB,MAAM,uBAAuB,CAAC;AAG/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AAGjC,cAAc,4CAA4C,CAAC;AAC3D,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,kCAAkC,CAAC;AACjD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oCAAoC,CAAC;AACnD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iCAAiC,CAAC;AAChD,cAAc,kCAAkC,CAAC;AACjD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,kCAAkC,CAAC;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AACvD,cAAc,kCAAkC,CAAC;AACjD,cAAc,mCAAmC,CAAC;AAClD,cAAc,0CAA0C,CAAC;AACzD,cAAc,wCAAwC,CAAC;AAGvD,cAAc,qCAAqC,CAAC;AACpD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,0CAA0C,CAAC;AACzD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,qCAAqC,CAAC;AACpD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gDAAgD,CAAC;AAC/D,cAAc,0CAA0C,CAAC;AACzD,cAAc,qCAAqC,CAAC;AACpD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,yCAAyC,CAAC;AAGxD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,0CAA0C,CAAC;AACzD,cAAc,uCAAuC,CAAC;AACtD,cAAc,iCAAiC,CAAC;AAGhD,cAAc,sCAAsC,CAAC;AACrD,cAAc,yCAAyC,CAAC;AAGxD,cAAc,8BAA8B,CAAC;AAG7C,cAAc,6BAA6B,CAAC"}
package/dist/index.esm.js CHANGED
@@ -43802,6 +43802,154 @@ function TriStateFilter({ value, onChange, ariaLabel, compact = false, }) {
43802
43802
  }) }));
43803
43803
  }
43804
43804
 
43805
+ const SlideOut = ({ open, onOpenChange, ...props }) => {
43806
+ const scheduleLockRelease = useOverlayBodyLockRelease(open);
43807
+ return (jsx(DialogPrimitive.Root, { ...props, open: open, onOpenChange: (next) => {
43808
+ onOpenChange?.(next);
43809
+ if (!next)
43810
+ scheduleLockRelease();
43811
+ } }));
43812
+ };
43813
+ const SlideOutTrigger = DialogPrimitive.Trigger;
43814
+ const SlideOutClose = DialogPrimitive.Close;
43815
+ const SlideOutPortal = DialogPrimitive.Portal;
43816
+ // Overlay
43817
+ const SLIDE_OUT_OVERLAY_CLASS_NAME = 'fixed inset-0 z-40 bg-black/50';
43818
+ const SLIDE_OUT_OVERLAY_BLUR_CLASS_NAME = 'backdrop-blur-sm';
43819
+ /** The slide-outs' backdrop, dimmed and slightly blurred; other panels over the page reuse it to match. */
43820
+ const SLIDE_OUT_BACKDROP_CLASS_NAME = cn(SLIDE_OUT_OVERLAY_CLASS_NAME, SLIDE_OUT_OVERLAY_BLUR_CLASS_NAME);
43821
+ const SlideOutOverlay = React.forwardRef(({ className, ...props }, ref) => (jsx(DialogPrimitive.Overlay, { ref: ref, className: cn(SLIDE_OUT_OVERLAY_CLASS_NAME, className), ...props })));
43822
+ SlideOutOverlay.displayName = DialogPrimitive.Overlay.displayName;
43823
+ // Positional classes per edge. `right` is the historical default and its
43824
+ // value is byte-for-byte what SlideOutContent always rendered.
43825
+ const slideOutSideClasses = {
43826
+ right: 'right-0 top-0 h-full w-[488px] max-w-full border-l slide-in-from-right',
43827
+ left: 'left-0 top-0 h-full w-[488px] max-w-full border-r slide-in-from-left',
43828
+ top: 'inset-x-0 top-0 h-1/3 w-full border-b slide-in-from-top',
43829
+ bottom: 'inset-x-0 bottom-0 h-1/3 w-full border-t slide-in-from-bottom',
43830
+ };
43831
+ // Content — slide-out panel. Defaults to a right-anchored 488px drawer;
43832
+ // pass `side` to anchor to any edge (absorbs the old sheet/drawer use cases).
43833
+ const SlideOutContent = React.forwardRef(({ className, children, overlayClassName, side = 'right', ...props }, ref) => (jsxs(SlideOutPortal, { children: [jsx(SlideOutOverlay, { className: overlayClassName ?? SLIDE_OUT_OVERLAY_BLUR_CLASS_NAME }), jsx(DialogPrimitive.Content, { ref: ref, className: cn('fixed z-50 border-border bg-card text-card-foreground shadow-xl animate-in', slideOutSideClasses[side], className), ...props, children: children })] })));
43834
+ SlideOutContent.displayName = DialogPrimitive.Content.displayName;
43835
+ // Header — owns the standard 16px padding and bottom border.
43836
+ const SlideOutHeader = ({ className, ...props }) => (jsx("div", { className: cn('flex flex-col space-y-1.5 border-b border-border px-4 py-4 text-xs', className), ...props }));
43837
+ SlideOutHeader.displayName = 'SlideOutHeader';
43838
+ // Title
43839
+ const SlideOutTitle = React.forwardRef(({ className, ...props }, ref) => (jsx(DialogPrimitive.Title, { ref: ref, className: cn('text-lg font-semibold', className), ...props })));
43840
+ SlideOutTitle.displayName = DialogPrimitive.Title.displayName;
43841
+ // Description
43842
+ const SlideOutDescription = React.forwardRef(({ className, ...props }, ref) => (jsx(DialogPrimitive.Description, { ref: ref, className: cn('text-sm text-muted-foreground', className), ...props })));
43843
+ SlideOutDescription.displayName = DialogPrimitive.Description.displayName;
43844
+
43845
+ /** The app's content area, right of the sidebar; the panel starts at its left edge. */
43846
+ const SIDEBAR_INSET_SELECTOR = '[data-slot="sidebar-inset"]';
43847
+ /** Dropdowns, menus and listboxes, portaled outside the panel; an outside click first closes them. */
43848
+ const OPEN_LAYER_SELECTOR = '[data-slot="popover-content"], [role="menu"], [role="listbox"]';
43849
+ /** How long the panel takes to slide out; it stays mounted until then. */
43850
+ const SLIDE_OUT_MS = 200;
43851
+ /** The top-level element under `<body>` that holds `node`: the app root, for a node in the page. */
43852
+ function getBodyChild(node) {
43853
+ let current = node;
43854
+ while (current && current.parentElement !== node.ownerDocument.body)
43855
+ current = current.parentElement;
43856
+ return current;
43857
+ }
43858
+
43859
+ /**
43860
+ * Backdrop handlers that call `onClose` on a click outside the panel, unless a dropdown or menu was open
43861
+ * when the press began: that click only closes the dropdown.
43862
+ */
43863
+ function useBackdropClose(onClose) {
43864
+ const layerOpenRef = useRef(false);
43865
+ return {
43866
+ onPointerDown: () => {
43867
+ layerOpenRef.current = !!document.querySelector(OPEN_LAYER_SELECTOR);
43868
+ },
43869
+ onClick: () => {
43870
+ if (!layerOpenRef.current)
43871
+ onClose?.();
43872
+ layerOpenRef.current = false;
43873
+ },
43874
+ };
43875
+ }
43876
+ /** Keeps the panel mounted while it slides out; `closing` is true for that time. */
43877
+ function useSlideOverPresence(open) {
43878
+ const [mounted, setMounted] = useState(open);
43879
+ useEffect(() => {
43880
+ if (open) {
43881
+ setMounted(true);
43882
+ return;
43883
+ }
43884
+ const timer = window.setTimeout(() => setMounted(false), SLIDE_OUT_MS);
43885
+ return () => window.clearTimeout(timer);
43886
+ }, [open]);
43887
+ return { mounted: mounted || open, closing: mounted && !open };
43888
+ }
43889
+ /** Where the content area right of the sidebar starts, in px from the viewport's left; 0 without a sidebar. */
43890
+ function useSidebarInsetLeft(active) {
43891
+ const [left, setLeft] = useState(0);
43892
+ useLayoutEffect(() => {
43893
+ if (!active)
43894
+ return;
43895
+ const inset = document.querySelector(SIDEBAR_INSET_SELECTOR);
43896
+ if (!inset)
43897
+ return;
43898
+ const measure = () => setLeft(Math.max(0, inset.getBoundingClientRect().left));
43899
+ measure();
43900
+ // The inset narrows or widens with the window and the sidebar.
43901
+ const observer = new ResizeObserver(measure);
43902
+ observer.observe(inset);
43903
+ window.addEventListener('resize', measure);
43904
+ return () => {
43905
+ observer.disconnect();
43906
+ window.removeEventListener('resize', measure);
43907
+ };
43908
+ }, [active]);
43909
+ return left;
43910
+ }
43911
+ /**
43912
+ * While `active`, makes the app behind the panel inert (no clicks, focus or screen reader) and moves focus
43913
+ * into `panel`; on close, focus goes back where it was. Popovers and menus portal outside the app root, so
43914
+ * they stay usable.
43915
+ */
43916
+ function useModalPanel(anchor, panel, active) {
43917
+ useEffect(() => {
43918
+ const root = anchor.current && getBodyChild(anchor.current);
43919
+ if (!active || !(root instanceof HTMLElement))
43920
+ return;
43921
+ const previousFocus = document.activeElement;
43922
+ const wasInert = root.inert;
43923
+ root.inert = true;
43924
+ panel.current?.focus({ preventScroll: true });
43925
+ return () => {
43926
+ root.inert = wasInert;
43927
+ if (previousFocus instanceof HTMLElement)
43928
+ previousFocus.focus({ preventScroll: true });
43929
+ };
43930
+ }, [anchor, panel, active]);
43931
+ }
43932
+
43933
+ /**
43934
+ * A large panel that slides in from the right over the page and covers everything right of the sidebar,
43935
+ * floating with a small gap on every side and rounded corners, on the slide-outs' dimmed, slightly blurred
43936
+ * backdrop. The page behind, sidebar included, can't be used until it closes. A click outside calls
43937
+ * `onClose`; the content closes it otherwise (a close button, Escape).
43938
+ */
43939
+ function FloatingSlideOver({ open, title, onClose, className, children, }) {
43940
+ const anchorRef = useRef(null);
43941
+ const panelRef = useRef(null);
43942
+ const { mounted, closing } = useSlideOverPresence(open);
43943
+ const left = useSidebarInsetLeft(mounted);
43944
+ useModalPanel(anchorRef, panelRef, mounted);
43945
+ const backdrop = useBackdropClose(onClose);
43946
+ const state = closing ? 'closed' : 'open';
43947
+ return (jsxs(Fragment$2, { children: [jsx("span", { ref: anchorRef, hidden: true }), mounted &&
43948
+ createPortal(jsxs(Fragment$2, { children: [jsx("div", { "aria-hidden": "true", "data-state": state, className: SLIDE_OUT_BACKDROP_CLASS_NAME, onPointerDown: backdrop.onPointerDown, onClick: backdrop.onClick }), jsx("div", { ref: panelRef, role: "dialog", "aria-modal": "true", "aria-label": title, tabIndex: -1, "data-state": state,
43949
+ // The same gap from the sidebar's edge as on the other sides.
43950
+ style: { left: `calc(${left}px + 0.5rem)` }, className: cn('fixed inset-y-2 right-2 z-50 flex flex-col overflow-hidden rounded-xl border border-border bg-background shadow-xl outline-none', 'data-[state=open]:animate-in data-[state=open]:slide-in-from-right data-[state=open]:duration-300 data-[state=open]:ease-out', 'data-[state=closed]:animate-out data-[state=closed]:slide-out-to-right data-[state=closed]:duration-200 data-[state=closed]:ease-in', 'motion-reduce:animate-none', className), children: children })] }), document.body)] }));
43951
+ }
43952
+
43805
43953
  /** Read-only filter summaries of a saved search, as pills; optionally one line ending in "+N more". */
43806
43954
  function SavedSearchChipList({ chips, emptyText = 'No filters', collapsible = false, className, }) {
43807
43955
  const { listRef, expanded, toggle, visibleChips, hiddenCount } = useChipOverflow(chips, collapsible);
@@ -73449,7 +73597,7 @@ const SidebarRail = React.forwardRef(({ className, ...props }, ref) => {
73449
73597
  return (jsx("button", { ref: ref, "data-sidebar": "rail", "aria-label": "Toggle Sidebar", tabIndex: -1, onClick: toggleSidebar, title: "Toggle Sidebar", className: cn('absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex', '[[data-side=left]_&]:cursor-w-resize [[data-side=right]_&]:cursor-e-resize', '[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize', 'group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar', 'group-data-[side=left][data-collapsible=offcanvas]:-right-2', 'group-data-[side=right][data-collapsible=offcanvas]:-left-2', className), ...props }));
73450
73598
  });
73451
73599
  SidebarRail.displayName = 'SidebarRail';
73452
- const SidebarInset = React.forwardRef(({ className, ...props }, ref) => (jsx("main", { ref: ref, className: cn('relative flex min-h-screen flex-1 flex-col bg-background', 'peer-data-[variant=inset]:min-h-[calc(100svh-1rem)] md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow', className), ...props })));
73600
+ const SidebarInset = React.forwardRef(({ className, ...props }, ref) => (jsx("main", { ref: ref, "data-slot": "sidebar-inset", className: cn('relative flex min-h-screen flex-1 flex-col bg-background', 'peer-data-[variant=inset]:min-h-[calc(100svh-1rem)] md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow', className), ...props })));
73453
73601
  SidebarInset.displayName = 'SidebarInset';
73454
73602
  const SidebarInput = React.forwardRef(({ className, ...props }, ref) => (jsx("input", { ref: ref, "data-sidebar": "input", className: cn('h-8 w-full bg-background text-sm shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring', className), ...props })));
73455
73603
  SidebarInput.displayName = 'SidebarInput';
@@ -73587,42 +73735,6 @@ const AppSidebar = ({ brand, navGroups = [], footer, className, }) => {
73587
73735
  return (jsxs(Sidebar, { collapsible: "icon", className: className, children: [brand && (jsx(SidebarHeader, { children: jsx(BrandHeader$1, { brand: brand }) })), jsx(SidebarContent, { children: navGroups.map((group) => (jsx(NavGroupSection, { group: group }, group.label ?? 'nav-group'))) }), footer && jsx(SidebarFooter, { children: footer }), jsx(SidebarRail, {})] }));
73588
73736
  };
73589
73737
 
73590
- const SlideOut = ({ open, onOpenChange, ...props }) => {
73591
- const scheduleLockRelease = useOverlayBodyLockRelease(open);
73592
- return (jsx(DialogPrimitive.Root, { ...props, open: open, onOpenChange: (next) => {
73593
- onOpenChange?.(next);
73594
- if (!next)
73595
- scheduleLockRelease();
73596
- } }));
73597
- };
73598
- const SlideOutTrigger = DialogPrimitive.Trigger;
73599
- const SlideOutClose = DialogPrimitive.Close;
73600
- const SlideOutPortal = DialogPrimitive.Portal;
73601
- // Overlay
73602
- const SlideOutOverlay = React.forwardRef(({ className, ...props }, ref) => (jsx(DialogPrimitive.Overlay, { ref: ref, className: cn('fixed inset-0 z-40 bg-black/50', className), ...props })));
73603
- SlideOutOverlay.displayName = DialogPrimitive.Overlay.displayName;
73604
- // Positional classes per edge. `right` is the historical default and its
73605
- // value is byte-for-byte what SlideOutContent always rendered.
73606
- const slideOutSideClasses = {
73607
- right: 'right-0 top-0 h-full w-[488px] max-w-full border-l slide-in-from-right',
73608
- left: 'left-0 top-0 h-full w-[488px] max-w-full border-r slide-in-from-left',
73609
- top: 'inset-x-0 top-0 h-1/3 w-full border-b slide-in-from-top',
73610
- bottom: 'inset-x-0 bottom-0 h-1/3 w-full border-t slide-in-from-bottom',
73611
- };
73612
- // Content — slide-out panel. Defaults to a right-anchored 488px drawer;
73613
- // pass `side` to anchor to any edge (absorbs the old sheet/drawer use cases).
73614
- const SlideOutContent = React.forwardRef(({ className, children, overlayClassName, side = 'right', ...props }, ref) => (jsxs(SlideOutPortal, { children: [jsx(SlideOutOverlay, { className: overlayClassName ?? 'backdrop-blur-sm' }), jsx(DialogPrimitive.Content, { ref: ref, className: cn('fixed z-50 border-border bg-card text-card-foreground shadow-xl animate-in', slideOutSideClasses[side], className), ...props, children: children })] })));
73615
- SlideOutContent.displayName = DialogPrimitive.Content.displayName;
73616
- // Header — owns the standard 16px padding and bottom border.
73617
- const SlideOutHeader = ({ className, ...props }) => (jsx("div", { className: cn('flex flex-col space-y-1.5 border-b border-border px-4 py-4 text-xs', className), ...props }));
73618
- SlideOutHeader.displayName = 'SlideOutHeader';
73619
- // Title
73620
- const SlideOutTitle = React.forwardRef(({ className, ...props }, ref) => (jsx(DialogPrimitive.Title, { ref: ref, className: cn('text-lg font-semibold', className), ...props })));
73621
- SlideOutTitle.displayName = DialogPrimitive.Title.displayName;
73622
- // Description
73623
- const SlideOutDescription = React.forwardRef(({ className, ...props }, ref) => (jsx(DialogPrimitive.Description, { ref: ref, className: cn('text-sm text-muted-foreground', className), ...props })));
73624
- SlideOutDescription.displayName = DialogPrimitive.Description.displayName;
73625
-
73626
73738
  const SpecList = ({ rows, zebra = true, className, }) => {
73627
73739
  const visible = rows.filter((r) => !r.hidden);
73628
73740
  if (visible.length === 0)
@@ -77856,6 +77968,7 @@ function FilterField(props) {
77856
77968
 
77857
77969
  /** Leaves without applying; the draft is discarded. */
77858
77970
  const BACK_LABEL = 'Back without applying';
77971
+ const CLOSE_LABEL = 'Close without applying';
77859
77972
  const LOADING_LABEL = 'Loading filters';
77860
77973
  const ERROR_TITLE = "Couldn't load filters";
77861
77974
  const DEFAULT_ERROR_MESSAGE = 'Something went wrong while loading the filters. Check your connection and try again.';
@@ -78369,11 +78482,11 @@ function FilterCardOverlay({ node, }) {
78369
78482
  }
78370
78483
 
78371
78484
  /** Full-page filter screen (e.g. an advanced search): one sticky header with every action, then the scrolling card grid. */
78372
- function FilterSurface({ title, headerActions, primaryActions, chips, onClose, status = 'ready', errorMessage, onRetry, skeleton, children, }) {
78485
+ function FilterSurface({ title, headerActions, primaryActions, chips, onClose, closeButton = 'back', status = 'ready', errorMessage, onRetry, skeleton, children, }) {
78373
78486
  useCloseOnEscape(onClose);
78374
78487
  const ready = status === 'ready';
78375
78488
  const actions = ready ? primaryActions : undefined;
78376
- return (jsxs("div", { role: "region", "aria-label": title, className: "flex h-full min-h-0 flex-col bg-background", children: [jsxs("header", { className: "sticky top-0 z-20 flex shrink-0 flex-wrap items-center gap-x-3 gap-y-2 bg-background px-3 py-2.5", children: [jsx(IconButton, { appearance: "ghost", size: "sm", "aria-label": BACK_LABEL, title: BACK_LABEL, onClick: onClose, children: jsx(ArrowLeft, {}) }), jsx("h1", { className: "sr-only", children: title }), jsx("div", { className: "min-w-0 flex-1", children: ready && chips }), jsxs("div", { className: "flex flex-wrap items-center gap-2", children: [headerActions, actions] })] }), jsx("div", { className: "min-h-0 flex-1 overflow-y-auto px-3 pb-3", children: status === 'loading' ? (jsx(FilterSurfaceSkeleton, { children: skeleton })) : status === 'error' ? (jsx(FilterSurfaceError, { message: errorMessage ?? DEFAULT_ERROR_MESSAGE, onRetry: onRetry })) : (jsx("div", { className: "flex flex-col gap-3", children: children })) })] }));
78489
+ return (jsxs("div", { role: "region", "aria-label": title, className: "flex h-full min-h-0 flex-col bg-background", children: [jsxs("header", { className: "sticky top-0 z-20 flex shrink-0 flex-wrap items-center gap-x-3 gap-y-2 bg-background px-3 py-2.5", children: [closeButton === 'back' && (jsx(IconButton, { appearance: "ghost", size: "sm", "aria-label": BACK_LABEL, title: BACK_LABEL, onClick: onClose, children: jsx(ArrowLeft, {}) })), jsx("h1", { className: "sr-only", children: title }), jsx("div", { className: "min-w-0 flex-1", children: ready && chips }), jsxs("div", { className: "flex flex-wrap items-center gap-2", children: [headerActions, actions, closeButton === 'close' && (jsxs(Fragment$2, { children: [jsx("span", { "aria-hidden": "true", className: "mx-1 h-6 w-px bg-border" }), jsx(IconButton, { appearance: "ghost", size: "sm", "aria-label": CLOSE_LABEL, title: CLOSE_LABEL, onClick: onClose, children: jsx(X$2, {}) })] }))] })] }), jsx("div", { className: "min-h-0 flex-1 overflow-y-auto px-3 pb-3", children: status === 'loading' ? (jsx(FilterSurfaceSkeleton, { children: skeleton })) : status === 'error' ? (jsx(FilterSurfaceError, { message: errorMessage ?? DEFAULT_ERROR_MESSAGE, onRetry: onRetry })) : (jsx("div", { className: "flex flex-col gap-3", children: children })) })] }));
78377
78490
  }
78378
78491
  /**
78379
78492
  * Lets the user drag the cards of its `FilterSurfaceGroup`s (those with a `sortableId`) into any order and
@@ -80974,5 +81087,5 @@ var RichTextAreaImpl = /*#__PURE__*/Object.freeze({
80974
81087
  RichTextarea: RichTextarea
80975
81088
  });
80976
81089
 
80977
- export { ACTIVITY_CATEGORIES, ACTIVITY_CATEGORY_META, ActionBadge, ActionButtonWithTooltip, ActiveFilterChips, ActivityFeed, AdvancedSearchDrawer, Alert, ApiComboBox, AppSidebar, AuditEntryCard, AuditHistoryPanel, AuditTimeline, AuditTimelineShimmer, Badge, BadgeType, BusinessContactStatusFilter, Button, CUSTOMER_AUDIT_CONFIG, CertificateRowList, ChangePill, Collapsible, CollapsibleCard, CollapsibleContent, CollapsibleTrigger, CompanyCard, ConfirmDialog, ContactTypeFilter, ContainsFilter, CopyButton, CountrySelect, CreateFormPageHeader, CreateFormPageShell, CurrencyDisplayTabs, CurrencyInput, CurrencyToggle, CustomCombobox, CustomFieldInput, CustomFieldValue, CustomTable, CustomizeColumnsDrawer, DATE_PRESET_OPTIONS, DIAMOND_AUDIT_CONFIG, DashboardShell, DataEditableTable, DataTable, DateInput, DateRangeFilter, DetailChip, DetailPageLayout, DetailPageSkeleton, DetailSection, DocumentDeleteDialog, DocumentDetailSkeleton, DocumentHero, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyValue, EntityHeader, FILTER_COUNT_BADGE_CLASS_NAME, Field, FieldSkeleton, FileUploader, FilterCardSkeleton, FilterCellPopover, FilterEmptyState, FilterField, FilterFieldCard, FilterFieldCell, FilterFieldControl, FilterMultiSelect, FilterPanel, FilterSelect, FilterSurface, FilterSurfaceGroup, FilterSurfaceMore, FilterSurfaceSortable, FormSectionCard, FormSectionCardSkeleton, GEM_AUDIT_CONFIG, HistoryEntryCard, HistoryTimeline, HistoryTimelineShimmer, INVOICE_AUDIT_CONFIG, IconButton, IdHyperlinkText, IdListInput, InAppNotificationCard, InAppNotificationsPanel, InfoBanner, InventoryComboBox, InventoryItemCard, InventoryItemRow, InvoiceComboBox, KYCStatusFilter, KeyValueGrid, LAYOUT_AUDIT_CONFIG, LabeledToggle, LineItemsCard, LineProductCell, LineProductThumb, LineProductTypeChip, LineRowActionsMenu, LineTable, LineTableEmpty, MEMO_IN_AUDIT_CONFIG, MEMO_OUT_AUDIT_CONFIG, MediaGallery, MemoInComboBox, MetricCard, MetricRow, MetricTile, Modal, MoreInfoPanel, MoreInfoTrigger, NOT_CAPTURED, Navbar, NavbarActions, NavbarAvatar, NavbarIconButton, NavbarSearch, NavbarTitle, NumberExpressionFilter, NumberInput, NumberRangeInputs, NumberedStepCard, OtpInput, OwnershipFilter, OwnershipSplitCard, PROFORMA_AUDIT_CONFIG, PageHeader, PageTabs, Pagination, PaginationSelect, PartnerShareCard, PickListDropdown, PickListFilter, PriceInput, Protected, PurchaseOrderComboBox, QUOTATION_AUDIT_CONFIG, RadioCardGroup, ReadMoreText, RefreshButton, RichTextarea$1 as RichTextarea, SAVED_SEARCH_NAME_MAX_LENGTH, SEARCHABLE_SELECT_PAGE_SIZE, SafeImage, SaveSearchDialog, SavedSearchChipList, SavedSearchDetail, SavedSearchesMenu, ScaleRangeFilter, ScrollFade, SearchBox, SearchInput, SearchableSelect, SectionCard, SectionIcon, SegmentedControl, ShareDialog, ShareMenu, ShimmerTable, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupLabel, SidebarHeader, SidebarInset, SidebarMenu, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SlideOut, SlideOutClose, SlideOutContent, SlideOutDescription, SlideOutHeader, SlideOutOverlay, SlideOutPortal, SlideOutTitle, SlideOutTrigger, Slider, SpecList, Spinner, SquareSkeleton, StateSelect, StatusBadge$1 as StatusBadge, StatusFilter, Stepper, StockTypeFilter, TablePagination, TableRowsSkeleton, TableSkeleton, Tabs, TabsContent, TabsList, TabsTrigger, TagsInput, TextHyperlink, TimePicker, ToggleSwitch, TriStateFilter, TruncateTooltip, TruncatedLabel, WarehouseComboBox, WarehouseFilter, ZoomSplitViewer, asList, asText, badgeVariants, buildBulkShareMessage, buildBulkShareTitle, buildInventoryPublicUrl, buildInventoryRowProps, buildInventoryShareTitle, buildNumberRuleHelp, buildWhatsappUrl, buttonVariants, cn, countries, countryByCode, createVideoMediaItem, describeFilterValue, dropdownMenuItemDestructiveClass, expandScaleRange, fieldTypeIcon, filterSavedSearches, findRegion, flagEmoji, formatAddressLocation, formatDateRange, formatFileSize, formatNumberRange, formatScaleRange, formatSelectedCount, generateActionDescription, generateTitle, getBadgeTypeForStatus, getChangePills, getCountryName, getInitials, getStatesOfCountry, iconButtonVariants, inAppNotificationCardA11y, inAppNotificationsPanelA11y, isBlank, isDuplicateSearchName, isFilterValueActive, isIndiaCountry, isKnownRegion, isPathActive, isValidAlpha2CountryCode, isValidSearchName, isValueEmpty, notify, parseNumberExpression, releaseStaleOverlayBodyLock, renderBadge, resolveCountryCode, resolveDatePreset, resolveDateRange, richTextChangeText, splitIdList, toAddressFormValues, toBoolValue, toContainsValue, toDateValue, toIdsValue, toListValue, toNumberValue, toScaleValue, useAuditShowMore, useBadge, useButton, useDropdownMenu, useInAppNotificationsPanel, useNavbar, useSidebar, valueOfType, videoThumbnailSrc, watchOverlayBodyLock };
81090
+ export { ACTIVITY_CATEGORIES, ACTIVITY_CATEGORY_META, ActionBadge, ActionButtonWithTooltip, ActiveFilterChips, ActivityFeed, AdvancedSearchDrawer, Alert, ApiComboBox, AppSidebar, AuditEntryCard, AuditHistoryPanel, AuditTimeline, AuditTimelineShimmer, Badge, BadgeType, BusinessContactStatusFilter, Button, CUSTOMER_AUDIT_CONFIG, CertificateRowList, ChangePill, Collapsible, CollapsibleCard, CollapsibleContent, CollapsibleTrigger, CompanyCard, ConfirmDialog, ContactTypeFilter, ContainsFilter, CopyButton, CountrySelect, CreateFormPageHeader, CreateFormPageShell, CurrencyDisplayTabs, CurrencyInput, CurrencyToggle, CustomCombobox, CustomFieldInput, CustomFieldValue, CustomTable, CustomizeColumnsDrawer, DATE_PRESET_OPTIONS, DIAMOND_AUDIT_CONFIG, DashboardShell, DataEditableTable, DataTable, DateInput, DateRangeFilter, DetailChip, DetailPageLayout, DetailPageSkeleton, DetailSection, DocumentDeleteDialog, DocumentDetailSkeleton, DocumentHero, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyValue, EntityHeader, FILTER_COUNT_BADGE_CLASS_NAME, Field, FieldSkeleton, FileUploader, FilterCardSkeleton, FilterCellPopover, FilterEmptyState, FilterField, FilterFieldCard, FilterFieldCell, FilterFieldControl, FilterMultiSelect, FilterPanel, FilterSelect, FilterSurface, FilterSurfaceGroup, FilterSurfaceMore, FilterSurfaceSortable, FloatingSlideOver, FormSectionCard, FormSectionCardSkeleton, GEM_AUDIT_CONFIG, HistoryEntryCard, HistoryTimeline, HistoryTimelineShimmer, INVOICE_AUDIT_CONFIG, IconButton, IdHyperlinkText, IdListInput, InAppNotificationCard, InAppNotificationsPanel, InfoBanner, InventoryComboBox, InventoryItemCard, InventoryItemRow, InvoiceComboBox, KYCStatusFilter, KeyValueGrid, LAYOUT_AUDIT_CONFIG, LabeledToggle, LineItemsCard, LineProductCell, LineProductThumb, LineProductTypeChip, LineRowActionsMenu, LineTable, LineTableEmpty, MEMO_IN_AUDIT_CONFIG, MEMO_OUT_AUDIT_CONFIG, MediaGallery, MemoInComboBox, MetricCard, MetricRow, MetricTile, Modal, MoreInfoPanel, MoreInfoTrigger, NOT_CAPTURED, Navbar, NavbarActions, NavbarAvatar, NavbarIconButton, NavbarSearch, NavbarTitle, NumberExpressionFilter, NumberInput, NumberRangeInputs, NumberedStepCard, OtpInput, OwnershipFilter, OwnershipSplitCard, PROFORMA_AUDIT_CONFIG, PageHeader, PageTabs, Pagination, PaginationSelect, PartnerShareCard, PickListDropdown, PickListFilter, PriceInput, Protected, PurchaseOrderComboBox, QUOTATION_AUDIT_CONFIG, RadioCardGroup, ReadMoreText, RefreshButton, RichTextarea$1 as RichTextarea, SAVED_SEARCH_NAME_MAX_LENGTH, SEARCHABLE_SELECT_PAGE_SIZE, SafeImage, SaveSearchDialog, SavedSearchChipList, SavedSearchDetail, SavedSearchesMenu, ScaleRangeFilter, ScrollFade, SearchBox, SearchInput, SearchableSelect, SectionCard, SectionIcon, SegmentedControl, ShareDialog, ShareMenu, ShimmerTable, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupLabel, SidebarHeader, SidebarInset, SidebarMenu, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SlideOut, SlideOutClose, SlideOutContent, SlideOutDescription, SlideOutHeader, SlideOutOverlay, SlideOutPortal, SlideOutTitle, SlideOutTrigger, Slider, SpecList, Spinner, SquareSkeleton, StateSelect, StatusBadge$1 as StatusBadge, StatusFilter, Stepper, StockTypeFilter, TablePagination, TableRowsSkeleton, TableSkeleton, Tabs, TabsContent, TabsList, TabsTrigger, TagsInput, TextHyperlink, TimePicker, ToggleSwitch, TriStateFilter, TruncateTooltip, TruncatedLabel, WarehouseComboBox, WarehouseFilter, ZoomSplitViewer, asList, asText, badgeVariants, buildBulkShareMessage, buildBulkShareTitle, buildInventoryPublicUrl, buildInventoryRowProps, buildInventoryShareTitle, buildNumberRuleHelp, buildWhatsappUrl, buttonVariants, cn, countries, countryByCode, createVideoMediaItem, describeFilterValue, dropdownMenuItemDestructiveClass, expandScaleRange, fieldTypeIcon, filterSavedSearches, findRegion, flagEmoji, formatAddressLocation, formatDateRange, formatFileSize, formatNumberRange, formatScaleRange, formatSelectedCount, generateActionDescription, generateTitle, getBadgeTypeForStatus, getChangePills, getCountryName, getInitials, getStatesOfCountry, iconButtonVariants, inAppNotificationCardA11y, inAppNotificationsPanelA11y, isBlank, isDuplicateSearchName, isFilterValueActive, isIndiaCountry, isKnownRegion, isPathActive, isValidAlpha2CountryCode, isValidSearchName, isValueEmpty, notify, parseNumberExpression, releaseStaleOverlayBodyLock, renderBadge, resolveCountryCode, resolveDatePreset, resolveDateRange, richTextChangeText, splitIdList, toAddressFormValues, toBoolValue, toContainsValue, toDateValue, toIdsValue, toListValue, toNumberValue, toScaleValue, useAuditShowMore, useBadge, useButton, useDropdownMenu, useInAppNotificationsPanel, useNavbar, useSidebar, valueOfType, videoThumbnailSrc, watchOverlayBodyLock };
80978
81091
  //# sourceMappingURL=index.esm.js.map