@levo-so/blocks 0.1.80 → 0.1.82
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 +8 -5
- package/src/blocks/blogs/blog-post-1.schema.ts +7 -4
- package/src/blocks/blogs/blog-post-1.tsx +1 -1
- package/src/blocks/cards/cards-19.schema.ts +1341 -0
- package/src/blocks/cards/cards-19.tsx +89 -0
- package/src/blocks/cards/cards-20.schema.ts +536 -0
- package/src/blocks/cards/cards-20.tsx +85 -0
- package/src/blocks/cards/cards-21.schema.ts +611 -0
- package/src/blocks/cards/cards-21.tsx +93 -0
- package/src/blocks/cards/cards-22.schema.ts +3488 -0
- package/src/blocks/cards/cards-22.tsx +100 -0
- package/src/blocks/cards/cards-23.schema.ts +388 -0
- package/src/blocks/cards/cards-23.tsx +66 -0
- package/src/blocks/community/MEMBER_RESPONSE.ts +141 -0
- package/src/blocks/community/community-1.schema.ts +1 -6
- package/src/blocks/community/community-1.tsx +70 -6
- package/src/blocks/community/community-post-1.schema.ts +1 -5
- package/src/blocks/community/community-post-1.tsx +85 -13
- package/src/blocks/event/event-details.schema.ts +25 -3
- package/src/blocks/index.ts +148 -122
- package/src/index.ts +1 -2
- package/src/schemas/blocks.ts +10 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@levo-so/blocks",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.82",
|
|
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/studio": "0.1.82",
|
|
19
|
+
"@levo-so/react": "0.1.82",
|
|
20
|
+
"@levo-so/core": "0.1.82"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"dayjs": "1.11.13",
|
|
@@ -29,7 +29,10 @@
|
|
|
29
29
|
"@types/react": "19.2.5",
|
|
30
30
|
"@types/react-dom": "19.2.3",
|
|
31
31
|
"typescript": "5.9.3",
|
|
32
|
-
"@levo/ts-config": "0.0.0"
|
|
32
|
+
"@levo/ts-config": "0.0.0",
|
|
33
|
+
"@levo-so/core": "0.1.82",
|
|
34
|
+
"@levo-so/studio": "0.1.82",
|
|
35
|
+
"@levo-so/react": "0.1.82"
|
|
33
36
|
},
|
|
34
37
|
"main": "./src/index.ts",
|
|
35
38
|
"exports": {
|
|
@@ -496,21 +496,23 @@ export const BlogPost1: IBlock = {
|
|
|
496
496
|
},
|
|
497
497
|
},
|
|
498
498
|
"content-wrapper": {
|
|
499
|
-
display: "
|
|
499
|
+
display: "flex",
|
|
500
500
|
"grid-template-columns": "256px 1fr",
|
|
501
501
|
"column-gap": "3xl",
|
|
502
502
|
"align-items": "start",
|
|
503
503
|
tablet: {
|
|
504
504
|
"grid-template-columns": "1fr",
|
|
505
|
-
"row-gap": "
|
|
505
|
+
"row-gap": "2xl",
|
|
506
|
+
"flex-direction": "column",
|
|
506
507
|
},
|
|
507
508
|
mobile: {
|
|
508
509
|
"grid-template-columns": "1fr",
|
|
509
510
|
},
|
|
511
|
+
width: "100%",
|
|
510
512
|
},
|
|
511
513
|
"content-section": {
|
|
512
514
|
display: "flex",
|
|
513
|
-
width: "
|
|
515
|
+
width: "100%",
|
|
514
516
|
"flex-direction": "column",
|
|
515
517
|
"justify-content": "between",
|
|
516
518
|
"row-gap": "3xl",
|
|
@@ -545,6 +547,7 @@ export const BlogPost1: IBlock = {
|
|
|
545
547
|
top: "2rem",
|
|
546
548
|
width: "100%",
|
|
547
549
|
tablet: {
|
|
550
|
+
position: "static",
|
|
548
551
|
"max-width": "100%",
|
|
549
552
|
"row-gap": "md",
|
|
550
553
|
},
|
|
@@ -552,7 +555,7 @@ export const BlogPost1: IBlock = {
|
|
|
552
555
|
"toc-title": {
|
|
553
556
|
"font-weight": 600,
|
|
554
557
|
tablet: {
|
|
555
|
-
"text-align": "
|
|
558
|
+
"text-align": "left",
|
|
556
559
|
},
|
|
557
560
|
},
|
|
558
561
|
"toc-list": {
|
|
@@ -206,7 +206,7 @@ const BlogPost1: React.FC<ILevoBlockBaseProps<IBlogPost1Content>> = () => {
|
|
|
206
206
|
: ""}
|
|
207
207
|
</Typography>
|
|
208
208
|
</ClientOnly>
|
|
209
|
-
<Typography elementKey="reading-time">{data.reading_time
|
|
209
|
+
<Typography elementKey="reading-time">{`${data.reading_time} mins`}</Typography>
|
|
210
210
|
</Box>
|
|
211
211
|
</Box>
|
|
212
212
|
</Box>
|