@ai-matrx/rich-content 0.2.168 → 0.2.170
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,10 +1,24 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.2.
|
|
3
|
+
## 0.2.170
|
|
4
4
|
|
|
5
5
|
UNVERIFIED: this release has no Unreleased entry and the source comparison could not be made (the caller supplied no source comparison). Whether source changed is unknown; consumer action is unknown.
|
|
6
6
|
Check the package's gitHead on npm against this version's gitHead: `git diff <previous gitHead> <this gitHead> -- apps/shared/rich-content/src`.
|
|
7
7
|
|
|
8
|
+
## 0.2.169
|
|
9
|
+
|
|
10
|
+
Automatic changed-only republish (docs/metadata drift since the last published version; verified: `git diff aad1943517 3d2ed872f6 -- apps/shared/rich-content/src`
|
|
11
|
+
has no shipped-source changes outside tests, fixtures and docs). No consumer action required.
|
|
12
|
+
|
|
13
|
+
## 0.2.168
|
|
14
|
+
|
|
15
|
+
SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
|
|
16
|
+
so they may include breaking API changes. Consumer action is UNKNOWN: read the diff before upgrading.
|
|
17
|
+
Diff: `git diff ebc4f61cd1 aad1943517 -- apps/shared/rich-content/src`
|
|
18
|
+
|
|
19
|
+
Changed shipped source files (1):
|
|
20
|
+
- `apps/shared/rich-content/src/styles.css`
|
|
21
|
+
|
|
8
22
|
## 0.2.167
|
|
9
23
|
|
|
10
24
|
SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
|
|
@@ -11,8 +11,10 @@
|
|
|
11
11
|
import React from "react";
|
|
12
12
|
import { type ChartSpec } from "./chart-spec.js";
|
|
13
13
|
import type { ChartPaneLayout } from "../canvas-adaptive.js";
|
|
14
|
-
|
|
14
|
+
declare function ChartCanvas({ spec, paneLayout, }: {
|
|
15
15
|
spec: ChartSpec;
|
|
16
16
|
/** The canvas pane's layout; `null` (chat, fullscreen) keeps the defaults. */
|
|
17
17
|
paneLayout?: ChartPaneLayout | null;
|
|
18
18
|
}): React.JSX.Element;
|
|
19
|
+
declare const _default: React.MemoExoticComponent<typeof ChartCanvas>;
|
|
20
|
+
export default _default;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import React from "react";
|
|
3
4
|
import {
|
|
4
5
|
Area,
|
|
5
6
|
AreaChart,
|
|
@@ -118,7 +119,7 @@ function render(spec, showLegend, paneLayout) {
|
|
|
118
119
|
outerRadius: "78%",
|
|
119
120
|
innerRadius: "0%",
|
|
120
121
|
paddingAngle: 1,
|
|
121
|
-
label:
|
|
122
|
+
label: pieLabel,
|
|
122
123
|
labelLine: false,
|
|
123
124
|
children: spec.data.map((_, i) => /* @__PURE__ */ jsx(Cell, { fill: CHART_PALETTE[i % CHART_PALETTE.length] }, i))
|
|
124
125
|
}
|
|
@@ -154,6 +155,8 @@ function render(spec, showLegend, paneLayout) {
|
|
|
154
155
|
] });
|
|
155
156
|
}
|
|
156
157
|
}
|
|
158
|
+
const pieLabel = (e) => pieSliceLabel(e);
|
|
159
|
+
var ChartCanvas_default = React.memo(ChartCanvas);
|
|
157
160
|
export {
|
|
158
|
-
|
|
161
|
+
ChartCanvas_default as default
|
|
159
162
|
};
|
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.170",
|
|
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
133
|
"@ai-matrx/alchemy": "latest",
|
|
134
|
+
"@ai-matrx/api": "latest",
|
|
135
|
+
"@ai-matrx/canvas": "latest",
|
|
135
136
|
"@ai-matrx/content-ir": "latest",
|
|
136
137
|
"@ai-matrx/content-ir-react": "latest",
|
|
137
138
|
"@ai-matrx/data": "latest",
|
|
138
|
-
"@ai-matrx/
|
|
139
|
-
"@ai-matrx/
|
|
140
|
-
"@ai-matrx/icons": "latest",
|
|
139
|
+
"@ai-matrx/design-system": "latest",
|
|
140
|
+
"@ai-matrx/agents": "latest",
|
|
141
141
|
"@ai-matrx/diff": "latest",
|
|
142
|
-
"@ai-matrx/kit": "latest",
|
|
143
142
|
"@ai-matrx/media": "latest",
|
|
144
|
-
"@ai-matrx/records": "latest",
|
|
145
|
-
"@ai-matrx/records-ui": "latest",
|
|
146
143
|
"@ai-matrx/print": "latest",
|
|
147
|
-
"@ai-matrx/
|
|
144
|
+
"@ai-matrx/kit": "latest",
|
|
145
|
+
"@ai-matrx/icons": "latest",
|
|
146
|
+
"@ai-matrx/records": "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": "
|
|
208
|
+
"gitHead": "44398623d1fc90e4f200f6201c08b8b2b1585607"
|
|
209
209
|
}
|