@firecms/ui 3.0.0-canary.247 → 3.0.0-canary.248
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 +14 -12
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +14 -12
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
- package/src/components/Button.tsx +3 -1
package/dist/index.umd.js
CHANGED
@@ -799,7 +799,7 @@
|
|
799
799
|
] });
|
800
800
|
};
|
801
801
|
const ButtonInner = React.forwardRef((t0, ref) => {
|
802
|
-
const $ = reactCompilerRuntime.c(
|
802
|
+
const $ = reactCompilerRuntime.c(55);
|
803
803
|
let Component;
|
804
804
|
let children;
|
805
805
|
let className;
|
@@ -966,22 +966,24 @@
|
|
966
966
|
}
|
967
967
|
const t31 = props;
|
968
968
|
let t32;
|
969
|
-
if ($[44] !== children || $[45] !== disabled || $[46] !==
|
970
|
-
t32 = /* @__PURE__ */ jsxRuntime.jsxs("button", { ref: t26, type: t27, onClick: t28, className: t29, disabled, ...t31, children: [
|
969
|
+
if ($[44] !== children || $[45] !== disabled || $[46] !== size || $[47] !== startIcon || $[48] !== t26 || $[49] !== t27 || $[50] !== t28 || $[51] !== t29 || $[52] !== t31 || $[53] !== variant) {
|
970
|
+
t32 = /* @__PURE__ */ jsxRuntime.jsxs("button", { ref: t26, type: t27, onClick: t28, className: t29, disabled, "data-variant": variant, "data-size": size, ...t31, children: [
|
971
971
|
startIcon,
|
972
972
|
children
|
973
973
|
] });
|
974
974
|
$[44] = children;
|
975
975
|
$[45] = disabled;
|
976
|
-
$[46] =
|
977
|
-
$[47] =
|
978
|
-
$[48] =
|
979
|
-
$[49] =
|
980
|
-
$[50] =
|
981
|
-
$[51] =
|
982
|
-
$[52] =
|
983
|
-
|
984
|
-
|
976
|
+
$[46] = size;
|
977
|
+
$[47] = startIcon;
|
978
|
+
$[48] = t26;
|
979
|
+
$[49] = t27;
|
980
|
+
$[50] = t28;
|
981
|
+
$[51] = t29;
|
982
|
+
$[52] = t31;
|
983
|
+
$[53] = variant;
|
984
|
+
$[54] = t32;
|
985
|
+
} else {
|
986
|
+
t32 = $[54];
|
985
987
|
}
|
986
988
|
return t32;
|
987
989
|
});
|