@arbidocs/react 0.5.88 → 0.5.90

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/README.md +11 -6
  2. package/dist/artifacts/index.cjs +13 -13
  3. package/dist/artifacts/index.js +3 -3
  4. package/dist/calls/livekit/index.cjs +48 -48
  5. package/dist/calls/livekit/index.js +3 -3
  6. package/dist/{chunk-DS7NTSKH.cjs → chunk-6BXRZYL2.cjs} +38 -38
  7. package/dist/{chunk-DS7NTSKH.cjs.map → chunk-6BXRZYL2.cjs.map} +1 -1
  8. package/dist/{chunk-BFNY3RZG.js → chunk-7PMNITKA.js} +2 -2
  9. package/dist/chunk-7PMNITKA.js.map +1 -0
  10. package/dist/{chunk-AOPGD23L.cjs → chunk-7RUVJZZG.cjs} +57 -57
  11. package/dist/{chunk-AOPGD23L.cjs.map → chunk-7RUVJZZG.cjs.map} +1 -1
  12. package/dist/{chunk-C4WODQGO.cjs → chunk-BRFRQWAY.cjs} +2 -2
  13. package/dist/chunk-BRFRQWAY.cjs.map +1 -0
  14. package/dist/{chunk-YQBDEOVE.js → chunk-HGLS3IC6.js} +3 -3
  15. package/dist/{chunk-YQBDEOVE.js.map → chunk-HGLS3IC6.js.map} +1 -1
  16. package/dist/{chunk-DU2P354H.js → chunk-IIOOXKOB.js} +4 -4
  17. package/dist/{chunk-DU2P354H.js.map → chunk-IIOOXKOB.js.map} +1 -1
  18. package/dist/{chunk-S3OGDLDC.js → chunk-KZBYWXPS.js} +3 -3
  19. package/dist/{chunk-S3OGDLDC.js.map → chunk-KZBYWXPS.js.map} +1 -1
  20. package/dist/{chunk-KTXZ222T.js → chunk-N3SFVZ7H.js} +3 -3
  21. package/dist/{chunk-KTXZ222T.js.map → chunk-N3SFVZ7H.js.map} +1 -1
  22. package/dist/{chunk-GKWMT64A.cjs → chunk-NJDVQIJR.cjs} +4 -4
  23. package/dist/{chunk-GKWMT64A.cjs.map → chunk-NJDVQIJR.cjs.map} +1 -1
  24. package/dist/{chunk-ZHXYFJIA.cjs → chunk-NR6PUE5O.cjs} +44 -44
  25. package/dist/{chunk-ZHXYFJIA.cjs.map → chunk-NR6PUE5O.cjs.map} +1 -1
  26. package/dist/{chunk-73ENECAT.js → chunk-RIPYDSRJ.js} +259 -10
  27. package/dist/chunk-RIPYDSRJ.js.map +1 -0
  28. package/dist/{chunk-QLRDHLWR.cjs → chunk-X4HGUBWU.cjs} +344 -69
  29. package/dist/chunk-X4HGUBWU.cjs.map +1 -0
  30. package/dist/document-tools/core.cjs +98 -98
  31. package/dist/document-tools/core.js +3 -3
  32. package/dist/document-tools/index.cjs +100 -100
  33. package/dist/document-tools/index.js +4 -4
  34. package/dist/index.cjs +5882 -5768
  35. package/dist/index.cjs.map +1 -1
  36. package/dist/{index.d-1_bJB-Yl.d.ts → index.d-BMhTH98a.d.cts} +65 -65
  37. package/dist/{index.d-1_bJB-Yl.d.cts → index.d-BMhTH98a.d.ts} +65 -65
  38. package/dist/index.d.cts +123 -43
  39. package/dist/index.d.ts +123 -43
  40. package/dist/index.js +4986 -4879
  41. package/dist/index.js.map +1 -1
  42. package/dist/ui/index.d.cts +1 -1
  43. package/dist/ui/index.d.ts +1 -1
  44. package/package.json +3 -3
  45. package/dist/chunk-73ENECAT.js.map +0 -1
  46. package/dist/chunk-BFNY3RZG.js.map +0 -1
  47. package/dist/chunk-C4WODQGO.cjs.map +0 -1
  48. package/dist/chunk-QLRDHLWR.cjs.map +0 -1
