fui-material 2.2.16 → 2.2.18
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/f-ui-kit.es.js +2 -7
- package/dist/f-ui-kit.es.js.map +1 -1
- package/dist/main.css +1 -1
- package/package.json +1 -1
package/dist/f-ui-kit.es.js
CHANGED
|
@@ -977,20 +977,15 @@ const FButton = forwardRef(({
|
|
|
977
977
|
...props
|
|
978
978
|
}, ref) => {
|
|
979
979
|
const inputId = props.id || `button-${Math.random().toString(36).substring(2, 9)}`;
|
|
980
|
-
let style =
|
|
980
|
+
let style = { width: "fit-content" };
|
|
981
981
|
if (fullWidth) {
|
|
982
982
|
if (style === void 0) {
|
|
983
983
|
style = { width: "100%" };
|
|
984
984
|
} else {
|
|
985
985
|
style.width = "100%";
|
|
986
986
|
}
|
|
987
|
-
} else {
|
|
988
|
-
if (style === void 0) {
|
|
989
|
-
style = { width: "fit-content" };
|
|
990
|
-
} else {
|
|
991
|
-
style.width = "fit-content";
|
|
992
|
-
}
|
|
993
987
|
}
|
|
988
|
+
style = st !== void 0 ? { ...style, ...st } : style;
|
|
994
989
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
995
990
|
"button",
|
|
996
991
|
{
|