@appkit/dek-lib 0.23.0 → 0.24.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
@@ -66758,7 +66758,7 @@ async function fetchUserPlugins(email, password) {
66758
66758
  result.integrations.push({
66759
66759
  key: "base",
66760
66760
  pluginName: "base",
66761
- pluginVersion: "0.23.0",
66761
+ pluginVersion: "0.24.0",
66762
66762
  pluginConfig: []
66763
66763
  });
66764
66764
  return result;
@@ -66933,7 +66933,7 @@ const Header = ({ height = 70 }) => {
66933
66933
  };
66934
66934
  const About = () => {
66935
66935
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(f0, { padding: 20, direction: "vert", children: [
66936
- /* @__PURE__ */ jsxRuntimeExports.jsx(PU1, { children: `Dek ${"0.23.0"}` }),
66936
+ /* @__PURE__ */ jsxRuntimeExports.jsx(PU1, { children: `Dek ${"0.24.0"}` }),
66937
66937
  /* @__PURE__ */ jsxRuntimeExports.jsx(h4, { children: "From Appkit" })
66938
66938
  ] });
66939
66939
  };
@@ -98383,7 +98383,7 @@ const ComponentScreen = ({ api: api2 }) => {
98383
98383
  const schemaToProps = (schema) => {
98384
98384
  const props = {};
98385
98385
  Object.keys(schema).forEach((key) => {
98386
- if (schema[key].default) {
98386
+ if (schema[key].default !== void 0) {
98387
98387
  props[key] = schema[key].default;
98388
98388
  }
98389
98389
  });
@@ -102576,7 +102576,7 @@ async function updatePlugins(email, password) {
102576
102576
  {
102577
102577
  key: "base",
102578
102578
  pluginName: "base",
102579
- pluginVersion: "0.23.0",
102579
+ pluginVersion: "0.24.0",
102580
102580
  pluginConfig: []
102581
102581
  }
102582
102582
  ],
package/dist/index.umd.js CHANGED
@@ -66775,7 +66775,7 @@ Arguments: ` + Array.prototype.slice.call(n5).join("") + `
66775
66775
  result.integrations.push({
66776
66776
  key: "base",
66777
66777
  pluginName: "base",
66778
- pluginVersion: "0.23.0",
66778
+ pluginVersion: "0.24.0",
66779
66779
  pluginConfig: []
66780
66780
  });
66781
66781
  return result;
@@ -66950,7 +66950,7 @@ Arguments: ` + Array.prototype.slice.call(n5).join("") + `
66950
66950
  };
66951
66951
  const About = () => {
66952
66952
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(f0, { padding: 20, direction: "vert", children: [
66953
- /* @__PURE__ */ jsxRuntimeExports.jsx(PU1, { children: `Dek ${"0.23.0"}` }),
66953
+ /* @__PURE__ */ jsxRuntimeExports.jsx(PU1, { children: `Dek ${"0.24.0"}` }),
66954
66954
  /* @__PURE__ */ jsxRuntimeExports.jsx(h4, { children: "From Appkit" })
66955
66955
  ] });
66956
66956
  };
@@ -98400,7 +98400,7 @@ Arguments: ` + Array.prototype.slice.call(n5).join("") + `
98400
98400
  const schemaToProps = (schema) => {
98401
98401
  const props = {};
98402
98402
  Object.keys(schema).forEach((key) => {
98403
- if (schema[key].default) {
98403
+ if (schema[key].default !== void 0) {
98404
98404
  props[key] = schema[key].default;
98405
98405
  }
98406
98406
  });
@@ -102593,7 +102593,7 @@ Arguments: ` + Array.prototype.slice.call(n5).join("") + `
102593
102593
  {
102594
102594
  key: "base",
102595
102595
  pluginName: "base",
102596
- pluginVersion: "0.23.0",
102596
+ pluginVersion: "0.24.0",
102597
102597
  pluginConfig: []
102598
102598
  }
102599
102599
  ],
@@ -1,6 +1,12 @@
1
1
  import { DekPluginElementProps } from '@appkit/dek-plugin';
2
2
  type Props = DekPluginElementProps & {
3
3
  text?: string;
4
+ clear?: boolean;
5
+ backColor?: string;
6
+ textSize?: number;
7
+ textWeight?: 'normal' | 'bold';
8
+ textStyle?: any;
9
+ underlineWidth?: number;
4
10
  };
5
- declare const CenteredText: ({ text }: Props) => import("react/jsx-runtime").JSX.Element;
11
+ declare const CenteredText: ({ text, clear, backColor, textSize, textWeight, textStyle, underlineWidth, }: Props) => import("react/jsx-runtime").JSX.Element;
6
12
  export default CenteredText;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@appkit/dek-lib",
3
3
  "private": false,
4
- "version": "0.23.0",
4
+ "version": "0.24.0",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite --port 5173 --host",