@sentropic/design-system-elements 0.2.0 → 0.3.2

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 (93) hide show
  1. package/LICENSE.THIRD-PARTY.md +44 -1
  2. package/README.md +81 -13
  3. package/catalog.json +401 -7
  4. package/dist/browser/chunks/{Modeler-BfAmwsmK.js → Modeler-D87tL_OJ.js} +4 -4
  5. package/dist/browser/chunks/Viewer-D9zjRrp2.js +4 -0
  6. package/dist/browser/chunks/bpmn-canvas-BevbP_6a.js +1 -0
  7. package/dist/browser/chunks/bpmn-mount-BhO_zb0S.js +2202 -0
  8. package/dist/browser/chunks/dist-DRauAwm2.js +6 -0
  9. package/dist/browser/chunks/{entropic-CM5BHERN.js → entropic-MwNVEq6w.js} +639 -0
  10. package/dist/browser/chunks/focus-renderer-BWm7DlQD.js +55 -0
  11. package/dist/browser/chunks/{forge-B8hrW4lA.js → forge-CzwO8Hbe.js} +639 -0
  12. package/dist/browser/chunks/layout-T3X333Za.js +1 -0
  13. package/dist/browser/elements.js +671 -6
  14. package/dist/browser/sri.json +52 -45
  15. package/dist/contracts/bar-chart.js +2 -2
  16. package/dist/contracts/decision-dossier.d.ts +4 -8
  17. package/dist/contracts/decision-dossier.js +8 -12
  18. package/dist/contracts/index.d.ts +1 -0
  19. package/dist/contracts/index.js +2 -0
  20. package/dist/contracts/time-series-chart.d.ts +49 -0
  21. package/dist/contracts/time-series-chart.js +37 -0
  22. package/dist/dossier/dossier-mount.js +845 -0
  23. package/dist/dossier/renderer/dossier.css +2 -0
  24. package/dist/element/bpmn-mount.d.ts +11 -0
  25. package/dist/element/bpmn-mount.js +56 -0
  26. package/dist/element/bpmn-types.d.ts +27 -0
  27. package/dist/element/bpmn-types.js +12 -0
  28. package/dist/element/bpmn.d.ts +10 -0
  29. package/dist/element/bpmn.js +39 -0
  30. package/dist/element/dom/dossier-mount.d.ts +25 -0
  31. package/dist/element/dom/dossier-review-mount.d.ts +25 -0
  32. package/dist/element/dom/dossier-review-state.svelte.d.ts +13 -0
  33. package/dist/element/dom/engines/bpmn-canvas.d.ts +11 -0
  34. package/dist/element/dom/engines/bpmn-canvas.js +11 -0
  35. package/dist/element/dom/engines/dossier-diagrams.d.ts +5 -0
  36. package/dist/element/dom/engines/dossier-evidence.d.ts +9 -0
  37. package/dist/element/dom/engines/dossier-styles.d.ts +21 -0
  38. package/dist/element/dom/engines/focus-renderer.d.ts +60 -0
  39. package/dist/element/dom/engines/focus-snapshot.d.ts +3 -0
  40. package/dist/element/dom/intents.d.ts +20 -0
  41. package/dist/element/markdown/minimal-markdown.d.ts +1 -2
  42. package/dist/element/markdown/minimal-markdown.js +19 -1
  43. package/dist/element/validator.d.ts +26 -0
  44. package/dist/element/validator.js +54 -0
  45. package/dist/focus-diagrams/diagram-layout.d.ts +140 -0
  46. package/dist/focus-diagrams/diagram-layout.js +190 -0
  47. package/dist/focus-diagrams/diagram-source.d.ts +11 -0
  48. package/dist/focus-diagrams/diagram-source.js +147 -0
  49. package/dist/focus-diagrams/dossier-views.d.ts +21 -0
  50. package/dist/focus-diagrams/dossier-views.js +57 -0
  51. package/dist/focus-diagrams/ecosystem.json +853 -0
  52. package/dist/focus-kit/index.html +13 -0
  53. package/dist/focus-kit/renderer/dossier.css +2 -0
  54. package/dist/focus-kit/renderer/dossier.js +845 -0
  55. package/dist/focus-kit-manifest.json +1 -0
  56. package/dist/focus-kit.d.ts +9 -0
  57. package/dist/focus-kit.js +30 -0
  58. package/dist/format-time-series-markdown.d.ts +5 -0
  59. package/dist/format-time-series-markdown.js +24 -0
  60. package/dist/generator/parity.js +6 -1
  61. package/dist/index.d.ts +2 -0
  62. package/dist/index.js +1 -0
  63. package/dist/ports/dossier-views.d.ts +3 -0
  64. package/dist/ports/dossier-views.js +3 -0
  65. package/dist/ports/focus.d.ts +0 -1
  66. package/dist/ports/types.d.ts +0 -1
  67. package/dist/shells/BarChart.html +8494 -0
  68. package/dist/shells/BarChart.js +8482 -0
  69. package/dist/shells/DecisionDossier.html +8502 -0
  70. package/dist/shells/DecisionDossier.js +8490 -0
  71. package/dist/shells/TimeSeriesChart.html +8475 -0
  72. package/dist/shells/TimeSeriesChart.js +8463 -0
  73. package/dist/shells/manifest.json +108 -0
  74. package/dist/structure/interpreter.d.ts +1 -1
  75. package/dist/structure/interpreter.js +14 -4
  76. package/dist/time-series.d.ts +13 -0
  77. package/dist/time-series.js +15 -0
  78. package/dist/validate/envelope.js +5 -1
  79. package/dist/validate/time-series.d.ts +5 -0
  80. package/dist/validate/time-series.js +28 -0
  81. package/fixtures/time-series-multi.json +46 -0
  82. package/fixtures/time-series-single.json +28 -0
  83. package/fixtures/time-series-thresholds.json +52 -0
  84. package/package.json +40 -6
  85. package/schemas/BarChart.v1.json +2 -2
  86. package/schemas/DecisionDossier.v1.json +155 -5
  87. package/schemas/TimeSeriesChart.v1.json +287 -0
  88. package/skill/SKILL.md +27 -0
  89. package/dist/browser/chunks/Viewer-eYLzc3fD.js +0 -4
  90. package/dist/browser/chunks/bpmn-canvas-DeAWdJFy.js +0 -2207
  91. package/dist/browser/chunks/dist-O6_2ByYB.js +0 -1
  92. package/dist/browser/chunks/focus-renderer-0elVToA2.js +0 -10
  93. package/dist/browser/chunks/layout-q0TR9-aY.js +0 -1
