caplink-saas-ui-shared-component-library 1.27.2 → 1.27.3

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
@@ -9291,34 +9291,31 @@ const lpe = at(HO), BV = lb, $V = cb, VV = na, zV = ub, WO = C.forwardRef(({ cla
9291
9291
  }
9292
9292
  ));
9293
9293
  WO.displayName = Yl.displayName;
9294
- const UO = C.forwardRef(({ className: t, children: e, contentTitle: n, contentDescription: r, ...s }, o) => /* @__PURE__ */ m.jsxs(zV, { children: [
9295
- /* @__PURE__ */ m.jsx(WO, {}),
9296
- /* @__PURE__ */ m.jsxs(
9297
- Xl,
9298
- {
9299
- ref: o,
9300
- className: q(
9301
- "sl-fixed sl-border sl-border-foreground-v2-100 sl-left-[50%] sl-top-[50%] sl-z-50 sl-translate-x-[-50%] sl-translate-y-[-50%] sl-bg-white sl-p-6 sl-shadow-lg sl-duration-200",
9302
- "sl-flex sl-flex-col sl-gap-4 sl-w-full sl-h-fit sl-max-h-[calc(100vh-32px)] sl-max-w-[400px]",
9303
- "sl-text-md sl-text-foreground-v2-700 sl-rounded-lg",
9304
- "data-[state=open]:sl-animate-in data-[state=closed]:sl-animate-out data-[state=closed]:sl-fade-out-0 data-[state=open]:sl-fade-in-0 data-[state=closed]:sl-zoom-out-95 data-[state=open]:sl-zoom-in-95 data-[state=closed]:sl-slide-out-to-left-1/2 data-[state=closed]:sl-slide-out-to-top-[48%] data-[state=open]:sl-slide-in-from-left-1/2 data-[state=open]:sl-slide-in-from-top-[48%]",
9305
- t
9306
- ),
9307
- ...s,
9308
- children: [
9309
- /* @__PURE__ */ m.jsxs(KO, { children: [
9310
- /* @__PURE__ */ m.jsx(GO, { children: n }),
9311
- r && /* @__PURE__ */ m.jsx(ZO, { children: r })
9312
- ] }),
9313
- /* @__PURE__ */ m.jsxs(na, { className: "sl-absolute sl-right-6 sl-top-6 sl-rounded-sm sl-ring-offset-background focus:sl-outline-none focus:sl-ring-2 focus:sl-ring-ring focus:sl-ring-offset-2 disabled:sl-pointer-events-none", children: [
9314
- /* @__PURE__ */ m.jsx(eb, { className: "sl-h-4 sl-w-4 sl-text-foreground-v2-800" }),
9315
- /* @__PURE__ */ m.jsx("span", { className: "sl-sr-only", children: "Close" })
9316
- ] }),
9317
- /* @__PURE__ */ m.jsx("div", { className: "sl-overflow-y-auto sl-h-full", children: e })
9318
- ]
9319
- }
9320
- )
9321
- ] }));
9294
+ const UO = C.forwardRef(({ className: t, children: e, contentTitle: n, contentDescription: r, ...s }, o) => /* @__PURE__ */ m.jsx(zV, { children: /* @__PURE__ */ m.jsx(WO, { children: /* @__PURE__ */ m.jsxs(
9295
+ Xl,
9296
+ {
9297
+ ref: o,
9298
+ className: q(
9299
+ "sl-fixed sl-border sl-border-foreground-v2-100 sl-left-[50%] sl-top-[50%] sl-z-50 sl-translate-x-[-50%] sl-translate-y-[-50%] sl-bg-white sl-p-6 sl-shadow-lg sl-duration-200",
9300
+ "sl-flex sl-flex-col sl-gap-4 sl-w-full sl-h-fit sl-max-h-[calc(100vh-32px)] sl-max-w-[400px]",
9301
+ "sl-text-md sl-text-foreground-v2-700 sl-rounded-lg",
9302
+ "data-[state=open]:sl-animate-in data-[state=closed]:sl-animate-out data-[state=closed]:sl-fade-out-0 data-[state=open]:sl-fade-in-0 data-[state=closed]:sl-zoom-out-95 data-[state=open]:sl-zoom-in-95 data-[state=closed]:sl-slide-out-to-left-1/2 data-[state=closed]:sl-slide-out-to-top-[48%] data-[state=open]:sl-slide-in-from-left-1/2 data-[state=open]:sl-slide-in-from-top-[48%]",
9303
+ t
9304
+ ),
9305
+ ...s,
9306
+ children: [
9307
+ /* @__PURE__ */ m.jsxs(KO, { children: [
9308
+ /* @__PURE__ */ m.jsx(GO, { children: n }),
9309
+ r && /* @__PURE__ */ m.jsx(ZO, { children: r })
9310
+ ] }),
9311
+ /* @__PURE__ */ m.jsxs(na, { className: "sl-absolute sl-right-6 sl-top-6 sl-rounded-sm sl-ring-offset-background focus:sl-outline-none focus:sl-ring-2 focus:sl-ring-ring focus:sl-ring-offset-2 disabled:sl-pointer-events-none", children: [
9312
+ /* @__PURE__ */ m.jsx(eb, { className: "sl-h-4 sl-w-4 sl-text-foreground-v2-800" }),
9313
+ /* @__PURE__ */ m.jsx("span", { className: "sl-sr-only", children: "Close" })
9314
+ ] }),
9315
+ /* @__PURE__ */ m.jsx("div", { className: "sl-overflow-y-auto sl-h-full", children: e })
9316
+ ]
9317
+ }
9318
+ ) }) }));
9322
9319
  UO.displayName = Xl.displayName;
9323
9320
  const KO = ({ className: t, ...e }) => /* @__PURE__ */ m.jsx("div", { className: q("sl-flex sl-flex-col sl-gap-1 sl-text-left", t), ...e });
9324
9321
  KO.displayName = "DialogHeader";