@levo-so/blocks 0.1.96 → 0.1.99

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.96",
3
+ "version": "0.1.99",
4
4
  "author": "Levo Engineering <devs@theinternetfolks.com>",
5
5
  "description": "Set of blocks for Levo studio",
6
6
  "type": "module",
@@ -16,7 +16,7 @@
16
16
  "react": ">=18",
17
17
  "react-dom": ">=18",
18
18
  "@levo-so/react": "0.1.86",
19
- "@levo-so/studio": "0.1.96",
19
+ "@levo-so/studio": "0.1.99",
20
20
  "@levo-so/core": "0.1.82"
21
21
  },
22
22
  "dependencies": {
@@ -30,9 +30,9 @@
30
30
  "@types/react-dom": "19.2.3",
31
31
  "typescript": "5.9.3",
32
32
  "@levo/ts-config": "0.0.0",
33
- "@levo-so/react": "0.1.86",
34
- "@levo-so/studio": "0.1.96",
35
- "@levo-so/core": "0.1.82"
33
+ "@levo-so/studio": "0.1.99",
34
+ "@levo-so/core": "0.1.82",
35
+ "@levo-so/react": "0.1.86"
36
36
  },
37
37
  "main": "./src/index.ts",
38
38
  "exports": {
@@ -245,7 +245,7 @@ export const Content10: IBlock = {
245
245
  {
246
246
  key: "content",
247
247
  label: "Content",
248
- field_interface: "TypographyWidget",
248
+ field_interface: "BlogContentWidget",
249
249
  hint: {
250
250
  prompt_description:
251
251
  "Full blog article body. Use formal, professional tone suitable for financial topics. Include headings, paragraphs, and clear explanations. Length should be 800–2000 words for a comprehensive post.",
@@ -1,5 +1,5 @@
1
1
  import type { ILevoBlockBaseProps } from "@levo-so/studio";
2
- import { Box, Container, Heading, Icon, Media, Section, Typography } from "@levo-so/studio";
2
+ import { BlogContent, Box, Container, Heading, Icon, Media, Section, Typography } from "@levo-so/studio";
3
3
  import type React from "react";
4
4
 
5
5
  import type { IContent10Content } from "./content-10.schema";
@@ -32,7 +32,7 @@ const Content10: React.FC<ILevoBlockBaseProps<IContent10Content>> = ({ content }
32
32
  </Box>
33
33
  <Box elementKey="content-wrapper">
34
34
  <Box elementKey="content-section">
35
- <Typography elementKey="content" className="LevoProseMirror" />
35
+ <BlogContent elementKey="content" />
36
36
  </Box>
37
37
  </Box>
38
38
  </Container>
@@ -62,9 +62,9 @@ const EventDetails: React.FC<ILevoBlockBaseProps<IEventDetailsContent>> = () =>
62
62
 
63
63
  <Box elementKey="content-section">
64
64
  <Box elementKey="main-content">
65
- {data?.id ? (
65
+ {data?._id ? (
66
66
  <RegisterModal
67
- eventID={data?.id as string}
67
+ eventID={data?._id as string}
68
68
  title={data?.title}
69
69
  external={data?.external_ticketing}
70
70
  />
@@ -572,7 +572,7 @@ export const Jobs1: IBlock = {
572
572
  {
573
573
  key: "description_content",
574
574
  label: "Job Description",
575
- field_interface: "TypographyWidget",
575
+ field_interface: "BlogContentWidget",
576
576
  hint: {
577
577
  prompt_description:
578
578
  "Full job description including responsibilities, requirements, and benefits.",
@@ -1,5 +1,6 @@
1
1
  import type { ILevoBlockBaseProps } from "@levo-so/studio";
2
2
  import {
3
+ BlogContent,
3
4
  Box,
4
5
  Button,
5
6
  Container,
@@ -132,7 +133,7 @@ const Jobs1: React.FC<ILevoBlockBaseProps<IJobs1Content>> = ({ content }) => (
132
133
  {/* Job Description Content */}
133
134
  <Box elementKey="description_section">
134
135
  <Heading elementKey="description_title" />
135
- <Typography elementKey="description_content" className="LevoProseMirror" />
136
+ <BlogContent elementKey="description_content" />
136
137
  </Box>
137
138
  </Box>
138
139
  <Form elementKey="application_form" />
@@ -471,7 +471,7 @@ export const Profile4: IBlock = {
471
471
  {
472
472
  key: "content",
473
473
  label: "Content",
474
- field_interface: "TypographyWidget",
474
+ field_interface: "BlogContentWidget",
475
475
  hint: {
476
476
  prompt_description:
477
477
  "Full profile article content. Should be comprehensive and informative.",
@@ -1,5 +1,5 @@
1
1
  import type { ILevoBlockBaseProps } from "@levo-so/studio";
2
- import { Box, Button, Container, Form, Heading, Icon, Section, Typography } from "@levo-so/studio";
2
+ import { BlogContent, Box, Button, Container, Form, Heading, Icon, Section, Typography } from "@levo-so/studio";
3
3
  import dayjs from "dayjs";
4
4
  import type React from "react";
5
5
 
@@ -84,7 +84,7 @@ const Profile4: React.FC<ILevoBlockBaseProps<IProfile4Content>> = ({ content })
84
84
  {/* Blog Content */}
85
85
  <Box elementKey="content-section">
86
86
  <Typography elementKey="content_title" />
87
- <Typography elementKey="content" className="LevoProseMirror" />
87
+ <BlogContent elementKey="content" />
88
88
  </Box>
89
89
  </Box>
90
90
  <Form elementKey="contact_form" />
@@ -180,7 +180,7 @@ export const Profile5: IBlock = {
180
180
  {
181
181
  key: "content_description",
182
182
  label: "Content Description",
183
- field_interface: "TypographyWidget",
183
+ field_interface: "BlogContentWidget",
184
184
  hint: {
185
185
  prompt_description:
186
186
  "Main content paragraph providing comprehensive information about the team, services, or offerings. Should be engaging and informative.",
@@ -1,4 +1,5 @@
1
1
  import {
2
+ BlogContent,
2
3
  Box,
3
4
  Button,
4
5
  Container,
@@ -45,7 +46,7 @@ const Profile5: React.FC<ILevoBlockBaseProps<IProfile5Content>> = ({ content })
45
46
  </Box>
46
47
  </Box>
47
48
  <Box elementKey="content_container">
48
- <Typography elementKey="content_description" className="LevoProseMirror" />
49
+ <BlogContent elementKey="content_description" />
49
50
  </Box>
50
51
  </Box>
51
52
  </Box>
@@ -82,7 +82,7 @@ export const TermsAndConditions1: IBlock = {
82
82
  {
83
83
  key: "content",
84
84
  label: "Content",
85
- field_interface: "TypographyWidget",
85
+ field_interface: "BlogContentWidget",
86
86
  hint: {
87
87
  prompt_description:
88
88
  "Main legal document content with structured sections, headings, and paragraphs. Should include comprehensive terms covering service usage, responsibilities, privacy, and legal compliance. Tone: formal, clear, legally compliant.",
@@ -1,4 +1,5 @@
1
1
  import {
2
+ BlogContent,
2
3
  Box,
3
4
  Container,
4
5
  Heading,
@@ -18,7 +19,7 @@ const TermsAndConditions1: React.FC<ILevoBlockBaseProps<ITermsAndConditions1Cont
18
19
  <Typography elementKey="subtitle" />
19
20
  </Box>
20
21
  <Box elementKey="content_wrapper">
21
- <Typography className="LevoProseMirror" elementKey="content" />
22
+ <BlogContent elementKey="content" />
22
23
  </Box>
23
24
  </Container>
24
25
  </Section>