@appkit/dek-lib 0.28.0 → 0.30.0

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.es.js CHANGED
@@ -66861,7 +66861,7 @@ async function fetchUserPlugins(email, password) {
66861
66861
  result.integrations.push({
66862
66862
  key: "base",
66863
66863
  pluginName: "base",
66864
- pluginVersion: "0.27.0",
66864
+ pluginVersion: "0.30.0",
66865
66865
  pluginConfig: []
66866
66866
  });
66867
66867
  return result;
@@ -67036,7 +67036,7 @@ const Header = ({ height = 70 }) => {
67036
67036
  };
67037
67037
  const About = () => {
67038
67038
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(u0, { padding: 20, direction: "vert", children: [
67039
- /* @__PURE__ */ jsxRuntimeExports.jsx(PU1, { children: `Dek ${"0.27.0"}` }),
67039
+ /* @__PURE__ */ jsxRuntimeExports.jsx(PU1, { children: `Dek ${"0.30.0"}` }),
67040
67040
  /* @__PURE__ */ jsxRuntimeExports.jsx(h4, { children: "From Appkit" })
67041
67041
  ] });
67042
67042
  };
@@ -98725,8 +98725,7 @@ const ComponentScreen = ({ api: api2 }) => {
98725
98725
  setPropsString(value);
98726
98726
  };
98727
98727
  const parsedProps = parsePropsForComponent(api2, propsArray);
98728
- const maxWidth = parsedProps && parsedProps["dev"] && parsedProps["dev"]["maxWidth"];
98729
- const maxHeight = parsedProps && parsedProps["dev"] && parsedProps["dev"]["maxHeight"];
98728
+ const style = parsedProps && parsedProps["style"];
98730
98729
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Wt2, { children: [
98731
98730
  /* @__PURE__ */ jsxRuntimeExports.jsxs(Fq1, { fullscreen: true, cols: "40% 60%", children: [
98732
98731
  /* @__PURE__ */ jsxRuntimeExports.jsx(St2, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(u0, { direction: "vert", paddingTop: 100, children: [
@@ -98778,18 +98777,7 @@ const ComponentScreen = ({ api: api2 }) => {
98778
98777
  ) }),
98779
98778
  error2 && /* @__PURE__ */ jsxRuntimeExports.jsx(h4, { color: "red", paddingLeft: 15, paddingTop: 10, children: error2 })
98780
98779
  ] }) }),
98781
- /* @__PURE__ */ jsxRuntimeExports.jsx(St2, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(u0, { halign: "left", valign: "center", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
98782
- "div",
98783
- {
98784
- style: {
98785
- width: "100%",
98786
- maxWidth,
98787
- height: "100%",
98788
- maxHeight
98789
- },
98790
- children: propsString && api2.integration("plugin").component(params.componentKey, parsedProps)
98791
- }
98792
- ) }) })
98780
+ /* @__PURE__ */ jsxRuntimeExports.jsx(St2, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(u0, { halign: "left", valign: "center", style, children: propsString && api2.integration("plugin").component(params.componentKey, parsedProps) }) })
98793
98781
  ] }),
98794
98782
  /* @__PURE__ */ jsxRuntimeExports.jsx($t2, { title: `Component View`, subtitle: params.componentKey })
98795
98783
  ] });
@@ -103039,7 +103027,7 @@ async function updatePlugins(email, password) {
103039
103027
  {
103040
103028
  key: "base",
103041
103029
  pluginName: "base",
103042
- pluginVersion: "0.27.0",
103030
+ pluginVersion: "0.30.0",
103043
103031
  pluginConfig: []
103044
103032
  }
103045
103033
  ],
package/dist/index.umd.js CHANGED
@@ -66878,7 +66878,7 @@ Arguments: ` + Array.prototype.slice.call(n5).join("") + `
66878
66878
  result.integrations.push({
66879
66879
  key: "base",
66880
66880
  pluginName: "base",
66881
- pluginVersion: "0.27.0",
66881
+ pluginVersion: "0.30.0",
66882
66882
  pluginConfig: []
66883
66883
  });
66884
66884
  return result;
@@ -67053,7 +67053,7 @@ Arguments: ` + Array.prototype.slice.call(n5).join("") + `
67053
67053
  };
67054
67054
  const About = () => {
67055
67055
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(u0, { padding: 20, direction: "vert", children: [
67056
- /* @__PURE__ */ jsxRuntimeExports.jsx(PU1, { children: `Dek ${"0.27.0"}` }),
67056
+ /* @__PURE__ */ jsxRuntimeExports.jsx(PU1, { children: `Dek ${"0.30.0"}` }),
67057
67057
  /* @__PURE__ */ jsxRuntimeExports.jsx(h4, { children: "From Appkit" })
67058
67058
  ] });
67059
67059
  };
@@ -98742,8 +98742,7 @@ Arguments: ` + Array.prototype.slice.call(n5).join("") + `
98742
98742
  setPropsString(value);
98743
98743
  };
98744
98744
  const parsedProps = parsePropsForComponent(api2, propsArray);
98745
- const maxWidth = parsedProps && parsedProps["dev"] && parsedProps["dev"]["maxWidth"];
98746
- const maxHeight = parsedProps && parsedProps["dev"] && parsedProps["dev"]["maxHeight"];
98745
+ const style = parsedProps && parsedProps["style"];
98747
98746
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Wt2, { children: [
98748
98747
  /* @__PURE__ */ jsxRuntimeExports.jsxs(Fq1, { fullscreen: true, cols: "40% 60%", children: [
98749
98748
  /* @__PURE__ */ jsxRuntimeExports.jsx(St2, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(u0, { direction: "vert", paddingTop: 100, children: [
@@ -98795,18 +98794,7 @@ Arguments: ` + Array.prototype.slice.call(n5).join("") + `
98795
98794
  ) }),
98796
98795
  error2 && /* @__PURE__ */ jsxRuntimeExports.jsx(h4, { color: "red", paddingLeft: 15, paddingTop: 10, children: error2 })
98797
98796
  ] }) }),
98798
- /* @__PURE__ */ jsxRuntimeExports.jsx(St2, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(u0, { halign: "left", valign: "center", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
98799
- "div",
98800
- {
98801
- style: {
98802
- width: "100%",
98803
- maxWidth,
98804
- height: "100%",
98805
- maxHeight
98806
- },
98807
- children: propsString && api2.integration("plugin").component(params.componentKey, parsedProps)
98808
- }
98809
- ) }) })
98797
+ /* @__PURE__ */ jsxRuntimeExports.jsx(St2, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(u0, { halign: "left", valign: "center", style, children: propsString && api2.integration("plugin").component(params.componentKey, parsedProps) }) })
98810
98798
  ] }),
98811
98799
  /* @__PURE__ */ jsxRuntimeExports.jsx($t2, { title: `Component View`, subtitle: params.componentKey })
98812
98800
  ] });
@@ -103056,7 +103044,7 @@ Arguments: ` + Array.prototype.slice.call(n5).join("") + `
103056
103044
  {
103057
103045
  key: "base",
103058
103046
  pluginName: "base",
103059
- pluginVersion: "0.27.0",
103047
+ pluginVersion: "0.30.0",
103060
103048
  pluginConfig: []
103061
103049
  }
103062
103050
  ],
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@appkit/dek-lib",
3
3
  "private": false,
4
- "version": "0.28.0",
4
+ "version": "0.30.0",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite --port 5173 --host",