@levo-so/blocks 0.1.93 → 0.1.94
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@levo-so/blocks",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.94",
|
|
4
4
|
"author": "Levo Engineering <devs@theinternetfolks.com>",
|
|
5
5
|
"description": "Set of blocks for Levo studio",
|
|
6
6
|
"type": "module",
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
"peerDependencies": {
|
|
16
16
|
"react": ">=18",
|
|
17
17
|
"react-dom": ">=18",
|
|
18
|
-
"@levo-so/
|
|
19
|
-
"@levo-so/
|
|
20
|
-
"@levo-so/
|
|
18
|
+
"@levo-so/react": "0.1.86",
|
|
19
|
+
"@levo-so/studio": "0.1.94",
|
|
20
|
+
"@levo-so/core": "0.1.82"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"dayjs": "1.11.13",
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
"@types/react": "19.2.14",
|
|
30
30
|
"@types/react-dom": "19.2.3",
|
|
31
31
|
"typescript": "5.9.3",
|
|
32
|
-
"@levo/
|
|
33
|
-
"@levo-so/studio": "0.1.92",
|
|
32
|
+
"@levo-so/react": "0.1.86",
|
|
34
33
|
"@levo-so/core": "0.1.82",
|
|
35
|
-
"@levo-so/
|
|
34
|
+
"@levo-so/studio": "0.1.94",
|
|
35
|
+
"@levo/ts-config": "0.0.0"
|
|
36
36
|
},
|
|
37
37
|
"main": "./src/index.ts",
|
|
38
38
|
"exports": {
|
|
@@ -500,6 +500,7 @@ export const BlogPost1: IBlock = {
|
|
|
500
500
|
"grid-template-columns": "256px 1fr",
|
|
501
501
|
"column-gap": "3xl",
|
|
502
502
|
"align-items": "start",
|
|
503
|
+
"justify-content": "center",
|
|
503
504
|
tablet: {
|
|
504
505
|
"grid-template-columns": "1fr",
|
|
505
506
|
"row-gap": "2xl",
|
|
@@ -512,7 +513,7 @@ export const BlogPost1: IBlock = {
|
|
|
512
513
|
},
|
|
513
514
|
"content-section": {
|
|
514
515
|
display: "flex",
|
|
515
|
-
width: "100%",
|
|
516
|
+
"max-width": "100%",
|
|
516
517
|
"flex-direction": "column",
|
|
517
518
|
"justify-content": "between",
|
|
518
519
|
"row-gap": "3xl",
|
|
@@ -526,7 +527,6 @@ export const BlogPost1: IBlock = {
|
|
|
526
527
|
},
|
|
527
528
|
content: {
|
|
528
529
|
display: "flex",
|
|
529
|
-
width: "100%",
|
|
530
530
|
"flex-direction": "column",
|
|
531
531
|
"row-gap": "xl",
|
|
532
532
|
},
|
|
@@ -544,7 +544,8 @@ export const BlogPost1: IBlock = {
|
|
|
544
544
|
"border-width": "1px",
|
|
545
545
|
"border-color": "border",
|
|
546
546
|
position: "sticky",
|
|
547
|
-
top: "
|
|
547
|
+
top: "7rem",
|
|
548
|
+
"align-self": "start",
|
|
548
549
|
width: "100%",
|
|
549
550
|
tablet: {
|
|
550
551
|
position: "static",
|
|
@@ -219,11 +219,7 @@ const BlogPost1: React.FC<ILevoBlockBaseProps<IBlogPost1Content>> = () => {
|
|
|
219
219
|
</ClientOnly>
|
|
220
220
|
)}
|
|
221
221
|
<Box elementKey="content-section">
|
|
222
|
-
<BlogContent
|
|
223
|
-
elementKey="content"
|
|
224
|
-
content={data.content?.html || ""}
|
|
225
|
-
className={headings.length > 0 ? "!max-w-none" : ""}
|
|
226
|
-
/>
|
|
222
|
+
<BlogContent elementKey="content" content={data.content?.html || ""} />
|
|
227
223
|
</Box>
|
|
228
224
|
</Box>
|
|
229
225
|
</Container>
|