@inspirare/design-system 0.0.30 → 0.0.31
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.
|
@@ -33,7 +33,7 @@ function c({ className: t, ...r }) {
|
|
|
33
33
|
function l({ className: t, size: a = "default", ...o }) {
|
|
34
34
|
return /* @__PURE__ */ r(s, { children: [/* @__PURE__ */ n(c, {}), /* @__PURE__ */ n(i.Viewport, {
|
|
35
35
|
"data-slot": "alert-dialog-viewport",
|
|
36
|
-
className: "fixed inset-0 z-50
|
|
36
|
+
className: "fixed inset-0 z-50 flex flex-col items-center justify-start overflow-y-auto p-4 sm:p-6 pointer-events-none",
|
|
37
37
|
children: /* @__PURE__ */ n(i.Popup, {
|
|
38
38
|
"data-slot": "alert-dialog-content",
|
|
39
39
|
"data-size": a,
|
|
@@ -39,7 +39,7 @@ function d({ className: t, ...n }) {
|
|
|
39
39
|
}
|
|
40
40
|
var f = a.forwardRef(({ className: a, children: s, showCloseButton: c = !0, ...u }, f) => /* @__PURE__ */ i(l, { children: [/* @__PURE__ */ r(d, {}), /* @__PURE__ */ r(o.Viewport, {
|
|
41
41
|
"data-slot": "dialog-viewport",
|
|
42
|
-
className: "fixed inset-0 z-50
|
|
42
|
+
className: "fixed inset-0 z-50 flex flex-col items-center justify-start overflow-y-auto p-4 sm:p-6 pointer-events-none",
|
|
43
43
|
children: /* @__PURE__ */ i(o.Popup, {
|
|
44
44
|
ref: f,
|
|
45
45
|
"data-slot": "dialog-content",
|
package/package.json
CHANGED
|
@@ -50,7 +50,7 @@ function AlertDialogContent({
|
|
|
50
50
|
<AlertDialogOverlay />
|
|
51
51
|
<AlertDialogPrimitive.Viewport
|
|
52
52
|
data-slot="alert-dialog-viewport"
|
|
53
|
-
className="fixed inset-0 z-50
|
|
53
|
+
className="fixed inset-0 z-50 flex flex-col items-center justify-start overflow-y-auto p-4 sm:p-6 pointer-events-none"
|
|
54
54
|
>
|
|
55
55
|
<AlertDialogPrimitive.Popup
|
|
56
56
|
data-slot="alert-dialog-content"
|
|
@@ -56,7 +56,7 @@ const DialogContent = React.forwardRef<
|
|
|
56
56
|
<DialogOverlay />
|
|
57
57
|
<DialogPrimitive.Viewport
|
|
58
58
|
data-slot="dialog-viewport"
|
|
59
|
-
className="fixed inset-0 z-50
|
|
59
|
+
className="fixed inset-0 z-50 flex flex-col items-center justify-start overflow-y-auto p-4 sm:p-6 pointer-events-none"
|
|
60
60
|
>
|
|
61
61
|
<DialogPrimitive.Popup
|
|
62
62
|
ref={ref}
|