@particle-academy/fancy-flow 0.33.2 → 0.34.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 +2 -2
- package/dist/engine.cjs +1 -1
- package/dist/engine.cjs.map +1 -1
- package/dist/engine.js +1 -1
- package/dist/engine.js.map +1 -1
- package/dist/rich-input.cjs +4 -2
- package/dist/rich-input.cjs.map +1 -1
- package/dist/rich-input.d.cts +14 -2
- package/dist/rich-input.d.ts +14 -2
- package/dist/rich-input.js +4 -3
- package/dist/rich-input.js.map +1 -1
- package/package.json +6 -3
package/README.md
CHANGED
|
@@ -228,9 +228,9 @@ To pass a custom element registry (the same one you give `CmsPage` at runtime,
|
|
|
228
228
|
or the edit canvas renders your node types as blank placeholders):
|
|
229
229
|
|
|
230
230
|
```ts
|
|
231
|
-
import {
|
|
231
|
+
import { registerFancyCmsForRichInput } from "@particle-academy/fancy-flow/rich-input";
|
|
232
232
|
|
|
233
|
-
|
|
233
|
+
registerFancyCmsForRichInput({ registry: myElements, data: previewData });
|
|
234
234
|
```
|
|
235
235
|
|
|
236
236
|
The underlying seam (`registerRichInputAdapter`) stays public if you need a
|
package/dist/engine.cjs
CHANGED
|
@@ -516,7 +516,7 @@ function validateRuntimes(runtimes, problems) {
|
|
|
516
516
|
}
|
|
517
517
|
}
|
|
518
518
|
}
|
|
519
|
-
var VERSIONED = /(?:@|:)\s*[\^~>=<]
|
|
519
|
+
var VERSIONED = /(?:@|:)\s*(?:[\^~>=<]+\s*)?\d/;
|
|
520
520
|
function validateFancyDependencies(deps, problems) {
|
|
521
521
|
if (deps === void 0) return;
|
|
522
522
|
if (!Array.isArray(deps)) {
|