asma-ui-core 3.68.0 → 3.68.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,23 +1,20 @@
|
|
|
1
|
-
import { resolveSx as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { jsx as
|
|
5
|
-
var
|
|
1
|
+
import { resolveSx as r } from "../../../helpers/sx.js";
|
|
2
|
+
import o from "clsx";
|
|
3
|
+
import "react";
|
|
4
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
5
|
+
var x = ({ children: e, className: i, sx: l, style: a, classes: c, disableSpacing: d, ...t }) => /* @__PURE__ */ s("div", {
|
|
6
6
|
"data-testid": "styled-dialog-actions",
|
|
7
7
|
className: "m-0 flex shrink-0 justify-center p-0",
|
|
8
8
|
style: {
|
|
9
|
-
...
|
|
9
|
+
...r(l),
|
|
10
10
|
...a
|
|
11
11
|
},
|
|
12
|
-
...
|
|
13
|
-
children: /* @__PURE__ */
|
|
14
|
-
className:
|
|
15
|
-
children:
|
|
16
|
-
className: "max-md:flex-1 max-md:[&_button]:w-full",
|
|
17
|
-
children: t
|
|
18
|
-
}))
|
|
12
|
+
...t,
|
|
13
|
+
children: /* @__PURE__ */ s("div", {
|
|
14
|
+
className: o("flex w-full justify-end gap-2 p-4", i),
|
|
15
|
+
children: e
|
|
19
16
|
})
|
|
20
17
|
});
|
|
21
18
|
export {
|
|
22
|
-
|
|
19
|
+
x as StyledDialogActions
|
|
23
20
|
};
|
|
@@ -4,9 +4,6 @@ interface DialogActionsProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
4
4
|
classes?: Record<string, string>;
|
|
5
5
|
disableSpacing?: boolean;
|
|
6
6
|
}
|
|
7
|
-
/**
|
|
8
|
-
* MUI-free dialog actions: a right-aligned flex row of buttons; on mobile each button wrapper
|
|
9
|
-
* stretches full width (was a SCSS media query, now Tailwind `max-md:` arbitrary variant). TASK-101.
|
|
10
|
-
*/
|
|
7
|
+
/** MUI-free dialog actions: a right-aligned flex row of buttons. TASK-101. */
|
|
11
8
|
export declare const StyledDialogActions: ({ children, className, sx, style, classes: _classes, disableSpacing: _disableSpacing, ...rest }: DialogActionsProps) => JSX.Element;
|
|
12
9
|
export {};
|