@@ -0,0 +1,108 @@
1
+ {
2
+ "contract": "elements-shells/1",
3
+ "version": "0.3.2",
4
+ "budgets": {
5
+ "rawExclusive": 983040,
6
+ "gzipInclusive": 153600
7
+ },
8
+ "compression": {
9
+ "engine": "fflate@0.8.3",
10
+ "level": 6,
11
+ "mtime": 0
12
+ },
13
+ "inputs": {
14
+ "catalog.json": {
15
+ "bytes": 49953,
16
+ "sha256": "1de28880dee547808c50dbfcb0fc1d52f9f9913492159caddc000276731a6694"
17
+ },
18
+ "envelope.json": {
19
+ "bytes": 1092,
20
+ "sha256": "6bf3351ba45c90a0dd3b40a7e7eddf019e72379a4551acc07a89f4436fc6cf2e"
21
+ },
22
+ "dist/browser/sri.json": {
23
+ "bytes": 5714,
24
+ "sha256": "0fb18d902561063788b55b47a546053ebb1cf2d2430e9b2865c864009ce7fd2c"
25
+ },
26
+ "schemas/BarChart.v1.json": {
27
+ "bytes": 18951,
28
+ "sha256": "44b1be9a089c52f23ffcf8b2f2b24030488329c144127388a3471e0f84952c44"
29
+ },
30
+ "schemas/BpmnCanvas.v1.json": {
31
+ "bytes": 4911,
32
+ "sha256": "09a1e8bf19ef90bcd398d7051553368f890f1f7cbb8f96a306937175115a9607"
33
+ },
34
+ "schemas/DecisionDossier.v1.json": {
35
+ "bytes": 21662,
36
+ "sha256": "6d9334b646eb169baf8181593d523dbdfbba717c9ca2ba96a1d6d766ce58c4ba"
37
+ },
38
+ "schemas/TimeSeriesChart.v1.json": {
39
+ "bytes": 10099,
40
+ "sha256": "98b9d246237a6533630fd6c8f50bb3b038f9db6190613572cedf07f12a0645fd"
41
+ }
42
+ },
43
+ "components": {
44
+ "BarChart": {
45
+ "element": "st-bar-chart",
46
+ "schema": "schemas/BarChart.v1.json",
47
+ "fallback": "text",
48
+ "status": "qualified",
49
+ "complete": {
50
+ "bytes": 591934,
51
+ "sha256": "274669f66d90c7adf70da37be83b6ea588fa90faf78dead6038ee56723348173",
52
+ "gzip": 99381
53
+ },
54
+ "module": {
55
+ "path": "BarChart.js",
56
+ "bytes": 591464,
57
+ "sha256": "503b1491e18fcde414976db0b66e3f6310449f983d6169f24a2865bec7f9a9f0"
58
+ },
59
+ "shell": "BarChart.html"
60
+ },
61
+ "BpmnCanvas": {
62
+ "element": "st-bpmn-canvas",
63
+ "schema": "schemas/BpmnCanvas.v1.json",
64
+ "fallback": "text",
65
+ "url": "host",
66
+ "status": "partial",
67
+ "complete": {
68
+ "bytes": 1431363,
69
+ "sha256": "f8fcf5d337ddb760e8bb11f55019ba502aa94de3bbc59568dc4ea3b0c79ce322",
70
+ "gzip": 385071
71
+ }
72
+ },
73
+ "DecisionDossier": {
74
+ "element": "st-decision-dossier",
75
+ "schema": "schemas/DecisionDossier.v1.json",
76
+ "fallback": "text",
77
+ "status": "qualified",
78
+ "complete": {
79
+ "bytes": 633061,
80
+ "sha256": "11a89875755935beac25507597126836036330c491dedb969e093556369f1ee4",
81
+ "gzip": 115133
82
+ },
83
+ "module": {
84
+ "path": "DecisionDossier.js",
85
+ "bytes": 632570,
86
+ "sha256": "66963d93217a6c36aa859f971e2b08a3febfb41e01d21a785dcc5d7ef4068d76"
87
+ },
88
+ "shell": "DecisionDossier.html"
89
+ },
90
+ "TimeSeriesChart": {
91
+ "element": "st-time-series-chart",
92
+ "schema": "schemas/TimeSeriesChart.v1.json",
93
+ "fallback": "text",
94
+ "status": "qualified",
95
+ "complete": {
96
+ "bytes": 590780,
97
+ "sha256": "5455c7036627fcaab030a2bf199ab95071477ac9b3ac9ccdd3f987bca15bced5",
98
+ "gzip": 99799
99
+ },
100
+ "module": {
101
+ "path": "TimeSeriesChart.js",
102
+ "bytes": 590286,
103
+ "sha256": "f6cd78044de161e8ca55c7ff829f77ec9a54a4b1ba4b46b6fd159390e9bf7f7c"
104
+ },
105
+ "shell": "TimeSeriesChart.html"
106
+ }
107
+ }
108
+ }
@@ -14,7 +14,7 @@
14
14
  * refuse. It implements exactly the keyword surface the committed documents
