@brad-frost-web/eddie-render 0.67.0 → 0.68.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.
- package/README.md +3 -1
- package/cdn/eddie-render.js +242 -226
- package/cdn/eddie-render.js.map +1 -1
- package/dist/render.d.ts.map +1 -1
- package/dist/render.js +14 -3
- package/dist/render.js.map +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/validate/index.d.ts.map +1 -1
- package/dist/validate/index.js +22 -4
- package/dist/validate/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -91,7 +91,9 @@ const { ok, issues, fixed } = validateSpec(spec, catalog, { autoFix: true, strea
|
|
|
91
91
|
Errors refuse; warnings render. Codes: `MISSING_ROOT`, `UNKNOWN_COMPONENT`,
|
|
92
92
|
`VALIDATION_FAILED` (required / enum / type), `UNKNOWN_PROP` (warning; dropped
|
|
93
93
|
under `autoFix`), `UNKNOWN_SLOT`, `DANGLING_CHILD` (pending while `streaming`),
|
|
94
|
-
`CYCLE`, `
|
|
94
|
+
`CYCLE`, `DUPLICATE_REFERENCE` (one id placed twice: in `children` and a slot,
|
|
95
|
+
under two parents, or twice in one list), `UNALLOWED_PARENT`, `UNALLOWED_CHILD`,
|
|
96
|
+
`ORPHAN` (warning),
|
|
95
97
|
`ANTI_PATTERN` (the graph's `@antipattern` rules evaluated on the expanded
|
|
96
98
|
tree), `A11Y` (heading order, one h1, labelled fields). `toA2uiErrors` maps
|
|
97
99
|
issues to A2UI's `error` message. The same function backs the Brain's
|