@tech_carthagos/page-builder 1.0.13 → 1.0.15

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/index.cjs.js CHANGED
@@ -1 +1 @@
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;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-Bq79BZ9n.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 { 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";
1
+ import { a1 as s, a5 as i, X as r, Y as o, $ as t, a0 as l, a9 as v, a8 as P, a4 as E, a7 as d, a6 as p, a2 as D, a3 as c, K as g } from "./index-C_JmCif3.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
- d as getResponsiveValue,
12
- E as hasTemplatePlaceholders,
11
+ E as getResponsiveValue,
12
+ d as hasTemplatePlaceholders,
13
13
  p as processTemplate,
14
- c as useApiConfig,
15
- D as useDeviceSize,
14
+ D as useApiConfig,
15
+ c as useDeviceSize,
16
16
  g as useEventData
17
17
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Toolbox.d.ts","sourceRoot":"","sources":["../../src/editor/Toolbox.jsx"],"names":[],"mappings":"AA2BO,mEA6GN"}
1
+ {"version":3,"file":"Toolbox.d.ts","sourceRoot":"","sources":["../../src/editor/Toolbox.jsx"],"names":[],"mappings":"AA4BO,mEAmGN"}
@@ -1 +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"}
1
+ {"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../src/examples/App.tsx"],"names":[],"mappings":"AAwDA,QAAA,MAAM,GAAG,+CAMR,CAAC;AAEF,eAAe,GAAG,CAAC"}
@@ -2,7 +2,7 @@ import { Node } from '@craftjs/core';
2
2
  import { DivProps } from './Div';
3
3
 