15
15
  * use (measured: `$ref`, `type`, `enum`, `const`, `pattern`, `properties`,
16
16
  * `required`, `additionalProperties`, `unevaluatedProperties`, `items`,
17
- * `minItems`, `maxItems`, `allOf`, `anyOf`, `oneOf`, `not`) and REFUSES
17
+ * `minItems`, `maxItems`, `minLength`, `minimum`, `maximum`, `allOf`, `anyOf`, `oneOf`, `not`) and REFUSES
18
18
  * CONSTRUCTION when a registered document grows a standard 2020-12 keyword
19
19
  * outside that set, or any UNKNOWN keyword at all, so a catalogue change
20
20
  * cannot silently weaken the browser validation. The only allowed
@@ -14,7 +14,7 @@
14
14
  * refuse. It implements exactly the keyword surface the committed documents
15
15
  * use (measured: `$ref`, `type`, `enum`, `const`, `pattern`, `properties`,
16
16
  * `required`, `additionalProperties`, `unevaluatedProperties`, `items`,
17
- * `minItems`, `maxItems`, `allOf`, `anyOf`, `oneOf`, `not`) and REFUSES
17
+ * `minItems`, `maxItems`, `minLength`, `minimum`, `maximum`, `allOf`, `anyOf`, `oneOf`, `not`) and REFUSES
18
18
  * CONSTRUCTION when a registered document grows a standard 2020-12 keyword
