@ai-matrx/rich-content 0.2.158 → 0.2.160

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,16 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.160
4
+
5
+ Automatic changed-only republish (docs/metadata drift since the last tag — see
6
+ `git diff npm/rich-content/v0.2.159..npm/rich-content/v0.2.160 -- apps/shared/rich-content`).
7
+ No source changes intended and no consumer action required.
8
+
9
+ ## 0.2.159
10
+ ### Unreleased
11
+
12
+ - Block header canvas button and its menu icon move to `brand-secondary` (white text on grey was unreadable after `secondary` became grey).
13
+
3
14
  ## 0.2.158
4
15
 
5
16
  Automatic changed-only republish (docs/metadata drift since the last tag — see
@@ -39,7 +39,7 @@ const BlockHeaderWrapper = ({
39
39
  headerGradient = "bg-gradient-to-br from-blue-100 via-indigo-50 to-purple-100 dark:from-blue-950/40 dark:via-indigo-950/30 dark:to-purple-950/40",
40
40
  headerBorder = "border-blue-200 dark:border-blue-800/50",
41
41
  actionButtonClassName = "bg-primary text-primary-foreground shadow-sm hover:bg-primary/80 hover:shadow-md transform hover:scale-105 transition-all",
42
- canvasButtonClassName = "bg-secondary text-primary-foreground shadow-sm hover:bg-secondary/80 hover:shadow-md transform hover:scale-105 transition-all"
42
+ canvasButtonClassName = "bg-brand-secondary text-brand-secondary-foreground shadow-sm hover:bg-brand-secondary/80 hover:shadow-md transform hover:scale-105 transition-all"
43
43
  }) => {
44
44
  const [isFullScreen, setIsFullScreen] = useState(false);
45
45
  const [menuOpen, setMenuOpen] = useState(false);
@@ -137,7 +137,7 @@ const BlockHeaderWrapper = ({
137
137
  mobileMenuItems.push({
138
138
  key: "canvas",
139
139
  icon: ExternalLink,
140
- iconColor: "text-secondary",
140
+ iconColor: "text-brand-secondary",
141
141
  label: "Open Canvas",
142
142
  action: handleCanvasOpen,
143
143
  showToast: false
@@ -15,7 +15,7 @@ const MatrxVariableInline = (props) => {
15
15
  }
16
16
  const prettyLabel = humanizeIdentifier(rawName) || rawName;
17
17
  const tokenString = `{{${rawName}}}`;
18
- return /* @__PURE__ */ jsxs(HoverCard, { openDelay: 120, closeDelay: 80, children: [
18
+ return /* @__PURE__ */ jsxs(HoverCard, { children: [
19
19
  /* @__PURE__ */ jsx(HoverCardTrigger, { asChild: true, children: /* @__PURE__ */ jsx(
20
20
  "span",
21
21
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-matrx/rich-content",
3
- "version": "0.2.158",
3
+ "version": "0.2.160",
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
+ "@ai-matrx/canvas": "latest",
135
134
  "@ai-matrx/api": "latest",
136
135
  "@ai-matrx/content-ir": "latest",
136
+ "@ai-matrx/agents": "latest",
137
+ "@ai-matrx/data": "latest",
137
138
  "@ai-matrx/content-ir-react": "latest",
139
+ "@ai-matrx/alchemy": "latest",
138
140
  "@ai-matrx/design-system": "latest",
139
- "@ai-matrx/diff": "latest",
140
141
  "@ai-matrx/icons": "latest",
142
+ "@ai-matrx/diff": "latest",
141
143
  "@ai-matrx/kit": "latest",
142
144
  "@ai-matrx/media": "latest",
143
145
  "@ai-matrx/print": "latest",
144
146
  "@ai-matrx/records": "latest",
145
- "@ai-matrx/records-ui": "latest",
146
- "@ai-matrx/canvas": "latest",
147
- "@ai-matrx/data": "latest"
147
+ "@ai-matrx/records-ui": "latest"
148
148
  },
149
149
  "peerDependencies": {
150
150
  "react": ">=19.0.0",
@@ -205,5 +205,5 @@
205
205
  "verify:modules-tarball": "node ./scripts/verify-modules-tarball.mjs",
206
206
  "verify:tarball": "node ./scripts/verify-tarball.mjs"
207
207
  },
208
- "gitHead": "29bb5242a06ccec89b9a8fd55db4bad47894f373"
208
+ "gitHead": "4d6a83481c2d4de4a5a1561f666fc8eba07e2617"
209
209
  }