@firecms/ui 3.0.0-canary.134 → 3.0.0-canary.135

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.
@@ -4,6 +4,7 @@ interface SheetProps {
4
4
  open: boolean;
5
5
  title?: string;
6
6
  modal?: boolean;
7
+ includeBackgroundOverlay?: boolean;
7
8
  side?: "top" | "bottom" | "left" | "right";
8
9
  darkBackground?: boolean;
9
10
  transparent?: boolean;
package/dist/index.es.js CHANGED
@@ -16218,12 +16218,12 @@ function SliderThumb(props) {
16218
16218
  {
16219
16219
  className: cls(
16220
16220
  {
16221
- "border-primary bg-primary hover:bg-primary-dark focus-visible:ring-4 focus-visible:ring-primary outline-none focus-visible:ring-opacity-50": !props.props.disabled,
16221
+ "border-primary bg-primary hover:bg-primary-dark outline-none": !props.props.disabled,
16222
16222
  "border-slate-300 bg-slate-300 dark:border-gray-700 dark:bg-gray-700": props.props.disabled
16223
16223
  },
16224
16224
  props.classes,
16225
- "focus:ring-8 focus:ring-primary focus:ring-opacity-75",
16226
- "hover:ring-8 hover:ring-primary hover:ring-opacity-75",
16225
+ "focus-visible:ring-4 focus-visible:ring-primary focus-visible:ring-opacity-50",
16226
+ "hover:ring-4 hover:ring-primary hover:ring-opacity-25",
16227
16227
  "block rounded-full transition-colors focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50"
16228
16228
  )
16229
16229
  }
@@ -16298,6 +16298,7 @@ const Sheet = ({
16298
16298
  side = "right",
16299
16299
  title,
16300
16300
  modal = true,
16301
+ includeBackgroundOverlay = true,
16301
16302
  open,
16302
16303
  onOpenChange,
16303
16304
  transparent,
@@ -16332,7 +16333,7 @@ const Sheet = ({
16332
16333
  onOpenChange,
16333
16334
  children: /* @__PURE__ */ jsxs(DialogPrimitive.Portal, { children: [
16334
16335
  /* @__PURE__ */ jsx(DialogPrimitive.Title, { autoFocus: true, tabIndex: 0, children: title ?? "Sheet" }),
16335
- modal && /* @__PURE__ */ jsx(
16336
+ includeBackgroundOverlay && /* @__PURE__ */ jsx(
16336
16337
  DialogPrimitive.Overlay,
16337
16338
  {
16338
16339
  className: cls(