@yamada-ui/modal 0.5.0 → 0.5.2
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/{chunk-RNM6GCUR.mjs → chunk-7OEZ4TWM.mjs} +3 -1
- package/dist/dialog.js +3 -1
- package/dist/dialog.mjs +1 -1
- package/dist/drawer.js +3 -1
- package/dist/drawer.mjs +1 -1
- package/dist/index.js +3 -1
- package/dist/index.mjs +1 -1
- package/dist/modal-body.js +3 -1
- package/dist/modal-body.mjs +1 -1
- package/dist/modal-close-button.js +3 -1
- package/dist/modal-close-button.mjs +1 -1
- package/dist/modal-footer.js +3 -1
- package/dist/modal-footer.mjs +1 -1
- package/dist/modal-header.js +3 -1
- package/dist/modal-header.mjs +1 -1
- package/dist/modal-overlay.js +3 -1
- package/dist/modal-overlay.mjs +1 -1
- package/dist/modal.js +3 -1
- package/dist/modal.mjs +1 -1
- package/package.json +4 -4
|
@@ -607,6 +607,7 @@ var Drawer = forwardRef8(
|
|
|
607
607
|
closeOnEsc,
|
|
608
608
|
lockFocusAcrossFrames,
|
|
609
609
|
duration = { enter: 0.4, exit: 0.3 },
|
|
610
|
+
portalProps,
|
|
610
611
|
...rest
|
|
611
612
|
} = omitThemeProps3(mergedProps);
|
|
612
613
|
const validChildren = getValidChildren3(children);
|
|
@@ -635,7 +636,8 @@ var Drawer = forwardRef8(
|
|
|
635
636
|
closeOnOverlay,
|
|
636
637
|
closeOnEsc,
|
|
637
638
|
lockFocusAcrossFrames,
|
|
638
|
-
duration
|
|
639
|
+
duration,
|
|
640
|
+
portalProps
|
|
639
641
|
},
|
|
640
642
|
children: [
|
|
641
643
|
customDrawerOverlay != null ? customDrawerOverlay : withOverlay ? /* @__PURE__ */ jsx8(DrawerOverlay, {}) : null,
|
package/dist/dialog.js
CHANGED
|
@@ -79,6 +79,7 @@ var Drawer = (0, import_core.forwardRef)(
|
|
|
79
79
|
closeOnEsc,
|
|
80
80
|
lockFocusAcrossFrames,
|
|
81
81
|
duration = { enter: 0.4, exit: 0.3 },
|
|
82
|
+
portalProps,
|
|
82
83
|
...rest
|
|
83
84
|
} = (0, import_core.omitThemeProps)(mergedProps);
|
|
84
85
|
const validChildren = (0, import_utils.getValidChildren)(children);
|
|
@@ -107,7 +108,8 @@ var Drawer = (0, import_core.forwardRef)(
|
|
|
107
108
|
closeOnOverlay,
|
|
108
109
|
closeOnEsc,
|
|
109
110
|
lockFocusAcrossFrames,
|
|
110
|
-
duration
|
|
111
|
+
duration,
|
|
112
|
+
portalProps
|
|
111
113
|
},
|
|
112
114
|
children: [
|
|
113
115
|
customDrawerOverlay != null ? customDrawerOverlay : withOverlay ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DrawerOverlay, {}) : null,
|
package/dist/dialog.mjs
CHANGED
package/dist/drawer.js
CHANGED
|
@@ -602,6 +602,7 @@ var Drawer = (0, import_core8.forwardRef)(
|
|
|
602
602
|
closeOnEsc,
|
|
603
603
|
lockFocusAcrossFrames,
|
|
604
604
|
duration = { enter: 0.4, exit: 0.3 },
|
|
605
|
+
portalProps,
|
|
605
606
|
...rest
|
|
606
607
|
} = (0, import_core8.omitThemeProps)(mergedProps);
|
|
607
608
|
const validChildren = (0, import_utils8.getValidChildren)(children);
|
|
@@ -630,7 +631,8 @@ var Drawer = (0, import_core8.forwardRef)(
|
|
|
630
631
|
closeOnOverlay,
|
|
631
632
|
closeOnEsc,
|
|
632
633
|
lockFocusAcrossFrames,
|
|
633
|
-
duration
|
|
634
|
+
duration,
|
|
635
|
+
portalProps
|
|
634
636
|
},
|
|
635
637
|
children: [
|
|
636
638
|
customDrawerOverlay != null ? customDrawerOverlay : withOverlay ? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(DrawerOverlay, {}) : null,
|
package/dist/drawer.mjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -88,6 +88,7 @@ var Drawer = (0, import_core.forwardRef)(
|
|
|
88
88
|
closeOnEsc,
|
|
89
89
|
lockFocusAcrossFrames,
|
|
90
90
|
duration = { enter: 0.4, exit: 0.3 },
|
|
91
|
+
portalProps,
|
|
91
92
|
...rest
|
|
92
93
|
} = (0, import_core.omitThemeProps)(mergedProps);
|
|
93
94
|
const validChildren = (0, import_utils.getValidChildren)(children);
|
|
@@ -116,7 +117,8 @@ var Drawer = (0, import_core.forwardRef)(
|
|
|
116
117
|
closeOnOverlay,
|
|
117
118
|
closeOnEsc,
|
|
118
119
|
lockFocusAcrossFrames,
|
|
119
|
-
duration
|
|
120
|
+
duration,
|
|
121
|
+
portalProps
|
|
120
122
|
},
|
|
121
123
|
children: [
|
|
122
124
|
customDrawerOverlay != null ? customDrawerOverlay : withOverlay ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DrawerOverlay, {}) : null,
|
package/dist/index.mjs
CHANGED
package/dist/modal-body.js
CHANGED
|
@@ -378,6 +378,7 @@ var Drawer = (0, import_core6.forwardRef)(
|
|
|
378
378
|
closeOnEsc,
|
|
379
379
|
lockFocusAcrossFrames,
|
|
380
380
|
duration = { enter: 0.4, exit: 0.3 },
|
|
381
|
+
portalProps,
|
|
381
382
|
...rest
|
|
382
383
|
} = (0, import_core6.omitThemeProps)(mergedProps);
|
|
383
384
|
const validChildren = (0, import_utils6.getValidChildren)(children);
|
|
@@ -406,7 +407,8 @@ var Drawer = (0, import_core6.forwardRef)(
|
|
|
406
407
|
closeOnOverlay,
|
|
407
408
|
closeOnEsc,
|
|
408
409
|
lockFocusAcrossFrames,
|
|
409
|
-
duration
|
|
410
|
+
duration,
|
|
411
|
+
portalProps
|
|
410
412
|
},
|
|
411
413
|
children: [
|
|
412
414
|
customDrawerOverlay != null ? customDrawerOverlay : withOverlay ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(DrawerOverlay, {}) : null,
|
package/dist/modal-body.mjs
CHANGED
|
@@ -377,6 +377,7 @@ var Drawer = (0, import_core6.forwardRef)(
|
|
|
377
377
|
closeOnEsc,
|
|
378
378
|
lockFocusAcrossFrames,
|
|
379
379
|
duration = { enter: 0.4, exit: 0.3 },
|
|
380
|
+
portalProps,
|
|
380
381
|
...rest
|
|
381
382
|
} = (0, import_core6.omitThemeProps)(mergedProps);
|
|
382
383
|
const validChildren = (0, import_utils6.getValidChildren)(children);
|
|
@@ -405,7 +406,8 @@ var Drawer = (0, import_core6.forwardRef)(
|
|
|
405
406
|
closeOnOverlay,
|
|
406
407
|
closeOnEsc,
|
|
407
408
|
lockFocusAcrossFrames,
|
|
408
|
-
duration
|
|
409
|
+
duration,
|
|
410
|
+
portalProps
|
|
409
411
|
},
|
|
410
412
|
children: [
|
|
411
413
|
customDrawerOverlay != null ? customDrawerOverlay : withOverlay ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(DrawerOverlay, {}) : null,
|
package/dist/modal-footer.js
CHANGED
|
@@ -379,6 +379,7 @@ var Drawer = (0, import_core6.forwardRef)(
|
|
|
379
379
|
closeOnEsc,
|
|
380
380
|
lockFocusAcrossFrames,
|
|
381
381
|
duration = { enter: 0.4, exit: 0.3 },
|
|
382
|
+
portalProps,
|
|
382
383
|
...rest
|
|
383
384
|
} = (0, import_core6.omitThemeProps)(mergedProps);
|
|
384
385
|
const validChildren = (0, import_utils6.getValidChildren)(children);
|
|
@@ -407,7 +408,8 @@ var Drawer = (0, import_core6.forwardRef)(
|
|
|
407
408
|
closeOnOverlay,
|
|
408
409
|
closeOnEsc,
|
|
409
410
|
lockFocusAcrossFrames,
|
|
410
|
-
duration
|
|
411
|
+
duration,
|
|
412
|
+
portalProps
|
|
411
413
|
},
|
|
412
414
|
children: [
|
|
413
415
|
customDrawerOverlay != null ? customDrawerOverlay : withOverlay ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(DrawerOverlay, {}) : null,
|
package/dist/modal-footer.mjs
CHANGED
package/dist/modal-header.js
CHANGED
|
@@ -379,6 +379,7 @@ var Drawer = (0, import_core6.forwardRef)(
|
|
|
379
379
|
closeOnEsc,
|
|
380
380
|
lockFocusAcrossFrames,
|
|
381
381
|
duration = { enter: 0.4, exit: 0.3 },
|
|
382
|
+
portalProps,
|
|
382
383
|
...rest
|
|
383
384
|
} = (0, import_core6.omitThemeProps)(mergedProps);
|
|
384
385
|
const validChildren = (0, import_utils6.getValidChildren)(children);
|
|
@@ -407,7 +408,8 @@ var Drawer = (0, import_core6.forwardRef)(
|
|
|
407
408
|
closeOnOverlay,
|
|
408
409
|
closeOnEsc,
|
|
409
410
|
lockFocusAcrossFrames,
|
|
410
|
-
duration
|
|
411
|
+
duration,
|
|
412
|
+
portalProps
|
|
411
413
|
},
|
|
412
414
|
children: [
|
|
413
415
|
customDrawerOverlay != null ? customDrawerOverlay : withOverlay ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(DrawerOverlay, {}) : null,
|
package/dist/modal-header.mjs
CHANGED
package/dist/modal-overlay.js
CHANGED
|
@@ -361,6 +361,7 @@ var Drawer = (0, import_core6.forwardRef)(
|
|
|
361
361
|
closeOnEsc,
|
|
362
362
|
lockFocusAcrossFrames,
|
|
363
363
|
duration = { enter: 0.4, exit: 0.3 },
|
|
364
|
+
portalProps,
|
|
364
365
|
...rest
|
|
365
366
|
} = (0, import_core6.omitThemeProps)(mergedProps);
|
|
366
367
|
const validChildren = (0, import_utils6.getValidChildren)(children);
|
|
@@ -389,7 +390,8 @@ var Drawer = (0, import_core6.forwardRef)(
|
|
|
389
390
|
closeOnOverlay,
|
|
390
391
|
closeOnEsc,
|
|
391
392
|
lockFocusAcrossFrames,
|
|
392
|
-
duration
|
|
393
|
+
duration,
|
|
394
|
+
portalProps
|
|
393
395
|
},
|
|
394
396
|
children: [
|
|
395
397
|
customDrawerOverlay != null ? customDrawerOverlay : withOverlay ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(DrawerOverlay, {}) : null,
|
package/dist/modal-overlay.mjs
CHANGED
package/dist/modal.js
CHANGED
|
@@ -401,6 +401,7 @@ var Drawer = (0, import_core7.forwardRef)(
|
|
|
401
401
|
closeOnEsc,
|
|
402
402
|
lockFocusAcrossFrames,
|
|
403
403
|
duration = { enter: 0.4, exit: 0.3 },
|
|
404
|
+
portalProps,
|
|
404
405
|
...rest
|
|
405
406
|
} = (0, import_core7.omitThemeProps)(mergedProps);
|
|
406
407
|
const validChildren = (0, import_utils7.getValidChildren)(children);
|
|
@@ -429,7 +430,8 @@ var Drawer = (0, import_core7.forwardRef)(
|
|
|
429
430
|
closeOnOverlay,
|
|
430
431
|
closeOnEsc,
|
|
431
432
|
lockFocusAcrossFrames,
|
|
432
|
-
duration
|
|
433
|
+
duration,
|
|
434
|
+
portalProps
|
|
433
435
|
},
|
|
434
436
|
children: [
|
|
435
437
|
customDrawerOverlay != null ? customDrawerOverlay : withOverlay ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(DrawerOverlay, {}) : null,
|
package/dist/modal.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yamada-ui/modal",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.2",
|
|
4
4
|
"description": "Yamada UI modal component",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"yamada",
|
|
@@ -36,13 +36,13 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"react-remove-scroll": "^2.5.4",
|
|
39
|
+
"@yamada-ui/core": "0.12.6",
|
|
39
40
|
"@yamada-ui/utils": "0.3.3",
|
|
40
41
|
"@yamada-ui/motion": "0.4.16",
|
|
41
|
-
"@yamada-ui/core": "0.12.6",
|
|
42
42
|
"@yamada-ui/portal": "0.3.6",
|
|
43
|
-
"@yamada-ui/button": "0.3.
|
|
43
|
+
"@yamada-ui/button": "0.3.18",
|
|
44
44
|
"@yamada-ui/focus-lock": "0.3.5",
|
|
45
|
-
"@yamada-ui/close-button": "0.3.
|
|
45
|
+
"@yamada-ui/close-button": "0.3.17",
|
|
46
46
|
"@yamada-ui/transitions": "0.3.18",
|
|
47
47
|
"@yamada-ui/use-value": "0.2.16"
|
|
48
48
|
},
|