@ambuj.bhaskar/react-component-library 0.11.2-alpha → 0.11.3-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.cjs +2 -2
- package/dist/index.js +9 -4
- package/dist/index.umd.js +32 -32
- package/package.json +1 -1
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
|
|
1242
|
-
borderColor: n
|
|
1243
|
-
textColor: r
|
|
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" : ""} `,
|