@tech_carthagos/page-builder 1.0.13 → 1.0.14

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-CyIoH_7r.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 { $ as s, a3 as i, R as r, U as o, Z as t, _ as l, a7 as v, a6 as P, a2 as E, a5 as d, a4 as p, a0 as D, a1 as c, K as g } from "./index-BU18TokA.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,mEAkHN"}
@@ -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"}
@@ -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;
@@ -31,14 +29,14 @@ export type DivProps = {
31
29
  borderColor?: string;
32
30
  borderStyle?: string;
33
31
  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;
32
+ children?: any;
35
33
  };
36
34
  export declare const Div: {
37
35
  ({ 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;
38
36
  craft: {
39
37
  isCanvas: boolean;
40
38
  props: {
41
- ClassNames: string;
39
+ ClassName: string;
42
40
  backgroundColor: string;
43
41
  backgroundImage: string;
44
42
  backgroundSize: string;
@@ -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,M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M,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,EAAE,GAAG,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,GAAG;yQAsBb,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmDV,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"}
@@ -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;yQAsBjB,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uCA4EoB,IAAI,EAAE;;;;;;CA3BpC,CAAC;AAoCF,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.14",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "module": "./dist/index.es.js",