@firecms/ui 3.0.0-canary.247 → 3.0.0-canary.249

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
@@ -34,8 +34,8 @@ const fieldBackgroundDisabledMixin = "dark:bg-surface-800 bg-opacity-50 dark:bg-
34
34
  const fieldBackgroundHoverMixin = "hover:bg-opacity-70 dark:hover:bg-surface-700 dark:hover:bg-opacity-40";
35
35
  const defaultBorderMixin = "border-surface-200 border-opacity-40 dark:border-surface-700 dark:border-opacity-40";
36
36
  const paperMixin = "bg-white rounded-md dark:bg-surface-950 border border-surface-200 border-opacity-40 dark:border-surface-700 dark:border-opacity-40";
37
- const cardMixin = "bg-white border border-surface-200 border-opacity-40 dark:border-transparent rounded-md dark:bg-surface-950 dark:border-surface-700 dark:border-opacity-40 m-1 -p-1";
38
- const cardClickableMixin = "hover:bg-primary-bg dark:hover:bg-primary-bg hover:bg-opacity-20 dark:hover:bg-opacity-20 hover:ring-2 hover:ring-primary cursor-pointer";
37
+ const cardMixin = "bg-white border border-surface-200 border-opacity-40 dark:border-transparent rounded-md dark:bg-surface-950 dark:border-surface-700 dark:border-opacity-40";
38
+ const cardClickableMixin = "hover:bg-surface-accent-100 dark:hover:bg-surface-accent-800 hover:ring-2 hover:ring-primary cursor-pointer";
39
39
  const cardSelectedMixin = "bg-primary-bg dark:bg-primary-bg bg-opacity-30 dark:bg-opacity-10 ring-1 ring-primary ring-opacity-75";
40
40
  function cls(...classes) {
41
41
  return twMerge(clsx(classes));
@@ -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
  });