@kashifd/jwero-components 0.7.85 → 0.7.87

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
@@ -48489,22 +48489,23 @@ const TW = ({
48489
48489
  subTitle: t,
48490
48490
  onClose: r,
48491
48491
  titleComponent: a,
48492
- titleIconProps: s,
48493
- endIconProps: c = {
48492
+ subTitleComponent: s,
48493
+ titleIconProps: c,
48494
+ endIconProps: u = {
48494
48495
  flag: !0,
48495
48496
  onClickFunction: r,
48496
48497
  icon: /* @__PURE__ */ v.jsx(Na, {})
48497
48498
  },
48498
- stepProps: u = {
48499
+ stepProps: g = {
48499
48500
  flag: !0,
48500
48501
  custom_name: "Steps",
48501
48502
  total_steps: 1,
48502
48503
  current_step: 1
48503
48504
  },
48504
- sx: g,
48505
- titleSx: m
48505
+ sx: m,
48506
+ titleSx: b
48506
48507
  }) => {
48507
- const b = Ot();
48508
+ const w = Ot();
48508
48509
  return /* @__PURE__ */ v.jsx(
48509
48510
  Fe,
48510
48511
  {
@@ -48515,11 +48516,11 @@ const TW = ({
48515
48516
  padding: "1rem",
48516
48517
  background: "var(--Gradient-4, linear-gradient(135deg, #FFF0EC 24.4%, #F5FFF9 97.75%))",
48517
48518
  borderBottom: "1px solid rgba(85, 87, 112, 0.08)",
48518
- ...g
48519
+ ...m
48519
48520
  },
48520
48521
  children: /* @__PURE__ */ v.jsxs(Fe, { sx: { gap: "0.65rem", width: "100%" }, children: [
48521
48522
  /* @__PURE__ */ v.jsxs(Fe, { direction: "row", alignItems: "center", sx: { gap: "0.5rem" }, children: [
48522
- (c == null ? void 0 : c.flag) && /* @__PURE__ */ v.jsx(
48523
+ (u == null ? void 0 : u.flag) && /* @__PURE__ */ v.jsx(
48523
48524
  dr,
48524
48525
  {
48525
48526
  disableRipple: !0,
@@ -48532,10 +48533,10 @@ const TW = ({
48532
48533
  }
48533
48534
  },
48534
48535
  onClick: r,
48535
- children: (c == null ? void 0 : c.flag) && (c == null ? void 0 : c.icon) && (c == null ? void 0 : c.icon)
48536
+ children: (u == null ? void 0 : u.flag) && (u == null ? void 0 : u.icon) && (u == null ? void 0 : u.icon)
48536
48537
  }
48537
48538
  ),
48538
- (u == null ? void 0 : u.flag) && /* @__PURE__ */ v.jsx(
48539
+ (g == null ? void 0 : g.flag) && /* @__PURE__ */ v.jsx(
48539
48540
  Fe,
48540
48541
  {
48541
48542
  sx: {
@@ -48554,14 +48555,14 @@ const TW = ({
48554
48555
  fontWeight: 500
48555
48556
  },
48556
48557
  children: [
48557
- /* @__PURE__ */ v.jsxs("span", { style: { color: b.colors.text_primary }, children: [
48558
- u != null && u.custom_name ? (u == null ? void 0 : u.custom_name) + " " : "Steps ",
48559
- (u == null ? void 0 : u.current_step) ?? "1 "
48558
+ /* @__PURE__ */ v.jsxs("span", { style: { color: w.colors.text_primary }, children: [
48559
+ g != null && g.custom_name ? (g == null ? void 0 : g.custom_name) + " " : "Steps ",
48560
+ (g == null ? void 0 : g.current_step) ?? "1 "
48560
48561
  ] }),
48561
48562
  /* @__PURE__ */ v.jsxs("span", { style: { color: "rgba(85, 87, 112, 0.5) " }, children: [
48562
48563
  " ",
48563
48564
  "/ ",
48564
- (u == null ? void 0 : u.total_steps) ?? 1
48565
+ (g == null ? void 0 : g.total_steps) ?? 1
48565
48566
  ] })
48566
48567
  ]
48567
48568
  }
@@ -48576,32 +48577,32 @@ const TW = ({
48576
48577
  direction: "row",
48577
48578
  alignItems: "center",
48578
48579
  justifyContent: "space-between",
48579
- sx: { gap: "1rem", width: "100%", ...m },
48580
+ sx: { gap: "1rem", width: "100%", ...b },
48580
48581
  children: [
48581
48582
  /* @__PURE__ */ v.jsxs(Fe, { direction: "row", alignItems: "center", sx: { gap: "0.5rem" }, children: [
48582
- (s == null ? void 0 : s.icon) && (s == null ? void 0 : s.position) === "start" && /* @__PURE__ */ v.jsx(
48583
+ (c == null ? void 0 : c.icon) && (c == null ? void 0 : c.position) === "start" && /* @__PURE__ */ v.jsx(
48583
48584
  Fe,
48584
48585
  {
48585
48586
  sx: {
48586
48587
  borderRadius: "0.5rem",
48587
- backgroundColor: b.colors.white,
48588
+ backgroundColor: w.colors.white,
48588
48589
  padding: "0.5rem",
48589
- ...s == null ? void 0 : s.sx
48590
+ ...c == null ? void 0 : c.sx
48590
48591
  },
48591
- children: s == null ? void 0 : s.icon
48592
+ children: c == null ? void 0 : c.icon
48592
48593
  }
48593
48594
  ),
48594
48595
  /* @__PURE__ */ v.jsx(nt, { sx: { color: "#012687" }, variant: "xxxlSemibold", children: e }),
48595
- (s == null ? void 0 : s.icon) && (s == null ? void 0 : s.position) === "end" && /* @__PURE__ */ v.jsx(
48596
+ (c == null ? void 0 : c.icon) && (c == null ? void 0 : c.position) === "end" && /* @__PURE__ */ v.jsx(
48596
48597
  Fe,
48597
48598
  {
48598
48599
  sx: {
48599
48600
  borderRadius: "0.5rem",
48600
- backgroundColor: b.colors.white,
48601
+ backgroundColor: w.colors.white,
48601
48602
  padding: "0.5rem",
48602
- ...s == null ? void 0 : s.sx
48603
+ ...c == null ? void 0 : c.sx
48603
48604
  },
48604
- children: s == null ? void 0 : s.icon
48605
+ children: c == null ? void 0 : c.icon
48605
48606
  }
48606
48607
  )
48607
48608
  ] }),
@@ -48609,7 +48610,8 @@ const TW = ({
48609
48610
  ]
48610
48611
  }
48611
48612
  ),
48612
- t && /* @__PURE__ */ v.jsx(nt, { sx: { color: "#012687" }, children: t })
48613
+ t && /* @__PURE__ */ v.jsx(nt, { sx: { color: "#012687", mt: "0.25rem" }, children: t }),
48614
+ s && s
48613
48615
  ] })
48614
48616
  ] })
48615
48617
  }
@@ -59935,7 +59937,7 @@ const ly = (e, t = 10) => {
59935
59937
  type: t,
59936
59938
  isClosable: r,
59937
59939
  onClose: a,
59938
- variant: s,
59940
+ variant: s = "simple",
59939
59941
  description: c,
59940
59942
  sx: u
59941
59943
  }) => {
@@ -61936,7 +61938,8 @@ const zH = ({
61936
61938
  fontStyle: "normal",
61937
61939
  fontWeight: "400",
61938
61940
  lineHeight: "normal",
61939
- letterSpacing: "-0.0175rem"
61941
+ letterSpacing: "-0.0175rem",
61942
+ whiteSpace: "pre-wrap"
61940
61943
  },
61941
61944
  children: r
61942
61945
  }