@@ -130,70 +130,6 @@ type EntityVocabulary = Partial<Record<string, EntityNoun>>;
130
130
  /** Set the site's vocabulary (replacing any earlier one). `<ArbiHost>` calls it with `config.vocabulary`. */
131
131
  declare function configureEntityVocabulary(next: EntityVocabulary): void;
132
132
 
133
- /**
134
- * EntityPill Component
135
- *
136
- * Base component for pill-style entity displays. Provides consistent styling and
137
- * interaction patterns. At rest it is plain icon + text (no fill, no border); the
138
- * fill appears on hover, so a row of entities does not read as a row of buttons. Promoted verbatim from the ARBI app (import paths only
139
- * changed to resolve within the SDK).
140
- *
141
- * Pattern: [Icon] [Label] [Optional: secondary text] [MoreVertical when interactive]
142
- */
143
-
144
- /**
145
- * The one size scale of the entity pills and avatars (`UserEntity`, `TagEntity`, `EntityPill`,
146
- * `DocumentEntity`, the call tiles...). Each takes the steps it draws: the pill itself has two,
147
- * `sm` for compact rows and `md` for a primary column or a tab header.
148
- */
149
- type EntitySize = 'xs' | 'sm' | 'md' | 'lg';
150
- interface EntityPillProps {
151
- /** The icon element (Avatar, ShieldIcon, FileIcon, etc.) */
152
- icon: React__default.ReactNode;
153
- /** Primary label text */
154
- label: string;
155
- /** Optional secondary text (e.g., page notation "p.1") */
156
- secondaryText?: React__default.ReactNode;
157
- /** `sm` (default) for compact rows, `md` for a primary column or a tab header. */
158
- size?: Extract<EntitySize, 'sm' | 'md'>;
159
- /** Shape variant: 'pill' for rounded-full, 'rounded' for rounded-md */
160
- shape?: 'pill' | 'rounded';
161
- /** Additional CSS classes */
162
- className?: string;
163
- style?: React__default.CSSProperties;
164
- /** Max width for label truncation */
165
- labelMaxWidth?: string;
166
- /** Extra classes on the label text (e.g. a heavier weight on a card face). */
167
- labelClassName?: string;
168
- /** When true, the pill fills its container width (`flex w-full`) and the main
169
- * area flexes + truncates so the trailing control (⋯ menu) pins to the right
170
- * edge — used by the documents table's Document column. Default: shrink-to-fit. */
171
- fullWidth?: boolean;
172
- /** When true, render the pill with the active/"viewing" highlight — a solid
173
- * dark-navy background with light text, applied LAST so it wins over both the
174
- * default background and the interactive hover. */
175
- highlight?: boolean;
176
- /** Click handler for main area (icon + label) - primary action */
177
- onClick?: (e: React__default.MouseEvent) => void;
178
- /** Click handler for icon only — when set, only the icon is clickable (not the label) */
179
- onIconClick?: (e: React__default.MouseEvent) => void;
180
- /** Click handler for MoreVertical - opens popover/menu. When provided, shows MoreVertical icon */
181
- onMoreClick?: (e: React__default.MouseEvent) => void;
182
- /** Custom trailing element (e.g. a ⋯ dropdown menu). Rendered in the same
183
- * trailing zone as MoreVertical, but as-is — so it stays outside the pill's
184
- * primary click area. Takes precedence over `onMoreClick`. */
185
- moreContent?: React__default.ReactNode;
186
- /** Link URL - makes the main area an anchor tag */
187
- href?: string;
188
- /** Whether the pill is disabled */
189
- disabled?: boolean;
190
- /** Tooltip for main area (describes primary action, e.g., "View document") */
191
- tooltipContent?: React__default.ReactNode;
192
- /** Test ID for testing */
193
- 'data-testid'?: string;
194
- }
195
- declare const EntityPill: React__default.ForwardRefExoticComponent<EntityPillProps & React__default.RefAttributes<HTMLElement>>;
196
-
197
133
  /**
198
134
  * Minimal, dependency-free tooltip — a drop-in API replacement for a Radix
199
135
  * wrapper (same exports/props: Tooltip, TooltipTrigger, TooltipContent,
@@ -729,7 +665,7 @@ declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
729
665
  ref?: React.Ref<HTMLDivElement>;
730
666
  } & {
731
667
  asChild?: boolean;
732
- }, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>>, "value" | "disabled" | "onSelect"> & {
668
+ }, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>>, "value" | "onSelect" | "disabled"> & {
733
669
  disabled?: boolean;
734
670
  onSelect?: (value: string) => void;
735
671
  value?: string;
@@ -993,6 +929,70 @@ declare function ThreadVisibilityIcon({ shared, className, ...props }: LucidePro
993
929
  shared: boolean;
994
930
  }): React.JSX.Element;
995
931
 
932
+ /**
933
+ * EntityPill Component
934
+ *
935
+ * Base component for pill-style entity displays. Provides consistent styling and
936
+ * interaction patterns. At rest it is plain icon + text (no fill, no border); the
937
+ * fill appears on hover, so a row of entities does not read as a row of buttons. Promoted verbatim from the ARBI app (import paths only
938
+ * changed to resolve within the SDK).
939
+ *
940
+ * Pattern: [Icon] [Label] [Optional: secondary text] [MoreVertical when interactive]
941
+ */
942
+
943
+ /**
944
+ * The one size scale of the entity pills and avatars (`UserEntity`, `TagEntity`, `EntityPill`,
945
+ * `DocumentEntity`, the call tiles...). Each takes the steps it draws: the pill itself has two,
946
+ * `sm` for compact rows and `md` for a primary column or a tab header.
947
+ */
948
+ type EntitySize = 'xs' | 'sm' | 'md' | 'lg';
949
+ interface EntityPillProps {
950
+ /** The icon element (Avatar, ShieldIcon, FileIcon, etc.) */
951
+ icon: React__default.ReactNode;
952
+ /** Primary label text */
953
+ label: string;
954
+ /** Optional secondary text (e.g., page notation "p.1") */
955
+ secondaryText?: React__default.ReactNode;
956
+ /** `sm` (default) for compact rows, `md` for a primary column or a tab header. */
957
+ size?: Extract<EntitySize, 'sm' | 'md'>;
958
+ /** Shape variant: 'pill' for rounded-full, 'rounded' for rounded-md */
959
+ shape?: 'pill' | 'rounded';
960
+ /** Additional CSS classes */
961
+ className?: string;
962
+ style?: React__default.CSSProperties;
963
+ /** Max width for label truncation */
964
+ labelMaxWidth?: string;
965
+ /** Extra classes on the label text (e.g. a heavier weight on a card face). */
966
+ labelClassName?: string;
967
+ /** When true, the pill fills its container width (`flex w-full`) and the main
968
+ * area flexes + truncates so the trailing control (⋯ menu) pins to the right
969
+ * edge — used by the documents table's Document column. Default: shrink-to-fit. */
970
+ fullWidth?: boolean;
971
+ /** When true, render the pill with the active/"viewing" highlight — a solid
972
+ * dark-navy background with light text, applied LAST so it wins over both the
973
+ * default background and the interactive hover. */
974
+ highlight?: boolean;
975
+ /** Click handler for main area (icon + label) - primary action */
976
+ onClick?: (e: React__default.MouseEvent) => void;
977
+ /** Click handler for icon only — when set, only the icon is clickable (not the label) */
978
+ onIconClick?: (e: React__default.MouseEvent) => void;
979
+ /** Click handler for MoreVertical - opens popover/menu. When provided, shows MoreVertical icon */
980
+ onMoreClick?: (e: React__default.MouseEvent) => void;
981
+ /** Custom trailing element (e.g. a ⋯ dropdown menu). Rendered in the same
982
+ * trailing zone as MoreVertical, but as-is — so it stays outside the pill's
983
+ * primary click area. Takes precedence over `onMoreClick`. */
984
+ moreContent?: React__default.ReactNode;
985
+ /** Link URL - makes the main area an anchor tag */
986
+ href?: string;
987
+ /** Whether the pill is disabled */
988
+ disabled?: boolean;
989
+ /** Tooltip for main area (describes primary action, e.g., "View document") */
990
+ tooltipContent?: React__default.ReactNode;
991
+ /** Test ID for testing */
992
+ 'data-testid'?: string;
993
+ }
994
+ declare const EntityPill: React__default.ForwardRefExoticComponent<EntityPillProps & React__default.RefAttributes<HTMLElement>>;
995
+
996
996
  /**
997
997
  * DocumentEntity Component
998
998
  *
@@ -130,70 +130,6 @@ type EntityVocabulary = Partial<Record<string, EntityNoun>>;
130
130
  /** Set the site's vocabulary (replacing any earlier one). `<ArbiHost>` calls it with `config.vocabulary`. */
