@redneckz/wildless-cms-uni-blocks 0.14.114 → 0.14.115
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.
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { clearImage, deleteEmptyProps, deleteProp, traversePageBlocks } from '../utils.js';
|
|
2
|
+
|
|
3
|
+
export const description = 'v0.14.114';
|
|
4
|
+
|
|
5
|
+
export default traversePageBlocks(adjustClearBlock);
|
|
6
|
+
|
|
7
|
+
function adjustClearBlock(block) {
|
|
8
|
+
const content = block?.content;
|
|
9
|
+
if (!content) {
|
|
10
|
+
return;
|
|
11
|
+
}
|
|
12
|
+
block.content = deleteEmptyProps(block?.content);
|
|
13
|
+
block.content = clearImage(block.content);
|
|
14
|
+
if (!('items' in content)) {
|
|
15
|
+
deleteProp(block.content, 'isDotted');
|
|
16
|
+
}
|
|
17
|
+
}
|
package/bundle/bundle.umd.js
CHANGED
|
@@ -5797,7 +5797,7 @@
|
|
|
5797
5797
|
return (jsx("div", { className: "flex items-end absolute bottom-0 right-0 h-full pointer-events-none", children: jsx(LikeControl, { className: "rounded-tl-3xl sticky bottom-0 pointer-events-auto" }) }));
|
|
5798
5798
|
}
|
|
5799
5799
|
|
|
5800
|
-
const packageVersion = "0.14.
|
|
5800
|
+
const packageVersion = "0.14.114";
|
|
5801
5801
|
|
|
5802
5802
|
exports.Blocks = Blocks;
|
|
5803
5803
|
exports.ContentPage = ContentPage;
|