@qwanyx/stack 0.2.27 → 0.2.28

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.esm.js CHANGED
@@ -12040,13 +12040,17 @@ function lf({
12040
12040
  border: `1px solid ${a.border}`,
12041
12041
  borderRadius: "8px",
12042
12042
  background: a.background,
12043
- overflow: "hidden"
12043
+ overflow: "hidden",
12044
+ display: "flex",
12045
+ flexDirection: "column",
12046
+ height: "100%",
12047
+ minHeight: l
12044
12048
  },
12045
12049
  children: [
12046
12050
  /* @__PURE__ */ g.jsx("style", { children: x }),
12047
12051
  /* @__PURE__ */ g.jsxs(Oc, { initialConfig: p, children: [
12048
12052
  /* @__PURE__ */ g.jsx(nf, { theme: a, disabled: o }),
12049
- /* @__PURE__ */ g.jsx("div", { style: { position: "relative" }, children: /* @__PURE__ */ g.jsx(
12053
+ /* @__PURE__ */ g.jsx("div", { style: { position: "relative", flex: 1, display: "flex", flexDirection: "column" }, children: /* @__PURE__ */ g.jsx(
12050
12054
  bd,
12051
12055
  {
12052
12056
  contentEditable: /* @__PURE__ */ g.jsx(
@@ -12055,7 +12059,8 @@ function lf({
12055
12059
  className: "mail-editor-content",
12056
12060
  style: {
12057
12061
  outline: "none",
12058
- minHeight: l,
12062
+ flex: 1,
12063
+ minHeight: "100px",
12059
12064
  padding: "16px",
12060
12065
  fontSize: "14px",
12061
12066
  lineHeight: 1.6,
@@ -12300,9 +12305,9 @@ function Ef({
12300
12305
  }
12301
12306
  )
12302
12307
  ] }),
12303
- /* @__PURE__ */ g.jsxs("div", { style: { flex: 1 }, children: [
12308
+ /* @__PURE__ */ g.jsxs("div", { style: { flex: 1, display: "flex", flexDirection: "column", minHeight: 0 }, children: [
12304
12309
  /* @__PURE__ */ g.jsx("label", { style: te, children: "Message" }),
12305
- /* @__PURE__ */ g.jsx(
12310
+ /* @__PURE__ */ g.jsx("div", { style: { flex: 1, display: "flex", flexDirection: "column" }, children: /* @__PURE__ */ g.jsx(
12306
12311
  lf,
12307
12312
  {
12308
12313
  value: b,
@@ -12313,7 +12318,7 @@ function Ef({
12313
12318
  disabled: l || S,
12314
12319
  minHeight: f
12315
12320
  }
12316
- )
12321
+ ) })
12317
12322
  ] }),
12318
12323
  /* @__PURE__ */ g.jsxs("div", { children: [
12319
12324
  /* @__PURE__ */ g.jsx("label", { style: { ...te, marginBottom: "8px" }, children: "Attachments" }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qwanyx/stack",
3
- "version": "0.2.27",
3
+ "version": "0.2.28",
4
4
  "description": "Modern HyperCard for React - All-in-one data management (REST + Graph API + Auth + Hooks + UI)",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",