@getsoren/design-system 4.91.3 → 4.91.4

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/main.js CHANGED
@@ -24521,30 +24521,30 @@ var gC = (e) => /* @__PURE__ */ k(mt, {
24521
24521
  strokeDasharray: "30",
24522
24522
  strokeDashoffset: "-30"
24523
24523
  }
24524
- }, w9 = ({ title: e, subtitle: t, buttonPrimary: r, buttonSecondary: n, color: a = "secondary", fullWidth: i = !0, maxWidth: l = "xs", onClose: s, ...c }) => /* @__PURE__ */ k(OA, {
24525
- maxWidth: l,
24526
- fullWidth: i,
24527
- onClose: s,
24524
+ }, w9 = ({ title: e, subtitle: t, buttonPrimary: r, buttonSecondary: n, onClose: a, color: i = "secondary", fullWidth: l = !0, maxWidth: s = "xs", ...c }) => /* @__PURE__ */ k(OA, {
24525
+ maxWidth: s,
24526
+ fullWidth: l,
24527
+ onClose: a,
24528
24528
  ...c,
24529
- sx: { "& .MuiDialog-paper": { borderColor: ({ palette: u }) => u[a]["30p"] } },
24529
+ sx: { "& .MuiDialog-paper": { borderColor: ({ palette: u }) => u[i]["30p"] } },
24530
24530
  children: [/* @__PURE__ */ k(MA, {
24531
24531
  sx: {
24532
24532
  alignItems: "center",
24533
- backgroundColor: ({ palette: u }) => u[a]["4p"],
24533
+ backgroundColor: ({ palette: u }) => u[i]["4p"],
24534
24534
  display: "flex",
24535
24535
  flexDirection: "column",
24536
24536
  padding: 3,
24537
24537
  textAlign: "center",
24538
- ...(r || n) && { borderBottom: ({ palette: u }) => `1px solid ${u[a]["12p"]}` }
24538
+ ...(r || n) && { borderBottom: ({ palette: u }) => `1px solid ${u[i]["12p"]}` }
24539
24539
  },
24540
24540
  children: [
24541
- /* @__PURE__ */ d(oA, { onClick: (u) => s?.(u, "closeButton") }),
24541
+ /* @__PURE__ */ d(oA, { onClick: (u) => a?.(u, "closeButton") }),
24542
24542
  /* @__PURE__ */ d(W, {
24543
24543
  sx: {
24544
24544
  alignItems: "center",
24545
- backgroundColor: ({ palette: u }) => u[a]["12p"],
24545
+ backgroundColor: ({ palette: u }) => u[i]["12p"],
24546
24546
  borderRadius: "50%",
24547
- color: ({ palette: u }) => u[a].main,
24547
+ color: ({ palette: u }) => u[i].main,
24548
24548
  display: "flex",
24549
24549
  flexShrink: 0,
24550
24550
  height: Cu,
@@ -24593,6 +24593,7 @@ var gC = (e) => /* @__PURE__ */ k(mt, {
24593
24593
  size: "small",
24594
24594
  isLoading: r?.loading,
24595
24595
  onClick: r?.onClick,
24596
+ sx: n ? { flex: 2 } : void 0,
24596
24597
  endIcon: /* @__PURE__ */ d("svg", {
24597
24598
  width: "18",
24598
24599
  height: "18",
@@ -31,5 +31,5 @@ interface DialogValidationProps extends Omit<DialogProps, "children" | "onClose"
31
31
  */
32
32
  onClose?: (event: {}, reason?: string) => void;
33
33
  }
34
- declare const DialogValidation: ({ title, subtitle, buttonPrimary, buttonSecondary, color, fullWidth, maxWidth, onClose, ...props }: DialogValidationProps) => import("@emotion/react/jsx-runtime").JSX.Element;
34
+ declare const DialogValidation: ({ title, subtitle, buttonPrimary, buttonSecondary, onClose, color, fullWidth, maxWidth, ...props }: DialogValidationProps) => import("@emotion/react/jsx-runtime").JSX.Element;
35
35
  export default DialogValidation;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@getsoren/design-system",
3
3
  "description": "Design System React library",
4
4
  "sideEffects": false,
5
- "version": "4.91.3",
5
+ "version": "4.91.4",
6
6
  "license": "ISC",
7
7
  "type": "module",
8
8
  "types": "./dist/src/main.d.ts",