@jaw.id/ui 0.4.14 → 0.4.15

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.
Files changed (2) hide show
  1. package/dist/index.js +7 -10
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -53127,7 +53127,7 @@ function YL(e = 768) {
53127
53127
  }
53128
53128
  //#endregion
53129
53129
  //#region ../core/dist/sdk-info.js
53130
- var XL = "0.4.4";
53130
+ var XL = "0.4.5";
53131
53131
  (/* @__PURE__ */ L(((e, t) => {
53132
53132
  var n = Object.prototype.hasOwnProperty, r = "~";
53133
53133
  function i() {}
@@ -59210,7 +59210,7 @@ var pW = ({ open: e, onOpenChange: t, message: n, origin: r, timestamp: i, appNa
59210
59210
  children: /* @__PURE__ */ B(_N, {
59211
59211
  type: "multiple",
59212
59212
  className: "w-full",
59213
- defaultValue: [],
59213
+ defaultValue: [o],
59214
59214
  children: /* @__PURE__ */ V(vN, {
59215
59215
  value: o,
59216
59216
  className: "border-none",
@@ -59315,7 +59315,7 @@ var pW = ({ open: e, onOpenChange: t, message: n, origin: r, timestamp: i, appNa
59315
59315
  children: /* @__PURE__ */ B(_N, {
59316
59316
  type: "multiple",
59317
59317
  className: "w-full",
59318
- defaultValue: [],
59318
+ defaultValue: [a],
59319
59319
  children: /* @__PURE__ */ V(vN, {
59320
59320
  value: a,
59321
59321
  className: "border-none",
@@ -59499,7 +59499,7 @@ var pW = ({ open: e, onOpenChange: t, message: n, origin: r, timestamp: i, appNa
59499
59499
  children: /* @__PURE__ */ V("div", {
59500
59500
  className: "flex flex-col justify-between gap-6 max-md:h-full",
59501
59501
  children: [/* @__PURE__ */ V("div", {
59502
- className: "flex max-h-[60vh] min-h-0 flex-col gap-3 overflow-y-auto max-md:flex-1",
59502
+ className: "flex min-h-0 flex-col gap-3 max-md:flex-1",
59503
59503
  children: [
59504
59504
  (() => {
59505
59505
  if (!y) return /* @__PURE__ */ B("div", {
@@ -59511,16 +59511,13 @@ var pW = ({ open: e, onOpenChange: t, message: n, origin: r, timestamp: i, appNa
59511
59511
  });
59512
59512
  let e = /* @__PURE__ */ B("div", {
59513
59513
  ref: h,
59514
- className: "bg-muted/30 dark:bg-muted/10 border-border flex overflow-y-auto rounded-[6px] border p-3",
59514
+ className: "bg-muted/30 dark:bg-muted/10 border-border max-h-[50vh] overflow-y-auto rounded-[6px] border p-3",
59515
59515
  children: /* @__PURE__ */ B(bW, {
59516
59516
  data: y,
59517
59517
  depth: 0
59518
59518
  })
59519
59519
  });
59520
- return !x || x.rows.length === 0 ? /* @__PURE__ */ B("div", {
59521
- className: "max-h-[50vh] flex-1",
59522
- children: e
59523
- }) : /* @__PURE__ */ V("div", {
59520
+ return !x || x.rows.length === 0 ? e : /* @__PURE__ */ V("div", {
59524
59521
  className: "flex flex-col gap-2",
59525
59522
  children: [/* @__PURE__ */ B("div", {
59526
59523
  className: "bg-muted/30 dark:bg-muted/10 border-border rounded-[6px] border p-3",
@@ -59535,7 +59532,7 @@ var pW = ({ open: e, onOpenChange: t, message: n, origin: r, timestamp: i, appNa
59535
59532
  className: "text-muted-foreground hover:text-foreground cursor-pointer",
59536
59533
  children: "Show raw details"
59537
59534
  }), /* @__PURE__ */ B("div", {
59538
- className: "mt-1 max-h-[40vh]",
59535
+ className: "mt-1",
59539
59536
  children: e
59540
59537
  })]
59541
59538
  })]
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jaw.id/ui",
3
3
  "description": "Pre-built React dialogs for JAW.id",
4
- "version": "0.4.14",
4
+ "version": "0.4.15",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "sideEffects": [