@ambuj.bhaskar/react-component-library 0.11.2-alpha → 0.11.4-alpha

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.js CHANGED
@@ -72,6 +72,11 @@ import './assets/index.css';const Eb = {
72
72
  footer: {
73
73
  background: "#FFCC00"
74
74
  }
75
+ },
76
+ topbar: {
77
+ background: "#FFFFFF",
78
+ text: "#292929",
79
+ border: "#EAEBEE"
75
80
  }
76
81
  }, Sb = {
77
82
  text: {
@@ -1238,9 +1243,9 @@ const _b = ({
1238
1243
  // Type
1239
1244
  variant: e = "primary",
1240
1245
  // Color
1241
- backgroundColor: t = "#FFCC00",
1242
- borderColor: n = "#292929",
1243
- textColor: r = "#292929",
1246
+ backgroundColor: t,
1247
+ borderColor: n,
1248
+ textColor: r,
1244
1249
  iconColor: a,
1245
1250
  // Size
1246
1251
  width: s,
@@ -1260,7 +1265,7 @@ const _b = ({
1260
1265
  // Other
1261
1266
  className: h,
1262
1267
  ...S
1263
- }) => (d = d ?? FE[c], u = u ?? DE[c], a = a ?? r, s = s ?? "max-content", (C || !y) && (f = "center"), /* @__PURE__ */ he.jsx(
1268
+ }) => (d = d ?? FE[c], u = u ?? DE[c], a = a ?? r, s = s ?? "max-content", b && !y && (f = "center", m = "0"), (C || !y) && (f = "center"), /* @__PURE__ */ he.jsx(
1264
1269
  "button",
1265
1270
  {
1266
1271
  className: `button ${p ? "disabled" : ""} ${e} size_${c} ${g} ${y ? "" : "icon_button"} ${h || ""} text_${u} ${g} ${s === "max-content" ? "hugging" : ""} `,
@@ -26633,6 +26638,7 @@ const PN = ({
26633
26638
  "footer",
26634
26639
  {
26635
26640
  className: `awi_sidebar_footer ${e == s.footer.key ? "active" : ""}`,
26641
+ onClick: s.footer.action,
26636
26642
  children: [
26637
26643
  /* @__PURE__ */ he.jsx("img", { src: s.footer.image, alt: "Footer or Profile Image" }),
26638
26644
  /* @__PURE__ */ he.jsxs(