docblocks-react-ui 0.10.1 → 0.12.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.
@@ -0,0 +1,24 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ //#region src/shared/ui/icons/Maximize.tsx
3
+ function Maximize(props) {
4
+ return /* @__PURE__ */ jsxs("svg", {
5
+ xmlns: "http://www.w3.org/2000/svg",
6
+ width: 24,
7
+ height: 24,
8
+ viewBox: "0 0 24 24",
9
+ fill: "none",
10
+ stroke: "currentColor",
11
+ strokeWidth: 2,
12
+ strokeLinecap: "round",
13
+ strokeLinejoin: "round",
14
+ ...props,
15
+ children: [
16
+ /* @__PURE__ */ jsx("path", { d: "M8 3H5a2 2 0 0 0-2 2v3" }),
17
+ /* @__PURE__ */ jsx("path", { d: "M21 8V5a2 2 0 0 0-2-2h-3" }),
18
+ /* @__PURE__ */ jsx("path", { d: "M3 16v3a2 2 0 0 0 2 2h3" }),
19
+ /* @__PURE__ */ jsx("path", { d: "M16 21h3a2 2 0 0 0 2-2v-3" })
20
+ ]
21
+ });
22
+ }
23
+ //#endregion
24
+ export { Maximize as t };
@@ -965,6 +965,18 @@ interface EditorState {
965
965
  * only the stamp's subscribers re-render over the changes.
966
966
  */
967
967
  changeStamp: number;
968
+ /**
969
+ * The canvas-chrome stamp: bumped only when a block's CHROME fields
970
+ * (the `type`, the `geometry`, the `attrs`, the `children` — the
971
+ * figures' boxes, the port dots' data, the connectors' line attrs, the
972
+ * surface's structure) change or a block is added / removed — never
973
+ * on a content-only change of an unchanged shape (a keystroke in a
974
+ * figure's text). The canvas chrome's components key their memos on
975
+ * the stamp (an O(1) read — the per-surface JSON digest stood the
976
+ * O(siblings) stand per line per store notification). A separate slice
977
+ * so only the chrome's subscribers re-render over the changes.
978
+ */
979
+ chromeStamp: number;
968
980
  }
969
981
  /** Internal write functions, called by the EditorProvider subscriptions. */
