mainstack-design-system 1.1.2 → 1.1.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.
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("./index-HSoR75mY.cjs"),l=require("react"),i=require("./mainstack-design-system586.cjs"),r=require("./index-D1Vkm5Kx.cjs"),
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("./index-HSoR75mY.cjs"),l=require("react"),i=require("./mainstack-design-system586.cjs"),r=require("./index-D1Vkm5Kx.cjs"),o=l.forwardRef(({children:d,className:n,...a})=>e.jsx("div",{className:"fixed w-full h-full flex justify-center top-0 left-0 items-end z-100 md:items-center ",children:e.jsxs(t.DialogContent,{"data-slot":"modal-body",className:i.cn("group/Modal-body flex will-change-transform max-h-[90dvh] max-w-980 shadow-600 rounded-t-20 overflow-hidden bg-surface-neutral-l1 animate-content-scale-out data-[state=open]:animate-content-scale-in md:rounded-20 md:mx-20 ",n),...a,children:[d,e.jsx(r.VisuallyHidden,{children:e.jsx(t.DialogDescription,{})})]})}));o.displayName="ModalBody";exports.ModalBody=o;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { jsx as e, jsxs as
|
|
3
|
-
import { d as
|
|
2
|
+
import { jsx as e, jsxs as d } from "react/jsx-runtime";
|
|
3
|
+
import { d as l, g as r } from "./index-qXBwwKNh.js";
|
|
4
4
|
import { forwardRef as n } from "react";
|
|
5
5
|
import { cn as i } from "./mainstack-design-system586.js";
|
|
6
6
|
import { V as m } from "./index-oS7tHm-8.js";
|
|
7
7
|
const s = n(
|
|
8
|
-
({ children: o, className: a, ...
|
|
9
|
-
|
|
8
|
+
({ children: o, className: a, ...t }) => /* @__PURE__ */ e("div", { className: "fixed w-full h-full flex justify-center top-0 left-0 items-end z-100 md:items-center ", children: /* @__PURE__ */ d(
|
|
9
|
+
l,
|
|
10
10
|
{
|
|
11
11
|
"data-slot": "modal-body",
|
|
12
12
|
className: i(
|
|
13
13
|
"group/Modal-body flex will-change-transform max-h-[90dvh] max-w-980 shadow-600 rounded-t-20 overflow-hidden bg-surface-neutral-l1 animate-content-scale-out data-[state=open]:animate-content-scale-in md:rounded-20 md:mx-20 ",
|
|
14
14
|
a
|
|
15
15
|
),
|
|
16
|
-
...
|
|
16
|
+
...t,
|
|
17
17
|
children: [
|
|
18
18
|
o,
|
|
19
|
-
/* @__PURE__ */ e(m, { children: /* @__PURE__ */ e(
|
|
19
|
+
/* @__PURE__ */ e(m, { children: /* @__PURE__ */ e(r, {}) })
|
|
20
20
|
]
|
|
21
21
|
}
|
|
22
22
|
) })
|