@kashifd/jwero-components 0.5.42 → 0.5.43

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
@@ -38958,7 +38958,7 @@ const GM = ({
38958
38958
  current_step: 1
38959
38959
  },
38960
38960
  sx: l
38961
- }) => /* @__PURE__ */ p.jsxs(
38961
+ }) => /* @__PURE__ */ p.jsx(
38962
38962
  Pe,
38963
38963
  {
38964
38964
  direction: "row",
@@ -38970,104 +38970,101 @@ const GM = ({
38970
38970
  borderBottom: "1px solid rgba(85, 87, 112, 0.08)",
38971
38971
  ...l
38972
38972
  },
38973
- children: [
38974
- /* @__PURE__ */ p.jsxs(Pe, { sx: { gap: "0.65rem" }, children: [
38975
- /* @__PURE__ */ p.jsxs(Pe, { direction: "row", alignItems: "center", sx: { gap: "0.5rem" }, children: [
38976
- (a == null ? void 0 : a.flag) && /* @__PURE__ */ p.jsx(
38977
- On,
38978
- {
38979
- disableRipple: !0,
38980
- sx: {
38981
- margin: 0,
38982
- padding: "0.05rem",
38983
- backgroundColor: "white",
38984
- "&:hover": {
38985
- boxShadow: "0px 0px 1px 0px rgba(0, 0, 0, 0.40)"
38986
- }
38987
- },
38988
- onClick: o,
38989
- children: (a == null ? void 0 : a.flag) && (a == null ? void 0 : a.icon) && (a == null ? void 0 : a.icon)
38990
- }
38991
- ),
38992
- (i == null ? void 0 : i.flag) && /* @__PURE__ */ p.jsx(
38993
- Pe,
38994
- {
38995
- sx: {
38996
- padding: "0.35rem 0.5rem",
38997
- borderRadius: "0.5rem",
38998
- backgroundColor: "white",
38973
+ children: /* @__PURE__ */ p.jsxs(Pe, { sx: { gap: "0.65rem", width: "100%" }, children: [
38974
+ /* @__PURE__ */ p.jsxs(Pe, { direction: "row", alignItems: "center", sx: { gap: "0.5rem" }, children: [
38975
+ (a == null ? void 0 : a.flag) && /* @__PURE__ */ p.jsx(
38976
+ On,
38977
+ {
38978
+ disableRipple: !0,
38979
+ sx: {
38980
+ margin: 0,
38981
+ padding: "0.05rem",
38982
+ backgroundColor: "white",
38983
+ "&:hover": {
38999
38984
  boxShadow: "0px 0px 1px 0px rgba(0, 0, 0, 0.40)"
39000
- },
39001
- children: /* @__PURE__ */ p.jsxs(
39002
- Mt,
39003
- {
39004
- sx: {
39005
- fontSize: "0.75rem",
39006
- lineHeight: "normal",
39007
- letterSpacing: "-0.015rem",
39008
- fontWeight: 500
39009
- },
39010
- children: [
39011
- /* @__PURE__ */ p.jsxs("span", { style: { color: "#012687" }, children: [
39012
- i != null && i.custom_name ? (i == null ? void 0 : i.custom_name) + " " : "Steps ",
39013
- (i == null ? void 0 : i.current_step) ?? "1 "
39014
- ] }),
39015
- /* @__PURE__ */ p.jsxs("span", { style: { color: "rgba(85, 87, 112, 0.5) " }, children: [
39016
- " ",
39017
- "/ ",
39018
- (i == null ? void 0 : i.total_steps) ?? 1
39019
- ] })
39020
- ]
39021
- }
39022
- )
39023
- }
39024
- )
39025
- ] }),
39026
- /* @__PURE__ */ p.jsxs(Pe, { sx: { width: "100%" }, children: [
39027
- /* @__PURE__ */ p.jsxs(
39028
- Pe,
39029
- {
39030
- direction: "row",
39031
- alignItems: "center",
39032
- justifyContent: "space-between",
39033
- sx: { gap: "1rem", width: "100%" },
39034
- children: [
39035
- /* @__PURE__ */ p.jsxs(Pe, { sx: { gap: "0.5rem" }, children: [
39036
- (s == null ? void 0 : s.icon) && (s == null ? void 0 : s.position) === "start" && /* @__PURE__ */ p.jsx(
39037
- Pe,
39038
- {
39039
- sx: {
39040
- borderRadius: "0.5rem",
39041
- backgroundColor: "white",
39042
- padding: "0.5rem",
39043
- ...s == null ? void 0 : s.sx
39044
- },
39045
- children: s == null ? void 0 : s.icon
39046
- }
39047
- ),
39048
- /* @__PURE__ */ p.jsx(Je, { variant: "xxxlSemibold", children: e }),
39049
- (s == null ? void 0 : s.icon) && (s == null ? void 0 : s.position) === "end" && /* @__PURE__ */ p.jsx(
39050
- Pe,
39051
- {
39052
- sx: {
39053
- borderRadius: "0.5rem",
39054
- backgroundColor: "white",
39055
- padding: "0.5rem",
39056
- ...s == null ? void 0 : s.sx
39057
- },
39058
- children: s == null ? void 0 : s.icon
39059
- }
39060
- )
39061
- ] }),
39062
- r && r
39063
- ]
39064
- }
39065
- ),
39066
- t && /* @__PURE__ */ p.jsx(Je, { children: t })
39067
- ] })
38985
+ }
38986
+ },
38987
+ onClick: o,
38988
+ children: (a == null ? void 0 : a.flag) && (a == null ? void 0 : a.icon) && (a == null ? void 0 : a.icon)
38989
+ }
38990
+ ),
38991
+ (i == null ? void 0 : i.flag) && /* @__PURE__ */ p.jsx(
38992
+ Pe,
38993
+ {
38994
+ sx: {
38995
+ padding: "0.35rem 0.5rem",
38996
+ borderRadius: "0.5rem",
38997
+ backgroundColor: "white",
38998
+ boxShadow: "0px 0px 1px 0px rgba(0, 0, 0, 0.40)"
38999
+ },
39000
+ children: /* @__PURE__ */ p.jsxs(
39001
+ Mt,
39002
+ {
39003
+ sx: {
39004
+ fontSize: "0.75rem",
39005
+ lineHeight: "normal",
39006
+ letterSpacing: "-0.015rem",
39007
+ fontWeight: 500
39008
+ },
39009
+ children: [
39010
+ /* @__PURE__ */ p.jsxs("span", { style: { color: "#012687" }, children: [
39011
+ i != null && i.custom_name ? (i == null ? void 0 : i.custom_name) + " " : "Steps ",
39012
+ (i == null ? void 0 : i.current_step) ?? "1 "
39013
+ ] }),
39014
+ /* @__PURE__ */ p.jsxs("span", { style: { color: "rgba(85, 87, 112, 0.5) " }, children: [
39015
+ " ",
39016
+ "/ ",
39017
+ (i == null ? void 0 : i.total_steps) ?? 1
39018
+ ] })
39019
+ ]
39020
+ }
39021
+ )
39022
+ }
39023
+ )
39068
39024
  ] }),
39069
- /* @__PURE__ */ p.jsx(Pe, {})
39070
- ]
39025
+ /* @__PURE__ */ p.jsxs(Pe, { sx: { width: "100%" }, children: [
39026
+ /* @__PURE__ */ p.jsxs(
39027
+ Pe,
39028
+ {
39029
+ direction: "row",
39030
+ alignItems: "center",
39031
+ justifyContent: "space-between",
39032
+ sx: { gap: "1rem", width: "100%" },
39033
+ children: [
39034
+ /* @__PURE__ */ p.jsxs(Pe, { direction: "row", alignItems: "center", sx: { gap: "0.5rem" }, children: [
39035
+ (s == null ? void 0 : s.icon) && (s == null ? void 0 : s.position) === "start" && /* @__PURE__ */ p.jsx(
39036
+ Pe,
39037
+ {
39038
+ sx: {
39039
+ borderRadius: "0.5rem",
39040
+ backgroundColor: "white",
39041
+ padding: "0.5rem",
39042
+ ...s == null ? void 0 : s.sx
39043
+ },
39044
+ children: s == null ? void 0 : s.icon
39045
+ }
39046
+ ),
39047
+ /* @__PURE__ */ p.jsx(Je, { variant: "xxxlSemibold", children: e }),
39048
+ (s == null ? void 0 : s.icon) && (s == null ? void 0 : s.position) === "end" && /* @__PURE__ */ p.jsx(
39049
+ Pe,
39050
+ {
39051
+ sx: {
39052
+ borderRadius: "0.5rem",
39053
+ backgroundColor: "white",
39054
+ padding: "0.5rem",
39055
+ ...s == null ? void 0 : s.sx
39056
+ },
39057
+ children: s == null ? void 0 : s.icon
39058
+ }
39059
+ )
39060
+ ] }),
39061
+ r && r
39062
+ ]
39063
+ }
39064
+ ),
39065
+ t && /* @__PURE__ */ p.jsx(Je, { children: t })
39066
+ ] })
39067
+ ] })
39071
39068
  }
39072
39069
  ), ZM = ({
39073
39070
  primaryButtonProps: e,