@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.es.js CHANGED
@@ -789,7 +789,7 @@ const BooleanSwitchWithLabel = function BooleanSwitchWithLabel2({
789
789
  ] });
790
790
  };
791
791
  const ButtonInner = React__default.forwardRef((t0, ref) => {
792
- const $ = c(53);
792
+ const $ = c(55);
793
793
  let Component;
794
794
  let children;
795
795
  let className;
@@ -956,22 +956,24 @@ const ButtonInner = React__default.forwardRef((t0, ref) => {
956
956
  }
957
957
  const t31 = props;
958
958
  let t32;
959
- if ($[44] !== children || $[45] !== disabled || $[46] !== startIcon || $[47] !== t26 || $[48] !== t27 || $[49] !== t28 || $[50] !== t29 || $[51] !== t31) {
960
- t32 = /* @__PURE__ */ jsxs("button", { ref: t26, type: t27, onClick: t28, className: t29, disabled, ...t31, children: [
959
+ if ($[44] !== children || $[45] !== disabled || $[46] !== size || $[47] !== startIcon || $[48] !== t26 || $[49] !== t27 || $[50] !== t28 || $[51] !== t29 || $[52] !== t31 || $[53] !== variant) {
960
+ t32 = /* @__PURE__ */ jsxs("button", { ref: t26, type: t27, onClick: t28, className: t29, disabled, "data-variant": variant, "data-size": size, ...t31, children: [
961
961
  startIcon,
962
962
  children
963
963
  ] });
964
964
  $[44] = children;
965
965
  $[45] = disabled;
966
- $[46] = startIcon;
967
- $[47] = t26;
968
- $[48] = t27;
969
- $[49] = t28;
970
- $[50] = t29;
971
- $[51] = t31;
972
- $[52] = t32;
973
- } else {
974
- t32 = $[52];
966
+ $[46] = size;
967
+ $[47] = startIcon;
968
+ $[48] = t26;
969
+ $[49] = t27;
970
+ $[50] = t28;
971
+ $[51] = t29;
972
+ $[52] = t31;
973
+ $[53] = variant;
974
+ $[54] = t32;
975
+ } else {
976
+ t32 = $[54];
975
977
  }
976
978
  return t32;
977
979
  });