131
131
  declare function configureEntityVocabulary(next: EntityVocabulary): void;
132
132
 
133
- /**
134
- * EntityPill Component
135
- *
136
- * Base component for pill-style entity displays. Provides consistent styling and
137
- * interaction patterns. At rest it is plain icon + text (no fill, no border); the
138
- * fill appears on hover, so a row of entities does not read as a row of buttons. Promoted verbatim from the ARBI app (import paths only
139
- * changed to resolve within the SDK).
140
- *
141
- * Pattern: [Icon] [Label] [Optional: secondary text] [MoreVertical when interactive]
142
- */
143
-
144
- /**
145
- * The one size scale of the entity pills and avatars (`UserEntity`, `TagEntity`, `EntityPill`,
146
- * `DocumentEntity`, the call tiles...). Each takes the steps it draws: the pill itself has two,
147
- * `sm` for compact rows and `md` for a primary column or a tab header.
148
- */
149
- type EntitySize = 'xs' | 'sm' | 'md' | 'lg';
150
- interface EntityPillProps {
151
- /** The icon element (Avatar, ShieldIcon, FileIcon, etc.) */
152
- icon: React__default.ReactNode;
153
- /** Primary label text */
154
- label: string;
155
- /** Optional secondary text (e.g., page notation "p.1") */
156
- secondaryText?: React__default.ReactNode;
157
- /** `sm` (default) for compact rows, `md` for a primary column or a tab header. */
158
- size?: Extract<EntitySize, 'sm' | 'md'>;
159
- /** Shape variant: 'pill' for rounded-full, 'rounded' for rounded-md */
160
- shape?: 'pill' | 'rounded';
161
- /** Additional CSS classes */
162
- className?: string;
163
- style?: React__default.CSSProperties;
164
- /** Max width for label truncation */
165
- labelMaxWidth?: string;
166
- /** Extra classes on the label text (e.g. a heavier weight on a card face). */
167
- labelClassName?: string;
168
- /** When true, the pill fills its container width (`flex w-full`) and the main
169
- * area flexes + truncates so the trailing control (⋯ menu) pins to the right
170
- * edge — used by the documents table's Document column. Default: shrink-to-fit. */
171
- fullWidth?: boolean;
172
- /** When true, render the pill with the active/"viewing" highlight — a solid
173
- * dark-navy background with light text, applied LAST so it wins over both the
174
- * default background and the interactive hover. */
175
- highlight?: boolean;
176
- /** Click handler for main area (icon + label) - primary action */
177
- onClick?: (e: React__default.MouseEvent) => void;
178
- /** Click handler for icon only — when set, only the icon is clickable (not the label) */
179
- onIconClick?: (e: React__default.MouseEvent) => void;
180
- /** Click handler for MoreVertical - opens popover/menu. When provided, shows MoreVertical icon */
181
- onMoreClick?: (e: React__default.MouseEvent) => void;
182
- /** Custom trailing element (e.g. a ⋯ dropdown menu). Rendered in the same
183
- * trailing zone as MoreVertical, but as-is — so it stays outside the pill's
184
- * primary click area. Takes precedence over `onMoreClick`. */
185
- moreContent?: React__default.ReactNode;
186
- /** Link URL - makes the main area an anchor tag */
187
- href?: string;
188
- /** Whether the pill is disabled */
189
- disabled?: boolean;
190
- /** Tooltip for main area (describes primary action, e.g., "View document") */
191
- tooltipContent?: React__default.ReactNode;
192
- /** Test ID for testing */
193
- 'data-testid'?: string;
194
- }
195
- declare const EntityPill: React__default.ForwardRefExoticComponent<EntityPillProps & React__default.RefAttributes<HTMLElement>>;
196
-
197
133
  /**
198
134
  * Minimal, dependency-free tooltip — a drop-in API replacement for a Radix
199
135
  * wrapper (same exports/props: Tooltip, TooltipTrigger, TooltipContent,
@@ -729,7 +665,7 @@ declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
729
665
  ref?: React.Ref<HTMLDivElement>;
730
666
  } & {
731
667
  asChild?: boolean;
732
- }, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>>, "value" | "disabled" | "onSelect"> & {
668
+ }, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>>, "value" | "onSelect" | "disabled"> & {
733
669
  disabled?: boolean;
734
670
  onSelect?: (value: string) => void;
735
671
  value?: string;
@@ -993,6 +929,70 @@ declare function ThreadVisibilityIcon({ shared, className, ...props }: LucidePro
993
929
  shared: boolean;
994
930
  }): React.JSX.Element;
995
931
 
932
+ /**
933
+ * EntityPill Component
934
+ *
935
+ * Base component for pill-style entity displays. Provides consistent styling and
936
+ * interaction patterns. At rest it is plain icon + text (no fill, no border); the
937
+ * fill appears on hover, so a row of entities does not read as a row of buttons. Promoted verbatim from the ARBI app (import paths only
938
+ * changed to resolve within the SDK).
939
+ *
940
+ * Pattern: [Icon] [Label] [Optional: secondary text] [MoreVertical when interactive]
941
+ */
942
+
943
+ /**
944
+ * The one size scale of the entity pills and avatars (`UserEntity`, `TagEntity`, `EntityPill`,
945
+ * `DocumentEntity`, the call tiles...). Each takes the steps it draws: the pill itself has two,
946
+ * `sm` for compact rows and `md` for a primary column or a tab header.
947
+ */
948
+ type EntitySize = 'xs' | 'sm' | 'md' | 'lg';
949
+ interface EntityPillProps {
950
+ /** The icon element (Avatar, ShieldIcon, FileIcon, etc.) */
951
+ icon: React__default.ReactNode;
952
+ /** Primary label text */
953
+ label: string;
954
+ /** Optional secondary text (e.g., page notation "p.1") */
955
+ secondaryText?: React__default.ReactNode;
956
+ /** `sm` (default) for compact rows, `md` for a primary column or a tab header. */
957
+ size?: Extract<EntitySize, 'sm' | 'md'>;
958
+ /** Shape variant: 'pill' for rounded-full, 'rounded' for rounded-md */
959
+ shape?: 'pill' | 'rounded';
960
+ /** Additional CSS classes */
961
+ className?: string;
962
+ style?: React__default.CSSProperties;
963
+ /** Max width for label truncation */
964
+ labelMaxWidth?: string;
965
+ /** Extra classes on the label text (e.g. a heavier weight on a card face). */
966
+ labelClassName?: string;
967
+ /** When true, the pill fills its container width (`flex w-full`) and the main
968
+ * area flexes + truncates so the trailing control (⋯ menu) pins to the right
969
+ * edge — used by the documents table's Document column. Default: shrink-to-fit. */
970
+ fullWidth?: boolean;
971
+ /** When true, render the pill with the active/"viewing" highlight — a solid
972
+ * dark-navy background with light text, applied LAST so it wins over both the
973
+ * default background and the interactive hover. */
974
+ highlight?: boolean;
975
+ /** Click handler for main area (icon + label) - primary action */
976
+ onClick?: (e: React__default.MouseEvent) => void;
977
+ /** Click handler for icon only — when set, only the icon is clickable (not the label) */
978
+ onIconClick?: (e: React__default.MouseEvent) => void;
979
+ /** Click handler for MoreVertical - opens popover/menu. When provided, shows MoreVertical icon */
980
+ onMoreClick?: (e: React__default.MouseEvent) => void;
981
+ /** Custom trailing element (e.g. a ⋯ dropdown menu). Rendered in the same
982
+ * trailing zone as MoreVertical, but as-is — so it stays outside the pill's
983
+ * primary click area. Takes precedence over `onMoreClick`. */
984
+ moreContent?: React__default.ReactNode;
985
+ /** Link URL - makes the main area an anchor tag */
986
+ href?: string;
987
+ /** Whether the pill is disabled */
988
+ disabled?: boolean;
989
+ /** Tooltip for main area (describes primary action, e.g., "View document") */
990
+ tooltipContent?: React__default.ReactNode;
991
+ /** Test ID for testing */
992
+ 'data-testid'?: string;
993
+ }
994
+ declare const EntityPill: React__default.ForwardRefExoticComponent<EntityPillProps & React__default.RefAttributes<HTMLElement>>;
995
+
996
996
  /**
997
997
  * DocumentEntity Component
998
998
  *