@middag-io/react 0.36.0 → 0.36.2

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.
@@ -1,5 +1,5 @@
1
1
  import { i as e, t } from "./chunk-DeC0fbbY.js";
2
- import { $ as n, A as r, At as i, B as a, C as o, Ct as s, D as c, Dt as l, E as u, Et as d, F as f, G as p, H as m, I as h, J as g, K as _, L as v, M as y, Mt as b, N as x, O as ee, Ot as S, P as C, Q as te, R as w, S as ne, St as re, T as ie, Tt as T, U as E, V as ae, W as oe, X as D, Y as se, Z as ce, _ as le, _t as ue, a as de, at as fe, b as pe, bt as me, c as he, ct as ge, d as _e, dt as ve, et as ye, f as be, ft as O, g as xe, gt as Se, h as k, ht as Ce, i as we, it as Te, j as Ee, jt as A, k as De, kt as j, l as Oe, lt as ke, m as Ae, mt as je, n as Me, nt as Ne, o as Pe, ot as Fe, p as Ie, pt as Le, q as Re, r as ze, rt as Be, s as Ve, st as He, t as Ue, tt as We, u as Ge, ut as Ke, v as qe, vt as Je, w as Ye, wt as M, x as Xe, xt as Ze, y as Qe, yt as N, z as $e } from "./resolve-field-error-DbMTg4Lj.js";
2
+ import { $ as n, A as r, At as i, B as a, C as o, Ct as s, D as c, Dt as l, E as u, Et as d, F as f, G as p, H as m, I as h, J as g, K as _, L as v, M as y, Mt as b, N as x, O as ee, Ot as S, P as C, Q as te, R as w, S as ne, St as re, T as ie, Tt as T, U as E, V as ae, W as oe, X as D, Y as se, Z as ce, _ as le, _t as ue, a as de, at as fe, b as pe, bt as me, c as he, ct as ge, d as _e, dt as ve, et as ye, f as be, ft as O, g as xe, gt as Se, h as k, ht as Ce, i as we, it as Te, j as Ee, jt as A, k as De, kt as j, l as Oe, lt as ke, m as Ae, mt as je, n as Me, nt as Ne, o as Pe, ot as Fe, p as Ie, pt as Le, q as Re, r as ze, rt as Be, s as Ve, st as He, t as Ue, tt as We, u as Ge, ut as Ke, v as qe, vt as Je, w as Ye, wt as M, x as Xe, xt as Ze, y as Qe, yt as N, z as $e } from "./resolve-field-error-D19vvPuS.js";
3
3
  import { a as et, c as tt, d as nt, f as rt, g as it, i as at, l as ot, m as st, n as ct, o as P, p as lt, r as ut, t as F, u as dt } from "./button-Bm0X9WO5.js";
4
4
  import { a as ft, at as pt, c as mt, d as ht, f as gt, g as _t, h as vt, i as yt, l as bt, m as xt, n as St, o as Ct, ot as wt, p as Tt, r as Et, rt as Dt, s as Ot, t as kt, u as At } from "./combobox-oPnHtaA6.js";
5
5
  import { t as jt } from "./chevron-right-DY3SdwdB.js";
@@ -7076,7 +7076,7 @@ function kp({ block: e }) {
7076
7076
  }
7077
7077
  //#endregion
7078
7078
  //#region src/base/blocks/FormPanelBlock.lazy.tsx
7079
- var Ap = Tr(() => import("./FormPanelBlock-CbM3PiH7.js").then((e) => ({ default: e.FormPanelBlock })));
7079
+ var Ap = Tr(() => import("./FormPanelBlock-Dj-SSYZf.js").then((e) => ({ default: e.FormPanelBlock })));
7080
7080
  function jp() {
7081
7081
  return /* @__PURE__ */ J("div", {
7082
7082
  className: "mx-auto max-w-[720px] space-y-6",
@@ -8164,6 +8164,7 @@ function kg({ id: e, title: t, description: n, children: r, defaultCollapsed: i
8164
8164
  t && /* @__PURE__ */ U("div", {
8165
8165
  className: "-mt-2 flex items-center justify-between",
8166
8166
  children: [f ? /* @__PURE__ */ U(d, {
8167
+ type: "button",
8167
8168
  variant: "ghost",
8168
8169
  size: "sm",
8169
8170
  onClick: () => !a && l(!c),
@@ -8196,7 +8197,7 @@ function kg({ id: e, title: t, description: n, children: r, defaultCollapsed: i
8196
8197
  }),
8197
8198
  /* @__PURE__ */ H("div", {
8198
8199
  id: u,
8199
- className: z("transition-[opacity,height] duration-200 ease-[var(--ease-default)]", p ? "opacity-100" : "hidden opacity-0"),
8200
+ className: z("space-y-5 transition-[opacity,height] duration-200 ease-[var(--ease-default)]", p ? "opacity-100" : "hidden opacity-0"),
8200
8201
  children: r
8201
8202
  })
8202
8203
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@middag-io/react",
3
- "version": "0.36.0",
3
+ "version": "0.36.2",
4
4
  "type": "module",
5
5
  "description": "MIDDAG shared React UI library for Moodle, WordPress and other Inertia hosts",
6
6
  "license": "Apache-2.0",