@manhphi1309/dialog 0.3.10 → 0.3.12

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.cjs CHANGED
@@ -305,7 +305,7 @@ function ResponsiveDialog({ children, snapPoints, activeSnapPoint, setActiveSnap
305
305
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ResponsiveDialogContext.Provider, {
306
306
  value: { snap },
307
307
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_manhphi1309_drawer.Drawer, {
308
- shouldScaleBackground: true,
308
+ shouldScaleBackground: drawerProps.shouldScaleBackground ?? true,
309
309
  ...drawerProps,
310
310
  children
311
311
  })
package/dist/index.mjs CHANGED
@@ -281,7 +281,7 @@ function ResponsiveDialog({ children, snapPoints, activeSnapPoint, setActiveSnap
281
281
  return /* @__PURE__ */ jsx(ResponsiveDialogContext.Provider, {
282
282
  value: { snap },
283
283
  children: /* @__PURE__ */ jsx(Drawer, {
284
- shouldScaleBackground: true,
284
+ shouldScaleBackground: drawerProps.shouldScaleBackground ?? true,
285
285
  ...drawerProps,
286
286
  children
287
287
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@manhphi1309/dialog",
3
- "version": "0.3.10",
3
+ "version": "0.3.12",
4
4
  "sideEffects": false,
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",