@ai-matrx/rich-content 0.2.39 → 0.2.40
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.40
|
|
4
|
+
|
|
5
|
+
- The selection toolbar's outer strip is `role="group"`, not a second `role=toolbar` wrapped around the real SelectionToolbar: one toolbar on screen.
|
|
6
|
+
|
|
7
|
+
**Consumer action:** none.
|
|
8
|
+
|
|
3
9
|
## 0.2.39
|
|
4
10
|
|
|
5
11
|
- The selection toolbar's mode table knows `selection:format-color` (edit mode): text colour is a registered format action, so an editor whose engine has colour (the Spaces editor) offers it in the one toolbar instead of a second bubble.
|
|
@@ -185,10 +185,12 @@ function SelectionToolbarFrame({
|
|
|
185
185
|
// ONE row: the split Copy first (copies the selection; markdown and
|
|
186
186
|
// plain text one click away), then the Alchemy strip (formatting while
|
|
187
187
|
// editing, highlight / comment / AI while reading).
|
|
188
|
+
// role="group": the inner SelectionToolbar is THE toolbar; a second
|
|
189
|
+
// role=toolbar here made two toolbars nested on screen.
|
|
188
190
|
/* @__PURE__ */ jsxs(
|
|
189
191
|
"div",
|
|
190
192
|
{
|
|
191
|
-
role: "
|
|
193
|
+
role: "group",
|
|
192
194
|
"aria-label": "Selection actions",
|
|
193
195
|
"data-selection-strip": "",
|
|
194
196
|
className: cn(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-matrx/rich-content",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.40",
|
|
4
4
|
"description": "The AI Matrx formatted-text engine: the one markdown renderer, streaming markdown, the block splitter and renderer, the generic blocks, <RichContent> levels, the rich-document action registry and menus, copy, and the selection toolbar — as portable React.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -130,21 +130,21 @@
|
|
|
130
130
|
"unist-util-visit": "^5.1.0",
|
|
131
131
|
"unist-util-visit-parents": "^6.0.2",
|
|
132
132
|
"yaml": "^2.9.1",
|
|
133
|
+
"@ai-matrx/agents": "latest",
|
|
134
|
+
"@ai-matrx/alchemy": "latest",
|
|
133
135
|
"@ai-matrx/canvas": "latest",
|
|
134
136
|
"@ai-matrx/content-ir": "latest",
|
|
135
|
-
"@ai-matrx/design-system": "latest",
|
|
136
|
-
"@ai-matrx/alchemy": "latest",
|
|
137
137
|
"@ai-matrx/content-ir-react": "latest",
|
|
138
138
|
"@ai-matrx/data": "latest",
|
|
139
|
-
"@ai-matrx/kit": "latest",
|
|
140
|
-
"@ai-matrx/icons": "latest",
|
|
141
139
|
"@ai-matrx/diff": "latest",
|
|
140
|
+
"@ai-matrx/design-system": "latest",
|
|
141
|
+
"@ai-matrx/icons": "latest",
|
|
142
|
+
"@ai-matrx/kit": "latest",
|
|
142
143
|
"@ai-matrx/media": "latest",
|
|
143
|
-
"@ai-matrx/print": "latest",
|
|
144
144
|
"@ai-matrx/records": "latest",
|
|
145
|
-
"@ai-matrx/
|
|
145
|
+
"@ai-matrx/print": "latest",
|
|
146
146
|
"@ai-matrx/tap-target": "latest",
|
|
147
|
-
"@ai-matrx/
|
|
147
|
+
"@ai-matrx/records-ui": "latest"
|
|
148
148
|
},
|
|
149
149
|
"peerDependencies": {
|
|
150
150
|
"react": ">=19.0.0",
|