beca-ui 2.1.1-beta.13 → 2.1.1-beta.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/beca-ui.js CHANGED
@@ -131354,9 +131354,9 @@ const b4t = ({
131354
131354
  }
131355
131355
  );
131356
131356
  }, I4t = (e, t) => {
131357
- const { readingMode: n, toolkit: r } = e, o = (r == null ? void 0 : r.position) ?? "top", i = (r == null ? void 0 : r.visible) !== !1;
131358
- let a = "beca-text-editor";
131359
- return n && (a += " reading-mode"), i && o === "bottom" && (a += " toolkit-bottom"), i || (a += " no-toolkit"), t && (a += " is-fullscreen"), a;
131357
+ const { readingMode: n, toolkit: r, variant: o = "outlined" } = e, i = (r == null ? void 0 : r.position) ?? "top", a = (r == null ? void 0 : r.visible) !== !1;
131358
+ let l = "beca-text-editor";
131359
+ return o && (l += ` variant-${o}`), n && (l += " reading-mode"), a && i === "bottom" && (l += " toolkit-bottom"), a || (l += " no-toolkit"), t && (l += " is-fullscreen"), l;
131360
131360
  };
131361
131361
  function _4t(e) {
131362
131362
  let t = "";
@@ -24,6 +24,7 @@ export interface TextEditorProps {
24
24
  fontSizeUnit?: "pt" | "px";
25
25
  isSimpleText?: boolean;
26
26
  mode?: "advanced" | "compact";
27
+ variant?: "outlined" | "filled" | "borderless";
27
28
  }
28
29
  export interface SuggesstionGroupModel {
29
30
  char: string;