schematex 0.4.0 → 0.4.1
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/ai/ai-sdk.cjs +7 -7
- package/dist/ai/ai-sdk.js +2 -2
- package/dist/ai/index.cjs +10 -10
- package/dist/ai/index.js +2 -2
- package/dist/browser.cjs +4 -4
- package/dist/browser.js +2 -2
- package/dist/{chunk-3ADSXODY.js → chunk-4SJSIJK2.js} +406 -3
- package/dist/chunk-4SJSIJK2.js.map +1 -0
- package/dist/{chunk-O2HN4WRG.cjs → chunk-DHHVYSQX.cjs} +3 -3
- package/dist/{chunk-O2HN4WRG.cjs.map → chunk-DHHVYSQX.cjs.map} +1 -1
- package/dist/{chunk-7LNIBHO6.cjs → chunk-WCAADEXJ.cjs} +408 -5
- package/dist/chunk-WCAADEXJ.cjs.map +1 -0
- package/dist/{chunk-O4RHSAHR.js → chunk-Z5NGIM4Z.js} +3 -3
- package/dist/{chunk-O4RHSAHR.js.map → chunk-Z5NGIM4Z.js.map} +1 -1
- package/dist/index.cjs +7 -7
- package/dist/index.js +1 -1
- package/dist/react.cjs +2 -2
- package/dist/react.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-3ADSXODY.js.map +0 -1
- package/dist/chunk-7LNIBHO6.cjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkDHHVYSQX_cjs = require('./chunk-DHHVYSQX.cjs');
|
|
4
4
|
var chunkQUKVGHN4_cjs = require('./chunk-QUKVGHN4.cjs');
|
|
5
5
|
var chunk2Z543TC3_cjs = require('./chunk-2Z543TC3.cjs');
|
|
6
6
|
var chunkSUIDD2C5_cjs = require('./chunk-SUIDD2C5.cjs');
|
|
@@ -26,27 +26,27 @@ require('./chunk-3WNW5Y7P.cjs');
|
|
|
26
26
|
|
|
27
27
|
Object.defineProperty(exports, "decisiontree", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkDHHVYSQX_cjs.decisiontree; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "parse", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkDHHVYSQX_cjs.parse; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "pid", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkDHHVYSQX_cjs.pid; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "render", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkDHHVYSQX_cjs.render; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "state", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkDHHVYSQX_cjs.state; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "timeline", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkDHHVYSQX_cjs.timeline; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "orgchart", {
|
|
52
52
|
enumerable: true,
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { decisiontree, parse, pid, render, state, timeline } from './chunk-
|
|
1
|
+
export { decisiontree, parse, pid, render, state, timeline } from './chunk-Z5NGIM4Z.js';
|
|
2
2
|
export { orgchart } from './chunk-I55HO32M.js';
|
|
3
3
|
export { circuit } from './chunk-J7JWMQD5.js';
|
|
4
4
|
export { blockdiagram } from './chunk-EPKIJEH7.js';
|
package/dist/react.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkDHHVYSQX_cjs = require('./chunk-DHHVYSQX.cjs');
|
|
4
4
|
require('./chunk-QUKVGHN4.cjs');
|
|
5
5
|
require('./chunk-2Z543TC3.cjs');
|
|
6
6
|
require('./chunk-SUIDD2C5.cjs');
|
|
@@ -36,7 +36,7 @@ function SchematexDiagram({
|
|
|
36
36
|
}) {
|
|
37
37
|
const svg = react.useMemo(() => {
|
|
38
38
|
try {
|
|
39
|
-
return
|
|
39
|
+
return chunkDHHVYSQX_cjs.render(dsl, { type, theme, fontFamily, padding });
|
|
40
40
|
} catch (err) {
|
|
41
41
|
const e = err instanceof Error ? err : new Error(String(err));
|
|
42
42
|
onError?.(e);
|
package/dist/react.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "schematex",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Every diagram a doctor, engineer, or lawyer would actually use. 27 industry-standard diagrams (genogram, pedigree, ladder logic, SLD, FBD, SFC, P&ID, UML state diagram, phylo, fishbone, entity structure, ...) from a text DSL. Free, fully open source, made for AI. Pure SVG, zero dependencies.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|