@kopexa/dialog 13.0.2 → 14.0.0
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-A2AV2YZH.mjs → chunk-YUN727CX.mjs} +2 -1
- package/dist/dialog.js +2 -1
- package/dist/dialog.mjs +1 -1
- package/dist/index.js +2 -1
- package/dist/index.mjs +1 -1
- package/dist/namespace.js +2 -1
- package/dist/namespace.mjs +1 -1
- package/package.json +8 -8
|
@@ -16,6 +16,7 @@ var DialogRoot = (props) => {
|
|
|
16
16
|
size,
|
|
17
17
|
radius,
|
|
18
18
|
placement,
|
|
19
|
+
scrollBehavior,
|
|
19
20
|
...restProps
|
|
20
21
|
} = props;
|
|
21
22
|
const [open, setOpen] = useControllableState({
|
|
@@ -23,7 +24,7 @@ var DialogRoot = (props) => {
|
|
|
23
24
|
onChange: onOpenChange,
|
|
24
25
|
defaultValue: false
|
|
25
26
|
});
|
|
26
|
-
const styles = dialog({ size, radius, placement });
|
|
27
|
+
const styles = dialog({ size, radius, placement, scrollBehavior });
|
|
27
28
|
return /* @__PURE__ */ jsx(DialogProvider, { value: { styles, open, placement, size, radius }, children: /* @__PURE__ */ jsx(
|
|
28
29
|
DialogPrimitive.Root,
|
|
29
30
|
{
|
package/dist/dialog.js
CHANGED
|
@@ -51,6 +51,7 @@ var DialogRoot = (props) => {
|
|
|
51
51
|
size,
|
|
52
52
|
radius,
|
|
53
53
|
placement,
|
|
54
|
+
scrollBehavior,
|
|
54
55
|
...restProps
|
|
55
56
|
} = props;
|
|
56
57
|
const [open, setOpen] = (0, import_use_controllable_state.useControllableState)({
|
|
@@ -58,7 +59,7 @@ var DialogRoot = (props) => {
|
|
|
58
59
|
onChange: onOpenChange,
|
|
59
60
|
defaultValue: false
|
|
60
61
|
});
|
|
61
|
-
const styles = (0, import_theme.dialog)({ size, radius, placement });
|
|
62
|
+
const styles = (0, import_theme.dialog)({ size, radius, placement, scrollBehavior });
|
|
62
63
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DialogProvider, { value: { styles, open, placement, size, radius }, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
63
64
|
import_dialog.Dialog.Root,
|
|
64
65
|
{
|
package/dist/dialog.mjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -54,6 +54,7 @@ var DialogRoot = (props) => {
|
|
|
54
54
|
size,
|
|
55
55
|
radius,
|
|
56
56
|
placement,
|
|
57
|
+
scrollBehavior,
|
|
57
58
|
...restProps
|
|
58
59
|
} = props;
|
|
59
60
|
const [open, setOpen] = (0, import_use_controllable_state.useControllableState)({
|
|
@@ -61,7 +62,7 @@ var DialogRoot = (props) => {
|
|
|
61
62
|
onChange: onOpenChange,
|
|
62
63
|
defaultValue: false
|
|
63
64
|
});
|
|
64
|
-
const styles = (0, import_theme.dialog)({ size, radius, placement });
|
|
65
|
+
const styles = (0, import_theme.dialog)({ size, radius, placement, scrollBehavior });
|
|
65
66
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DialogProvider, { value: { styles, open, placement, size, radius }, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
66
67
|
import_dialog.Dialog.Root,
|
|
67
68
|
{
|
package/dist/index.mjs
CHANGED
package/dist/namespace.js
CHANGED
|
@@ -52,6 +52,7 @@ var DialogRoot = (props) => {
|
|
|
52
52
|
size,
|
|
53
53
|
radius,
|
|
54
54
|
placement,
|
|
55
|
+
scrollBehavior,
|
|
55
56
|
...restProps
|
|
56
57
|
} = props;
|
|
57
58
|
const [open, setOpen] = (0, import_use_controllable_state.useControllableState)({
|
|
@@ -59,7 +60,7 @@ var DialogRoot = (props) => {
|
|
|
59
60
|
onChange: onOpenChange,
|
|
60
61
|
defaultValue: false
|
|
61
62
|
});
|
|
62
|
-
const styles = (0, import_theme.dialog)({ size, radius, placement });
|
|
63
|
+
const styles = (0, import_theme.dialog)({ size, radius, placement, scrollBehavior });
|
|
63
64
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DialogProvider, { value: { styles, open, placement, size, radius }, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
64
65
|
import_dialog.Dialog.Root,
|
|
65
66
|
{
|
package/dist/namespace.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kopexa/dialog",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "14.0.0",
|
|
4
4
|
"description": "A window overlaid on either the primary window or another dialog window, rendering the content underneath inert.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dialog"
|
|
@@ -27,16 +27,16 @@
|
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"react": ">=19.0.0-rc.0",
|
|
29
29
|
"react-dom": ">=19.0.0-rc.0",
|
|
30
|
-
"@kopexa/theme": "
|
|
30
|
+
"@kopexa/theme": "14.0.0"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@base-ui-components/react": "1.0.0-beta.
|
|
33
|
+
"@base-ui-components/react": "1.0.0-beta.4",
|
|
34
34
|
"@radix-ui/react-dialog": "^1.1.15",
|
|
35
|
-
"@kopexa/icons": "
|
|
36
|
-
"@kopexa/motion-utils": "
|
|
37
|
-
"@kopexa/react-utils": "
|
|
38
|
-
"@kopexa/shared-utils": "
|
|
39
|
-
"@kopexa/use-controllable-state": "
|
|
35
|
+
"@kopexa/icons": "14.0.0",
|
|
36
|
+
"@kopexa/motion-utils": "14.0.0",
|
|
37
|
+
"@kopexa/react-utils": "14.0.0",
|
|
38
|
+
"@kopexa/shared-utils": "14.0.0",
|
|
39
|
+
"@kopexa/use-controllable-state": "14.0.0"
|
|
40
40
|
},
|
|
41
41
|
"clean-package": "../../../clean-package.config.json",
|
|
42
42
|
"module": "dist/index.mjs",
|