4
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;
5
+ (divDefaultProps: DivProps): import("react/jsx-runtime").JSX.Element;
6
6
  craft: {
7
7
  isCanvas: boolean;
8
8
  props: {
@@ -23,7 +23,10 @@ export declare const Container: {
23
23
  left: number;
24
24
  };
25
25
  width: string;
26
+ height: number;
26
27
  minHeight: number;
28
+ maxHeight: number;
29
+ minWidth: number;
27
30
  maxWidth: string;
28
31
  display: string;
29
32
  flexDirection: string;
@@ -38,7 +41,7 @@ export declare const Container: {
38
41
  };
39
42
  displayName: string;
40
43
  related: {
41
- settings: () => import("react/jsx-runtime").JSX.Element;
44
+ settings: (divDefaultProps: any) => import("react/jsx-runtime").JSX.Element;
42
45
  };
43
46
  rules: {
44
47
  canMoveIn: (incomingNodes: Node[]) => boolean;
@@ -1 +1 @@
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"}
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;AAEjC,eAAO,MAAM,SAAS;sBAAqB,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uCA6BpB,IAAI,EAAE;;;CARpC,CAAC"}
@@ -1,3 +1,27 @@
1
+ export function divStyle(props: any): {
2
+ backgroundColor: any;
3
+ backgroundImage: string;
4
+ backgroundSize: any;
5
+ backgroundRepeat: any;
6
+ padding: string;
7
+ margin: string;
8
+ width: string;
9
+ height: string;
10
+ minHeight: string;
11
+ maxHeight: string;
12
+ minWidth: string;
13
+ maxWidth: string;
14
+ display: any;
15
+ flexDirection: any;
16
+ justifyContent: any;
17
+ alignItems: any;
18
+ gap: string | undefined;
19
+ borderRadius: string;
20
+ borderWidth: string;
21
+ borderColor: any;
22
+ borderStyle: any;
23
+ boxShadow: any;
24
+ };
1
25
  export function Container({ backgroundColor, backgroundImage, backgroundSize, backgroundRepeat, padding, margin, width, minHeight, maxWidth, display, flexDirection, justifyContent, alignItems, gap, borderRadius, borderWidth, borderColor, borderStyle, boxShadow, children, }: {
2
26
  backgroundColor?: string | undefined;
3
27
  backgroundImage?: string | undefined;
@@ -55,7 +79,10 @@ export namespace Container {
55
79
  export { left_1 as left };
56
80
  }
57
81
  let width: string;
82
+ let height: number;
58
83
  let minHeight: number;
84
+ let maxHeight: number;
85
+ let minWidth: number;
59
86
  let maxWidth: string;
60
87
  let display: string;
61
88
  let flexDirection: string;
@@ -73,5 +100,69 @@ export namespace Container {
73
100
  }
74
101
  }
75
102
  }
76
- export function ContainerSettings(): import("react/jsx-runtime").JSX.Element;
103
+ export namespace divDefaultProps {
104
+ let backgroundColor_1: string;
105
+ export { backgroundColor_1 as backgroundColor };
106
+ let backgroundImage_1: string;
107
+ export { backgroundImage_1 as backgroundImage };
108
+ let backgroundSize_1: string;
109
+ export { backgroundSize_1 as backgroundSize };
110
+ let backgroundRepeat_1: string;
111
+ export { backgroundRepeat_1 as backgroundRepeat };
112
+ export namespace padding_1 {
113
+ let top_2: number;
114
+ export { top_2 as top };
115
+ let right_2: number;
116
+ export { right_2 as right };
117
+ let bottom_2: number;
118
+ export { bottom_2 as bottom };
119
+ let left_2: number;
120
+ export { left_2 as left };
121
+ }
122
+ export { padding_1 as padding };
123
+ export namespace margin_1 {
124
+ let top_3: number;
125
+ export { top_3 as top };
126
+ let right_3: number;
127
+ export { right_3 as right };
128
+ let bottom_3: number;
129
+ export { bottom_3 as bottom };
130
+ let left_3: number;
131
+ export { left_3 as left };
132
+ }
133
+ export { margin_1 as margin };
134
+ let width_1: string;
135
+ export { width_1 as width };
136
+ let height_1: number;
137
+ export { height_1 as height };
138
+ let minHeight_1: number;
139
+ export { minHeight_1 as minHeight };
140
+ let maxHeight_1: number;
141
+ export { maxHeight_1 as maxHeight };
142
+ let minWidth_1: number;
143
+ export { minWidth_1 as minWidth };
144
+ let maxWidth_1: string;
145
+ export { maxWidth_1 as maxWidth };
146
+ let display_1: string;
147
+ export { display_1 as display };
148
+ let flexDirection_1: string;
149
+ export { flexDirection_1 as flexDirection };
150
+ let justifyContent_1: string;
151
+ export { justifyContent_1 as justifyContent };
152
+ let alignItems_1: string;
153
+ export { alignItems_1 as alignItems };
154
+ let gap_1: number;
155
+ export { gap_1 as gap };
156
+ let borderRadius_1: number;
157
+ export { borderRadius_1 as borderRadius };
158
+ let borderWidth_1: number;
159
+ export { borderWidth_1 as borderWidth };
160
+ let borderColor_1: string;
161
+ export { borderColor_1 as borderColor };
162
+ let borderStyle_1: string;
163
+ export { borderStyle_1 as borderStyle };
164
+ let boxShadow_1: string;
165
+ export { boxShadow_1 as boxShadow };
166
+ }
167
+ export function ContainerSettings(divDefaultProps: any): import("react/jsx-runtime").JSX.Element;
77
168
  //# sourceMappingURL=ContainerOld.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ContainerOld.d.ts","sourceRoot":"","sources":["../../src/user/ContainerOld.jsx"],"names":[],"mappings":"AAaO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CAuEN;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEM,6EA2IN"}
1
+ {"version":3,"file":"ContainerOld.d.ts","sourceRoot":"","sources":["../../src/user/ContainerOld.jsx"],"names":[],"mappings":"AAaO;;;;;;;;;;;;;;;;;;;;;;;EAmCN;AAEM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CA0EN;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2BM,iGAiLN"}
@@ -1,5 +1,3 @@
1
- import { JSXElementConstructor, ReactElement, ReactNode, ReactPortal } from 'react';
2
-
3
1
  export type DivProps = {
4
2
  className?: string;
5
3
  backgroundColor?: string;
@@ -18,9 +16,14 @@ export type DivProps = {
18
16
  bottom: number;
19
17
  left: number;
20
18
  };
19
+ paddingValue?: string;
20
+ marginValue?: string;
21
21
  width?: string;
22
- minHeight?: number;
22
+ height?: number | string;
23
+ minHeight?: number | string;
23
24
  maxWidth?: string;
25
+ minWidth?: number | string;
26
+ maxHeight?: number | string;
24
27
  display?: string;
25
28
  flexDirection?: "row" | "column" | "row-reverse" | "column-reverse";
26
29
  justifyContent?: string;
@@ -31,14 +34,13 @@ export type DivProps = {
31
34
  borderColor?: string;
32
35
  borderStyle?: string;
33
36
  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;
37
+ children?: any;
35
38
  };
36
39
  export declare const Div: {
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;
40
+ (divDefaultProps: DivProps): import("react/jsx-runtime").JSX.Element;
38
41
  craft: {
39
42
  isCanvas: boolean;
40
43
  props: {
41
- ClassNames: string;
42
44
  backgroundColor: string;
43
45
  backgroundImage: string;
44
46
  backgroundSize: string;
@@ -56,7 +58,10 @@ export declare const Div: {
56
58
  left: number;
57
59
  };
58
60
  width: string;
61
+ height: number;
59
62
  minHeight: number;
63
+ maxHeight: number;
64
+ minWidth: number;
60
65
  maxWidth: string;
61
66
  display: string;
62
67
  flexDirection: string;
@@ -70,7 +75,7 @@ export declare const Div: {
70
75
  boxShadow: string;
71
76
  };
72
77
  related: {
73
- settings: () => import("react/jsx-runtime").JSX.Element;
78
+ settings: (divDefaultProps: any) => import("react/jsx-runtime").JSX.Element;
74
79
  };
75
80
  };
76
81
  };
@@ -1 +1 @@
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"}
1
+ {"version":3,"file":"Div.d.ts","sourceRoot":"","sources":["../../src/user/Div.tsx"],"names":[],"mappings":"AAIA,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,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B,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,EAAE,GAAG,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,GAAG;sBAAqB,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsB5C,CAAC"}
@@ -1,3 +1,4 @@
1
+ import { ContainerSettings } from './ContainerOld';
1
2
  export default Footer;
2
3
  declare function Footer({ background, padding, margin, width, minHeight, maxWidth, display, flexDirection, justifyContent, alignItems, gap, borderRadius, borderWidth, borderColor, borderStyle, boxShadow, children, }: {
3
4
  background?: string | undefined;
@@ -68,5 +69,4 @@ declare namespace Footer {
68
69
  }
69
70
  }
70
71
  }
71
- declare function ContainerSettings(): import("react/jsx-runtime").JSX.Element;
72
72
  //# sourceMappingURL=Footer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Footer.d.ts","sourceRoot":"","sources":["../../src/user/Footer.jsx"],"names":[],"mappings":";AA8FA;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CA6FC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAED,8EA+GC"}
1
+ {"version":3,"file":"Footer.d.ts","sourceRoot":"","sources":["../../src/user/Footer.jsx"],"names":[],"mappings":";AAMA;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CA4FC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kCA9FiC,gBAAgB"}
@@ -1,7 +1,7 @@
1
- import { HTMLAttributes, JSXElementConstructor, ReactElement, ReactNode, ReactPortal } from 'react';
1
+ import { HTMLAttributes } from 'react';
2
2
 
3
3
  type SectionProps = {
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;
4
+ children?: any;
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,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
+ {"version":3,"file":"Section.d.ts","sourceRoot":"","sources":["../../src/user/Section.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EAKf,MAAM,OAAO,CAAC;AAOf,KAAK,YAAY,GAAG;IAClB,QAAQ,CAAC,EAAE,GAAG,CAAC;CAChB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO;8BAA6B,YAAY;;;;;;;;CAkC5D,CAAC"}
@@ -2,7 +2,7 @@ import { Node } from '@craftjs/core';
2
2
  import { DivProps } from './Div';
3
3
 
4
4
  export declare const Wrapper: {
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;
5
+ (divDefaultProps: DivProps): import("react/jsx-runtime").JSX.Element;
6
6
  craft: {
7
7
  props: {
8
8
  backgroundColor: string;
@@ -22,7 +22,10 @@ export declare const Wrapper: {
22
22
  left: number;
23
23
  };
24
24
  width: string;
25
+ height: number;
25
26
  minHeight: number;
27
+ maxHeight: number;
28
+ minWidth: number;
26
29
  maxWidth: string;
27
30
  display: string;
28
31
  flexDirection: string;
@@ -41,7 +44,7 @@ export declare const Wrapper: {
41
44
  canMoveIn: (incomingNodes: Node[]) => boolean;
42
45
  };
43
46
  related: {
44
- settings: () => import("react/jsx-runtime").JSX.Element;
47
+ settings: (divDefaultProps: any) => import("react/jsx-runtime").JSX.Element;
45
48
  };
46
49
  };
47
50
  };
@@ -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,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAGjC,eAAO,MAAM,OAAO;yQAsBjB,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uCA8EoB,IAAI,EAAE;;;;;;CA3BpC,CAAC;AAoCF,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;sBAAqB,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uCA4BlB,IAAI,EAAE;;;;;;CAPpC,CAAC;AAgBF,eAAe,OAAO,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tech_carthagos/page-builder",
3
- "version": "1.0.13",
3
+ "version": "1.0.15",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "module": "./dist/index.es.js",