@supernova-studio/client 0.47.62 → 0.47.63
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.js
CHANGED
|
@@ -10156,10 +10156,10 @@ function parseAsRichText(prosemirrorNode, definition, property) {
|
|
|
10156
10156
|
return {
|
|
10157
10157
|
id,
|
|
10158
10158
|
type: "Block",
|
|
10159
|
-
...variantId && { variantId },
|
|
10160
10159
|
data: {
|
|
10161
10160
|
packageId: definition.id,
|
|
10162
10161
|
indentLevel: 0,
|
|
10162
|
+
...variantId && { variantId },
|
|
10163
10163
|
items: [
|
|
10164
10164
|
{
|
|
10165
10165
|
id,
|
|
@@ -10356,6 +10356,7 @@ function parseAsTableCell(prosemirrorNode) {
|
|
|
10356
10356
|
const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth", _zod.z.array(_zod.z.number()).optional());
|
|
10357
10357
|
if (columnWidthArray) {
|
|
10358
10358
|
columnWidth = columnWidthArray[0];
|
|
10359
|
+
columnWidth = Math.round(columnWidth * 100) / 100;
|
|
10359
10360
|
}
|
|
10360
10361
|
const tableNodes = (_nullishCoalesce(prosemirrorNode.content, () => ( []))).map(parseAsTableNode).filter(nonNullFilter);
|
|
10361
10362
|
return {
|