@mandolop97/constructor-nexora 1.0.6 → 1.0.7
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/dist/components/builder/LayersPanel.d.ts +2 -1
- package/dist/components/builder/ThemeEditor.d.ts +7 -0
- package/dist/components/schema/nodes/InteractiveNodes.d.ts +11 -0
- package/dist/index.css +1 -1
- package/dist/index.js +5993 -5027
- package/dist/lib/i18n.d.ts +2 -0
- package/dist/types/schema.d.ts +34 -1
- package/package.json +1 -1
package/dist/lib/i18n.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export interface BuilderLocale {
|
|
|
10
10
|
blocks: string;
|
|
11
11
|
layers: string;
|
|
12
12
|
pages: string;
|
|
13
|
+
theme: string;
|
|
13
14
|
props: string;
|
|
14
15
|
style: string;
|
|
15
16
|
deleteNode: string;
|
|
@@ -35,6 +36,7 @@ export interface BuilderLocale {
|
|
|
35
36
|
categoryCommerce: string;
|
|
36
37
|
categorySite: string;
|
|
37
38
|
categoryTemplate: string;
|
|
39
|
+
categoryInteractive: string;
|
|
38
40
|
spacing: string;
|
|
39
41
|
size: string;
|
|
40
42
|
typography: string;
|
package/dist/types/schema.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type NodeType = 'Section' | 'Container' | 'Grid' | 'Stack' | 'Text' | 'Image' | 'Divider' | 'Badge' | 'Button' | 'Card' | 'Input' | 'ProductCard' | 'Navbar' | 'Footer' | 'AnnouncementBar' | 'FeatureBar' | 'TestimonialCard' | 'NewsletterSection' | 'HeroSection';
|
|
1
|
+
export type NodeType = 'Section' | 'Container' | 'Grid' | 'Stack' | 'Text' | 'Image' | 'Divider' | 'Badge' | 'Button' | 'Card' | 'Input' | 'ProductCard' | 'Navbar' | 'Footer' | 'AnnouncementBar' | 'FeatureBar' | 'TestimonialCard' | 'NewsletterSection' | 'HeroSection' | 'Accordion' | 'TabsBlock' | 'VideoEmbed';
|
|
2
2
|
export interface NodeStyle {
|
|
3
3
|
padding?: string;
|
|
4
4
|
margin?: string;
|
|
@@ -64,6 +64,39 @@ export interface NodeProps {
|
|
|
64
64
|
ctaText?: string;
|
|
65
65
|
ctaHref?: string;
|
|
66
66
|
overlayOpacity?: string;
|
|
67
|
+
/** Alias for `text` in HeroSection/Newsletter */
|
|
68
|
+
heading?: string;
|
|
69
|
+
/** Alias for `ctaHref` in HeroSection */
|
|
70
|
+
ctaLink?: string;
|
|
71
|
+
/** Secondary CTA button text */
|
|
72
|
+
secondaryCtaText?: string;
|
|
73
|
+
/** Secondary CTA button link */
|
|
74
|
+
secondaryCtaLink?: string;
|
|
75
|
+
/** Overlay label text in HeroSection */
|
|
76
|
+
overlayText?: string;
|
|
77
|
+
/** Alias for `text` in ProductCard */
|
|
78
|
+
name?: string;
|
|
79
|
+
/** Alias for `src` in ProductCard */
|
|
80
|
+
image?: string;
|
|
81
|
+
/** Alias for `text` in TestimonialCard */
|
|
82
|
+
quote?: string;
|
|
83
|
+
/** Alias for `label` in TestimonialCard */
|
|
84
|
+
author?: string;
|
|
85
|
+
/** Alias for `variant` (stars) in TestimonialCard */
|
|
86
|
+
stars?: number;
|
|
87
|
+
/** Alias for `href` in Button */
|
|
88
|
+
link?: string;
|
|
89
|
+
/** Accordion/Tabs panels: array of { title, description } */
|
|
90
|
+
panels?: {
|
|
91
|
+
title: string;
|
|
92
|
+
description: string;
|
|
93
|
+
}[];
|
|
94
|
+
/** Video embed URL */
|
|
95
|
+
videoUrl?: string;
|
|
96
|
+
/** Autoplay flag */
|
|
97
|
+
autoplay?: boolean;
|
|
98
|
+
/** Muted flag */
|
|
99
|
+
muted?: boolean;
|
|
67
100
|
}
|
|
68
101
|
export interface SchemaNode {
|
|
69
102
|
id: string;
|