@levo-so/blocks 0.1.68 → 0.1.71

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.68",
3
+ "version": "0.1.71",
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/react": "0.1.65",
19
- "@levo-so/studio": "0.1.68",
20
- "@levo-so/core": "0.1.65"
18
+ "@levo-so/react": "0.1.71",
19
+ "@levo-so/core": "0.1.71",
20
+ "@levo-so/studio": "0.1.71"
21
21
  },
22
22
  "dependencies": {
23
23
  "dayjs": "1.11.13",
@@ -171,6 +171,11 @@ export const Hero1: IBlock = {
171
171
  "A vertical stack grouping the heading, subtitle, and call-to-action button together. Should align items to the left and provide ample vertical spacing for readability and focus.",
172
172
  },
173
173
  },
174
+ {
175
+ key: "logo",
176
+ label: "Logo",
177
+ field_interface: "MediaWidget",
178
+ },
174
179
  {
175
180
  key: "label_wrapper",
176
181
  label: "Label Wrapper",
@@ -16,6 +16,7 @@ const Hero1: React.FC<ILevoBlockBaseProps<IHero1Content>> = ({ content }) => (
16
16
  <Container elementKey="container">
17
17
  <Box elementKey="content_wrapper">
18
18
  <Box elementKey="text_wrapper">
19
+ <Media elementKey="logo" alt="Logo" width={559} height={400} />
19
20
  <Box elementKey="label_wrapper">
20
21
  <Box elementKey="horizontal_divider" />
21
22
  <Typography elementKey="label" />
@@ -282,6 +282,11 @@ export const Hero11: IBlock = {
282
282
  max_items: 4,
283
283
  },
284
284
  },
285
+ {
286
+ key: "img",
287
+ label: "Image",
288
+ field_interface: "MediaWidget",
289
+ },
285
290
  ],
286
291
 
287
292
  layouts: [
@@ -5,6 +5,7 @@ import {
5
5
  Heading,
6
6
  Icon,
7
7
  type ILevoBlockBaseProps,
8
+ Image,
8
9
  Section,
9
10
  Typography,
10
11
  } from "@levo-so/studio";
@@ -46,6 +47,7 @@ const Hero11: React.FC<ILevoBlockBaseProps<IHero11Content>> = ({ content }) => (
46
47
  ))}
47
48
  </Box>
48
49
  <Typography elementKey="caption" />
50
+ <Image elementKey="img" alt="Hero image" />
49
51
  </Box>
50
52
  </Container>
51
53
  </Section>