@supernova-studio/client 0.30.0 → 0.31.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/dist/index.d.mts +30 -0
- package/dist/index.d.ts +30 -0
- package/dist/index.js +322 -1392
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +308 -1378
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/yjs/design-system-content/documentation-hierarchy.ts +3 -1
- package/src/yjs/docs-editor/mock.ts +301 -1361
package/package.json
CHANGED
|
@@ -58,7 +58,9 @@ export function documentationHierarchyToYjs(doc: Y.Doc, transaction: Documentati
|
|
|
58
58
|
// We remove header from the payload here because it will not get parsed anyway
|
|
59
59
|
const sanitizedGroup: ElementGroup = {
|
|
60
60
|
...group,
|
|
61
|
-
data: {
|
|
61
|
+
data: {
|
|
62
|
+
behavior: group.data?.behavior,
|
|
63
|
+
},
|
|
62
64
|
};
|
|
63
65
|
|
|
64
66
|
groupsMap.set(group.id, JSON.parse(JSON.stringify(sanitizedGroup)));
|