@vantageos/mosaic-blocks 0.5.14-alpha → 0.5.18-alpha
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/README.md +6 -3
- package/dist/index.cjs +595 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +491 -2
- package/dist/index.d.ts +491 -2
- package/dist/index.js +578 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/registry.json +62 -1
package/dist/index.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ import { Switch } from '@base-ui/react/switch';
|
|
|
20
20
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
21
21
|
export { Tooltip } from '@base-ui/react/tooltip';
|
|
22
22
|
|
|
23
|
-
declare const version = "0.5.
|
|
23
|
+
declare const version = "0.5.18-alpha";
|
|
24
24
|
|
|
25
25
|
/**
|
|
26
26
|
* Placeholder component — infra scaffold only.
|
|
@@ -6613,4 +6613,493 @@ declare namespace MosaicAgentChat {
|
|
|
6613
6613
|
/** Root harness container — thread above, composer pinned below. */
|
|
6614
6614
|
declare const agentChatRootVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
6615
6615
|
|
|
6616
|
-
|
|
6616
|
+
/**
|
|
6617
|
+
* MosaicToast — presentational ephemeral notification
|
|
6618
|
+
*
|
|
6619
|
+
* Presentational atom. Displays a short-lived status message (success /
|
|
6620
|
+
* error / info / warning) with an optional description, an optional
|
|
6621
|
+
* host-rendered action, and a required dismiss control. The component
|
|
6622
|
+
* performs no network call and owns no SDK / toast-stacking runtime:
|
|
6623
|
+
* dismissal is surfaced purely via the `onDismiss()` callback — the host
|
|
6624
|
+
* (typically paired with `MosaicToastProvider`) owns the actual queue of
|
|
6625
|
+
* visible toasts, their insertion order, and any exit animation.
|
|
6626
|
+
*
|
|
6627
|
+
* Auto-dismiss is opt-in via `durationMs`: when provided, the component
|
|
6628
|
+
* starts a single `setTimeout` on mount and calls `onDismiss()` once it
|
|
6629
|
+
* elapses (cleared on unmount / prop change). When `durationMs` is
|
|
6630
|
+
* omitted, the toast never dismisses itself — the host's dismiss button
|
|
6631
|
+
* (or its own external logic) is the only path to `onDismiss()`.
|
|
6632
|
+
*
|
|
6633
|
+
* Pattern: MosaicApprovalPrompt.tsx (data-slot, inline cn, React 19 ref
|
|
6634
|
+
* prop, displayName, JSDoc, pure variants module).
|
|
6635
|
+
* No "use client" in source — prepend-use-client.mjs adds it to dist; the
|
|
6636
|
+
* `useEffect` timer below requires the client runtime at use-time.
|
|
6637
|
+
* Design tokens: --foreground, --muted-foreground, --border,
|
|
6638
|
+
* --destructive, --card, --accent, --background (amber-* utility classes
|
|
6639
|
+
* for the "warning" variant, consistent with Tailwind's built-in palette).
|
|
6640
|
+
* a11y: the root carries `role="alert"` for the "error" variant (the only
|
|
6641
|
+
* variant that represents an unrecoverable failure worth interrupting the
|
|
6642
|
+
* screen-reader user for) and `role="status"` for every other variant —
|
|
6643
|
+
* both roles are implicitly live regions, so no extra `aria-live` is
|
|
6644
|
+
* needed. The dismiss button's accessible name IS the required
|
|
6645
|
+
* `dismissAriaLabel` prop — zero hardcoded copy, zero default.
|
|
6646
|
+
* Bilingual: every user-facing string (`title`/`description`/
|
|
6647
|
+
* `dismissAriaLabel`) is a required-or-explicit caller-supplied prop —
|
|
6648
|
+
* the library never generates its own copy.
|
|
6649
|
+
*
|
|
6650
|
+
* @example
|
|
6651
|
+
* <MosaicToast
|
|
6652
|
+
* variant="success"
|
|
6653
|
+
* title="Modifications enregistrées"
|
|
6654
|
+
* description="Vos changements ont été appliqués."
|
|
6655
|
+
* onDismiss={() => removeToast(id)}
|
|
6656
|
+
* dismissAriaLabel="Fermer la notification"
|
|
6657
|
+
* durationMs={5000}
|
|
6658
|
+
* />
|
|
6659
|
+
*/
|
|
6660
|
+
|
|
6661
|
+
/** Visual + semantic tone of the toast. Drives styling AND the a11y role. */
|
|
6662
|
+
type MosaicToastVariant = "success" | "error" | "info" | "warning";
|
|
6663
|
+
interface MosaicToastProps {
|
|
6664
|
+
/** Visual + semantic tone. Drives the a11y role ("alert" for "error", "status" otherwise). */
|
|
6665
|
+
variant: MosaicToastVariant;
|
|
6666
|
+
/** Toast headline. Required, no default — the library never generates its own copy. */
|
|
6667
|
+
title: string;
|
|
6668
|
+
/** Optional supporting detail rendered below the title. */
|
|
6669
|
+
description?: string;
|
|
6670
|
+
/** Host-rendered action region (e.g. an "Undo" button). The library never decides its shape. */
|
|
6671
|
+
action?: React.ReactNode;
|
|
6672
|
+
/** Called when the toast is dismissed — by the dismiss button OR the `durationMs` timer. */
|
|
6673
|
+
onDismiss: () => void;
|
|
6674
|
+
/** Accessible name of the dismiss button. Required, no default. */
|
|
6675
|
+
dismissAriaLabel: string;
|
|
6676
|
+
/** When set, the toast auto-dismisses (`onDismiss()`) after this many milliseconds. */
|
|
6677
|
+
durationMs?: number;
|
|
6678
|
+
/** Additional Tailwind classes on the root element. */
|
|
6679
|
+
className?: string;
|
|
6680
|
+
/** React 19 ref prop — forwarded to the root element. */
|
|
6681
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
6682
|
+
}
|
|
6683
|
+
/**
|
|
6684
|
+
* MosaicToast — production ephemeral-notification atom for
|
|
6685
|
+
* @vantageos/mosaic-blocks.
|
|
6686
|
+
*
|
|
6687
|
+
* Purely presentational: renders variant + title + optional description +
|
|
6688
|
+
* optional host-rendered action + a required dismiss control, and reports
|
|
6689
|
+
* dismissal via `onDismiss()`. No network call, no SDK, no built-in copy,
|
|
6690
|
+
* no toast queue / stacking logic (that is `MosaicToastProvider`'s job, or
|
|
6691
|
+
* the host's).
|
|
6692
|
+
*/
|
|
6693
|
+
declare function MosaicToast({ variant, title, description, action, onDismiss, dismissAriaLabel, durationMs, className, ref, }: MosaicToastProps): React.JSX.Element;
|
|
6694
|
+
declare namespace MosaicToast {
|
|
6695
|
+
var displayName: string;
|
|
6696
|
+
}
|
|
6697
|
+
|
|
6698
|
+
/**
|
|
6699
|
+
* MosaicToastProvider — presentational fixed-position toast stack container
|
|
6700
|
+
*
|
|
6701
|
+
* Presentational atom. Anchors a vertical stack of `MosaicToast` elements to
|
|
6702
|
+
* one screen corner/edge and stacks them with a fixed gap. It owns no state
|
|
6703
|
+
* and no queue: the host renders whichever `MosaicToast` elements are
|
|
6704
|
+
* currently visible as `children`, in the order it wants them stacked — this
|
|
6705
|
+
* component only positions the resulting stack on screen.
|
|
6706
|
+
*
|
|
6707
|
+
* Autonomous: does NOT depend on `MosaicToast` itself — any content can be
|
|
6708
|
+
* passed as `children`, mirroring the rest of the library's host-controlled
|
|
6709
|
+
* composition pattern.
|
|
6710
|
+
*
|
|
6711
|
+
* Pattern: MosaicApprovalPrompt.tsx (data-slot, inline cn, React 19 ref
|
|
6712
|
+
* prop, displayName, JSDoc, pure variants module).
|
|
6713
|
+
* No "use client" in source — prepend-use-client.mjs adds it to dist.
|
|
6714
|
+
* Design tokens: none directly (the stack itself is unstyled beyond
|
|
6715
|
+
* position/spacing) — visual tokens live on the `MosaicToast` children.
|
|
6716
|
+
* a11y: the container is `pointer-events-none` so it never intercepts
|
|
6717
|
+
* clicks meant for content underneath; each toast re-enables pointer events
|
|
6718
|
+
* on itself (native `<button>`/interactive elements are always clickable
|
|
6719
|
+
* regardless of an ancestor's `pointer-events: none`... in practice hosts
|
|
6720
|
+
* commonly leave toasts non-interactive except for the dismiss button,
|
|
6721
|
+
* which still receives events because `pointer-events` do not cascade to
|
|
6722
|
+
* elements given their own explicit `pointer-events: auto`; MosaicToast
|
|
6723
|
+
* does not set that here, so a host embedding interactive `action` nodes
|
|
6724
|
+
* should override `className` on `MosaicToastProvider` if needed).
|
|
6725
|
+
* Bilingual: no user-facing copy — the container renders no text of its own.
|
|
6726
|
+
*/
|
|
6727
|
+
|
|
6728
|
+
/** Screen anchor for the toast stack. */
|
|
6729
|
+
type MosaicToastProviderPosition = "top-right" | "top-center" | "bottom-right" | "bottom-center";
|
|
6730
|
+
interface MosaicToastProviderProps {
|
|
6731
|
+
/** The currently visible toasts, host-ordered. */
|
|
6732
|
+
children: React.ReactNode;
|
|
6733
|
+
/** Screen anchor for the stack. Defaults to "top-right" (a layout default, not visible copy). */
|
|
6734
|
+
position?: MosaicToastProviderPosition;
|
|
6735
|
+
/** Additional Tailwind classes on the root element. */
|
|
6736
|
+
className?: string;
|
|
6737
|
+
/** React 19 ref prop — forwarded to the root element. */
|
|
6738
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
6739
|
+
}
|
|
6740
|
+
/**
|
|
6741
|
+
* MosaicToastProvider — production toast-stack positioning atom for
|
|
6742
|
+
* @vantageos/mosaic-blocks.
|
|
6743
|
+
*
|
|
6744
|
+
* Purely presentational: fixes `children` to one screen corner/edge and
|
|
6745
|
+
* stacks them with a gap. No state, no queue, no timers — those live on
|
|
6746
|
+
* each `MosaicToast` child (`durationMs`) or on the host.
|
|
6747
|
+
*/
|
|
6748
|
+
declare function MosaicToastProvider({ children, position, className, ref, }: MosaicToastProviderProps): React.JSX.Element;
|
|
6749
|
+
declare namespace MosaicToastProvider {
|
|
6750
|
+
var displayName: string;
|
|
6751
|
+
}
|
|
6752
|
+
|
|
6753
|
+
/**
|
|
6754
|
+
* toastVariants — pure CVA variant functions for MosaicToast / MosaicToastProvider.
|
|
6755
|
+
*
|
|
6756
|
+
* Isolated in their own module so they can be re-exported from the
|
|
6757
|
+
* `@vantageos/mosaic-blocks/server` subpath without pulling in React.
|
|
6758
|
+
*
|
|
6759
|
+
* Zero browser / React runtime dependencies — safe in RSC / Node.js.
|
|
6760
|
+
*/
|
|
6761
|
+
/** Root toast card container variants by variant. */
|
|
6762
|
+
declare const toastCardVariants: (props?: ({
|
|
6763
|
+
variant?: "error" | "success" | "info" | "warning" | null | undefined;
|
|
6764
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
6765
|
+
/** Title text variants by variant. */
|
|
6766
|
+
declare const toastTitleVariants: (props?: ({
|
|
6767
|
+
variant?: "error" | "success" | "info" | "warning" | null | undefined;
|
|
6768
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
6769
|
+
/** Dismiss button variants — a single visual treatment across every variant. */
|
|
6770
|
+
declare const toastDismissButtonVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
6771
|
+
/** Provider stack positioning — anchors the toast stack in a screen corner/edge. */
|
|
6772
|
+
declare const toastProviderPositionVariants: (props?: ({
|
|
6773
|
+
position?: "top-right" | "top-center" | "bottom-right" | "bottom-center" | null | undefined;
|
|
6774
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
6775
|
+
|
|
6776
|
+
/**
|
|
6777
|
+
* MosaicPdfViewer — presentational inline PDF preview
|
|
6778
|
+
*
|
|
6779
|
+
* Presentational atom. Renders a PDF document, given a `fileUrl`, inline via
|
|
6780
|
+
* the browser's native PDF renderer (an `<iframe>` pointed at `fileUrl`,
|
|
6781
|
+
* optionally suffixed with the standard `#page=`/`#zoom=` viewer fragment).
|
|
6782
|
+
* The component performs no network call of its own: it never calls `fetch`
|
|
6783
|
+
* or any SDK — the browser's own iframe navigation is what loads `fileUrl`,
|
|
6784
|
+
* exactly as it would for any other iframe `src`. The host owns `fileUrl`
|
|
6785
|
+
* (including any signing/auth query string) and owns page/zoom state.
|
|
6786
|
+
*
|
|
6787
|
+
* Page navigation and zoom are both fully host-controlled, exactly like
|
|
6788
|
+
* `MosaicUrlScraper`'s `url`/`onUrlChange`: `currentPage`/`onPageChange` and
|
|
6789
|
+
* `zoom`/`onZoomChange` are independent optional pairs — the toolbar for a
|
|
6790
|
+
* given control only renders when that pair's value prop is supplied, and
|
|
6791
|
+
* activating a toolbar button only calls back out; it never mutates local
|
|
6792
|
+
* page/zoom state itself.
|
|
6793
|
+
*
|
|
6794
|
+
* Loading/error status IS local state (not host-controlled): it reflects
|
|
6795
|
+
* whether the browser has finished loading `fileUrl` into the iframe.
|
|
6796
|
+
* `loadingLabel` is shown until the iframe's native `load` event fires;
|
|
6797
|
+
* `errorLabel` replaces the frame if the iframe instead fires a native
|
|
6798
|
+
* `error` event (e.g. `fileUrl` unreachable). Changing `fileUrl` resets this
|
|
6799
|
+
* local status back to loading — pattern lifted from `MosaicDocumentUpload`'s
|
|
6800
|
+
* per-file host-controlled status conventions, applied here to a single
|
|
6801
|
+
* host-supplied `fileUrl`.
|
|
6802
|
+
*
|
|
6803
|
+
* Both listeners are attached with a plain `addEventListener` on the iframe
|
|
6804
|
+
* DOM node (via a local `useRef`+`useEffect`), NOT via React's `onLoad`/
|
|
6805
|
+
* `onError` JSX props: React only special-cases the `iframe`/`object` tags
|
|
6806
|
+
* for its non-delegated-event optimization on `load`, never on `error` (the
|
|
6807
|
+
* `error` special-case list only covers `img`/`image`/`source`/`embed`/
|
|
6808
|
+
* `link`) — so a React `onError` prop on an `<iframe>` is silently never
|
|
6809
|
+
* invoked, in every browser, not just under jsdom. Attaching the listener
|
|
6810
|
+
* directly on the node sidesteps React's synthetic-event dispatch entirely
|
|
6811
|
+
* and reacts to the DOM event regardless of delegation/bubbling support.
|
|
6812
|
+
*
|
|
6813
|
+
* Pattern: MosaicUrlScraper.tsx / MosaicDocumentUpload.tsx (data-slot, inline
|
|
6814
|
+
* cn, React 19 ref prop, displayName, JSDoc, pure variants module, presentational
|
|
6815
|
+
* — host owns fetch, no PDF library dependency: the browser's built-in PDF
|
|
6816
|
+
* plugin renders the iframe, exactly like MosaicUrlScraper leans on the
|
|
6817
|
+
* browser's own `new URL()` for local syntax validation instead of a parsing
|
|
6818
|
+
* library).
|
|
6819
|
+
* No "use client" in source — prepend-use-client.mjs adds it to dist; the
|
|
6820
|
+
* `useState` below requires the client runtime at use-time.
|
|
6821
|
+
* Design tokens: --foreground, --muted-foreground, --border, --destructive,
|
|
6822
|
+
* --card, --accent, --background.
|
|
6823
|
+
* No icon library — plain glyphs ("‹"/"›"/"−"/"+"), matching the
|
|
6824
|
+
* document-upload/url-scraper convention (no lucide-react runtime dependency).
|
|
6825
|
+
* a11y: the loading region uses `role="status"`; the error region uses
|
|
6826
|
+
* `role="alert"`. The iframe's `title` is `fileUrl` itself — the only
|
|
6827
|
+
* caller-independent, non-hardcoded string available to describe "the
|
|
6828
|
+
* document this frame is showing" (no new required prop was introduced for
|
|
6829
|
+
* this — the JSDoc on the field explains the choice).
|
|
6830
|
+
* Bilingual: every user-facing string (`loadingLabel`/`errorLabel`) is a
|
|
6831
|
+
* required caller-supplied prop — zero hardcoded copy, zero default.
|
|
6832
|
+
*
|
|
6833
|
+
* @example
|
|
6834
|
+
* <MosaicPdfViewer
|
|
6835
|
+
* fileUrl={documentUrl}
|
|
6836
|
+
* currentPage={page}
|
|
6837
|
+
* onPageChange={setPage}
|
|
6838
|
+
* totalPages={totalPages}
|
|
6839
|
+
* zoom={zoom}
|
|
6840
|
+
* onZoomChange={setZoom}
|
|
6841
|
+
* loadingLabel="Chargement du document…"
|
|
6842
|
+
* errorLabel="Impossible d'afficher ce document."
|
|
6843
|
+
* />
|
|
6844
|
+
*/
|
|
6845
|
+
|
|
6846
|
+
interface MosaicPdfViewerProps {
|
|
6847
|
+
/** URL of the PDF document to render. The host owns fetching/signing it. */
|
|
6848
|
+
fileUrl: string;
|
|
6849
|
+
/** Current page, controlled by the host (1-indexed). Omit to hide page controls. */
|
|
6850
|
+
currentPage?: number;
|
|
6851
|
+
/** Called with the requested page when a page-navigation button is activated. */
|
|
6852
|
+
onPageChange?: (page: number) => void;
|
|
6853
|
+
/** Total page count, shown next to `currentPage` and used to disable "next" at the end. */
|
|
6854
|
+
totalPages?: number;
|
|
6855
|
+
/** Current zoom factor (e.g. `1` = 100%), controlled by the host. Omit to hide zoom controls. */
|
|
6856
|
+
zoom?: number;
|
|
6857
|
+
/** Called with the requested zoom factor when a zoom button is activated. */
|
|
6858
|
+
onZoomChange?: (zoom: number) => void;
|
|
6859
|
+
/** Message shown while the document is loading. Required, no default. */
|
|
6860
|
+
loadingLabel: string;
|
|
6861
|
+
/** Message shown if the document fails to load. Required, no default. */
|
|
6862
|
+
errorLabel: string;
|
|
6863
|
+
/** Additional Tailwind classes on the root element. */
|
|
6864
|
+
className?: string;
|
|
6865
|
+
/** React 19 ref prop — forwarded to the root element. */
|
|
6866
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
6867
|
+
}
|
|
6868
|
+
/**
|
|
6869
|
+
* MosaicPdfViewer — production inline-PDF-preview atom for
|
|
6870
|
+
* @vantageos/mosaic-blocks.
|
|
6871
|
+
*
|
|
6872
|
+
* Purely presentational: renders `fileUrl` inline via the browser's native
|
|
6873
|
+
* PDF renderer, reports host-controlled page/zoom navigation via callbacks,
|
|
6874
|
+
* and surfaces load/error state via `loadingLabel`/`errorLabel`. No network
|
|
6875
|
+
* call of its own, no PDF library dependency, no built-in copy.
|
|
6876
|
+
*/
|
|
6877
|
+
declare function MosaicPdfViewer({ fileUrl, currentPage, onPageChange, totalPages, zoom, onZoomChange, loadingLabel, errorLabel, className, ref, }: MosaicPdfViewerProps): React.JSX.Element;
|
|
6878
|
+
declare namespace MosaicPdfViewer {
|
|
6879
|
+
var displayName: string;
|
|
6880
|
+
}
|
|
6881
|
+
|
|
6882
|
+
/**
|
|
6883
|
+
* pdfViewerVariants — pure CVA variant functions for MosaicPdfViewer.
|
|
6884
|
+
*
|
|
6885
|
+
* Isolated in their own module so they can be re-exported from the
|
|
6886
|
+
* `@vantageos/mosaic-blocks/server` subpath without pulling in React.
|
|
6887
|
+
*
|
|
6888
|
+
* Zero browser / React runtime dependencies — safe in RSC / Node.js.
|
|
6889
|
+
*/
|
|
6890
|
+
/** Frame container — hosts the iframe + the loading/error overlay. */
|
|
6891
|
+
declare const pdfViewerFrameVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
6892
|
+
/** Loading / error status region rendered over the frame. */
|
|
6893
|
+
declare const pdfViewerStatusVariants: (props?: ({
|
|
6894
|
+
tone?: "error" | "loading" | null | undefined;
|
|
6895
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
6896
|
+
/** Toolbar icon buttons — page navigation + zoom controls. */
|
|
6897
|
+
declare const pdfViewerToolbarButtonVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
6898
|
+
|
|
6899
|
+
/**
|
|
6900
|
+
* MosaicResizableSplitPane — presentational resizable two-pane layout
|
|
6901
|
+
*
|
|
6902
|
+
* Presentational content-level split, forming a pair with `MosaicPdfViewer`
|
|
6903
|
+
* (`main` = document preview, `side` = the edit panel next to it). The pattern
|
|
6904
|
+
* it replaces shows the document in a modal — so the reviewer sees the
|
|
6905
|
+
* document OR edits fields, never both at once. This component removes that
|
|
6906
|
+
* modal round-trip: `main` and `side` render side by side, and the boundary
|
|
6907
|
+
* between them is draggable.
|
|
6908
|
+
*
|
|
6909
|
+
* Fully host-controlled, exactly like `MosaicPdfViewer`'s page/zoom pair:
|
|
6910
|
+
* `sideWidth`/`onSideWidthChange` and `isSideCollapsed`/`onToggleSideCollapsed`
|
|
6911
|
+
* are independent controlled pairs — the component never keeps its own copy
|
|
6912
|
+
* of width or collapsed state, it only reports drag/keyboard/click intents
|
|
6913
|
+
* via callbacks. No business data lives in this contract: it only knows
|
|
6914
|
+
* `main` / `side` / dimensions — same pattern noted in the property contract
|
|
6915
|
+
* ("generalisable car aucune donnée métier dans le contrat de props").
|
|
6916
|
+
*
|
|
6917
|
+
* Distinct from `MosaicDashboardLayout`: that component owns the app SHELL
|
|
6918
|
+
* (header, sidebar, mobile drawer). This one owns CONTENT layout only — it
|
|
6919
|
+
* has no header, no navigation, no app-level concept, and composes *inside*
|
|
6920
|
+
* a page (or inside `MosaicDashboardLayout`'s children slot).
|
|
6921
|
+
*
|
|
6922
|
+
* Drag is implemented with plain `pointerdown`/`pointermove`/`pointerup`
|
|
6923
|
+
* listeners (no split-pane library dependency — matches the
|
|
6924
|
+
* `MosaicPdfViewer`/`MosaicUrlScraper` convention of leaning on browser
|
|
6925
|
+
* primitives instead of adding a runtime dependency). `pointerdown` is
|
|
6926
|
+
* attached via the JSX `onPointerDown` prop on the handle (React does
|
|
6927
|
+
* delegate pointer events); `pointermove`/`pointerup` are attached with a
|
|
6928
|
+
* plain `addEventListener` on `window` inside a `useEffect`, because the drag
|
|
6929
|
+
* must keep tracking the pointer even once it leaves the handle's bounds —
|
|
6930
|
+
* mirrors `MosaicPdfViewer`'s native-listener rationale (JSDoc there), here
|
|
6931
|
+
* applied because the *drag gesture* — not a single element's native event —
|
|
6932
|
+
* needs to outlive the handle's own DOM bounds.
|
|
6933
|
+
*
|
|
6934
|
+
* The resize handle is `role="separator"` with `aria-orientation="vertical"`,
|
|
6935
|
+
* `aria-valuenow`/`aria-valuemin`/`aria-valuemax`, and `tabIndex={0}` — it is
|
|
6936
|
+
* reachable and operable by keyboard alone (ArrowLeft/ArrowRight adjust
|
|
6937
|
+
* `sideWidth` by a fixed step), never mouse-only. This is a daily working
|
|
6938
|
+
* screen — a mouse-only resize handle would be a real accessibility defect,
|
|
6939
|
+
* not a nicety.
|
|
6940
|
+
*
|
|
6941
|
+
* Pattern: MosaicPdfViewer.tsx / MosaicSlider.tsx (data-slot, inline cn,
|
|
6942
|
+
* React 19 ref prop, displayName, JSDoc, pure variants module, presentational
|
|
6943
|
+
* — host owns width/collapsed state, no split-pane library dependency).
|
|
6944
|
+
* No "use client" in source — prepend-use-client.mjs adds it to dist; the
|
|
6945
|
+
* `useRef`/`useEffect` below require the client runtime at use-time.
|
|
6946
|
+
* Design tokens: --border, --accent, --ring.
|
|
6947
|
+
* No icon library — plain glyphs ("‹"/"›"), matching the
|
|
6948
|
+
* pdf-viewer/dashboard-layout convention (no lucide-react runtime dependency).
|
|
6949
|
+
* Bilingual: every user-facing string (`collapseButtonAriaLabel` /
|
|
6950
|
+
* `resizeHandleAriaLabel`) is a required caller-supplied prop — zero
|
|
6951
|
+
* hardcoded copy, zero default.
|
|
6952
|
+
*
|
|
6953
|
+
* @example
|
|
6954
|
+
* <MosaicResizableSplitPane
|
|
6955
|
+
* main={<MosaicPdfViewer fileUrl={documentUrl} loadingLabel="…" errorLabel="…" />}
|
|
6956
|
+
* side={<DocumentEditPanel />}
|
|
6957
|
+
* sideWidth={sideWidth}
|
|
6958
|
+
* onSideWidthChange={setSideWidth}
|
|
6959
|
+
* isSideCollapsed={isSideCollapsed}
|
|
6960
|
+
* onToggleSideCollapsed={() => setIsSideCollapsed((c) => !c)}
|
|
6961
|
+
* collapseButtonAriaLabel="Replier le panneau latéral"
|
|
6962
|
+
* resizeHandleAriaLabel="Redimensionner le panneau latéral"
|
|
6963
|
+
* />
|
|
6964
|
+
*/
|
|
6965
|
+
|
|
6966
|
+
interface MosaicResizableSplitPaneProps {
|
|
6967
|
+
/** Main pane content (e.g. a document preview). */
|
|
6968
|
+
main: React.ReactNode;
|
|
6969
|
+
/** Side pane content (e.g. an edit panel). Hidden when `isSideCollapsed`. */
|
|
6970
|
+
side: React.ReactNode;
|
|
6971
|
+
/** Side pane width as a percentage of the container, controlled by the host. */
|
|
6972
|
+
sideWidth?: number;
|
|
6973
|
+
/** Called with the requested width (percentage) while dragging the handle or using arrow keys. */
|
|
6974
|
+
onSideWidthChange?: (width: number) => void;
|
|
6975
|
+
/** Whether the side pane is collapsed, controlled by the host. */
|
|
6976
|
+
isSideCollapsed?: boolean;
|
|
6977
|
+
/** Called when the collapse/expand button is activated. */
|
|
6978
|
+
onToggleSideCollapsed?: () => void;
|
|
6979
|
+
/** Accessible label for the collapse/expand button. Required, no default. */
|
|
6980
|
+
collapseButtonAriaLabel: string;
|
|
6981
|
+
/** Accessible label for the resize handle. Required, no default. */
|
|
6982
|
+
resizeHandleAriaLabel: string;
|
|
6983
|
+
/** Additional Tailwind classes on the root element. */
|
|
6984
|
+
className?: string;
|
|
6985
|
+
/** React 19 ref prop — forwarded to the root element. */
|
|
6986
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
6987
|
+
}
|
|
6988
|
+
/**
|
|
6989
|
+
* MosaicResizableSplitPane — production resizable content-split layout for
|
|
6990
|
+
* @vantageos/mosaic-blocks.
|
|
6991
|
+
*
|
|
6992
|
+
* Purely presentational: renders `main`/`side` side by side, reports drag and
|
|
6993
|
+
* keyboard resize intents via `onSideWidthChange`, and reports collapse
|
|
6994
|
+
* intent via `onToggleSideCollapsed`. No split-pane library dependency, no
|
|
6995
|
+
* local width/collapsed state, no built-in copy.
|
|
6996
|
+
*/
|
|
6997
|
+
declare function MosaicResizableSplitPane({ main, side, sideWidth, onSideWidthChange, isSideCollapsed, onToggleSideCollapsed, collapseButtonAriaLabel, resizeHandleAriaLabel, className, ref, }: MosaicResizableSplitPaneProps): React.JSX.Element;
|
|
6998
|
+
declare namespace MosaicResizableSplitPane {
|
|
6999
|
+
var displayName: string;
|
|
7000
|
+
}
|
|
7001
|
+
|
|
7002
|
+
/**
|
|
7003
|
+
* splitPaneVariants — pure CVA variant functions for MosaicResizableSplitPane.
|
|
7004
|
+
*
|
|
7005
|
+
* Isolated in their own module so they can be re-exported from the
|
|
7006
|
+
* `@vantageos/mosaic-blocks/server` subpath without pulling in React.
|
|
7007
|
+
*
|
|
7008
|
+
* Zero browser / React runtime dependencies — safe in RSC / Node.js.
|
|
7009
|
+
*/
|
|
7010
|
+
/** Root container — flex row hosting main pane, handle, side pane. */
|
|
7011
|
+
declare const splitPaneRootVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
7012
|
+
/** Draggable resize handle between the two panes. */
|
|
7013
|
+
declare const splitPaneHandleVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
7014
|
+
/** Collapse/expand toggle button, anchored next to the handle. */
|
|
7015
|
+
declare const splitPaneCollapseButtonVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
7016
|
+
|
|
7017
|
+
/**
|
|
7018
|
+
* MosaicTagInput — presentational tag/chip input with optional autocomplete.
|
|
7019
|
+
*
|
|
7020
|
+
* Controlled component: `tags` is the single source of truth, supplied and
|
|
7021
|
+
* owned by the host. This component never keeps its own copy of the tag
|
|
7022
|
+
* list — it only reports add/remove intents via `onAddTag`/`onRemoveTag`,
|
|
7023
|
+
* same controlled-callback shape as `MosaicResizableSplitPane` and
|
|
7024
|
+
* `MosaicToolToggleList`.
|
|
7025
|
+
*
|
|
7026
|
+
* Filtering of `suggestions` follows the `MosaicCombobox` convention:
|
|
7027
|
+
* `@base-ui/react/combobox`'s `useFilter({ sensitivity: "base" }).contains`
|
|
7028
|
+
* strategy, additionally excluding tags already selected.
|
|
7029
|
+
*
|
|
7030
|
+
* `maxTags` is enforced LOUDLY, never silently: past the cap, the
|
|
7031
|
+
* underlying input exposes `aria-disabled="true"` and
|
|
7032
|
+
* `data-max-reached="true"` so a host/test can observe the refusal, not
|
|
7033
|
+
* just infer it from a missing callback call.
|
|
7034
|
+
*
|
|
7035
|
+
* data-slot="tag-input" on the root, data-slot="tag-input-tag" on each chip.
|
|
7036
|
+
* Bilingual: `placeholder` and `removeTagAriaLabel` are required
|
|
7037
|
+
* host-supplied props — zero hardcoded copy, zero default (SIN-01).
|
|
7038
|
+
*
|
|
7039
|
+
* No "use client" in source — prepend-use-client.mjs adds it to dist.
|
|
7040
|
+
* Design tokens: --border, --background, --ring, --accent,
|
|
7041
|
+
* --accent-foreground, --foreground, --muted-foreground.
|
|
7042
|
+
*
|
|
7043
|
+
* @example
|
|
7044
|
+
* <MosaicTagInput
|
|
7045
|
+
* tags={tags}
|
|
7046
|
+
* onAddTag={(tag) => setTags((prev) => [...prev, tag])}
|
|
7047
|
+
* onRemoveTag={(tag) => setTags((prev) => prev.filter((t) => t !== tag))}
|
|
7048
|
+
* placeholder="Ajouter un tag…"
|
|
7049
|
+
* removeTagAriaLabel={(tag) => `Retirer ${tag}`}
|
|
7050
|
+
* suggestions={["react", "vue", "svelte"]}
|
|
7051
|
+
* maxTags={10}
|
|
7052
|
+
* />
|
|
7053
|
+
*/
|
|
7054
|
+
|
|
7055
|
+
interface MosaicTagInputProps {
|
|
7056
|
+
/** Current list of tags. Controlled — the host owns the source of truth. */
|
|
7057
|
+
tags: string[];
|
|
7058
|
+
/** Called when a new tag should be added. */
|
|
7059
|
+
onAddTag: (tag: string) => void;
|
|
7060
|
+
/** Called when a tag should be removed. */
|
|
7061
|
+
onRemoveTag: (tag: string) => void;
|
|
7062
|
+
/** Input placeholder. Required — host-supplied, host-localized. */
|
|
7063
|
+
placeholder: string;
|
|
7064
|
+
/** Per-tag accessible name for the remove button. Required, no default. */
|
|
7065
|
+
removeTagAriaLabel: (tag: string) => string;
|
|
7066
|
+
/** Optional autocomplete source, filtered with "contains" against typed text. */
|
|
7067
|
+
suggestions?: string[];
|
|
7068
|
+
/** Maximum number of tags allowed. */
|
|
7069
|
+
maxTags?: number;
|
|
7070
|
+
/** Additional Tailwind classes on the root element. */
|
|
7071
|
+
className?: string;
|
|
7072
|
+
/** React 19 ref prop — forwarded to the underlying input. */
|
|
7073
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
7074
|
+
}
|
|
7075
|
+
/**
|
|
7076
|
+
* MosaicTagInput — production tag/chip input atom for
|
|
7077
|
+
* @vantageos/mosaic-blocks.
|
|
7078
|
+
*
|
|
7079
|
+
* Purely presentational and fully controlled: renders `tags` as removable
|
|
7080
|
+
* chips plus a text field, reports add/remove intents via callbacks, and
|
|
7081
|
+
* optionally suggests matches from a host-supplied `suggestions` list.
|
|
7082
|
+
*/
|
|
7083
|
+
declare function MosaicTagInput({ tags, onAddTag, onRemoveTag, placeholder, removeTagAriaLabel, suggestions, maxTags, className, ref, }: MosaicTagInputProps): React.JSX.Element;
|
|
7084
|
+
declare namespace MosaicTagInput {
|
|
7085
|
+
var displayName: string;
|
|
7086
|
+
}
|
|
7087
|
+
|
|
7088
|
+
/**
|
|
7089
|
+
* tagInputVariants — pure CVA variant functions for MosaicTagInput.
|
|
7090
|
+
*
|
|
7091
|
+
* Isolated in their own module so they can be re-exported from the
|
|
7092
|
+
* `@vantageos/mosaic-blocks/server` subpath without pulling in React.
|
|
7093
|
+
*
|
|
7094
|
+
* Zero browser / React runtime dependencies — safe in RSC / Node.js.
|
|
7095
|
+
*/
|
|
7096
|
+
/** Root container — wraps tags + input, bordered like a text field. */
|
|
7097
|
+
declare const tagInputRootVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
7098
|
+
/** One tag chip. */
|
|
7099
|
+
declare const tagInputTagVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
7100
|
+
/** Remove button inside a tag chip. */
|
|
7101
|
+
declare const tagInputRemoveButtonVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
7102
|
+
/** Bare text input where new tags are typed. */
|
|
7103
|
+
declare const tagInputFieldVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
7104
|
+
|
|
7105
|
+
export { type Breakpoint, type DeviceContextValue, type Feature3ColItem, type FeatureItem, type FooterColumn, type FooterLink, type HeroCta, type LogoItem, MosaicAccordion, MosaicAccordionItem, type MosaicAccordionItemProps, MosaicAccordionPanel, type MosaicAccordionPanelProps, type MosaicAccordionProps, MosaicAccordionTrigger, type MosaicAccordionTriggerProps, type MosaicActionAccent, type MosaicActivity, MosaicActivityFeed, type MosaicActivityFeedProps, MosaicActivityItem, type MosaicActivityItemProps, type MosaicActivityStatus, MosaicAdaptiveGrid, type MosaicAdaptiveGridProps, MosaicAdaptiveModal, type MosaicAdaptiveModalProps, MosaicAdaptiveNavigation, type MosaicAdaptiveNavigationProps, MosaicAgentCard, type MosaicAgentCardProps, MosaicAgentChat, type MosaicAgentChatApprovalLabels, type MosaicAgentChatApprovalRequest, type MosaicAgentChatApprovalResponsePayload, type MosaicAgentChatMessage, type MosaicAgentChatMessagePart, type MosaicAgentChatProps, type MosaicAgentChatState, type MosaicAgentChatToolPart, type MosaicAgentChatToolPartState, MosaicAgentComposer, MosaicAgentComposerDesktop, MosaicAgentComposerMobile, type MosaicAgentComposerMobileProps, type MosaicAgentComposerProps, type MosaicAgentData, MosaicAgentList, AgentListDesktop as MosaicAgentListDesktop, AgentListMobile as MosaicAgentListMobile, type MosaicAgentListProps, type MosaicAgentPreset, MosaicAgentTeamPreview, type MosaicAgentTeamPreviewProps, MosaicAnimatedList, type MosaicAnimatedListProps, MosaicApiKeyPanel, type MosaicApiKeyPanelProps, type MosaicApiKeyPanelProvider, type MosaicApiKeyPanelState, MosaicAppSidebar, type MosaicAppSidebarProps, MosaicApprovalPrompt, type MosaicApprovalPromptProps, type MosaicApprovalPromptState, MosaicAvatar, type MosaicAvatarProps, MosaicBadge, type MosaicBadgeProps, MosaicBlurredOrb, type MosaicBlurredOrbProps, type MosaicBreadcrumb, MosaicButton, type MosaicButtonProps, MosaicCard, MosaicCardContent, type MosaicCardContentProps, MosaicCardDescription, type MosaicCardDescriptionProps, MosaicCardFooter, type MosaicCardFooterProps, MosaicCardHeader, type MosaicCardHeaderProps, type MosaicCardProps, MosaicCardTitle, type MosaicCardTitleProps, MosaicChatComposer, type MosaicChatComposerProps, type MosaicChatComposerState, MosaicChatMessage, type MosaicChatMessagePart, type MosaicChatMessageProps, type MosaicChatMessageReasoningPart, type MosaicChatMessageSenderRole, type MosaicChatMessageTextPart, type MosaicChatMessageToolPart, type MosaicChatMessageToolState, type MosaicChatMessageToolStatusLabels, MosaicChatThread, type MosaicChatThreadProps, MosaicCheckbox, type MosaicCheckboxProps, type MosaicClerkMembership, MosaicClerkOrgSwitcher, type MosaicClerkOrgSwitcherProps, type MosaicClerkOrganization, MosaicClerkWebhookHandler, type MosaicClerkWebhookHandlerOptions, MosaicCollapsible, MosaicCollapsiblePanel, type MosaicCollapsiblePanelProps, type MosaicCollapsibleProps, MosaicCollapsibleTrigger, type MosaicCollapsibleTriggerProps, MosaicCombobox, type MosaicComboboxItem, type MosaicComboboxProps, type MosaicComposerModel, type MosaicComposerModule, MosaicCounter, type MosaicCounterProps, MosaicCreateOrgDialog, type MosaicCreateOrgDialogProps, MosaicDashboardContent, type MosaicDashboardContentProps, MosaicDashboardHeader, type MosaicDashboardHeaderProps, MosaicDashboardLayout, type MosaicDashboardLayoutProps, type MosaicDashboardView, MosaicDataTable, type MosaicDataTableColumn, type MosaicDataTablePagination, type MosaicDataTableProps, MosaicDeleteConfirmationDialog, type MosaicDeleteConfirmationDialogProps, MosaicDeviceProvider, type MosaicDeviceProviderProps, MosaicDocumentUpload, type MosaicDocumentUploadFile, type MosaicDocumentUploadFileStatus, type MosaicDocumentUploadProps, MosaicDropdownMenu, type MosaicDropdownMenuItem, type MosaicDropdownMenuProps, MosaicEmptyState, type MosaicEmptyStateProps, MosaicFallingPattern, type MosaicFallingPatternProps, MosaicFeature3Col, type MosaicFeature3ColProps, MosaicFeatureCenteredMedia, type MosaicFeatureCenteredMediaProps, MosaicField, MosaicFieldControl, type MosaicFieldControlProps, MosaicFieldDescription, type MosaicFieldDescriptionProps, MosaicFieldError, type MosaicFieldErrorProps, MosaicFieldLabel, type MosaicFieldLabelProps, type MosaicFieldProps, MosaicFilterBar, type MosaicFilterBarProps, type MosaicFilterOption, MosaicFilterSidebar, type MosaicFilterSidebarProps, MosaicFooterSimple, type MosaicFooterSimpleProps, MosaicHeroSplit, type MosaicHeroSplitProps, MosaicInput, MosaicInputGroup, type MosaicInputGroupProps, type MosaicInputProps, MosaicIntegrationsBadge, type MosaicIntegrationsBadgeProps, MosaicInviteMemberDialog, type MosaicInviteMemberDialogProps, MosaicKanbanBoard, type MosaicKanbanBoardProps, MosaicKanbanColumn, type MosaicKanbanColumnProps, MosaicLogosGrid, type MosaicLogosGridProps, MosaicMainNav, type MosaicMainNavProps, MosaicMarkdown, type MosaicMarkdownProps, type MosaicMarketplaceItem, MosaicMarketplaceList, MarketplaceListDesktop as MosaicMarketplaceListDesktop, MarketplaceListMobile as MosaicMarketplaceListMobile, type MosaicMarketplaceListProps, MosaicMemberList, type MosaicMemberListProps, MosaicMemoryCard, type MosaicMemoryCardProps, type MosaicMemoryData, type MosaicMemoryScope, type MosaicMemorySource, type MosaicMessage, MosaicMessageCard, type MosaicMessageCardProps, MosaicMessageList, MessageListDesktop as MosaicMessageListDesktop, MessageListMobile as MosaicMessageListMobile, type MosaicMessageListProps, type MosaicMessageReactions, type MosaicMessageSender, type MosaicMessageSenderType, MosaicModuleCard, type MosaicModuleCardProps, type MosaicModuleData, MosaicModuleForm, type MosaicModuleFormField, type MosaicModuleFormProps, type MosaicModuleItem, MosaicModuleLibrary, type MosaicModuleLibraryProps, type MosaicModuleType, MosaicMultiOrgIndicator, type MosaicMultiOrgIndicatorProps, MosaicMultiTenantProvider, type MosaicMultiTenantProviderProps, type MosaicNavItem, MosaicNavbar, type MosaicNavbarProps, type MosaicNavigationItem, type MosaicOrg, type MosaicOrgInfo, type MosaicOrgMember, MosaicOrgPanel, type MosaicOrgPanelProps, type MosaicOrgPanelTab, MosaicOrgProfilePage, type MosaicOrgProfilePageProps, type MosaicOrgRole, MosaicOrgRoleBadge, type MosaicOrgRoleBadgeProps, type MosaicOrgStats, MosaicOrgSwitcher, type MosaicOrgSwitcherProps, MosaicPdfViewer, type MosaicPdfViewerProps, type MosaicSelectItem as MosaicPrefSelectItem, type MosaicPreference, type MosaicPreferenceGroup, MosaicPreferencesPanel, type MosaicPreferencesPanelProps, MosaicPricingCard, type MosaicPricingCardProps, type MosaicProfileField, MosaicProfilePanel, type MosaicProfilePanelProps, MosaicProgress, type MosaicProgressProps, type MosaicQuickAction$1 as MosaicQuickAction, MosaicQuickActionCard, type MosaicQuickActionCardProps, MosaicQuickActionsMenu, type MosaicQuickAction as MosaicQuickActionsMenuItem, type MosaicQuickActionsMenuProps, type MosaicQuickAgent, MosaicQuickAgentSelector, type MosaicQuickAgentSelectorProps, MosaicQuickStartPanel, type MosaicQuickStartPanelProps, MosaicRadioGroup, MosaicRadioGroupItem, type MosaicRadioGroupItemProps, type MosaicRadioGroupProps, MosaicResizableSplitPane, type MosaicResizableSplitPaneProps, type MosaicScenario, MosaicScrollArea, type MosaicScrollAreaProps, MosaicSelect, type MosaicSelectItem$1 as MosaicSelectItem, type MosaicSelectProps, type MosaicSelectorCategory, type MosaicSelectorItem, MosaicSelectorModal, type MosaicSelectorModalProps, MosaicSeparator, type MosaicSeparatorProps, type MosaicSidebarFooterStatus, type MosaicSidebarNavItem, type MosaicSidebarQuickAction, type MosaicSidebarRecentItem, MosaicSignInLayout, type MosaicSignInLayoutProps, MosaicSignUpLayout, type MosaicSignUpLayoutProps, MosaicSkeleton, type MosaicSkeletonProps, MosaicSlider, type MosaicSliderProps, type MosaicStatItem, MosaicStatsGrid, type MosaicStatsGridProps, type MosaicStep, MosaicStepPipeline, type MosaicStepPipelineDotsProps, type MosaicStepPipelineProps, type MosaicStepPipelineSegmentsProps, type MosaicStepStatus, MosaicSwitch, type MosaicSwitchProps, MosaicTabs, MosaicTabsList, type MosaicTabsListProps, MosaicTabsPanel, type MosaicTabsPanelProps, type MosaicTabsProps, MosaicTabsTrigger, type MosaicTabsTriggerProps, MosaicTagInput, type MosaicTagInputProps, type MosaicTemplate, type MosaicTemplateAgent, MosaicTemplateCard, type MosaicTemplateCardProps, MosaicTemplateGallery, type MosaicTemplateGalleryProps, type MosaicTemplateMetadata, MosaicTemplatePreview, type MosaicTemplatePreviewProps, MosaicTestimonialsGrid, type MosaicTestimonialsGridProps, MosaicTextarea, type MosaicTextareaProps, MosaicThemeProvider, type MosaicThemeProviderProps, MosaicThemeToggle, type MosaicThemeToggleProps, MosaicToast, type MosaicToastProps, MosaicToastProvider, type MosaicToastProviderPosition, type MosaicToastProviderProps, type MosaicToastVariant, MosaicToolToggleList, type MosaicToolToggleListApprovalLevel, type MosaicToolToggleListProps, type MosaicToolToggleListSection, type MosaicToolToggleListTool, MosaicTooltip, MosaicTooltipContent, type MosaicTooltipContentProps, type MosaicTooltipProps, MosaicTooltipProvider, type MosaicTooltipProviderProps, MosaicTooltipRoot, type MosaicTooltipRootProps, MosaicTooltipTrigger, type MosaicTooltipTriggerProps, MosaicUrlScraper, type MosaicUrlScraperContent, type MosaicUrlScraperProps, type MosaicUrlScraperState, MosaicUserButton, type MosaicUserButtonProps, type MosaicWorkspaceContext, type NavCta, type NavLink, type OrbPosition, type Orientation, Placeholder, type PricingCta, type SocialLink, type StatItem, type TestimonialItem, type Theme, agentChatRootVariants, badgeVariants, buttonVariants, chatMessageBubbleVariants, chatMessageContainerVariants, chatMessageToolStatusVariants, pdfViewerFrameVariants, pdfViewerStatusVariants, pdfViewerToolbarButtonVariants, skeletonVariants, splitPaneCollapseButtonVariants, splitPaneHandleVariants, splitPaneRootVariants, tagInputFieldVariants, tagInputRemoveButtonVariants, tagInputRootVariants, tagInputTagVariants, toastCardVariants, toastDismissButtonVariants, toastProviderPositionVariants, toastTitleVariants, toolToggleListRowVariants, toolToggleListSectionVariants, useBreakpoint, useDevice, useMosaicWorkspace as useEffectiveWorkspaceId, useIsDesktop, useIsMobile, useIsTablet, useMediaQuery, useMosaicWorkspace, useOrientation, useViewport, version };
|