@levo-so/blocks 0.1.103 → 0.1.104

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@levo-so/blocks",
3
3
  "description": "Set of blocks for Levo studio",
4
- "version": "0.1.103",
4
+ "version": "0.1.104",
5
5
  "author": "Levo Engineering <devs@theinternetfolks.com>",
6
6
  "dependencies": {
7
7
  "dayjs": "1.11.13",
@@ -17,7 +17,7 @@
17
17
  "@levo-so/core": "0.1.82",
18
18
  "@levo/ts-config": "0.0.0",
19
19
  "@levo-so/react": "0.1.86",
20
- "@levo-so/studio": "0.1.103"
20
+ "@levo-so/studio": "0.1.104"
21
21
  },
22
22
  "exports": {
23
23
  ".": "./src/index.ts"
@@ -31,7 +31,7 @@
31
31
  "react": ">=18",
32
32
  "react-dom": ">=18",
33
33
  "@levo-so/core": "0.1.82",
34
- "@levo-so/studio": "0.1.103",
34
+ "@levo-so/studio": "0.1.104",
35
35
  "@levo-so/react": "0.1.86"
36
36
  },
37
37
  "publishConfig": {
@@ -284,6 +284,15 @@ export const Service3: IBlock = {
284
284
  },
285
285
  ],
286
286
  },
287
+ {
288
+ key: "price_ctas_wrapper",
289
+ label: "Price CTAs Wrapper",
290
+ field_interface: "BoxWidget",
291
+ hint: {
292
+ prompt_description:
293
+ "Container for pricing information displaying actual price, discount price, and savings percentage.",
294
+ },
295
+ },
287
296
  {
288
297
  key: "ctas",
289
298
  label: "CTA Group",
@@ -79,16 +79,18 @@ const Service3: React.FC<ILevoBlockBaseProps<IService3Content>> = ({ content, co
79
79
  ))}
80
80
  </Box>
81
81
 
82
- <Box elementKey="ctas_levoGroup" data-levo_group>
83
- {(content?.ctas ?? []).map((_: any, index: number) => (
84
- <Button key={`cta-${index}`} elementKey={`ctas.${index}.cta`} />
85
- ))}
86
- </Box>
82
+ <Box elementKey="price_ctas_wrapper">
83
+ <Box elementKey="ctas_levoGroup" data-levo_group>
84
+ {(content?.ctas ?? []).map((_: any, index: number) => (
85
+ <Button key={`cta-${index}`} elementKey={`ctas.${index}.cta`} />
86
+ ))}
87
+ </Box>
87
88
 
88
- <Box elementKey="price_container">
89
- <Typography elementKey="actual_price" />
90
- <Typography elementKey="discount_price" />
91
- <Typography elementKey="off_percent" />
89
+ <Box elementKey="price_container">
90
+ <Typography elementKey="actual_price" />
91
+ <Typography elementKey="discount_price" />
92
+ <Typography elementKey="off_percent" />
93
+ </Box>
92
94
  </Box>
93
95
  </Box>
94
96
  <Box elementKey="search_input_wrapper">