@tutti-os/ui-rich-text 0.0.52 → 0.0.54
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 +4 -0
- package/dist/at-panel/index.d.ts +4 -2
- package/dist/at-panel/index.js +16 -2055
- package/dist/at-panel/index.js.map +1 -1
- package/dist/at-panel/model.d.ts +4 -218
- package/dist/{chunk-NNPICKW6.js → chunk-2SYJ5JFT.js} +2 -2
- package/dist/{chunk-HO3WOO7V.js → chunk-5XJXLQYZ.js} +2 -2
- package/dist/chunk-5XJXLQYZ.js.map +1 -0
- package/dist/chunk-SH3QPYB2.js +2083 -0
- package/dist/chunk-SH3QPYB2.js.map +1 -0
- package/dist/core/index.js +1 -1
- package/dist/editor/index.css +871 -0
- package/dist/editor/index.css.map +1 -0
- package/dist/editor/index.d.ts +16 -2
- package/dist/editor/index.js +179 -5
- package/dist/editor/index.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/mentionPaletteModel-BO1PV_yi.d.ts +220 -0
- package/dist/plugins/index.js +2 -2
- package/package.json +3 -3
- package/dist/chunk-HO3WOO7V.js.map +0 -1
- /package/dist/{chunk-NNPICKW6.js.map → chunk-2SYJ5JFT.js.map} +0 -0
package/README.md
CHANGED
|
@@ -164,6 +164,10 @@ Current runtime behavior:
|
|
|
164
164
|
hosts can set `menuPlacement` to `bottom-start`, `top-start`, or `auto-start`
|
|
165
165
|
and adjust the gap with `menuOffset`; hosts that want AgentGUI-style panels
|
|
166
166
|
aligned to the editor surface can set `menuAnchor` to `editor`
|
|
167
|
+
- `RichTextTriggerEditor` renders a flat result menu by default; hosts that need
|
|
168
|
+
grouped AgentGUI-style tabs can pass the optional `palette` prop with
|
|
169
|
+
`MentionPaletteCategoryConfig[]`, labels, and a default category while keeping
|
|
170
|
+
query providers and insertion side effects host-owned
|
|
167
171
|
|
|
168
172
|
## External At-Panel Integration
|
|
169
173
|
|
package/dist/at-panel/index.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import React$1, { JSX, ReactNode } from 'react';
|
|
2
|
-
import { MentionPaletteProps, MentionPaletteState,
|
|
3
|
-
export {
|
|
2
|
+
import { g as MentionPaletteProps, i as MentionPaletteState, d as MentionPaletteGroup, j as MentionPaletteTheme } from '../mentionPaletteModel-BO1PV_yi.js';
|
|
3
|
+
export { M as MentionPaletteCategory, a as MentionPaletteCategoryConfig, b as MentionPaletteEntry, c as MentionPaletteFilterId, e as MentionPaletteGroupId, f as MentionPaletteModelInput, h as MentionPaletteSectionConfig, k as buildMentionPaletteModel, l as buildMentionPaletteModelFromTriggerMatches, m as findMentionPaletteEntry, n as mentionPaletteGroup, o as moveMentionPaletteHighlight, p as nextMentionPaletteCategory, r as repairMentionPaletteHighlight, s as selectedMentionPaletteItem } from '../mentionPaletteModel-BO1PV_yi.js';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
|
+
import { MentionRowItem, MentionFileVisualKind, MentionRowStatusVariant, MentionRowStatusTag, MentionRowStatusTone } from './model.js';
|
|
6
|
+
export { MentionFileVisualKindInput, MentionRowAppFactoryItem, MentionRowAppItem, MentionRowFileItem, MentionRowIssueItem, MentionRowPlainItem, MentionRowSessionItem, activityMentionStatusBadgeClassName, activityMentionStatusTone, flattenMentionPaletteEntries, issueMentionStatusBadgeClassName, issueMentionStatusTone, mentionStatusBadgeClassName, resolveMentionFileThumbnailUrl, resolveMentionFileVisualKind } from './model.js';
|
|
5
7
|
import { RichTextTriggerQueryMatch } from '../types/index.js';
|
|
6
8
|
import '../mention-DJq2OJ4K.js';
|
|
7
9
|
|