@tech_carthagos/page-builder 1.0.11 → 1.0.13

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.
Files changed (39) hide show
  1. package/dist/CraftEditor-B8VkDZHb.js +2256 -0
  2. package/dist/CraftEditor-DHRDnczs.cjs +72 -0
  3. package/dist/{index-g1Iz35Bb.js → index-DWRynqVc.js} +3213 -2760
  4. package/dist/index-GH-PwMSN.cjs +189 -0
  5. package/dist/index.cjs.js +1 -1
  6. package/dist/index.es.js +5 -5
  7. package/dist/styles.css +3 -0
  8. package/dist-types/Builder.d.ts +3 -0
  9. package/dist-types/Builder.d.ts.map +1 -0
  10. package/dist-types/CraftEditor.d.ts.map +1 -1
  11. package/dist-types/Editor.d.ts.map +1 -1
  12. package/dist-types/editor/Toolbox.d.ts.map +1 -1
  13. package/dist-types/examples/App.d.ts +3 -0
  14. package/dist-types/examples/App.d.ts.map +1 -0
  15. package/dist-types/examples/main.d.ts +2 -0
  16. package/dist-types/examples/main.d.ts.map +1 -0
  17. package/dist-types/lib/api.d.ts.map +1 -1
  18. package/dist-types/user/Columns.d.ts.map +1 -1
  19. package/dist-types/user/Container.d.ts +47 -71
  20. package/dist-types/user/Container.d.ts.map +1 -1
  21. package/dist-types/user/ContainerOld.d.ts +77 -0
  22. package/dist-types/user/ContainerOld.d.ts.map +1 -0
  23. package/dist-types/user/Div.d.ts +66 -8
  24. package/dist-types/user/Div.d.ts.map +1 -1
  25. package/dist-types/user/Footer.d.ts +72 -0
  26. package/dist-types/user/Footer.d.ts.map +1 -0
  27. package/dist-types/user/Img.d.ts +43 -15
  28. package/dist-types/user/Img.d.ts.map +1 -1
  29. package/dist-types/user/Section.d.ts +2 -2
  30. package/dist-types/user/Section.d.ts.map +1 -1
  31. package/dist-types/user/Text.d.ts +2 -1
  32. package/dist-types/user/Text.d.ts.map +1 -1
  33. package/dist-types/user/Video.d.ts.map +1 -1
  34. package/dist-types/user/Wrapper.d.ts +36 -6
  35. package/dist-types/user/Wrapper.d.ts.map +1 -1
  36. package/package.json +11 -4
  37. package/dist/CraftEditor--t4EDwwC.cjs +0 -72
  38. package/dist/CraftEditor-swRFkvql.js +0 -1800
  39. package/dist/index-CsqvGzT3.cjs +0 -189
