@elucim/dsl 0.12.0 → 0.13.0

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -4
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -1292,7 +1292,7 @@ class sa extends K.Component {
1292
1292
  return this.state.error ? this.props.fallback !== void 0 ? this.props.fallback : /* @__PURE__ */ E(
1293
1293
  "div",
1294
1294
  {
1295
- style: { color: "#ff6b6b", fontFamily: "monospace", padding: 16, fontSize: 13 },
1295
+ style: { color: "var(--elucim-error, #f87171)", fontFamily: "monospace", padding: 16, fontSize: 13 },
1296
1296
  "data-testid": "dsl-render-error",
1297
1297
  children: [
1298
1298
  /* @__PURE__ */ l("strong", { children: "Render Error:" }),
@@ -1344,7 +1344,7 @@ const da = xt(function({ dsl: a, className: t, style: r, theme: i, colorScheme:
1344
1344
  "div",
1345
1345
  {
1346
1346
  className: t,
1347
- style: { color: "#ff6b6b", fontFamily: "monospace", padding: 16, fontSize: 13, ...r },
1347
+ style: { color: "var(--elucim-error, #f87171)", fontFamily: "monospace", padding: 16, fontSize: 13, ...r },
1348
1348
  "data-testid": "dsl-error",
1349
1349
  children: [
1350
1350
  /* @__PURE__ */ E("strong", { children: [
@@ -1360,14 +1360,14 @@ const da = xt(function({ dsl: a, className: t, style: r, theme: i, colorScheme:
1360
1360
  ")"
1361
1361
  ] }),
1362
1362
  /* @__PURE__ */ l("ul", { style: { margin: "4px 0", paddingLeft: 20 }, children: D.map((N, L) => /* @__PURE__ */ E("li", { children: [
1363
- /* @__PURE__ */ l("code", { style: { color: "#ffa07a" }, children: N.path }),
1363
+ /* @__PURE__ */ l("code", { style: { color: "var(--elucim-warning, #ffa07a)" }, children: N.path }),
1364
1364
  ": ",
1365
1365
  N.message
1366
1366
  ] }, L)) })
1367
1367
  ] }, k)),
1368
1368
  /* @__PURE__ */ E("details", { style: { marginTop: 12 }, children: [
1369
1369
  /* @__PURE__ */ l("summary", { style: { cursor: "pointer", opacity: 0.7 }, children: "Raw JSON" }),
1370
- /* @__PURE__ */ l("pre", { style: { fontSize: 11, maxHeight: 300, overflow: "auto", marginTop: 4, padding: 8, background: "rgba(0,0,0,0.3)", borderRadius: 4 }, children: JSON.stringify(a, null, 2) })
1370
+ /* @__PURE__ */ l("pre", { style: { fontSize: 11, maxHeight: 300, overflow: "auto", marginTop: 4, padding: 8, background: "var(--elucim-surface, rgba(0,0,0,0.3))", borderRadius: 4 }, children: JSON.stringify(a, null, 2) })
1371
1371
  ] })
1372
1372
  ]
1373
1373
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elucim/dsl",
3
- "version": "0.12.0",
3
+ "version": "0.13.0",
4
4
  "description": "JSON/YAML DSL for declarative Elucim animations — define visualizations without writing React code",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -58,7 +58,7 @@
58
58
  "vite": "^5.4.0",
59
59
  "vite-plugin-dts": "^4.0.0",
60
60
  "vitest": "^2.0.0",
61
- "@elucim/core": "0.12.0"
61
+ "@elucim/core": "0.13.0"
62
62
  },
63
63
  "scripts": {
64
64
  "dev": "vite build --watch",