design-zystem 1.0.383 → 1.0.384

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/ui/index.js CHANGED
@@ -2201,6 +2201,7 @@ var Modal = ({
2201
2201
  RadixDialog.Overlay,
2202
2202
  {
2203
2203
  ref: overlayRef,
2204
+ onClick: (event) => event.stopPropagation(),
2204
2205
  className: cn(
2205
2206
  "fixed inset-0 z-40",
2206
2207
  draggable ? "bg-transparent" : "bg-black/50"
@@ -2212,6 +2213,7 @@ var Modal = ({
2212
2213
  {
2213
2214
  ref: contentRef,
2214
2215
  onOpenAutoFocus,
2216
+ onClick: (event) => event.stopPropagation(),
2215
2217
  className: cn(
2216
2218
  "fixed left-1/2 top-1/2 z-50 flex max-h-[90vh] -translate-x-1/2 -translate-y-1/2 flex-col gap-4",
2217
2219
  "rounded-xl bg-white p-6 shadow-[0_10px_15px_-3px_rgba(0,0,0,0.1),0_4px_6px_-2px_rgba(0,0,0,0.05)] outline-none",
@@ -4129,6 +4131,7 @@ var Drawer = ({
4129
4131
  import_vaul.Drawer.Overlay,
4130
4132
  {
4131
4133
  ref: overlayRef,
4134
+ onClick: (event) => event.stopPropagation(),
4132
4135
  className: "fixed inset-0 z-40 bg-black/35"
4133
4136
  }
4134
4137
  ),
package/dist/ui/index.mjs CHANGED
@@ -2018,6 +2018,7 @@ var Modal = ({
2018
2018
  RadixDialog.Overlay,
2019
2019
  {
2020
2020
  ref: overlayRef,
2021
+ onClick: (event) => event.stopPropagation(),
2021
2022
  className: cn(
2022
2023
  "fixed inset-0 z-40",
2023
2024
  draggable ? "bg-transparent" : "bg-black/50"
@@ -2029,6 +2030,7 @@ var Modal = ({
2029
2030
  {
2030
2031
  ref: contentRef,
2031
2032
  onOpenAutoFocus,
2033
+ onClick: (event) => event.stopPropagation(),
2032
2034
  className: cn(
2033
2035
  "fixed left-1/2 top-1/2 z-50 flex max-h-[90vh] -translate-x-1/2 -translate-y-1/2 flex-col gap-4",
2034
2036
  "rounded-xl bg-white p-6 shadow-[0_10px_15px_-3px_rgba(0,0,0,0.1),0_4px_6px_-2px_rgba(0,0,0,0.05)] outline-none",
@@ -3953,6 +3955,7 @@ var Drawer = ({
3953
3955
  VaulDrawer.Overlay,
3954
3956
  {
3955
3957
  ref: overlayRef,
3958
+ onClick: (event) => event.stopPropagation(),
3956
3959
  className: "fixed inset-0 z-40 bg-black/35"
3957
3960
  }
3958
3961
  ),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "design-zystem",
3
- "version": "1.0.383",
3
+ "version": "1.0.384",
4
4
  "description": "A React design system of importable components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",