970
982
  interface EditorActions {
@@ -1109,6 +1121,22 @@ interface DocTags {
1109
1121
  */
1110
1122
  onTagClick?: (tag: DocTag, event: MouseEvent) => void;
1111
1123
  }
1124
+ /**
1125
+ * The consumer's cover preset gallery (the `coverPresets` provider prop):
1126
+ * the ready-made cover's file ids (the consumer's own blob store's ids) per
1127
+ * placement mode. The upload modal renders the current mode's ids over
1128
+ * the preset's grid (the 4-column's scrollable's stand); a pick commits
1129
+ * the id over the mode WITHOUT an upload (the consumer's catalog's curation's
1130
+ * stand — the upload's gate is never run over a preset), and the thumbnails
1131
+ * resolve over the store's `get` (the bytes' transfer's stand). Without the
1132
+ * prop (or over an absent / empty set) the grid stands absent.
1133
+ */
1134
+ interface CoverPresetSets {
1135
+ /** The tile mode's preset's file ids; `[]` / the absent stands no grid over the tile's stand. */
1136
+ tile?: readonly string[];
1137
+ /** The centering mode's preset's file ids; `[]` / the absent stands no grid over the centering's stand. */
1138
+ center?: readonly string[];
1139
+ }
1112
1140
  /** The props an attribute-value renderer receives (the `renderAttribute` provider prop). */
1113
1141
  interface RenderAttributeProps {
1114
1142
  /** The attribute's key (the preset key or the custom key). */
@@ -1202,6 +1230,8 @@ interface EditorContextValue {
1202
1230
  attributeTypePicker: AttributeTypePicker | null;
1203
1231
  /** The consumer's tags contract (the `docTags` prop); null stands the display-only stand (the `notSet` over the row). */
1204
1232
  docTags: DocTags | null;
1233
+ /** The consumer's cover preset gallery (the `coverPresets` prop); null stands the built-in's stand (the preset's grid stands absent). */
1234
+ coverPresets: CoverPresetSets | null;
1205
1235
  /** The effective embed sandbox policy (the consumer's, or the safe default) — always present. */
1206
1236
  embedSandbox: EmbedSandboxPolicy;
1207
1237
  /** The entry-list root: the document root by default, a subtree block otherwise. */
@@ -1354,6 +1384,25 @@ interface EditorProviderProps {
1354
1384
  * provider that supplies none inherits the enclosing one.
1355
1385
  */
1356
1386
  docTags?: DocTags;
1387
+ /**
1388
+ * Optional cover preset gallery (the document-attributes panel's cover row,
1389
+ * the upload modal's stand): the consumer's ready-made cover's file ids
1390
+ * (the consumer's blob store's ids — the same ids the store's `get`
1391
+ * resolves) per placement mode: the `tile`'s set and the `center`'s set
1392
+ * (each optional — a mode without a set stands no grid over it). The
1393
+ * modal renders the current mode's set over the preset's grid (the
1394
+ * 4-column's scrollable's stand; the mode's switch stands the set's switch
1395
+ * over the same grid's stand), and a pick commits the id over the mode
1396
+ * without an upload (the consumer's catalog's curation's stand — the
1397
+ * upload's gate is never run over a preset). The thumbnails resolve over
1398
+ * the store's `get`. Without the prop the grid stands absent (the modal
1399
+ * keeps the enlarged's base's stand).
1400
+ *
1401
+ * Like the other customization values, the value is read per render into
1402
+ * the provider context: pass a stable reference (a memoized object). A
1403
+ * nested provider that supplies none inherits the enclosing one.
1404
+ */
1405
+ coverPresets?: CoverPresetSets;
1357
1406
  /**
1358
1407
  * Optional per-key replacement of the document-attributes panel's value
1359
1408
  * zone (a preset key — `description` / `createdBy` / `cover` /
@@ -1454,4 +1503,4 @@ declare const DEFAULT_EMBED_SANDBOX = "allow-scripts allow-same-origin allow-for
1454
1503
  /** Read the per-instance editor context; throws outside an EditorProvider. */
1455
1504
  declare function useEditorContext(): EditorContextValue;
1456
1505
  //#endregion
1457
- export { IsoInstant as $, DatabaseTableProps as A, BlobStore as At, BatchOp as B, PresenceCrypto as C, BridgeError as Ct, PresenceSharingMode as D, toBridgeError as Dt, PresenceSharing as E, isBridgeErrorCode as Et, DatabaseTableRow as F, CellMap as G, BridgeColumnAnnotation as H, UseDatabaseTable as I, DatabaseBridge as J, CellValueParse as K, emptyFilter as L, UseTableList as M, useDatabaseTable as N, useTableList as O, BlobMeta as Ot, DatabaseTablePhase as P, Id as Q, filterIsComplete as R, SyncEmbedResolver as S, BRIDGE_ERROR_CODES as St, PresencePeer as T, isBridgeError as Tt, BridgeTableDescription as U, BridgeColumn as V, BridgeValueInput as W, FilterConditionInput as X, DomainEvent as Y, FilterInput as Z, PdfPreviewProps as _, TableDescription as _t, AttributeTypePicker as a, ProtocolCapability as at, RenderAttributeProps as b, TableRef as bt, DocTags as c, QueryOperator as ct, EditorProviderProps as d, RowPage as dt, MutationContext as et, EmbedSandboxPolicy as f, RowWire as ft, PdfPreview as g, SubscriptionStatus as gt, MentionProvider as h, SubscriptionObserver as ht, AccessLevel as i, PageSnapshot as it, DatabaseTableView as j, createMemoryBlobStore as jt, DatabaseTable as k, BlobRef as kt, EditorContextValue as l, QuerySemantics as lt, MentionInteractions as m, SubscriptionHandle as mt, DEFAULT_EMBED_SANDBOX as n, OperationStatus as nt, AttributeTypePickerProps as o, ProtocolDescriptor as ot, MentionEntry as p, SortInput as pt, Column as q, EditorProvider as r, PageQuery as rt, DocTag as s, ProtocolLimits as st, useEditorContext as t, MutationReceipt as tt, EditorMode as u, Revision as ut, PresenceConfig as v, TableEnvelopeBase as vt, PresenceIdentity as w, BridgeErrorCode as wt, SelectionRef as x, TableSnapshot as xt, RenderAttribute as y, TableEvent as yt, FilterBuilder as z };
1506
+ export { Id as $, DatabaseTable as A, BlobRef as At, FilterBuilder as B, SyncEmbedResolver as C, BRIDGE_ERROR_CODES as Ct, PresenceSharing as D, isBridgeErrorCode as Dt, PresencePeer as E, isBridgeError as Et, DatabaseTablePhase as F, BridgeValueInput as G, BridgeColumn as H, DatabaseTableRow as I, Column as J, CellMap as K, UseDatabaseTable as L, DatabaseTableView as M, createMemoryBlobStore as Mt, UseTableList as N, PresenceSharingMode as O, toBridgeError as Ot, useDatabaseTable as P, FilterInput as Q, emptyFilter as R, SelectionRef as S, TableSnapshot as St, PresenceIdentity as T, BridgeErrorCode as Tt, BridgeColumnAnnotation as U, BatchOp as V, BridgeTableDescription as W, DomainEvent as X, DatabaseBridge as Y, FilterConditionInput as Z, PdfPreview as _, SubscriptionStatus as _t, AttributeTypePicker as a, PageSnapshot as at, RenderAttribute as b, TableEvent as bt, DocTag as c, ProtocolLimits as ct, EditorMode as d, Revision as dt, IsoInstant as et, EditorProviderProps as f, RowPage as ft, MentionProvider as g, SubscriptionObserver as gt, MentionInteractions as h, SubscriptionHandle as ht, AccessLevel as i, PageQuery as it, DatabaseTableProps as j, BlobStore as jt, useTableList as k, BlobMeta as kt, DocTags as l, QueryOperator as lt, MentionEntry as m, SortInput as mt, DEFAULT_EMBED_SANDBOX as n, MutationReceipt as nt, AttributeTypePickerProps as o, ProtocolCapability as ot, EmbedSandboxPolicy as p, RowWire as pt, CellValueParse as q, EditorProvider as r, OperationStatus as rt, CoverPresetSets as s, ProtocolDescriptor as st, useEditorContext as t, MutationContext as tt, EditorContextValue as u, QuerySemantics as ut, PdfPreviewProps as v, TableDescription as vt, PresenceCrypto as w, BridgeError as wt, RenderAttributeProps as x, TableRef as xt, PresenceConfig as y, TableEnvelopeBase as yt, filterIsComplete as z };
package/dist/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { n as BlockRendererMap, r as BlockRendererProps, t as BlockRenderer } from "./index-YJcgf8Hh.mjs";
2
- import { $ as IsoInstant, A as DatabaseTableProps, At as BlobStore, B as BatchOp, C as PresenceCrypto, Ct as BridgeError, D as PresenceSharingMode, Dt as toBridgeError, E as PresenceSharing, Et as isBridgeErrorCode, F as DatabaseTableRow, G as CellMap, H as BridgeColumnAnnotation, I as UseDatabaseTable, J as DatabaseBridge, K as CellValueParse, L as emptyFilter, M as UseTableList, N as useDatabaseTable, O as useTableList, Ot as BlobMeta, P as DatabaseTablePhase, Q as Id, R as filterIsComplete, S as SyncEmbedResolver, St as BRIDGE_ERROR_CODES, T as PresencePeer, Tt as isBridgeError, U as BridgeTableDescription, V as BridgeColumn, W as BridgeValueInput, X as FilterConditionInput, Y as DomainEvent, Z as FilterInput, _ as PdfPreviewProps, _t as TableDescription, a as AttributeTypePicker, at as ProtocolCapability, b as RenderAttributeProps, bt as TableRef, c as DocTags, ct as QueryOperator, d as EditorProviderProps, dt as RowPage, et as MutationContext, f as EmbedSandboxPolicy, ft as RowWire, g as PdfPreview, gt as SubscriptionStatus, h as MentionProvider, ht as SubscriptionObserver, i as AccessLevel, it as PageSnapshot, j as DatabaseTableView, jt as createMemoryBlobStore, k as DatabaseTable, kt as BlobRef, l as EditorContextValue, lt as QuerySemantics, m as MentionInteractions, mt as SubscriptionHandle, n as DEFAULT_EMBED_SANDBOX, nt as OperationStatus, o as AttributeTypePickerProps, ot as ProtocolDescriptor, p as MentionEntry, pt as SortInput, q as Column, r as EditorProvider, rt as PageQuery, s as DocTag, st as ProtocolLimits, t as useEditorContext, tt as MutationReceipt, u as EditorMode, ut as Revision, v as PresenceConfig, vt as TableEnvelopeBase, w as PresenceIdentity, wt as BridgeErrorCode, x as SelectionRef, xt as TableSnapshot, y as RenderAttribute, yt as TableEvent, z as FilterBuilder } from "./index-DzYwo6Px.mjs";
3
- import * as React from "react";
2
+ import { $ as Id, A as DatabaseTable, At as BlobRef, B as FilterBuilder, C as SyncEmbedResolver, Ct as BRIDGE_ERROR_CODES, D as PresenceSharing, Dt as isBridgeErrorCode, E as PresencePeer, Et as isBridgeError, F as DatabaseTablePhase, G as BridgeValueInput, H as BridgeColumn, I as DatabaseTableRow, J as Column, K as CellMap, L as UseDatabaseTable, M as DatabaseTableView, Mt as createMemoryBlobStore, N as UseTableList, O as PresenceSharingMode, Ot as toBridgeError, P as useDatabaseTable, Q as FilterInput, R as emptyFilter, S as SelectionRef, St as TableSnapshot, T as PresenceIdentity, Tt as BridgeErrorCode, U as BridgeColumnAnnotation, V as BatchOp, W as BridgeTableDescription, X as DomainEvent, Y as DatabaseBridge, Z as FilterConditionInput, _ as PdfPreview, _t as SubscriptionStatus, a as AttributeTypePicker, at as PageSnapshot, b as RenderAttribute, bt as TableEvent, c as DocTag, ct as ProtocolLimits, d as EditorMode, dt as Revision, et as IsoInstant, f as EditorProviderProps, ft as RowPage, g as MentionProvider, gt as SubscriptionObserver, h as MentionInteractions, ht as SubscriptionHandle, i as AccessLevel, it as PageQuery, j as DatabaseTableProps, jt as BlobStore, k as useTableList, kt as BlobMeta, l as DocTags, lt as QueryOperator, m as MentionEntry, mt as SortInput, n as DEFAULT_EMBED_SANDBOX, nt as MutationReceipt, o as AttributeTypePickerProps, ot as ProtocolCapability, p as EmbedSandboxPolicy, pt as RowWire, q as CellValueParse, r as EditorProvider, rt as OperationStatus, s as CoverPresetSets, st as ProtocolDescriptor, t as useEditorContext, tt as MutationContext, u as EditorContextValue, ut as QuerySemantics, v as PdfPreviewProps, vt as TableDescription, w as PresenceCrypto, wt as BridgeError, x as RenderAttributeProps, xt as TableRef, y as PresenceConfig, yt as TableEnvelopeBase, z as filterIsComplete } from "./index-BRYlGI3B.mjs";
3
+ import * as React$1 from "react";
4
4
  import { ComponentType, ReactNode } from "react";
5
5
  import { AttributeType, Block, BlockId, BlockType, Doc, DocMeta, MentionKind, MentionMark, PresenceState, Selection, SelectionView, SyncEmbedRef, TextRun, TypedAttributeValue } from "docblocks-core";
6
6
  import "i18next";
@@ -259,6 +259,18 @@ declare function markToggleAction(doc: Doc, blockId: BlockId, from: number, to:
259
259
  * through the editor's `formatPalette` prop — a `string[]` of hex or var). */
260
260
  declare const FORMAT_PALETTE: readonly string[];
261
261
  //#endregion
262
+ //#region src/attributes/cover-tint.d.ts
263
+ /**
264
+ * The stored cover's average color (the frame's tint's / the consumer's
265
+ * glow's data's source): the cover's blob resolved over the editor's blob
266
+ * store, and the alpha-weighted average read from it — the `rgb(...)`'s
267
+ * string or `null` over the absent's id / the unresolved's / the
268
+ * undecodable's stand. The blob's identity's cache stands the
269
+ * re-resolution's no re-compute (the store's change's new blob stands the
270
+ * fresh entry).
271
+ */
272
+ declare function useCoverAverageColor(): string | null;
273
+ //#endregion
262
274
  //#region src/editing/import.d.ts
263
275
  /** The import payload kind (the parser dispatch). */
264
276
  type ImportKind = "markdown" | "html";
@@ -338,65 +350,65 @@ declare const MONO_FONT_STACK = "ui-monospace, SFMono-Regular, Menlo, Consolas,
338
350
  declare const alertVariants: (props?: ({
339
351
  variant?: "default" | "destructive" | null | undefined;
340
352
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
341
- declare function Alert({ className, variant, ...props }: React.ComponentProps<"div"> & VariantProps<typeof alertVariants>): React.JSX.Element;
342
- declare function AlertTitle({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
343
- declare function AlertDescription({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
353
+ declare function Alert({ className, variant, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof alertVariants>): React$1.JSX.Element;
354
+ declare function AlertTitle({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
355
+ declare function AlertDescription({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
344
356
  //#endregion
345
357
  //#region src/shared/ui/Badge.d.ts
346
358
  declare const badgeVariants: (props?: ({
347
- variant?: "default" | "custom" | "secondary" | "destructive" | "outline" | null | undefined;
359
+ variant?: "default" | "destructive" | "custom" | "secondary" | "outline" | null | undefined;
348
360
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
349
- declare function Badge({ className, variant, asChild, ...props }: React.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
361
+ declare function Badge({ className, variant, asChild, ...props }: React$1.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
350
362
  asChild?: boolean;
351
- }): React.JSX.Element;
363
+ }): React$1.JSX.Element;
352
364
  //#endregion
353
365
  //#region src/shared/ui/BareSelect.d.ts
354
- declare function BareSelect({ className, children, ...props }: React.ComponentProps<"select">): React.JSX.Element;
366
+ declare function BareSelect({ className, children, ...props }: React$1.ComponentProps<"select">): React$1.JSX.Element;
355
367
  //#endregion
356
368
  //#region src/shared/ui/Button.d.ts
357
369
  declare const buttonVariants: (props?: ({
358
- variant?: "link" | "default" | "secondary" | "destructive" | "outline" | "ghost" | null | undefined;
370
+ variant?: "link" | "default" | "destructive" | "secondary" | "outline" | "ghost" | null | undefined;
359
371
  size?: "default" | "icon" | "sm" | "lg" | "xl" | null | undefined;
360
372
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
361
- declare function Button({ className, variant, size, asChild, type, ...props }: React.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
373
+ declare function Button({ className, variant, size, asChild, type, ...props }: React$1.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
362
374
  asChild?: boolean;
363
- }): React.JSX.Element;
375
+ }): React$1.JSX.Element;
364
376
  //#endregion
365
377
  //#region src/shared/ui/Card.d.ts
366
- declare function Card({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
367
- declare function CardHeader({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
368
- declare function CardTitle({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
369
- declare function CardDescription({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
370
- declare function CardAction({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
371
- declare function CardContent({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
372
- declare function CardFooter({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
378
+ declare function Card({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
379
+ declare function CardHeader({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
380
+ declare function CardTitle({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
381
+ declare function CardDescription({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
382
+ declare function CardAction({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
383
+ declare function CardContent({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
384
+ declare function CardFooter({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
373
385
  //#endregion
374
386
  //#region src/shared/ui/Checkbox.d.ts
375
- declare function Checkbox({ className, ...props }: React.ComponentProps<typeof CheckboxPrimitive.Root>): React.JSX.Element;
387
+ declare function Checkbox({ className, ...props }: React$1.ComponentProps<typeof CheckboxPrimitive.Root>): React$1.JSX.Element;
376
388
  //#endregion
377
389
  //#region src/shared/ui/DropdownMenu.d.ts
378
- declare function DropdownMenu({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Root>): React.JSX.Element;
379
- declare function DropdownMenuPortal({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Portal>): React.JSX.Element;
380
- declare function DropdownMenuTrigger({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): React.JSX.Element;
381
- declare function DropdownMenuContent({ className, sideOffset, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Content>): React.JSX.Element;
382
- declare function DropdownMenuGroup({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Group>): React.JSX.Element;
383
- declare function DropdownMenuItem({ className, inset, variant, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
390
+ declare function DropdownMenu({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Root>): React$1.JSX.Element;
391
+ declare function DropdownMenuPortal({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Portal>): React$1.JSX.Element;
392
+ declare function DropdownMenuTrigger({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): React$1.JSX.Element;
393
+ declare function DropdownMenuContent({ className, sideOffset, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Content>): React$1.JSX.Element;
394
+ declare function DropdownMenuGroup({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Group>): React$1.JSX.Element;
395
+ declare function DropdownMenuItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
384
396
  inset?: boolean;
385
397
  variant?: "default" | "destructive";
386
- }): React.JSX.Element;
387
- declare function DropdownMenuCheckboxItem({ className, children, checked, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>): React.JSX.Element;
388
- declare function DropdownMenuRadioGroup({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>): React.JSX.Element;
389
- declare function DropdownMenuRadioItem({ className, children, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>): React.JSX.Element;
390
- declare function DropdownMenuLabel({ className, inset, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
398
+ }): React$1.JSX.Element;
399
+ declare function DropdownMenuCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>): React$1.JSX.Element;
400
+ declare function DropdownMenuRadioGroup({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>): React$1.JSX.Element;
401
+ declare function DropdownMenuRadioItem({ className, children, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>): React$1.JSX.Element;
402
+ declare function DropdownMenuLabel({ className, inset, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
391
403
  inset?: boolean;
392
- }): React.JSX.Element;
393
- declare function DropdownMenuSeparator({ className, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Separator>): React.JSX.Element;
394
- declare function DropdownMenuShortcut({ className, ...props }: React.ComponentProps<"span">): React.JSX.Element;
395
- declare function DropdownMenuSub({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Sub>): React.JSX.Element;
396
- declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
404
+ }): React$1.JSX.Element;
405
+ declare function DropdownMenuSeparator({ className, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Separator>): React$1.JSX.Element;
406
+ declare function DropdownMenuShortcut({ className, ...props }: React$1.ComponentProps<"span">): React$1.JSX.Element;
407
+ declare function DropdownMenuSub({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Sub>): React$1.JSX.Element;
408
+ declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
397
409
  inset?: boolean;
398
- }): React.JSX.Element;
399
- declare function DropdownMenuSubContent({ className, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): React.JSX.Element;
410
+ }): React$1.JSX.Element;
411
+ declare function DropdownMenuSubContent({ className, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): React$1.JSX.Element;
400
412
  //#endregion
401
413
  //#region src/shared/ui/Input.d.ts
402
414
  declare const inputVariants: (props?: ({
@@ -410,40 +422,40 @@ declare const inputVariants: (props?: ({
410
422
  * takes the name. The `variant` axis stands the look (the framed's
411
423
  * field / the row's flat field) — it is not a native attribute either.
412
424
  */
413
- type InputProps = Omit<React.ComponentProps<"input">, "size"> & VariantProps<typeof inputVariants>;
414
- declare function Input({ className, size, variant, type, ...props }: InputProps): React.JSX.Element;
425
+ type InputProps = Omit<React$1.ComponentProps<"input">, "size"> & VariantProps<typeof inputVariants>;
426
+ declare function Input({ className, size, variant, type, ...props }: InputProps): React$1.JSX.Element;
415
427
  //#endregion
416
428
  //#region src/shared/ui/Label.d.ts
417
- declare function Label({ className, ...props }: React.ComponentProps<"label">): React.JSX.Element;
429
+ declare function Label({ className, ...props }: React$1.ComponentProps<"label">): React$1.JSX.Element;
418
430
  //#endregion
419
431
  //#region src/shared/ui/Popover.d.ts
420
- declare function Popover({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Root>): React.JSX.Element;
421
- declare function PopoverTrigger({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Trigger>): React.JSX.Element;
422
- declare function PopoverContent({ className, align, sideOffset, ...props }: React.ComponentProps<typeof PopoverPrimitive.Content>): React.JSX.Element;
423
- declare function PopoverAnchor({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Anchor>): React.JSX.Element;
424
- declare function PopoverHeader({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
425
- declare function PopoverTitle({ className, ...props }: React.ComponentProps<"h2">): React.JSX.Element;
426
- declare function PopoverDescription({ className, ...props }: React.ComponentProps<"p">): React.JSX.Element;
432
+ declare function Popover({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Root>): React$1.JSX.Element;
433
+ declare function PopoverTrigger({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Trigger>): React$1.JSX.Element;
434
+ declare function PopoverContent({ className, align, sideOffset, ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Content>): React$1.JSX.Element;
435
+ declare function PopoverAnchor({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Anchor>): React$1.JSX.Element;
436
+ declare function PopoverHeader({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
437
+ declare function PopoverTitle({ className, ...props }: React$1.ComponentProps<"h2">): React$1.JSX.Element;
438
+ declare function PopoverDescription({ className, ...props }: React$1.ComponentProps<"p">): React$1.JSX.Element;
427
439
  //#endregion
428
440
  //#region src/shared/ui/Separator.d.ts
429
- declare function Separator({ className, orientation, decorative, ...props }: React.ComponentProps<typeof SeparatorPrimitive.Root>): React.JSX.Element;
441
+ declare function Separator({ className, orientation, decorative, ...props }: React$1.ComponentProps<typeof SeparatorPrimitive.Root>): React$1.JSX.Element;
430
442
  //#endregion
431
443
  //#region src/shared/ui/Select.d.ts
432
- declare function Select({ ...props }: React.ComponentProps<typeof SelectPrimitive.Root>): React.JSX.Element;
433
- declare function SelectGroup({ ...props }: React.ComponentProps<typeof SelectPrimitive.Group>): React.JSX.Element;
434
- declare function SelectValue({ ...props }: React.ComponentProps<typeof SelectPrimitive.Value>): React.JSX.Element;
435
- declare function SelectTrigger({ className, size, bare, children, ...props }: React.ComponentProps<typeof SelectPrimitive.Trigger> & {
444
+ declare function Select({ ...props }: React$1.ComponentProps<typeof SelectPrimitive.Root>): React$1.JSX.Element;
445
+ declare function SelectGroup({ ...props }: React$1.ComponentProps<typeof SelectPrimitive.Group>): React$1.JSX.Element;
446
+ declare function SelectValue({ ...props }: React$1.ComponentProps<typeof SelectPrimitive.Value>): React$1.JSX.Element;
447
+ declare function SelectTrigger({ className, size, bare, children, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Trigger> & {
436
448
  size?: "sm" | "default";
437
449
  /** The iconless trigger (the flat cell stand — the chevron is
438
450
  * hidden; the value / the placeholder stand alone). */
439
451
  bare?: boolean;
440
- }): React.JSX.Element;
441
- declare function SelectContent({ className, children, position, ...props }: React.ComponentProps<typeof SelectPrimitive.Content>): React.JSX.Element;
442
- declare function SelectLabel({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Label>): React.JSX.Element;
443
- declare function SelectItem({ className, children, ...props }: React.ComponentProps<typeof SelectPrimitive.Item>): React.JSX.Element;
444
- declare function SelectSeparator({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Separator>): React.JSX.Element;
445
- declare function SelectScrollUpButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollUpButton>): React.JSX.Element;
446
- declare function SelectScrollDownButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollDownButton>): React.JSX.Element;
452
+ }): React$1.JSX.Element;
453
+ declare function SelectContent({ className, children, position, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Content>): React$1.JSX.Element;
454
+ declare function SelectLabel({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Label>): React$1.JSX.Element;
455
+ declare function SelectItem({ className, children, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Item>): React$1.JSX.Element;
456
+ declare function SelectSeparator({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Separator>): React$1.JSX.Element;
457
+ declare function SelectScrollUpButton({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.ScrollUpButton>): React$1.JSX.Element;
458
+ declare function SelectScrollDownButton({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.ScrollDownButton>): React$1.JSX.Element;
447
459
  //#endregion
448
460
  //#region src/shared/ui/ScrollArea.d.ts
449
461
  /**
@@ -457,12 +469,12 @@ declare function SelectScrollDownButton({ className, ...props }: React.Component
457
469
  * holds a DOM handle of the scroll element (the slash menu's active-item
458
470
  * auto-scroll queries through it).
459
471
  */
460
- declare function ScrollArea({ className, ref, ...props }: React.ComponentProps<"div"> & {
461
- ref?: React.Ref<HTMLDivElement>;
462
- }): React.JSX.Element;
472
+ declare function ScrollArea({ className, ref, ...props }: React$1.ComponentProps<"div"> & {
473
+ ref?: React$1.Ref<HTMLDivElement>;
474
+ }): React$1.JSX.Element;
463
475
  //#endregion
464
476
  //#region src/shared/ui/Skeleton.d.ts
465
- declare function Skeleton({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
477
+ declare function Skeleton({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
466
478
  //#endregion
467
479
  //#region src/shared/ui/Tabs.d.ts
468
480
  /**
@@ -474,21 +486,21 @@ declare function Skeleton({ className, ...props }: React.ComponentProps<"div">):
474
486
  * Radix `data-state="active"` attribute, styled through the
475
487
  * `data-[state=active]:` classes.
476
488
  */
477
- declare function Tabs({ className, orientation, ...props }: React.ComponentProps<typeof TabsPrimitive.Root>): React.JSX.Element;
489
+ declare function Tabs({ className, orientation, ...props }: React$1.ComponentProps<typeof TabsPrimitive.Root>): React$1.JSX.Element;
478
490
  declare const tabsListVariants: (props?: ({
479
491
  variant?: "line" | "default" | null | undefined;
480
492
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
481
- declare function TabsList({ className, variant, ...props }: React.ComponentProps<typeof TabsPrimitive.List> & VariantProps<typeof tabsListVariants>): React.JSX.Element;
482
- declare function TabsTrigger({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Trigger>): React.JSX.Element;
483
- declare function TabsContent({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Content>): React.JSX.Element;
493
+ declare function TabsList({ className, variant, ...props }: React$1.ComponentProps<typeof TabsPrimitive.List> & VariantProps<typeof tabsListVariants>): React$1.JSX.Element;
494
+ declare function TabsTrigger({ className, ...props }: React$1.ComponentProps<typeof TabsPrimitive.Trigger>): React$1.JSX.Element;
495
+ declare function TabsContent({ className, ...props }: React$1.ComponentProps<typeof TabsPrimitive.Content>): React$1.JSX.Element;
484
496
  //#endregion
485
497
  //#region src/shared/ui/Tooltip.d.ts
486
- declare function TooltipProvider({ delayDuration, ...props }: React.ComponentProps<typeof TooltipPrimitive.Provider>): React.JSX.Element;
487
- declare function Tooltip({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Root>): React.JSX.Element;
488
- declare function TooltipTrigger({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Trigger>): React.JSX.Element;
489
- declare function TooltipContent({ className, sideOffset, children, ...props }: React.ComponentProps<typeof TooltipPrimitive.Content>): React.JSX.Element;
498
+ declare function TooltipProvider({ delayDuration, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Provider>): React$1.JSX.Element;
499
+ declare function Tooltip({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Root>): React$1.JSX.Element;
500
+ declare function TooltipTrigger({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Trigger>): React$1.JSX.Element;
501
+ declare function TooltipContent({ className, sideOffset, children, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Content>): React$1.JSX.Element;
490
502
  //#endregion
491
503
  //#region src/shared/ui/cn.d.ts
492
504
  declare function cn(...inputs: ClassValue[]): string;
493
505
  //#endregion
494
- export { type AccessLevel, Alert, AlertDescription, AlertTitle, type AttributeType, type AttributeTypePicker, type AttributeTypePickerProps, BASELINE_CAPABILITIES, BRIDGE_ERROR_CODES, Badge, BareSelect, type BatchOp, type BlobMeta, type BlobRef, type BlobStore, type BlockRenderer, type BlockRendererMap, type BlockRendererProps, type BridgeColumn, type BridgeColumnAnnotation, BridgeError, type BridgeErrorCode, type BridgeTableDescription, type BridgeValueInput, Button, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type CellMap, type CellValueParse, Checkbox, type Column, DEFAULT_EMBED_SANDBOX, type DatabaseBridge, DatabaseTable, type DatabaseTablePhase, type DatabaseTableProps, type DatabaseTableRow, type DatabaseTableView, DocHeader, type DocTag, type DocTags, DocblocksI18nProvider, type DocblocksI18nProviderProps, type DomainEvent, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Editor, type EditorContextValue, type EditorMode, EditorProvider, type EditorProviderProps, type EditorView, type EmbedSandboxPolicy, FORMAT_PALETTE, FilterBuilder, type FilterConditionInput, type FilterInput, type FormatMark, type Id, ImportDocumentError, Input, type IsoInstant, Label, MONO_FONT_STACK, type MentionEntry, type MentionInteractions, type MentionMark, type MentionProvider, type MutationContext, type MutationReceipt, type OperationStatus, PROTOCOL_VERSION, type PageQuery, type PageSnapshot, type PdfPreview, type PdfPreviewProps, Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, type PresenceConfig, type PresenceCrypto, type PresenceIdentity, type PresencePeer, type PresenceSharing, type PresenceSharingMode, type ProtocolCapability, type ProtocolDescriptor, type ProtocolLimits, type QueryOperator, type QuerySemantics, type RenderAttribute, type RenderAttributeProps, type Revision, type RowPage, type RowWire, SHAPE_FONT_OPTIONS, SHAPE_FONT_STACKS, ScrollArea, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, type SelectionRef, Separator, Skeleton, type SortInput, type SubscriptionHandle, type SubscriptionObserver, type SubscriptionStatus, type SyncEmbedRef, type SyncEmbedResolver, TEXT_TYPES, type TableDescription, type TableEnvelopeBase, type TableEvent, type TableRef, type TableSnapshot, Tabs, TabsContent, TabsList, TabsTrigger, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type TypedAttributeValue, UI_FONT_ID, UI_FONT_STACK, type UseDatabaseTable, type UseTableList, badgeVariants, buttonVariants, cellValueEqual, cn, columnAnnotation, conditionMatches, createMemoryBlobStore, emptyFilter, filterIsComplete, importDocument, isBridgeError, isBridgeErrorCode, isDatabaseBridge, markToggleAction, newMutationContext, parseCellValue, renderRuns, toBridgeError, useBlock, useDatabaseTable, useDoc, useEditorContext, useMeta, usePresence, usePresenceSharing, useSelection, useSelectionView, useTableList, useText, validateProtocolDescriptor };
506
+ export { type AccessLevel, Alert, AlertDescription, AlertTitle, type AttributeType, type AttributeTypePicker, type AttributeTypePickerProps, BASELINE_CAPABILITIES, BRIDGE_ERROR_CODES, Badge, BareSelect, type BatchOp, type BlobMeta, type BlobRef, type BlobStore, type BlockRenderer, type BlockRendererMap, type BlockRendererProps, type BridgeColumn, type BridgeColumnAnnotation, BridgeError, type BridgeErrorCode, type BridgeTableDescription, type BridgeValueInput, Button, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type CellMap, type CellValueParse, Checkbox, type Column, type CoverPresetSets, DEFAULT_EMBED_SANDBOX, type DatabaseBridge, DatabaseTable, type DatabaseTablePhase, type DatabaseTableProps, type DatabaseTableRow, type DatabaseTableView, DocHeader, type DocTag, type DocTags, DocblocksI18nProvider, type DocblocksI18nProviderProps, type DomainEvent, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Editor, type EditorContextValue, type EditorMode, EditorProvider, type EditorProviderProps, type EditorView, type EmbedSandboxPolicy, FORMAT_PALETTE, FilterBuilder, type FilterConditionInput, type FilterInput, type FormatMark, type Id, ImportDocumentError, Input, type IsoInstant, Label, MONO_FONT_STACK, type MentionEntry, type MentionInteractions, type MentionMark, type MentionProvider, type MutationContext, type MutationReceipt, type OperationStatus, PROTOCOL_VERSION, type PageQuery, type PageSnapshot, type PdfPreview, type PdfPreviewProps, Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, type PresenceConfig, type PresenceCrypto, type PresenceIdentity, type PresencePeer, type PresenceSharing, type PresenceSharingMode, type ProtocolCapability, type ProtocolDescriptor, type ProtocolLimits, type QueryOperator, type QuerySemantics, type RenderAttribute, type RenderAttributeProps, type Revision, type RowPage, type RowWire, SHAPE_FONT_OPTIONS, SHAPE_FONT_STACKS, ScrollArea, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, type SelectionRef, Separator, Skeleton, type SortInput, type SubscriptionHandle, type SubscriptionObserver, type SubscriptionStatus, type SyncEmbedRef, type SyncEmbedResolver, TEXT_TYPES, type TableDescription, type TableEnvelopeBase, type TableEvent, type TableRef, type TableSnapshot, Tabs, TabsContent, TabsList, TabsTrigger, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type TypedAttributeValue, UI_FONT_ID, UI_FONT_STACK, type UseDatabaseTable, type UseTableList, badgeVariants, buttonVariants, cellValueEqual, cn, columnAnnotation, conditionMatches, createMemoryBlobStore, emptyFilter, filterIsComplete, importDocument, isBridgeError, isBridgeErrorCode, isDatabaseBridge, markToggleAction, newMutationContext, parseCellValue, renderRuns, toBridgeError, useBlock, useCoverAverageColor, useDatabaseTable, useDoc, useEditorContext, useMeta, usePresence, usePresenceSharing, useSelection, useSelectionView, useTableList, useText, validateProtocolDescriptor };
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as DropdownMenuSubTrigger, $t as BookOpen, A as SelectItem, At as Card, B as DropdownMenu, Bt as useDoc, C as emptyFilter, Ct as isBridgeErrorCode, D as Select, Dt as TEXT_TYPES, E as ScrollArea, Et as parseCellValue, F as SelectTrigger, Ft as CardHeader, G as DropdownMenuLabel, Gt as useSelectionView, H as DropdownMenuContent, Ht as usePresence, I as SelectValue, It as CardTitle, J as DropdownMenuRadioItem, K as DropdownMenuPortal, Kt as useText, L as Label, Lt as Badge, M as SelectScrollDownButton, Mt as CardContent, N as SelectScrollUpButton, Nt as CardDescription, O as SelectContent, Ot as columnAnnotation, P as SelectSeparator, Pt as CardFooter, Q as DropdownMenuSubContent, R as InlineEditInput, Rt as badgeVariants, S as FilterBuilder, St as isBridgeError, T as SegmentSelector, Tt as conditionMatches, U as DropdownMenuGroup, Ut as usePresenceSharing, V as DropdownMenuCheckboxItem, Vt as useMeta, W as DropdownMenuItem, Wt as useSelection, X as DropdownMenuShortcut, Xt as Pen, Y as DropdownMenuSeparator, Yt as renderRuns, Z as DropdownMenuSub, Zt as Eye, _ as parseFrontmatter, _t as PROTOCOL_VERSION, at as PopoverDescription, b as cellValueEqual, bt as BRIDGE_ERROR_CODES, c as SHAPE_FONT_STACKS, ct as PopoverTrigger, dt as buttonVariants, en as createMemoryBlobStore, et as DropdownMenuTrigger, f as markToggleAction, ft as BareSelect, g as mapFrontmatter, gt as BASELINE_CAPABILITIES, h as mdToBlocks, ht as AlertTitle, i as DEFAULT_EMBED_SANDBOX, it as PopoverContent, j as SelectLabel, jt as CardAction, k as SelectGroup, kt as Skeleton, lt as Checkbox, m as insertNative, mt as AlertDescription, n as EditorProvider, nt as Popover, ot as PopoverHeader, p as htmlToBlocks, pt as Alert, q as DropdownMenuRadioGroup, qt as DocblocksI18nProvider, r as useEditorContext, rt as PopoverAnchor, s as SHAPE_FONT_OPTIONS, st as PopoverTitle, t as Editor, tt as Separator, u as FORMAT_PALETTE, ut as Button, v as GridBody, vt as isDatabaseBridge, w as filterIsComplete, wt as toBridgeError, x as newMutationContext, xt as BridgeError, y as useDatabaseTable, yt as validateProtocolDescriptor, z as Input, zt as useBlock } from "./Editor-DKO25suc.mjs";
1
+ import { $ as DropdownMenuSubContent, $t as Eye, A as SelectGroup, At as Skeleton, B as Input, Bt as useBlock, C as FilterBuilder, Ct as isBridgeError, D as ScrollArea, Dt as parseCellValue, E as SegmentSelector, Et as conditionMatches, F as SelectSeparator, Ft as CardFooter, G as DropdownMenuItem, Gt as useSelection, H as DropdownMenuCheckboxItem, Ht as useMeta, I as SelectTrigger, It as CardHeader, J as DropdownMenuRadioGroup, Jt as DocblocksI18nProvider, K as DropdownMenuLabel, Kt as useSelectionView, L as SelectValue, Lt as CardTitle, M as SelectLabel, Mt as CardAction, N as SelectScrollDownButton, Nt as CardContent, O as Select, Ot as TEXT_TYPES, P as SelectScrollUpButton, Pt as CardDescription, Q as DropdownMenuSub, Qt as Pen, R as Label, Rt as Badge, S as newMutationContext, St as BridgeError, T as filterIsComplete, Tt as toBridgeError, U as DropdownMenuContent, Ut as usePresence, V as DropdownMenu, Vt as useDoc, W as DropdownMenuGroup, Wt as usePresenceSharing, X as DropdownMenuSeparator, Xt as renderRuns, Y as DropdownMenuRadioItem, Z as DropdownMenuShortcut, _ as mapFrontmatter, _t as BASELINE_CAPABILITIES, a as DEFAULT_EMBED_SANDBOX, at as PopoverContent, b as useDatabaseTable, bt as validateProtocolDescriptor, c as SHAPE_FONT_OPTIONS, ct as PopoverTitle, d as FORMAT_PALETTE, dt as Button, et as DropdownMenuSubTrigger, ft as buttonVariants, g as mdToBlocks, gt as AlertTitle, h as insertNative, ht as AlertDescription, i as useEditorContext, it as PopoverAnchor, j as SelectItem, jt as Card, k as SelectContent, kt as columnAnnotation, l as SHAPE_FONT_STACKS, lt as PopoverTrigger, m as htmlToBlocks, mt as Alert, n as useCoverAverageColor, nn as createMemoryBlobStore, nt as Separator, ot as PopoverDescription, p as markToggleAction, pt as BareSelect, q as DropdownMenuPortal, qt as useText, r as EditorProvider, rt as Popover, st as PopoverHeader, t as Editor, tn as BookOpen, tt as DropdownMenuTrigger, ut as Checkbox, v as parseFrontmatter, vt as PROTOCOL_VERSION, w as emptyFilter, wt as isBridgeErrorCode, x as cellValueEqual, xt as BRIDGE_ERROR_CODES, y as GridBody, yt as isDatabaseBridge, z as InlineEditInput, zt as badgeVariants } from "./Editor-BhnGAuCO.mjs";
2
2
  import { a as preventDefault, s as cn } from "./constants-D8PSgkwi.mjs";
3
3
  import { useCallback, useEffect, useRef, useState } from "react";
4
4
  import { useTranslation } from "react-i18next";
@@ -775,4 +775,4 @@ const UI_FONT_STACK = "'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif
775
775
  */
776
776
  const MONO_FONT_STACK = "ui-monospace, SFMono-Regular, Menlo, Consolas, monospace";
777
777
  //#endregion
778
- export { Alert, AlertDescription, AlertTitle, BASELINE_CAPABILITIES, BRIDGE_ERROR_CODES, Badge, BareSelect, BridgeError, Button, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, DEFAULT_EMBED_SANDBOX, DatabaseTable, DocHeader, DocblocksI18nProvider, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Editor, EditorProvider, FORMAT_PALETTE, FilterBuilder, ImportDocumentError, Input, Label, MONO_FONT_STACK, PROTOCOL_VERSION, Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, SHAPE_FONT_OPTIONS, SHAPE_FONT_STACKS, ScrollArea, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Skeleton, TEXT_TYPES, Tabs, TabsContent, TabsList, TabsTrigger, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UI_FONT_ID, UI_FONT_STACK, badgeVariants, buttonVariants, cellValueEqual, cn, columnAnnotation, conditionMatches, createMemoryBlobStore, emptyFilter, filterIsComplete, importDocument, isBridgeError, isBridgeErrorCode, isDatabaseBridge, markToggleAction, newMutationContext, parseCellValue, renderRuns, toBridgeError, useBlock, useDatabaseTable, useDoc, useEditorContext, useMeta, usePresence, usePresenceSharing, useSelection, useSelectionView, useTableList, useText, validateProtocolDescriptor };
778
+ export { Alert, AlertDescription, AlertTitle, BASELINE_CAPABILITIES, BRIDGE_ERROR_CODES, Badge, BareSelect, BridgeError, Button, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, DEFAULT_EMBED_SANDBOX, DatabaseTable, DocHeader, DocblocksI18nProvider, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Editor, EditorProvider, FORMAT_PALETTE, FilterBuilder, ImportDocumentError, Input, Label, MONO_FONT_STACK, PROTOCOL_VERSION, Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, SHAPE_FONT_OPTIONS, SHAPE_FONT_STACKS, ScrollArea, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Skeleton, TEXT_TYPES, Tabs, TabsContent, TabsList, TabsTrigger, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UI_FONT_ID, UI_FONT_STACK, badgeVariants, buttonVariants, cellValueEqual, cn, columnAnnotation, conditionMatches, createMemoryBlobStore, emptyFilter, filterIsComplete, importDocument, isBridgeError, isBridgeErrorCode, isDatabaseBridge, markToggleAction, newMutationContext, parseCellValue, renderRuns, toBridgeError, useBlock, useCoverAverageColor, useDatabaseTable, useDoc, useEditorContext, useMeta, usePresence, usePresenceSharing, useSelection, useSelectionView, useTableList, useText, validateProtocolDescriptor };