@haklex/rich-diff 0.0.94 → 0.0.95
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/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +4 -2
- package/dist/style.d.ts.map +1 -1
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type { RichDiffProps } from './RichDiff';
|
|
2
2
|
export { RichDiff } from './RichDiff';
|
|
3
|
-
export type { DiffHunk, DiffOpType } from '@haklex/rich-diff-core';
|
|
4
|
-
export { computeDiff } from '@haklex/rich-diff-core';
|
|
3
|
+
export type { DeltaStats, DiffHunk, DiffOpType } from '@haklex/rich-diff-core';
|
|
4
|
+
export { computeDeltaStats, computeDiff, formatDeltaStats } from '@haklex/rich-diff-core';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,CAAC;AAErB,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAC/E,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC"}
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { computeDiff } from "@haklex/rich-diff-core";
|
|
3
|
-
import { computeDiff as computeDiff2 } from "@haklex/rich-diff-core";
|
|
3
|
+
import { computeDeltaStats, computeDiff as computeDiff2, formatDeltaStats } from "@haklex/rich-diff-core";
|
|
4
4
|
import { getVariantClass, ColorSchemeProvider } from "@haklex/rich-editor";
|
|
5
5
|
import { RichRenderer } from "@haklex/rich-static-renderer";
|
|
6
6
|
import { PortalThemeProvider } from "@haklex/rich-style-token";
|
|
@@ -112,5 +112,7 @@ function RichDiff({
|
|
|
112
112
|
}
|
|
113
113
|
export {
|
|
114
114
|
RichDiff,
|
|
115
|
-
|
|
115
|
+
computeDeltaStats,
|
|
116
|
+
computeDiff2 as computeDiff,
|
|
117
|
+
formatDeltaStats
|
|
116
118
|
};
|
package/dist/style.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../src/style.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../src/style.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@haklex/rich-diff",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.95",
|
|
4
4
|
"description": "Rich diff editor",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"dist"
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@haklex/rich-
|
|
25
|
-
"@haklex/rich-
|
|
26
|
-
"@haklex/rich-static-renderer": "0.0.
|
|
27
|
-
"@haklex/rich-style-token": "0.0.
|
|
24
|
+
"@haklex/rich-editor": "0.0.95",
|
|
25
|
+
"@haklex/rich-diff-core": "0.0.95",
|
|
26
|
+
"@haklex/rich-static-renderer": "0.0.95",
|
|
27
|
+
"@haklex/rich-style-token": "0.0.95"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/react": "^19.2.14",
|