19
19
  * outside that set, or any UNKNOWN keyword at all, so a catalogue change
20
20
  * cannot silently weaken the browser validation. The only allowed
@@ -37,6 +37,9 @@ const IMPLEMENTED_KEYWORDS = new Set([
37
37
  "enum",
38
38
  "const",
39
39
  "pattern",
40
+ "minLength",
41
+ "minimum",
42
+ "maximum",
40
43
  "properties",
41
44
  "required",
42
45
  "additionalProperties",
@@ -79,12 +82,9 @@ const ANNOTATION_KEYWORDS = new Set([
79
82
  /** Standard 2020-12 VALIDATION keywords this interpreter does not implement. */
80
83
  const UNSUPPORTED_STANDARD_KEYWORDS = new Set([
81
84
  "multipleOf",
82
- "maximum",
83
85
  "exclusiveMaximum",
84
- "minimum",
85
86
  "exclusiveMinimum",
86
87
  "maxLength",
87
- "minLength",
88
88
  "maxProperties",
89
89
  "minProperties",
90
90
  "uniqueItems",
@@ -345,6 +345,16 @@ function validateNode(schema, data, pointer, baseId, registry, issues) {
345
345
  if (typeof pattern === "string" && typeof data === "string" && !new RegExp(pattern, "u").test(data)) {
346
346
  fail({ pointer, message: `must match pattern "${pattern}"`, keyword: "pattern" });
347
347
  }
348
+ const { minLength, minimum, maximum } = schema;
349
+ if (typeof data === "string" && typeof minLength === "number" && [...data].length < minLength) {
350
+ fail({ pointer, message: `must NOT have fewer than ${minLength} characters`, keyword: "minLength" });
351
+ }
352
+ if (typeof data === "number" && typeof maximum === "number" && data > maximum) {
353
+ fail({ pointer, message: `must be <= ${maximum}`, keyword: "maximum" });
354
+ }
355
+ if (typeof data === "number" && typeof minimum === "number" && data < minimum) {
356
+ fail({ pointer, message: `must be >= ${minimum}`, keyword: "minimum" });
357
+ }
348
358
  // Object keywords run only for plain objects (ajv's applicability guards).
349
359
  if (isPlainObject(data)) {
350
360
  const keys = Object.keys(data);
@@ -0,0 +1,13 @@
1
+ import type { TimeSeriesChartProps } from "./contracts/time-series-chart.js";
2
+ /** Observations in timestamp order, with fixture series order breaking ties. */
3
+ export declare function timeSeriesRows({ series }: TimeSeriesChartProps): {
4
+ x: number;
5
+ seriesId: string;
6
+ seriesLabel: string;
7
+ y: number;
8
+ }[];
9
+ /** UTC ISO timestamp with millisecond precision, independent of locale. */
10
+ export declare function formatTimeSeriesInstant(x: number): string;
11
+ /** Show invisible ID characters without colliding with a literal escape. */
12
+ export declare function formatTimeSeriesId(id: string): string;
13
+ //# sourceMappingURL=time-series.d.ts.map
@@ -0,0 +1,15 @@
1
+ /** Observations in timestamp order, with fixture series order breaking ties. */
2
+ export function timeSeriesRows({ series }) {
3
+ return series
4
+ .flatMap(({ id, label, data }) => data.map(({ x, y }) => ({ x, seriesId: id, seriesLabel: label, y })))
5
+ .sort((left, right) => left.x - right.x);
6
+ }
7
+ /** UTC ISO timestamp with millisecond precision, independent of locale. */
8
+ export function formatTimeSeriesInstant(x) {
9
+ return new Date(x).toISOString();
10
+ }
11
+ /** Show invisible ID characters without colliding with a literal escape. */
12
+ export function formatTimeSeriesId(id) {
13
+ return id.replace(/\\(?=u)|[\s\p{Cc}\p{Cf}\p{Cs}]/gu, (character) => character.split("").map((unit) => "\\u" + unit.charCodeAt(0).toString(16).padStart(4, "0")).join(""));
14
+ }
15
+ //# sourceMappingURL=time-series.js.map
@@ -24,6 +24,7 @@
24
24
  * validated, and no diagnostic hides an earlier one.
25
25
  */
26
26
  import { engineLoadFailed } from "./diagnostics.js";
27
+ import { validateTimeSeries } from "./time-series.js";
27
28
  /** The §4.3 item 3 budget: 1 MiB of UTF-8 (the limit itself is accepted). */
28
29
  export const ENVELOPE_LIMIT_BYTES = 1048576;
29
30
  /**
@@ -74,7 +75,8 @@ export function utf8ByteLength(text) {
74
75
  total += 1;
75
76
  else if (code <= 0x7ff)
76
77
  total += 2;
77
- else if (code >= 0xd800 && code <= 0xdbff) {
78
+ else if (code >= 0xd800 && code <= 0xdbff &&
79
+ text.charCodeAt(index + 1) >= 0xdc00 && text.charCodeAt(index + 1) <= 0xdfff) {
78
80
  total += 4;
79
81
  index += 1;
80
82
  }
@@ -263,6 +265,8 @@ export function createEnvelopeValidatorCore(options) {
263
265
  const componentIssues = structure.validateComponent(component, root);
264
266
  if (componentIssues.length > 0)
265
267
  return structureDiagnostics(componentIssues, "/root");
268
+ if (component === "TimeSeriesChart")
269
+ return validateTimeSeries(root);
266
270
  // 9. Semantics, only when the structure is clean (§4.3 item 2).
267
271
  const engine = sentropic?.engine;
268
272
  if (typeof engine !== "string" || !engine.startsWith("lazy:"))
@@ -0,0 +1,5 @@
1
+ import type { TimeSeriesChartProps } from "../contracts/time-series-chart.js";
2
+ import type { Diagnostic } from "./diagnostics.js";
3
+ /** Cross-record rules, after the JSON Schema has accepted the shape. */
4
+ export declare function validateTimeSeries({ series, referenceLines }: TimeSeriesChartProps): readonly Diagnostic[];
5
+ //# sourceMappingURL=time-series.d.ts.map
@@ -0,0 +1,28 @@
1
+ function invalid(path, message) {
2
+ return { code: "semantic-invalid", path, message, severity: "error", source: "catalog" };
3
+ }
4
+ /** Cross-record rules, after the JSON Schema has accepted the shape. */
5
+ export function validateTimeSeries({ series, referenceLines }) {
6
+ const ids = new Set();
7
+ const diagnostics = [];
8
+ for (const [index, entry] of series.entries()) {
9
+ const path = `/root/series/${index}`;
10
+ if (ids.has(entry.id))
11
+ diagnostics.push(invalid(`${path}/id`, "series id must be unique"));
12
+ ids.add(entry.id);
13
+ let previous = -Infinity;
14
+ for (const [pointIndex, { x }] of entry.data.entries()) {
15
+ if (x <= previous) {
16
+ diagnostics.push(invalid(`${path}/data/${pointIndex}/x`, "timestamps must increase strictly within a series"));
17
+ }
18
+ previous = x;
19
+ }
20
+ }
21
+ for (const [index, line] of (referenceLines ?? []).entries()) {
22
+ if (line.axis === "x" && (!Number.isInteger(line.value) || Math.abs(line.value) > 8_640_000_000_000_000)) {
23
+ diagnostics.push(invalid(`/root/referenceLines/${index}/value`, "x-axis references require whole UTC epoch milliseconds"));
24
+ }
25
+ }
26
+ return diagnostics;
27
+ }
28
+ //# sourceMappingURL=time-series.js.map
@@ -0,0 +1,46 @@
1
+ {
2
+ "contract": "1.0",
3
+ "root": {
4
+ "component": "TimeSeriesChart",
5
+ "id": "root",
6
+ "label": "Requests by region",
7
+ "series": [
8
+ {
9
+ "id": "east",
10
+ "label": "East",
11
+ "data": [
12
+ {
13
+ "x": 1767225600000,
14
+ "y": 10
15
+ },
16
+ {
17
+ "x": 1767229200000,
18
+ "y": 21
19
+ },
20
+ {
21
+ "x": 1767236400000,
22
+ "y": 15
23
+ }
24
+ ]
25
+ },
26
+ {
27
+ "id": "west",
28
+ "label": "West",
29
+ "data": [
30
+ {
31
+ "x": 1767229200000,
32
+ "y": 14
33
+ },
34
+ {
35
+ "x": 1767232800000,
36
+ "y": 8
37
+ },
38
+ {
39
+ "x": 1767236400000,
40
+ "y": 20
41
+ }
42
+ ]
43
+ }
44
+ ]
45
+ }
46
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "contract": "1.0",
3
+ "root": {
4
+ "component": "TimeSeriesChart",
5
+ "id": "root",
6
+ "label": "Queue depth",
7
+ "series": [
8
+ {
9
+ "id": "jobs",
10
+ "label": "Jobs",
11
+ "data": [
12
+ {
13
+ "x": 1767225600123,
14
+ "y": 4
15
+ },
16
+ {
17
+ "x": 1767225601123,
18
+ "y": 7
19
+ },
20
+ {
21
+ "x": 1767225602123,
22
+ "y": 5
23
+ }
24
+ ]
25
+ }
26
+ ]
27
+ }
28
+ }
@@ -0,0 +1,52 @@
1
+ {
2
+ "contract": "1.0",
3
+ "root": {
4
+ "component": "TimeSeriesChart",
5
+ "id": "root",
6
+ "label": "Latency (ms)",
7
+ "series": [
8
+ {
9
+ "id": "median",
10
+ "label": "Median",
11
+ "data": [
12
+ {
13
+ "x": 1767225600000,
14
+ "y": 72
15
+ },
16
+ {
17
+ "x": 1767229200000,
18
+ "y": 94
19
+ },
20
+ {
21
+ "x": 1767232800000,
22
+ "y": 83
23
+ }
24
+ ]
25
+ }
26
+ ],
27
+ "referenceLines": [
28
+ {
29
+ "value": 90,
30
+ "label": "Warning",
31
+ "tone": "warning"
32
+ },
33
+ {
34
+ "axis": "x",
35
+ "value": 1767229200000,
36
+ "label": "Deployment"
37
+ }
38
+ ],
39
+ "bands": [
40
+ {
41
+ "from": 60,
42
+ "to": 80,
43
+ "label": "Expected range",
44
+ "tone": "info"
45
+ }
46
+ ],
47
+ "goalLine": {
48
+ "value": 85,
49
+ "label": "Goal"
50
+ }
51
+ }
52
+ }
package/package.json CHANGED
@@ -1,23 +1,27 @@
1
1
  {
2
2
  "name": "@sentropic/design-system-elements",
3
- "version": "0.2.0",
3
+ "version": "0.3.2",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
8
8
  "type": "module",
9
- "description": "Sentropic design system custom elements for the JSON render catalogue (BarChart, BpmnCanvas, DecisionDossier): envelope validator plus CDN browser bundle.",
9
+ "description": "Sentropic design system custom elements for the JSON render catalogue (BarChart, BpmnCanvas, DecisionDossier, TimeSeriesChart): envelope validator plus CDN browser bundle.",
10
10
  "repository": {
11
11
  "type": "git",
12
12
  "url": "git+https://github.com/rhanka/sent-tech-design-system.git",
13
13
  "directory": "packages/elements"
14
14
  },
15
- "sideEffects": false,
15
+ "sideEffects": [
16
+ "**/*.css"
17
+ ],
16
18
  "files": [
17
19
  "dist",
18
20
  "catalog.json",
19
21
  "envelope.json",
22
+ "fixtures",
20
23
  "schemas",
24
+ "skill",
21
25
  "!dist/**/*.map",
22
26
  "!dist/.srchash"
23
27
  ],
@@ -28,13 +32,38 @@
28
32
  },
29
33
  "./catalog.json": "./catalog.json",
30
34
  "./envelope.json": "./envelope.json",
31
- "./schemas/*": "./schemas/*"
35
+ "./fixtures/*": "./fixtures/*",
36
+ "./schemas/*": "./schemas/*",
37
+ "./skill/SKILL.md": "./skill/SKILL.md",
38
+ "./shells/manifest.json": "./dist/shells/manifest.json",
39
+ "./bpmn": {
40
+ "types": "./dist/element/bpmn.d.ts",
41
+ "import": "./dist/element/bpmn.js"
42
+ },
43
+ "./bpmn-mount": {
44
+ "types": "./dist/element/bpmn-mount.d.ts",
45
+ "import": "./dist/element/bpmn-mount.js"
46
+ },
47
+ "./dossier-mount": {
48
+ "types": "./dist/element/dom/dossier-mount.d.ts",
49
+ "import": "./dist/dossier/dossier-mount.js"
50
+ },
51
+ "./dossier-views": {
52
+ "types": "./dist/ports/dossier-views.d.ts",
53
+ "import": "./dist/ports/dossier-views.js"
54
+ },
55
+ "./focus-kit": {
56
+ "types": "./dist/focus-kit.d.ts",
57
+ "import": "./dist/focus-kit.js"
58
+ },
59
+ "./focus-kit/manifest.json": "./dist/focus-kit-manifest.json",
60
+ "./focus-kit/*": "./dist/focus-kit/*"
32
61
  },
33
62
  "types": "./dist/index.d.ts",
34
63
  "main": "./dist/index.js",
35
64
  "scripts": {
36
65
  "build": "npm run build:node && npm run build:browser",
37
- "build:node": "tsc -p tsconfig.json",
66
+ "build:node": "tsc -p tsconfig.json && tsc -p tsconfig.dossier.json",
38
67
  "build:browser": "node scripts/build-browser.mjs",
39
68
  "check": "tsc -p tsconfig.check.json && tsc -p tsconfig.dom.json",
40
69
  "test": "vitest run",
@@ -43,7 +72,10 @@
43
72
  },
44
73
  "dependencies": {
45
74
  "@sentropic/bpmn-canvas": "0.3.0",
46
- "@sentropic/focus": "0.5.0",
75
+ "@sentropic/design-system-review-core": "0.1.1",
76
+ "@sentropic/design-system-svelte": "0.43.2",
77
+ "@sentropic/diagram-canvas": "0.5.0",
78
+ "@sentropic/focus": "0.6.0",
47
79
  "ajv": "8.20.0",
48
80
  "dompurify": "3.4.17",
49
81
  "svelte": "5.55.7"
@@ -51,6 +83,8 @@
51
83
  "devDependencies": {
52
84
  "@a2ui/web_core": "0.14.0",
53
85
  "@json-render/svelte": "0.21.3",
86
+ "fflate": "0.8.3",
87
+ "marked": "17.0.6",
54
88
  "ts-json-schema-generator": "2.9.0"
55
89
  }
56
90
  }
@@ -488,7 +488,7 @@
488
488
  }
489
489
  ]
490
490
  },
491
- "fallback": "svg",
491
+ "fallback": "text",
492
492
  "parity": {
493
493
  "angular": {
494
494
  "comparedProps": 17,
@@ -511,7 +511,7 @@
511
511
  },
512
512
  "vue": {
513
513
  "comparedProps": 17,
514
- "file": "packages/components-vue/src/BarChart.ts",
514
+ "file": "packages/components-vue/src/BarChart.vue",
515
515
  "status": "match",
516
516
  "type": "BarChartProps"
517
517
  }