package/dist/index.cjs.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CsqvGzT3.cjs");exports.ApiConfigProvider=e.ApiConfigProvider;exports.DEVICE_ORDER=e.DEVICE_ORDER;exports.DeviceSizeProvider=e.DeviceSizeProvider;exports.EventDataProvider=e.EventDataProvider;exports.PageBuilder=e.PageBuilder;exports.PreviewModal=e.PreviewModal;exports.TEMPLATE_VARIABLES=e.TEMPLATE_VARIABLES;exports.getPlaceholderPaths=e.getPlaceholderPaths;exports.getResponsiveValue=e.getResponsiveValue;exports.hasTemplatePlaceholders=e.hasTemplatePlaceholders;exports.processTemplate=e.processTemplate;exports.useApiConfig=e.useApiConfig;exports.useDeviceSize=e.useDeviceSize;exports.useEventData=e.useEventData;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-GH-PwMSN.cjs");exports.ApiConfigProvider=e.ApiConfigProvider;exports.DEVICE_ORDER=e.DEVICE_ORDER;exports.DeviceSizeProvider=e.DeviceSizeProvider;exports.EventDataProvider=e.EventDataProvider;exports.PageBuilder=e.PageBuilder;exports.PreviewModal=e.PreviewModal;exports.TEMPLATE_VARIABLES=e.TEMPLATE_VARIABLES;exports.getPlaceholderPaths=e.getPlaceholderPaths;exports.getResponsiveValue=e.getResponsiveValue;exports.hasTemplatePlaceholders=e.hasTemplatePlaceholders;exports.processTemplate=e.processTemplate;exports.useApiConfig=e.useApiConfig;exports.useDeviceSize=e.useDeviceSize;exports.useEventData=e.useEventData;
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as s, a2 as i, Q as r, R as o, Y as t, Z as l, a6 as v, a5 as P, a1 as E, a4 as d, a3 as p, $ as D, a0 as c, G as g } from "./index-g1Iz35Bb.js";
1
+ import { a5 as s, a9 as i, $ as r, a0 as o, a3 as t, a4 as l, ad as v, ac as P, a8 as d, ab as E, aa as p, a6 as c, a7 as D, Y as g } from "./index-DWRynqVc.js";
2
2
  export {
3
3
  s as ApiConfigProvider,
4
4
  i as DEVICE_ORDER,
@@ -8,10 +8,10 @@ export {
8
8
  l as PreviewModal,
9
9
  v as TEMPLATE_VARIABLES,
10
10
  P as getPlaceholderPaths,
11
- E as getResponsiveValue,
12
- d as hasTemplatePlaceholders,
11
+ d as getResponsiveValue,
12
+ E as hasTemplatePlaceholders,
13
13
  p as processTemplate,
14
- D as useApiConfig,
15
- c as useDeviceSize,
14
+ c as useApiConfig,
15
+ D as useDeviceSize,
16
16
  g as useEventData
17
17
  };
package/dist/styles.css CHANGED
@@ -0,0 +1,3 @@
1
+ @tailwind base;
2
+ @tailwind components;
3
+ @tailwind utilities;
@@ -0,0 +1,3 @@
1
+ export default Builder;
2
+ declare function Builder(): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=Builder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Builder.d.ts","sourceRoot":"","sources":["../src/Builder.jsx"],"names":[],"mappings":";AAEA,oEAOC"}
@@ -1 +1 @@
1
- {"version":3,"file":"CraftEditor.d.ts","sourceRoot":"","sources":["../src/CraftEditor.jsx"],"names":[],"mappings":";AAwBA;;;;4CA6FC"}
1
+ {"version":3,"file":"CraftEditor.d.ts","sourceRoot":"","sources":["../src/CraftEditor.jsx"],"names":[],"mappings":";AA0BA;;;;4CA+FC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Editor.d.ts","sourceRoot":"","sources":["../src/Editor.jsx"],"names":[],"mappings":";AAGA;;4CAUC"}
1
+ {"version":3,"file":"Editor.d.ts","sourceRoot":"","sources":["../src/Editor.jsx"],"names":[],"mappings":";AAIA;;4CAYC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Toolbox.d.ts","sourceRoot":"","sources":["../../src/editor/Toolbox.jsx"],"names":[],"mappings":"AA0BO,mEAmGN"}
1
+ {"version":3,"file":"Toolbox.d.ts","sourceRoot":"","sources":["../../src/editor/Toolbox.jsx"],"names":[],"mappings":"AA2BO,mEA6GN"}
@@ -0,0 +1,3 @@
1
+ declare const App: () => import("react/jsx-runtime").JSX.Element;
2
+ export default App;
3
+ //# sourceMappingURL=App.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../src/examples/App.tsx"],"names":[],"mappings":"AAuDA,QAAA,MAAM,GAAG,+CAMR,CAAC;AAEF,eAAe,GAAG,CAAC"}
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=main.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../src/examples/main.tsx"],"names":[],"mappings":"AAIA,OAAO,eAAe,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/lib/api.ts"],"names":[],"mappings":"AAEA,wBAAgB,cAAc,IAAI,WAAW,CAY5C;AAED,wBAAsB,UAAU,CAAC,CAAC,EAChC,QAAQ,EAAE,MAAM,EAChB,OAAO,GAAE,WAAgB,GACxB,OAAO,CAAC,CAAC,CAAC,CAgBZ;AAED,MAAM,WAAW,WAAW;IAC1B,gBAAgB,EAAE;QAChB,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,EAAE,MAAM,CAAC;QACjB,UAAU,EAAE,MAAM,CAAC;KACpB,CAAC;IACF,KAAK,EAAE;QACL,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;CACH;AAED,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,WAAW,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,wBAAsB,oBAAoB,CACxC,UAAU,EAAE,MAAM,EAClB,KAAK,CAAC,EAAE,MAAM,GACb,OAAO,CAAC,WAAW,CAAC,CAKtB"}
1
+ {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/lib/api.ts"],"names":[],"mappings":"AAIA,wBAAgB,cAAc,IAAI,WAAW,CAY5C;AAED,wBAAsB,UAAU,CAAC,CAAC,EAChC,QAAQ,EAAE,MAAM,EAChB,OAAO,GAAE,WAAgB,GACxB,OAAO,CAAC,CAAC,CAAC,CAgBZ;AAED,MAAM,WAAW,WAAW;IAC1B,gBAAgB,EAAE;QAChB,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,EAAE,MAAM,CAAC;QACjB,UAAU,EAAE,MAAM,CAAC;KACpB,CAAC;IACF,KAAK,EAAE;QACL,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;CACH;AAED,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,WAAW,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,wBAAsB,oBAAoB,CACxC,UAAU,EAAE,MAAM,EAClB,KAAK,CAAC,EAAE,MAAM,GACb,OAAO,CAAC,WAAW,CAAC,CAKtB"}
@@ -1 +1 @@
1
- {"version":3,"file":"Columns.d.ts","sourceRoot":"","sources":["../../src/user/Columns.jsx"],"names":[],"mappings":"AAWO;;;;;;;;;;;;;;;;;4CAoCN;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAED,4EA2DC"}
1
+ {"version":3,"file":"Columns.d.ts","sourceRoot":"","sources":["../../src/user/Columns.jsx"],"names":[],"mappings":"AAWO;;;;;;;;;;;;;;;;;4CAyCN;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAED,4EAgEC"}
@@ -1,72 +1,48 @@
1
- export function Container({ background, padding, margin, width, minHeight, maxWidth, display, flexDirection, justifyContent, alignItems, gap, borderRadius, borderWidth, borderColor, borderStyle, boxShadow, children }: {
2
- background?: string | undefined;
3
- padding?: {
4
- top: number;
5
- right: number;
6
- bottom: number;
7
- left: number;
8
- } | undefined;
9
- margin?: {
10
- top: number;
11
- right: number;
12
- bottom: number;
13
- left: number;
14
- } | undefined;
15
- width?: string | undefined;
16
- minHeight?: number | undefined;
17
- maxWidth?: string | undefined;
18
- display?: string | undefined;
19
- flexDirection?: string | undefined;
20
- justifyContent?: string | undefined;
21
- alignItems?: string | undefined;
22
- gap?: number | undefined;
23
- borderRadius?: number | undefined;
24
- borderWidth?: number | undefined;
25
- borderColor?: string | undefined;
26
- borderStyle?: string | undefined;
27
- boxShadow?: string | undefined;
28
- children: any;
29
- }): import("react/jsx-runtime").JSX.Element;
30
- export namespace Container {
31
- namespace craft {
32
- let displayName: string;
33
- namespace props {
34
- let background: string;
35
- namespace padding {
36
- let top: number;
37
- let right: number;
38
- let bottom: number;
39
- let left: number;
40
- }
41
- namespace margin {
42
- let top_1: number;
43
- export { top_1 as top };
44
- let right_1: number;
45
- export { right_1 as right };
46
- let bottom_1: number;
47
- export { bottom_1 as bottom };
48
- let left_1: number;
49
- export { left_1 as left };
50
- }
51
- let width: string;
52
- let minHeight: number;
53
- let maxWidth: string;
54
- let display: string;
55
- let flexDirection: string;
56
- let justifyContent: string;
57
- let alignItems: string;
58
- let gap: number;
59
- let borderRadius: number;
60
- let borderWidth: number;
61
- let borderColor: string;
62
- let borderStyle: string;
63
- let boxShadow: string;
64
- }
65
- namespace related {
66
- export { ContainerSettings as settings };
67
- }
68
- }
69
- }
70
- declare function ContainerSettings(): import("react/jsx-runtime").JSX.Element;
71
- export {};
1
+ import { Node } from '@craftjs/core';
2
+ import { DivProps } from './Div';
3
+
4
+ export declare const Container: {
5
+ ({ className, backgroundColor, backgroundImage, backgroundSize, backgroundRepeat, padding, margin, width, minHeight, maxWidth, display, flexDirection, justifyContent, alignItems, gap, borderRadius, borderWidth, borderColor, borderStyle, boxShadow, children, }: DivProps): import("react/jsx-runtime").JSX.Element;
6
+ craft: {
7
+ isCanvas: boolean;
8
+ props: {
9
+ backgroundColor: string;
10
+ backgroundImage: string;
11
+ backgroundSize: string;
12
+ backgroundRepeat: string;
13
+ padding: {
14
+ top: number;
15
+ right: number;
16
+ bottom: number;
17
+ left: number;
18
+ };
19
+ margin: {
20
+ top: number;
21
+ right: number;
22
+ bottom: number;
23
+ left: number;
24
+ };
25
+ width: string;
26
+ minHeight: number;
27
+ maxWidth: string;
28
+ display: string;
29
+ flexDirection: string;
30
+ justifyContent: string;
31
+ alignItems: string;
32
+ gap: number;
33
+ borderRadius: number;
34
+ borderWidth: number;
35
+ borderColor: string;
36
+ borderStyle: string;
37
+ boxShadow: string;
38
+ };
39
+ displayName: string;
40
+ related: {
41
+ settings: () => import("react/jsx-runtime").JSX.Element;
42
+ };
43
+ rules: {
44
+ canMoveIn: (incomingNodes: Node[]) => boolean;
45
+ };
46
+ };
47
+ };
72
48
  //# sourceMappingURL=Container.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Container.d.ts","sourceRoot":"","sources":["../../src/user/Container.jsx"],"names":[],"mappings":"AAaO;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CAyDN;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAED,8EAuCC"}
1
+ {"version":3,"file":"Container.d.ts","sourceRoot":"","sources":["../../src/user/Container.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAW,MAAM,eAAe,CAAC;AAE9C,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAIjC,eAAO,MAAM,SAAS;yQAsBnB,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uCA+EoB,IAAI,EAAE;;;CA5BpC,CAAC"}
@@ -0,0 +1,77 @@
1
+ export function Container({ backgroundColor, backgroundImage, backgroundSize, backgroundRepeat, padding, margin, width, minHeight, maxWidth, display, flexDirection, justifyContent, alignItems, gap, borderRadius, borderWidth, borderColor, borderStyle, boxShadow, children, }: {
2
+ backgroundColor?: string | undefined;
3
+ backgroundImage?: string | undefined;
4
+ backgroundSize?: string | undefined;
5
+ backgroundRepeat?: string | undefined;
6
+ padding?: {
7
+ top: number;
8
+ right: number;
9
+ bottom: number;
10
+ left: number;
11
+ } | undefined;
12
+ margin?: {
13
+ top: number;
14
+ right: number;
15
+ bottom: number;
16
+ left: number;
17
+ } | undefined;
18
+ width?: string | undefined;
19
+ minHeight?: number | undefined;
20
+ maxWidth?: string | undefined;
21
+ display?: string | undefined;
22
+ flexDirection?: string | undefined;
23
+ justifyContent?: string | undefined;
24
+ alignItems?: string | undefined;
25
+ gap?: number | undefined;
26
+ borderRadius?: number | undefined;
27
+ borderWidth?: number | undefined;
28
+ borderColor?: string | undefined;
29
+ borderStyle?: string | undefined;
30
+ boxShadow?: string | undefined;
31
+ children: any;
32
+ }): import("react/jsx-runtime").JSX.Element;
33
+ export namespace Container {
34
+ namespace craft {
35
+ let displayName: string;
36
+ namespace props {
37
+ let backgroundColor: string;
38
+ let backgroundImage: string;
39
+ let backgroundSize: string;
40
+ let backgroundRepeat: string;
41
+ namespace padding {
42
+ let top: number;
43
+ let right: number;
44
+ let bottom: number;
45
+ let left: number;
46
+ }
47
+ namespace margin {
48
+ let top_1: number;
49
+ export { top_1 as top };
50
+ let right_1: number;
51
+ export { right_1 as right };
52
+ let bottom_1: number;
53
+ export { bottom_1 as bottom };
54
+ let left_1: number;
55
+ export { left_1 as left };
56
+ }
57
+ let width: string;
58
+ let minHeight: number;
59
+ let maxWidth: string;
60
+ let display: string;
61
+ let flexDirection: string;
62
+ let justifyContent: string;
63
+ let alignItems: string;
64
+ let gap: number;
65
+ let borderRadius: number;
66
+ let borderWidth: number;
67
+ let borderColor: string;
68
+ let borderStyle: string;
69
+ let boxShadow: string;
70
+ }
71
+ namespace related {
72
+ export { ContainerSettings as settings };
73
+ }
74
+ }
75
+ }
76
+ export function ContainerSettings(): import("react/jsx-runtime").JSX.Element;
77
+ //# sourceMappingURL=ContainerOld.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ContainerOld.d.ts","sourceRoot":"","sources":["../../src/user/ContainerOld.jsx"],"names":[],"mappings":"AAaO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CAuEN;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEM,6EA2IN"}
@@ -1,19 +1,77 @@
1
- import { ReactElement } from 'react';
1
+ import { JSXElementConstructor, ReactElement, ReactNode, ReactPortal } from 'react';
2
2
 
3
- type DivProps = {
4
- className: string;
5
- children?: ReactElement;
6
- style?: Record<string, string>;
3
+ export type DivProps = {
4
+ className?: string;
5
+ backgroundColor?: string;
6
+ backgroundImage?: string;
7
+ backgroundSize?: string;
8
+ backgroundRepeat?: string;
9
+ padding?: number | {
10
+ top: number;
11
+ right: number;
12
+ bottom: number;
13
+ left: number;
14
+ };
15
+ margin?: number | {
16
+ top: number;
17
+ right: number;
18
+ bottom: number;
19
+ left: number;
20
+ };
21
+ width?: string;
22
+ minHeight?: number;
23
+ maxWidth?: string;
24
+ display?: string;
25
+ flexDirection?: "row" | "column" | "row-reverse" | "column-reverse";
26
+ justifyContent?: string;
27
+ alignItems?: string;
28
+ gap?: number;
29
+ borderRadius?: number;
30
+ borderWidth?: number;
31
+ borderColor?: string;
32
+ borderStyle?: string;
33
+ boxShadow?: string;
34
+ children?: ((string | number | boolean | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ReactPortal | ReactNode[]) & (string | number | boolean | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ReactPortal)) | null | undefined;
7
35
  };
8
36
  export declare const Div: {
9
- ({ className, style, children }: DivProps): import("react/jsx-runtime").JSX.Element;
37
+ ({ className, backgroundColor, backgroundImage, backgroundSize, backgroundRepeat, padding, margin, width, minHeight, maxWidth, display, flexDirection, justifyContent, alignItems, gap, borderRadius, borderWidth, borderColor, borderStyle, boxShadow, children, }: DivProps): import("react/jsx-runtime").JSX.Element;
10
38
  craft: {
11
39
  isCanvas: boolean;
12
40
  props: {
13
41
  ClassNames: string;
14
- style: {};
42
+ backgroundColor: string;
43
+ backgroundImage: string;
44
+ backgroundSize: string;
45
+ backgroundRepeat: string;
46
+ padding: {
47
+ top: number;
48
+ right: number;
49
+ bottom: number;
50
+ left: number;
51
+ };
52
+ margin: {
53
+ top: number;
54
+ right: number;
55
+ bottom: number;
56
+ left: number;
57
+ };
58
+ width: string;
59
+ minHeight: number;
60
+ maxWidth: string;
61
+ display: string;
62
+ flexDirection: string;
63
+ justifyContent: string;
64
+ alignItems: string;
65
+ gap: number;
66
+ borderRadius: number;
67
+ borderWidth: number;
68
+ borderColor: string;
69
+ borderStyle: string;
70
+ boxShadow: string;
71
+ };
72
+ related: {
73
+ settings: () => import("react/jsx-runtime").JSX.Element;
15
74
  };
16
75
  };
17
76
  };
18
- export {};
19
77
  //# sourceMappingURL=Div.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Div.d.ts","sourceRoot":"","sources":["../../src/user/Div.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AACrC,KAAK,QAAQ,GAAG;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAC/B,CAAC;AAEF,eAAO,MAAM,GAAG;qCAAoC,QAAQ;;;;;;;;CAiB3D,CAAC"}
1
+ {"version":3,"file":"Div.d.ts","sourceRoot":"","sources":["../../src/user/Div.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,qBAAqB,EACrB,YAAY,EACZ,SAAS,EACT,WAAW,EACZ,MAAM,OAAO,CAAC;AAEf,MAAM,MAAM,QAAQ,GAAG;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,OAAO,CAAC,EACJ,MAAM,GACN;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;IACjE,MAAM,CAAC,EACH,MAAM,GACN;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;IACjE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,aAAa,GAAG,gBAAgB,CAAC;IACpE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EACL,CAAC,CACG,MAAM,GACN,MAAM,GACN,OAAO,GACP,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,qBAAqB,CAAC,GAAG,CAAC,CAAC,GACtD,QAAQ,CAAC,SAAS,CAAC,GACnB,WAAW,GACX,SAAS,EAAE,CACd,GACC,CACI,MAAM,GACN,MAAM,GACN,OAAO,GACP,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,qBAAqB,CAAC,GAAG,CAAC,CAAC,GACtD,QAAQ,CAAC,SAAS,CAAC,GACnB,WAAW,CACd,CAAC,GACJ,IAAI,GACJ,SAAS,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,GAAG;yQAsBb,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgDV,CAAC"}
@@ -0,0 +1,72 @@
1
+ export default Footer;
2
+ declare function Footer({ background, padding, margin, width, minHeight, maxWidth, display, flexDirection, justifyContent, alignItems, gap, borderRadius, borderWidth, borderColor, borderStyle, boxShadow, children, }: {
3
+ background?: string | undefined;
4
+ padding?: {
5
+ top: number;
6
+ right: number;
7
+ bottom: number;
8
+ left: number;
9
+ } | undefined;
10
+ margin?: {
11
+ top: number;
12
+ right: number;
13
+ bottom: number;
14
+ left: number;
15
+ } | undefined;
16
+ width?: string | undefined;
17
+ minHeight?: number | undefined;
18
+ maxWidth?: string | undefined;
19
+ display?: string | undefined;
20
+ flexDirection?: string | undefined;
21
+ justifyContent?: string | undefined;
22
+ alignItems?: string | undefined;
23
+ gap?: number | undefined;
24
+ borderRadius?: number | undefined;
25
+ borderWidth?: number | undefined;
26
+ borderColor?: string | undefined;
27
+ borderStyle?: string | undefined;
28
+ boxShadow?: string | undefined;
29
+ children: any;
30
+ }): import("react/jsx-runtime").JSX.Element;
31
+ declare namespace Footer {
32
+ namespace craft {
33
+ let displayName: string;
34
+ namespace props {
35
+ let background: string;
36
+ namespace padding {
37
+ let top: number;
38
+ let right: number;
39
+ let bottom: number;
40
+ let left: number;
41
+ }
42
+ namespace margin {
43
+ let top_1: number;
44
+ export { top_1 as top };
45
+ let right_1: number;
46
+ export { right_1 as right };
47
+ let bottom_1: number;
48
+ export { bottom_1 as bottom };
49
+ let left_1: number;
50
+ export { left_1 as left };
51
+ }
52
+ let width: string;
53
+ let minHeight: number;
54
+ let maxWidth: string;
55
+ let display: string;
56
+ let flexDirection: string;
57
+ let justifyContent: string;
58
+ let alignItems: string;
59
+ let gap: number;
60
+ let borderRadius: number;
61
+ let borderWidth: number;
62
+ let borderColor: string;
63
+ let borderStyle: string;
64
+ let boxShadow: string;
65
+ }
66
+ namespace related {
67
+ export { ContainerSettings as settings };
68
+ }
69
+ }
70
+ }
71
+ declare function ContainerSettings(): import("react/jsx-runtime").JSX.Element;
72
+ //# sourceMappingURL=Footer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Footer.d.ts","sourceRoot":"","sources":["../../src/user/Footer.jsx"],"names":[],"mappings":";AA8FA;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CA6FC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAED,8EA+GC"}
@@ -1,17 +1,45 @@
1
- type ImgProps = {
2
- className?: string;
3
- src?: string;
4
- alt?: string;
5
- };
6
- export declare const Img: {
7
- ({ className, src, alt }: ImgProps): import("react/jsx-runtime").JSX.Element;
8
- craft: {
9
- isCanvas: boolean;
10
- props: {
11
- ClassNames: string;
12
- src: string;
13
- };
14
- };
15
- };
1
+ export function Img({ src, alt, width, height, maxWidth, objectFit, borderRadius, margin, opacity, boxShadow, }: {
2
+ src?: string | undefined;
3
+ alt?: string | undefined;
4
+ width?: string | undefined;
5
+ height?: string | undefined;
6
+ maxWidth?: string | undefined;
7
+ objectFit?: string | undefined;
8
+ borderRadius?: number | undefined;
9
+ margin?: {
10
+ top: number;
11
+ right: number;
12
+ bottom: number;
13
+ left: number;
14
+ } | undefined;
15
+ opacity?: number | undefined;
16
+ boxShadow?: string | undefined;
17
+ }): import("react/jsx-runtime").JSX.Element;
18
+ export namespace Img {
19
+ namespace craft {
20
+ let displayName: string;
21
+ namespace props {
22
+ let src: string;
23
+ let alt: string;
24
+ let width: string;
25
+ let height: string;
26
+ let maxWidth: string;
27
+ let objectFit: string;
28
+ let borderRadius: number;
29
+ namespace margin {
30
+ let top: number;
31
+ let right: number;
32
+ let bottom: number;
33
+ let left: number;
34
+ }
35
+ let opacity: number;
36
+ let boxShadow: string;
37
+ }
38
+ namespace related {
39
+ export { ImageSettings as settings };
40
+ }
41
+ }
42
+ }
43
+ declare function ImageSettings(): import("react/jsx-runtime").JSX.Element;
16
44
  export {};
17
45
  //# sourceMappingURL=Img.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Img.d.ts","sourceRoot":"","sources":["../../src/user/Img.tsx"],"names":[],"mappings":"AAKA,KAAK,QAAQ,GAAG;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;CAEd,CAAC;AAEF,eAAO,MAAM,GAAG;8BAAqC,QAAQ;;;;;;;;CAoB5D,CAAC"}
1
+ {"version":3,"file":"Img.d.ts","sourceRoot":"","sources":["../../src/user/Img.jsx"],"names":[],"mappings":"AAWO;;;;;;;;;;;;;;;;4CA4CN;;;;;;;;;;;;;;;;;;;;;;;;;;AAED,0EAoHC"}
@@ -1,7 +1,7 @@
1
- import { HTMLAttributes, ReactNode } from 'react';
1
+ import { HTMLAttributes, JSXElementConstructor, ReactElement, ReactNode, ReactPortal } from 'react';
2
2
 
3
3
  type SectionProps = {
4
- children?: ReactNode;
4
+ children?: ((string | number | boolean | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ReactPortal | ReactNode[]) & (string | number | boolean | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ReactPortal)) | null | undefined;
5
5
  } & HTMLAttributes<HTMLDivElement>;
6
6
  export declare const Section: {
7
7
  ({ children, className }: SectionProps): import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"Section.d.ts","sourceRoot":"","sources":["../../src/user/Section.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAOlD,KAAK,YAAY,GAAG;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO;8BAA6B,YAAY;;;;;;;;CAmC5D,CAAC"}
1
+ {"version":3,"file":"Section.d.ts","sourceRoot":"","sources":["../../src/user/Section.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,qBAAqB,EACrB,YAAY,EACZ,SAAS,EACT,WAAW,EACZ,MAAM,OAAO,CAAC;AAOf,KAAK,YAAY,GAAG;IAClB,QAAQ,CAAC,EACL,CAAC,CACG,MAAM,GACN,MAAM,GACN,OAAO,GACP,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,qBAAqB,CAAC,GAAG,CAAC,CAAC,GACtD,QAAQ,CAAC,SAAS,CAAC,GACnB,WAAW,GACX,SAAS,EAAE,CACd,GACC,CACI,MAAM,GACN,MAAM,GACN,OAAO,GACP,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,qBAAqB,CAAC,GAAG,CAAC,CAAC,GACtD,QAAQ,CAAC,SAAS,CAAC,GACnB,WAAW,CACd,CAAC,GACJ,IAAI,GACJ,SAAS,CAAC;CACf,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO;8BAA6B,YAAY;;;;;;;;CAkC5D,CAAC"}
@@ -1,5 +1,6 @@
1
- export function Text({ text, fontSize, fontWeight, fontFamily, lineHeight, letterSpacing, textAlign, color, margin, textDecoration, textTransform, opacity, }: {
1
+ export function Text({ text, html, fontSize, fontWeight, fontFamily, lineHeight, letterSpacing, textAlign, color, margin, textDecoration, textTransform, opacity, }: {
2
2
  text?: string | undefined;
3
+ html: any;
3
4
  fontSize?: {
4
5
  desktop: number;
5
6
  } | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../src/user/Text.jsx"],"names":[],"mappings":"AAgCO;;;;;;;;;;;;;;;;;;;;;;;;4CA+DN;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAED,yEAqIC"}
1
+ {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../src/user/Text.jsx"],"names":[],"mappings":"AAiDO;;;;;;;;;;;;;;;;;;;;;;;;;4CAuEN;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAED,yEA8IC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Video.d.ts","sourceRoot":"","sources":["../../src/user/Video.jsx"],"names":[],"mappings":"AA8FO;;;;;;;;;;;;;;4CA2EN;;;;;;;;;;;;;;;;;;;;;;;;AAUD,0EAuEC"}
1
+ {"version":3,"file":"Video.d.ts","sourceRoot":"","sources":["../../src/user/Video.jsx"],"names":[],"mappings":"AA8GO;;;;;;;;;;;;;;4CA2EN;;;;;;;;;;;;;;;;;;;;;;;;AAYD,0EA8EC"}
@@ -1,18 +1,48 @@
1
1
  import { Node } from '@craftjs/core';
2
- import { ReactNode, HTMLAttributes } from 'react';
2
+ import { DivProps } from './Div';
3
3
 
4
- type WrapperProps = {
5
- children?: ReactNode;
6
- } & HTMLAttributes<HTMLDivElement>;
7
4
  export declare const Wrapper: {
8
- ({ children, className, ...restProps }: WrapperProps): import("react/jsx-runtime").JSX.Element;
5
+ ({ className, backgroundColor, backgroundImage, backgroundSize, backgroundRepeat, padding, margin, width, minHeight, maxWidth, display, flexDirection, justifyContent, alignItems, gap, borderRadius, borderWidth, borderColor, borderStyle, boxShadow, children, }: DivProps): import("react/jsx-runtime").JSX.Element;
9
6
  craft: {
10
- props: {};
7
+ props: {
8
+ backgroundColor: string;
9
+ backgroundImage: string;
10
+ backgroundSize: string;
11
+ backgroundRepeat: string;
12
+ padding: {
13
+ top: number;
14
+ right: number;
15
+ bottom: number;
16
+ left: number;
17
+ };
18
+ margin: {
19
+ top: number;
20
+ right: number;
21
+ bottom: number;
22
+ left: number;
23
+ };
24
+ width: string;
25
+ minHeight: number;
26
+ maxWidth: string;
27
+ display: string;
28
+ flexDirection: string;
29
+ justifyContent: string;
30
+ alignItems: string;
31
+ gap: number;
32
+ borderRadius: number;
33
+ borderWidth: number;
34
+ borderColor: string;
35
+ borderStyle: string;
36
+ boxShadow: string;
37
+ };
11
38
  displayName: string;
12
39
  isCanvas: boolean;
13
40
  rules: {
14
41
  canMoveIn: (incomingNodes: Node[]) => boolean;
15
42
  };
43
+ related: {
44
+ settings: () => import("react/jsx-runtime").JSX.Element;
45
+ };
16
46
  };
17
47
  };
18
48
  export default Wrapper;
@@ -1 +1 @@
1
- {"version":3,"file":"Wrapper.d.ts","sourceRoot":"","sources":["../../src/user/Wrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAW,MAAM,eAAe,CAAC;AAG9C,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvD,KAAK,YAAY,GAAG;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO;4CAIjB,YAAY;;;;;;uCA6BgB,IAAI,EAAE;;;CAPpC,CAAC;AAeF,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"Wrapper.d.ts","sourceRoot":"","sources":["../../src/user/Wrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAW,MAAM,eAAe,CAAC;AAG9C,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAGjC,eAAO,MAAM,OAAO;yQAsBjB,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uCA8EoB,IAAI,EAAE;;;;;;CA3BpC,CAAC;AAoCF,eAAe,OAAO,CAAC"}