@firecms/ui 3.0.0-canary.246 → 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.umd.js CHANGED
@@ -799,7 +799,7 @@
799
799
  ] });
800
800
  };
801
801
  const ButtonInner = React.forwardRef((t0, ref) => {
802
- const $ = reactCompilerRuntime.c(53);
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] !== startIcon || $[47] !== t26 || $[48] !== t27 || $[49] !== t28 || $[50] !== t29 || $[51] !== t31) {
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] = startIcon;
977
- $[47] = t26;
978
- $[48] = t27;
979
- $[49] = t28;
980
- $[50] = t29;
981
- $[51] = t31;
982
- $[52] = t32;
983
- } else {
984
- t32 = $[52];
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
  });